/* LitStage marketing site: shared styles for the home and Security pages (2026-10-30).
   Flat palette only: white, black, LitStage lime. Lime is a fill or a mark on black, never text on white. */
:root {
  --white: #FFFFFF;
  --black: #0A0A0A;
  --lime: #CFFF81;
  --ink-2: #525252;     /* secondary text on white, 7.8:1 */
  --mute-d: #A3A3A3;    /* secondary text on black, 8.2:1 */
  --line: #E5E5E5;
  --line-d: #262626;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', monospace;
  --maxw: 1240px;
  --pad: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--black); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.dark { background: var(--black); color: var(--white); }
.dark .sub { color: var(--mute-d); }
.sub { color: var(--ink-2); font-size: 19px; max-width: 640px; }
section { padding: clamp(72px, 10vw, 128px) 0; }
.head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 56px); }
.head h2 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 700; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; box-shadow: 0 0 0 6px var(--black); border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-lime { background: var(--lime); color: var(--black); }
.btn-lime:hover { background: var(--white); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: #262626; }
.btn-line-w { background: transparent; color: var(--white); border-color: var(--white); }
.btn-line-w:hover { background: var(--white); color: var(--black); }
.btn-line-b { background: transparent; color: var(--black); border-color: var(--black); }
.btn-line-b:hover { background: var(--black); color: var(--white); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; background: var(--black); color: var(--white); border-bottom: 1px solid var(--line-d); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; }
.brand svg { width: 26px; height: 28px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--mute-d); }
.nav-links a:hover { color: var(--white); }
.nav .btn { min-height: 40px; font-size: 15px; padding: 0 18px; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* Hero: full-bleed trailer loop */
.hero { position: relative; min-height: 100svh; padding: 0; display: flex; align-items: flex-end; background: var(--black); color: var(--white); overflow: hidden; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: rgba(10,10,10,.52); }
.hero-in { position: relative; width: 100%; padding-top: 140px; padding-bottom: clamp(56px, 9vh, 104px); }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--lime); color: var(--black); font-weight: 600; font-size: 14px; padding: 7px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(48px, 9vw, 128px); font-weight: 800; letter-spacing: -0.045em; margin: 22px 0 22px; max-width: 11ch; }
.hero h1 span { color: var(--lime); }
.hero p { font-size: clamp(18px, 2vw, 22px); max-width: 620px; color: #E5E5E5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-ctrl { position: absolute; right: var(--pad); bottom: 28px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; background: var(--black); color: var(--white); border: 1px solid #525252; border-radius: 999px; font: 500 13px var(--sans); cursor: pointer; }
.hero-ctrl:hover { border-color: var(--white); }
.hd { font-family: var(--mono); font-size: 11px; border: 1px solid currentColor; border-radius: 4px; padding: 1px 4px; }
@media (max-width: 640px) { .hero-ctrl { bottom: 12px; } .hero-in { padding-bottom: 80px; } }

/* 3D models */
.models-grid { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.tabs { display: grid; gap: 10px; }
.tab { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; text-align: left; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); font: 600 17px var(--sans); color: var(--black); cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.tab:hover { border-color: #BDBDBD; }
.tab small { display: block; font-weight: 400; font-size: 14px; color: var(--ink-2); }
.tab .dot { width: 44px; height: 44px; border-radius: 12px; background: #F2F2F2; display: grid; place-items: center; color: var(--black); font: 600 13px var(--mono); transition: background-color .2s ease; }
.tab[aria-selected="true"] { border-color: var(--black); background: #F8FFEE; }
.tab[aria-selected="true"] .dot { background: var(--lime); }
@media (prefers-reduced-motion: reduce) { .tab, .tab .dot { transition: none; } }
.stage { position: relative; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; background: var(--black); }
.stage iframe { width: 100%; height: 100%; border: 0; display: block; }
.stage-tag { position: absolute; left: 16px; bottom: 16px; background: var(--white); color: var(--black); font: 500 13px var(--sans); padding: 6px 12px; border-radius: 999px; pointer-events: none; }
.model-open { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.model-open:hover { text-decoration-thickness: 2px; }
.device-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill { font-size: 14px; font-weight: 500; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--black); }
@media (max-width: 860px) { .models-grid { grid-template-columns: 1fr; } .tabs { grid-template-columns: repeat(3, 1fr); } .tab { grid-template-columns: 1fr; text-align: center; justify-items: center; } .tab small { display: none; } .stage { aspect-ratio: 4 / 5; } }

/* How it works */
.steps { display: grid; gap: 28px; }
.step { background: #141414; border: 1px solid var(--line-d); border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: 2.4fr 1fr; align-items: center; }
.step:nth-child(even) { grid-template-columns: 1fr 2.4fr; }
.step:nth-child(even) img { order: 2; }
.step img { width: 100%; background: var(--white); }
.step-body { padding: 32px; display: grid; gap: 10px; }
.step-num { font: 500 13px var(--mono); color: var(--black); background: var(--lime); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.step h3 { font-size: 28px; font-weight: 700; }
.step p { color: var(--mute-d); font-size: 16px; }
.formats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
.fmt { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--white); }
.fmt img { width: 100%; height: 100%; object-fit: cover; }
.fmt span { position: absolute; left: 12px; bottom: 12px; background: var(--black); color: var(--white); font: 600 14px var(--sans); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 900px) { .step, .step:nth-child(even) { grid-template-columns: 1fr; } .step:nth-child(even) img { order: 0; } .formats { grid-template-columns: 1fr; } }

/* Story worlds mosaic */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; gap: 12px; }
.tile { position: relative; border-radius: 20px; overflow: hidden; background: var(--black); margin: 0; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } .tile:hover img { transform: none; } }
.tile figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tile figcaption b { background: var(--white); color: var(--black); font-size: 14px; padding: 5px 11px; border-radius: 999px; }
.tile figcaption i { font-style: normal; background: var(--black); color: var(--white); font-size: 13px; padding: 5px 11px; border-radius: 999px; }
.t-a { grid-column: span 4; grid-row: span 2; } .t-b { grid-column: span 2; grid-row: span 2; }
.t-c, .t-d, .t-e { grid-column: span 2; }
.note { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 860px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; } .t-a { grid-column: span 2; } .t-b, .t-c, .t-d, .t-e { grid-column: span 1; grid-row: span 1; } .t-d, .t-e { grid-column: span 2; } }
@media (max-width: 560px) { .mosaic { grid-template-columns: 1fr; grid-auto-rows: 210px; } .t-a, .t-b, .t-c, .t-d, .t-e { grid-column: span 1; grid-row: span 1; } }

/* Featured projects */
.project { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--line-d); }
.project:first-of-type { border-top: 0; padding-top: 0; }
.vid { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #141414; }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.proj-tag { display: inline-flex; gap: 8px; align-items: center; }
.proj-tag .num { background: var(--lime); color: var(--black); font: 500 12px var(--mono); padding: 4px 10px; border-radius: 999px; }
.project h3 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; margin: 16px 0 14px; }
.project p { color: var(--mute-d); }
.checks { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--white); font-size: 16px; }
.checks li::before { content: ""; width: 10px; height: 10px; margin: 8px 0 0 4px; border-radius: 50%; background: var(--lime); }
.proj-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { margin-top: 16px; font-size: 14px; color: var(--mute-d); }
@media (max-width: 900px) { .project { grid-template-columns: 1fr; } }

/* Voices */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote { margin: 0; padding: clamp(28px, 4vw, 44px); border: 2px solid var(--black); border-radius: 24px; display: grid; gap: 22px; align-content: space-between; }
.quote blockquote { margin: 0; font-size: clamp(20px, 2vw, 25px); line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); }
.quote figcaption b { color: var(--black); }
.av { width: 40px; height: 40px; border-radius: 50%; background: var(--black); color: var(--lime); display: grid; place-items: center; font: 600 14px var(--sans); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* Pilot band */
.pilot { background: var(--lime); color: var(--black); }
.pilot-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.pilot h2 { font-size: clamp(36px, 5.4vw, 68px); font-weight: 800; }
.pilot ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 8px; font-size: 18px; font-weight: 500; }
.pilot li::before { content: "→ "; }
@media (max-width: 860px) { .pilot-in { grid-template-columns: 1fr; } }

