:root {
  --bg: #eef2f7;
  --surface: #ffffff;
  --surface-alt: #e6ebf2;
  --line: #d2d9e3;
  --line-strong: #b9c3d1;
  --text: #142033;
  --muted: #4c5b72;
  --accent: #1460aa;
  --accent-soft: #dce9f7;
  --ink: #101418;
  --shadow: 0 10px 30px rgba(20, 32, 51, 0.06);
  --max: 1280px;
  --font-sans: "Segoe UI Variable", "Segoe UI", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --caption: 12px;
  --caption-line: 16px;
  --body: 14px;
  --body-line: 20px;
  --subtitle: 16px;
  --subtitle-line: 22px;
  --title-3: 24px;
  --title-3-line: 32px;
  --title-2: 28px;
  --title-2-line: 36px;
  --title-1: 32px;
  --title-1-line: 40px;
  --display: 56px;
  --display-line: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  font-size: var(--body);
  line-height: var(--body-line);
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(210, 217, 227, 0.9);
}

.site-header__inner,
.site-footer__inner,
.section,
.page-hero,
.detail-layout {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 72px;
}

.brand {
  display: inline-grid;
  grid-template-columns: 44px auto;
  gap: 12px;
  align-items: center;
}

.brand-logo {
  width: 44px;
  height: 44px;
  display: block;
}

.brand-copy strong {
  display: block;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-copy span {
  display: block;
  font-size: 11px;
  line-height: 16px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  min-width: 46px;
  min-height: 46px;
}

.nav-links {
  flex-wrap: wrap;
}

.nav-link {
  padding: 10px 12px;
  color: var(--muted);
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 20px;
}

.nav-link.is-active,
.nav-link:hover {
  color: var(--text);
  border-color: var(--line);
  background: var(--surface);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.nav-status {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 10px 12px;
  background: var(--surface);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--text);
  box-shadow: 0 10px 24px rgba(20, 32, 51, 0.08);
}

.button--primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.button--secondary {
  background: transparent;
}

.text-link {
  color: var(--accent);
  font-weight: 600;
}

.hero-curtain {
  height: 150vh;
  position: relative;
  z-index: 3;
}

.hero-curtain__sticky {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px - 28px);
  overflow: visible;
}

.hero-curtain__panel {
  height: calc(100% - 16px);
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(18, 28, 42, 0.18), rgba(18, 28, 42, 0.18)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1800&q=90") center/cover no-repeat;
  position: relative;
  transform: translateY(calc(var(--hero-lift, 0) * -18vh));
  box-shadow: 0 24px 60px rgba(20, 32, 51, 0.12);
  will-change: transform;
  transition: transform 140ms linear;
}

.hero-curtain__backdrop {
  width: min(calc(100% - 32px), var(--max));
  height: 100%;
  margin: 0 auto;
  padding: 28px 0 18px;
  position: relative;
}

