/* Debilek - publiczne strony marketingowe (spójny wygląd) */

.page-site,
.page-home {
  --site-glow: rgba(99, 102, 241, 0.45);
  --site-glow-soft: rgba(129, 140, 248, 0.22);
  --site-card-bg: linear-gradient(160deg, rgba(26, 34, 52, 0.96) 0%, rgba(17, 24, 39, 0.98) 100%);
  --site-border: rgba(129, 140, 248, 0.18);
  --site-border-hover: rgba(129, 140, 248, 0.42);
}

.page-site main,
.page-home main {
  overflow-x: clip;
}

/* -- Tło stron wewnętrznych -- */
.page-site main {
  position: relative;
}

.page-site main::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 15% -5%, rgba(99, 102, 241, 0.14), transparent 55%),
    radial-gradient(ellipse 45% 35% at 90% 10%, rgba(56, 189, 248, 0.08), transparent 50%),
    var(--bg);
}

/* -- Wspólne tło / orby -- */
.site-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 15%, #000 15%, transparent 72%);
}

.site-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.5;
  animation: siteOrbFloat 16s ease-in-out infinite;
  pointer-events: none;
}

.site-orb--1 {
  width: min(380px, 55vw);
  height: min(380px, 55vw);
  top: -15%;
  left: 8%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.5) 0%, transparent 70%);
}

.site-orb--2 {
  width: min(320px, 45vw);
  height: min(320px, 45vw);
  top: 0;
  right: 6%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.32) 0%, transparent 70%);
  animation-delay: -5s;
  animation-duration: 19s;
}

.site-orb--3 {
  width: min(260px, 38vw);
  height: min(260px, 38vw);
  bottom: -8%;
  left: 40%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.28) 0%, transparent 70%);
  animation-delay: -9s;
}

.site-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-hover);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.32);
}

.site-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.75);
  animation: sitePulse 2.2s ease-in-out infinite;
}

.site-gradient-title {
  background: linear-gradient(135deg, #f8fafc 0%, #c7d2fe 42%, #818cf8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: siteTitleShine 9s ease-in-out infinite;
}

/* -- Hero strony głównej -- */
.site-hero--home {
  position: relative;
  isolation: isolate;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
}

.site-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.site-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.site-hero-copy {
  text-align: left;
}

.site-hero-title {
  font-size: clamp(2.35rem, 4.8vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: 1rem;
}

.site-hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.site-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.site-hero-actions .btn-primary {
  box-shadow: 0 0 24px var(--site-glow-soft);
}

.site-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.site-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(17, 24, 39, 0.55);
  border: 1px solid var(--site-border);
}

.site-trust-pill strong {
  color: var(--text);
  font-weight: 700;
}

.site-hero-visual {
  position: relative;
}

.site-mock-panel {
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--site-border-hover);
  background: var(--site-card-bg);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.45),
    0 0 40px var(--site-glow-soft);
  overflow: hidden;
  transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.site-mock-panel:hover {
  transform: perspective(900px) rotateY(-1deg) rotateX(0deg);
  box-shadow:
    0 32px 70px rgba(0, 0, 0, 0.5),
    0 0 50px var(--site-glow-soft);
}

.site-mock-panel__bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-mock-panel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
}

