/* Kaveret landing site, v2 ("living hive"). No third-party requests. Logical properties throughout (he = RTL, en = LTR).
   Motion lives in assets/js/*.js; everything here degrades to a still page with prefers-reduced-motion. */
@font-face {
  font-family: "Heebo";
  src: url("fonts/heebo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050505;
  --bg-1: #0a0908;
  --surface: rgba(255, 246, 225, .035);
  --surface-2: rgba(255, 246, 225, .06);
  --solid: #100f0c;
  --solid-2: #17150f;
  --line: rgba(255, 240, 210, .08);
  --line-2: rgba(255, 240, 210, .15);
  --text: #f6f2ea;
  --muted: #cfc8b8;
  --dim: #b3ac9c;
  --amber: #f5b70a;
  --honey: #ffcf4d;
  --amber-ink: #160f02;
  --glow: rgba(245, 183, 10, .35);
  --ok: #4ade80;
  --no: #f87171;
  --r: 18px;
  --wrap: 1240px;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sec: clamp(36px, 4.2vw, 64px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 18px/1.65 "Heebo", system-ui, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--honey); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
figure { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(245, 183, 10, .35); color: #fff; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--amber-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.wrap.narrow { --wrap: 860px; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 17px; }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 15px; }
.btn-primary { background: var(--text); color: #0a0805; box-shadow: 0 0 0 0 var(--glow); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 40px -8px var(--glow), 0 0 0 4px rgba(245, 183, 10, .14); }
.btn-amber { background: var(--amber); color: var(--amber-ink); }
.btn-amber:hover { background: var(--honey); }
.btn-ghost { background: rgba(255, 255, 255, .03); color: var(--text); border-color: var(--line-2); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(245, 183, 10, .5); background: rgba(245, 183, 10, .06); }
.btn.is-off { opacity: .55; cursor: default; }
.btn.is-off:hover { transform: none; border-color: var(--line-2); background: rgba(255, 255, 255, .03); }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(5, 5, 5, .72); backdrop-filter: saturate(140%) blur(16px); border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.brand small { color: var(--dim); font-weight: 500; font-size: 14px; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.spacer { flex: 1; }
.lang { color: var(--muted); text-decoration: none; font-size: 15px; padding: 8px 6px; }
.lang:hover { color: var(--text); }
.doc .top { position: sticky; background: rgba(5, 5, 5, .8); backdrop-filter: blur(14px); border-bottom-color: var(--line); }

/* ---------- hero: the living hive ---------- */
.hero { position: relative; min-height: clamp(520px, calc(100svh - 48px), 820px); display: grid; align-items: center; overflow: hidden; isolation: isolate; padding: 92px 0 56px; }
.hive { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; will-change: transform; }
.hero-veil { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(5, 5, 5, .55), transparent 16%, transparent 88%, var(--bg)); }
.aurora { position: absolute; inset: -20% -10% 0; z-index: -2; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; opacity: .55; will-change: transform; animation: drift 26s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 62vw; height: 46vw; inset-inline-start: 18%; top: 18%; background: radial-gradient(closest-side, rgba(245, 160, 10, .30), transparent); }
.aurora i:nth-child(2) { width: 46vw; height: 40vw; inset-inline-start: -6%; top: 36%; background: radial-gradient(closest-side, rgba(255, 120, 40, .14), transparent); animation-duration: 32s; animation-delay: -8s; }
.aurora i:nth-child(3) { width: 44vw; height: 38vw; inset-inline-end: -8%; top: 4%; background: radial-gradient(closest-side, rgba(255, 214, 102, .14), transparent); animation-duration: 38s; animation-delay: -14s; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(6%, -4%, 0) scale(1.12); } 100% { transform: translate3d(-5%, 5%, 0) scale(.94); } }
.is-paused .aurora i, .is-paused .xfade .next, .is-paused .pulse::after { animation-play-state: paused; }

.hero-copy { text-align: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(10, 9, 8, .6); backdrop-filter: blur(10px); color: var(--muted); font-size: 15px; font-weight: 500; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--amber); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.hero h1 { margin: clamp(14px, 2.4vh, 26px) auto 0; max-width: 15ch; font-size: clamp(40px, min(6.8vw, 11vh), 104px); line-height: .98; font-weight: 750; letter-spacing: -.035em; }
[lang="he"] .hero h1 { letter-spacing: -.02em; line-height: 1.04; max-width: 22ch; font-size: clamp(38px, min(6.2vw, 10.5vh), 92px); }
[lang="en"] .hero h1 { max-width: 21ch; font-size: clamp(36px, min(5.8vw, 10vh), 90px); }
.grad { background: linear-gradient(100deg, #ffe7a3 0%, var(--honey) 30%, var(--amber) 60%, #ff9a1f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin: clamp(14px, 2.6vh, 28px) auto 0; max-width: 62ch; font-size: clamp(18px, 1.5vw, 21px); color: var(--text); opacity: .92; line-height: 1.6; }
.cta-row { margin-top: clamp(20px, 3.6vh, 38px); display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.dl-note { margin: 14px auto 0; max-width: 780px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.scroll-cue { position: absolute; bottom: 28px; inset-inline-start: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 1px solid var(--line-2); display: grid; justify-items: center; padding-top: 8px; }
[dir="rtl"] .scroll-cue { translate: 50% 0; }
.scroll-cue span { width: 3px; height: 8px; border-radius: 3px; background: var(--amber); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- proof: the real app in floating frames ---------- */
.proof { position: relative; padding: 0 0 var(--sec); margin-top: -64px; z-index: 1; }
.stage { --p: 1; position: relative; perspective: 1800px; padding-bottom: 24px; }
.stage-glow { position: absolute; inset: 10% 8% -4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(245, 183, 10, .22), transparent); filter: blur(30px); z-index: -1; opacity: calc(.4 + var(--p) * .6); }
.dev-win {
  position: relative; max-width: 1180px; margin-inline: auto; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-2); background: #0d0d0d;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .6), 0 0 90px -30px var(--glow);
  transform: rotateX(calc((1 - var(--p)) * 18deg)) translateY(calc((1 - var(--p)) * 40px)) scale(calc(.94 + var(--p) * .06));
  transform-origin: 50% 0; will-change: transform;
}
.dev-win::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 30%); }
.xfade { display: grid; }
.xfade > img { grid-area: 1 / 1; width: 100%; }
.xfade .next { animation: xfade 12s ease-in-out infinite; opacity: 0; }
@keyframes xfade { 0%, 38% { opacity: 0; } 46%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
.dev-phone { border-radius: 34px; padding: 7px; background: linear-gradient(160deg, #3b362b, #12100c 42%, #2a251c); box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 240, 210, .12), inset 0 1px 0 rgba(255, 255, 255, .12); }
.dev-phone img { border-radius: 28px; width: 100%; }
.stage .dev-phone { position: absolute; width: clamp(130px, 19vw, 236px); inset-inline-end: max(-10px, calc(50% - 600px)); bottom: -10px; transform: translateY(calc((1 - var(--p)) * 140px)); will-change: transform; }
.toast { position: absolute; inset-inline-start: max(-6px, calc(50% - 610px)); top: 34%; width: 300px; padding: 14px 16px; border-radius: 16px; background: rgba(22, 20, 15, .82); backdrop-filter: blur(18px); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9); font-size: 14px; transform: translateY(calc((1 - var(--p)) * -90px)); will-change: transform; }
.toast-h { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 13.5px; margin-bottom: 6px; }
.toast b { display: block; font-weight: 600; margin-bottom: 10px; }
.toast-b { display: flex; gap: 8px; }
.toast-b span { flex: 1; text-align: center; padding: 6px 8px; border-radius: 9px; background: rgba(255, 255, 255, .06); font-size: 13px; }
.toast-b .ok { background: var(--text); color: #0a0805; font-weight: 600; }
.caption { text-align: center; color: var(--dim); font-size: 15px; margin-top: 18px; }
.works { margin-top: clamp(36px, 4.6vw, 60px); text-align: center; }
.works p { color: var(--dim); font-size: 15px; letter-spacing: .02em; }
.works ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(26px, 5vw, 64px); }
.works li { font-size: clamp(20px, 2.4vw, 30px); font-weight: 600; color: #ece6d8; letter-spacing: -.01em; }

/* ---------- sections ---------- */
.sec { position: relative; padding: var(--sec) 0; }
.sec::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; width: min(var(--wrap), 100% - 48px); margin-inline: auto; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.sec-head { max-width: 780px; margin-bottom: clamp(28px, 3.6vw, 52px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--amber); font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
[lang="he"] .kicker { letter-spacing: .02em; }
.kicker::before { content: ""; width: 11px; height: 12.5px; background: currentColor; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
h2 { font-size: clamp(34px, min(4.6vw, 8vh), 64px); letter-spacing: -.03em; line-height: 1.02; }
[lang="he"] h2 { letter-spacing: -.015em; line-height: 1.08; }
.sub { margin-top: 16px; color: var(--muted); font-size: clamp(18px, 1.45vw, 20px); max-width: 62ch; }
.sec-head.center .sub { margin-inline: auto; }
.note { margin-top: 20px; color: var(--dim); font-size: 15px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4.6vw, 72px); align-items: center; }
.split.wide-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 4px; }
.list li { padding: 11px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 17px; }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list b { color: var(--text); font-weight: 600; margin-inline-end: 6px; }
.list.num { counter-reset: n; }
.list.num li { counter-increment: n; position: relative; padding-inline-start: 44px; }
.list.num li::before { content: counter(n, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: 13px; font: 600 14px var(--mono); color: var(--amber); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.step { position: relative; padding: 26px 26px 24px; border-radius: var(--r); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); overflow: hidden; }
.step .num { display: block; font-size: 64px; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(245, 183, 10, .55); margin-bottom: 14px; }
.step h3 { font-size: 23px; letter-spacing: -.01em; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: 14.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: #e6dfd0; background: rgba(255, 255, 255, .02); }
.step .shot { margin-top: 16px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); }

/* approvals demo */
.demo { position: relative; border-radius: 22px; background: linear-gradient(180deg, #121110, #0b0a09); border: 1px solid var(--line-2); padding: 18px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 80px -40px var(--glow); }
.demo-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 4px 14px; border-bottom: 1px solid var(--line); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; background: rgba(255, 255, 255, .05); font-weight: 600; font-size: 14px; }
[dir="rtl"] .pill { padding: 5px 6px 5px 12px; }
.try { color: var(--amber); font-size: 14px; font-weight: 600; }
.msgs { display: flex; flex-direction: column; gap: 12px; padding: 16px 4px 8px; min-height: 330px; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: 16px; line-height: 1.5; }
.msg.me { align-self: flex-start; background: var(--amber); color: var(--amber-ink); border-end-start-radius: 6px; font-weight: 500; }
.msg.bot { align-self: flex-end; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-end-end-radius: 6px; }
[dir="ltr"] .msg.me { align-self: flex-end; border-end-start-radius: 18px; border-end-end-radius: 6px; }
[dir="ltr"] .msg.bot { align-self: flex-start; border-end-end-radius: 18px; border-end-start-radius: 6px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.perm { align-self: stretch; border-radius: 16px; border: 1px solid rgba(245, 183, 10, .3); background: #15130e; padding: 16px; animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: .15; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.perm-head { display: flex; gap: 12px; align-items: flex-start; }
.perm-ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(245, 183, 10, .12); color: var(--amber); }
.perm-ic svg { width: 18px; height: 18px; }
.perm-title { font-weight: 700; font-size: 16px; }
.perm-sub { color: var(--muted); font-size: 14.5px; }
.risk { display: inline-block; margin: 12px 0 4px; font-size: 13.5px; padding: 3px 10px; border-radius: 999px; color: var(--honey); background: rgba(245, 183, 10, .1); border: 1px solid rgba(245, 183, 10, .28); }
.perm details { margin-top: 8px; font-size: 15px; }
.perm summary { cursor: pointer; color: var(--muted); }
.kvs { margin: 10px 0 0; padding: 12px; border-radius: 10px; background: rgba(0, 0, 0, .35); display: grid; gap: 6px; }
.kvs div { display: grid; grid-template-columns: 64px 1fr; gap: 10px; }
.kvs dt { color: var(--dim); } .kvs dd { margin: 0; }
.perm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.perm-actions button { min-height: 44px; border-radius: 11px; border: 1px solid var(--line-2); cursor: pointer; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.b-allow { background: var(--text); color: #0a0805; border-color: transparent !important; }
.b-allow:hover { background: #fff; }
.b-deny { background: rgba(255, 255, 255, .04); color: var(--no); }
.b-deny:hover { background: rgba(248, 113, 113, .08); }
kbd { font: 11px var(--mono); padding: 1px 5px; border-radius: 5px; border: 1px solid var(--line-2); color: var(--dim); }
.perm.settled { display: flex; align-items: center; gap: 10px; padding: 10px 14px; animation: none; }
.perm.settled .perm-ic { width: 28px; height: 28px; }
.outcome { margin-inline-start: auto; font-weight: 700; font-size: 14px; }
.outcome.ok { color: var(--ok); } .outcome.no { color: var(--no); }
.demo-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 4px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.linkbtn { background: none; border: 0; color: var(--honey); cursor: pointer; padding: 6px 0; font-weight: 600; }

/* ---------- the hive of capabilities ---------- */
.hive-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.readout { margin-top: 28px; min-height: 180px; padding: 26px 28px; border-radius: var(--r); border: 1px solid rgba(245, 183, 10, .28); background: radial-gradient(120% 140% at 100% 0, rgba(245, 183, 10, .12), transparent 60%), var(--surface); }
[dir="ltr"] .readout { background: radial-gradient(120% 140% at 0 0, rgba(245, 183, 10, .12), transparent 60%), var(--surface); }
.ro-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(245, 183, 10, .12); color: var(--amber); margin-bottom: 18px; }
.ro-ic svg { width: 24px; height: 24px; }
.readout h3 { font-size: 26px; letter-spacing: -.01em; }
.readout p { margin-top: 10px; color: var(--muted); font-size: 17px; }
.readout.swap h3, .readout.swap p, .readout.swap .ro-ic { animation: rise .35s var(--ease); }

.comb { --w: 136px; --gap: 8px; list-style: none; margin: 0; padding: 0 0 calc(var(--w) * .2887); display: grid; justify-content: center;
  grid-template-columns: repeat(9, calc(var(--w) / 2 + var(--gap) / 2)); grid-auto-rows: calc(var(--w) * .866 + var(--gap) * .866); }
.cell { grid-column: span 2; width: var(--w); height: calc(var(--w) * 1.1547); position: relative; cursor: pointer; outline: none;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--line-2); transition: background-color .3s, transform .35s var(--ease); }
.comb .cell:nth-child(8n + 5) { grid-column: 2 / span 2; }
.cell-in { position: absolute; inset: 1px; clip-path: inherit; background: linear-gradient(180deg, #13110d, #0b0a08); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; text-align: center; transition: background .3s; }
.cell-ic { color: var(--muted); transition: color .3s, transform .35s var(--ease); }
.cell-ic svg { width: 26px; height: 26px; }
.cell h3 { font-size: 14px; font-weight: 600; line-height: 1.25; color: #ece6d8; }
.cell .tag { display: block; margin-top: 3px; }
.cell:hover, .cell:focus-visible, .cell.on { background: var(--amber); }
.cell:hover .cell-in, .cell:focus-visible .cell-in, .cell.on .cell-in { background: radial-gradient(circle at 50% 30%, rgba(245, 183, 10, .28), #15110a 75%); }
.cell:hover .cell-ic, .cell:focus-visible .cell-ic, .cell.on .cell-ic { color: var(--honey); transform: scale(1.08); }
.cell:hover { transform: scale(1.04); z-index: 1; }
.cell:focus-visible { outline: none; }
.cell:focus-visible .cell-in { box-shadow: inset 0 0 0 2px var(--honey); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; color: var(--amber-ink); background: var(--amber); vertical-align: middle; letter-spacing: 0; }
.tag.soon { background: rgba(255, 255, 255, .1); color: var(--muted); }

/* frames */
.frame { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); background: #111; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 80px -40px var(--glow); transform: perspective(1400px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .5s var(--ease); }
.frame.fade-b img { -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent); mask-image: linear-gradient(to bottom, #000 82%, transparent); }

/* apps marquee */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 16px; color: var(--muted); }
.flow .k { padding: 4px 12px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); font-weight: 600; }
[dir="rtl"] .flow .arr { transform: scaleX(-1); }
.marquee { display: grid; gap: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); direction: ltr; }
.mq-row { display: flex; width: max-content; }
.mq-track { display: flex; gap: 14px; padding: 0 7px; margin: 0; list-style: none; animation: mq 48s linear infinite; animation-play-state: paused; }
.mq-row.rev .mq-track { animation-direction: reverse; animation-duration: 56s; }
.marquee.run .mq-track { animation-play-state: running; }
@keyframes mq { to { transform: translateX(-100%); } }
.app { padding: 14px 26px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); font-size: 18px; font-weight: 600; color: #ece6d8; white-space: nowrap; }
.note.center { text-align: center; margin-top: 24px; }

/* phones */
.phones { position: relative; display: flex; justify-content: center; gap: 22px; padding: 16px 0 36px; }
.phones .dev-phone { width: min(280px, 42vw); }
.phones .p1 { transform: translateY(calc(var(--py, 0) * -40px)) rotate(-3deg); }
.phones .p2 { transform: translateY(calc(var(--py, 0) * 40px + 50px)) rotate(3deg); }
[dir="rtl"] .phones .p1 { transform: translateY(calc(var(--py, 0) * -40px)) rotate(3deg); }
[dir="rtl"] .phones .p2 { transform: translateY(calc(var(--py, 0) * 40px + 50px)) rotate(-3deg); }

/* safety */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background-color .3s, transform .4s var(--ease); }
.card:hover { border-color: rgba(245, 183, 10, .35); background: var(--surface-2); transform: translateY(-3px); }
.card .ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(245, 183, 10, .1); color: var(--amber); margin-bottom: 14px; }
.card .ic svg { width: 22px; height: 22px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16.5px; }
.safety-shot { margin-top: clamp(36px, 5vw, 64px); }
.h3-lg { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.02em; }
.hard { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hard li { font-size: 15.5px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(245, 183, 10, .25); background: rgba(245, 183, 10, .05); color: #f2e9d4; }

/* downloads */
.dls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.dl-card { position: relative; padding: 24px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--surface); display: grid; gap: 14px; }
.dl-card.is-rec { border-color: rgba(245, 183, 10, .55); background: radial-gradient(140% 90% at 50% 0, rgba(245, 183, 10, .11), transparent 60%), var(--surface); box-shadow: 0 0 80px -30px var(--glow); }
.rec { display: none; position: absolute; top: -12px; inset-inline-start: 24px; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--amber); color: var(--amber-ink); }
.dl-card.is-rec .rec { display: block; }
.dl-top { display: flex; gap: 16px; align-items: flex-start; }
.dl-ic { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: rgba(245, 183, 10, .1); color: var(--amber); }
.dl-ic svg { width: 26px; height: 26px; }
.dl-top h3 { font-size: 22px; }
.dl-top p { color: var(--muted); font-size: 16px; margin-top: 4px; }
.dl-card .btn { width: 100%; }
.dl-meta { color: var(--muted); font-size: 14.5px; text-align: center; margin-top: -8px; }
.dl-how { border-top: 1px solid var(--line); padding-top: 14px; font-size: 15.5px; color: var(--muted); }
.dl-how ol { margin: 8px 0 0; padding-inline-start: 20px; display: grid; gap: 4px; }
.dl-how b { color: var(--text); }
.dl-card.is-soon .dl-top p { color: var(--dim); }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, background-color .3s; }
.faq details[open] { border-color: rgba(245, 183, 10, .3); background: var(--surface-2); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 22px; font-weight: 600; font-size: 18.5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 26px; line-height: 1; color: var(--amber); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 18px; color: var(--muted); font-size: 17px; max-width: 70ch; }

/* final */
.final { position: relative; padding: var(--sec) 0 calc(var(--sec) * .8); text-align: center; overflow: hidden; isolation: isolate; }
.final-hex { position: absolute; inset: 0; z-index: -1; background: url("hex.svg") center / 56px 97px; opacity: .9;
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 55%, #000, transparent 75%); mask-image: radial-gradient(ellipse 50% 60% at 50% 55%, #000, transparent 75%); }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 360px at 50% 55%, rgba(245, 183, 10, .16), transparent 70%); }
.final .logo { margin: 0 auto 18px; width: 72px; height: 72px; filter: drop-shadow(0 0 40px rgba(245, 183, 10, .45)); }
.final h2 { font-size: clamp(42px, 6.4vw, 92px); }
.final .sub { margin-inline: auto; }
.final .dl-note { margin-top: 18px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 15.5px; color: var(--dim); }
.foot-row { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.disclaimer { font-size: 14px; max-width: 900px; margin-top: 8px; }

/* legal + 404 */
.legal { padding: clamp(48px, 8vw, 96px) 0 96px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(36px, 5.4vw, 56px); letter-spacing: -.02em; margin-bottom: 18px; }
.legal h2 { font-size: 26px; letter-spacing: -.01em; margin: 44px 0 12px; }
.legal h3 { font-size: 19px; margin: 28px 0 8px; }
.legal p, .legal li { color: #dcd4c4; }
.legal p + p { margin-top: 12px; }
.legal li { margin-bottom: 8px; }
.legal .meta { color: var(--dim); }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--line-2); padding: 10px 12px; text-align: start; vertical-align: top; }
.legal th { background: var(--solid-2); }
.legal code { font: 13.5px var(--mono); background: var(--solid-2); padding: 1px 6px; border-radius: 6px; direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; }
.box { background: var(--surface); border: 1px solid rgba(245, 183, 10, .3); border-radius: 14px; padding: 18px 20px; margin: 18px 0; }
.box p { color: var(--text); }
.nf { position: relative; min-height: 76vh; display: grid; place-items: center; text-align: center; padding: 60px 0; isolation: isolate; overflow: hidden; }
.nf .code { font-size: clamp(6rem, 20vw, 11rem); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--amber); margin: 0 0 12px; letter-spacing: -.04em; }
.nf h1 { font-size: clamp(30px, 4vw, 44px); }
.nf h2 { font-size: 24px; margin-top: 44px; }
.nf .sub { margin: 12px auto 22px; }

/* ---------- reveal ---------- */
.rv { transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
/* enhancement only: content is visible by default (no JS, print, full-page capture). motion.js adds .rv-armed and
   force-reveals everything after ~1 s. Even armed, an element is never fully transparent. */
.rv-armed .rv:not(.in) { opacity: .45; transform: translateY(14px); }

/* ---------- polish: entrance, honeycomb stagger, pointer spotlight ---------- */
.js .hero-copy > * { animation: rise .6s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .08s; }
.js .hero-copy > :nth-child(3) { animation-delay: .18s; }
.js .hero-copy > :nth-child(4) { animation-delay: .28s; }
.js .hero-copy > :nth-child(5) { animation-delay: .36s; }
.js .hive { animation: fadein 1.6s ease both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.comb.rv, .rv-armed .comb.rv:not(.in) { opacity: 1; transform: none; }
.comb .cell { transition: opacity .5s var(--ease), background-color .3s, transform .35s var(--ease); transition-delay: calc(var(--i, 0) * 30ms), 0s, 0s; }
.rv-armed .comb:not(.in) .cell { opacity: .4; }
.card, .step, .dl-card { --mx: 50%; --my: 0%; }
.card::before, .step::before, .dl-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(245, 183, 10, .12), transparent 70%); }
.card, .step { position: relative; }
.card:hover::before, .step:hover::before, .dl-card:hover::before { opacity: 1; }
.tab-hidden .aurora i, .tab-hidden .xfade .next, .tab-hidden .pulse::after, .tab-hidden .mq-track { animation-play-state: paused; }
.hero-copy { will-change: transform, opacity; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .comb { --w: 116px; }
}
@media (max-width: 1080px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-height: 800px) and (min-width: 961px) { .scroll-cue { display: none; } }
@media (max-width: 960px) {
  .split, .split.wide-media, .hive-wrap { grid-template-columns: 1fr; }
  .steps, .cards, .dls { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .dls { max-width: 520px; margin-inline: auto; }
  .toast { display: none; }
  .hive-copy { text-align: start; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 36px); }
  .top .wrap { gap: 10px; height: 60px; }
  .brand { font-size: 18px; }
  .hero { padding: 120px 0 90px; min-height: max(600px, calc(100svh - 40px)); }
  .eyebrow { font-size: 12.5px; padding: 6px 12px; }
  .hero h1 { font-size: clamp(40px, 11.6vw, 56px); }
  .lede { font-size: 17px; }
  .cta-row .btn { width: 100%; }
  .scroll-cue { display: none; }
  .proof { margin-top: -40px; }
  .stage .dev-phone { width: 30vw; inset-inline-end: -4px; bottom: -26px; border-radius: 22px; padding: 4px; }
  .stage .dev-phone img { border-radius: 18px; }
  .dev-win { border-radius: 10px; }
  .cards { grid-template-columns: 1fr; }
  .step { padding: 28px 22px 24px; }
  .comb { --w: 94px; --gap: 4px; grid-template-columns: repeat(7, calc(var(--w) / 2 + var(--gap) / 2)); }
  .comb .cell:nth-child(8n + 5) { grid-column: span 2; }
  .comb .cell:nth-child(6n + 4) { grid-column: 2 / span 2; }
  .cell h3 { font-size: 12px; }
  .cell-ic svg { width: 22px; height: 22px; }
  .cell-in { padding: 0 8px; gap: 6px; }
  .readout { padding: 22px; min-height: 0; }
  .app { font-size: 16px; padding: 12px 20px; }
  .msgs { min-height: 380px; }
  .faq summary { font-size: 16.5px; padding: 18px 18px; }
  .faq .a { padding: 0 18px 18px; }
  .dl-card { padding: 24px 20px; }
}
@media (max-width: 360px) {
  .comb { --w: 84px; --gap: 4px; }
}

/* ---------- screenshots: click to zoom ---------- */
[data-zoomable] { cursor: zoom-in; }
[data-zoomable]:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; }
.zoom-hint { position: absolute; inset-block-end: 10px; inset-inline-end: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(8, 7, 5, .78); border: 1px solid var(--line-2); color: var(--text); font-size: 13px; font-weight: 600; pointer-events: none; opacity: 0; transition: opacity .25s; }
.frame:hover .zoom-hint, .dev-win:hover .zoom-hint, .shot:hover .zoom-hint, .dev-phone:hover .zoom-hint, .has-zoom:focus-within .zoom-hint { opacity: 1; }
@media (hover: none) { .zoom-hint { opacity: .95; } }
.shot, .frame, .dev-win, .dev-phone { position: relative; }
.lb { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto minmax(0, 1fr); background: rgba(3, 3, 2, .94); backdrop-filter: blur(8px); animation: fadein .2s ease both; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; color: var(--muted); font-size: 15px; }
.lb-btns { display: flex; gap: 8px; flex: none; }
.lb button { min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); color: var(--text); cursor: pointer; font-weight: 600; font-size: 15px; }
.lb button:hover { border-color: rgba(245, 183, 10, .6); }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 0 18px 18px; overflow: auto; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 92px); max-height: calc(100dvh - 92px); width: auto; height: auto; border-radius: 12px; border: 1px solid var(--line-2); box-shadow: 0 40px 120px -20px #000; background: #0d0d0d; }
body.lb-open { overflow: hidden; }

/* ---------- reduced motion: a still page ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .rv-armed .rv:not(.in) { opacity: 1; transform: none; }
  .dev-win, .stage .dev-phone, .toast { transform: none !important; }
  .xfade .next { opacity: 0; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .mq-row { width: auto; }
  .mq-track { flex-wrap: wrap; justify-content: center; }
  .mq-track[aria-hidden] { display: none; }
  .marquee { width: min(var(--wrap), 100% - 36px); margin-inline: auto; }
}