.backdrop-grid,
.backdrop-column {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.backdrop-grid {
  background: rgba(7, 13, 20, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 1;
}

.backdrop-column--left {
  right: auto;
  width: 22%;
  background: rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.backdrop-column--right {
  left: auto;
  width: 32%;
  background: rgba(7, 13, 20, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.backdrop-stage {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 32px;
  align-items: end;
  position: relative;
  z-index: 1;
}

.stage-card,
.stage-rail,
.signal-card,
.system-card,
.pricing-card,
.story-card,
.resource-card,
.dashboard-card,
.template-card,
.detail-panel,
.auth-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms ease, border-color 220ms ease;
}

.stage-card {
  padding: 48px;
  align-self: center;
  max-width: 760px;
  background: rgba(255, 255, 255, 0.9);
}

.eyebrow,
.section-kicker,
.preview-tag,
.rail-label {
  display: inline-block;
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.stage-card h1,
.page-hero h1,
.detail-copy h1,
.auth-panel h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, var(--display));
  line-height: clamp(44px, 5.4vw, var(--display-line));
  font-weight: 600;
  letter-spacing: -0.04em;
}

.stage-card p,
.page-hero p,
.detail-copy p,
.auth-panel p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.stage-rail {
  padding: 18px;
  background: rgba(248, 250, 253, 0.84);
  display: grid;
  gap: 14px;
}

.rail-card {
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.rail-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.rail-card p,
.signal-card p,
.system-card p,
.template-card p,
.story-card p,
.resource-card p,
.pricing-card p,
.dashboard-card p,
.field span,
.form-note,
.template-meta,
.detail-meta,
.metric-label {
  color: var(--muted);
}

.page-shell {
  padding: 20px 0 48px;
}

.underpage-peek {
  position: relative;
  z-index: 1;
  margin-top: -78px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.page-hero {
  padding: 18px 0 14px;
  border-bottom: 1px solid var(--line);
}

.page-hero__copy {
  max-width: 860px;
}

.section {
  padding: 22px 0;
}

.section--tight {
  padding-top: 14px;
}

.section-heading {
  margin-bottom: 14px;
}

.section-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.section-heading h2,
.card-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, var(--title-2));
  line-height: clamp(32px, 3.4vw, var(--title-2-line));
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section-heading p {
  max-width: 72ch;
  color: var(--muted);
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 20px;
}

.signal-grid,
.featured-grid,
.system-grid,
.story-grid,
.pricing-grid,
.resource-grid,
.catalog-grid,
.dashboard-template-grid {
  display: grid;
  gap: 14px;
}

.signal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.signal-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal-card,
.system-card,
.metric,
.story-card,
.pricing-card,
.resource-card,
.template-card,
.dashboard-card,
.auth-panel {
  padding: 22px;
  padding: 18px;
}

.signal-card--link {
  transition: transform 160ms ease, border-color 160ms ease;
}

.signal-card--link:hover {
  transform: translateY(-2px);
  border-color: var(--text);
  box-shadow: 0 16px 36px rgba(20, 32, 51, 0.08);
}

.signal-number {
  font-size: 0.92rem;
  color: var(--accent);
}

.signal-card h3,
.system-card h3,
.template-card h3,
.story-card h3,
.resource-card h3,
.pricing-card h3,
.detail-section h2,
.detail-section h3 {
  margin: 8px 0 10px;
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.template-card {
  display: grid;
  gap: 14px;
}

.template-preview {
  min-height: 276px;
  border: 1px solid var(--line);
  background: #f7f9fc;
  padding: 0;
  display: grid;
  gap: 10px;
  align-content: start;
  overflow: hidden;
  cursor: pointer;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms ease, border-color 220ms ease;
}

.template-preview:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(20, 32, 51, 0.12);
  border-color: var(--line-strong);
}

.template-preview img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.preview-band {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  padding: 14px 16px 0;
}

.preview-frame {
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  gap: 8px;
  padding: 12px;
  margin: 0 16px;
}

.preview-frame--editorial {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10px;
  min-height: 98px;
}

.preview-frame--social {
  grid-template-columns: repeat(3, 1fr);
  min-height: 118px;
}

.preview-frame--product {
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 116px;
}

.preview-pane,
.preview-social-card,
.preview-ui-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.preview-pane::before,
.preview-social-card::before,
.preview-ui-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 26px;
  background: #dce9f7;
  border-bottom: 1px solid var(--line);
}

.preview-pane::after,
.preview-social-card::after,
.preview-ui-panel::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 8px;
  background: #d7dee9;
}

.preview-social-card {
  min-height: 96px;
}

.preview-ui-panel {
  min-height: 116px;
}

.preview-line {
  height: 10px;
  background: #dbe4f0;
}

.preview-line--short {
  width: 54%;
}

.preview-line--accent {
  width: 38%;
  background: #99bcdf;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 16px 16px;
}

.preview-box {
  min-height: 72px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-top-width: 24px;
  border-top-color: #dce9f7;
}

.template-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  line-height: 16px;
}

.template-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.template-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.section--split .system-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.system-column {
  display: grid;
  gap: 18px;
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  min-height: 180px;
  border: 1px solid var(--line);
  background: #f9fbfe;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-value {
  font-size: clamp(32px, 4vw, 52px);
  line-height: clamp(40px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.metric-label {
  font-size: 13px;
  line-height: 18px;
}

.story-grid,
.resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-stat {
  display: inline-flex;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  margin-top: 10px;
  font-size: 12px;
  line-height: 16px;
}

.story-card--rich {
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.story-badge,
.story-rating,
.story-proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: #f7f9fc;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}

.story-company {
  display: grid;
  gap: 8px;
}

.story-company strong {
  font-size: 16px;
  line-height: 22px;
}

.story-company span {
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}

.star-row {
  letter-spacing: 0.08em;
  color: #efaa18;
  font-size: 13px;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card ul,
.plain-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.pricing-card li,
.plain-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1.3fr 280px;
  gap: 16px;
  margin-bottom: 14px;
  position: sticky;
  top: 88px;
  z-index: 15;
  padding: 14px;
  background: rgba(238, 242, 247, 0.94);
  border: 1px solid var(--line);
}

.field {
  display: grid;
  gap: 8px;
}

.field input,
.field select {
  min-height: 46px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 0 14px;
  color: var(--text);
}

.catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-layout {
  padding: 20px 0 48px;
}

.detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 380px;
  gap: 22px;
}

.detail-panel {
  padding: 22px;
}

.detail-preview {
  min-height: 520px;
  border: 1px solid var(--line);
  background: #f8fafc;
  padding: 20px;
  display: grid;
  gap: 12px;
}

.preview-modal {
  position: fixed;
  inset: 0;
  background: rgba(16, 20, 24, 0.6);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 60;
}

.preview-modal__dialog {
  width: min(1100px, 100%);
  background: #f4f7fb;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(16, 20, 24, 0.32);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  animation: modal-rise 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.preview-modal__stage,
.preview-modal__sidebar {
  padding: 20px;
}

.preview-modal__stage {
  border-right: 1px solid var(--line);
}

.preview-modal__sheet {
  min-height: 540px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.preview-modal__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #edf3fa;
}

.preview-modal__canvas {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.preview-layout {
  display: grid;
  gap: 12px;
}

.preview-layout--website {
  grid-template-columns: 1.2fr 0.8fr;
}

.preview-layout--social {
  grid-template-columns: repeat(3, 1fr);
}

.preview-layout--email,
.preview-layout--presentation,
.preview-layout--print,
.preview-layout--event,
.preview-layout--product-ui,
.preview-layout--ecommerce,
.preview-layout--agency {
  grid-template-columns: repeat(2, 1fr);
}

.preview-block {
  min-height: 130px;
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
  overflow: hidden;
}

.preview-block--hero {
  min-height: 220px;
}

.preview-block::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 34px;
  background: #dce9f7;
  border-bottom: 1px solid var(--line);
}

.preview-block::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  height: 10px;
  background: #d5dde8;
}

.detail-preview__mast {
  min-height: 140px;
  border: 1px solid var(--line);
  background: #edf3fa;
  box-shadow: inset 0 -92px 0 0 #fff;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.detail-preview__mast img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.detail-preview__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-preview__tile {
  min-height: 150px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.detail-preview__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-stack {
  display: grid;
  gap: 18px;
}

.detail-copy .template-meta {
  margin: 16px 0;
}

.detail-price {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.detail-section {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.story-listing {
  display: grid;
  gap: 16px;
}

.story-listing .story-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
}

.resource-card,
.story-card {
  display: grid;
  gap: 12px;
}

.auth-shell {
  min-height: calc(100vh - 160px);
  display: grid;
  align-items: center;
}

.auth-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.auth-panel--intro {
  background: #f7f9fc;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 18px;
}

.dashboard-column {
  display: grid;
  gap: 18px;
  align-content: start;
}

.dashboard-column--wide {
  min-width: 0;
}

.dashboard-template-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f7f9fc;
}

.site-footer__inner {
  padding: 22px 0 18px;
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.footer-brand p,
.footer-column a,
.footer-note {
  color: var(--muted);
}

.footer-brand {
  display: grid;
  gap: 8px;
  align-content: center;
}

.footer-tag {
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}

.footer-column {
  display: grid;
  gap: 6px;
  align-content: start;
}

.footer-note {
  grid-column: 1 / -1;
  padding-top: 6px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 16px;
}

@keyframes modal-rise {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.is-hidden {
  display: none;
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1100px) {
  .featured-grid,
  .signal-grid,
  .signal-grid--compact,
  .story-grid,
  .resource-grid,
  .pricing-grid,
  .catalog-grid,
  .metrics-band,
  .dashboard-template-grid,
  .auth-layout,
  .dashboard-layout,
  .detail-shell,
  .preview-modal__dialog,
  .story-listing .story-card,
  .backdrop-stage {
    grid-template-columns: 1fr;
  }

  .stage-card h1,
  .page-hero h1,
  .detail-copy h1,
  .auth-panel h1 {
    font-size: clamp(32px, 8vw, 44px);
    line-height: clamp(38px, 8.6vw, 50px);
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    width: min(calc(100% - 20px), var(--max));
    grid-template-columns: 1.05fr repeat(4, minmax(92px, 1fr));
    gap: 10px;
    padding: 16px 0 12px;
  }

  .footer-column {
    gap: 6px;
  }

  .footer-brand p,
  .footer-column a,
  .footer-note {
    font-size: 12px;
    line-height: 16px;
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
    padding: 14px 0;
    gap: 12px;
  }

  .brand {
    grid-column: 1 / 2;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2 / 3;
    grid-row: 1;
  }

  .nav-links,
  .template-actions,
  .hero-actions,
  .section-heading--row {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links,
  .nav-actions {
    display: none;
    grid-column: 1 / -1;
  }

  .site-header.is-menu-open .nav-links,
  .site-header.is-menu-open .nav-actions {
    display: flex;
  }

  .hero-curtain {
    height: 135vh;
  }

  .hero-curtain__sticky {
    top: 120px;
    height: calc(100vh - 120px - 20px);
  }

  .stage-card,
  .signal-card,
  .system-card,
  .pricing-card,
  .story-card,
  .resource-card,
  .template-card,
  .dashboard-card,
  .auth-panel,
  .detail-panel,
  .metric {
    padding: 18px;
  }

  .stage-card {
    padding: 26px;
  }

  .story-card--rich {
    grid-template-columns: 1fr;
  }

  .backdrop-column--left,
  .backdrop-column--right {
    display: none;
  }

  .underpage-peek {
    margin-top: -40px;
    padding-top: 22px;
  }

  .site-footer__inner {
    width: min(calc(100% - 16px), var(--max));
    grid-template-columns: 1fr repeat(4, minmax(64px, 1fr));
    gap: 6px;
    padding: 12px 0 10px;
  }

  .footer-brand .brand {
    grid-template-columns: 34px auto;
    gap: 8px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .footer-brand p {
    margin: 6px 0 0;
    font-size: 11px;
    line-height: 14px;
  }

  .footer-tag {
    font-size: 10px;
    line-height: 13px;
  }

  .footer-column {
    gap: 4px;
  }

  .footer-column strong {
    font-size: 11px;
    line-height: 14px;
  }

  .footer-column a,
  .footer-note {
    font-size: 11px;
    line-height: 14px;
  }

  .footer-note {
    padding-top: 6px;
  }
}
