/* kadabox.com — the marketing site. Colours, type, the mark and the buttons
   come from the kit (/kit/kit.css, written from kit/tokens.json); this file
   lays the page out: real screens of the app in device frames, pieces of the
   UI around them, and four chapters (your inbox, AI, Reels, privacy).
   The site is dark and cinematic ("the tide", at the end of this file): a
   lagoon shader under the hero, headlines that write themselves in, a
   manifesto that lights up as you scroll, the app rising flat as you go,
   and the name bleeding off the footer. Dark only: the screenshots are the
   dark ones and the live demo opens dark. */
:root {
  --max: 1180px;
  --fg: var(--kb-fg); --dim: var(--kb-dim); --line: var(--kb-line);
  font: 17px/1.6 var(--kb-font);
  font-feature-settings: "cv11", "ss01";
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--kb-bg); color: var(--fg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.hero .wrap, .top .wrap { max-width: 1320px; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.08; }
h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 780; }
h3 { font-size: 18px; letter-spacing: -.015em; }
p { margin: 0; }
q { quotes: "“" "”"; font-weight: 600; color: var(--fg); }
.kb-btn.sm { height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 12px; }
.kb-btn.wide { width: 100%; }
.kb-mark.big { width: 64px; height: 64px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1em; height: 1em; flex: none; fill: currentColor; }
.link { padding: 0; border: 0; background: none; font: inherit; color: var(--kb-acc); font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- words that stand out: the accent ---------- */
.hl { color: var(--kb-acc); }

/* ---------- the bar ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--kb-bg); border-bottom: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.bar { display: flex; align-items: center; gap: 28px; height: 68px; }
.bar nav { display: flex; gap: 26px; margin-left: 12px; font-size: 15px; font-weight: 550; }
.bar nav a { text-decoration: none; color: var(--dim); transition: color .2s; }
.bar nav a:hover { color: var(--fg); }
.bar-cta { margin-left: auto; display: flex; gap: 8px; }
.bar-cta .signin { gap: 7px; padding-left: 14px; }
.bar-cta .signin svg { width: 18px; height: 18px; }
.top:not(.scrolled) { border-bottom-color: transparent; }
.top.scrolled { box-shadow: 0 10px 30px -22px rgba(11, 12, 16, .5); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--kb-solid); box-shadow: var(--kb-shadow); }
.skip:focus { top: 12px; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.3fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 5.6vw, 74px); font-weight: 820; letter-spacing: -.048em; line-height: 1.0; margin: 22px 0 22px; }
/* the promise breaks as "Only on / your phone.", never leaving a word alone */
.hero h1 .hl { display: inline-block; text-wrap: balance; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- the store badges: Google Play and the web ---------- */
/* Google's badge is black with a hairline in every theme; the web one wears the same shape. */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store { display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 24px 0 16px; border-radius: 14px; background: #000; color: #fff;
  border: 1px solid #a6a6a6; text-decoration: none; transition: transform .15s var(--kb-enter), background .2s; }
.store:hover { background: #1b1f26; }
.store:active { transform: scale(.975); }
.store > span:last-child { display: grid; text-align: left; }
.store small { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; line-height: 1.2; opacity: .88; }
.store b { font-size: 21px; font-weight: 650; letter-spacing: -.015em; line-height: 1.15; }
.store-logo { width: 30px; height: 30px; flex: none; }
.store.web .store-logo { display: grid; place-items: center; border-radius: 50%; background: var(--kb-v-sky); }
.store.web .store-logo .ic { width: 19px; height: 19px; color: #fff; }
.store.wide { width: 100%; justify-content: center; }
/* Waiting for launch: the badges show, nothing to press yet. */
.store.soon, .kb-btn.soon { cursor: default; opacity: .62; pointer-events: none; }
.store.soon { filter: saturate(.6); }
.foot-col .soon { color: var(--dim); opacity: .75; }
.try-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--fg); font-weight: 650; font-size: 15.5px; text-decoration: none; }
.try-link svg { width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: var(--kb-acc); color: var(--kb-acc-ink); }
.try-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- vivid icons: a solid colour tile, a white glyph (kit/tokens.json "vivid") ---------- */
.c-orange { --v: var(--kb-v-orange); } .c-amber { --v: var(--kb-v-amber); } .c-green { --v: var(--kb-v-green); }
.c-teal { --v: var(--kb-v-teal); } .c-sky { --v: var(--kb-v-sky); } .c-blue { --v: var(--kb-v-blue); }
.c-purple { --v: var(--kb-v-purple); } .c-pink { --v: var(--kb-v-pink); } .c-red { --v: var(--kb-v-red); }
:is(.pr-ic, .en-ic, .rf-ic, .nicon, .pm-ic, .wi-ic, .g-ic, .ps-big, .see-ic, .h-ic, .pc-ic, .way-ic, .fg-ic):is(.c-orange, .c-amber, .c-green, .c-teal, .c-sky, .c-blue, .c-purple, .c-pink, .c-red) {
  background: var(--v); color: #fff; box-shadow: 0 8px 18px -10px var(--v); }
/* emoji tiles (the day, the demo's shortcuts) keep their own colours on a tint of the tile's */
:is(.tl-ic, .launch .lic):is(.c-orange, .c-amber, .c-green, .c-teal, .c-sky, .c-blue, .c-purple, .c-pink, .c-red) { background: color-mix(in srgb, var(--v) 18%, transparent); color: var(--v); }
/* a small tile before a card's title */
.h-ic { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 11px; border-radius: 9px; vertical-align: -6px; }
.h-ic .ic { width: 17px; height: 17px; }

/* ---------- checks: a green disc with the app's check, centred on the first line ---------- */
.ticks, .lv-card ul, .pc-list { --ck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.55 15.15l8.475-8.475q.3-.3 .7-.3t.7 .3q.3 .3 .3 .713T19.425 8.1L10.25 17.3q-.3 .3-.7 .3t-.7-.3L4.55 13q-.3-.3-.288-.712T4.575 11.575q.3-.3 .713-.3t.713 .3l3.55 3.575Z'/%3E%3C/svg%3E"); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; font-size: 15.5px; line-height: 1.5; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before, .ticks li::after { content: ""; position: absolute; left: 0; top: calc(.75em - 11px); width: 22px; height: 22px; border-radius: 50%; }
.ticks li::before { background: var(--kb-v-green); }
.ticks li::after { background: #fff; -webkit-mask: var(--ck) center / 15px no-repeat; mask: var(--ck) center / 15px no-repeat; }
.nets { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 30px 0 0; font-size: 14.5px; font-weight: 600; color: var(--dim); }
.nets li { display: inline-flex; align-items: center; gap: 8px; }

/* the stage: a window, a phone in front, pieces floating */
.stage { position: relative; aspect-ratio: 1.42; }
.win { position: absolute; margin: 0; border-radius: 16px; overflow: hidden; background: var(--kb-solid); border: 1px solid var(--kb-line2);
  box-shadow: 0 2px 4px rgba(11, 12, 16, .06), 0 40px 90px -30px rgba(11, 12, 16, .45); }
.winbar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--kb-solid) 92%, var(--fg)); }
.winbar i { width: 11px; height: 11px; border-radius: 50%; background: var(--kb-line2); }
.winbar i:nth-child(1) { background: #ff5f57; } .winbar i:nth-child(2) { background: #febc2e; } .winbar i:nth-child(3) { background: #28c840; }
.winbar .url { margin: 0 auto; transform: translateX(-24px); padding: 3px 14px; border-radius: 8px; font-size: 12px; color: var(--dim); background: var(--kb-hover); }
.stage .win { inset: 0 10% auto 0; }
.phone { position: relative; margin: 0; width: 100%; max-width: 300px; aspect-ratio: 390 / 844; padding: 9px; border-radius: 46px; background: #0b0c10;
  box-shadow: 0 0 0 1.5px #313a45 inset, 0 0 0 1px rgba(255, 255, 255, .06), 0 50px 100px -30px rgba(11, 12, 16, .55), 0 18px 40px -20px rgba(0, 0, 0, .5); }
.phone::before { content: ""; position: absolute; z-index: 2; top: 17px; left: 50%; width: 30%; height: 22px; margin-left: -15%; border-radius: 20px; background: #0b0c10; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 37px; }
.hero-phone { position: absolute; right: 0; bottom: -14%; width: 34%; max-width: none; padding: 7px; border-radius: 36px; }
.hero-phone::before { top: 12px; height: 16px; border-radius: 12px; }
.hero-phone img { border-radius: 29px; }

/* pieces of the UI, as the app draws them */
.piece { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 16px; font-size: 14px; font-weight: 550;
  color: var(--fg); background: var(--kb-solid); border: 1px solid var(--kb-line2); box-shadow: var(--kb-shadow-lg); }
.piece small { display: block; font-size: 12px; font-weight: 500; color: var(--dim); }
.piece .ic { width: 18px; height: 18px; }
.p-idea { left: -6%; bottom: 6%; flex-direction: column; align-items: flex-start; gap: 3px; max-width: 270px; padding: 13px 16px; border-radius: 16px 16px 16px 5px; }
.p-idea b { font-size: 12px; font-weight: 650; color: var(--dim); }
.p-idea .es { font-size: 15px; font-weight: 600; line-height: 1.35; }
.p-idea .gloss { font-size: 12.5px; color: var(--dim); font-weight: 500; border-top: 1px dashed var(--kb-line2); padding-top: 5px; margin-top: 3px; width: 100%; }
.p-tr { left: 14%; top: -11%; font-size: 13px; }
.p-tr em { font-style: normal; color: var(--kb-acc); font-weight: 650; }
.p-tr .flag { font-size: 16px; }
.p-lock { right: 25%; bottom: -6%; color: var(--kb-good); font-size: 13.5px; }

.float-a { animation: float 7s ease-in-out infinite; }
.float-b { animation: float 8s ease-in-out -2s infinite; }
.float-c { animation: float 9s ease-in-out -4s infinite; }
@keyframes float { 50% { transform: translateY(-9px); } }

/* ---------- the strip ---------- */
.strip { padding: 64px 0 24px; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: var(--kb-r-lg); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.strip-grid div { padding: 24px 26px; background: var(--kb-solid); }
.strip-grid b { display: block; font-size: 34px; letter-spacing: -.04em; font-weight: 820; color: var(--kb-acc); }
.strip-grid span { font-size: 14.5px; color: var(--dim); }

/* ---------- chapters ---------- */
section { position: relative; }
.chapter-head { padding: 160px 0 10px; }
.chapter { max-width: 880px; margin: 0 auto; text-align: center; }
.chapter h2 { font-size: clamp(38px, 5.6vw, 68px); letter-spacing: -.048em; font-weight: 820; line-height: 1.02; text-wrap: balance; }
.chapter p { margin: 24px auto 0; max-width: 40em; color: var(--dim); font-size: clamp(17px, 1.6vw, 19.5px); }

/* ---------- features: words on one side, the screen on the other ---------- */
.feature { padding: 110px 0 40px; }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.feature.flip .copy { order: 2; }
.copy p { color: var(--dim); font-size: 17.5px; margin-top: 18px; max-width: 32em; }
.copy h2 { max-width: 15em; }

.shot-pair { position: relative; display: grid; place-items: center; min-height: 560px; }
.shot-pair::before { content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; background: var(--kb-acc-soft); }
.tilt-l { transform: rotate(-3deg); } .tilt-r { transform: rotate(3deg); }
.p-progress { left: 2%; top: 16%; }
.ring { --p: 33; width: 34px; height: 34px; border-radius: 50%; flex: none; background: conic-gradient(var(--kb-acc) calc(var(--p) * 1%), var(--kb-line2) 0); -webkit-mask: radial-gradient(circle, transparent 11px, #000 12px); mask: radial-gradient(circle, transparent 11px, #000 12px); }
.p-progress b, .p-zero b { display: block; font-size: 14.5px; }
.p-zero { right: 0; bottom: 14%; font-size: 24px; }
.p-orig { right: -2%; top: 22%; flex-direction: column; align-items: flex-start; gap: 2px; max-width: 250px; }
.p-orig span { font-size: 14px; line-height: 1.35; }
.p-orig .arrow { font-style: normal; color: var(--kb-acc); font-weight: 700; margin: 2px 0; }
.p-orig .en { font-weight: 650; }
.p-brief { left: -4%; bottom: 12%; max-width: 300px; font-size: 13.5px; line-height: 1.4; align-items: flex-start; background: color-mix(in srgb, var(--kb-acc) 12%, var(--kb-solid)); }
.p-brief .kb-spark { font-size: 16px; }

/* ---------- cards: a product, a place, an album ---------- */
.lc-pair { min-height: 600px; }
.lc-col { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 14px; width: min(320px, 86%); transform: rotate(-2deg); }
.lc-card { border-radius: 18px; overflow: hidden; background: var(--kb-solid); border: 1px solid var(--kb-line2); box-shadow: var(--kb-shadow-lg); }
.lc-pic { position: relative; background: #f5f5f3; }
.lc-pic svg, .lc-mapview svg { display: block; width: 100%; height: auto; }
.lc-count { position: absolute; top: 10px; right: 10px; padding: 2px 9px; border-radius: 99px; background: rgba(0,0,0,.55); color: #fff; font-size: 11.5px; font-weight: 650; }
.lc-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; }
.lc-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(0,0,0,.2); }
.lc-dots i.on { background: var(--kb-acc); }
.lc-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.lc-shop .lc-body { border-top: 3px solid #e62e04; }
.lc-site { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--dim); }
.lc-site i { width: 8px; height: 8px; border-radius: 50%; background: #e62e04; }
.lc-title { font-size: 15px; line-height: 1.3; }
.lc-price { display: flex; align-items: baseline; gap: 8px; }
.lc-price b { font-size: 21px; color: var(--kb-acc); }
.lc-price s { font-size: 13px; color: var(--dim); }
.lc-price em { font-style: normal; font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 6px; background: var(--kb-acc-soft); color: var(--kb-acc); }
.lc-meta { font-size: 12.5px; color: var(--dim); }
.lc-open { display: grid; place-items: center; height: 38px; margin-top: 6px; border-radius: 10px; background: var(--kb-acc); color: var(--kb-acc-ink); font-size: 14px; font-weight: 650; }
.lc-mapview { position: relative; }
.lc-pin { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -32px 0 0 -17px; color: var(--kb-v-red); }
.lc-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.lc-apps span { display: flex; align-items: center; justify-content: center; gap: 5px; height: 32px; border-radius: 9px; background: color-mix(in srgb, var(--fg) 6%, var(--kb-solid)); font-size: 12.5px; font-weight: 650; }
.lc-apps .dir { background: var(--kb-acc); color: var(--kb-acc-ink); }
.lc-apps .ic { width: 15px; height: 15px; }
.lc-album { right: -2%; bottom: 8%; gap: 5px; padding: 8px; }
.lc-tile { width: 46px; height: 58px; border-radius: 8px; background: var(--t); }
.lc-n { display: flex; align-items: center; gap: 3px; margin-left: 4px; font-size: 13px; font-weight: 700; }
@media (max-width: 900px) { .lc-pair { min-height: 0; padding: 30px 0; } .lc-album { right: 0; bottom: -10px; } }

/* ---------- tags: a list narrowed to one, its labels on the rows ---------- */
.tg-pair { min-height: 560px; }
.tg-mock { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 2px; width: min(360px, 90%); padding: 14px 10px 10px; border-radius: 22px; background: var(--kb-solid); border: 1px solid var(--kb-line2); box-shadow: var(--kb-shadow-lg); transform: rotate(1.5deg); }
.tg-chips { display: flex; gap: 6px; padding: 0 4px 10px; overflow: hidden; }
.tg-chips span { flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-radius: 15px; font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--kb-line2); color: var(--dim); white-space: nowrap; }
.tg-chips span.on { color: var(--fg); box-shadow: none; background: color-mix(in srgb, var(--kb-v-orange) 16%, var(--kb-solid)); }
.tg-chips i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.tg-chips b { font-weight: 750; }
.tg-row { display: flex; align-items: center; gap: 12px; padding: 9px 6px; border-radius: 14px; }
.tg-av { position: relative; flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, var(--c) 22%, var(--kb-solid)); color: var(--c); font-weight: 700; }
.tg-av img { width: 100%; height: 100%; border-radius: 50%; }
.tg-av .kb-net { position: absolute; left: -2px; bottom: -2px; width: 17px; height: 17px; box-shadow: 0 0 0 2px var(--kb-solid); }
.tg-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.tg-tx b { font-size: 15px; }
.tg-tx small { font-size: 13px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-tags { display: flex; gap: 4px; margin-top: 3px; }
.tg-tags em { font-style: normal; height: 18px; padding: 0 7px; border-radius: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .3px; line-height: 18px; text-transform: uppercase; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.tg-n { flex-shrink: 0; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--kb-acc); color: var(--kb-acc-ink); font-size: 12px; font-weight: 700; }
.tg-piece { left: -4%; bottom: 10%; }
.tg-tile { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, var(--c) 20%, var(--kb-solid)); font-size: 19px; }

/* ---------- later: scheduling, saved replies, a birthday, a reminder ---------- */
.lt-pair { min-height: 560px; }
.lt-col { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 14px; width: min(330px, 88%); transform: rotate(-1.5deg); }
.lt-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 20px; background: var(--kb-solid); border: 1px solid var(--kb-line2); box-shadow: var(--kb-shadow-lg); }
.lt-card > b { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.lt-card .ic { width: 18px; height: 18px; color: var(--kb-acc); }
.lt-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lt-quick span { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 11px; font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--kb-line2); }
.lt-quick span.on { box-shadow: none; background: var(--kb-acc-soft); color: var(--kb-acc); }
.lt-quick small { font-size: 11.5px; font-weight: 500; opacity: .8; }
.lt-rep { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--dim); }
.lt-go { display: grid; place-items: center; height: 38px; border-radius: 12px; background: var(--kb-acc); color: var(--kb-acc-ink); font-size: 14px; font-weight: 650; }
.lt-qrhead { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--kb-acc); }
.lt-qr { display: flex; gap: 10px; align-items: baseline; padding: 6px 8px; border-radius: 10px; font-size: 13.5px; }
.lt-qr:first-of-type { background: color-mix(in srgb, var(--fg) 6%, var(--kb-solid)); }
.lt-qr b { color: var(--kb-acc); }
.lt-qr span { color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-bday { right: -3%; top: 4%; background: color-mix(in srgb, var(--kb-v-pink) 12%, var(--kb-solid)); font-size: 22px; }
.lt-bday b { font-size: 14px; }
.lt-remind { left: -4%; bottom: 6%; }
.lt-remind .ic { color: var(--kb-acc); }
@media (max-width: 900px) { .tg-pair, .lt-pair { min-height: 0; padding: 30px 0; } .tg-piece, .lt-remind { left: 0; bottom: -10px; } .lt-bday { right: 0; top: -10px; } }

/* bento: the heads-up over a composer */
.headsmock { display: flex; flex-direction: column; gap: 7px; width: min(460px, 94%); }
.headsmock .hm { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 12px; border-radius: 14px; font-size: 13.5px;
  background: color-mix(in srgb, var(--kb-acc) 13%, var(--kb-solid)); box-shadow: inset 0 0 0 1px var(--kb-line2); }
.headsmock .hm.warn { background: color-mix(in srgb, var(--kb-warn) 18%, var(--kb-solid)); }
.headsmock .hm .ic { width: 18px; height: 18px; flex-shrink: 0; color: var(--kb-acc); }
.headsmock .hm.warn .ic { color: var(--kb-warn); }
.headsmock .hm b { flex: 1; font-weight: 500; }
.headsmock .hm em { font-style: normal; font-weight: 600; font-size: 13px; color: var(--kb-acc); }
.headsmock .hmbox { position: relative; margin-top: 3px; padding: 12px 18px; border-radius: 22px; background: var(--kb-solid); box-shadow: inset 0 0 0 1px var(--kb-line2);
  font-size: 14px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.headsmock .hmbox i { display: inline-block; width: 2px; height: 16px; margin-left: 2px; vertical-align: -3px; background: var(--kb-acc); animation: hmcaret 1s steps(1) infinite; }
@keyframes hmcaret { 50% { opacity: 0; } }
.reveal.in .headsmock .hm { animation: hmin .5s var(--kb-enter) backwards; }
.reveal.in .headsmock .hm + .hm { animation-delay: .15s; }
@keyframes hmin { from { opacity: 0; transform: translateY(10px); } }
/* Drunk mode (#drunk): a phone in its glow — the bar, a held message, the ask with the
   10-second press filling — beside six cards */
@property --dk-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.drunk { padding: 130px 0 40px; }
.dk-head { max-width: 760px; margin: 0 auto; text-align: center; }
.dk-head h2 { margin: 18px auto 0; max-width: 14em; }
.dk-head p { margin: 20px auto 0; max-width: 40em; color: var(--dim); font-size: 17px; line-height: 1.6; }
.dk-kick { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 99px; font-size: 13.5px; font-weight: 650;
  color: var(--kb-glow); background: color-mix(in srgb, var(--kb-glow) 13%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--kb-glow) 35%, transparent); }
.dk-kick .ic { width: 18px; height: 18px; }
.dk-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; margin-top: 72px; }
.dk-stage { position: relative; display: grid; place-items: center; padding: 30px 0; }
.dk-stage::before { content: ""; position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--kb-glow) 26%, transparent), transparent); filter: blur(30px); }
.dk-phone { position: relative; width: min(330px, 86vw); padding: 10px; border-radius: 48px; background: #0b0f14; box-shadow: var(--kb-shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.1); }
.dk-screen { position: relative; display: flex; flex-direction: column; gap: 10px; height: 610px; padding: 14px 12px 12px; border-radius: 38px; overflow: hidden;
  background: radial-gradient(120% 50% at 50% 0, color-mix(in srgb, var(--kb-glow) 10%, transparent), transparent), #12171d; }
/* the glow: a rounded line of light turning around the screen, and its breath inside */
.dk-screen::before, .dk-screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4; }
.dk-screen::after { padding: 3px; background: conic-gradient(from var(--dk-a), var(--kb-glow), var(--kb-warn), var(--kb-foam), var(--kb-warn), var(--kb-glow));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.dk-screen::before { box-shadow: inset 0 0 34px 6px color-mix(in srgb, var(--kb-glow) 40%, transparent); }
.reveal.in .dk-screen::after { animation: dkturn 14s linear infinite; }
.reveal.in .dk-screen::before { animation: dkbreath 6s ease-in-out infinite; }
@keyframes dkturn { to { --dk-a: 360deg; } }
@keyframes dkbreath { 50% { opacity: .4; } }
.dk-top { display: flex; align-items: center; gap: 10px; padding: 4px 6px; }
.dk-top b { display: block; font-size: 15px; }
.dk-top small { font-size: 12px; color: var(--dim); }
.dk-av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--av); color: #fff; font-weight: 650; }
.dk-bar { display: flex; align-items: center; gap: 9px; padding: 7px 7px 7px 9px; border-radius: 14px; font-size: 13px;
  background: color-mix(in srgb, var(--kb-glow) 13%, #1a2028); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--kb-glow) 30%, transparent); }
.dk-bar > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.dk-bar small { font-size: 11.5px; color: var(--dim); }
.dk-bar em { font-style: normal; font-weight: 650; font-size: 12px; padding: 6px 11px; border-radius: 99px; background: color-mix(in srgb, var(--kb-glow) 24%, transparent); }
.dk-bic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb, var(--kb-glow) 24%, transparent); color: var(--kb-glow); }
.dk-bic .ic { width: 17px; height: 17px; }
.dk-thread { display: flex; flex-direction: column; gap: 6px; padding: 6px 4px; }
.dk-b { max-width: 82%; padding: 8px 11px; border-radius: 12px; font-size: 13.5px; line-height: 1.35; }
.dk-b i { margin-left: 8px; font-style: normal; font-size: 10.5px; color: var(--dim); }
.dk-b.in { align-self: flex-start; background: #232b34; border-top-left-radius: 4px; }
.dk-b.out { align-self: flex-end; border-top-right-radius: 4px; background: color-mix(in srgb, var(--kb-glow) 14%, #1d2a2c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--kb-glow) 35%, transparent); }
.dk-b.held .ic { width: 14px; height: 14px; margin-right: 5px; vertical-align: -2px; color: var(--kb-glow); }
/* the ask, as Kadabox draws it: a sheet with the icon in its halo */
.dk-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 14px 16px;
  border-radius: 24px 24px 0 0; background: radial-gradient(130% 60% at 50% -8%, color-mix(in srgb, var(--kb-glow) 15%, transparent), transparent 62%), #1d242c;
  box-shadow: 0 -12px 40px rgba(0,0,0,.45), inset 0 1px 0 color-mix(in srgb, var(--kb-glow) 25%, transparent); }
.reveal.in .dk-sheet { animation: dksheet .8s var(--kb-enter) .5s backwards; }
@keyframes dksheet { from { transform: translateY(100%); } }
.dk-halo { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; color: var(--kb-glow); background: color-mix(in srgb, var(--kb-glow) 18%, #1d242c);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--kb-glow) 8%, transparent), 0 0 28px 4px color-mix(in srgb, var(--kb-glow) 30%, transparent); }
.dk-halo .ic { width: 25px; height: 25px; }
.dk-title { font-size: 16px; }
.dk-q { align-self: flex-end; max-width: 88%; padding: 7px 11px; border-radius: 12px 12px 4px 12px; background: #1f4a45; font-size: 13px; }
.dk-opt { align-self: stretch; display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 12px; background: rgba(255,255,255,.05); font-size: 13px; font-weight: 600; }
.dk-opt .ic { width: 17px; height: 17px; color: var(--kb-glow); }
.dk-opt.lit { background: color-mix(in srgb, var(--kb-glow) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--kb-glow) 30%, transparent); }
.dk-press { position: relative; align-self: stretch; display: grid; place-items: center; height: 40px; border-radius: 99px; overflow: hidden; isolation: isolate; font-size: 13.5px; font-weight: 650;
  background: color-mix(in srgb, var(--kb-glow) 14%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--kb-glow) 60%, transparent); }
.dk-press i { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--kb-glow) 60%, transparent), color-mix(in srgb, var(--kb-warn) 60%, transparent)); transform: scaleX(0); transform-origin: left; }
.reveal.in .dk-press i { animation: dkfill 10s linear 1.4s infinite; }
@keyframes dkfill { 80% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.dk-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dk-card { padding: 22px; border-radius: 22px; background: var(--kb-solid); border: 1px solid var(--kb-line); }
.dk-card .h-ic { margin: 0 0 14px; }
.dk-card h3 { margin: 0; font-size: 17px; }
.dk-card p { margin: 8px 0 0; color: var(--dim); font-size: 14.5px; line-height: 1.55; }
.reveal.in .dk-card { animation: dkcard .7s var(--kb-enter) backwards; }
.reveal.in .dk-card:nth-child(2) { animation-delay: .06s; } .reveal.in .dk-card:nth-child(3) { animation-delay: .12s; }
.reveal.in .dk-card:nth-child(4) { animation-delay: .18s; } .reveal.in .dk-card:nth-child(5) { animation-delay: .24s; } .reveal.in .dk-card:nth-child(6) { animation-delay: .3s; }
@keyframes dkcard { from { opacity: 0; transform: translateY(16px); } }
.dk-foot { display: flex; justify-content: center; margin-top: 18px; }
@media (max-width: 1000px) {
  .dk-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: 48px; }
}
@media (max-width: 640px) { .dk-cards { grid-template-columns: minmax(0, 1fr); } .drunk { padding-top: 100px; } }
@media (prefers-reduced-motion: reduce) { .reveal.in .dk-screen::before, .reveal.in .dk-screen::after, .reveal.in .dk-sheet, .reveal.in .dk-press i, .reveal.in .dk-card { animation: none; } }
/* bento: a poll, a request, a voice note being cut */
.pollmock { display: flex; flex-direction: column; gap: 6px; width: min(260px, 90%); }
.pollmock b { font-size: 15px; }
.pollmock span { position: relative; display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; background: var(--kb-solid); box-shadow: inset 0 0 0 1px var(--kb-line2); font-size: 13.5px; font-weight: 600; }
.pollmock span i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--kb-line2); }
.pollmock span.on i { background: var(--kb-acc); box-shadow: none; }
.pollmock em { margin-left: auto; font-style: normal; color: var(--dim); }
.reqmock { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--kb-solid); box-shadow: inset 0 0 0 1px var(--kb-line2); }
.reqmock b { display: block; font-size: 14.5px; }
.reqmock small { font-size: 12.5px; color: var(--dim); }
.rq-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--kb-acc-soft); color: var(--kb-acc); }
.rq-ic .ic { width: 20px; height: 20px; }
.trimmock { position: relative; display: flex; align-items: center; gap: 0; width: 220px; height: 44px; border-radius: 12px; background: repeating-linear-gradient(90deg, var(--kb-acc) 0 2px, transparent 2px 5px); -webkit-mask: radial-gradient(ellipse 120% 60% at 50% 50%, #000 60%, transparent 61%); mask: radial-gradient(ellipse 120% 60% at 50% 50%, #000 60%, transparent 61%); }
.trimmock .h { position: absolute; left: 22%; top: 0; bottom: 0; width: 10px; border-radius: 5px; background: var(--fg); }
.trimmock .h.r { left: auto; right: 18%; }

/* ---------- wide screen ---------- */
.showcase { padding: 120px 0 40px; }
.center-copy { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.center-copy p { color: var(--dim); font-size: 17.5px; margin-top: 16px; }
.win.board { position: relative; inset: auto; max-width: 1060px; margin: 0 auto; }

/* ================= AI ================= */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 64px; }
.pr { padding: 26px 26px 28px; border-radius: 24px; background: var(--kb-solid); border: 1px solid var(--kb-line); box-shadow: var(--kb-shadow); }
.pr-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 18px; background: var(--kb-acc); color: var(--kb-acc-ink); }
.pr-ic .ic { width: 23px; height: 23px; }
.pr h3 { font-size: 19px; }
.pr p { color: var(--dim); font-size: 15px; margin-top: 8px; }

/* reply ideas: a tray you can play with, in the app's own colours (.kbi) */
.tray-wrap { position: relative; }
.tray { display: grid; gap: 14px; padding: 18px; border-radius: 26px; background: var(--i-wall); color: var(--i-txt); border: 1px solid var(--kb-line2); box-shadow: var(--kb-shadow-lg); font-size: 15px; line-height: 1.45; }
.tr-msg { display: flex; gap: 10px; align-items: flex-end; }
.tr-av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none; font-weight: 700; color: #e8833a; background: color-mix(in srgb, #e8833a 22%, transparent); }
.tr-bub { display: grid; gap: 2px; max-width: 86%; padding: 8px 12px 6px; border-radius: 4px 14px 14px 14px; background: var(--i-bub-in); box-shadow: 0 1px .5px rgba(11, 12, 16, .13); }
.tr-bub b { font-size: 13px; color: #e8833a; }
.tr-bub small { font-size: 12px; color: var(--i-dim); }
.tr-bub u, .bb-foot u { text-decoration: none; color: var(--i-acc); font-weight: 650; }
.tr-panel { display: grid; gap: 11px; padding: 14px; border-radius: 20px; background: var(--i-menu); border: 1px solid var(--i-line2); }
.tr-head { display: flex; align-items: center; gap: 8px; font-size: 14px; flex-wrap: wrap; }
.tr-pill { padding: 3px 10px; border-radius: 99px; border: 1px solid var(--i-line2); font-size: 12.5px; font-weight: 600; }
.tr-pill.off { opacity: .55; }
.tr-read { display: flex; gap: 8px; font-size: 13.5px; color: var(--i-dim); }
.tr-read .ic { width: 16px; height: 16px; margin-top: 2px; color: var(--i-acc); }
.tr-intents { display: flex; flex-wrap: wrap; gap: 6px; }
.tr-intents button, .t-modes button { height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--i-line2); background: transparent; color: var(--i-txt); font: 600 13.5px/1 var(--kb-font); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .12s var(--kb-press); }
.tr-intents button:hover, .t-modes button:hover { background: var(--i-hover); }
.tr-intents button:active, .t-modes button:active { transform: scale(.95); }
.tr-intents button[aria-checked="true"], .t-modes button[aria-checked="true"] { background: var(--i-acc-soft); color: var(--i-acc-soft-ink); border-color: transparent; }
.tr-drafts { display: grid; gap: 8px; }
.tr-draft { display: grid; gap: 3px; padding: 10px 12px; border-radius: 14px; background: var(--i-hover); border: 1px solid var(--i-line); transition: border-color .2s; }
.tr-draft:hover { border-color: color-mix(in srgb, var(--i-acc) 50%, transparent); }
.tr-draft b { font-size: 12px; font-weight: 650; color: var(--i-dim); }
.tr-draft b i { font-style: normal; margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: var(--i-nest); font-weight: 600; }
.tr-draft span { font-size: 15px; }
.tr-draft small { margin-top: 2px; padding-top: 4px; border-top: 1px dashed var(--i-line2); font-size: 12.5px; color: var(--i-dim); }
.tr-drafts.swap .tr-draft { animation: bbswap .45s var(--kb-enter) both; }
.tr-drafts.swap .tr-draft:nth-child(2) { animation-delay: .06s; } .tr-drafts.swap .tr-draft:nth-child(3) { animation-delay: .12s; }
.tr-steer { display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 20px; background: var(--i-field); border: 1px solid var(--i-line2); font-size: 13.5px; color: var(--i-dim2); }
.tr-steer .ic { color: var(--i-acc); width: 16px; height: 16px; }
.tray-note { margin-top: 14px; text-align: center; font-size: 14px; color: var(--dim); }

/* it learns from you */
.learned { padding: 70px 0 0; }
.learned-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 44px; border-radius: 32px; background: var(--kb-solid); border: 1px solid var(--kb-line); box-shadow: var(--kb-shadow); }
.learned-copy h3, .control-copy h3, .aipriv-copy h3, .rp-copy h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.035em; font-weight: 780; }
.learned-copy p { color: var(--dim); margin-top: 14px; }
.learned-copy b { color: var(--fg); }
.lv-card { padding: 22px; border-radius: 22px; background: var(--kb-bg); border: 1px solid var(--kb-line2); }
.lv-card > b { display: block; font-size: 16px; }
.lv-card > b small { display: block; font-size: 12.5px; font-weight: 500; color: var(--dim); }
.lv-card ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.lv-card li { display: flex; gap: 12px; align-items: flex-start; }
.lv-card li .ic { width: 22px; height: 22px; padding: 3.5px; margin-top: calc(.75em - 11px); flex: none; border-radius: 50%; background: var(--kb-v-green); color: #fff; }
.lv-foot { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.lv-forget { margin-left: auto; color: var(--kb-bad); font-weight: 650; }
.lv-sw, .sw { position: relative; width: 38px; height: 22px; border-radius: 11px; background: var(--kb-line2); flex: none; }
.lv-sw::after, .sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .25s var(--kb-enter); }
.lv-sw.on, .sw.on { background: var(--kb-acc); }
.lv-sw.on::after, .sw.on::after { transform: translateX(16px); }

/* books and research */
.books-vis { display: grid; gap: 18px; justify-items: center; }
.shelf { display: flex; gap: 7px; align-items: flex-end; height: 132px; padding: 0 12px; border-bottom: 6px solid var(--kb-line2); }
.book { writing-mode: vertical-rl; transform: rotate(180deg); display: grid; place-items: center; padding: 10px 0; border-radius: 4px; font-size: 12px; font-weight: 700; color: #fff; width: 36px;
  box-shadow: inset -3px 0 0 rgba(0, 0, 0, .15); transition: transform .4s var(--kb-spring); }
.b1 { height: 124px; background: #c2489a; } .b2 { height: 104px; background: var(--kb-lagoon); color: #0e1218; } .b3 { height: 128px; background: #1f6feb; } .b4 { height: 96px; background: #2fae6b; } .b5 { height: 118px; background: #6d5bd0; }
.books-vis:hover .b2 { transform: rotate(180deg) translateY(12px); }
.bv-draft { display: grid; gap: 5px; width: min(100%, 420px); padding: 14px 16px; border-radius: 18px; background: var(--i-menu); color: var(--i-txt); border: 1px solid var(--kb-line2); box-shadow: var(--kb-shadow-lg); }
.bv-draft > b { font-size: 12px; color: var(--i-dim); }
.bv-draft > span { font-size: 15.5px; line-height: 1.4; }
.bv-why, .bv-src { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--i-dim); }
.bv-why { margin-top: 4px; padding-top: 6px; border-top: 1px dashed var(--i-line2); }
.bv-src .ic { width: 14px; height: 14px; color: var(--i-acc); }
.bv-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: min(100%, 440px); font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--dim); text-align: center; }
/* the line the four steps sit on */
.bv-steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 13px; height: 2px; background: var(--kb-line2); }
.bv-steps span { position: relative; display: grid; justify-items: center; gap: 6px; }
.bv-steps span b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--kb-acc); color: var(--kb-acc-ink); font-size: 12.5px; box-shadow: 0 0 0 4px var(--kb-bg); }