.site-mock-panel__dot--green { background: #22c55e; }
.site-mock-panel__dot--yellow { background: #f59e0b; }
.site-mock-panel__dot--red { background: #ef4444; }

.site-mock-panel__title {
  margin-left: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.site-mock-panel__body {
  padding: 1.25rem;
}

.site-mock-panel__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.site-mock-panel__status h3 {
  font-size: 1.05rem;
  margin: 0 0 0.2rem;
}

.site-mock-panel__status p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.site-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.site-status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.8);
}

.site-mock-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.site-mock-metric {
  padding: 0.75rem 0.65rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.site-mock-metric span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.site-mock-metric strong {
  font-size: 0.95rem;
  color: var(--text);
}

.site-mock-bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 0.45rem;
}

.site-mock-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6366f1, #818cf8);
}

.site-mock-console {
  border-radius: 12px;
  background: #0a0d12;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.85rem;
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.55;
  color: #94a3b8;
}

.site-mock-console .ok { color: #4ade80; }
.site-mock-console .info { color: #818cf8; }

/* -- Page hero (oferta, kontakt, …) -- */
.site-page-hero {
  position: relative;
  isolation: isolate;
  padding: 4.25rem 0 2.75rem;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(129, 140, 248, 0.12);
}

.site-page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.site-page-hero-inner {
  position: relative;
  z-index: 1;
}

.site-page-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
  background: linear-gradient(135deg, #f8fafc 0%, #c7d2fe 45%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-page-subtitle {
  max-width: 38rem;
  margin: 0 auto;
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: var(--text-muted);
  line-height: 1.6;
}

/* -- Sekcje -- */
.site-section {
  position: relative;
  padding: 4rem 0;
}

.site-section--alt {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(99, 102, 241, 0.07), transparent 65%);
  border-top: 1px solid rgba(129, 140, 248, 0.08);
  border-bottom: 1px solid rgba(129, 140, 248, 0.08);
}

.site-section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.75rem;
}

.site-section-head .section-title {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.site-section-head .section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

/* -- Karty -- */
.site-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem;
}

.site-card--glow,
.page-site .feature-card,
.page-site .contact-card,
.page-site .pricing-card {
  position: relative;
  overflow: hidden;
  background: var(--site-card-bg);
  border: 1px solid var(--site-border);
  border-radius: 16px;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.site-card--glow::before,
.page-site .feature-card::before,
.page-site .contact-card::before,
.page-site .pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(99, 102, 241, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity 0.32s ease;
  pointer-events: none;
}

.site-card--glow:hover,
.page-site .feature-card:hover,
.page-site .contact-card:hover,
.page-site .pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--site-border-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32), 0 0 28px var(--site-glow-soft);
}

.site-card--glow:hover::before,
.page-site .feature-card:hover::before,
.page-site .contact-card:hover::before,
.page-site .pricing-card:hover::before {
  opacity: 1;
}

.site-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 0.95rem;
  border-radius: 12px;
  font-size: 1.25rem;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(129, 140, 248, 0.28);
}

.site-card--glow h4,
.page-site .feature-card h4 {
  position: relative;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.site-card--glow p,
.page-site .feature-card p {
  position: relative;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.page-site .feature-card {
  padding: 1.55rem 1.45rem;
}

/* -- Sekcja funkcji (strona główna) -- */
.site-section--features {
  padding: 2.75rem 0 5rem;
}

.site-section--features::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(99, 102, 241, 0.1), transparent 62%),
    radial-gradient(ellipse 40% 30% at 90% 80%, rgba(56, 189, 248, 0.06), transparent 55%);
}

.site-features-head {
  position: relative;
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.25rem;
}

.site-features-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.site-features-lead {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.08rem);
  line-height: 1.65;
  color: var(--text-muted);
}

.site-features-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.site-feature {
  --feature-accent: #818cf8;
  position: relative;
  padding: 1.55rem 1.45rem 1.4rem;
  border-radius: 18px;
  background: var(--site-card-bg);
  border: 1px solid var(--site-border);
  overflow: hidden;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.site-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--feature-accent), color-mix(in srgb, var(--feature-accent) 55%, white));
  opacity: 0.9;
}

.site-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--feature-accent) 14%, transparent), transparent 52%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.site-feature:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--feature-accent) 45%, var(--site-border-hover));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.28),
    0 0 32px color-mix(in srgb, var(--feature-accent) 18%, transparent);
}

.site-feature:hover::after {
  opacity: 1;
}

