:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f7;
  --surface: #ffffff;
  --ink: #111418;
  --ink-2: #4a5160;
  --line: #e4e6ea;
  --red: #d52b1e;
  --red-ink: #a3180e;
  --red-tint: #fdecea;
  --link: #a3180e;
  --focus: #0b57d0;
  --focus-halo: #ffffff;
  --shadow-sm: 0 1px 2px rgba(17, 20, 24, .05);
  --shadow: 0 1px 2px rgba(17, 20, 24, .04), 0 12px 40px rgba(17, 20, 24, .08);
  --radius: 22px;
  --gutter: clamp(8px, 1.6vw, 24px);
  --panel-radius: clamp(24px, 3vw, 40px);
  --panel: #f4f4f6;
  --leaf-opacity: .06;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0e1014;
  --bg-soft: #15181e;
  --surface: #1a1e25;
  --ink: #f3f4f6;
  --ink-2: #b8bec9;
  --line: #2b3039;
  --red: #e0392c;
  --red-ink: #ff8a80;
  --red-tint: #3a1b19;
  --link: #ff9d94;
  --focus: #ffd24a;
  --focus-halo: #0e1014;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 40px rgba(0, 0, 0, .35);
  --leaf-opacity: .06;
  --panel: #16191f;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); letter-spacing: -.035em;
}
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }

/* Bilingual content: only the active language is rendered or announced. */
html[lang="en"] .fr, html[lang="fr"] .en { display: none !important; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--focus-halo);
  border-radius: 8px;
}
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 32px); }

/* Flag strip and notice */
.flag-strip { display: grid; grid-template-columns: 1fr 2fr 1fr; height: 6px; }
.flag-strip span:nth-child(odd) { background: var(--red); }
.flag-strip span:nth-child(2) { background: var(--bg); }
.notice { background: var(--bg-soft); color: var(--ink-2); font-size: .88rem; border-bottom: 1px solid var(--line); }
.notice p { margin: 0; padding: 9px 16px; text-align: center; }
.notice strong { color: var(--ink); }
.notice a { color: var(--ink); font-weight: 600; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--red);
  display: grid; place-items: center;
}
.brand-leaf { width: 22px; height: 22px; fill: #fff; }
.brand-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; }
.brand-name span { color: var(--red-ink); }
.header-inner { position: relative; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang-toggle, .menu-toggle {
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600;
}
.menu-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px 0 14px; background: var(--ink); color: var(--bg); border-color: var(--ink); }
.menu-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.menu-toggle .menu-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close { display: block; }
.lang-toggle:hover { border-color: var(--ink-2); }
.menu-toggle:hover { opacity: .9; }

.site-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  width: min(360px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 10px;
}
.site-menu[hidden] { display: none; }
.menu-links { list-style: none; display: grid; gap: 2px; }
.menu-links a {
  display: flex; align-items: center; justify-content: space-between; min-height: 48px;
  padding: 10px 14px; border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem;
}
.menu-links a::after { content: "→"; color: var(--red-ink); }
.menu-links a:hover { background: var(--bg-soft); }
.menu-footer { display: grid; gap: 8px; margin-top: 8px; padding: 12px 6px 4px; border-top: 1px solid var(--line); }
.theme-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink); font-weight: 600;
  justify-self: start;
}
.theme-toggle:hover { border-color: var(--ink-2); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.switch { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #9aa1ad; margin-left: 4px; transition: background .15s ease; }
.switch span { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s ease; }
.theme-toggle[aria-pressed="true"] .switch { background: #d52b1e; }
.theme-toggle[aria-pressed="true"] .switch span { transform: translateX(16px); }
@media (forced-colors: active) { .switch { border: 1px solid ButtonText; } .theme-toggle[aria-pressed="true"] .switch span { background: Highlight; } }
.menu-official { font-size: .92rem; padding: 4px 10px; }
.anchor { display: block; position: relative; top: -120px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 5vw, 72px); }
.hero-leaf {
  position: absolute; z-index: 0; pointer-events: none;
  width: clamp(420px, 52vw, 760px); right: -9%; top: -6%;
  fill: var(--red); opacity: var(--leaf-opacity); transform: rotate(12deg);
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--red-tint); color: var(--red-ink);
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.eyebrow.dark { margin-bottom: 18px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  letter-spacing: -.045em; line-height: 1; margin-bottom: .25em;
}
.hero h1 .accent { color: var(--red); }
.lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); max-width: 36rem; margin: 0 auto 28px; }