/* voice */
.voice-vis { display: grid; gap: 18px; justify-items: center; }
.vv-note { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; width: min(100%, 420px); padding: 12px 14px; border-radius: 6px 18px 18px 18px;
  background: var(--i-bub-in); color: var(--i-txt); border: 1px solid var(--kb-line); box-shadow: var(--kb-shadow-lg); }
.vplay { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--kb-acc-ink); background: var(--kb-acc); }
.vplay .ic { width: 20px; height: 20px; }
.wave { display: flex; align-items: center; gap: 2.5px; height: 30px; overflow: hidden; }
.wave i { width: 3px; border-radius: 2px; background: var(--i-acc); height: 30%; flex: none; animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.7s; } .wave i:nth-child(4n) { animation-delay: -.5s; height: 60%; } .wave i:nth-child(5n) { animation-delay: -.9s; }
@keyframes wave { 50% { height: 95%; } }
.vdur { font-size: 12px; color: var(--i-dim); font-variant-numeric: tabular-nums; }
.vv-text { grid-column: 1 / -1; font-size: 15px; min-height: 3em; }
.vv-note small { grid-column: 1 / -1; font-size: 12px; color: var(--i-dim); }
.type { display: inline; background: none; animation: none; }
.vv-dict { width: min(100%, 420px); display: grid; gap: 10px; padding: 14px; border-radius: 20px; background: var(--i-menu); color: var(--i-txt); border: 1px solid var(--kb-line2); box-shadow: var(--kb-shadow-lg); }
.vv-dhead { display: flex; gap: 10px; align-items: center; }
.vv-dhead b { display: block; font-size: 14.5px; } .vv-dhead small { display: block; font-size: 12px; color: var(--i-dim); }
.vv-mic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--i-acc-soft); color: var(--i-acc-soft-ink); }
.vv-mic .ic { width: 18px; height: 18px; }
.vv-msg { justify-self: end; max-width: 92%; padding: 8px 12px; border-radius: 14px 4px 14px 14px; background: var(--i-bub-out); font-size: 14.5px; }
.vv-acts { display: flex; gap: 8px; justify-content: flex-end; font-size: 13px; font-weight: 650; }
.vv-acts span { padding: 6px 11px; border-radius: 99px; color: var(--i-acc); }
.vv-acts span:nth-child(2) { border: 1px solid var(--i-line2); }
.vv-acts b { padding: 6px 14px; border-radius: 99px; background: var(--i-acc); color: var(--i-acc-ink); }