.site-feature__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  margin-bottom: 1.05rem;
  border-radius: 14px;
  color: var(--feature-accent);
  background: color-mix(in srgb, var(--feature-accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--feature-accent) 32%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-feature__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.site-feature__title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.5rem;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.site-feature__text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--text-muted);
}

.site-feature--amber { --feature-accent: #fbbf24; }
.site-feature--emerald { --feature-accent: #34d399; }
.site-feature--indigo { --feature-accent: #818cf8; }
.site-feature--sky { --feature-accent: #38bdf8; }
.site-feature--violet { --feature-accent: #a78bfa; }
.site-feature--rose { --feature-accent: #fb7185; }

@media (max-width: 960px) {
  .site-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-section--features {
    padding: 2rem 0 3.5rem;
  }

  .site-features-head {
    margin-bottom: 1.75rem;
  }

  .site-features-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .site-feature {
    padding: 1.25rem 1.15rem 1.15rem;
  }
}

/* -- Jak to działa -- */
.site-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: site-step;
}

.site-step {
  position: relative;
  padding: 1.65rem 1.45rem 1.45rem;
  border-radius: 16px;
  background: rgba(17, 24, 39, 0.55);
  border: 1px solid var(--site-border);
}

.site-step::before {
  counter-increment: site-step;
  content: counter(site-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-hover);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.3);
}

.site-step h4 {
  font-size: 1.02rem;
  margin-bottom: 0.45rem;
}

.site-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* -- Podgląd planów -- */
.site-plans-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.site-plan-teaser {
  padding: 1.65rem 1.5rem;
  border-radius: 16px;
  background: var(--site-card-bg);
  border: 1px solid var(--site-border);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-plan-teaser:hover {
  transform: translateY(-4px);
  border-color: var(--site-border-hover);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

.site-plan-teaser--featured {
  border-color: rgba(129, 140, 248, 0.45);
  box-shadow: 0 0 30px var(--site-glow-soft);
}

.site-plan-teaser__badge {
  align-self: flex-start;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(129, 140, 248, 0.35);
}

.site-plan-teaser h3 {
  font-size: 1.2rem;
  margin: 0;
}

.site-plan-teaser__specs {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}

.site-plan-teaser__specs div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.site-plan-teaser__specs dt {
  margin: 0;
}

.site-plan-teaser__specs dd {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.site-plan-teaser__price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}

.site-plan-teaser__price small {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* -- Oferta -- */
.page-site .section--offer {
  padding-top: 2.5rem;
}

.page-site .pricing-grid {
  gap: 1.35rem;
}

.page-site .pricing-card {
  padding: 1.65rem 1.5rem 1.5rem;
}

.page-site .pricing-card.featured {
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow: 0 0 32px var(--site-glow-soft);
}

.page-site .featured-badge {
  background: linear-gradient(135deg, #6366f1, #818cf8);
  box-shadow: 0 0 16px var(--site-glow-soft);
}

.page-site .offer-spec-list {
  margin: 1rem 0 1.15rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* -- Kontakt -- */
.page-site .contact-grid {
  gap: 1.25rem;
}

.page-site .contact-card {
  padding: 1.65rem 1.5rem;
}

.page-site .contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.85rem;
  border-radius: 12px;
  font-size: 1.15rem;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(129, 140, 248, 0.28);
}

.page-site .contact-card h4 {
  position: relative;
  font-size: 1rem;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.page-site .contact-support-cta {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.14), rgba(56, 189, 248, 0.08));
  border: 1px solid var(--site-border);
}

.page-site .contact-support-cta h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.page-site .contact-support-cta p {
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

/* -- Legal / koszyk -- */
.page-site .legal-content {
  max-width: none;
  padding: 2rem 2.25rem;
  border-radius: 16px;
  background: var(--site-card-bg);
  border: 1px solid var(--site-border);
}

.page-site .cart-layout .admin-panel,
.page-site .cart-empty {
  border-radius: 16px;
  background: var(--site-card-bg);
  border: 1px solid var(--site-border);
}

.page-site .site-empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: 16px;
  background: var(--site-card-bg);
  border: 1px solid var(--site-border);
}

.page-site .site-empty-state h2 {
  font-size: clamp(3rem, 8vw, 4.5rem);
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #f8fafc, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -- Auth -- */
.page-auth .auth-page {
  position: relative;
  min-height: calc(100vh - 70px - 120px);
  padding: 3rem 1rem 4rem;
}

.page-auth .auth-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(99, 102, 241, 0.12), transparent 60%);
  pointer-events: none;
}

.page-auth .auth-card {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  padding: 2rem 1.85rem;
  border-radius: 18px;
  background: var(--site-card-bg);
  border: 1px solid var(--site-border-hover);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35), 0 0 32px var(--site-glow-soft);
}

.page-auth .auth-card h1 {
  font-size: 1.65rem;
  margin-bottom: 0.35rem;
}

/* -- CTA -- */
.site-cta-band {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.16), rgba(99, 102, 241, 0.08) 50%, rgba(56, 189, 248, 0.1));
  border-top: 1px solid rgba(129, 140, 248, 0.15);
}

.site-cta-band::before {
  content: '';
  position: absolute;
  inset: -50% -20%;
  background: conic-gradient(from 180deg, transparent, rgba(99, 102, 241, 0.1), transparent 35%);
  animation: siteOrbFloat 22s linear infinite;
  pointer-events: none;
}

.site-cta-band .marketing-cta-inner {
  position: relative;
}

.page-site .marketing-cta,
.page-home .marketing-cta {
  border-color: rgba(129, 140, 248, 0.12);
}

/* -- Footer -- */
.page-site .site-footer,
.page-home .site-footer {
  position: relative;
  background: rgba(8, 11, 18, 0.85);
  border-top: 1px solid rgba(129, 140, 248, 0.12);
}

.page-site .footer-inner,
.page-home .footer-inner {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-footer-brand {
  margin-bottom: 0.85rem;
}

.site-footer-logo {
  display: inline-block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-footer-logo span {
  color: var(--accent-hover);
}

.site-footer-tagline {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 18rem;
}

/* -- Animacje -- */
.anim-fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: siteFadeUp 0.65s ease forwards;
}

.anim-fade-up:nth-child(1) { animation-delay: 0.04s; }
.anim-fade-up:nth-child(2) { animation-delay: 0.12s; }
.anim-fade-up:nth-child(3) { animation-delay: 0.2s; }
.anim-fade-up:nth-child(4) { animation-delay: 0.28s; }
.anim-fade-up:nth-child(5) { animation-delay: 0.36s; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.22s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.34s; }

@keyframes siteOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(10px, -14px) scale(1.03); }
  66% { transform: translate(-8px, 10px) scale(0.97); }
}

@keyframes sitePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

@keyframes siteTitleShine {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

@keyframes siteFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .page-site .footer-inner,
  .page-home .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-hero-grid {
    grid-template-columns: 1fr;
  }

  .site-hero-copy {
    text-align: center;
  }

  .site-hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .site-hero-actions,
  .site-hero-trust {
    justify-content: center;
  }

  .site-mock-panel {
    transform: none;
    max-width: 28rem;
    margin: 0 auto;
  }

  .site-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-site .footer-inner,
  .page-home .footer-inner {
    grid-template-columns: 1fr;
  }

  .site-hero--home {
    padding: 4rem 0 3rem;
  }

  .site-section {
    padding: 3rem 0;
  }

  .page-site .legal-content {
    padding: 1.35rem 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-site .site-orb,
  .page-home .site-orb,
  .site-gradient-title,
  .site-eyebrow-dot,
  .site-cta-band::before,
  .anim-fade-up {
    animation: none !important;
  }

  .anim-fade-up,
  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }

  .site-mock-panel {
    transform: none;
  }
}

/* Blog — motywy: ciemny domyślnie, jasny przez data-site-theme=light */
.page-blog-list,
.page-blog-article {
  --blog-page-bg: transparent;
  --blog-hero-bg: rgba(255, 255, 255, 0.02);
  --blog-hero-border: rgba(255, 255, 255, 0.08);
  --blog-heading: #f8fafc;
  --blog-text: rgba(255, 255, 255, 0.86);
  --blog-muted: rgba(255, 255, 255, 0.55);
  --blog-subtle: rgba(255, 255, 255, 0.72);
  --blog-border: rgba(255, 255, 255, 0.1);
  --blog-surface: rgba(8, 14, 24, 0.78);
  --blog-surface-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --blog-surface-hover-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
  --blog-accent: #34d399;
  --blog-accent-hover: #6ee7b7;
  --blog-filter-bg: rgba(255, 255, 255, 0.04);
  --blog-filter-color: rgba(255, 255, 255, 0.78);
  --blog-filter-border: rgba(255, 255, 255, 0.12);
  --blog-filter-active-bg: rgba(52, 211, 153, 0.2);
  --blog-filter-active-color: #ecfdf5;
  --blog-filter-active-border: rgba(52, 211, 153, 0.45);
  --blog-related-bg: rgba(8, 14, 24, 0.35);
  --blog-related-border: rgba(255, 255, 255, 0.08);
  --blog-prose: rgba(255, 255, 255, 0.86);
  --blog-prose-heading: #f8fafc;
  --blog-prose-link: #6ee7b7;
  --blog-prose-link-hover: #34d399;
  --blog-prose-code-bg: rgba(255, 255, 255, 0.08);
  --blog-prose-pre-bg: rgba(0, 0, 0, 0.35);
  --blog-prose-pre-border: rgba(255, 255, 255, 0.08);
  --blog-prose-blockquote: rgba(255, 255, 255, 0.72);
  --blog-prose-blockquote-border: rgba(255, 255, 255, 0.18);
  --blog-badge-bg: rgba(52, 211, 153, 0.14);
  --blog-badge-color: #6ee7b7;
  --blog-media-placeholder: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(59, 130, 246, 0.12));
  --blog-crumb-current: rgba(255, 255, 255, 0.72);
  --blog-cover-border: rgba(255, 255, 255, 0.08);
  --blog-img-border: rgba(255, 255, 255, 0.1);
  --blog-table-border: rgba(255, 255, 255, 0.12);
  --blog-table-head-bg: rgba(255, 255, 255, 0.06);
  --blog-table-head-color: #f8fafc;
  --blog-table-row-alt: rgba(255, 255, 255, 0.03);
}

html[data-site-theme='light'] .page-blog-list,
html[data-site-theme='light'] .page-blog-article {
  --blog-page-bg: #eef2f8;
  --blog-hero-bg: rgba(248, 250, 252, 0.82);
  --blog-hero-border: rgba(148, 163, 184, 0.22);
  --blog-heading: #0f172a;
  --blog-text: #475569;
  --blog-muted: #64748b;
  --blog-subtle: #64748b;
  --blog-border: rgba(148, 163, 184, 0.22);
  --blog-surface: #ffffff;
  --blog-surface-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  --blog-surface-hover-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  --blog-accent: #6d28d9;
  --blog-accent-hover: #5b21b6;
  --blog-filter-bg: #ffffff;
  --blog-filter-color: #475569;
  --blog-filter-border: rgba(148, 163, 184, 0.35);
  --blog-filter-active-bg: #6d28d9;
  --blog-filter-active-color: #ffffff;
  --blog-filter-active-border: rgba(109, 40, 217, 0.35);
  --blog-related-bg: rgba(255, 255, 255, 0.72);
  --blog-related-border: rgba(148, 163, 184, 0.22);
  --blog-prose: #334155;
  --blog-prose-heading: #0f172a;
  --blog-prose-link: #6d28d9;
  --blog-prose-link-hover: #5b21b6;
  --blog-prose-code-bg: #eef2f7;
  --blog-prose-pre-bg: #f4f7fb;
  --blog-prose-pre-border: #dbe3ee;
  --blog-prose-blockquote: #475569;
  --blog-prose-blockquote-border: #cbd5e1;
  --blog-badge-bg: #ecfdf5;
  --blog-badge-color: #065f46;
  --blog-media-placeholder: linear-gradient(135deg, #e0e7ff, #ecfeff);
  --blog-crumb-current: #334155;
  --blog-cover-border: #e2e8f0;
  --blog-img-border: #e2e8f0;
  --blog-table-border: #e2e8f0;
  --blog-table-head-bg: #f8fafc;
  --blog-table-head-color: #0f172a;
  --blog-table-row-alt: #f8fafc;
}

html[data-site-theme='light'] body.page-home-v8.page-blog-list,
html[data-site-theme='light'] body.page-home-v8.page-blog-article {
  background: #eef2f8 !important;
}

html[data-site-theme='light'] .page-blog-list .home-v8,
html[data-site-theme='light'] .page-blog-article .home-v8 {
  background: var(--blog-page-bg) !important;
  color: var(--blog-heading);
}

html[data-site-theme='light'] .page-blog-list .aurora,
html[data-site-theme='light'] .page-blog-list .grain,
html[data-site-theme='light'] .page-blog-list .home-v8::before,
html[data-site-theme='light'] .page-blog-article .aurora,
html[data-site-theme='light'] .page-blog-article .grain,
html[data-site-theme='light'] .page-blog-article .home-v8::before {
  display: none !important;
}

.page-blog-list .home-v8 > .site-header-v8,
.page-blog-list .home-v8 > header,
.page-blog-article .home-v8 > header {
  position: relative;
  z-index: 2;
}

.blog-archive {
  flex: 1;
  position: relative;
  z-index: 1;
}

.blog-archive__container {
  width: min(100% - 2rem, 64rem);
  margin-inline: auto;
  padding-inline: 1rem;
}

.blog-archive__hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--blog-hero-border);
  background: var(--blog-hero-bg);
}

