:root {
  color-scheme: light dark;
  --ink: #17243d;
  --muted: #5f6879;
  --paper: #fbf8f2;
  --surface: #ffffff;
  --surface-strong: #f1ece4;
  --line: #ded8ce;
  --navy: #0d2f66;
  --navy-soft: #e8effa;
  --orange: #ff5a1f;
  --orange-dark: #d94312;
  --teal: #0db7bd;
  --gold: #ecab49;
  --shadow: 0 22px 60px rgba(22, 31, 48, 0.12);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --page: min(1180px, calc(100% - 2rem));
  font-family: Inter, Aptos, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-synthesis: none;
}

html[data-theme="dark"] {
  --ink: #f7f2e9;
  --muted: #b8c1d1;
  --paper: #08162d;
  --surface: #10213e;
  --surface-strong: #162a49;
  --line: #29405f;
  --navy: #8db5ff;
  --navy-soft: #172d50;
  --orange: #ff7847;
  --orange-dark: #ff936c;
  --teal: #32d1d0;
  --gold: #ffc36d;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --ink: #f7f2e9;
    --muted: #b8c1d1;
    --paper: #08162d;
    --surface: #10213e;
    --surface-strong: #162a49;
    --line: #29405f;
    --navy: #8db5ff;
    --navy-soft: #172d50;
    --orange: #ff7847;
    --orange-dark: #ff936c;
    --teal: #32d1d0;
    --gold: #ffc36d;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 0.6rem;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
}
.nav-shell {
  width: var(--page);
  min-height: 5.2rem;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { width: 12.4rem; max-height: 3.65rem; object-fit: contain; object-position: left center; }
.brand-dark { display: none; }
html[data-theme="dark"] .brand-light { display: none; }
html[data-theme="dark"] .brand-dark { display: block; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .brand-light { display: none; }
  html:not([data-theme="light"]) .brand-dark { display: block; }
}
.site-nav { position: absolute; inset: calc(100% + 1px) 0 auto; margin-left: auto; padding: 0.75rem 1rem 1rem; display: none; flex-direction: column; align-items: stretch; gap: 0.15rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.site-nav[data-open="true"] { display: flex; }
.site-nav a, .header-actions a, .icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.site-nav a:hover, .site-nav a[aria-current="page"], .header-actions a:hover, .icon-button:hover {
  background: var(--navy-soft);
  color: var(--navy);
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 0.25rem; }
.language-switch { gap: 0; padding-inline: .7rem; }
.language-flag { width: 1.5rem; height: 1rem; flex: 0 0 auto; display: inline-block; overflow: hidden; border: 1px solid color-mix(in srgb, var(--line) 72%, var(--ink)); border-radius: .18rem; background-position: center; background-repeat: no-repeat; background-size: cover; color: transparent; font-size: 0; line-height: 0; box-shadow: 0 1px 3px rgba(13, 25, 45, .16); }
.language-switch[lang="it"] .language-flag { background-image: url("../images/flags/it.svg"); }
.language-switch[lang="en"] .language-flag { background-image: url("../images/flags/en.svg"); }
.language-name { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icon-button { width: 2.75rem; padding: 0; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.menu-button { display: inline-flex; }

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--teal) 13%, transparent) 0 12rem, transparent 12.2rem),
    radial-gradient(circle at 14% 16%, color-mix(in srgb, var(--orange) 10%, transparent) 0 8rem, transparent 8.2rem),
    var(--paper);
}
.hero::after {
  content: "";
  position: absolute;
  width: 34rem;
  height: 13rem;
  right: -8rem;
  top: 9rem;
  border: 2px solid color-mix(in srgb, var(--navy) 18%, transparent);
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
}
.hero-shell {
  width: var(--page);
  min-height: auto;
  margin: auto;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}
.hero-copy { text-align: center; }
.hero-copy h1, .hero-copy .lead { margin-inline: auto; }
.eyebrow {
  margin: 0 0 1rem;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -0.035em; }
