/* Shared by the three options: reset, header, buttons, the film's step bar, the common sections (Judge, Lego,
   safety, channels, FAQ, early access, footer) and the example ads. Each option sets the tokens and its own look. */
:root {
  --bg: #0b0b12; --bg-2: #12121c; --ink: #f6f3ee; --muted: #b9b4c7; --line: rgba(255,255,255,.12);
  --card: rgba(255,255,255,.05); --accent: #ff6a3d; --accent-ink: #160b06; --accent-2: #7c5cff; --ok: #3ddc97;
  --radius: 18px; --head: 68px; --display: "Space Grotesk", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--body); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 4.4vw, 56px); }
h3 { font-size: 21px; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
section { position: relative; }
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 44px; max-width: 780px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; height: var(--head); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.head-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 19px; letter-spacing: -0.01em; white-space: nowrap; }
.brand .word b { font-weight: 700; }
.mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); display: inline-flex; align-items: flex-end; justify-content: center; gap: 3px; padding: 7px; flex: none; }
.mark i { width: 4px; border-radius: 2px; background: var(--accent-ink); }
.mark i:nth-child(1) { height: 6px; } .mark i:nth-child(2) { height: 10px; } .mark i:nth-child(3) { height: 15px; }
.site-nav { display: flex; gap: 26px; margin-left: 12px; }
.site-nav a { text-decoration: none; font-size: 14.5px; color: var(--muted); }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta { display: none; }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { min-width: 40px; min-height: 34px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 13px var(--body); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.menu-btn svg { margin: auto; }
@media (max-width: 960px) {
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: var(--head); flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav .nav-cta { display: block; color: var(--accent); font-weight: 600; border-bottom: 0; }
  .site-nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-flex; }
  .head-actions .btn { display: none; }
}
@media (max-width: 380px) { .brand { font-size: 17px; } .head-row { gap: 10px; } }

/* The film: tall section in scroll mode, sticky pin, step bar, scroll hint */
.film { position: relative; }
.film[data-mode="scroll"] { height: calc(100vh - var(--head) + 240vh); }
.film-pin { position: relative; overflow: hidden; overflow: clip; }
.film[data-mode="scroll"] .film-pin { position: sticky; top: var(--head); height: calc(100vh - var(--head)); }
.film.rewind .film-stage { opacity: 0; transition: opacity .45s; }
.film-stage { transition: opacity .45s; }
.film-steps { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.film-steps li { flex: 1; min-width: 0; }
.film-steps button { width: 100%; min-height: 44px; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 0; border: 0; background: none; color: var(--muted); font: 600 13px var(--body); cursor: pointer; text-align: left; }
.film-steps button::before { content: ""; display: block; width: 100%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) calc(var(--fill, 0) * 100%), var(--line) 0); }
.film-steps button.on { color: var(--ink); }
.film-steps .n { opacity: .6; margin-right: 6px; font-variant-numeric: tabular-nums; }
.film-hint { position: fixed; left: 50%; bottom: 22px; translate: -50% 12px; opacity: 0; pointer-events: none; z-index: 40; padding: 9px 16px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line); backdrop-filter: blur(8px); font-size: 13px; color: var(--muted); transition: opacity .3s, translate .3s; }
.film-hint.show { opacity: 1; translate: -50% 0; }

/* Reveal on scroll */
.rise { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .7s ease; }
.rise.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; translate: none; transition: none; } }

