:root {
  color-scheme: dark;
  --ink: #0b0d0e;
  --ink-2: #111517;
  --panel: #171b1d;
  --line: #343a3c;
  --line-strong: #5a6264;
  --text: #e8e6e2;
  --muted: #a6aaa8;
  --olive: #8b9075;
  --rust: #d8633d;
  --rust-dark: #73321f;
  --content: 1180px;
  --readable: 42rem;
  --rail: 216px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; overflow-x: hidden; background: var(--ink); color: var(--text); font-family: "Yu Gothic UI", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif; line-height: 1.7; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
strong { color: #fff; }

.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-160%); padding: 10px 14px; background: var(--text); color: var(--ink); }
.skip-link:focus { transform: none; }
.shell { width: min(calc(100% - 64px), var(--content)); margin-inline: auto; }
.readable { max-width: var(--readable); }
.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; }

.rail { position: fixed; inset: 0 auto 0 0; z-index: 30; width: var(--rail); padding: 32px 24px; border-right: 1px solid var(--line); background: rgba(11, 13, 14, .96); display: flex; flex-direction: column; }
.rail__brand img { width: 164px; height: auto; }
.rail__links { list-style: none; margin: 72px 0 0; padding: 0; display: grid; gap: 4px; counter-reset: rail; }
.rail__links li { counter-increment: rail; }
.rail__links a { display: block; padding: 9px 0; color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; font-size: .82rem; letter-spacing: .04em; }
.rail__links a::before { content: "0" counter(rail) " "; margin-right: 8px; color: var(--line-strong); font-family: ui-monospace, monospace; }
.rail__links a:hover, .rail__links a[aria-current="true"] { color: var(--text); border-color: var(--rust); }
.rail__edition { margin: auto 0 0; color: var(--olive); font-size: .72rem; letter-spacing: .12em; }

