/* RKad site. Brand: navy #0A1A33, RKad blue #1F5FD6, sky #7FB0FF, ice #DCE8FF, ground #F6F9FD. */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url(fonts/space-grotesk-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url(fonts/space-grotesk-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url(fonts/jetbrains-mono-latin-wght-normal.woff2) format('woff2-variations'); }

:root {
  --navy: #0A1A33; --navy2: #13294D; --blue: #1F5FD6; --blueH: #1A4FB5; --sky: #7FB0FF; --ice: #DCE8FF;
  --bg: #FBFCFE; --ground: #F6F9FD; --surface: #FFFFFF; --line: #E4EAF3; --line2: #EEF2F8;
  --text: #0E1A2B; --muted: #56657C; --faint: #8796AD;
  --ok: #148A5B; --okBg: #E7F6EF; --warn: #B26A00; --warnBg: #FFF4E0; --bad: #C2372B; --badBg: #FDECEA;
  --sans: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(10, 26, 51, .04), 0 8px 24px -8px rgba(10, 26, 51, .12), 0 32px 64px -24px rgba(10, 26, 51, .18);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--ice); color: var(--navy); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.mono { font-family: var(--mono); }
.eyebrow { font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 18px; height: 1.5px; background: currentColor; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; margin: 0; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; }
h3 { font-size: 24px; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.55; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15.5px/1 var(--sans); text-decoration: none; border: 1px solid transparent; transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s; white-space: nowrap; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--navy); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 20px -8px rgba(10,26,51,.5); }
.btn.primary:hover { background: var(--navy2); }
.btn.blue { background: var(--blue); color: #fff; box-shadow: 0 8px 22px -8px rgba(31,95,214,.65); }
.btn.blue:hover { background: var(--blueH); }
.btn.ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: #C9D5E6; }
.btn.light { background: #fff; color: var(--navy); }
.btn.outline-dark { color: #fff; border-color: rgba(255,255,255,.22); }
.btn.outline-dark:hover { border-color: rgba(255,255,255,.5); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 252, 254, .78); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav .logo img { height: 28px; width: auto; }
.nav .links { display: flex; gap: 26px; margin-left: 12px; }
.nav .links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav .links a:hover { color: var(--text); }
.nav .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav .btn { height: 40px; padding: 0 18px; font-size: 14.5px; }
.menu-btn { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-menu { display: none; }

/* Hero */
.hero { position: relative; padding: 76px 0 0; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background:
    radial-gradient(60% 50% at 50% 0%, rgba(127,176,255,.22), transparent 70%),
    linear-gradient(var(--line2) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line2) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 40%, transparent 85%); -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 40%, transparent 85%); pointer-events: none; }
.hero .wrap { position: relative; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); text-decoration: none; box-shadow: 0 1px 2px rgba(10,26,51,.04); }
.badge b { background: var(--ice); color: var(--blue); font: 600 11.5px/1 var(--mono); padding: 5px 8px; border-radius: 999px; letter-spacing: .04em; }
.hero h1 { margin: 26px auto 0; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lede { margin: 24px auto 0; max-width: 640px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero .note { margin-top: 16px; font-size: 13.5px; color: var(--faint); }
.hero-shot { position: relative; margin: 64px auto 0; max-width: 1100px; }
.hero-shot::after { content: ''; position: absolute; left: -10%; right: -10%; bottom: 0; height: 40%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }

/* App window mock */
.win { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; text-align: left; font-size: 13px; }
.win-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line2); background: #FCFDFF; color: var(--muted); font-size: 12.5px; }
.win-bar .dots { display: flex; gap: 6px; margin-right: 8px; }
.win-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #E3E8F0; }
.win-bar .title { font-weight: 600; color: var(--text); }
.app { display: grid; grid-template-columns: 218px 1fr; min-height: 470px; }
.side { background: var(--navy); color: #C8D4E8; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.side .brand { display: flex; gap: 10px; align-items: center; padding: 2px 8px 16px; }
.side .brand img { width: 30px; height: 30px; border-radius: 8px; }
.side .brand b { display: block; color: #fff; font: 600 15px/1.1 var(--display); }
.side .brand small { font-size: 11px; color: #8FA3C4; }
.side .h { font: 500 10px/1 var(--mono); letter-spacing: .1em; color: #6F84A8; padding: 14px 8px 8px; }
.side .it { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 12.5px; }
.side .it.on { background: var(--navy2); color: #fff; }
.side .it code { font: 500 10.5px/1 var(--mono); color: var(--sky); width: 28px; }
.side .it span:last-child { margin-left: auto; font: 500 10.5px/1 var(--mono); color: #8FA3C4; background: rgba(255,255,255,.06); padding: 3px 6px; border-radius: 6px; }
.side .status { margin-top: auto; background: rgba(255,255,255,.05); border-radius: 10px; padding: 10px; font-size: 11.5px; line-height: 1.7; }
.side .status i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3DDC97; margin-right: 6px; }
.main { padding: 18px 20px; background: #FAFCFF; min-width: 0; }
.main-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.main-top h4 { margin: 0; font: 600 19px/1 var(--display); letter-spacing: -.02em; }
.main-top .search { margin-left: auto; width: 210px; height: 32px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--faint); display: flex; align-items: center; padding: 0 10px; font-size: 12px; }
.main-top .new { height: 32px; padding: 0 12px; border-radius: 8px; background: var(--blue); color: #fff; font-weight: 600; font-size: 12px; display: flex; align-items: center; }
.rows { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.row { display: grid; grid-template-columns: 40px 150px 1fr 54px 92px 128px; align-items: center; gap: 12px; padding: 9px 14px; border-top: 1px solid var(--line2); }
.row:first-child { border-top: 0; }
.row.head { font: 500 10px/1 var(--mono); letter-spacing: .08em; color: var(--faint); text-transform: uppercase; background: #FCFDFF; }
.thumb { width: 40px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #EEF3FB, #DDE6F3); position: relative; overflow: hidden; }
.thumb::after { content: ''; position: absolute; inset: 7px 9px; border-radius: 3px; background: linear-gradient(135deg, #B9C7DC, #8EA2C0); }
.thumb.t2::after { inset: 10px 6px; border-radius: 10px; }
.thumb.t3::after { inset: 6px 14px; border-radius: 2px; }
.thumb.t4::after { inset: 8px 8px; border-radius: 50%; }
.pn { font: 500 12px/1 var(--mono); color: var(--text); }
.desc { font-feature-settings: "calt" 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ver { font: 500 11.5px/1 var(--mono); color: var(--muted); }
.who { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.av { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 600 9.5px/1 var(--sans); flex: none; }
.av.a { background: #1F5FD6; } .av.b { background: #0F8A7E; } .av.c { background: #7A4FD6; } .av.d { background: #C27A0E; }
.st { justify-self: start; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st.ok { background: var(--okBg); color: var(--ok); }
.st.you { background: var(--ice); color: var(--blue); }
.st.other { background: #F1ECFD; color: #6A3FC9; }
.st.old { background: var(--warnBg); color: var(--warn); }
.st.bad { background: var(--badBg); color: var(--bad); }
.toast { text-align: left; position: absolute; right: -24px; bottom: 120px; width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 14px; display: flex; gap: 12px; font-size: 13px; z-index: 2; animation: toastIn 1s .9s var(--ease) both; }
.toast .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--ice); color: var(--blue); display: grid; place-items: center; flex: none; }
.toast .ic svg { width: 18px; height: 18px; }
.toast b { display: block; font-weight: 600; }
.toast span { color: var(--muted); font-size: 12.5px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* Proof strip */
.proof { padding: 30px 0 10px; }
.proof .wrap { display: flex; align-items: center; justify-content: center; gap: 18px 40px; flex-wrap: wrap; color: var(--faint); font-size: 14px; }
.proof .item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 500; }
.proof .item svg { width: 18px; height: 18px; color: var(--blue); }
.proof .sep { width: 1px; height: 18px; background: var(--line); }

/* Sections */
section { padding: 120px 0; }
.sec-head { max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin-top: 18px; }
.sec-head .lede { margin-top: 18px; }

.problem { padding: 110px 0 40px; }
.problem p.big { font: 500 clamp(26px, 3.3vw, 40px)/1.28 var(--display); letter-spacing: -.02em; color: var(--faint); max-width: 980px; }
.problem p.big b { color: var(--text); font-weight: 500; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step .n { font: 500 12px/1 var(--mono); color: var(--blue); letter-spacing: .06em; }
.step h3 { font-size: 22px; }
.step p { color: var(--muted); font-size: 15px; }
.step .vis { margin-top: auto; padding-top: 10px; }
.mini { background: var(--ground); border: 1px solid var(--line2); border-radius: 12px; padding: 14px; font-size: 12.5px; }
.mini .line { display: flex; align-items: center; gap: 10px; }
.mini .line + .line { margin-top: 9px; }
.mini .fake-btn { height: 30px; border-radius: 8px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 12px; background: var(--blue); color: #fff; }
.mini .fake-btn.dark { background: var(--navy); }
.mini .fake-btn svg { width: 14px; height: 14px; }
.mini .file { font: 500 11.5px/1.3 var(--mono); color: var(--text); }
.mini .sub { color: var(--faint); font-size: 11.5px; }
.ck { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.ck svg { width: 11px; height: 11px; }
.ck.ok { background: var(--okBg); color: var(--ok); }
.ck.warn { background: var(--warnBg); color: var(--warn); }

/* Feature rows */
.features { padding-top: 40px; }
.frow { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; padding: 70px 0; }
.frow.flip { grid-template-columns: 1.15fr 1fr; }
.frow.flip > .copy { order: 2; }
.frow .copy h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; letter-spacing: -.03em; margin-top: 16px; }
.frow .copy p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.frow .copy ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.frow .copy li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.frow .copy li svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 3px; }
.stage { position: relative; border-radius: 24px; padding: 34px; background: linear-gradient(160deg, #EEF4FF, #F7FAFF 60%); border: 1px solid var(--line2); overflow: hidden; }
.stage::before { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--line2) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, var(--line2) 1px, transparent 1px) 0 0 / 28px 28px; opacity: .7; mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.stage > * { position: relative; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); font-size: 13px; }
.card-h { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line2); font-weight: 600; }
.card-h small { margin-left: auto; color: var(--faint); font-weight: 500; font-size: 12px; }
.card-b { padding: 16px; }

/* New part mock */
.field { margin-bottom: 12px; }
.field label { display: block; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 7px; }
.input { height: 36px; border: 1px solid var(--line); border-radius: 9px; display: flex; align-items: center; padding: 0 12px; background: #fff; }
.input.focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,95,214,.14); }
.input .caret { width: 1.5px; height: 16px; background: var(--blue); margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); background: #fff; }
.chip code { font: 600 10.5px/1 var(--mono); color: var(--blue); }
.chip.on { border-color: var(--blue); background: #F2F7FF; color: var(--text); }
.filename { margin-top: 14px; border-radius: 10px; background: var(--navy); color: #DDE7F7; padding: 14px; font: 500 13px/1.4 var(--mono); display: flex; align-items: center; gap: 10px; }
.filename .hl { color: var(--sky); }
.filename .tag { margin-left: auto; font: 600 10.5px/1 var(--sans); background: rgba(127,176,255,.16); color: var(--sky); padding: 5px 8px; border-radius: 6px; }

/* Checks mock */
.checks .c { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line2); align-items: flex-start; }
.checks .c:first-child { border-top: 0; padding-top: 0; }
.checks .c b { display: block; font-weight: 600; font-size: 13px; }
.checks .c span { color: var(--muted); font-size: 12.5px; }
.checks .c .ck { margin-top: 1px; }
.note-box { margin-top: 14px; border: 1px solid var(--line); border-radius: 10px; padding: 12px; color: var(--text); min-height: 64px; }
.note-box small { display: block; color: var(--faint); font-size: 11px; margin-bottom: 4px; font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.card-f { display: flex; gap: 8px; justify-content: flex-end; padding: 12px 16px; border-top: 1px solid var(--line2); }
.card-f .b { height: 32px; padding: 0 14px; border-radius: 8px; font-weight: 600; font-size: 12.5px; display: inline-flex; align-items: center; border: 1px solid var(--line); }
.card-f .b.p { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Timeline mock */
.tl { position: relative; padding-left: 26px; }
.tl::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1.5px; background: var(--line); }
.tl .v { position: relative; padding: 0 0 18px; }
.tl .v:last-child { padding-bottom: 0; }
.tl .v::before { content: ''; position: absolute; left: -22px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid #B6C4DA; }
.tl .v.now::before { border-color: var(--blue); background: var(--blue); box-shadow: 0 0 0 4px rgba(31,95,214,.15); }
.tl .v .top { display: flex; align-items: center; gap: 8px; }
.tl .v .top b { font: 600 12.5px/1 var(--mono); }
.tl .v .top .rel { font: 600 10px/1 var(--mono); color: var(--ok); background: var(--okBg); padding: 4px 7px; border-radius: 6px; letter-spacing: .04em; }
.tl .v .top small { margin-left: auto; color: var(--faint); font-size: 11.5px; }
.tl .v p { color: var(--muted); font-size: 12.5px; margin-top: 4px; }

/* Where-used mock */
.tree { font: 500 12px/1 var(--mono); }
.tree .n { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 8px; }
.tree .n.sel { background: #F2F7FF; outline: 1px solid #CFE0FF; }
.tree .n .d { color: var(--muted); font-family: var(--sans); font-size: 12px; }
.tree .n .cnt { margin-left: auto; font: 600 10.5px/1 var(--sans); color: var(--faint); }
.tree .i1 { margin-left: 22px; } .tree .i2 { margin-left: 44px; }
.rename { margin-top: 14px; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; background: var(--ground); font-size: 12.5px; }
.rename s { color: var(--faint); font-family: var(--mono); font-size: 11.5px; }
.rename .arrow { color: var(--blue); }
.rename code { font: 600 11.5px/1 var(--mono); color: var(--text); }
.rename .done { margin-left: auto; color: var(--ok); font: 600 12px/1.3 var(--sans); text-align: right; }

/* Dark band: 3D + OpenRocket */
.dark { background: var(--navy); color: #E6EEF9; position: relative; overflow: hidden; }
.dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 80% 0%, rgba(59,123,240,.25), transparent 70%), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px; pointer-events: none; }
.dark .wrap { position: relative; }
.dark .eyebrow { color: var(--sky); }
.dark .lede, .dark p { color: #9FB2CE; }
.dark h2, .dark h3 { color: #fff; }
.shot { border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: #0D1B30; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.shot img { width: 100%; height: auto; }
.shot-cap { display: flex; gap: 10px; flex-wrap: wrap; padding: 14px 18px; border-top: 1px solid rgba(255,255,255,.06); }
.shot-cap span { font-size: 12px; color: #C8D4E8; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 6px 10px; }
.shot-cap span code { font: 600 11px/1 var(--mono); color: var(--sky); margin-right: 6px; }
.dark-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.dcard { border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); padding: 26px; }
.dcard h3 { font-size: 21px; margin-top: 14px; }
.dcard p { margin-top: 10px; font-size: 15px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: 12px; overflow: hidden; margin-top: 20px; }
.metrics div { background: #0D1B30; padding: 14px; }
.metrics small { display: block; color: #7F93B5; font-size: 11.5px; }
.metrics b { font: 600 20px/1.3 var(--display); color: #fff; letter-spacing: -.02em; }
.rules { margin-top: 18px; display: grid; gap: 8px; }
.rules div { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #C8D4E8; }
.rules .ck.ok { background: rgba(61,220,151,.14); color: #3DDC97; }
.rules .ck.warn { background: rgba(255,184,77,.14); color: #FFB84D; }
.rules code { font: 500 11px/1 var(--mono); color: #7F93B5; margin-left: auto; }

/* Grid of smaller features */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-top: 56px; }
.fcell { background: var(--surface); padding: 30px; transition: background .2s; }
.fcell:hover { background: #FCFDFF; }
.fcell .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--ice); color: var(--blue); display: grid; place-items: center; }
.fcell .ic svg { width: 20px; height: 20px; }
.fcell h3 { font-size: 18px; margin-top: 18px; letter-spacing: -.015em; }
.fcell p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
.principle { border-top: 1.5px solid var(--navy); padding-top: 22px; }
.principle .k { font: 500 12px/1 var(--mono); color: var(--faint); }
.principle h3 { font-size: 22px; margin-top: 14px; }
.principle p { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* Film */
.film { padding-top: 0; }
.film-box { position: relative; border-radius: 24px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.film-box video { width: 100%; height: 100%; object-fit: cover; }
.film-box .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(10,26,51,.1), rgba(10,26,51,.55)); border: 0; cursor: pointer; color: #fff; font: inherit; transition: background .3s; }
.film-box .play:hover { background: linear-gradient(180deg, rgba(10,26,51,.05), rgba(10,26,51,.45)); }
.film-box .play span { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 26px 0 20px; border-radius: 999px; background: rgba(255,255,255,.96); color: var(--navy); font-weight: 600; font-size: 16px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); transition: transform .3s var(--ease); }
.film-box .play:hover span { transform: scale(1.04); }
.film-box .play svg { width: 22px; height: 22px; color: var(--blue); }
.film-box.playing .play { display: none; }
.film-box .play em.lang { font: 600 10.5px/1 var(--mono); font-style: normal; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 4px 6px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 22px 0; font: 500 18px/1.35 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; margin-left: auto; width: 12px; height: 12px; flex: none; background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 24px 0; font-size: 15.5px; }

/* CTA */
.cta { padding: 40px 0 120px; }
.cta-box { position: relative; border-radius: 28px; background: var(--navy); color: #fff; padding: 80px 40px; text-align: center; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 120%, rgba(59,123,240,.55), transparent 70%), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 40px 40px; }
.cta-box > * { position: relative; }
.cta-box img.mark { width: 56px; height: 56px; margin: 0 auto 26px; border-radius: 14px; box-shadow: 0 10px 30px -8px rgba(31,95,214,.8); }
.cta-box h2 { color: #fff; max-width: 16ch; margin-inline: auto; }
.cta-box p { color: #9FB2CE; margin: 18px auto 0; max-width: 520px; font-size: 17px; }
.cta-box .ctas { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--muted); }
footer .top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
footer .top img.logo { height: 26px; width: auto; }
footer .top p { margin-top: 14px; max-width: 300px; }
footer h4 { margin: 0 0 14px; font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--text); }
footer .bottom { display: flex; align-items: center; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line2); font-size: 13px; color: var(--faint); flex-wrap: wrap; }
footer .privent { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 6px 12px 6px 8px; background: var(--navy); border-radius: 999px; color: #C8D4E8; font-size: 12.5px; }
footer .privent img { height: 14px; width: auto; }
footer .privent:hover { color: #fff; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .toast, .input .caret { animation: none; }
  .btn, .step { transition: none; }
}

/* Docs pages (guide, privacy) */
.doc-hero { padding: 72px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #F2F7FF, var(--bg)); }
.doc-hero h1 { font-size: clamp(36px, 5vw, 56px); margin-top: 18px; }
.doc-hero .lede { margin-top: 16px; max-width: 680px; }
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; padding: 56px 0 120px; }
.doc nav { position: sticky; top: 96px; align-self: start; font-size: 14px; }
.doc nav h4 { margin: 0 0 12px; font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.doc nav a { display: block; padding: 6px 0 6px 12px; border-left: 1.5px solid var(--line); text-decoration: none; color: var(--muted); }
.doc nav a:hover { color: var(--text); border-left-color: var(--blue); }
.prose { max-width: 720px; font-size: 16.5px; line-height: 1.7; }
.prose h2 { font-size: 28px; margin: 56px 0 14px; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 32px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; color: #2A3A52; }
.prose li { margin: 6px 0; }
.prose code { font: 500 .88em var(--mono); background: var(--ground); border: 1px solid var(--line2); padding: 1px 6px; border-radius: 6px; }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.prose .callout { border: 1px solid #CFE0FF; background: #F2F7FF; border-radius: 14px; padding: 16px 18px; margin: 0 0 24px; }
.prose .table-scroll { overflow-x: auto; }

/* Responsive */
@media (max-width: 1080px) {
  .toast { right: 12px; top: auto; bottom: 40px; }
  .row { grid-template-columns: 40px 140px 1fr 92px 120px; }
  .row > :nth-child(4) { display: none; }
}
@media (max-width: 900px) {
  section { padding: 88px 0; }
  .nav .links, .nav .right { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu.open { display: grid; gap: 4px; padding: 8px 16px 18px; border-bottom: 1px solid var(--line); background: var(--bg); }
  .mobile-menu a { padding: 12px 4px; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line2); }
  .mobile-menu .btn { margin-top: 10px; justify-content: center; }
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .steps, .principles { grid-template-columns: 1fr; }
  .frow, .frow.flip { grid-template-columns: 1fr; gap: 36px; padding: 48px 0; }
  .frow.flip > .copy { order: 0; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .dark-grid { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 28px; }
  footer .top { grid-template-columns: 1fr 1fr; }
  footer .top > :first-child { grid-column: 1 / -1; }
  .doc { grid-template-columns: 1fr; gap: 0; }
  .doc nav { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 48px; }
  .hero-shot { margin-top: 44px; }
  .row { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .row.head { display: none; }
  .row > .thumb, .row > .ver, .row > .who { display: none; }
  .row > .desc { grid-column: 1; grid-row: 2; }
  .row > .st { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .main-top .search { display: none; }
  .main-top .new { margin-left: auto; }
  .toast { position: relative; right: auto; bottom: auto; width: auto; margin: -24px 12px 0; }
  .stage { padding: 18px; border-radius: 18px; }
  .fgrid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 56px 22px; border-radius: 22px; }
  .proof .sep { display: none; }
  footer .privent { margin-left: 0; }
  .prose table { font-size: 13.5px; }
}