/* Labels */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; border: 1px solid var(--line); background: var(--card); color: var(--ink); white-space: nowrap; }
.chip.soon { border-style: dashed; color: var(--muted); }
.sample { font-size: 12.5px; color: var(--muted); }
.stamp { display: inline-block; padding: 5px 10px; border-radius: 8px; font: 800 12px var(--body); letter-spacing: .06em; }
.stamp.off { background: #ffe1e1; color: #8f1d1d; } .stamp.up { background: #ffe8d3; color: #8a3410; } .stamp.keep { background: #ebeef3; color: #364152; }

/* App screenshots */
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #0f172a; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.shot img { width: 100%; height: auto; }

/* Example ads (made of real One Suite screens) */
.ad-v { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #0f172a; box-shadow: 0 24px 60px -24px rgba(0,0,0,.55); color: #fff; }
.ad-v > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ad-v .t { position: absolute; inset: 0 0 auto; padding: 16px 14px 34px; background: linear-gradient(#0b1020ee, #0b102000); font: 800 clamp(14px, 1.4vw, 18px)/1.15 var(--display); }
.ad-v .b { position: absolute; inset: auto 0 0; padding: 40px 14px 14px; background: linear-gradient(#0b102000, #0b1020f2); display: flex; flex-direction: column; gap: 9px; font-size: 12.5px; line-height: 1.35; }
.ad-v .cta { align-self: flex-start; padding: 7px 12px; border-radius: 999px; background: #fff; color: #0b1020; font-weight: 700; font-size: 12px; }
.ad-sq { background: #fff; color: #111827; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px -24px rgba(0,0,0,.45); font-size: 12.5px; }
.ad-sq .top { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.ad-sq .top img { width: 26px; height: 26px; border-radius: 50%; }
.ad-sq .top b { display: block; font-size: 12.5px; } .ad-sq .top span { color: #6b7280; font-size: 11px; }
.ad-sq .pic { aspect-ratio: 1 / 1; overflow: hidden; } .ad-sq .pic img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.ad-sq .bot { padding: 10px 12px; background: #f6f7f9; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.ad-sq .bot b { font-size: 12.5px; line-height: 1.3; } .ad-sq .bot span { padding: 6px 9px; border-radius: 7px; background: #e5e7eb; font-weight: 600; white-space: nowrap; font-size: 11.5px; }
.ad-search { background: #fff; color: #1f2937; border-radius: 16px; padding: 16px 18px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.45); font-size: 13px; line-height: 1.45; }
.ad-search .u { display: flex; gap: 8px; align-items: center; font-size: 12px; color: #4b5563; }
.ad-search .u img { width: 22px; height: 22px; border-radius: 50%; }
.ad-search .h { display: block; margin: 8px 0 4px; font-size: 17px; color: #1a4fd6; line-height: 1.3; }

/* Judge */
.judge-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.rules { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.rules li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.rules li .stamp { text-align: center; }
.never { margin-top: 18px; font-weight: 600; }
@media (max-width: 900px) { .judge-grid { grid-template-columns: 1fr; } .rules li { grid-template-columns: 1fr; gap: 8px; } .rules li .stamp { justify-self: start; } }

/* Lego */
.lego-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lego-pieces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.piece { padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: 8px; }
.piece b { font-family: var(--display); font-size: 22px; }
@media (max-width: 760px) { .lego-pieces { grid-template-columns: 1fr; } }

/* Safety (Grid Feature Cards) */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: 10px; }
.feat .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }

/* Channels */
.channels { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.channel { flex: 1 1 220px; padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); font-family: var(--display); font-size: 22px; }
.channel small { display: block; font-family: var(--body); font-size: 14px; color: var(--muted); margin-top: 4px; }
.tm { margin-top: 18px; font-size: 13px; color: var(--muted); max-width: 820px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--accent); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* Early access */
.early-box { border-radius: 28px; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.early { display: flex; flex-direction: column; gap: 12px; }
.early label { font-size: 13px; font-weight: 600; }
.early input { min-height: 50px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.08); color: inherit; padding: 0 14px; font: 16px var(--body); }
.early-note { font-size: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.12); }
@media (max-width: 860px) { .early-box { grid-template-columns: 1fr; } }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.early-fine { font-size: 13px; opacity: .85; margin: 0; }
.early-note.early-bad, .early-note.early-err { background: rgba(0,0,0,.28); }
.early input:disabled, .early button:disabled { opacity: .7; }
.site-foot a { color: inherit; }