/* memory */
.memory-vis { display: grid; gap: 16px; justify-items: center; }
.mv-card { width: min(100%, 440px); padding: 20px; border-radius: 22px; background: var(--i-menu); color: var(--i-txt); border: 1px solid var(--kb-line2); box-shadow: var(--kb-shadow-lg); }
.mv-head { display: flex; gap: 12px; align-items: center; }
.mv-av { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; font-size: 20px; font-weight: 700; color: #e8833a; background: color-mix(in srgb, #e8833a 22%, transparent); }
.mv-head b { display: block; font-size: 16px; }
.mv-head small { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--i-dim); }
.mv-head .kb-net { width: 16px; height: 16px; }
.mv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 4px; }
.mv-tags i { font-style: normal; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--i-acc-soft); color: var(--i-acc-soft-ink); }
.mv-card dl { margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14px; }
.mv-card dt { color: var(--i-dim); font-weight: 600; }
.mv-card dt em { font-style: normal; margin-left: 4px; padding: 0 6px; border-radius: 6px; font-size: 11px; background: var(--i-acc-soft); color: var(--i-acc-soft-ink); }
.mv-card dd { margin: 0; }
.mv-you { width: min(100%, 440px); padding: 16px 18px; border-radius: 20px; background: var(--i-menu); color: var(--i-txt); border: 1px solid var(--kb-line2); }
.mv-you b { font-size: 14px; }
.mv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mv-chips span { padding: 4px 11px; border-radius: 99px; border: 1px solid var(--i-line2); font-size: 13px; font-weight: 600; }

/* understanding tools */
.tools { padding: 130px 0 20px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tool { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 22px; border-radius: 26px; background: var(--kb-solid); border: 1px solid var(--kb-line); box-shadow: var(--kb-shadow);
  transition: transform .4s var(--kb-enter), border-color .3s; }
.tool:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--kb-acc) 40%, transparent); }
.tool h3 { font-size: 19px; margin: 8px 8px 0; }
.tool p { color: var(--dim); font-size: 15px; margin: 0 8px; }
.tvis { display: grid; place-items: center; min-height: 172px; padding: 16px; border-radius: 18px; background: var(--i-wall); color: var(--i-txt); font-size: 13.5px; line-height: 1.4; }
.t-sum, .t-ask, .t-explain, .t-askall, .t-digest, .t-rw { display: grid; gap: 6px; width: 100%; max-width: 300px; }
.t-sum { padding: 12px 14px; border-radius: 14px; background: var(--i-menu); box-shadow: var(--kb-shadow); }
.t-sum b { font-size: 13px; }
.t-sum span { padding-left: 12px; position: relative; }
.t-sum span::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--i-acc); }
.t-sum .t-todo { color: var(--i-acc); font-weight: 650; }
.t-q { justify-self: end; padding: 8px 12px; border-radius: 14px 4px 14px 14px; background: var(--i-bub-out); }
.t-a { padding: 8px 12px; border-radius: 4px 14px 14px 14px; background: var(--i-bub-in); box-shadow: 0 1px .5px rgba(11, 12, 16, .13); }
.t-a small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--i-acc); font-weight: 650; }
.t-field { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 20px; background: var(--i-field); border: 1px solid var(--i-line2); }
.t-field .ic { color: var(--i-acc); width: 16px; height: 16px; }
.t-hit { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--i-menu); box-shadow: var(--kb-shadow); }
.t-hit small { grid-column: 2; color: var(--i-dim); font-size: 12.5px; }
.t-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; width: 100%; max-width: 300px; }
.t-list li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--i-menu); box-shadow: 0 1px 2px rgba(11, 12, 16, .08); }
.t-list li small { color: var(--i-dim); white-space: nowrap; }
.t-list li.done { text-decoration: line-through; color: var(--i-dim); }
.t-jp { font-size: 22px; font-weight: 600; text-align: center; }
.t-explain span:last-child { padding: 10px 12px; border-radius: 14px; background: var(--i-menu); box-shadow: var(--kb-shadow); }
.t-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.t-chips i { font-style: normal; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--i-line2); font-size: 12px; font-weight: 600; }
.t-chips i.on { background: var(--i-acc-soft); color: var(--i-acc-soft-ink); border-color: transparent; }
.t-bar { height: 5px; border-radius: 3px; background: var(--i-line2); overflow: hidden; }
.t-bar i { display: block; width: 50%; height: 100%; background: var(--i-good); }
.t-check { display: flex; align-items: center; gap: 8px; }
.t-check i { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--i-dim2); }
.t-check i.on { background: var(--i-good); border-color: var(--i-good); }
.t-rw .t-before { color: var(--i-dim); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--i-dim) 60%, transparent); }
.t-rw .t-after { padding: 9px 12px; border-radius: 14px 4px 14px 14px; background: var(--i-bub-out); font-size: 14px; min-height: 2.8em; }
.t-rw .t-after.swap { animation: bbswap .4s var(--kb-enter) both; }
.t-modes { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.t-modes button { height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: 14px; }
.t-ghost { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 22px; background: var(--i-field); border: 1px solid var(--i-line2); font-size: 14.5px; }
.t-ghost i { font-style: normal; color: var(--i-dim2); }
.t-ghost kbd { padding: 2px 7px; border-radius: 6px; border: 1px solid var(--i-line2); font: 600 11.5px var(--kb-font); color: var(--i-dim); }
.t-brief { display: flex; gap: 8px; max-width: 300px; padding: 10px 14px; border-radius: 14px; background: var(--i-acc-soft); color: var(--i-acc-soft-ink); font-weight: 550; }

/* where the AI runs */
.engines { padding: 130px 0 20px; }
.engine-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.engine { display: flex; flex-direction: column; padding: 28px; border-radius: 26px; background: var(--kb-solid); border: 1px solid var(--kb-line); box-shadow: var(--kb-shadow); }
.en-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--kb-acc-soft); color: var(--kb-acc); }
.en-ic .ic { width: 26px; height: 26px; }
.en-tag { align-self: flex-start; margin-top: 18px; padding: 4px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 700; background: var(--kb-hover); color: var(--dim); }
.engine h3 { font-size: 22px; margin-top: 12px; }
.engine > p { color: var(--dim); font-size: 15px; margin-top: 10px; }
.engine ul { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 14.5px; }
.engine li { position: relative; padding-left: 18px; }
.engine li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--kb-acc); }

/* you're in charge */
.control { padding: 90px 0 0; }
.control-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 44px; border-radius: 32px; background: var(--kb-solid); border: 1px solid var(--kb-line); box-shadow: var(--kb-shadow); }
.control-copy > p { color: var(--dim); margin-top: 14px; }
.control-copy > p b { color: var(--fg); }
.runs { display: grid; gap: 2px; padding: 16px; border-radius: 22px; background: var(--i-menu); color: var(--i-txt); border: 1px solid var(--kb-line2); }
.runs-h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--i-dim); padding: 4px 8px 8px; }
.run { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-top: 1px solid var(--i-line); }
.run > span:first-child { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--i-hover); font-size: 16px; flex: none; }
.run p { flex: 1; min-width: 0; }
.run b { display: block; font-size: 14.5px; } .run small { display: block; font-size: 12.5px; color: var(--i-dim); }
.runs .sw { background: var(--i-line2); }
.runs .sw.on { background: var(--i-acc); }

