@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-var.woff2") format("woff2");
}

@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 107.4%;
  ascent-override: 90.2%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Material Symbols Rounded";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/fonts/material-symbols-subset.woff2") format("woff2");
}
.m {
  font-family: "Material Symbols Rounded", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0;
}

:root {
  --font-text: Inter, "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --font-display: Inter, "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1200px;
  --gutter: 24px;
  --header-h: 72px;
  --section-y: 88px;
  --radius-s: 12px;
  --radius-m: 16px;
  --radius-l: 20px;

  --bg: #f7f3ee;
  --bg-alt: #ffffff;
  --bg-faq: #fffaf2;
  --surface: #ffffff;
  --surface-warm: #fffaf2;
  --surface-inset: #f7f3ee;
  --ticket-from: #ffffff;
  --ticket-to: #fff8f0;
  --header-bg: rgba(247, 243, 238, 0.86);
  --cta-bar-bg: rgba(255, 250, 242, 0.94);

  --text: #1a1410;
  --text-soft: #5c534a;
  --muted: #6b6258;
  --link: #9a3412;
  --label: #c2410c;
  --number: #c2410c;

  --line: rgba(26, 20, 16, 0.08);
  --line-strong: rgba(26, 20, 16, 0.14);
  --hover: rgba(26, 20, 16, 0.05);
  --shadow-card: 0 16px 40px rgba(26, 20, 16, 0.06);
  --shadow-soft: 0 10px 28px -18px rgba(60, 30, 0, 0.35);

  --accent: #ff9800;
  --accent-hi: #ffb347;
  --accent-deep: #e65100;
  --on-accent: #2a1700;
  --chip: #ffdcb5;
  --on-chip: #2a1700;
  --focus: #9a3412;
  --tab-on-bg: #1a1410;
  --tab-on-ink: #ffffff;
  --glow-a: rgba(255, 152, 0, 0.12);
  --glow-b: rgba(255, 220, 181, 0.35);
  --toggle-moon: #1a1410;

  color-scheme: light dark;
}
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }

html[data-theme="dark"] {
  --bg: #12100e;
  --bg-alt: #161310;
  --bg-faq: #161310;
  --surface: #1c1814;
  --surface-warm: #1c1814;
  --surface-inset: #1c1814;
  --ticket-from: #1c1814;
  --ticket-to: #1c1814;
  --header-bg: rgba(18, 16, 14, 0.92);
  --cta-bar-bg: rgba(28, 24, 20, 0.94);
  --text: #f5f0e8;
  --text-soft: #d3cabe;
  --muted: #b8aea2;
  --link: #ffb068;
  --label: #ffb068;
  --number: #ffb068;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --hover: rgba(255, 255, 255, 0.07);
  --shadow-card: none;
  --shadow-soft: none;
  --chip: #3a2a18;
  --on-chip: #ffdcb5;
  --focus: #ffb068;
  --tab-on-bg: #ff9800;
  --tab-on-ink: #2a1700;
  --glow-a: rgba(255, 152, 0, 0.1);
  --glow-b: rgba(255, 152, 0, 0);
  --toggle-moon: #f5f0e8;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --bg: #12100e;
    --bg-alt: #161310;
    --bg-faq: #161310;
    --surface: #1c1814;
    --surface-warm: #1c1814;
    --surface-inset: #1c1814;
    --ticket-from: #1c1814;
    --ticket-to: #1c1814;
    --header-bg: rgba(18, 16, 14, 0.92);
    --cta-bar-bg: rgba(28, 24, 20, 0.94);
    --text: #f5f0e8;
    --text-soft: #d3cabe;
    --muted: #b8aea2;
    --link: #ffb068;
    --label: #ffb068;
    --number: #ffb068;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.16);
    --hover: rgba(255, 255, 255, 0.07);
    --shadow-card: none;
    --shadow-soft: none;
    --chip: #3a2a18;
    --on-chip: #ffdcb5;
    --focus: #ffb068;
    --tab-on-bg: #ff9800;
    --tab-on-ink: #2a1700;
    --glow-a: rgba(255, 152, 0, 0.1);
    --glow-b: rgba(255, 152, 0, 0);
    --toggle-moon: #f5f0e8;
  }
}
@media (max-width: 700px) {
  :root { --gutter: 16px; --section-y: 56px; }
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-text);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { padding: 0; }
.wrap { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.sr-only {
  position: absolute; 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: -64px; z-index: 60;
  background: var(--accent); color: var(--on-accent);
  font-weight: 700; padding: 10px 16px; border-radius: var(--radius-s);
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.index-label {
  display: inline-block; margin-bottom: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--label);
}
.section-lead { margin-top: 12px; color: var(--muted); max-width: 52ch; font-size: 17px; line-height: 1.5; }
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 6px;
}

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--header-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  min-height: var(--header-h);
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; letter-spacing: -0.03em; color: var(--text);
}
.brand-mark {

  display: block; flex: none;
  width: 36px; height: 36px; border-radius: 20%;
  box-shadow: 0 4px 12px rgba(242, 96, 12, 0.30);
}
.primary-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.primary-nav a {
  padding: 10px 14px; font-weight: 600; font-size: 14px;
  color: var(--text-soft); border-radius: 10px;
}
.primary-nav a[aria-current] { color: var(--text); font-weight: 700; box-shadow: inset 0 -2px 0 var(--accent); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; padding: 0; position: relative;
  border: 1px solid var(--line-strong); background: var(--surface); border-radius: var(--radius-s);
}
.theme-sun, .theme-moon { position: absolute; inset: 13px; border-radius: 50%; forced-color-adjust: none; }
.theme-sun { background: var(--accent); }
.theme-moon { box-shadow: inset -7px -3px 0 1px var(--toggle-moon); opacity: 0; }
html[data-theme="dark"] .theme-sun { opacity: 0; }
html[data-theme="dark"] .theme-moon { opacity: 1; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .theme-sun { opacity: 0; }
  html:not([data-theme]) .theme-moon { opacity: 1; }
}
.burger { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger i {
  width: 18px; height: 2px; background: var(--text); display: block; border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (hover: hover) {
  .primary-nav a:hover { background: var(--hover); color: var(--text); }
  .icon-btn:hover { border-color: var(--accent); }
}

@media (max-width: 860px) {
  .primary-nav { order: 3; flex-basis: 100%; flex-wrap: wrap; margin-left: 0; padding-bottom: 10px; }
  .header-tools { margin-left: auto; }
  html.nav-ready .burger { display: flex; }
  html.nav-ready .primary-nav {
    display: none; flex-direction: column; align-items: stretch; flex-wrap: nowrap;
    border-top: 1px solid var(--line); padding: 8px 0 12px;
  }
  html.nav-ready .primary-nav.is-open { display: flex; }
  html.nav-ready .primary-nav a { padding: 14px 12px; font-size: 16px; }
  html.nav-ready .primary-nav a[aria-current] { box-shadow: inset 3px 0 0 var(--accent); }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 14px;
  background: linear-gradient(145deg, var(--accent-hi), var(--accent));
  color: var(--on-accent); font-size: 16px; font-weight: 700; text-align: center;
  box-shadow: 0 8px 24px rgba(255, 152, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
@media (hover: hover) {
  .btn[href]:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(255, 152, 0, 0.45); }
}
.btn[href]:active { transform: translateY(0); box-shadow: 0 4px 14px rgba(255, 152, 0, 0.35); }
.btn:not([href]) { cursor: default; user-select: none; -webkit-user-select: none; }
.text-link { font-weight: 700; font-size: 15px; color: var(--link); }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 28px; }

.hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--glow-a), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, var(--glow-b), transparent 50%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(48px, 6.5vw, 72px); letter-spacing: -0.045em; line-height: 0.98;
}
.tagline { margin-top: 18px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.02em; }
.support { margin-top: 14px; max-width: 38ch; color: var(--muted); font-size: 16px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; margin: 18px 0 0; padding: 0;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.hero-facts li + li::before { content: "·"; margin-right: 10px; color: var(--line-strong); }
.hero-stage { display: flex; justify-content: center; align-items: center; padding-top: 8px; }

.value-strip { padding: 72px 0 40px; background: var(--bg); }
.value-grid {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.value-card {
  background: var(--surface-warm); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 22px 20px 24px; box-shadow: var(--shadow-soft);
}
.value-icon {
  width: 44px; height: 44px; border-radius: 14px; background: var(--chip); color: var(--on-chip);
  display: grid; place-items: center; margin-bottom: 14px;
}
.value-icon .m { font-variation-settings: "FILL" 1; }
.value-card h3 { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.value-card p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--muted); }

.scenes { padding: var(--section-y) 0 calc(var(--section-y) - 16px); background: var(--bg-alt); }
.scene-grid {
  margin-top: 40px; display: grid; justify-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px;
}
.scene-card { width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.scene-card h3 { margin-top: 22px; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.scene-card p { margin-top: 8px; max-width: 28ch; color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (min-width: 1200px) { .scene-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 32px; } }
@media (max-width: 700px) { .scene-grid { grid-template-columns: 1fr; gap: 48px; } }

.product { position: relative; padding: var(--section-y) 0; background: var(--bg); }
.hash-anchor { position: absolute; top: 0; width: 1px; height: 1px; overflow: hidden; }
.tabbar {
  display: none; margin-top: 28px; gap: 6px; padding: 6px; width: fit-content; max-width: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); flex-wrap: wrap;
}
html.tabs-ready .tabbar { display: flex; }
.tabbar [role="tab"] {
  min-height: 44px; padding: 10px 18px; border: 0; background: transparent;
  color: var(--muted); font-weight: 700; font-size: 14px; border-radius: var(--radius-s);
}
.tabbar [role="tab"][aria-selected="true"] { background: var(--tab-on-bg); color: var(--tab-on-ink); }
@media (hover: hover) {
  .tabbar [role="tab"][aria-selected="false"]:hover { background: var(--hover); color: var(--text); }
}
.panels { display: grid; gap: 40px; margin-top: 28px; }
.panel-title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
html.tabs-ready .panel-title { display: none; }

html.tabs-ready .panels { gap: 0; }
html.tabs-ready .panel { grid-area: 1 / 1; }
html.tabs-ready .panel[hidden] { display: block; visibility: hidden; opacity: 0; pointer-events: none; }
html.tabs-ready .panel:not([hidden]) { animation: panelIn 0.38s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.download-ticket {
  display: grid; grid-template-columns: 1.4fr 0.8fr; border-radius: var(--radius-l); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.ticket-main, .ticket-side { padding: 36px; }
.ticket-main {
  background: linear-gradient(160deg, var(--ticket-from) 0%, var(--ticket-to) 100%);
  border-right: 1px solid var(--line);
}
.ticket-main h3, .ticket-side h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.ticket-main .btn { margin-top: 20px; }
.ticket-side p, .note { margin-top: 10px; color: var(--muted); font-size: 15px; }
.safety-line { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.safety-line a, .faq-item a { color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.req-strip { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.req-strip li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 20px; }
.req-strip strong { display: block; font-size: 15px; }
.req-strip span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-row {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px;
}
.feature-no { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--number); line-height: 1; min-width: 30px; font-variant-numeric: tabular-nums; }
.feature-row h3 { font-size: 16px; font-weight: 800; }
.feature-row p { margin-top: 6px; color: var(--muted); font-size: 14px; }

.release-sheet { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px; }
.release-kicker { color: var(--label); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.release-sheet h3 { margin-top: 8px; font-size: 22px; }
.release-sheet > p { margin-top: 8px; color: var(--muted); }
.timeline { list-style: none; margin: 20px 0 0; padding: 0 0 0 18px; border-left: 2px solid var(--accent); }
.timeline li { margin: 0 0 12px; padding-left: 14px; color: var(--text-soft); font-size: 15px; }
.timeline li:last-child { margin-bottom: 0; }

.faq { padding: var(--section-y) 0; background: var(--bg-faq); }
.faq-list { margin-top: 32px; max-width: 720px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface-inset); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 16px 48px 16px 18px; font-weight: 700; font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 20px; font-weight: 600; color: var(--link);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:focus-visible { outline-offset: -3px; }
.faq-item p { padding: 0 18px 16px; font-size: 14px; line-height: 1.55; color: var(--muted); }

.band { padding: var(--section-y) 0; background: var(--bg-alt); }
.steps { margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; }
.steps li { padding: 28px; background: var(--surface-inset); border-radius: var(--radius-l); border: 1px solid var(--line); }
.steps b {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-s);
  background: linear-gradient(145deg, var(--accent-hi), var(--accent)); color: var(--on-accent); font-weight: 800;
}
.steps strong { display: block; margin-top: 16px; font-size: 17px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 14px; }

.close-cta {
  background: linear-gradient(145deg, #ffb347 0%, #ff9800 50%, #e65100 100%);
  color: #2a1700; padding: calc(var(--section-y) + 8px) 0; text-align: center;
}
.close-cta .wrap { max-width: 640px; }
.close-cta h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em;
}
.close-cta p { margin: 14px auto 0; font-size: 17px; max-width: 36ch; color: #2a1700; }
.close-cta .cta-row { justify-content: center; }
.close-cta .btn { background: #1a1410; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); }
.close-cta :focus-visible { outline-color: #2a1700; }

@media (max-width: 1100px) and (min-width: 701px) {
  .hero-stage { min-height: 0; }
  .scene-grid { gap: 48px 32px; }
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .support { margin-inline: auto; }
  .hero .cta-row, .hero-facts { justify-content: center; }
  .cta-row { margin-top: 24px; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid, .download-ticket, .req-strip, .steps { grid-template-columns: 1fr; }
  .ticket-main { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .hero { padding: 36px 0 28px; }
  .hero-grid { gap: 28px; }
  .value-strip { padding: 48px 0 24px; }
  .value-grid { grid-template-columns: 1fr; }
  .ticket-main, .ticket-side { padding: 28px 22px; }
  .close-cta { padding: 72px 0; }
  .scenes { padding-bottom: var(--section-y); }
}

.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer p, .copy { color: var(--muted); }
.site-footer p { margin-top: 8px; font-size: 14px; }
.footer-nav, .mails { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-nav a, .mails a { color: var(--link); font-weight: 600; font-size: 14px; padding-block: 2px; }
.footer-nav a:hover, .mails a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.copy { font-size: 13px; margin: 0 !important; }
.to-top { font-size: 13px; font-weight: 600; color: var(--link); }
.to-top:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr; } }

.legal-page { padding: 48px 0 80px; }
.legal-page > h1, .not-found h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(36px, 5vw, 48px); letter-spacing: -0.03em; line-height: 1.1;
}
.dates { margin-top: 10px; color: var(--muted); font-size: 15px; }
.intro-box {
  margin-top: 20px; max-width: 68ch; padding: 18px 20px;
  background: var(--surface); border-radius: 14px; border: 1px solid var(--line); color: var(--text-soft);
}
.toc {
  margin-top: 24px; max-width: 68ch; padding: 18px 20px 20px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface-warm);
}
.toc p { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label); font-weight: 700; }
.toc ol { margin: 10px 0 0; padding-left: 0; list-style: none; columns: 2; column-gap: 32px; }
.toc li { break-inside: avoid; padding: 2px 0; }
.toc a { font-weight: 600; color: var(--link); }
.toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal-body { max-width: 68ch; color: var(--text-soft); font-size: 16px; line-height: 1.65; }
.legal-body h2 {
  margin-top: 2.25rem; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.015em; color: var(--text);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.legal-body p, .legal-body li { margin-top: 0.75rem; }
.legal-body ul, .legal-body ol { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.legal-body a { color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { text-decoration-thickness: 2px; }
@media (max-width: 700px) { .toc ol { columns: 1; } .legal-page { padding: 32px 0 64px; } }

.not-found { max-width: 56ch; text-align: center; }
.not-found .cta-row { justify-content: center; }
.not-found .code {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(80px, 18vw, 140px);
  line-height: 1; letter-spacing: -0.05em; color: var(--accent); margin-bottom: 8px;
}
.not-found p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.not-found .cta-row { margin-top: 28px; }

.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta {
    display: flex; align-items: center; gap: 10px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 45;
    padding: 10px 10px 10px 12px;
    background: var(--cta-bar-bg); border: 1px solid var(--line-strong); border-radius: var(--radius-m);
    box-shadow: 0 12px 32px rgba(40, 20, 0, 0.2);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .mobile-cta[hidden] { display: none; }
  .mobile-cta .btn { flex: 1; min-height: 48px; font-size: 15px; box-shadow: 0 6px 16px rgba(255, 152, 0, 0.35); }
  .mobile-cta-dismiss {
    width: 44px; height: 44px; border: 0; border-radius: var(--radius-s);
    background: transparent; color: var(--muted); font-size: 22px; line-height: 1; flex: none;
  }
  .mobile-cta-dismiss:hover { background: var(--hover); color: var(--text); }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

html.js .reveal, html.js .hero-in {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
html.js .hero-in { transform: translateY(14px); transition-duration: 0.7s; transition-delay: calc(var(--i, 0) * 60ms); }
html.js .reveal.is-in, html.js.hero-ready .hero-in, html.failsafe .reveal, html.failsafe .hero-in { opacity: 1; transform: none; }
.value-grid > :nth-child(2), .scene-grid > :nth-child(2), .faq-list > :nth-child(2), .hero-copy > :nth-child(2) { --i: 1; }
.value-grid > :nth-child(3), .scene-grid > :nth-child(3), .faq-list > :nth-child(3), .hero-copy > :nth-child(3) { --i: 2; }
.value-grid > :nth-child(4), .scene-grid > :nth-child(4), .faq-list > :nth-child(4), .hero-copy > :nth-child(4) { --i: 3; }
.faq-list > :nth-child(5), .hero-copy > :nth-child(5) { --i: 4; }
.hero-copy > :nth-child(6) { --i: 5; }
.faq-list > :nth-child(n+6) { --i: 5; }
.hero-stage.hero-in { --i: 3; }
@media (max-width: 1000px) { .scene-grid > .reveal { --i: 0 !important; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal, html.js .hero-in { opacity: 1; transform: none; transition: none; }
  html.tabs-ready .panel:not([hidden]) { animation: none; }
  .btn, .burger i, .mobile-cta { transition: none; }
}
@media (forced-colors: active) {
  .btn, .icon-btn, .tabbar [role="tab"][aria-selected="true"] { border: 1px solid ButtonText; }
  .primary-nav a[aria-current] { text-decoration: underline; box-shadow: none; }
}
@media print {
  .site-header, .mobile-cta, .skip-link, .to-top, .cta-row, .footer-nav, .hero-stage, .scenes { display: none !important; }
  html.js .reveal, html.js .hero-in { opacity: 1 !important; transform: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .legal-page { padding: 0; }
  .legal-body, .legal-body h2, .intro-box, .dates { color: #000; }
  .legal-body a[href^="mailto:"]::after, .legal-body a[href^="http"]::after { content: " (" attr(href) ")"; font-weight: 400; word-break: break-all; }
  .site-footer { border: 0; padding: 16px 0 0; background: none; }
  .legal-body h2 { break-after: avoid; }
}

.legal-body h3 { margin-top: 1.5rem; font-size: 1.05rem; line-height: 1.35; color: var(--text); }
.legal-body strong { color: var(--text); font-weight: 650; }
.legal-body .intro-box { max-width: none; margin-top: 1.25rem; }
.legal-body .intro-box p, .legal-body .intro-box li { margin-top: 0.5rem; }
.legal-body .intro-box > :first-child { margin-top: 0; }
.legal-body .fine { font-size: 14px; color: var(--muted); }