.blog-archive__crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--blog-muted);
}

.blog-archive__crumb a {
  color: var(--blog-muted);
  text-decoration: none;
}

.blog-archive__crumb a:hover {
  color: var(--blog-heading);
}

.blog-archive__crumb-sep {
  color: var(--blog-muted);
  font-size: 0.8rem;
  opacity: 0.75;
}

.blog-archive__hero h1 {
  margin: 0;
  max-width: 44rem;
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--blog-heading);
}

.blog-archive__lead {
  margin: 0.85rem 0 0;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--blog-subtle);
}

.blog-archive__count {
  display: inline;
}

.blog-archive__body {
  padding: 2.25rem 0 3.5rem;
}

.blog-archive__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.blog-archive__filter {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--blog-filter-border);
  border-radius: 999px;
  background: var(--blog-filter-bg);
  color: var(--blog-filter-color);
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.blog-archive__filter:hover,
.blog-archive__filter.is-active {
  border-color: var(--blog-filter-active-border);
  background: var(--blog-filter-active-bg);
  color: var(--blog-filter-active-color);
}

.blog-archive__empty {
  padding: 3rem 1.5rem;
  border: 1px dashed var(--blog-border);
  border-radius: 1rem;
  background: var(--blog-surface);
  color: var(--blog-muted);
  text-align: center;
}