/* ================= Reels ================= */
.reels-show { padding: 80px 0 20px; }
.reels-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
/* The live phone: the demo's second copy, opened on the feed (demo.js); the CSS feed below is what it shows until then. */
.reels-stage { justify-self: center; }
.reels-stage .win.demo-win.as-phone { height: min(800px, calc(100vh - 140px)); min-height: 600px; }
.rscreen { position: relative; height: 100%; overflow: hidden; background: #000; color: #fff; font-size: 13px; line-height: 1.35; isolation: isolate; }
.rtrack { position: absolute; left: 0; top: 0; width: 100%; height: 500%; animation: rfeed 20s cubic-bezier(.3, .7, .2, 1) infinite; }
.rslide { position: relative; height: 20%; overflow: hidden; }
.rart { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.ropen { position: absolute; left: 14px; top: 58px; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 650; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.ropen .ic { width: 13px; height: 13px; }
.rinfo { position: absolute; left: 14px; right: 70px; bottom: 26px; display: grid; gap: 6px; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.rwho { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: center; }
.rwho b { font-size: 14px; } .rwho small { grid-column: 2; display: flex; align-items: center; gap: 5px; font-size: 11.5px; opacity: .85; }
.rwho small .kb-net { width: 12px; height: 12px; }
.rav img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.rav { grid-row: span 2; overflow: hidden; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 700; background: var(--av); color: #fff; text-shadow: none; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .8); }
.rcap { font-size: 13.5px; }
.rtr { opacity: .75; font-size: 12px; }
.rsrc { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.rsrc .ic { width: 15px; height: 15px; }
.rtop { position: absolute; z-index: 3; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 8px; padding: 14px 12px 0; }
.rbtn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 0, 0, .35); }
.rbtn .ic { width: 18px; height: 18px; }
.rtitle { flex: 1; display: grid; line-height: 1.15; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.rtitle b { font-size: 14.5px; } .rtitle small { font-size: 11.5px; opacity: .8; }
.racts { position: absolute; z-index: 3; right: 8px; bottom: 26px; display: grid; gap: 12px; justify-items: center; }
.ract { display: grid; justify-items: center; gap: 3px; font-size: 10.5px; font-weight: 650; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.rai { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, .32); }
.rai .ic { width: 21px; height: 21px; }
.ract.like .on { position: absolute; color: #ff3040; opacity: 0; animation: rliked 20s infinite; }
.ract.like .off { animation: rlikeoff 20s infinite; }
.rtap { position: absolute; z-index: 2; left: 46%; top: 44%; width: 54px; height: 54px; margin: -27px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); opacity: 0; }
.rtap.t1 { animation: rtap1 20s infinite; } .rtap.t2 { animation: rtap2 20s infinite; }
.rbloom { position: absolute; z-index: 2; left: 50%; top: 44%; width: 104px; height: 104px; margin: -52px; color: #ff3040; opacity: 0; transform: scale(0); animation: rbloom 20s infinite; }
.rbloom .ic { width: 100%; height: 100%; }
.rtoast { position: absolute; z-index: 4; left: 12px; right: 62px; bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; overflow: hidden;
  background: #313a45; color: #f5f7fa; font-size: 12.5px; opacity: 0; transform: translateY(14px); animation: rtoast 20s infinite; }
.rtoast span { flex: 1; } .rtoast b { color: #93dbd2; text-transform: uppercase; letter-spacing: .04em; font-size: 12px; }
.rtoast i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #93dbd2; transform-origin: left; animation: rtoastbar 20s linear infinite; }
.rprog { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .25); }
.rprog i { display: block; height: 100%; background: #fff; transform-origin: left; animation: rprog 20s linear infinite; }
@keyframes rfeed { 0%, 20% { transform: translateY(0); } 24%, 44% { transform: translateY(-20%); } 48%, 68% { transform: translateY(-40%); } 72%, 92% { transform: translateY(-60%); } 96%, 100% { transform: translateY(-80%); } }
@keyframes rtap1 { 0%, 29% { opacity: 0; transform: scale(.4); } 29.6% { opacity: 1; } 31% { opacity: 0; transform: scale(1.4); } 100% { opacity: 0; } }
@keyframes rtap2 { 0%, 30.2% { opacity: 0; transform: scale(.4); } 30.8% { opacity: 1; } 32.2% { opacity: 0; transform: scale(1.4); } 100% { opacity: 0; } }
@keyframes rbloom { 0%, 30.6% { opacity: 0; transform: scale(0); } 32% { opacity: 1; transform: scale(1.2); } 33.4%, 35% { opacity: 1; transform: scale(1); } 37% { opacity: 0; transform: scale(1.05) translateY(-24px); } 100% { opacity: 0; } }
@keyframes rliked { 0%, 31% { opacity: 0; transform: scale(.4); } 32.4% { opacity: 1; transform: scale(1.25); } 33.6%, 45% { opacity: 1; transform: scale(1); } 46%, 100% { opacity: 0; } }
@keyframes rlikeoff { 0%, 31% { opacity: 1; } 32%, 45% { opacity: 0; } 46%, 100% { opacity: 1; } }
@keyframes rtoast { 0%, 31.5% { opacity: 0; transform: translateY(14px); } 33% { opacity: 1; transform: none; } 43% { opacity: 1; transform: none; } 44.5%, 100% { opacity: 0; transform: translateY(14px); } }
@keyframes rtoastbar { 0%, 33% { transform: scaleX(1); } 43%, 100% { transform: scaleX(0); } }
@keyframes rprog { 0% { transform: scaleX(0); } 20% { transform: scaleX(1); } 20.01%, 24% { transform: scaleX(0); } 44% { transform: scaleX(1); } 44.01%, 48% { transform: scaleX(0); } 68% { transform: scaleX(1); } 68.01%, 72% { transform: scaleX(0); } 92% { transform: scaleX(1); } 92.01%, 96% { transform: scaleX(0); } 100% { transform: scaleX(.2); } }
.rfeat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; }
.rfeat li { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.rf-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--kb-acc-soft); color: var(--kb-acc); }
.rf-ic .ic { width: 21px; height: 21px; }
.rfeat h3 { font-size: 17px; margin-top: 2px; }
.rfeat p { color: var(--dim); font-size: 14.5px; margin-top: 5px; }

/* the Reels page: a grid you can filter, in the app's colours */
.reels-page { padding: 70px 0 0; }
.rp-card { padding: 36px; border-radius: 32px; background: var(--i-panel); color: var(--i-txt); border: 1px solid var(--kb-line2); box-shadow: var(--kb-shadow); }
.rp-copy { max-width: 720px; }
.rp-copy p { color: var(--i-dim); margin-top: 12px; }
.rp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.rpc { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid var(--i-line2); background: transparent; color: var(--i-txt);
  font: 600 14px/1 var(--kb-font); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .12s var(--kb-press); }
.rpc:hover { background: var(--i-hover); }
.rpc:active { transform: scale(.95); }
.rpc[aria-pressed="true"] { background: var(--i-acc-soft); color: var(--i-acc-soft-ink); border-color: transparent; }
.rpc .ic { width: 16px; height: 16px; }
.rpc .kb-net { width: 16px; height: 16px; }
.rp-count { margin-top: 18px; font-size: 14px; font-weight: 650; color: var(--i-dim); }
.rp-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.rtile { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--i-skel); animation: tilein .4s var(--kb-enter) both; }
.rtile > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .4s var(--kb-enter); }
.rtile:hover > img { transform: scale(1.05); }
.rtile[data-seen] > img { filter: brightness(.72) saturate(.85); }
.rtile[hidden] { display: none; }
.rt-tag { position: absolute; top: 6px; right: 6px; display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; font-weight: 650; }
.rt-tag .ic { width: 11px; height: 11px; }
.rt-marks { position: absolute; top: 6px; left: 6px; display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: 8px; background: rgba(0, 0, 0, .45); color: #fff; font-size: 11px; }
.rt-marks .ic { width: 12px; height: 12px; }
.rtile figcaption { position: absolute; left: 6px; bottom: 6px; max-width: calc(100% - 12px); display: flex; align-items: center; gap: 5px; padding: 2px 8px 2px 3px; border-radius: 10px;
  background: rgba(0, 0, 0, .5); color: #fff; font-size: 11.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rtile figcaption .kb-net { width: 13px; height: 13px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9); }
@keyframes tilein { from { opacity: 0; transform: scale(.94); } }
.rp-empty { margin-top: 18px; padding: 26px; border-radius: 16px; border: 1px dashed var(--i-line2); text-align: center; color: var(--i-dim); }
.rp-empty .link { color: var(--i-acc); }
.rp-more { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--i-line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; font-size: 14px; color: var(--i-dim); }
.rp-more b { display: block; color: var(--i-txt); font-size: 14.5px; margin-bottom: 2px; }

/* ---------- the bento: every card draws a little piece of the app ---------- */
.more { padding: 150px 0 20px; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 18px; }
.bcard { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 22px 24px; border-radius: 26px; overflow: hidden;
  background: var(--kb-solid); border: 1px solid var(--kb-line); box-shadow: var(--kb-shadow); transition: transform .45s var(--kb-enter), box-shadow .45s, border-color .3s; }
.bcard:hover { transform: translateY(-6px); box-shadow: var(--kb-shadow-lg); border-color: color-mix(in srgb, var(--kb-acc) 40%, transparent); }
.bcard.wide { grid-column: span 2; }
.bcard.full { grid-column: 1 / -1; }
.bcard h3 { font-size: 20px; margin-top: 6px; }
.bcard p { color: var(--dim); font-size: 15px; line-height: 1.55; }
.bvis { position: relative; display: grid; place-items: center; align-content: center; gap: 10px; min-height: 168px; margin: 0 -8px 6px; padding: 16px 8px; border-radius: 18px; background: var(--kb-bg); border: 1px solid var(--kb-line); overflow: hidden; }

/* undo toast */
.utoast { position: relative; display: flex; align-items: center; gap: 18px; padding: 12px 14px 12px 18px; border-radius: 12px; overflow: hidden; font-size: 13.5px;
  background: var(--kb-ink-800); color: var(--kb-ink-50); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.utoast b { font-size: 12.5px; letter-spacing: .05em; color: var(--kb-accent-300); }
.utoast i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--kb-accent-300); transform-origin: left; animation: undo 3.5s linear infinite; }
@keyframes undo { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* search */
.sfield { display: flex; align-items: center; gap: 10px; width: min(100%, 380px); padding: 10px 16px; border-radius: 22px; background: var(--kb-solid); border: 1px solid var(--kb-line2); font-size: 14.5px; }
.sfield .ic { width: 18px; height: 18px; color: var(--dim); }
.shit { display: grid; gap: 2px; width: min(100%, 380px); padding: 10px 16px; border-radius: 14px; background: var(--kb-solid); box-shadow: var(--kb-shadow); font-size: 14px; }
.shit small { color: var(--dim); font-size: 12px; }
.shit mark { background: var(--kb-acc-soft); color: var(--kb-acc); border-radius: 3px; padding: 0 2px; font-weight: 650; }

/* same person */
.linked { display: flex; align-items: center; gap: 0; }
.lav { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 20px; color: #c2489a; background: color-mix(in srgb, #c2489a 22%, transparent); }
.lav .kb-net { position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; border: 2px solid var(--kb-solid); }
.lline { position: relative; width: 70px; height: 3px; border-radius: 2px; background: var(--kb-acc); }
.lline::after { content: "🔗"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 18px; animation: tagpop 3s var(--kb-spring) infinite; }
@keyframes tagpop { 0%, 8% { transform: translate(-50%, -50%) scale(.6); opacity: 0; } 18%, 100% { transform: translate(-50%, -50%); opacity: 1; } }
.llab { font-size: 12.5px; color: var(--dim); }

/* send anything */
.attrow { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.attrow span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c); color: #fff; animation: attup 3.2s var(--kb-spring) infinite; }
.attrow span:nth-child(2) { animation-delay: .08s; } .attrow span:nth-child(3) { animation-delay: .16s; } .attrow span:nth-child(4) { animation-delay: .24s; } .attrow span:nth-child(5) { animation-delay: .32s; }
.attrow .ic { width: 21px; height: 21px; }
@keyframes attup { 0%, 6% { transform: scale(.3); opacity: 0; } 20%, 100% { transform: none; opacity: 1; } }

/* keys */
.caps { display: flex; gap: 6px; }
.caps kbd, .keyboard kbd { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 11px; font: 700 15px/1 var(--kb-font); color: var(--fg);
  background: var(--kb-solid); border: 1px solid var(--kb-line2); box-shadow: 0 3px 0 var(--kb-line2), 0 8px 20px -12px rgba(0, 0, 0, .4); transition: transform .1s, box-shadow .1s, background .2s, color .2s; }
.caps kbd { min-width: 40px; height: 42px; padding: 0 10px; font-size: 14px; animation: press 3.2s infinite; }
.caps kbd.wide { min-width: 66px; }
.caps kbd:nth-child(2) { animation-delay: .8s; } .caps kbd:nth-child(3) { animation-delay: 1.6s; } .caps kbd:nth-child(4) { animation-delay: 2.4s; }
@keyframes press { 0%, 18%, 100% { transform: none; } 6% { transform: translateY(3px); box-shadow: 0 0 0 var(--kb-line2); background: var(--kb-acc-soft); color: var(--kb-acc); } }
.keyboard kbd.wide { min-width: 86px; }

/* read in peace */
.readrow { display: flex; align-items: flex-end; gap: 6px; padding: 9px 12px; border-radius: 12px 12px 4px 12px; background: var(--kb-accent-100); color: var(--kb-ink-950); font-size: 14px; }
.rt { font-size: 12px; color: var(--kb-ink-400); letter-spacing: -.25em; }
.rlab { font-size: 12.5px; color: var(--dim); }
.readrow { background: var(--kb-accent-900); color: var(--kb-ink-50); }

/* queues */
.qchips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 420px; }
.qchips span { padding: 6px 11px; border-radius: 16px; font-size: 13px; font-weight: 600; background: var(--kb-solid); box-shadow: inset 0 0 0 1px var(--kb-line2); }
.qchips b { color: var(--kb-acc); margin-left: 3px; }
.qchips .snz { background: var(--kb-acc-soft); color: var(--kb-acc); box-shadow: none; }

/* your look */
.themes { display: flex; gap: 10px; }
.th { display: grid; gap: 5px; width: 84px; padding: 10px; border-radius: 12px; border: 1px solid var(--kb-line2); }
.th i { height: 9px; border-radius: 5px; }
.th.light { background: #eef4f3; } .th.light i:first-child { width: 70%; background: #fff; } .th.light i:last-child { width: 60%; justify-self: end; background: #d6f1ed; }
.th.dark { background: #151a21; } .th.dark i:first-child { width: 70%; background: #28303a; } .th.dark i:last-child { width: 60%; justify-self: end; background: #1d4a46; }
.walls { display: flex; gap: 6px; }
.walls i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px var(--kb-line2); }

/* ---------- the live demo ---------- */
.try { padding: 110px 0 30px; scroll-margin-top: 70px; }
.try .wrap { max-width: 1440px; }
.try-launch { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 1100px; margin: 0 auto 26px; }
.launch { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px;
  text-align: left; font: inherit; color: var(--fg); cursor: pointer; background: var(--kb-solid); border: 1px solid var(--kb-line); box-shadow: var(--kb-shadow);
  transition: transform .3s var(--kb-enter), border-color .3s, box-shadow .3s; }
.launch:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--kb-acc) 45%, transparent); }
.launch .lic { grid-row: span 2; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; background: var(--kb-acc-soft); color: var(--kb-acc); }
.launch b { font-size: 15px; } .launch small { color: var(--dim); font-size: 13px; }
.try-grid { display: grid; gap: 28px; }
/* The demo's stage: a browser window, or a phone (the switch above it). demo.js draws the app inside #demo. */
.demo-stage { display: grid; justify-items: center; gap: 16px; min-width: 0; }
.demo-device { display: inline-flex; gap: 2px; padding: 4px; border-radius: 14px; background: var(--kb-solid); border: 1px solid var(--kb-line); box-shadow: var(--kb-shadow); }
.demo-device button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border: 0; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600;
  color: var(--dim); background: none; cursor: pointer; transition: background .2s, color .2s; }
.demo-device button:hover { color: var(--fg); }
.demo-device button[aria-checked="true"] { background: var(--kb-acc-soft); color: var(--kb-acc); }
.demo-device svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.win.demo-win { position: relative; inset: auto; width: 100%; height: min(780px, calc(100vh - 150px)); min-height: 600px; display: flex; flex-direction: column;
  box-shadow: 0 2px 4px rgba(11, 12, 16, .06), 0 60px 120px -40px rgba(11, 12, 16, .55); transition: opacity .2s var(--kb-enter), transform .3s var(--kb-enter); }
.win.demo-win.swapping { opacity: 0; transform: translateY(10px) scale(.985); }
.winbar .url em { font-style: normal; color: var(--kb-acc); font-weight: 650; }
.demo-host { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.demo-host > picture img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.demo-host.live > picture, .demo-host.live > noscript { display: none; }
.demo-noscript { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 2; padding: 6px 12px; border-radius: 10px; background: var(--kb-solid); font-size: 13px; }
/* As a phone: a dark body around the screen, a status bar and the gesture bar, the app at a phone's width. */
.demo-win .phonebar, .demo-win .phonehome { display: none; }
.win.demo-win.as-phone { width: auto; height: min(860px, calc(100vh - 150px)); min-height: 620px; aspect-ratio: 412 / 868; padding: 11px; border-radius: 54px; overflow: visible;
  background: #0b0c10; border: 0; box-shadow: 0 0 0 1.5px #313a45 inset, 0 0 0 1px rgba(255, 255, 255, .06), 0 50px 100px -30px rgba(11, 12, 16, .55), 0 18px 40px -20px rgba(0, 0, 0, .5); }
.demo-win.as-phone .winbar { display: none; }
.demo-win.as-phone .phonebar { display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 22px 0 26px; flex: none; position: relative;
  border-radius: 43px 43px 0 0; background: var(--i-panel); color: var(--i-txt); font: 600 13.5px/1 var(--kb-font); font-variant-numeric: tabular-nums; }
.demo-win.as-phone .pbcam { position: absolute; left: 50%; top: 9px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #0b0c10; box-shadow: 0 0 0 2px color-mix(in srgb, var(--i-panel) 70%, #000); }
.demo-win.as-phone .pbicons { display: flex; gap: 5px; align-items: center; }
.demo-win.as-phone .pbicons svg { width: 15px; height: 15px; fill: currentColor; }
.demo-win.as-phone .pbicons svg:last-child { width: 20px; }
.demo-win.as-phone .phonehome { display: grid; place-items: center; height: 20px; flex: none; border-radius: 0 0 43px 43px; background: var(--i-panel); }
.demo-win.as-phone .phonehome i { width: 108px; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--i-txt) 40%, transparent); }
.try-it { margin-top: 26px; }
.try-it span { transition: transform .3s var(--kb-enter); }
.try-it:hover span { transform: translateX(4px); }

/* ---------- the ribbon ---------- */
.ribbon { overflow: hidden; padding: 14px 0; margin-top: 44px; border-block: 1px solid var(--line); background: var(--kb-solid); }
.ribbon-track { display: flex; gap: 40px; width: max-content; animation: ribbon 46s linear infinite; font-size: 15px; font-weight: 600; color: var(--dim); white-space: nowrap; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------- the language playground ---------- */
.babel { padding: 90px 0 10px; }
.babel-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; padding: 38px; border-radius: 32px; overflow: hidden; }
.babel-copy h3 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.03em; }
.babel-copy p { color: var(--dim); margin-top: 12px; }
.babel-flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.babel-flags button { width: 52px; height: 52px; border-radius: 16px; font-size: 26px; cursor: pointer; background: var(--kb-bg); border: 1px solid var(--kb-line); transition: transform .25s var(--kb-spring), box-shadow .2s; }
.babel-flags button:hover { transform: translateY(-3px); }
.babel-flags button[aria-selected="true"] { box-shadow: 0 0 0 2.5px var(--kb-acc); transform: scale(1.06); }
.babel-chat { display: grid; gap: 8px; padding: 22px; border-radius: 22px; background: var(--i-wall); box-shadow: inset 0 0 0 1px var(--i-line); font-size: 15px; }
.bb { max-width: 88%; padding: 9px 12px 7px; border-radius: 4px 14px 14px 14px; background: var(--i-bub-in); color: var(--i-txt); box-shadow: 0 1px .5px rgba(11, 12, 16, .13); }
.bb.out { justify-self: end; border-radius: 14px 4px 14px 14px; background: var(--i-bub-out); }
.bb.in:first-child { opacity: .82; background: var(--i-nest2); box-shadow: none; }
.bb-lab { display: block; font-size: 11.5px; font-weight: 700; color: var(--i-dim); margin-bottom: 2px; }
.bb-foot { display: block; margin-top: 4px; font-size: 12px; color: var(--i-dim); }
.bb-arrow { justify-self: center; font-size: 12px; font-weight: 600; color: var(--i-dim); }
.babel-chat.swap .bb { animation: bbswap .5s var(--kb-enter) both; }
.babel-chat.swap .bb:nth-child(3) { animation-delay: .08s; } .babel-chat.swap .bb:nth-child(4) { animation-delay: .16s; }
@keyframes bbswap { from { opacity: 0; transform: translateY(10px); } }

/* ---------- networks ---------- */
.networks { padding: 130px 0 20px; }
.net-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.netcard { position: relative; padding: 26px 22px; border-radius: 26px; overflow: hidden; background: var(--kb-solid); border: 1px solid var(--kb-line); border-top: 4px solid var(--nc); box-shadow: var(--kb-shadow);
  transition: transform .4s var(--kb-enter), box-shadow .4s; }
.netcard:hover { transform: translateY(-6px); box-shadow: var(--kb-shadow-lg); }
.netcard > .kb-net { width: 54px; height: 54px; }
.netcard h3 { font-size: 21px; margin-top: 18px; }
.netcard .how { color: var(--nc); font-weight: 650; font-size: 14px; margin-top: 6px; filter: saturate(1.2) brightness(.9); }
.netcard .how { filter: brightness(1.15); }
.netcard ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--dim); }
.netcard li { padding-left: 18px; position: relative; }
.netcard li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--nc); }

/* ================= privacy ================= */
.private { padding: 80px 0 20px; }
.private-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.flow { position: sticky; top: 110px; display: grid; justify-items: center; }
.node { display: grid; justify-items: center; gap: 4px; width: min(100%, 320px); padding: 20px; border-radius: var(--kb-r-lg); text-align: center; background: var(--kb-solid); border: 1px solid var(--kb-line2); box-shadow: var(--kb-shadow); }
.node b { font-size: 16px; } .node small { color: var(--dim); font-size: 13px; }
.nicon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--kb-acc-ink); background: var(--kb-acc); margin-bottom: 4px; }
.nicon .ic { width: 23px; height: 23px; }
.n-relay .nicon { background: var(--kb-ink-600); color: #fff; }
.n-relay { width: min(100%, 260px); }
.nets-mini { display: flex; gap: 5px; margin-top: 6px; }
.nets-mini .kb-net { width: 22px; height: 22px; }
.wire { position: relative; width: 2px; height: 64px; background: var(--kb-acc); }
.wire span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kb-acc); white-space: nowrap; }
.wire i { position: absolute; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--kb-acc); animation: packet 2.4s linear infinite; }
.wire i:nth-child(2) { animation-delay: -.8s; } .wire i:nth-child(3) { animation-delay: -1.6s; }
.wire + .node + .wire i { animation-direction: reverse; }
@keyframes packet { from { top: -4px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { top: calc(100% - 4px); opacity: 0; } }
.promise-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.promise { padding: 24px; border-radius: 24px; background: var(--kb-solid); border: 1px solid var(--kb-line); box-shadow: var(--kb-shadow); }
.pm-ic, .wi-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; margin-bottom: 16px; background: var(--kb-acc-soft); color: var(--kb-acc); }
.pm-ic .ic, .wi-ic .ic { width: 21px; height: 21px; }
.promise h3 { font-size: 18px; }
.promise p { color: var(--dim); font-size: 14.5px; margin-top: 7px; }

.pairing { padding: 130px 0 20px; }
.pair-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.pair-steps li { position: relative; padding: 16px 16px 24px; border-radius: 26px; background: var(--kb-solid); border: 1px solid var(--kb-line); box-shadow: var(--kb-shadow); }
.ps-n { position: absolute; z-index: 1; top: 26px; left: 26px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--kb-acc); color: var(--kb-acc-ink); font-weight: 800; font-size: 14px; }
.ps-vis { display: grid; place-items: center; height: 170px; margin-bottom: 16px; border-radius: 18px; background: var(--kb-bg); border: 1px solid var(--kb-line); overflow: hidden; }
.pair-steps h3 { font-size: 17px; margin: 0 6px; }
.pair-steps p { color: var(--dim); font-size: 14.5px; margin: 7px 6px 0; }
.ps-big { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 22px; background: var(--kb-acc); color: var(--kb-acc-ink); }
.ps-big .ic { width: 38px; height: 38px; }
.qr { position: relative; width: 120px; height: 120px; border-radius: 12px; background-color: #fff; overflow: hidden;
  background-image: linear-gradient(90deg, #0b0c10 50%, transparent 0), linear-gradient(#0b0c10 50%, transparent 0);
  background-size: 20px 20px, 20px 20px; background-position: 0 0, 10px 10px; box-shadow: inset 0 0 0 9px #fff, var(--kb-shadow); }
.qr::before, .qr::after { content: ""; position: absolute; width: 30px; height: 30px; border: 5px solid #0b0c10; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 20px #0b0c10; }
.qr::before { left: 11px; top: 11px; } .qr::after { right: 11px; top: 11px; }
.qr-scan { position: absolute; left: 8px; right: 8px; height: 2px; top: 10px; background: var(--kb-acc); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 50% { top: calc(100% - 12px); } }
@keyframes codepop { 0%, 8% { transform: scale(.6); opacity: 0; } 18%, 100% { transform: none; opacity: 1; } }
.pair-sure { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pair-sure li { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 22px; background: var(--kb-acc-soft); border: 1px solid color-mix(in srgb, var(--kb-acc) 30%, transparent); }
.pair-sure .ic { flex-shrink: 0; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--kb-acc); color: var(--kb-acc-ink); }
.pair-sure b { display: block; margin-bottom: 4px; color: var(--fg); font-size: 15.5px; }
.pair-sure span { color: var(--dim); font-size: 14px; line-height: 1.45; }
@media (max-width: 1180px) { .pair-sure { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .pair-sure { grid-template-columns: 1fr; } }
.pair-tech { max-width: 860px; margin: 30px auto 0; padding: 18px 22px; border-radius: 18px; border: 1px dashed var(--kb-line2); color: var(--dim); font-size: 14.5px; text-align: center; }
.pair-tech b { color: var(--fg); }

.whatif { padding: 130px 0 20px; }
.whatif-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wi { padding: 26px; border-radius: 24px; background: var(--kb-solid); border: 1px solid var(--kb-line); box-shadow: var(--kb-shadow); }
.wi h3 { font-size: 18px; }
.wi p { color: var(--dim); font-size: 14.5px; margin-top: 8px; }

.aipriv { padding: 90px 0 0; }
.aipriv-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; padding: 44px; border-radius: 32px; background: var(--kb-ink-950); color: var(--kb-ink-50); }
.aipriv-copy p { color: var(--kb-ink-300); margin-top: 14px; }
.aipriv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.aipriv-list li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px 20px; background: var(--kb-ink-900); font-size: 14.5px; }
.aipriv-list b { color: var(--kb-accent-300); }
.aipriv-list span { color: var(--kb-ink-200); }
.aipriv-card { background: var(--kb-solid); border: 1px solid var(--kb-line2); } .aipriv-list li { background: var(--kb-ink-900); }

.seeing { padding: 90px 0 20px; }
.see-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.see { padding: 26px 28px; border-radius: 26px; }
.see h3 { display: flex; align-items: center; gap: 12px; font-size: 19px; }
.see-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 800; flex: none; }
.see-ic { border-radius: 11px; width: 36px; height: 36px; }
.see-ic .ic { width: 19px; height: 19px; }
.see ul.ticks { padding: 0; margin-top: 16px; font-size: 15px; color: var(--dim); }
.see ul { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--dim); font-size: 15px; }
.curious { margin-top: 18px; padding: 0 28px; border-radius: 26px; border: 1px solid var(--kb-line2); background: var(--kb-solid); }
.curious summary { font-size: 16.5px; }
.curious dl { display: grid; grid-template-columns: 180px 1fr; gap: 12px 24px; margin: 0 0 26px; font-size: 14.5px; }
.curious dt { font-weight: 700; }
.curious dd { margin: 0; color: var(--dim); }