h1 { max-width: 12ch; margin-bottom: 1.35rem; font-size: clamp(3rem, 7vw, 6.7rem); }
h2 { margin-bottom: 1rem; font-size: clamp(2.1rem, 4.6vw, 4.1rem); }
h3 { margin-bottom: 0.7rem; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.lead { max-width: 39rem; margin: 0; color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.32rem); }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}
.button.primary { border-color: var(--orange); background: var(--orange); color: #fff; }
.button.primary:hover { border-color: var(--orange-dark); background: var(--orange-dark); }
.button:hover { border-color: var(--navy); }
.button.disabled { opacity: 0.72; cursor: default; }
.button.store-soon {
  border-style: dashed;
  background: color-mix(in srgb, var(--surface) 78%, var(--surface-strong));
  color: var(--muted);
  opacity: 0.9;
  user-select: none;
}
.button.group-join {
  border-color: #188038;
  background: #188038;
  color: #fff;
}
.button.group-join:hover {
  border-color: #137333;
  background: #137333;
}

.trust-list { margin: 2.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.65rem; list-style: none; }
.trust-list li { padding: 0.4rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 0.87rem; font-weight: 750; }
.phone-wrap { position: relative; z-index: 1; justify-self: center; }
.phone-wrap::before {
  content: "";
  position: absolute;
  inset: 13% -18%;
  z-index: -1;
  border: 2px solid color-mix(in srgb, var(--teal) 52%, transparent);
  border-radius: 50%;
  transform: rotate(-24deg);
}
.phone {
  width: min(22rem, 70vw);
  padding: 0.55rem;
  border: 1px solid color-mix(in srgb, var(--line) 75%, var(--ink));
  border-radius: 2.2rem;
  background: #0a1020;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.phone img { width: 100%; border-radius: 1.7rem; }
.phone-caption { margin: 1rem 0 0; color: var(--muted); text-align: center; font-size: 0.82rem; }

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section.alt { background: var(--surface-strong); }
.section-shell { width: var(--page); margin: auto; }
.section-heading { max-width: 48rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.1rem; }
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.feature-card { min-height: 0; padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.feature-card .glyph { display: grid; width: 3rem; height: 3rem; margin-bottom: 1.4rem; place-items: center; border-radius: 0.8rem; background: var(--navy-soft); color: var(--navy); font-size: 1.4rem; font-weight: 900; }
.feature-card p { margin: 0; color: var(--muted); }
.feature-card strong { color: var(--orange-dark); }

.orbit-method { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.orbit-copy p { color: var(--muted); }
.method-map { position: relative; min-height: 29rem; display: grid; place-items: center; }
.method-map::before, .method-map::after { content: ""; position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.method-map::before { width: 88%; height: 54%; transform: rotate(17deg); }
.method-map::after { width: 66%; height: 84%; transform: rotate(-20deg); }
.method-core { position: relative; z-index: 2; display: grid; width: 9rem; height: 9rem; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; box-shadow: var(--shadow); text-align: center; font-weight: 900; }
.method-node { position: absolute; z-index: 3; padding: 0.55rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 800; box-shadow: 0 8px 26px rgba(20, 28, 44, 0.08); }
.method-node:nth-of-type(1) { top: 2%; left: 42%; }
.method-node:nth-of-type(2) { top: 23%; right: 1%; }
.method-node:nth-of-type(3) { bottom: 16%; right: 3%; }
.method-node:nth-of-type(4) { bottom: 2%; left: 36%; }
.method-node:nth-of-type(5) { bottom: 20%; left: 1%; }
.method-node:nth-of-type(6) { top: 22%; left: 2%; }

.showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; align-items: end; }
.shot { margin: 0; }
.shot img { width: 100%; border: 1px solid var(--line); border-radius: 1.25rem; box-shadow: 0 14px 35px rgba(13, 25, 45, 0.12); }
.shot:nth-child(even) { transform: none; }
.shot figcaption { margin-top: 0.75rem; color: var(--muted); font-size: 0.83rem; }

.promo-panel {
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.promo-copy { padding: .5rem; }
.promo-copy p { color: var(--muted); }
.promo-copy .media-note { margin-top: 1.5rem; font-size: 0.85rem; }
.soundtrack { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; }
.sound-toggle, .carousel-button { min-height: 2.75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-strong); color: var(--ink); font: inherit; font-weight: 850; cursor: pointer; }
.sound-toggle { padding: .65rem 1rem; }
.sound-toggle:hover, .carousel-button:hover { border-color: var(--orange); color: var(--orange-dark); }
.sound-toggle[aria-pressed="true"] { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 12%, var(--surface)); color: var(--orange-dark); }
.soundtrack-title { color: var(--muted); font-size: .8rem; }
.promo-carousel { width: min(100%, 31rem); justify-self: center; }
.carousel-viewport {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #08162d;
  touch-action: pan-y;
  box-shadow: 0 18px 45px rgba(12, 23, 43, 0.2);
}
.carousel-slide { margin: 0; }
.carousel-slide[hidden] { display: none; }
.carousel-slide img { width: 100%; max-height: 76svh; object-fit: contain; background: #08162d; }
.carousel-toolbar { margin-top: .9rem; display: grid; grid-template-columns: 2.75rem 1fr 2.75rem; align-items: center; gap: .75rem; }
.carousel-button { width: 2.75rem; padding: 0; font-size: 1.25rem; }
.carousel-status { text-align: center; color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; font-weight: 800; }
.carousel-hint { margin: .55rem 0 0; color: var(--muted); text-align: center; font-size: .76rem; }

.privacy-panel { padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr; gap: 2rem; border-radius: var(--radius-md); background: var(--navy); color: #fff; }
.privacy-panel h2 { color: #fff; }
.privacy-panel p { color: #d8e4f9; }
.privacy-points { display: grid; gap: 0.75rem; }
.privacy-point { padding: 1rem; border: 1px solid rgba(255,255,255,.15); border-radius: 1rem; background: rgba(255,255,255,.07); }
.privacy-point strong { display: block; }
.privacy-point span { color: #d8e4f9; font-size: 0.92rem; }

.cta-panel { padding: clamp(2rem, 6vw, 5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); text-align: center; box-shadow: var(--shadow); }
.cta-panel h2 { max-width: 15ch; margin-inline: auto; }
.cta-panel p { max-width: 40rem; margin: 0 auto 1.8rem; color: var(--muted); }

.site-footer { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.footer-shell { width: var(--page); margin: auto; display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-brand img { width: 12rem; margin-bottom: 1rem; }
.footer-brand p, .footer-column p { color: var(--muted); }
.footer-column strong { display: block; margin-bottom: 0.75rem; }
.footer-column a { display: block; width: fit-content; margin: 0.35rem 0; color: var(--muted); text-decoration: none; }
.footer-column a:hover { color: var(--orange-dark); text-decoration: underline; }
.fine-print { width: var(--page); margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; }

.language-page { min-height: 100vh; display: grid; place-items: center; padding: 2rem; background: var(--paper); }
.language-card { width: min(46rem, 100%); padding: clamp(2rem, 6vw, 5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); text-align: center; }
.language-card > img { width: min(22rem, 82%); margin: 0 auto 2.5rem; }
.language-card > .error-icon { width: 8rem; }
.language-card h1 { max-width: none; font-size: clamp(2.4rem, 6vw, 4.7rem); }
.language-card p { color: var(--muted); }
.language-card .fine-print { width: auto; }
.language-options { margin-top: 2rem; display: grid; grid-template-columns: 1fr; gap: 0.8rem; }

.content-hero { padding: clamp(4rem, 8vw, 7rem) 0; border-bottom: 1px solid var(--line); }
.content-hero .section-shell { max-width: 900px; }
.content-hero h1 { max-width: 13ch; }
.prose { width: min(820px, calc(100% - 2rem)); margin: auto; padding: clamp(3.5rem, 8vw, 7rem) 0; }
.prose h2 { margin-top: 3.5rem; font-size: clamp(1.7rem, 4vw, 2.7rem); }
.prose h3 { margin-top: 2.5rem; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); }
.prose a { color: var(--navy); text-underline-offset: 0.18em; }
.prose .notice { margin: 2rem 0; padding: 1.2rem 1.4rem; border-left: 4px solid var(--orange); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--surface-strong); }
.method-page { width: min(1040px, calc(100% - 2rem)); }
.method-page > section { margin-top: clamp(4.5rem, 10vw, 8rem); }
.method-page > section:first-child { margin-top: 0; }
.method-page h2 { max-width: 19ch; margin-top: 0; }
.method-page h3 { margin-top: 0; }
.method-page .chapter-number { margin: 0 0 0.75rem; color: var(--orange-dark); font-size: 0.82rem; font-weight: 900; letter-spacing: 0.16em; }
.method-intro { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.method-intro .chapter-number { grid-column: 1 / -1; margin-bottom: -1rem; }
.method-intro h2 { grid-column: 1; }
.method-intro > div { display: block; }
.method-intro > div > p { margin-top: 1rem; }
.practice-directions { margin-top: 2rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
.practice-directions article { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.practice-directions .glyph { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--orange) 16%, var(--surface)); color: var(--orange-dark); font-size: 1.35rem; font-weight: 900; }
.practice-directions h3 { font-size: 1.05rem; }
.practice-directions p { margin-bottom: 0; font-size: .92rem; }
.study-path { margin: 2.25rem 0 0; padding: 0; counter-reset: study-step; display: grid; gap: .8rem; list-style: none; }
.study-path li { counter-increment: study-step; display: grid; grid-template-columns: 4rem 1fr; gap: 1.2rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.study-path li::before { content: counter(study-step, decimal-leading-zero); display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 900; }
.study-path h3 { font-size: 1.1rem; }
.study-path p { margin-bottom: 0; }
.mode-comparison { margin-top: 2rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
.mode-comparison article { padding: clamp(1.4rem, 4vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.mode-comparison article:first-child { border-top: 5px solid var(--orange); }
.mode-comparison article:last-child { border-top: 5px solid var(--teal); }
.mode-comparison h3 { font-size: 1.35rem; }
.takeaway-list { margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: .8rem; list-style: none; }
.takeaway-list li { position: relative; padding: 1.25rem 1.25rem 1.25rem 3.2rem; border-radius: var(--radius-sm); background: var(--surface-strong); }
.takeaway-list li::before { content: "✓"; position: absolute; top: 1.25rem; left: 1.25rem; color: var(--teal); font-weight: 900; }
.method-boundaries { padding: clamp(1.5rem, 5vw, 3.5rem); border-radius: var(--radius-lg); background: var(--navy); color: #fff; }
.method-boundaries h2, .method-boundaries strong { color: #fff; }
.method-boundaries p { color: #d8e4f9; }
.method-boundaries .chapter-number { color: #ffc394; }
.method-cta { margin-top: clamp(4.5rem, 10vw, 8rem); padding: clamp(1.5rem, 5vw, 3.5rem); display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.method-cta h2 { margin: .35rem 0; font-size: clamp(1.55rem, 4vw, 2.4rem); }
.method-cta p { margin-bottom: 0; }
.method-cta .button { flex: 0 0 auto; }
.faq details { margin: 0.8rem 0; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.faq summary { cursor: pointer; font-weight: 800; }
.faq details p { margin-bottom: 0; }
.compact-grid .feature-card { min-height: 14rem; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

@media (max-width: 580px) {
  .nav-shell { gap: .35rem; }
  .brand img { width: 8.2rem; }
  .header-actions { gap: .1rem; }
  .header-actions a { min-height: 2.75rem; padding-inline: .45rem; }
  .sound-toggle { width: 100%; }
  .study-path li { grid-template-columns: 3rem 1fr; padding: 1.1rem; gap: .8rem; }
  .study-path li::before { width: 2.5rem; height: 2.5rem; }
}

@media (min-width: 581px) {
  .feature-grid, .language-options, .footer-shell { grid-template-columns: 1fr 1fr; }
  .feature-card { min-height: 17rem; }
  .feature-card .glyph { margin-bottom: 2.5rem; }
  .showcase { gap: 1rem; }
  .shot:nth-child(even) { transform: translateY(2rem); }
  .privacy-panel { border-radius: var(--radius-lg); }
  .promo-panel { padding: clamp(1.4rem, 4vw, 3rem); border-radius: var(--radius-lg); }
  .promo-copy { padding: clamp(0.5rem, 3vw, 2rem); }
  .promo-carousel { width: min(100%, 31rem); }
  .carousel-viewport { border-radius: 1.6rem; }
  .method-cta { align-items: center; flex-direction: row; }
}

@media (min-width: 901px) {
  .menu-button { display: none; }
  .site-nav { position: static; inset: auto; padding: 0; display: flex; flex-direction: row; align-items: center; border-bottom: 0; background: transparent; }
  .header-actions { margin-left: 0; }
  .site-nav a { justify-content: center; }
  .brand img { width: 15.5rem; }
  .hero-shell { min-height: 44rem; grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.72fr); }
  .hero-copy { text-align: left; }
  .hero-copy h1, .hero-copy .lead { margin-inline: 0; }
  .hero-actions, .trust-list { justify-content: flex-start; }
  .orbit-method { grid-template-columns: 0.9fr 1.1fr; }
  .privacy-panel { grid-template-columns: 1fr 1fr; }
  .promo-panel { grid-template-columns: minmax(18rem, 0.72fr) minmax(24rem, 1fr); }
  .promo-carousel { width: min(100%, 34rem); }
  .method-intro { grid-template-columns: minmax(15rem, .75fr) 1.25fr; }
  .method-intro > div { display: contents; }
  .method-intro > div > p { grid-column: 2; margin-top: 0; }
  .practice-directions, .mode-comparison, .takeaway-list { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .showcase { grid-template-columns: repeat(4, 1fr); }
  .footer-shell { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}


/* Copy-refactor prototype: preserve rhythm with longer, more human copy */
.hero-copy .brand-slogan { max-width: 17ch; font-size: clamp(2.65rem, 5.9vw, 5.7rem); }
.scenario-grid .feature-card { min-height: 0; }
.scenario-grid .feature-card .glyph { margin-bottom: 1.35rem; }
@media (min-width: 581px) { .scenario-grid .feature-card { min-height: 13.5rem; } }
@media (max-width: 580px) { .hero-copy .brand-slogan { max-width: 16ch; font-size: clamp(2.45rem, 11vw, 3.2rem); } }


/* Release-site additions: compact hero scope line. */
.hero-meta { margin: -.45rem 0 1.15rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem .65rem; color: var(--muted); font-size: .88rem; font-weight: 800; }
.hero-meta span { display: inline-flex; align-items: center; }
.hero-meta span + span::before { content: "·"; margin-right: .65rem; color: var(--orange); }
@media (min-width: 900px) { .hero-meta { justify-content: flex-start; } }


/* Temporary closed-test recruitment flow. Remove after public launch. */
.test-flow-shell {
  width: min(920px, calc(100% - 2rem));
  margin: auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.test-flow-intro {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.test-flow-intro p { color: var(--muted); }
.test-steps {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  list-style: none;
}
.test-step {
  padding: clamp(1.35rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(22, 31, 48, 0.07);
}
.test-step-number {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border-radius: 1rem;
  background: var(--navy-soft);
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 950;
}
.test-step h2 {
  margin: 0 0 .3rem;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
}
.test-step p { margin: 0; color: var(--muted); }
.test-step .button { white-space: nowrap; }
.test-step.is-key {
  border-color: color-mix(in srgb, var(--orange) 48%, var(--line));
  background: color-mix(in srgb, var(--orange) 4%, var(--surface));
}
.test-flow-note {
  margin-top: 1.25rem;
  padding: 1.15rem 1.3rem;
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface-strong);
  color: var(--muted);
}
.test-flow-note strong { color: var(--ink); }
.test-support-card {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding: clamp(1.35rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--navy);
  color: #fff;
}
.test-support-card h2 { margin: 0 0 .45rem; color: #fff; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.test-support-card p { margin: 0; color: #d8e4f9; }
.test-support-card a { color: #fff; font-weight: 850; text-underline-offset: .2em; }
@media (max-width: 720px) {
  .test-step { grid-template-columns: auto minmax(0, 1fr); }
  .test-step .button { grid-column: 1 / -1; width: 100%; }
}