.ask { max-width: 820px; margin: 0 auto; text-align: left; }
.ask-label { display: block; font-weight: 600; margin: 0 0 10px 8px; color: var(--ink); }
.ask-box {
  display: flex; align-items: flex-end; gap: 10px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 30px; padding: 10px 10px 10px 24px;
  box-shadow: var(--shadow);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ask-box:focus-within { border-color: var(--red); box-shadow: var(--shadow), 0 0 0 4px color-mix(in srgb, var(--red) 22%, transparent); }
.ask-box textarea {
  flex: 1; min-height: 52px; max-height: 200px; resize: none;
  border: 0; outline: 0; background: transparent; color: inherit;
  font: inherit; font-size: 1.2rem; line-height: 1.45; padding: 16px 0;
}
.ask-box textarea::placeholder { color: var(--ink-2); opacity: 1; }
.ask-box textarea:focus-visible { box-shadow: none; outline: none; }
.ask-submit {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 58px; padding: 0 26px; border: 0; border-radius: 999px;
  background: #d52b1e; color: #fff; font-weight: 700; font-size: 1.05rem;
  transition: background .15s ease, transform .15s ease;
}
.ask-submit svg { width: 20px; height: 20px; }
.ask-submit:hover { background: #b51f14; }
.ask-submit:active { transform: scale(.98); }
.ask-submit[disabled] { background: #6b7280; cursor: progress; }
.ask-help { font-size: .9rem; color: var(--ink-2); margin: 12px 0 0 8px; }

.examples { margin: 22px auto 0; max-width: 820px; }
.examples-label { font-size: .9rem; color: var(--ink-2); margin-bottom: 10px; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); font-weight: 500;
  transition: border-color .15s ease, background .15s ease;
}
.chip:hover { border-color: var(--red); background: var(--surface); }
.trust {
  display: flex; align-items: flex-start; justify-content: center; gap: 10px;
  margin: 20px auto 0; max-width: 620px; font-size: .92rem; color: var(--ink-2);
}
.trust svg { flex: none; width: 20px; height: 20px; color: var(--red); margin-top: 2px; }

.scenes {
  list-style: none; display: grid; gap: 16px; margin-top: clamp(40px, 5vw, 64px);
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1000px) { .scenes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .scenes { grid-template-columns: 1fr; } }
.scene {
  width: 100%; height: 100%; padding: 0; text-align: left; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.scene:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--red) 40%, var(--line)); }