/* ---------- a day ---------- */
.day { padding: 130px 0 20px; }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; position: relative; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 70px; top: 10px; bottom: 10px; width: 2px; background: var(--kb-line2); }
.timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 26px; align-items: start; }
.timeline time { padding-top: 22px; font: 700 15px/1 var(--kb-mono); color: var(--kb-acc); position: relative; }
.timeline time::after { content: ""; position: absolute; right: -14px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--kb-acc); box-shadow: 0 0 0 5px var(--kb-acc-soft); }
.tl-card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 18px 22px; border-radius: 22px; }
.tl-ic { grid-row: span 2; font-size: 28px; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; background: var(--kb-acc-soft); }
.tl-card p { color: var(--dim); font-size: 15px; margin-top: 4px; }

/* ---------- compare: the four ways, then Kadabox next to each of the others ---------- */
.compare { padding: 130px 0 20px; }
.ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 56px; }
.way { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 22px 20px; border-radius: 24px; background: var(--kb-solid); border: 1px solid var(--kb-line); box-shadow: var(--kb-shadow); }
.way h3 { font-size: 19px; letter-spacing: -.02em; margin-top: 12px; }
.way-eg { color: var(--kb-faint); font-size: 12.5px; font-weight: 650; letter-spacing: .02em; }
.way p { color: var(--dim); font-size: 14.5px; line-height: 1.55; margin: 6px 0 0; }
.way .way-live { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--kb-line); color: var(--fg); font-weight: 650; font-size: 14px; }
.way-live small { display: block; color: var(--kb-faint); font-weight: 600; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.way-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; }
.way-ic .ic { width: 23px; height: 23px; }
.way-ic.mark .kb-mark { width: 44px; height: 44px; border-radius: 14px; }
.way.us { border: 1.5px solid var(--kb-acc); box-shadow: 0 0 0 5px var(--kb-acc-soft), var(--kb-shadow); }
.way.us .way-live { color: var(--kb-acc); }
.way.us::after { content: "The fourth way"; position: absolute; top: 0; right: 18px; transform: translateY(-50%); padding: 4px 11px; border-radius: 99px; background: var(--kb-acc); color: var(--kb-acc-ink); font-size: 11.5px; font-weight: 750; }

.vs-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 0 auto 18px; padding: 5px; width: max-content; max-width: 100%; border-radius: 99px; background: var(--kb-solid); border: 1px solid var(--kb-line2); }
.vs-bar button { border: 0; padding: 9px 18px; border-radius: 99px; background: none; color: var(--dim); font: 600 14.5px/1 var(--kb-font); cursor: pointer; transition: background .2s, color .2s; }
.vs-bar button:hover { color: var(--fg); }
.vs-bar button[aria-checked="true"] { background: var(--kb-acc); color: var(--kb-acc-ink); }
.table-wrap { border-radius: 26px; overflow-x: auto; }
.vs-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 860px; table-layout: fixed; }
.vs-table th, .vs-table td { padding: 14px 16px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.vs-table thead th { border-top: 0; padding-top: 22px; padding-bottom: 16px; color: var(--dim); font-weight: 650; vertical-align: bottom; }
.vs-table thead th:first-child { width: 24%; }
.vs-name { display: flex; align-items: center; gap: 8px; color: var(--fg); font-size: 16px; font-weight: 750; letter-spacing: -.01em; }
.vs-table thead small { display: block; margin-top: 3px; color: var(--kb-faint); font-size: 12px; font-weight: 600; }
.vs-table thead .kb-mark { width: 24px; height: 24px; border-radius: 7px; }
.vs-table tbody th { font-weight: 600; }
.vs-table .us { background: var(--kb-acc-soft); }
.vs-table thead .us { border-radius: 18px 18px 0 0; }
.vs-table td.us { font-weight: 650; color: var(--fg); }
.vs-group th { padding-top: 26px; color: var(--kb-acc); font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; border-top: 1px solid var(--kb-line2); }
.vs-group .ic { width: 16px; height: 16px; vertical-align: -3px; margin-right: 8px; }
.vs-table td.yes, .vs-table td.no, .vs-table td.mid { position: relative; padding-left: 44px; }
.vs-table td.yes::before, .vs-table td.no::before, .vs-table td.mid::before { position: absolute; left: 16px; top: 15px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 12px; font-weight: 800; }
.vs-table td.yes::before { content: "✓"; color: #fff; background: var(--kb-v-green); }
.vs-table td.us.yes::before { background: var(--kb-acc); color: var(--kb-acc-ink); }
.vs-table td.no::before { content: "–"; color: var(--kb-faint); background: color-mix(in srgb, var(--kb-faint) 18%, transparent); }
.vs-table td.mid::before { content: "~"; color: var(--kb-warn); background: color-mix(in srgb, var(--kb-warn) 16%, transparent); }
.vs-table td.no, .vs-table td.mid { color: var(--dim); }
/* Kadabox next to one of them: the others' columns step aside */
.vs-wrap:not([data-vs="all"]) { max-width: 900px; margin-left: auto; margin-right: auto; }
.vs-wrap:not([data-vs="all"]) .vs-table { min-width: 560px; table-layout: auto; }
.vs-wrap:not([data-vs="all"]) .vs-table :is(thead th, tbody tr:not(.vs-group) > *) { width: 36%; }
.vs-wrap:not([data-vs="all"]) .vs-table :is(thead th, tbody tr:not(.vs-group) > *):first-child { width: 28%; }
.vs-wrap[data-vs="beeper"] [data-col]:not([data-col="beeper"]), .vs-wrap[data-vs="hubs"] [data-col]:not([data-col="hubs"]), .vs-wrap[data-vs="apps"] [data-col]:not([data-col="apps"]) { display: none; }
.vs-note { max-width: 760px; margin: 16px auto 0; text-align: center; color: var(--kb-faint); font-size: 13px; }
.vs-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.vs-why article { padding: 24px; border-radius: 22px; border: 1px solid var(--kb-line2); }
.vs-why h3 { font-size: 18px; letter-spacing: -.02em; display: flex; align-items: center; }
.vs-why p { color: var(--dim); font-size: 14.5px; margin-top: 10px; }

/* ---------- keyboard ---------- */
.keys { padding: 110px 0 10px; }
.keys-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 36px 40px; border-radius: 32px; }
.keys-copy h3 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.03em; }
.keys-copy p { color: var(--dim); margin-top: 12px; min-height: 3.2em; }
.keyboard { display: grid; grid-template-columns: repeat(4, auto); gap: 10px; justify-content: end; }
.keyboard kbd { cursor: pointer; min-width: 58px; height: 58px; font-size: 18px; }
.keyboard kbd.wide { grid-column: span 2; }
.keyboard kbd.down { animation: keydown .4s var(--kb-enter); background: var(--kb-acc-soft); color: var(--kb-acc); border-color: color-mix(in srgb, var(--kb-acc) 40%, transparent); }
@keyframes keydown { 0% { transform: translateY(3px); box-shadow: 0 0 0 var(--kb-line2); } }

/* ---------- how ---------- */
.howto { padding: 130px 0 20px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { padding: 28px; }
.steps .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 18px; font-weight: 800; color: var(--kb-acc-ink); background: var(--kb-acc); }
.steps p { color: var(--dim); font-size: 15px; margin-top: 8px; }

/* ================= plans ================= */
.plans { padding: 150px 0 20px; }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 470px)); gap: 24px; justify-content: center; align-items: stretch; }
.pcard { --pc-fg: var(--fg); --pc-dim: var(--dim); --pc-line: var(--line); --pc-acc: var(--kb-acc); --pc-soft: var(--kb-acc-soft); --pc-faint: var(--kb-faint);
  position: relative; display: flex; flex-direction: column; gap: 24px; padding: 34px; border-radius: 30px; isolation: isolate;
  background: var(--kb-solid); color: var(--pc-fg); border: 1px solid var(--kb-line2); box-shadow: var(--kb-shadow); transition: transform .45s var(--kb-enter), box-shadow .45s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--kb-shadow-lg); }
.pc-head { display: flex; align-items: center; gap: 16px; }
.pc-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; flex: none; background: var(--pc-soft); color: var(--pc-acc); }
.pc-ic .ic { width: 27px; height: 27px; }
.pc-head h3 { font-size: 26px; letter-spacing: -.03em; }
.pc-head p { color: var(--pc-dim); font-size: 15px; margin-top: 2px; }
.pc-price { display: flex; align-items: flex-end; gap: 16px; min-height: 89px; padding-top: 22px; border-top: 1px solid var(--pc-line); }
.pc-price.stack { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 8px; }
.pc-price b.soon { font-size: 44px; line-height: 1; letter-spacing: -.045em; }
.pc-price.stack span { padding: 0; }
.pc-cta { display: grid; gap: 10px; justify-items: center; }
.pc-cta small { color: var(--pc-dim); font-size: 13px; }
.pc-price b { font-size: 76px; line-height: .86; letter-spacing: -.06em; font-weight: 840; }
.pc-price span { padding-bottom: 4px; color: var(--pc-dim); font-size: 14px; line-height: 1.4; }
.pc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; line-height: 1.5; }
.pc-list li { display: flex; gap: 12px; align-items: flex-start; }
.pc-list li .ic { width: 22px; height: 22px; padding: 3.5px; margin-top: calc(.75em - 11px); flex: none; border-radius: 50%; background: var(--kb-v-green); color: #fff; }
.pc-list b { font-weight: 700; }
.pc-group { margin-top: 10px; font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--pc-faint); }
.pc-group:first-child { margin-top: 0; }
/* Plus: an ink card with the accent's ring and a whisper of the chat doodle — flat, no gradient. */
.pcard.plus { --pc-fg: var(--kb-ink-50); --pc-dim: var(--kb-ink-300); --pc-line: rgba(255, 255, 255, .1); --pc-acc: var(--kb-accent-400); --pc-soft: rgba(127, 207, 198, .16); --pc-faint: var(--kb-ink-400);
  background: var(--kb-ink-950); border: 0; box-shadow: 0 0 0 2px var(--kb-accent-400), 0 40px 90px -36px rgba(11, 12, 16, .6); }
.pcard.plus::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--kb-accent-400); opacity: .07; -webkit-mask: var(--kb-doodle) 0 0 / 240px repeat; mask: var(--kb-doodle) 0 0 / 240px repeat; }
.pcard.plus .pc-price b { color: var(--kb-accent-400); }
.pcard.plus .kb-btn.primary { background: var(--kb-accent-400); color: var(--kb-ink-950); }
.pcard.plus .kb-btn.primary:hover { background: var(--kb-accent-300); }
/* the tab on the card's top edge */
.pc-badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 7px 16px; border-radius: 99px; background: var(--kb-accent-400); color: var(--kb-ink-950);
  font-size: 13px; font-weight: 750; letter-spacing: .01em; white-space: nowrap; }
.pcard.plus { background: #121821; }
.guarantees { list-style: none; margin: 56px auto 0; padding: 0; max-width: 964px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.guarantees li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-content: start; align-items: start; padding: 18px; border-radius: 20px; border: 1px solid var(--kb-line2); }
.g-ic { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--kb-acc); color: var(--kb-acc-ink); }
.g-ic .ic { width: 18px; height: 18px; }
.guarantees b { font-size: 15px; } .guarantees small { color: var(--dim); font-size: 13.5px; }
.plan-table-wrap { max-width: 964px; margin: 40px auto 0; border-radius: 26px; overflow-x: auto; background: var(--kb-solid); border: 1px solid var(--kb-line); box-shadow: var(--kb-shadow); }
.plan-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.plan-table caption { padding: 22px 24px 6px; text-align: left; font-size: 19px; font-weight: 750; letter-spacing: -.02em; }
.plan-table th, .plan-table td { padding: 14px 24px; text-align: left; border-top: 1px solid var(--line); vertical-align: middle; }
.plan-table thead th { border-top: 0; font-size: 14px; font-weight: 750; color: var(--dim); }
.plan-table thead th.pt-plus { color: var(--kb-acc); }
.plan-table tbody th { font-weight: 600; width: 36%; }
.plan-table td { width: 32%; }
.plan-table td { color: var(--dim); }
.plan-table td.pt-plus { background: var(--kb-acc-soft); color: var(--fg); font-weight: 600; }
.plan-table small { color: var(--dim); font-weight: 500; }
.pt-c { display: inline-flex; align-items: center; gap: 10px; }
.pt-y { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--kb-v-green); color: #fff; }
.pt-y .ic { width: 15px; height: 15px; }
.plan-table .pt-group th { padding-top: 22px; color: var(--kb-acc); font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; width: auto; }

/* which plan fits: four picks, the matching card lights up */
.fit { max-width: 964px; margin: 0 auto 44px; padding: 26px 28px; border-radius: 26px; }
.fit-head { display: flex; align-items: center; gap: 4px; }
.fit-head h3 { font-size: 20px; letter-spacing: -.02em; }
.fit-head p { color: var(--dim); font-size: 14.5px; }
.fit-qs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin-top: 20px; }
.fit-q { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fit-q > span { font-weight: 650; font-size: 15px; }
.fit-seg { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--kb-hover); border: 1px solid var(--kb-line); }
.fit-seg button { border: 0; padding: 8px 14px; border-radius: 99px; background: none; color: var(--dim); font: 600 13.5px/1 var(--kb-font); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.fit-seg button[aria-checked="true"] { background: var(--kb-solid); color: var(--fg); box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
.fit-out { margin: 20px 0 0; padding: 14px 18px; border-radius: 16px; background: var(--kb-acc-soft); color: var(--fg); font-size: 15px; }
.fit-out b { color: var(--kb-acc); }
.price-grid > .pcard { transition: transform .45s var(--kb-enter), box-shadow .45s, outline-color .3s; outline: 2px solid transparent; outline-offset: 6px; }
.price-grid > .pcard.fit-on { outline-color: var(--kb-acc); }
.pcard.fit-on::after { content: "Fits you"; position: absolute; top: 18px; right: 20px; padding: 4px 11px; border-radius: 99px; background: var(--kb-acc-soft); color: var(--kb-acc); font-size: 12px; font-weight: 750; }
.pcard.plus.fit-on::after { background: rgba(127, 207, 198, .16); color: var(--kb-accent-400); }

/* everything Free has */
.free-all, .power { max-width: 964px; margin: 64px auto 0; }
.free-all h3, .power h3 { text-align: center; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.03em; margin-bottom: 24px; }
.free-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.free-grid li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--kb-solid); border: 1px solid var(--kb-line); font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.fg-ic { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 10px; }
.fg-ic .ic { width: 17px; height: 17px; }

/* the three ways to power the AI */
.power-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.power-grid article { position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: 22px; background: var(--kb-solid); border: 1px solid var(--kb-line2); box-shadow: var(--kb-shadow); }
.power-grid .h-ic { width: 40px; height: 40px; border-radius: 12px; margin: 0 0 14px; }
.power-grid .h-ic .ic { width: 21px; height: 21px; }
.power-grid h4 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.power-grid p { color: var(--dim); font-size: 14.5px; margin: 8px 0 18px; }
.pw-cost { margin-top: auto; font-size: 20px; letter-spacing: -.02em; color: var(--kb-acc); }
.pw-tag { position: absolute; top: 20px; right: 20px; padding: 4px 10px; border-radius: 99px; background: var(--kb-hover); color: var(--dim); font-size: 12px; font-weight: 700; }
.power-grid .plus { border-color: var(--kb-acc); }
.power-grid .plus .pw-tag { background: var(--kb-acc); color: var(--kb-acc-ink); }

/* ---------- FAQ ---------- */
.faq { padding: 130px 0 20px; }
.faq-wrap { max-width: 820px; }
details { border-bottom: 1px solid var(--line); }
.curious { border-bottom: 1px solid var(--kb-line2); }
summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 18px; font-weight: 650; letter-spacing: -.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border: solid var(--dim); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .3s var(--kb-enter); }
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { color: var(--dim); padding: 0 40px 24px 0; font-size: 16px; }