/* Founder */
.founder { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.founder blockquote { margin: 0; font-size: clamp(32px, 4.2vw, 54px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
.founder cite { display: block; margin-top: 20px; font-style: normal; color: var(--ink-2); font-size: 16px; }
.founder p { color: var(--ink-2); font-size: 18px; margin-bottom: 16px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.trust-strip a, .trust-strip span { font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.trust-strip a { background: var(--black); color: var(--white); border-color: var(--black); }
.trust-strip a:hover { background: #262626; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }

/* Footer (matches the current site footer, with Security as its own page) */
.footer { background: var(--black); color: var(--white); padding: 80px 0 40px; }
.f-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.f-tag { color: var(--mute-d); margin-top: 18px; max-width: 400px; font-size: 16px; }
.f-col h3 { margin: 0 0 18px; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute-d); }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.f-col a { text-decoration: none; color: #E5E5E5; }
.f-col a:hover, .f-col a[aria-current] { color: var(--lime); }
.f-new { margin-left: 8px; font: 600 11px var(--sans); background: var(--lime); color: var(--black); padding: 2px 7px; border-radius: 999px; vertical-align: 2px; }
.f-base { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line-d); display: grid; gap: 18px; color: var(--mute-d); font-size: 14px; }
.f-base .mono { font-family: var(--mono); }
@media (max-width: 860px) { .f-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: span 2; } }

/* Trailer dialog */
dialog { width: min(1120px, 94vw); padding: 0; border: 0; border-radius: 18px; background: var(--black); overflow: visible; }
dialog::backdrop { background: rgba(0,0,0,.86); }
.dlg-frame { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; }
.dlg-frame video { width: 100%; height: 100%; display: block; background: #000; }
.dlg-close { position: absolute; top: -56px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #525252; background: var(--black); color: var(--white); font-size: 24px; cursor: pointer; }


/* Partner logos: static row, flat white */
.partners { padding: 40px 0 44px; border-bottom: 1px solid var(--line); }
.partners-label { text-align: center; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.partners-live { text-align: center; margin-top: 8px; font-size: 15px; font-weight: 600; }
.logos { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(28px, 6vw, 88px); }
.logos img { width: auto; filter: grayscale(1); opacity: .62; }
.pl-lpc, .pl-canada { height: 60px; } .pl-folsom { height: 54px; } .pl-lamc { height: 36px; }
@media (max-width: 640px) { .logos { gap: 28px 36px; } .pl-lpc, .pl-canada { height: 48px; } .pl-folsom { height: 44px; } .pl-lamc { height: 28px; } }

/* Real platform screens, shown whole (no device frame, no crop) */
.shot { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 884; background: var(--white); }
.shot-s { aspect-ratio: 1600 / 842; }
.fmt { aspect-ratio: auto; border: 1px solid var(--line-d); }
.fmt img { height: auto; }
.fmt span { left: 14px; bottom: 14px; }

/* Course generation */
.gen { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.gen-kicker { font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: #2D5016; margin: 16px 0 18px; }
.gen h2 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 800; }
.gen h2 em { font-style: normal; display: block; }
.gen p { color: var(--ink-2); font-size: 18px; margin: 20px 0 18px; }
.specs summary { cursor: pointer; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 8px 0 4px; }
.spec-grid div { background: var(--white); padding: 12px 14px; }
.spec-grid dt { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.spec-grid dd { margin: 4px 0 0; font-weight: 600; font-size: 15px; }
.gen-cta { margin-top: 22px; }
.gen-vid { position: relative; border-radius: 22px; overflow: hidden; background: var(--black); border: 1px solid var(--line); }
.gen-vid video { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 964; }
.vctl { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; }
.vctl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #525252; background: var(--black); color: var(--white); font-size: 15px; cursor: pointer; }
@media (max-width: 900px) { .gen { grid-template-columns: 1fr; } }

/* YouTube: click-free fallback when the page is opened as a local file */
.yt-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-decoration: none; color: var(--white); }
.yt-fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt-fallback span { position: relative; background: var(--black); border: 1px solid #525252; padding: 12px 20px; border-radius: 999px; font-weight: 600; }

/* Team */
.team-sub { color: var(--ink-2); font-size: 18px; max-width: 640px; }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.person { border: 1px solid var(--line); border-radius: 24px; padding: 32px 24px; text-align: center; display: grid; justify-items: center; align-content: start; gap: 4px; }
.person img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.p-name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.p-role { color: var(--ink-2); font-size: 16px; }
.p-badge { margin-top: 12px; background: var(--lime); color: var(--black); font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.grat { margin-top: 22px; color: var(--ink-2); }
.grat b { color: var(--black); }
@media (max-width: 860px) { .people { grid-template-columns: 1fr; } }


/* Screen tour: one panel, tabs on the left, one real screen at a time */
.tour { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.tour-tabs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tour-group { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute-d); padding: 10px 4px 2px; }
.tour-group:first-child { padding-top: 0; }
.tour-tab { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line-d); border-radius: 14px; background: transparent; color: var(--white); font: 600 16px var(--sans); text-align: left; cursor: pointer; }
.tour-tab .tt-n { font: 500 12px var(--mono); color: var(--mute-d); }
.tour-tab[aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: var(--black); }
.tour-tab[aria-selected="true"] .tt-n { color: var(--black); }
.tour-tab:focus-visible, .tour-nav button:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.tour-panel { background: #141414; border: 1px solid var(--line-d); border-radius: 22px; overflow: hidden; }
.tour-shot { background: var(--white); aspect-ratio: 1600 / 884; display: grid; place-items: start center; }
.tour-shot img { width: 100%; height: 100%; object-fit: contain; object-position: top; }
.tour-cap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; }
.tour-cap p { color: var(--mute-d); font-size: 16px; margin: 0; }
.tour-nav { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.tour-count { font: 500 12px var(--mono); color: var(--mute-d); margin-right: 6px; }
.tour-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #525252; background: transparent; color: var(--white); font-size: 18px; cursor: pointer; }
@media (max-width: 900px) {
  .tour { grid-template-columns: 1fr; }
  .tour-tabs { grid-template-columns: repeat(2, 1fr); }
  .tour-group { grid-column: 1 / -1; }
  .tour-cap { flex-direction: column; align-items: flex-start; }
}

/* Nav: Log in link next to the pilot button */
.nav-act { display: flex; align-items: center; gap: 18px; }
.nav-login { color: var(--mute-d); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-login:hover { color: var(--white); }
.nav-links a[aria-current] { color: var(--white); }
@media (max-width: 480px) { .nav-login { display: none; } }

/* Skip link */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Founder story: signed, first person, folds below 900px */
.story { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); max-width: 760px; }
.story p { color: var(--ink-2); font-size: 18px; margin-top: 16px; }
.story p:first-of-type { margin-top: 14px; }
.story-sig { display: block; margin-top: 20px; font-weight: 600; color: var(--black); }
.story-more[hidden] { display: none; }
.fold-btn { margin-top: 18px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--black); background: transparent; color: var(--black); font: 600 15px var(--sans); cursor: pointer; }
.fold-btn:hover { background: var(--black); color: var(--white); }

/* Request access */
.access { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.access h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; }
.access h2 em { font-style: normal; display: block; }
.access .sub { margin-top: 18px; }
.access-card { border: 2px solid var(--black); border-radius: 24px; padding: clamp(28px, 4vw, 40px); display: grid; gap: 14px; }
.access-card h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; }
.access-card p { color: var(--ink-2); }
.access-card ul { list-style: none; padding: 0; margin: 4px 0 10px; display: grid; gap: 10px; }
.access-card li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.access-card li::before { content: ""; width: 10px; height: 10px; margin: 8px 0 0 4px; border-radius: 50%; background: var(--black); }
.access-card .btn { justify-self: start; }
@media (max-width: 900px) { .access { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-list { max-width: 900px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 64px; padding: 16px 0; font-size: 19px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font: 500 24px var(--sans); flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--ink-2); padding: 0 0 22px; max-width: 760px; }
.faq-item a { color: var(--black); font-weight: 600; }
.faq-more[hidden] { display: none; }

/* Newsletter (Kit) */
.news { background: var(--black); color: var(--white); }
.news-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.news h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; margin-top: 16px; }
.news h2 em { font-style: normal; display: block; color: var(--lime); }
.news-promise { color: var(--mute-d); font-size: 18px; margin-top: 18px; max-width: 560px; }
.news-form { display: grid; gap: 14px; }
.news-form label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.news-opt { font-weight: 400; text-transform: none; }
.news-form input { min-height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid #737373; background: #141414; color: var(--white); font: 400 17px var(--sans); }
.news-form input::placeholder { color: #8A8A8A; }
.news-form .btn { justify-self: start; }
.news-form .btn[disabled] { opacity: .7; cursor: wait; }
.news-consent { color: var(--mute-d); font-size: 14px; }
.news-consent a { color: var(--white); }
.news-err { color: #FFB4B4; font-size: 15px; }
.news-done { font-size: 18px; font-weight: 500; border: 1px solid var(--line-d); border-radius: 18px; padding: 24px; }
@media (max-width: 900px) { .news-in { grid-template-columns: 1fr; } }

/* Contact */
.contact { text-align: center; }
.contact h2 { font-size: clamp(36px, 5.4vw, 68px); font-weight: 800; }
.contact h2 em { font-style: normal; display: block; }
.contact p { color: var(--ink-2); font-size: 19px; max-width: 640px; margin: 20px auto 30px; }

/* Security page */
.s-hero { padding-top: 168px; }
.s-hero h1 { font-size: clamp(44px, 7vw, 96px); font-weight: 800; letter-spacing: -0.045em; max-width: 13ch; margin: 22px 0 26px; }
.s-hero p { color: var(--mute-d); font-size: clamp(18px, 2vw, 21px); max-width: 720px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { border: 2px solid var(--black); border-radius: 22px; padding: 28px; display: grid; gap: 12px; align-content: start; }
.card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.card p { color: var(--ink-2); font-size: 16px; }
.card .k { width: 36px; height: 36px; border-radius: 10px; background: var(--black); color: var(--lime); display: grid; place-items: center; font: 500 13px var(--mono); }
.dark .card { border-color: var(--line-d); background: #141414; }
.dark .card p { color: var(--mute-d); }
.dark .card .k { background: var(--lime); color: var(--black); }
.card a { color: #2D5016; font-weight: 600; }
.canvas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.small { font-size: 15px; color: var(--ink-2); max-width: 820px; margin-top: 14px; }
.req { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
@media (max-width: 900px) { .cards, .canvas-grid, .req { grid-template-columns: 1fr; } }

/* Mission line under the hero subhead (founder, 2026-11-01). */
.hero p.hero-mission { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.55; max-width: 640px; margin-top: 18px; padding-left: 14px; border-left: 2px solid var(--lime); color: #E5E5E5; }
.hero-mission span { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); margin-bottom: 4px; }

/* ===== Vision layer (2026-11-02): Home additions and the Mission page ===== */
:root { --olive: #2D5016; --lime-soft: #F4FFE3; --panel-d: #141414; --paper: #F7F7F5; }
.head h2 span { color: var(--olive); }
.dark .head h2 span, .dark h2 span.hl { color: var(--lime); }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.head-row .head { margin: 0; max-width: 860px; }
.link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cap { font-size: 13px; color: var(--ink-2); margin-top: 12px; }
.dark .cap { color: var(--mute-d); }
.tag { display: inline-block; font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; white-space: nowrap; }
.tag-now { background: var(--lime); color: var(--black); }
.tag-next { border: 1px solid currentColor; }
.btn-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sr-icons { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Why LitStage: three full-image cards */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.promo { position: relative; border-radius: 24px; overflow: hidden; background: var(--black); color: var(--white); min-height: 440px; display: flex; align-items: flex-end; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.promo:hover img { transform: scale(1.03); }
.promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0) 30%, rgba(10,10,10,.9) 78%); }
.promo .in { position: relative; z-index: 1; padding: 24px; display: grid; gap: 10px; }
.promo .k { font: 600 12px var(--mono); color: var(--lime); letter-spacing: .08em; text-transform: uppercase; }
.promo h3 { font-size: clamp(26px, 2.6vw, 32px); font-weight: 800; }
.promo p { color: #D4D4D4; font-size: 16px; }
.promo .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.promo .tag-next { color: var(--white); }
@media (max-width: 900px) { .promises { grid-template-columns: 1fr; } .promo { min-height: 340px; } }
@media (prefers-reduced-motion: reduce) { .promo img { transition: none; } .promo:hover img { transform: none; } }

/* Common Campus overlay on the Missions tour tab */
.tour-shot { position: relative; }
.campus-ov { position: absolute; inset: 0; pointer-events: none; font-family: var(--sans); }
.campus-ov[hidden] { display: none; }
.bub { position: absolute; background: var(--white); color: var(--black); border-radius: 14px; padding: .55em .8em .6em; box-shadow: 0 10px 28px -10px rgba(10,10,10,.55); font-size: clamp(9px, 1.05vw, 14px); line-height: 1.3; border: 2px solid var(--black); }
.bub small { display: block; font: 600 .78em var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--olive); }
.bub b { display: block; font-size: 1.12em; letter-spacing: -0.01em; margin-top: 1px; }
.bub span { display: block; color: var(--ink-2); margin-top: 2px; }
.bub i { font-style: normal; display: inline-block; margin-top: .4em; background: var(--lime); border-radius: 999px; padding: .15em .6em; font-weight: 600; font-size: .9em; }
.bub::after { content: ""; position: absolute; top: 1.1em; width: .9em; height: .9em; background: var(--white); border: 2px solid var(--black); transform: rotate(45deg); }
.bub.l::after { left: -.55em; border-top: 0; border-right: 0; }
.bub.r::after { right: -.55em; border-bottom: 0; border-left: 0; }
.bub.quill { left: 23.5%; top: 33%; max-width: 26%; }
.bub.moss { right: 20.5%; top: 19%; max-width: 26%; }
.you { position: absolute; left: 41%; top: 72%; display: flex; align-items: center; gap: .45em; background: var(--black); color: var(--white); border-radius: 999px; padding: .25em .8em .25em .25em; font: 600 clamp(9px, 1vw, 13px) var(--sans); border: 2px solid var(--lime); }
.you img { width: 2.1em; height: 2.1em; border-radius: 50%; object-fit: cover; }
.campus-card { position: absolute; right: 2%; bottom: 4%; background: rgba(10,10,10,.88); color: var(--white); border-radius: 14px; padding: .7em .9em; font-size: clamp(9px, 1vw, 13px); border: 1px solid #3a3a3a; }
.campus-card small { display: block; font: 600 .8em var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.campus-card b { display: block; font-size: 1.5em; letter-spacing: -0.02em; margin: 2px 0 4px; }
.campus-card span { color: #D4D4D4; }
@media (max-width: 640px) { .bub span, .bub i, .campus-card span, .you { display: none; } .bub.quill, .bub.moss { max-width: 44%; } .bub.quill { left: 20%; top: 36%; } .bub.moss { right: 18%; top: 14%; } }

/* Projects: what comes next */
.next { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; margin-top: 18px; }
.next > span { writing-mode: vertical-rl; transform: rotate(180deg); font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute-d); text-align: center; }
.mini { display: grid; grid-template-columns: 140px minmax(0, 1fr); border: 1px dashed #737373; border-radius: 18px; overflow: hidden; }
.mini img { width: 100%; height: 100%; object-fit: cover; }
.mini div { padding: 14px 16px; display: grid; gap: 6px; align-content: center; }
.mini h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.mini p { color: var(--mute-d); font-size: 14px; }
.mini .tag { justify-self: start; color: var(--lime); }
@media (max-width: 900px) { .next { grid-template-columns: 1fr; } .next > span { writing-mode: horizontal-tb; transform: none; text-align: left; } }
@media (max-width: 480px) { .mini { grid-template-columns: 100px minmax(0, 1fr); } }

/* Play should still teach */
.trust { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
.trust-shot { margin: 0; border-radius: 22px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 60px -30px rgba(10,10,10,.35); }
.trust-shot img { width: 100%; height: auto; aspect-ratio: 1600 / 842; object-fit: contain; }
.trust h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; margin: 12px 0 14px; }
.trust p.lead { color: var(--ink-2); font-size: 17px; }
.vlist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vlist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; font-size: 14px; }
.vlist li.r { border-style: dashed; border-color: #8A8A8A; color: var(--ink-2); }
.vlist svg, .legend svg { width: 20px; height: 20px; margin-top: 1px; flex: none; }
.legend { display: flex; gap: 14px; margin-top: 12px; font-size: 13px; color: var(--ink-2); align-items: center; flex-wrap: wrap; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .vlist { grid-template-columns: 1fr; } }

/* ===== Mission page ===== */
.m-hero { background: var(--black); color: var(--white); padding: calc(68px + clamp(48px, 6vw, 88px)) 0 clamp(56px, 7vw, 96px); }
.m-hero .eyebrow { color: var(--lime); }
.m-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.m-hero h1 { font-size: clamp(40px, 5vw, 70px); font-weight: 800; letter-spacing: -0.045em; margin: 16px 0 22px; }
.m-hero h1 span { color: var(--lime); display: block; }
.m-hero .vision { font-size: clamp(17px, 1.7vw, 20px); color: #D4D4D4; max-width: 34em; }
.m-mission { margin-top: 24px; padding-left: 14px; border-left: 2px solid var(--lime); max-width: 560px; }
.m-mission b { display: block; font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.m-mission p { font-size: 17px; font-weight: 500; color: var(--white); margin-top: 2px; }
.grid4 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid4 figure, .ba figure { position: relative; margin: 0; border-radius: 18px; overflow: hidden; }
.grid4 figure { aspect-ratio: 4 / 3; background: var(--panel-d); }
.grid4 img { width: 100%; height: 100%; object-fit: cover; }
.grid4 figcaption, .ba figcaption { position: absolute; left: 10px; bottom: 10px; background: var(--black); color: var(--white); font: 500 11px var(--mono); padding: 4px 9px; border-radius: 999px; }
@media (max-width: 900px) { .m-hero-grid { grid-template-columns: 1fr; } }

.origin { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.origin blockquote { margin: 0; font-size: clamp(22px, 2.5vw, 30px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.28; }
.origin blockquote::before { content: "\201C"; display: block; font-size: 64px; line-height: .6; color: var(--olive); margin-bottom: 8px; }
.who { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.who b { display: block; }
.who span { color: var(--ink-2); font-size: 15px; }
.origin .note { color: var(--ink-2); font-size: 16px; margin-top: 18px; }
.ba { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; }
.ba figure { border: 1px solid var(--line); }
.ba img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba .arrow { width: 46px; height: 46px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-size: 20px; font-weight: 700; }
@media (max-width: 860px) { .origin { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ba { grid-template-columns: 1fr; } .ba .arrow { justify-self: center; transform: rotate(90deg); } }

.paper { background: var(--paper); }
.path { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.stop { position: relative; border-radius: 20px; overflow: hidden; background: var(--black); color: var(--white); min-height: 360px; display: flex; align-items: flex-end; }
.stop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0) 25%, rgba(10,10,10,.92) 72%); }
.stop .in { position: relative; z-index: 1; padding: 16px; display: grid; gap: 8px; }
.stop .n { width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--black); display: grid; place-items: center; font: 600 13px var(--mono); }
.stop h3 { font-size: 19px; font-weight: 700; }
.stop p { color: #D4D4D4; font-size: 14px; }
.stop .dz { position: absolute; right: 10px; top: 10px; z-index: 1; font: 500 10px var(--mono); background: rgba(10,10,10,.8); color: var(--white); padding: 3px 7px; border-radius: 6px; }
@media (max-width: 1040px) { .path { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stop { min-height: 300px; } }
@media (max-width: 640px) { .path { grid-template-columns: 1fr 1fr; } .stop { min-height: 260px; } .stop:last-child { grid-column: span 2; } }

.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.st { border-radius: 22px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); }
.st.now { background: var(--lime-soft); border-color: #DDEFC2; }
.st.res { border-style: dashed; border-color: #8A8A8A; }
.st.long { background: var(--black); color: var(--white); border-color: var(--black); }
.st img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; background: var(--white); }
.st .body { padding: 20px 22px 24px; display: grid; gap: 12px; align-content: start; }
.st h3 { font-size: 24px; font-weight: 800; }
.st ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.st li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; font-size: 15px; }
.st li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-top: 8px; }
.st.long .tag-next { color: var(--lime); }
@media (max-width: 900px) { .steps3 { grid-template-columns: 1fr; } .st { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: auto; } .st img { height: 100%; aspect-ratio: auto; } }
@media (max-width: 560px) { .st { grid-template-columns: 1fr; } .st img { aspect-ratio: 16 / 9; } }

.measure { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 48px); }
.measure h3 { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.signs, .wont { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.signs li, .wont li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; }
.signs li { background: var(--panel-d); border: 1px solid var(--line-d); border-radius: 12px; padding: 12px 14px; color: #E5E5E5; }
.wont { gap: 0; }
.wont li { color: #D4D4D4; padding-block: 11px; border-bottom: 1px solid var(--line-d); }
.signs svg, .wont svg { width: 22px; height: 22px; }
@media (max-width: 860px) { .measure { grid-template-columns: 1fr; } }

.film { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.film img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 700px) { .film { grid-template-columns: repeat(3, minmax(0, 1fr)); } .film img:nth-child(n+4) { display: none; } }
.close { background: var(--lime); color: var(--black); }
.close .shell { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; }
.close h2 { font-size: clamp(36px, 5.2vw, 68px); font-weight: 800; }
.close .promise { font: 600 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.close p { font-size: 18px; font-weight: 500; margin-bottom: 20px; }
@media (max-width: 860px) { .close .shell { grid-template-columns: 1fr; } }

/* 3D lessons merged into the How it works tour, tab 07 (2026-11-02, founder). The old .models-grid / .tabs rules above are unused now. */
.tour-shot[hidden], .tour-3d[hidden] { display: none; }
.tour-3d .stage { aspect-ratio: 1600 / 884; border-radius: 0; }
.m3d-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 20px 0; }
.m3d-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.m3d-btn { font: 600 14px var(--sans); padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.55); background: transparent; color: var(--white); cursor: pointer; }
.m3d-btn:hover { border-color: var(--white); }
.m3d-btn[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--black); }
.tour-3d .model-open { margin-top: 0; color: var(--white); }
.tour-3d .device-row { padding: 0 20px; margin-top: 14px; }
.tour-3d .pill { border-color: rgba(255,255,255,.55); color: #D4D4D4; }
@media (max-width: 860px) { .tour-3d .stage { aspect-ratio: 4 / 5; } }

/* Mission: "What we've built so far" panel (2026-11-02, pass 76). */
.built { margin-bottom: 16px; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 36px); background: linear-gradient(180deg, var(--lime-soft) 0%, var(--white) 70%); display: grid; gap: clamp(20px, 2.4vw, 28px); }
.built-head { display: grid; gap: 12px; justify-items: start; }
.built-head h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.built-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.built-grid li { background: var(--white); border: 1px solid #DDEFC2; border-radius: 18px; padding: 18px 20px 20px; display: grid; gap: 8px; align-content: start; box-shadow: 0 1px 2px rgba(10,10,10,.04); }
.built-grid .n { width: 34px; height: 34px; border-radius: 10px; background: var(--black); color: var(--lime); display: grid; place-items: center; font: 500 13px var(--mono); }
.built-grid b { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-top: 4px; }
.built-grid p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.built-proof { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--black); color: #E5E5E5; border-radius: 16px; padding: 16px 20px; font-size: 16px; }
.built-proof strong { color: var(--white); }
.built-proof .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); margin-top: 8px; box-shadow: 0 0 0 4px rgba(207,255,129,.18); }
.built-proof[hidden] { display: none; }
@media (max-width: 900px) { .built-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .built-grid { grid-template-columns: 1fr; } }