.blog-archive__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.blog-archive-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--blog-border);
  border-radius: 1rem;
  background: var(--blog-surface);
  box-shadow: var(--blog-surface-shadow);
  transition: box-shadow 0.2s ease;
}

.blog-archive-card:hover {
  box-shadow: var(--blog-surface-hover-shadow);
}

.blog-archive-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--blog-media-placeholder);
}

.blog-archive-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.blog-archive-card:hover .blog-archive-card__media img {
  transform: scale(1.02);
}

.blog-archive-card__media--placeholder {
  background: var(--blog-media-placeholder);
}

.blog-archive-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0;
  padding: 1.25rem;
}

.blog-archive-card__date {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  color: var(--blog-muted);
}

.blog-archive-card__title {
  margin: 0 0 0.55rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

.blog-archive-card__title a {
  color: var(--blog-heading);
  text-decoration: none;
}

.blog-archive-card__title a:hover {
  color: var(--blog-accent);
}

.blog-archive-card__excerpt {
  display: -webkit-box;
  margin: 0 0 1rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--blog-subtle);
}

.blog-archive-card__more {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blog-accent);
  text-decoration: none;
}

.blog-archive-card__more:hover {
  color: var(--blog-accent-hover);
}

/* Blog — pojedynczy artykuł */
.blog-article-page {
  flex: 1;
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 4rem;
}