@media (prefers-reduced-motion: reduce) { .scene:hover, .event:hover { transform: none; } }
.scene-art { display: block; aspect-ratio: 16 / 10; }
.scene-art svg { width: 100%; height: 100%; }
.scene-lake .scene-art { background: #e3f0fa; }
.scene-maple .scene-art { background: #fbe1dd; }
.scene-forest .scene-art { background: #e2f1e8; }
.scene-dusk .scene-art { background: #efe6f8; }
.scene-text { display: grid; gap: 2px; padding: 16px 18px 18px; font-weight: 650; font-size: 1.02rem; line-height: 1.35; }
.scene-try { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-ink); }

/* Conversation */
.conversation { padding: 56px 0 64px; background: var(--bg-soft); border-block: 1px solid var(--line); }
.conversation-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.conversation-head h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin: 0; }
.conversation-head h2:focus, .conversation-head h2:focus-visible { outline: none; box-shadow: none; }
.text-button {
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600;
}
.text-button:hover { border-color: var(--ink-2); }
.thread { list-style: none; display: grid; gap: 16px; margin-bottom: 24px; }
.turn-q {
  justify-self: end; max-width: 85%;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 20px 20px 6px 20px;
}
.turn-q p { margin: 0; }
.turn-a {
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px 22px 22px 22px;
  padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.turn-a .answer > :last-child { margin-bottom: 0; }
.turn-a .answer ol, .turn-a .answer ul { padding-left: 1.4em; margin: 0 0 1em; }
.turn-a .answer li { margin-bottom: .45em; }
.turn-a .answer li::marker { color: var(--red-ink); font-weight: 700; }
.turn-a .answer h4 { font-size: 1.05rem; margin: 1em 0 .4em; }
.progress { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 500; margin: 0; }
.progress-dots { display: inline-flex; gap: 5px; }
.progress-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--red); opacity: .35; }
@media (prefers-reduced-motion: no-preference) {
  .progress-dots span { animation: pulse 1.2s ease-in-out infinite; }
  .progress-dots span:nth-child(2) { animation-delay: .2s; }
  .progress-dots span:nth-child(3) { animation-delay: .4s; }
}
@keyframes pulse { 50% { opacity: 1; transform: translateY(-2px); } }
.sources { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.sources h4 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 8px; }
.sources ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.sources a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px;
  padding: 6px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line);
  font-size: .88rem; text-decoration: none; color: var(--ink); max-width: 100%;
}
.sources a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; }
.sources a:hover { border-color: var(--red); }
.sources a span.t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 34ch; }
.error { color: var(--red-ink); font-weight: 600; margin: 0; }
.ask-followup .ask-box { box-shadow: var(--shadow-sm); }
.disclaimer-small { font-size: .88rem; color: var(--ink-2); margin: 12px 0 0 8px; }

/* Sections */
.section { padding: clamp(72px, 6vw + 40px, 128px) 0; }
.section-lede { font-size: 1.15rem; color: var(--ink-2); max-width: 44rem; margin-bottom: 44px; }
.life, .popular, .shift { background: var(--bg-soft); }

.event-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.event {
  width: 100%; height: 100%; text-align: left;
  display: grid; gap: 6px; align-content: start;
  padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.event:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--red) 40%, var(--line)); box-shadow: var(--shadow); }
.event-icon {
  width: 52px; height: 52px; border-radius: 16px; margin-bottom: 12px;
  display: grid; place-items: center; background: var(--red-tint); color: var(--red-ink);
}
.event-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.event-icon .dot { fill: currentColor; stroke: none; }
.event-title { font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.event-desc { color: var(--ink-2); font-size: .95rem; }

.depts { overflow: hidden; }
.depts .wrap { text-align: center; }
.depts .section-lede { margin-inline: auto; }
.marquee {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; flex-direction: column; gap: 12px; }
.marquee-row { display: flex; gap: 12px; width: max-content; }
.marquee-row span {
  white-space: nowrap; padding: 12px 20px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); font-weight: 500;
}
.marquee-row span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--red); vertical-align: middle; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-row { animation: slide 80s linear infinite; }
  .marquee-row:nth-child(2) { animation-duration: 95s; animation-direction: reverse; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-row { flex-wrap: wrap; width: auto; justify-content: center; padding: 0 16px; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}
@keyframes slide { to { transform: translateX(-50%); } }

.pillars { padding-top: 0; }
.pillar-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.pillar { padding: 30px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.pillar-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: #d52b1e; color: #fff;
}
.pillar-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pillar p { color: var(--ink-2); margin: 0; }

.link-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.tile {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 68px; padding: 16px 22px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); font-weight: 600; text-decoration: none;
  transition: border-color .15s ease;
}
.tile::after { content: "→"; color: var(--red-ink); font-weight: 700; transition: transform .15s ease; }
.tile:hover { border-color: var(--red); }
.tile:hover::after { transform: translateX(3px); }