main, .footer { margin-left: var(--rail); }
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__media, .hero__veil { position: absolute; inset: 0; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__veil { background: linear-gradient(90deg, rgba(7, 9, 10, .96) 0%, rgba(7, 9, 10, .72) 34%, rgba(7, 9, 10, .12) 70%), linear-gradient(0deg, rgba(7, 9, 10, .62) 0%, transparent 35%); }
.hero__content { position: relative; z-index: 2; padding-block: 72px; }
.hero__logo { width: min(520px, 48vw); height: auto; margin-bottom: 24px; }
.hero__logo--mobile { display: none; }
.eyebrow, .section-index { margin: 0 0 12px; color: var(--olive); font-family: ui-monospace, "Cascadia Mono", monospace; font-size: .72rem; letter-spacing: .15em; }
.hero h1 { margin: 0; font-size: clamp(2.4rem, 4.5vw, 5.2rem); line-height: 1.05; letter-spacing: -.045em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero__lead { margin: 18px 0 0; font-size: clamp(1rem, 1.5vw, 1.28rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid var(--line-strong); border-radius: 4px; background: rgba(11, 13, 14, .82); text-decoration: none; font-weight: 700; }
.button--primary { border-color: var(--rust); background: var(--rust-dark); }
.button:hover { border-color: var(--text); }

.section { padding-block: clamp(80px, 10vw, 152px); border-bottom: 1px solid var(--line); }
.section:nth-child(even) { background: var(--ink-2); }
.section h2 { margin: 0; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.14; letter-spacing: -.035em; }
.section-lead { max-width: 34em; margin: 18px 0 48px; color: var(--muted); }
.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.proof-card { border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }
.proof-card--wide { grid-column: 1 / -1; }
.media-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #050607; border-bottom: 1px solid var(--line); }
.media-frame video { width: 100%; height: 100%; object-fit: cover; }
.proof-card__body { position: relative; padding: 24px 26px 30px; }
.proof-card__number { position: absolute; top: 24px; right: 26px; color: var(--rust); font-family: ui-monospace, monospace; }
.proof-card h3 { margin: 0 0 8px; font-size: 1.45rem; }
.proof-card p { max-width: 34em; margin: 0; color: var(--muted); }
.timed-copy { position: absolute; inset: 0; pointer-events: none; }
.timed-copy span { display: none; position: absolute; top: 8%; left: 5%; max-width: 90%; padding: 7px 11px; border: 1px solid rgba(232, 230, 226, .55); border-radius: 4px; background: rgba(8, 10, 11, .82); color: #f3f0ea; font-size: clamp(.76rem, 1.7vw, 1.1rem); font-weight: 700; letter-spacing: .04em; }
.timed-copy span.is-active { display: block; }

.section--statement { background: #101313; }
.statement { margin: 0 0 52px; color: #f1eee8; font-size: clamp(2.2rem, 5vw, 5.4rem); font-weight: 700; line-height: 1.14; letter-spacing: -.04em; }
.feature-list { margin-top: 46px; border-top: 1px solid var(--line); }
.feature-list article { display: grid; grid-template-columns: 52px minmax(220px, .8fr) minmax(260px, 1.2fr); gap: 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.feature-list span { color: var(--rust); font-family: ui-monospace, monospace; }
.feature-list h3, .feature-list p { margin: 0; }
.feature-list h3 { font-size: 1.25rem; }
.feature-list p { color: var(--muted); }

.sequence { list-style: none; margin: 42px 0 0; padding: 0; border-top: 1px solid var(--line); }
.sequence li { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.sequence span { color: var(--rust); font-family: ui-monospace, monospace; }
.sequence h3, .sequence p { margin: 0; }
.sequence p { color: var(--muted); }

.growth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 42px; background: var(--line); border: 1px solid var(--line); }
.growth-grid article { min-height: 240px; padding: 30px; background: var(--panel); }
.growth-grid span { color: var(--olive); font-family: ui-monospace, monospace; font-size: .72rem; letter-spacing: .14em; }
.growth-grid h3 { margin: 42px 0 8px; font-size: 1.4rem; }
.growth-grid p { margin: 0; color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 42px 0 0; border: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 9em 1fr; gap: 18px; padding: 19px 22px; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts div:nth-last-child(-n+2) { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; }
.facts__note { max-width: 34em; margin: 20px 0 0; color: var(--muted); font-size: .86rem; }

.faq { margin-top: 38px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 0; cursor: pointer; font-weight: 700; }
.faq details p { margin: -6px 0 22px; color: var(--muted); }

.footer { padding-block: 48px 100px; background: #07090a; }
.footer__inner { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; }
.footer img { width: 64px; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; }
.footer p { margin: 0; color: var(--muted); font-size: .8rem; }
.footer .footer__name { color: var(--text); font-size: 1rem; font-weight: 700; }
.mobile-nav { display: none; }
.language-hold { min-height: 100svh; margin-left: 0; display: grid; align-items: center; }
.language-hold h1 { margin: 0; font-size: clamp(2.2rem, 6vw, 5rem); line-height: 1.1; }
.language-hold p:not(.section-index) { margin: 24px 0; color: var(--muted); }
.site-notice { margin-left: 0; padding-block: clamp(48px, 8vw, 96px); }
.site-notice h1 { font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.45; }
.site-notice h2 { margin-top: 40px; font-size: 1.2rem; }
.site-notice p, .site-notice li { color: var(--muted); }
.site-notice li { margin-block: 10px; overflow-wrap: anywhere; }

@media (max-width: 1050px) {
  .rail { display: none; }
  main, .footer { margin-left: 0; }
  .mobile-nav { position: fixed; z-index: 40; inset: auto 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); background: rgba(11, 13, 14, .97); }
  .mobile-nav a { padding: 11px 4px; color: var(--muted); text-align: center; text-decoration: none; font-size: .72rem; }
  .mobile-nav a[aria-current="true"] { color: var(--text); box-shadow: inset 0 2px 0 var(--rust); }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 12px; }
  .shell { width: min(calc(100% - 32px), var(--content)); }
  .hero { min-height: auto; display: block; }
  .hero__media, .hero__veil { position: relative; inset: auto; }
  .hero__media { aspect-ratio: 16 / 10; }
  .hero__veil { display: none; }
  .hero__content { padding-block: 26px 58px; }
  .hero__logo--desktop { display: none; }
  .hero__logo--mobile { display: block; width: min(78vw, 360px); margin-bottom: 22px; }
  .hero h1 { font-size: clamp(2.35rem, 12vw, 4.2rem); }
  .hero__lead { margin-top: 14px; }
  .hero__actions { margin-top: 24px; }
  .button { flex: 1 1 140px; }
  .section { padding-block: 76px; }
  .section-lead { margin-bottom: 30px; }
  .proof-grid, .growth-grid, .facts { grid-template-columns: 1fr; }
  .proof-card--wide { grid-column: auto; }
  .proof-card__body, .growth-grid article { padding: 22px; }
  .media-frame--story { aspect-ratio: 16 / 10; }
  .feature-list article { grid-template-columns: 42px 1fr; gap: 10px 12px; }
  .feature-list article p { grid-column: 2; }
  .growth-grid article { min-height: 210px; }
  .growth-grid h3 { margin-top: 28px; }
  .facts div { grid-template-columns: 7.2em 1fr; border-right: 0 !important; }
  .facts div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .footer { padding-bottom: 92px; }
  .footer__inner { grid-template-columns: 54px 1fr; }
  .footer img { width: 54px; }
  .footer__meta { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