.blog-article-page__container {
  width: min(100% - 2rem, 48rem);
  margin-inline: auto;
  padding-inline: 1rem;
}

.blog-article-page__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--blog-muted);
}

.blog-article-page__crumb a {
  color: var(--blog-muted);
  text-decoration: none;
}

.blog-article-page__crumb a:hover {
  color: var(--blog-heading);
}

.blog-article-page__crumb-sep {
  color: var(--blog-muted);
  font-size: 0.8rem;
  opacity: 0.75;
}

.blog-article-page__crumb-current {
  color: var(--blog-crumb-current);
}

.blog-article-shell {
  overflow: hidden;
  border: 1px solid var(--blog-border);
  border-radius: 1.5rem;
  background: var(--blog-surface);
  box-shadow: var(--blog-surface-shadow);
}

.blog-article-shell__cover {
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-bottom: 1px solid var(--blog-cover-border);
}

.blog-article-shell__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-article-shell__inner {
  padding: 2rem 1.5rem 3rem;
}

.blog-article-shell__head {
  max-width: 42rem;
  margin: 0 auto;
}

.blog-article-shell__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  font-size: 0.875rem;
  color: var(--blog-muted);
}

.blog-article-shell__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--blog-badge-bg);
  color: var(--blog-badge-color);
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-article-shell__reading {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-article-shell__head h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--blog-heading);
}