/* ---------- the end ---------- */
.end { padding: 130px 0 90px; }
.end-card { text-align: center; padding: 72px 28px; display: grid; justify-items: center; border-radius: 36px; background: var(--kb-ink-950); color: var(--kb-ink-50); position: relative; overflow: hidden; isolation: isolate; }
.end-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--kb-accent-400); opacity: .07; -webkit-mask: var(--kb-doodle) 0 0 / 260px repeat; mask: var(--kb-doodle) 0 0 / 260px repeat; }
.end-card h2 { margin: 24px 0 14px; }
.end-card .hl { color: var(--kb-accent-400); }
.end-card p { color: var(--kb-ink-300); }
.end-card .cta, .end-card .stores { justify-content: center; }
.end-card .kb-btn.primary { background: var(--kb-accent-400); color: var(--kb-ink-950); }
.end-card .kb-btn:not(.primary) { background: transparent; color: var(--kb-ink-50); border-color: rgba(255, 255, 255, .22); }
.end-card .kb-btn:not(.primary):hover { background: rgba(255, 255, 255, .08); }
.end-card { background: var(--kb-solid); border: 1px solid var(--kb-line2); }

footer { border-top: 1px solid var(--line); padding: 56px 0 56px; background: var(--kb-solid); }
.foot { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 28px 40px; align-items: start; }
.foot-brand p { color: var(--dim); font-size: 14.5px; margin-top: 12px; }
.nets.small { margin-top: 18px; gap: 8px; }
.nets.small .kb-net { width: 26px; height: 26px; }
.foot-col { display: grid; gap: 10px; font-size: 15px; }
.foot-col b { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); margin-bottom: 4px; }
.foot-col a { text-decoration: none; color: var(--dim); transition: color .2s; }
.foot-col a:hover { color: var(--fg); }
.legal { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); color: var(--kb-faint); font-size: 13px; }

/* ---------- motion in ---------- */
.reveal .copy, .reveal .shot-pair, .reveal .center-copy, .reveal .chapter, .reveal .win.board, .reveal .bento > *, .reveal .net-grid > *, .reveal .timeline > li,
.reveal .table-wrap, .reveal .see-grid > *, .reveal .babel-card, .reveal .keys-card, .reveal .steps > *, .reveal .price-grid > *, .reveal details, .reveal .flow, .reveal .end-card,
.reveal .principles > *, .reveal .tray-wrap, .reveal .learned-card, .reveal .books-vis, .reveal .voice-vis, .reveal .memory-vis, .reveal .tool-grid > *, .reveal .engine-grid > *,
.reveal .control-card, .reveal .reels-stage, .reveal .reels-copy, .reveal .rp-card, .reveal .promise-grid > *, .reveal .pair-steps > *, .reveal .whatif-grid > *, .reveal .aipriv-card,
.reveal .guarantees, .reveal .plan-table-wrap {
  opacity: 0; transform: translateY(28px); transition: opacity .9s var(--kb-enter), transform .9s var(--kb-enter); }
.reveal.in .copy, .reveal.in .shot-pair, .reveal.in .center-copy, .reveal.in .chapter, .reveal.in .win.board, .reveal.in .bento > *, .reveal.in .net-grid > *, .reveal.in .timeline > li,
.reveal.in .table-wrap, .reveal.in .see-grid > *, .reveal.in .babel-card, .reveal.in .keys-card, .reveal.in .steps > *, .reveal.in .price-grid > *, .reveal.in details, .reveal.in .flow, .reveal.in .end-card,
.reveal.in .principles > *, .reveal.in .tray-wrap, .reveal.in .learned-card, .reveal.in .books-vis, .reveal.in .voice-vis, .reveal.in .memory-vis, .reveal.in .tool-grid > *, .reveal.in .engine-grid > *,
.reveal.in .control-card, .reveal.in .reels-stage, .reveal.in .reels-copy, .reveal.in .rp-card, .reveal.in .promise-grid > *, .reveal.in .pair-steps > *, .reveal.in .whatif-grid > *, .reveal.in .aipriv-card,
.reveal.in .guarantees, .reveal.in .plan-table-wrap {
  opacity: 1; transform: none; }