.concept-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 20px; }
.concept { display: flex; flex-direction: column; }
.concept p { color: var(--ink-2); }
.mock {
  min-height: 270px; margin-bottom: 22px; padding: 22px; border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--red) 14%, transparent), transparent 55%),
    var(--bg-soft);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  color: #111418;
}
.concept .mock-title { color: var(--ink); font-weight: 700; margin: 0 0 4px; font-size: .95rem; }
.mock-checks, .mock-list { list-style: none; display: grid; gap: 6px; }
.mock-checks li, .mock-list li {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #e4e6ea; border-radius: 12px; padding: 8px 10px; font-size: .85rem; font-weight: 600;
}
.check { width: 16px; height: 16px; border-radius: 5px; border: 2px solid #9aa1ad; flex: none; }
.check.on { background: #d52b1e; border-color: #d52b1e; box-shadow: inset 0 0 0 2px #fff; }
.mock-button {
  align-self: flex-start; margin-top: 4px; padding: 8px 16px; border-radius: 999px;
  background: #d52b1e; color: #fff; font-weight: 700; font-size: .85rem;
}
.mock-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mock-steps li {
  background: #fff; color: #6b7280; border: 1px solid #e4e6ea; border-radius: 10px; padding: 24px 4px 8px;
  font-size: .72rem; font-weight: 600; text-align: center; position: relative;
}
.mock-steps li::before {
  content: ""; position: absolute; top: 8px; left: 50%; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: #d1d5db;
}
.mock-steps li.done { color: #111418; }
.mock-steps li.done::before { background: #1f8a4c; }
.mock-steps li.current { color: #111418; border-color: #d52b1e; box-shadow: 0 0 0 2px rgba(213, 43, 30, .25); }
.mock-steps li.current::before { background: #d52b1e; }
.concept .mock-note { color: var(--ink-2); font-size: .82rem; margin: 6px 0 0; }
.pill { font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.pill.green { background: #d7f5e6; color: #0b5e3c; }
.pill.amber { background: #fdefc8; color: #6e4800; }
.mock-field { display: grid; gap: 3px; }
.mock-label { color: var(--ink-2); font-size: .75rem; font-weight: 600; }
.mock-input { background: #fff; border: 1px solid #e4e6ea; border-radius: 10px; padding: 8px 10px; font-size: .85rem; font-weight: 600; color: #111418; }
.mock-input.filled { box-shadow: inset 3px 0 0 #d52b1e; }

.prose p, .prose li { font-size: 1.1rem; }
.moves { counter-reset: move; list-style: none; display: grid; gap: 10px; margin: 8px 0 28px; }
.moves li {
  counter-increment: move; position: relative;
  padding: 18px 20px 18px 66px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
}
.moves li::before {
  content: counter(move); position: absolute; left: 18px; top: 16px;
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: #d52b1e; color: #fff; font-weight: 700; font-size: .95rem;
}

/* Footer */
.site-footer { background: #111418; color: #c9ced8; padding: 0 0 64px; font-size: .95rem; }
.site-footer::before { content: ""; display: block; height: 6px; margin-bottom: 56px; background: linear-gradient(90deg, #d52b1e 25%, #fff 25% 75%, #d52b1e 75%); }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.footer-brand { color: #fff; font-weight: 700; font-size: 1.1rem; font-family: var(--font-display); }
.footer-heading { font-family: var(--font-body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.site-footer a { color: #fff; }
.site-footer :focus-visible { --focus: #ffd24a; --focus-halo: #111418; }
.footer-links { list-style: none; display: grid; gap: 8px; }

@media (max-width: 440px) {
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-actions .menu-toggle { width: 44px; padding: 0; justify-content: center; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .ask-box { flex-direction: column; align-items: stretch; padding: 12px; border-radius: 24px; }
  .ask-box textarea { padding: 8px 8px; min-height: 80px; }
  .ask-submit { justify-content: center; }
  .turn-q { max-width: 100%; }
  .conversation-head { flex-direction: column; align-items: flex-start; }
  .hero-leaf { right: -40%; top: -4%; width: 520px; }
  .brand-name { font-size: 1rem; }
  .lang-toggle, .menu-toggle { padding: 0 14px; }
  .header-inner { gap: 12px; }
  .ask-box textarea { min-height: 104px; }
  .eyebrow { font-size: .7rem; letter-spacing: .05em; }
}

@media (forced-colors: active) {
  .ask-box, .event, .tile, .pillar, .turn-a, .moves li, .scene { border: 1px solid CanvasText; }
  .ask-submit, .chip, .lang-toggle, .theme-toggle, .menu-toggle { border: 1px solid ButtonText; }
  .hero-leaf { display: none; }
}

/* Framed panels, after america.gov: rounded, inset from the viewport edges. */
.notice { background: transparent; border-bottom: 0; }
.site-header {
  position: relative; margin: 0 var(--gutter);
  border-radius: var(--panel-radius) var(--panel-radius) 0 0;
  background: var(--panel); border-bottom: 0;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.header-inner { min-height: 84px; }
.hero {
  margin: 0 var(--gutter);
  border-radius: 0 0 var(--panel-radius) var(--panel-radius);
  background:
    linear-gradient(180deg, var(--panel) 0%, color-mix(in srgb, var(--panel) 72%, transparent) 22%, color-mix(in srgb, var(--panel) 90%, transparent) 50%, var(--panel) 82%),
    url("/assets/hero-bg.jpg") center 30% / cover no-repeat,
    var(--panel);
}
.site-header { background: var(--panel); }
.life, .popular, .shift, .conversation {
  margin: 0 var(--gutter); border-radius: var(--panel-radius); border: 0;
  background: var(--panel);
}
.conversation { margin-top: var(--gutter); }
.site-footer { margin: var(--gutter) var(--gutter) var(--gutter); border-radius: var(--panel-radius); overflow: hidden; }
.chip { background: var(--surface); }
.pillar { background: var(--panel); border: 0; }
.mock { background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--red) 14%, transparent), transparent 55%), var(--panel); border: 0; }

/* Photo stage: the ask box sits on a rotating photo, after america.gov. */
.hero h1 { margin-bottom: .2em; }
.hero .lede { margin-bottom: 36px; }
.stage {
  position: relative; width: min(700px, 100%); margin: 0 auto;
  border-radius: clamp(32px, 4vw, 56px); overflow: hidden;
  aspect-ratio: 3 / 2; background: #1d2b3a;
  box-shadow: 0 30px 60px -20px rgba(17, 20, 24, .35);
  text-align: left;
}
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity .8s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .22) 0%, transparent 30%);
}
.stage-ask { position: absolute; z-index: 2; top: 16px; left: 16px; right: 16px; }
.stage-ask .ask { max-width: none; }
.stage-ask .ask-box {
  align-items: center; border-radius: 999px; border-color: transparent;
  padding: 8px 8px 8px 28px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}
.stage-ask .ask-box textarea { min-height: 64px; padding: 20px 0; font-size: 1.15rem; }
.ask-round { width: 56px; min-height: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; flex: none; }
.ask-round svg { width: 22px; height: 22px; }
.stage :focus-visible { --focus: #ffd24a; --focus-halo: #111418; }
.stage-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 28px 0 8px; }
.ctrl {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; padding: 0;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  box-shadow: 0 6px 16px rgba(17, 20, 24, .1);
  transition: transform .15s ease, box-shadow .15s ease;
}
.ctrl:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(17, 20, 24, .14); }
.ctrl svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pause .i-play { display: none; fill: currentColor; stroke: none; }
.pause[aria-pressed="true"] .i-pause { display: none; }
.pause[aria-pressed="true"] .i-play { display: block; }
.hero .ask-help { text-align: center; margin: 8px auto 0; }
.hero .trust {
  margin-top: 22px; max-width: 760px; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); font-weight: 500; color: var(--ink);
  padding: 14px 22px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1px solid var(--line);
  align-items: center;
}
.hero .trust svg { width: 24px; height: 24px; margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } .ctrl:hover { transform: none; } }
@media (max-width: 700px) {
  .stage { aspect-ratio: 4 / 5; }
  .stage-ask { top: 12px; left: 12px; right: 12px; }
  .stage-ask .ask-box { flex-direction: row; align-items: center; border-radius: 32px; padding: 8px 8px 8px 20px; }
  .stage-ask .ask-box textarea { min-height: 84px; padding: 8px 0; font-size: 1.05rem; }
  .stage-ask .ask-submit { justify-content: center; }
  .hero .trust { border-radius: 20px; text-align: left; }
}
@media (forced-colors: active) { .stage::before { display: none; } .ctrl { border: 1px solid ButtonText; } }

@media print {
  .notice, .flag-strip, .site-header, .hero-leaf, .depts, .ask, .examples, .scenes { display: none; }
}