.blog-article-shell__lead {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.65;
  color: var(--blog-text);
}

.blog-article-shell__content {
  max-width: 42rem;
  margin: 2.25rem auto 0;
}

.blog-article-related {
  margin-top: 0;
  padding: 3rem 0;
  border-top: 1px solid var(--blog-related-border);
  background: var(--blog-related-bg);
}

.blog-article-related__container {
  width: min(100% - 2rem, 64rem);
  margin-inline: auto;
  padding-inline: 1rem;
}

.blog-article-related h2 {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blog-heading);
}

.blog-article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.blog-article-related-card {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid var(--blog-border);
  border-radius: 1rem;
  background: var(--blog-surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.blog-article-related-card:hover {
  border-color: var(--blog-filter-active-border);
  box-shadow: var(--blog-surface-hover-shadow);
}

.blog-article-related-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--blog-badge-bg);
  color: var(--blog-badge-color);
  font-size: 0.72rem;
  font-weight: 600;
}

.blog-article-related-card h3 {
  margin: 0.5rem 0 0.35rem;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--blog-heading);
}

.blog-article-related-card p {
  margin: 0;
  color: var(--blog-subtle);
  font-size: 0.9rem;
  line-height: 1.5;
}

.blog-article-related-card__meta {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--blog-muted);
}

.page-blog-article .article-prose {
  color: var(--blog-prose);
  font-family: inherit;
}

.page-blog-article .article-prose--editorial {
  font-size: 1.125rem;
  line-height: 1.85;
}

.page-blog-article .article-prose :where(h1, h2, h3, h4, h5, h6) {
  color: var(--blog-prose-heading);
  font-weight: 600;
}