.reveal.in :is(.shot-pair, .flow, .tray-wrap, .books-vis, .voice-vis, .memory-vis, .reels-copy) { transition-delay: .12s; }
.reveal.in :is(.bento, .net-grid, .timeline, .steps, .price-grid, .see-grid, .principles, .tool-grid, .engine-grid, .promise-grid, .pair-steps, .whatif-grid) > :nth-child(2) { transition-delay: .06s; }
.reveal.in :is(.bento, .net-grid, .timeline, .steps, .principles, .tool-grid, .engine-grid, .promise-grid, .pair-steps, .whatif-grid) > :nth-child(3) { transition-delay: .12s; }
.reveal.in :is(.bento, .net-grid, .timeline, .tool-grid, .promise-grid, .pair-steps, .whatif-grid) > :nth-child(4) { transition-delay: .18s; }
.reveal.in :is(.bento, .timeline, .tool-grid, .promise-grid, .whatif-grid) > :nth-child(5) { transition-delay: .24s; }
.reveal.in :is(.bento, .tool-grid, .promise-grid, .whatif-grid) > :nth-child(n+6) { transition-delay: .3s; }
/* once in, the cards lift on hover again (the reveal's transform would win otherwise) */
.reveal.in :is(.bento, .net-grid, .tool-grid) > :hover { transform: translateY(-6px); transition-duration: .45s; transition-delay: 0s; }
.reveal.in .price-grid > :hover { transform: translateY(-5px); transition-duration: .45s; transition-delay: 0s; }
.hero-copy > * { animation: rise .9s var(--kb-enter) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; } .hero-copy > :nth-child(3) { animation-delay: .12s; } .hero-copy > :nth-child(4) { animation-delay: .18s; } .hero-copy > :nth-child(5) { animation-delay: .24s; }
.stage { animation: rise 1.1s var(--kb-enter) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .net-grid, .pair-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-grid, .whatif-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* two columns: a card left alone on the last row takes the whole row */
  :is(.tool-grid, .whatif-grid, .net-grid, .pair-steps) > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .rp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rp-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .babel-card, .keys-card, .learned-card, .control-card, .aipriv-card { grid-template-columns: 1fr; }
  .keyboard { justify-content: start; }
  .foot { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .bar nav { display: none; }
  .hero-grid, .feature-grid, .private-grid, .reels-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .feature.flip .copy { order: 0; }
  .flow { position: static; }
  .stage { max-width: 760px; width: 100%; margin: 0 auto; }
  .hero { padding-top: 48px; }
  .feature { padding-top: 90px; }
  .principles, .engine-grid { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }
  .price-grid { grid-template-columns: minmax(0, 520px); }
  .guarantees { grid-template-columns: 1fr 1fr; max-width: 640px; }
  .aipriv-list li { grid-template-columns: 140px 1fr; }
  .ways { grid-template-columns: 1fr 1fr; }
  .vs-why, .power-grid { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }
  .free-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fit-qs { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .wrap { padding: 0 20px; }
  .chapter-head { padding-top: 110px; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .shot-pair { min-height: 0; padding: 20px 0; }
  .phone { max-width: 250px; }
  .hero-phone { max-width: none; }
  .p-idea { left: -2%; bottom: -4%; max-width: 210px; padding: 10px 12px; }
  .p-idea .es { font-size: 13px; }
  .p-tr { left: 22%; top: -8%; }
  .p-lock { display: none; }
  .p-progress { left: -2%; top: 8%; } .p-zero { right: -2%; }
  .p-orig { right: 0; top: 10%; max-width: 180px; }
  .p-brief { left: -2%; bottom: 4%; max-width: 230px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .bento, .net-grid, .see-grid, .tool-grid, .whatif-grid, .promise-grid, .pair-steps, .rfeat { grid-template-columns: 1fr; }
  .bcard.wide { grid-column: auto; }
  .try-launch { grid-template-columns: 1fr 1fr; }
  .launch { padding: 12px; }
  .launch small { display: none; }
  /* On a phone the demo is the phone app, edge to edge (the app wants a phone's whole width),
     a little shorter than the screen so there's always page to scroll by. */
  .demo-stage { margin: 0 -20px; }
  .win.demo-win, .win.demo-win.as-phone { width: 100%; height: min(740px, calc(100svh - 140px)); min-height: 500px; aspect-ratio: auto; padding: 0; border-radius: 0;
    background: var(--kb-solid); border: 0; border-block: 1px solid var(--kb-line2); box-shadow: none; }
  .demo-win .winbar, .demo-win.as-phone .phonebar, .demo-win.as-phone .phonehome { display: none; }
  .babel-card, .keys-card, .learned-card, .control-card, .aipriv-card, .rp-card { padding: 24px 20px; border-radius: 26px; }
  .tray { padding: 12px; border-radius: 22px; }
  .rp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rp-more { grid-template-columns: 1fr; }
  .aipriv-list li { grid-template-columns: 1fr; gap: 2px; }
  .curious { padding: 0 20px; }
  .curious dl { grid-template-columns: 1fr; gap: 4px; }
  .curious dd { margin-bottom: 10px; }
  .pcard { padding: 26px 22px; }
  .pc-price b { font-size: 64px; }
  .pc-price b.soon { font-size: 36px; }
  .ways { grid-template-columns: 1fr; }
  .guarantees { grid-template-columns: 1fr; max-width: 520px; }
  .free-grid { grid-template-columns: 1fr; }
  .fit { padding: 22px 18px; }
  .fit-q { flex-direction: column; align-items: flex-start; }
  .vs-bar { border-radius: 20px; gap: 2px; }
  .vs-bar button { padding: 8px 11px; font-size: 13px; }
  .vs-wrap:not([data-vs="all"]) .vs-table { min-width: 0; font-size: 13px; }
  .vs-wrap:not([data-vs="all"]) .vs-table :is(th, td) { padding: 12px 10px; }
  .vs-wrap:not([data-vs="all"]) .vs-table :is(td.yes, td.no, td.mid) { padding-left: 34px; }
  .vs-wrap:not([data-vs="all"]) .vs-table :is(td.yes, td.no, td.mid)::before { left: 9px; top: 13px; width: 18px; height: 18px; font-size: 11px; }
  .vs-wrap:not([data-vs="all"]) .vs-table :is(thead th, tbody tr:not(.vs-group) > *):first-child { width: 30%; }
  .vs-name { font-size: 14.5px; }
  .vs-table th:first-child { position: sticky; left: 0; z-index: 1; background: var(--kb-solid); }
  .timeline::before { left: 8px; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; padding-left: 28px; }
  .timeline time { padding-top: 0; }
  .timeline time::after { left: -26px; right: auto; top: -2px; }
  .keyboard { grid-template-columns: repeat(4, auto); }
  .keyboard kbd { min-width: 50px; height: 50px; }
  summary { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal * { opacity: 1 !important; transform: none !important; }
  /* the reel stays on its first slide: no tap, heart or toast floating over it */
  .rtap, .rbloom, .rtoast, .ract.like .on { opacity: 0 !important; }
  .book { transform: rotate(180deg) !important; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; }
.notfound h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 820; letter-spacing: -.045em; }
.notfound .cta { margin-top: 8px; }

/* ================= the tide: the cinematic layer =================
   Dark only. The near-blacks lean to the lagoon (every neutral is mixed off
   the accent's hue), one saturated thing per frame — the lagoon — and the
   coral only as a glint. Motion is scroll-driven where it can be (site.js
   writes --hp, --sp, --pg and lights the manifesto's words) and stops for
   prefers-reduced-motion. */
:root {
  --kb-bg: #05090a; --kb-fg: #eef6f5; --kb-dim: #9fb3b1; --kb-faint: #5d7371; --kb-line: rgba(170, 255, 240, .075);
  --kb-line2: rgba(170, 255, 240, .14); --kb-card: rgba(12, 20, 21, .78); --kb-solid: #0b1314; --kb-field: rgba(255, 255, 255, .04); --kb-hover: rgba(255, 255, 255, .05);
  --kb-acc: #7fcfc6; --kb-acc-ink: #04201d; --kb-acc-soft: rgba(127, 207, 198, .12); --kb-ring: rgba(127, 207, 198, .35);
  --kb-good: #3ccf8e; --kb-warn: #ffb74d; --kb-bad: #ff6b7d;
  --kb-grad-text: linear-gradient(100deg, #c9f3ec 0%, #7fcfc6 45%, #5fc0cf 100%);
  --kb-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 60px -24px rgba(0, 0, 0, .8);
  --kb-shadow-lg: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 40px 100px -30px rgba(0, 0, 0, .9);
  --kb-glow-shadow: rgba(63, 168, 158, .55);
  --fg: var(--kb-fg); --dim: var(--kb-dim); --line: var(--kb-line);
  --shine: linear-gradient(100deg, #d6f7f1 0%, #7fcfc6 38%, #ffc2b3 62%, #7fcfc6 82%, #d6f7f1 100%);
  color-scheme: dark;
}
body { background: var(--kb-bg); }
::selection { background: rgba(127, 207, 198, .32); color: #fff; }
/* film grain over everything, never in the way */
body::after { content: ""; position: fixed; inset: -60px; z-index: 70; pointer-events: none; opacity: .055;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(5) infinite; }
@keyframes grain { 20% { transform: translate(-12px, 8px); } 40% { transform: translate(9px, -14px); } 60% { transform: translate(-6px, -9px); } 80% { transform: translate(14px, 11px); } }

/* type: Golos Text for everything that's a headline, tighter and bigger */
h1, h2, h3, .chapter h2, .pc-price b, .strip-grid b { font-family: var(--kb-display); }
h2 { font-size: clamp(34px, 4.8vw, 62px); font-weight: 650; letter-spacing: -.045em; line-height: 1.02; }
h3 { font-weight: 600; letter-spacing: -.02em; }
.copy p, .center-copy p, .chapter p { color: var(--kb-dim); }
/* the words that matter: a slow lagoon shimmer with a coral glint */
.hl, .hw { background: var(--shine); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 9s ease-in-out infinite alternate; }
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.end-card .hl { color: transparent; }

/* ---------- the bar: a glass pill that appears once you move ---------- */
.top { position: fixed; inset: 0 0 auto; background: transparent; border: 0; box-shadow: none; }
.top .bar { height: 60px; margin-top: 12px; padding: 0 10px 0 18px; border-radius: 20px; border: 1px solid transparent; max-width: 1240px;
  transition: background .4s, border-color .4s, backdrop-filter .4s; }
.top.scrolled { box-shadow: none; }
.top.scrolled .bar { background: rgba(7, 12, 13, .62); border-color: var(--kb-line2); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); }
.bar nav a { color: var(--kb-dim); font-weight: 500; }
.bar nav a:hover { color: #fff; }
.progress { position: absolute; left: 0; top: 0; width: 100%; height: 2px; transform-origin: 0 50%; transform: scaleX(var(--pg, 0)); background: linear-gradient(90deg, #9adfd3, #3fa89e 60%, #ffb4a2); }
.kb-logo { --mark: 30px; }

/* ---------- buttons: the accent glows, a light runs across it ---------- */
.kb-btn { background: rgba(255, 255, 255, .04); border-color: var(--kb-line2); color: var(--kb-fg); }
.kb-btn:hover { background: rgba(255, 255, 255, .08); }
.kb-btn.primary { background: #7fcfc6; color: #04201d; }
.kb-btn.primary:hover { background: #95dbd3; }
.kb-btn.glow { overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 12px 44px -10px rgba(127, 207, 198, .75); }
.kb-btn.glow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); animation: sheen 4.5s var(--kb-enter) 2.2s infinite; }
@keyframes sheen { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }
.store { background: rgba(0, 0, 0, .45); border-color: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ---------- hero: the tide under the promise, the app rising flat ---------- */
.hero { position: relative; padding: 156px 0 40px; overflow: clip; isolation: isolate; text-align: center; }
.tide { position: absolute; inset: 0; z-index: -1; display: block; width: 100%; height: 100%; }
/* what shows before (or without) WebGL: the same water, still */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(55% 45% at 28% 18%, rgba(63, 168, 158, .5), transparent 70%), radial-gradient(48% 42% at 76% 26%, rgba(23, 113, 109, .6), transparent 72%),
    radial-gradient(36% 30% at 58% 52%, rgba(255, 180, 162, .16), transparent 70%), var(--kb-bg); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: -1; background: linear-gradient(rgba(5, 9, 10, 0), var(--kb-bg) 78%); pointer-events: none; }
.hero .hero-copy { display: flex; flex-direction: column; align-items: center; max-width: 1260px; }
.hero .hero-copy > * { animation: none; }
.js .hero h1:not(.go) { opacity: 0; animation: unhide 0s linear 3s forwards; }
@keyframes unhide { to { opacity: 1; } }
.hero h1 { max-width: 11.5em; margin: 28px auto 0; font-size: clamp(46px, 7.8vw, 116px); font-weight: 650; letter-spacing: -.058em; line-height: .96; text-wrap: balance; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; animation: rise 1s var(--kb-enter) 1.1s both; }
.hero-cta .store { height: 56px; padding: 0 20px 0 14px; }
.hero-cta .store b { font-size: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: .55em; padding: 9px 16px 9px 12px; border-radius: 99px; border: 1px solid var(--kb-line2); background: rgba(5, 9, 10, .42);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 500 12.5px/1.2 var(--kb-mono); letter-spacing: .12em; text-transform: uppercase; color: #cfe3e0;
  animation: rise .9s var(--kb-enter) .1s both; }
.beat { width: 8px; height: 8px; border-radius: 50%; background: var(--kb-acc); animation: beat 2.2s ease-out infinite; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgba(127, 207, 198, .7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(127, 207, 198, 0); } }
/* the networks take turns */
.slot { display: inline-block; height: 1.2em; overflow: hidden; text-align: left; vertical-align: bottom; font-weight: 700; }
.slot > span { display: block; height: 1.2em; animation: slot 10s var(--kb-enter) infinite; }
.s-wa { color: #3ee17f; } .s-ig { color: #ff6b9b; } .s-tg { color: #5cc3f5; } .s-sms { color: #d4dadf; }
@keyframes slot { 0%, 20% { transform: translateY(0); } 25%, 45% { transform: translateY(-100%); } 50%, 70% { transform: translateY(-200%); } 75%, 95% { transform: translateY(-300%); } 100% { transform: translateY(-400%); } }
.stage-wrap { max-width: 1240px; margin-top: 76px; perspective: 1900px; animation: lift 1.6s var(--kb-enter) .55s both; }
@keyframes lift { from { opacity: 0; transform: translateY(120px); } }
.hero .stage { --hp: 0; max-width: 1120px; margin: 0 auto; transform-origin: 50% 0; animation: none; will-change: transform;
  transform: rotateX(calc((1 - var(--hp)) * 24deg)) scale(calc(.9 + var(--hp) * .1)); }
.hero .stage .win { inset: 0 8% auto 0; box-shadow: 0 0 0 1px rgba(170, 255, 240, .14), 0 70px 180px -40px rgba(63, 168, 158, .6), 0 40px 90px -30px rgba(0, 0, 0, .95); }
.hero .stage::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -12%; height: 30%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(63, 168, 158, .45), transparent); filter: blur(30px); }
.win { background: #0b1314; border-color: var(--kb-line2); }
.winbar { background: #0f1819; border-color: var(--kb-line); }
.piece { background: rgba(13, 22, 23, .82); border-color: var(--kb-line2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

/* ---------- the split headlines: letters write themselves in ---------- */
.split .w { display: inline-block; white-space: nowrap; }
.split .ch { display: inline-block; opacity: 0; transform: translateY(.38em) scale(.84); filter: blur(12px);
  transition: opacity .7s var(--kb-enter), transform 1.1s var(--kb-enter), filter .8s var(--kb-enter); transition-delay: calc(var(--i) * 20ms + .15s); }
.split .hl { background: none; animation: none; color: inherit; }
.split .hw { padding: 0 .04em .1em; margin: 0 -.04em -.1em; clip-path: inset(-.3em 100% -.3em 0); transition: clip-path 1.3s var(--kb-enter); transition-delay: calc(var(--n) * 20ms + var(--w) * 130ms + .2s); }
:is(.split.go, .in .split) .ch { opacity: 1; transform: none; filter: none; }
:is(.split.go, .in .split) .hw { clip-path: inset(-.3em -.2em -.3em 0); }

/* ---------- the ticker ---------- */
.ticker { position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--kb-line);
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track > div { display: flex; align-items: center; gap: 30px; padding-right: 30px; }
.ticker span { font: 500 13.5px/1 var(--kb-mono); letter-spacing: .16em; text-transform: uppercase; color: #b7c9c6; white-space: nowrap; }
.ticker i { font-style: normal; font-size: 12px; color: var(--kb-acc); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- the manifesto: pinned, its words light up with the scroll ---------- */
.manifesto { height: 240vh; }
.mf-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.mf-pin::before { content: ""; position: absolute; left: 50%; top: 50%; width: 80vmin; height: 80vmin; margin: -40vmin 0 0 -40vmin; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(63, 168, 158, .22), transparent); opacity: var(--mp, 0); transform: scale(calc(.6 + var(--mp, 0) * .6)); }
.mf-text { position: relative; max-width: 21em; margin: 0 auto; text-align: center; font: 600 clamp(30px, 4.7vw, 66px)/1.1 var(--kb-display); letter-spacing: -.04em; text-wrap: balance; }
.mf-text em { font-style: normal; }
.mf-text .wd { opacity: .12; transition: opacity .4s, color .4s, text-shadow .4s; }
.mf-text .wd.on { opacity: 1; }
.mf-text em .wd.on { color: var(--kb-acc); text-shadow: 0 0 34px rgba(127, 207, 198, .5); }

/* ---------- the live demo, the numbers ---------- */
.try { padding-top: 60px; }
.launch { background: var(--kb-solid); border-color: var(--kb-line); }
.demo-win { box-shadow: 0 0 0 1px rgba(170, 255, 240, .12), 0 60px 160px -50px rgba(63, 168, 158, .45), 0 40px 90px -30px rgba(0, 0, 0, .9); }
.strip-grid { gap: 14px; background: none; border: 0; overflow: visible; }
.strip-grid div { padding: 30px 28px; border-radius: 24px; border: 1px solid var(--kb-line); background: linear-gradient(180deg, rgba(127, 207, 198, .07), rgba(127, 207, 198, 0) 70%), var(--kb-solid); }
.strip-grid b { font-size: clamp(46px, 5.2vw, 70px); font-weight: 650; letter-spacing: -.055em; line-height: 1; margin-bottom: 10px;
  background: var(--kb-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }

/* ---------- chapters: a giant numeral behind, a kicker on top ---------- */
.chapter-head { padding: 220px 0 20px; overflow: clip; }
.chapter { position: relative; isolation: isolate; max-width: 1040px; padding-top: 58px; }
.chapter::before { content: attr(data-n); position: absolute; left: 50%; top: -.36em; z-index: -1; transform: translateX(-50%); pointer-events: none;
  font: 700 clamp(170px, 27vw, 400px)/1 var(--kb-display); letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1px rgba(127, 207, 198, .2);
  background: linear-gradient(180deg, rgba(127, 207, 198, .17), rgba(127, 207, 198, 0) 72%); -webkit-background-clip: text; background-clip: text; }
.chapter::after { content: attr(data-k); position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 12px;
  font: 500 12.5px/1 var(--kb-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--kb-acc); white-space: nowrap; }
.chapter h2 { font-size: clamp(42px, 6.8vw, 96px); font-weight: 650; letter-spacing: -.055em; line-height: .98; }
.center-copy h2 { text-wrap: balance; }

/* ---------- surfaces: glass on the dark, a light that follows the pointer ---------- */
:is(.pr, .tool, .engine, .bcard, .netcard, .pcard, .see, .wi, .promise, .launch, .learned-card, .control-card, .babel-card, .keys-card, .aipriv-card, .rp-card, .lv-card, .fit, .vs-why > *, .power-grid > *, details) {
  border-color: var(--kb-line);
  background-image: radial-gradient(520px circle at var(--mx, -999px) var(--my, -999px), rgba(127, 207, 198, .12), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, 0) 45%); }
:is(.pr, .tool, .engine, .bcard, .netcard, .pcard, .see, .wi, .promise, .launch):hover { border-color: rgba(127, 207, 198, .28); }
.shot-pair::before { width: 86%; background: radial-gradient(closest-side, rgba(63, 168, 158, .34), rgba(63, 168, 158, 0)); filter: blur(10px); }
/* the screens drift as you scroll past (site.js writes --sp, -1 below → 1 above) */
.shot-pair > .phone { transition: none; }
.shot-pair > .phone.tilt-l { transform: translateY(calc(var(--sp, 0) * -44px)) rotate(calc(-3deg + var(--sp, 0) * 2.5deg)); }
.shot-pair > .phone.tilt-r { transform: translateY(calc(var(--sp, 0) * -44px)) rotate(calc(3deg - var(--sp, 0) * 2.5deg)); }
.shot-pair > .piece { translate: 0 calc(var(--sp, 0) * 34px); }
.showcase { perspective: 2000px; }
.showcase .win.board { transform-origin: 50% 0; transform: rotateX(calc(max(var(--sp, 0), 0) * 16deg)) scale(calc(1 - max(var(--sp, 0), 0) * .06)); }
.reveal.in .win.board { transform: rotateX(calc(max(var(--sp, 0), 0) * 16deg)) scale(calc(1 - max(var(--sp, 0), 0) * .06)); }
.reveal .copy, .reveal .center-copy, .reveal .chapter { transform: translateY(40px); }
.reveal.in .copy, .reveal.in .center-copy, .reveal.in .chapter { transform: none; }
.ribbon { display: none; }

/* ---------- the end: a slow aurora behind the last call ---------- */
.end-card { background: #061011; border: 1px solid var(--kb-line2); }
.end-card::after { content: ""; position: absolute; inset: -50%; z-index: -2; filter: blur(70px); opacity: .7; animation: spin 22s linear infinite;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(63, 168, 158, .55) 50deg, transparent 110deg, rgba(255, 180, 162, .22) 170deg, transparent 230deg, rgba(154, 223, 211, .4) 290deg, transparent 360deg); }
@keyframes spin { to { transform: rotate(1turn); } }
.end-card h2 { font-size: clamp(40px, 6vw, 84px); letter-spacing: -.055em; }

/* ---------- footer: the name bleeds off the page ---------- */
footer { position: relative; overflow: hidden; padding-bottom: 0; background: var(--kb-bg); border-top: 1px solid var(--kb-line); }
.bleed { margin-top: 48px; text-align: center; pointer-events: none; user-select: none; -webkit-user-select: none; }
.bleed span { display: block; font: 600 clamp(110px, 27vw, 440px)/.8 var(--kb-display); letter-spacing: -.065em; white-space: nowrap; transform: translateY(16%);
  background: linear-gradient(180deg, rgba(160, 230, 221, .95), rgba(63, 168, 158, .38) 52%, rgba(63, 168, 158, 0) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- the tide on smaller screens ---------- */
@media (max-width: 1080px) {
  .hero { padding-top: 130px; }
  .hero .stage { max-width: 760px; }
}
@media (max-width: 700px) {
  .top .bar { height: 54px; margin: 8px 10px 0; padding: 0 8px 0 14px; border-radius: 17px; }
  .kb-logo { --mark: 28px; }
  .hero { padding: 116px 0 24px; }
  .hero h1 { margin-top: 22px; font-size: clamp(42px, 12.4vw, 60px); letter-spacing: -.05em; }
  .eyebrow { font-size: 11px; letter-spacing: .1em; padding: 8px 13px 8px 10px; }
  .hero-cta { margin-top: 32px; width: 100%; }
  .hero-cta .kb-btn { width: 100%; }
  .hero-cta .store { flex: 1 1 0; min-width: 0; height: 52px; padding: 0 12px 0 10px; gap: 9px; }
  .hero-cta .store b { font-size: 15.5px; }
  .hero-cta .store small { font-size: 9px; letter-spacing: .04em; white-space: nowrap; }
  .hero-cta .store-logo { width: 24px; height: 24px; }
  .stage-wrap { margin-top: 48px; }
  .hero .stage { transform: rotateX(calc((1 - var(--hp)) * 14deg)) scale(calc(.94 + var(--hp) * .06)); }
  .ticker { padding: 16px 0; }
  .ticker span { font-size: 12px; }
  .manifesto { height: 210vh; }
  .mf-text { font-size: clamp(28px, 8.4vw, 40px); }
  .chapter-head { padding-top: 150px; }
  .chapter { padding-top: 48px; }
  .chapter::before { font-size: 46vw; top: -.2em; }
  .chapter h2 { font-size: clamp(38px, 11vw, 54px); }
  .strip-grid div { padding: 22px 20px; border-radius: 20px; }
  .bleed { margin-top: 32px; }
  .bleed span { font-size: 30vw; }
}
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none !important; }
  .split .ch, .split .hw, .mf-text .wd { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .hero .stage, .showcase .win.board, .shot-pair > .phone, .shot-pair > .piece { transform: none !important; translate: none !important; }
  .slot > span { animation: none !important; }
}

/* ================= the tide, part two: more motion =================
   The hero's chats orbit the promise and fall into the app; a phone turns
   through the app on a pinned scroll; giant words slide with the page; reels
   ride a ring; the four networks fuse into the mark; a message turns into
   random numbers and back; the day runs sideways; a cursor that answers;
   cards that tilt; letters that hop. site.js drives them from one scroll
   frame. Without JS (or with reduced motion) each one rests in place. */

/* ---------- the orbit: every chat circling the promise ---------- */
.orbit { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero .hero-copy { position: relative; z-index: 3; }
.stage-wrap { position: relative; z-index: 1; }
.ob { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 9px; max-width: 280px; padding: 8px 14px 8px 8px; border-radius: 18px 18px 18px 6px;
  background: rgba(9, 17, 18, .86); border: 1px solid rgba(170, 255, 240, .15); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .85);
  color: #dcebe9; font: 500 13.5px/1.25 var(--kb-font); white-space: nowrap; opacity: 0; will-change: transform, opacity; }
.ob .kb-net { width: 28px; height: 28px; }
.ob-av { position: relative; flex-shrink: 0; width: 34px; height: 34px; }
.ob-av img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.ob .ob-av .kb-net { position: absolute; right: -3px; bottom: -3px; width: 15px; height: 15px; box-shadow: 0 0 0 2px #0a1314; }
.ob > div { min-width: 0; }
.ob b { display: block; font-size: 11.5px; font-weight: 650; color: var(--kb-acc); }
.ob span { display: block; overflow: hidden; text-overflow: ellipsis; }

/* ---------- the tour: one phone, three screens, turned by the scroll ---------- */
.tour { position: relative; height: 420vh; }
.tour-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.tour-pin::before { content: ""; position: absolute; right: 8%; top: 50%; width: 70vmin; height: 70vmin; margin-top: -35vmin; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, var(--tc, rgba(63, 168, 158, .3)), transparent); transition: background 1s; }
.tour[data-s="1"] { --tc: rgba(92, 195, 245, .22); }
.tour[data-s="2"] { --tc: rgba(255, 170, 150, .2); }
.tour-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 1200px; }
.tour-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.tour-steps li { grid-area: 1 / 1; opacity: 0; transform: translateY(46px); filter: blur(10px); pointer-events: none;
  transition: opacity .6s var(--kb-enter), transform .9s var(--kb-enter), filter .6s var(--kb-enter); }
.tour-steps li.past { transform: translateY(-46px); }
.tour-steps li.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.ts-n { font: 500 13px/1 var(--kb-mono); letter-spacing: .2em; color: var(--kb-acc); }
.tour-steps h3 { margin-top: 20px; font: 650 clamp(40px, 5.4vw, 80px)/.98 var(--kb-display); letter-spacing: -.055em; text-wrap: balance; }
.tour-steps h3 em { font-style: normal; background: var(--shine); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 9s ease-in-out infinite alternate; }
.tour-steps p { margin-top: 24px; max-width: 25em; font-size: 18.5px; line-height: 1.55; color: var(--kb-dim); }
.tour-stage { position: relative; height: min(76vh, 700px); display: grid; place-items: center; perspective: 1700px; }
.tour-phone { position: relative; height: 100%; aspect-ratio: 390 / 844; transform-style: preserve-3d; will-change: transform;
  transform: translateY(var(--ty, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotateZ(var(--rz, 0deg)); }
.tp-face { position: absolute; inset: 0; border-radius: 13% / 6%; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 0 0 9px #0d1617, 0 0 0 10px rgba(170, 255, 240, .2), 0 70px 120px -40px rgba(63, 168, 158, .55); }
.tp-front { background: #000; }
.tp-front::before { content: ""; position: absolute; z-index: 2; top: 1.3%; left: 50%; width: 26%; height: 2.6%; margin-left: -13%; border-radius: 20px; background: #0d1617; }
/* the screens sit under a status bar, where the camera is */
.tp-front img { position: absolute; left: 0; top: 5%; width: 100%; height: 95%; object-fit: cover; object-position: top; opacity: 0; }
.tp-front img.on { opacity: 1; }
.tp-back { transform: rotateY(180deg); display: grid; place-items: center;
  background: radial-gradient(60% 40% at 30% 20%, rgba(255, 255, 255, .35), transparent 70%), linear-gradient(160deg, #9adfd3, #3fa89e 55%, #17716d); }
.tp-back::before { content: ""; position: absolute; left: 7%; top: 3.5%; width: 34%; aspect-ratio: 1; border-radius: 26%; background: rgba(4, 32, 29, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.tp-back .kb-mark { width: 34%; height: auto; aspect-ratio: 1; filter: drop-shadow(0 12px 24px rgba(4, 32, 29, .4)); }
.tour-bits { position: absolute; left: 50%; top: 50%; width: 0; height: 0; --k: 1; }
.tb { position: absolute; left: 0; top: 0; opacity: 0; transform: translate(-50%, -50%) scale(.3); transition: opacity .45s var(--kb-enter), transform .9s var(--kb-enter); white-space: nowrap; }
.tb.on { opacity: 1; transform: translate(calc(-50% + var(--x) * var(--k)), calc(-50% + var(--y) * var(--k))) scale(1); }
.tb.kb-net { width: 72px; height: 72px; box-shadow: 0 0 0 8px rgba(255, 255, 255, .04), 0 20px 60px -10px var(--nc); }
.tb.piece { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 16px; font-size: 15px; font-weight: 550; color: #e6f2f0; }
.tb.piece em { font-style: normal; color: var(--kb-acc); }
.tour-bar { position: absolute; left: 50%; bottom: 5vh; display: flex; gap: 8px; transform: translateX(-50%); }
.tour-bar i { width: 56px; height: 3px; border-radius: 3px; background: var(--kb-line2); overflow: hidden; position: relative; }
.tour-bar i::after { content: ""; position: absolute; inset: 0; background: var(--kb-acc); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }

/* ---------- giant words that slide with the page ---------- */
.giant { padding: 90px 0 0; overflow: hidden; pointer-events: none; user-select: none; -webkit-user-select: none; }
.gr { margin: 0; white-space: nowrap; font: 650 clamp(64px, 11vw, 170px)/1.02 var(--kb-display); letter-spacing: -.05em; }
.gr span { display: inline-block; will-change: transform; transform: translate3d(var(--gx, 0px), 0, 0) skewX(var(--gk, 0deg)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.gr span { background: linear-gradient(90deg, #d6f7f1, #7fcfc6 50%, #ffc2b3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gr.out span { background: none; color: transparent; -webkit-text-stroke: 1.5px rgba(127, 207, 198, .38); }

/* ---------- chapters: the kicker decodes, the numeral drifts, a glow breathes ---------- */
.chapter.kicked::after { content: none; }
.kick { position: absolute; left: 50%; top: 0; transform: translateX(-50%); font: 500 12.5px/1 var(--kb-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--kb-acc); white-space: nowrap; }
.chapter::before { transform: translateX(-50%) translateY(calc(var(--sp, 0) * 110px)); }
.chapter-head { position: relative; isolation: isolate; }
.chapter-head::before { content: ""; position: absolute; left: 50%; top: 40%; width: 90vmin; height: 60vmin; margin: -30vmin 0 0 -45vmin; border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(63, 168, 158, .2), transparent); opacity: calc(1 - min(1, max(var(--sp, 0), calc(var(--sp, 0) * -1)))); transform: scale(calc(1.2 - min(1, max(var(--sp, 0), calc(var(--sp, 0) * -1))) * .4)); }
#reels.chapter-head::before { background: radial-gradient(closest-side, rgba(255, 107, 155, .16), transparent); }
#private.chapter-head::before { background: radial-gradient(closest-side, rgba(92, 195, 245, .16), transparent); }
/* the paragraph comes into focus word by word */
.focus .fw { opacity: .12; filter: blur(5px); transition: opacity .7s var(--kb-enter), filter .7s var(--kb-enter); transition-delay: calc(var(--i) * 16ms + .35s); }
.in .focus .fw { opacity: 1; filter: none; }

/* ---------- the reel ring ---------- */
.ring-stage { position: relative; height: 540px; margin-top: 30px; perspective: 1500px; perspective-origin: 50% 20%; }
.rring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-9deg) rotateY(var(--ra, 0deg)); will-change: transform; }
.rc { position: absolute; left: -105px; top: -187px; width: 210px; height: 374px; margin: 0; border-radius: 24px; overflow: hidden; background: #0b1314;
  transform: rotateY(calc(var(--i) * 45deg)) translateZ(430px); filter: brightness(var(--lit, 1));
  box-shadow: 0 0 0 1px rgba(170, 255, 240, .16), 0 40px 80px -30px rgba(0, 0, 0, .9); }
.rc img, .rc video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rc video { opacity: 0; transition: opacity .6s; }
.rc video.on { opacity: 1; }
.rc figcaption { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 5px; border-radius: 99px;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 12.5px; font-weight: 600; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rc figcaption .kb-net { width: 20px; height: 20px; }
.ring-stage::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: 0; height: 60px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 107, 155, .25), transparent); filter: blur(16px); }

/* ---------- four apps fuse into one ---------- */
.fuse { position: relative; height: 260vh; }
.fuse-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.fuse-stage { position: relative; width: 0; height: 0; }
.fo { position: absolute; left: -46px; top: -46px; width: 92px; height: 92px; will-change: transform, opacity; box-shadow: 0 0 70px -6px var(--nc), 0 0 0 10px rgba(255, 255, 255, .03); }
.fuse-mark { position: absolute; left: -84px; top: -84px; width: 168px; height: 168px; transform: scale(var(--ms, 0)) rotate(calc((1 - var(--ms, 0)) * -60deg)); filter: drop-shadow(0 0 60px rgba(127, 207, 198, .7)); }
.fuse-ring { position: absolute; left: -160px; top: -160px; width: 320px; height: 320px; border-radius: 50%; border: 2px solid rgba(154, 223, 211, .9);
  opacity: var(--ro, 0); transform: scale(var(--rs, .3)); }
.fuse-ring.r2 { border-color: rgba(255, 180, 162, .7); opacity: var(--ro2, 0); transform: scale(var(--rs2, .3)); }
.fuse-words { position: absolute; left: 0; right: 0; top: 13vh; display: grid; text-align: center; font: 650 clamp(44px, 7vw, 110px)/1 var(--kb-display); letter-spacing: -.055em; }
.fuse-words span { grid-area: 1 / 1; transition: opacity .6s var(--kb-enter), transform .9s var(--kb-enter), filter .6s; }
.fw-a { color: transparent; -webkit-text-stroke: 1.5px rgba(238, 246, 245, .55); }
.fw-b { opacity: 0; transform: translateY(40px); filter: blur(10px); background: var(--shine); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.fuse.done .fw-a { opacity: 0; transform: translateY(-40px); filter: blur(10px); }
.fuse.done .fw-b { opacity: 1; transform: none; filter: none; }

/* ---------- the cipher: readable, random numbers, readable ---------- */
.cipher { position: relative; height: 260vh; }
.cipher-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.cipher-pin .wrap { display: grid; justify-items: center; gap: 46px; max-width: 1100px; }
.cp-where { display: grid; margin: 0; font: 500 13px/1 var(--kb-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--kb-acc); }
.cp-where span { grid-area: 1 / 1; text-align: center; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--kb-enter); }
.cp-where span.on { opacity: 1; transform: none; }
.cp-line { margin: 0; max-width: 24ch; text-align: center; font: 600 clamp(24px, 3.6vw, 50px)/1.3 var(--kb-mono); letter-spacing: -.02em; color: var(--kb-fg); }
.cp-line .x { color: var(--kb-acc); opacity: .75; text-shadow: 0 0 18px rgba(127, 207, 198, .55); }
.cp-path { position: relative; display: flex; justify-content: space-between; width: min(640px, 86vw); }
.cp-path::before { content: ""; position: absolute; left: 22px; right: 22px; top: 50%; height: 2px; margin-top: -1px; background: linear-gradient(90deg, var(--kb-line2), rgba(127, 207, 198, .5), var(--kb-line2)); }
.cp-node { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--kb-solid); border: 1px solid var(--kb-line2); color: var(--kb-dim); }
.cp-node .ic { width: 22px; height: 22px; }
.cp-dot { position: absolute; left: calc(22px + var(--cd, 0) * (100% - 44px)); top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--kb-acc); box-shadow: 0 0 0 6px rgba(127, 207, 198, .18), 0 0 30px rgba(127, 207, 198, .9); }

/* ---------- the day, sideways (site.js sets .hz and the height) ---------- */
.day.hz { padding: 0; }
.day.hz .day-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 64px; overflow: hidden; isolation: isolate; }
.day.hz .day-pin::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .9;
  background: radial-gradient(60% 50% at 50% 0%, color-mix(in oklab, rgba(255, 190, 120, .22) calc(100% - var(--dp, 0) * 100%), rgba(130, 110, 255, .2)), transparent 70%); }
.day-sun { display: none; }
.day.hz .day-sun { display: block; position: absolute; z-index: -1; left: 0; top: 0; width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%;
  transform: translate3d(var(--sx, 0px), var(--sy, 0px), 0);
  background: radial-gradient(circle at 35% 35%, #fff6e0, color-mix(in oklab, #ffc27a calc(100% - var(--dp, 0) * 100%), #c9d4ff) 55%, transparent 72%);
  box-shadow: 0 0 120px 40px color-mix(in oklab, rgba(255, 190, 120, .35) calc(100% - var(--dp, 0) * 100%), rgba(160, 170, 255, .3)); }
.day.hz .day-track { width: 100%; }
.day.hz .timeline { display: flex; gap: 32px; width: max-content; max-width: none; margin: 0; padding: 0 max(24px, calc(50vw - 560px)); transform: translate3d(calc(var(--dx, 0) * -1px), 0, 0); will-change: transform; }
.day.hz .timeline::before { left: 0; right: 0; top: 112px; bottom: auto; width: auto; height: 2px; }
.day.hz .timeline li { display: flex; flex-direction: column; gap: 0; width: min(410px, 80vw); }
.day.hz .timeline time { height: 90px; padding: 0; font: 650 88px/1 var(--kb-display); letter-spacing: -.055em; color: transparent; -webkit-text-stroke: 1.5px rgba(127, 207, 198, .55); }
.day.hz .timeline time::after { right: auto; left: 4px; top: auto; bottom: -28px; }
.day.hz .tl-card { margin-top: 56px; min-height: 170px; padding: 24px 26px; border-radius: 26px; }

/* ---------- the cursor, magnetic buttons, cards that tilt ---------- */
.cur { position: fixed; left: 0; top: 0; z-index: 95; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; pointer-events: none;
  border: 1.5px solid rgba(154, 223, 211, .75); opacity: 0; transition: width .35s var(--kb-enter), height .35s var(--kb-enter), margin .35s var(--kb-enter), background .35s, border-color .35s, opacity .3s; }
.cur.on { opacity: 1; }
.cur.big { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: rgba(127, 207, 198, .13); border-color: rgba(127, 207, 198, .25); }
.cur.off { opacity: 0; }
.cur-dot { position: fixed; left: 0; top: 0; z-index: 96; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--kb-acc); pointer-events: none; opacity: 0; transition: opacity .3s; }
.cur-dot.on { opacity: 1; }
.mag { transition: translate .5s var(--kb-enter); }
.reveal.in .net-grid > .netcard:hover, .reveal.in .price-grid > .pcard:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); transition-duration: .2s; }

/* ---------- the end: its line rolls in like dice ---------- */
.split.roll .ch { transform: perspective(500px) rotateX(-100deg) translateY(.15em); transform-origin: 50% 80%; filter: none; transition-duration: .6s, 1s, .6s; transition-delay: calc(var(--i) * 28ms + .1s); }

/* ---------- the footer's name: letters rise, and hop under the pointer ---------- */
.bleed span.lt { display: flex; justify-content: center; background: none; }
.bl { display: inline-block; font-style: normal; translate: 0 100%; transform: translateY(var(--lift, 0px)); transition: transform .5s var(--kb-enter);
  background: linear-gradient(180deg, rgba(160, 230, 221, .95), rgba(63, 168, 158, .38) 52%, rgba(63, 168, 158, 0) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bleed.in .bl { animation: blrise 1.3s var(--kb-enter) calc(var(--i) * 70ms) forwards; }
@keyframes blrise { to { translate: 0 0; } }

@media (max-width: 1080px) {
  .tour-grid { gap: 20px; }
  .tour-bits { --k: .75; }
}
@media (max-width: 700px) {
  .ob { max-width: 190px; padding: 6px 11px 6px 6px; font-size: 12px; gap: 7px; }
  .ob .kb-net { width: 22px; height: 22px; }
  .ob-av { width: 28px; height: 28px; }
  .ob .ob-av .kb-net { width: 13px; height: 13px; }
  .ob b { font-size: 10.5px; }
  .tour { height: 400vh; }
  .tour-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 10px; height: 100%; padding-top: 86px; padding-bottom: 60px; align-items: stretch; }
  .tour-steps h3 { margin-top: 12px; font-size: clamp(30px, 9vw, 40px); }
  .tour-steps p { margin-top: 12px; font-size: 15px; }
  .tour-stage { height: auto; min-height: 0; }
  .tour-phone { height: min(52vh, 440px); }
  .tour-bits { --k: .4; }
  .tb.kb-net { width: 48px; height: 48px; }
  .tb.piece { max-width: 46vw; padding: 9px 12px; font-size: 12.5px; border-radius: 13px; white-space: normal; }
  .tour-bar { bottom: 3vh; }
  .tour-bar i { width: 40px; }
  .giant { padding-top: 60px; }
  .gr { font-size: 17vw; }
  .ring-stage { height: 380px; }
  .rc { left: -58px; top: -104px; width: 116px; height: 208px; border-radius: 16px; transform: rotateY(calc(var(--i) * 45deg)) translateZ(175px); }
  .rc figcaption { font-size: 11px; padding: 4px 8px 4px 4px; }
  .fuse { height: 230vh; }
  .fo { left: -34px; top: -34px; width: 68px; height: 68px; }
  .fuse-mark { left: -62px; top: -62px; width: 124px; height: 124px; }
  .fuse-ring { left: -120px; top: -120px; width: 240px; height: 240px; }
  .fuse-words { top: 16vh; font-size: 13vw; }
  .cipher { height: 230vh; }
  .cp-line { font-size: 6vw; }
  .day.hz .day-pin { gap: 40px; }
  .day.hz .day-sun { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .day.hz .timeline { gap: 18px; padding: 0 20px; }
  .day.hz .timeline time { height: 64px; font-size: 62px; }
  .day.hz .timeline::before { top: 84px; }
  .day.hz .timeline time::after { bottom: -26px; }
  .day.hz .tl-card { margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .ob, .cur, .cur-dot { display: none !important; }
  .tour { height: auto; }
  .tour-pin { position: static; height: auto; padding: 120px 0 60px; }
  .tour-steps li { grid-area: auto; opacity: 1; transform: none; filter: none; margin-bottom: 30px; }
  .tour-bar, .tour-bits { display: none; }
  .fuse { height: auto; }
  .fuse-pin { position: static; height: 60vh; }
  .fo, .fuse-ring, .fw-a { display: none; }
  .fuse-mark { transform: none; }
  .fw-b { opacity: 1; transform: none; filter: none; }
  .cipher { height: auto; }
  .cipher-pin { position: static; height: auto; padding: 100px 0; }
  .focus .fw { opacity: 1 !important; filter: none !important; }
  .bl { translate: none !important; animation: none !important; }
  .split.roll .ch { transform: none !important; }
}

/* ---------- the plans, in motion: a billing switch, prices that roll, a light
   circling Plus, sparks rising from it, checks that pop in, icons at work, the
   ring that locks onto the plan that fits. Reduced motion stills it all (the
   rule above that stops every animation). ---------- */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.bill { position: relative; display: flex; width: max-content; max-width: 100%; margin: 0 auto 44px; padding: 5px; border-radius: 99px; background: rgba(255, 255, 255, .04); border: 1px solid var(--kb-line); }
.bill button { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; border: 0; padding: 11px 22px; border-radius: 99px; background: none; color: var(--dim); font: 650 15px/1 var(--kb-font); cursor: pointer; white-space: nowrap; transition: color .35s; }
.bill button[aria-checked="true"] { color: var(--kb-ink-950); }
.bill em { padding: 4px 8px; border-radius: 99px; background: rgba(244, 195, 176, .14); color: #f4c3b0; font-style: normal; font-size: 12px; font-weight: 750; transition: background .35s, color .35s; }
.bill.y em { background: rgba(11, 12, 16, .16); color: var(--kb-ink-950); }
.bill-thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: 0; border-radius: 99px; background: linear-gradient(100deg, var(--kb-accent-300), var(--kb-accent-400)); box-shadow: 0 8px 26px -8px rgba(127, 207, 198, .7);
  transition: left .55s cubic-bezier(.3, 1.35, .5, 1), width .55s cubic-bezier(.3, 1.35, .5, 1); }
.odo-in { display: inline-flex; line-height: 1; }
.pc-price b :is(.odo-in, .odo-in span) { padding: 0; font-size: inherit; line-height: 1; color: inherit; }
.odo-c { display: inline-block; height: 1em; overflow: hidden; -webkit-mask: linear-gradient(transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(transparent, #000 7%, #000 93%, transparent); }
.odo-s { display: block; transition: transform 1.4s cubic-bezier(.16, 1, .3, 1); }
.odo-s > span { display: block; height: 1em; text-align: center; }
#plus-per.swap { animation: perswap .55s var(--kb-enter) both; }
@keyframes perswap { from { opacity: 0; transform: translateY(8px); filter: blur(5px); } }
/* the light circling Plus: a conic arc masked to the card's edge, glowing */
.pc-aura { position: absolute; inset: -2px; border-radius: 32px; pointer-events: none; filter: drop-shadow(0 0 7px rgba(127, 207, 198, .75)) drop-shadow(0 0 22px rgba(244, 195, 176, .3)); }
.pc-aura i { position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--ang), transparent 0deg 200deg, #3fa89e 250deg, #9adfd3 305deg, #f4c3b0 338deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: aura 5.5s linear infinite; }
@keyframes aura { to { --ang: 360deg; } }
.pc-sparks { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; }
.pc-sparks i { position: absolute; left: var(--x); bottom: -8px; width: var(--s); height: var(--s); border-radius: 50%; background: #9adfd3; box-shadow: 0 0 10px 2px rgba(127, 207, 198, .5); opacity: 0; animation: spark var(--d) linear var(--t) infinite; }
.pc-sparks i:nth-child(3n) { background: #f4c3b0; box-shadow: 0 0 10px 2px rgba(244, 195, 176, .45); }
@keyframes spark { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: .75; } 70% { opacity: .45; } 100% { transform: translate(var(--dx), -780px); opacity: 0; } }
.plans:not(.live) :is(.pc-aura i, .pc-sparks i, .pc-ic, .pc-ic .ic, .pc-badge), .plans:not(.live) .pc-ic::after { animation-play-state: paused; }
/* the badge catches the light now and then */
.pc-badge { background-image: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%); background-size: 260% 100%; background-repeat: no-repeat; animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 62% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
/* checks pop in one after another once the cards are in */
.reveal .pc-list li { opacity: 0; transform: translateX(-12px); }
.reveal.in .pc-list li { opacity: 1; transform: none; transition: opacity .5s var(--kb-enter), transform .5s var(--kb-enter); transition-delay: calc(.3s + var(--i, 0) * .045s); }
.reveal.in .pc-list li .ic { animation: tick .6s cubic-bezier(.3, 1.7, .5, 1) calc(.38s + var(--i, 0) * .045s) both; }
@keyframes tick { from { transform: scale(0) rotate(-120deg); } }
/* Start's inbox catches a message; Plus's bolt charges */
.pcard[data-plan="free"] .pc-ic { position: relative; overflow: hidden; }
.pcard[data-plan="free"] .pc-ic::after { content: ""; position: absolute; left: 50%; top: -10px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: currentColor; opacity: 0; animation: drop 3.4s var(--kb-enter) infinite; }
.pcard[data-plan="free"] .pc-ic .ic { animation: catch 3.4s infinite; }
@keyframes drop { 0%, 52% { transform: translateY(0); opacity: 0; } 58% { opacity: 1; } 76% { transform: translateY(30px); opacity: 1; } 86%, 100% { transform: translateY(30px) scale(0); opacity: 0; } }
@keyframes catch { 0%, 74% { transform: none; } 80% { transform: translateY(2px) scaleY(.9); } 88%, 100% { transform: none; } }
.pcard.plus .pc-ic { position: relative; animation: charge 3.2s ease-in-out infinite; }
.pcard.plus .pc-ic::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--kb-accent-400); opacity: 0; animation: ripple 3.2s ease-out infinite; }
.pcard.plus .pc-ic .ic { animation: zap 3.2s infinite; }
@keyframes charge { 0%, 68%, 100% { box-shadow: 0 0 0 rgba(127, 207, 198, 0); } 75% { box-shadow: 0 0 30px 4px rgba(127, 207, 198, .5); background: rgba(127, 207, 198, .3); } }
@keyframes zap { 0%, 68%, 100% { transform: none; filter: none; } 71% { transform: scale(1.28) rotate(-10deg); filter: drop-shadow(0 0 6px #9adfd3); } 75% { transform: scale(.94); } 80% { transform: scale(1.06); } }
@keyframes ripple { 0%, 70% { transform: scale(1); opacity: 0; } 73% { opacity: .8; } 100% { transform: scale(1.75); opacity: 0; } }
/* the fit ring flies in and locks onto its card; its chip pops */
.reveal .price-grid > .pcard { outline-offset: 24px; transition: opacity .9s var(--kb-enter), transform .9s var(--kb-enter), outline-color .45s, outline-offset .7s cubic-bezier(.3, 1.4, .5, 1); }
.reveal .price-grid > .pcard.fit-on { outline-offset: 7px; }
.pcard.fit-on::after { animation: fitpop .6s cubic-bezier(.3, 1.7, .5, 1) .15s both; }
@keyframes fitpop { from { transform: scale(.3); opacity: 0; } }
@media (max-width: 700px) {
  .bill { margin-bottom: 36px; }
  .bill button { padding: 10px 16px; font-size: 14px; }
  .pcard.fit-on::after { top: 0; right: 24px; translate: 0 -50%; }
}