.page-blog-article .article-prose h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.875rem;
}

.page-blog-article .article-prose--editorial h2 {
  font-size: 1.625rem;
}

.page-blog-article .article-prose h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.625rem;
}

.page-blog-article .article-prose :where(p, ul, ol, blockquote, pre, table, hr) {
  margin: 1.25rem 0;
}

.page-blog-article .article-prose p {
  color: var(--blog-prose);
}

.page-blog-article .article-prose :where(ul, ol) {
  padding-left: 1.5rem;
}

.page-blog-article .article-prose ul {
  list-style-type: disc;
}

.page-blog-article .article-prose ol {
  list-style-type: decimal;
}

.page-blog-article .article-prose li {
  margin: 0.35rem 0;
}

.page-blog-article .article-prose a {
  color: var(--blog-prose-link);
  font-weight: 500;
}

.page-blog-article .article-prose a:hover {
  color: var(--blog-prose-link-hover);
}

.page-blog-article .article-prose blockquote {
  border-left: 4px solid var(--blog-prose-blockquote-border);
  color: var(--blog-prose-blockquote);
  padding-left: 1rem;
}

.page-blog-article .article-prose :where(code):not(:where(pre *)) {
  background: var(--blog-prose-code-bg);
  border-radius: 0.3rem;
  padding: 0.12rem 0.35rem;
}

.page-blog-article .article-prose pre {
  background: var(--blog-prose-pre-bg);
  border: 1px solid var(--blog-prose-pre-border);
  border-radius: 0.75rem;
  overflow: auto;
  padding: 1rem;
}

.page-blog-article .article-prose img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--blog-img-border);
  border-radius: 0.75rem;
}

.page-blog-article .article-prose :where(table) {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0;
}

.page-blog-article .article-prose .article-table-wrap {
  margin: 1.25rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-blog-article .article-prose :where(thead th) {
  background: var(--blog-table-head-bg);
  color: var(--blog-table-head-color);
  font-weight: 600;
}

.page-blog-article .article-prose :where(th, td) {
  border: 1px solid var(--blog-table-border);
  padding: 0.7rem 0.9rem;
  text-align: left;
  vertical-align: top;
}

.page-blog-article .article-prose :where(tbody tr:nth-child(even)) {
  background: var(--blog-table-row-alt);
}

.page-blog-article .article-prose :where(tbody tr:hover) {
  background: color-mix(in srgb, var(--blog-table-row-alt) 70%, var(--blog-accent) 30%);
}

@media (min-width: 640px) {
  .blog-article-shell__inner {
    padding: 2.5rem 2.5rem 2.75rem;
  }
}

@media (min-width: 1024px) {
  .blog-article-shell__inner {
    padding: 3rem 3rem 3.25rem;
  }
}

body.page-admin-x .admin-blog-table__excerpt {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

body.page-admin-x .admin-blog-table__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

body.page-admin-x .admin-blog-table__actions form {
  margin: 0;
}

body.page-admin-x .admin-blog-banner-preview {
  margin-bottom: 0.75rem;
}

body.page-admin-x .admin-blog-banner-preview img {
  display: block;
  width: min(100%, 640px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-admin-x .admin-blog-form textarea {
  min-height: 280px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (max-width: 768px) {
  .blog-archive__grid,
  .blog-article-related__grid {
    grid-template-columns: 1fr;
  }

  .blog-archive__hero {
    padding-top: 1.5rem;
  }

  .blog-archive__container,
  .blog-article-page__container {
    width: min(100% - 1.25rem, 48rem);
    padding-inline: 0.625rem;
  }

  .blog-article-page {
    padding: 1.5rem 0 2.75rem;
  }

  .blog-article-shell__inner {
    padding: 1.35rem 1.1rem 2rem;
  }

  .blog-article-shell__content {
    margin-top: 1.5rem;
  }
}
