/* BooBoard site. Fonts are served from this site only (SIL OFL 1.1, see fonts/OFL-*.txt). */
@font-face { font-family: Fraunces; src: url(fonts/fraunces.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Fraunces; src: url(fonts/fraunces-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: GSF; src: url(fonts/google-sans-flex.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --lime: #E3F794; --ink: #161015; --graphite: #2E2A24; --muted: #5A544E; --paper: #F6F5EE; --white: #fff;
  --rule: rgba(22,16,21,.14); --pending: #E8913A;
  /* placeholder keyboard (lime keyboard design not final): change only these */
  --kb-bg: #ECEBE4; --kb-key: #FFFFFF; --kb-fn: #DCDBD3; --kb-label: #161015; --kb-act: #161015; --kb-act-label: #E3F794;
  --kb-trail: #161015; --kb-strip: #161015;
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--lime); color: var(--ink); font: 400 17px/1.55 GSF, system-ui, sans-serif; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.inkband :focus-visible { outline-color: var(--lime); }

/* type */
.h { font-family: Fraunces, Georgia, serif; font-weight: 400; font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144; letter-spacing: -0.03em; line-height: .92; margin: 0; }
.h em { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.h1 { font-size: clamp(46px, 5.7vw, 94px); line-height: .94; letter-spacing: -0.035em; }
.h2 { font-size: clamp(42px, 6vw, 92px); }
.h3 { font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -0.02em; line-height: 1; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--graphite); max-width: min(34em, 100%); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 60px; background: var(--white); }
.kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.kicker.soon i { background: var(--pending); }

/* buttons: black pills; lime is never the main button colour */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 60px; font: 500 17px GSF, sans-serif; letter-spacing: -0.01em; text-decoration: none; border: 0; cursor: pointer; transition: transform .25s var(--ease), background .2s; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { transform: translateY(-2px); }
.btn.dark:active { transform: translateY(0) scale(.98); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.line:hover { background: rgba(22,16,21,.06); }
.btn.text { background: none; color: var(--ink); padding: 0 6px; height: auto; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.inkband .btn.dark { background: #fff; color: var(--ink); }
.btn svg { width: 20px; height: 20px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(227,247,148,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--rule); }
.nav .wrap { display: flex; align-items: center; height: 76px; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: Fraunces; font-variation-settings: "SOFT" 100, "opsz" 72; font-size: 26px; letter-spacing: -0.03em; }
.logo svg { width: 26px; height: 34px; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0 0 0 auto; padding: 0; font-size: 16px; font-weight: 500; }
.nav ul a { text-decoration: none; padding: 6px 0; background: linear-gradient(var(--ink),var(--ink)) 0 100%/0 1.5px no-repeat; transition: background-size .3s var(--ease); }
.nav ul a:hover { background-size: 100% 1.5px; }
.nav .btn { height: 46px; padding: 0 20px; font-size: 15px; }
@media (max-width: 760px) { .nav ul { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100svh - 76px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 56px; }
.hero .copy > * + * { margin-top: 28px; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.meta span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); opacity: .5; margin-right: 8px; vertical-align: middle; }
/* word reveal */
/* Headline motion taken from the Jitter scene: each word simply appears, one every 100 ms, like a message being typed. */
.kinetic { position: relative; }
.kinetic .w { display: inline-block; white-space: nowrap; }
.kinetic .w > span { opacity: 0; }
.kinetic.go .w > span { animation: appear 1ms linear forwards; animation-delay: calc(var(--i) * 100ms + var(--k0, 0ms)); }
@keyframes appear { to { opacity: 1; } }
.kinetic .l { display: inline-block; }
.kinetic.go.ghost .l { animation: ghostOut 2.6s ease-in-out both; animation-delay: calc(var(--j) * 95ms); }
@keyframes ghostOut { 0%, 100% { opacity: 1; transform: none; filter: none; } 35%, 55% { opacity: .1; transform: translateY(-.12em) scale(.96); filter: blur(3px); } }
@keyframes pop { 0% { transform: scale(0); } 58% { transform: scale(1.1); } 100% { transform: scale(1); } }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp .8s var(--ease) forwards; animation-delay: var(--d, .6s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* hero art: phone on the right, Boo + bubble in the free space to its left, the cut line top-left */
.art { position: relative; height: 740px; }
.art .phone { position: absolute; right: 12px; top: 60px; z-index: 2; animation: phoneIn 1.1s var(--ease) .35s both; }
@keyframes phoneIn { from { opacity: 0; transform: translateY(60px) rotate(3deg); } to { opacity: 1; transform: none; } }
.art .boo-host { position: absolute; left: 8px; bottom: 40px; z-index: 4; animation: booIn 1s cubic-bezier(.3,1.4,.5,1) .9s both; }
@keyframes booIn { from { opacity: 0; transform: translate(-30px, 30px) scale(.7); } to { opacity: 1; transform: none; } }
.bubble { position: absolute; z-index: 5; background: #fff; border-radius: 18px; padding: 8px 14px; font-family: Fraunces; font-variation-settings: "SOFT" 100, "opsz" 36; font-size: 18px; line-height: 1.1; white-space: nowrap; box-shadow: 0 1px 0 var(--rule); }
.bubble em { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 36; }
.art .bubble { left: 8px; bottom: 268px; animation: fadeUp .6s var(--ease) 1.6s both, drift 5s ease-in-out 2.2s infinite; }
.art .bubble::after { content: ""; position: absolute; left: 46px; bottom: -6px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); border-radius: 2px; }
@keyframes drift { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
/* the cut internet line (laid out by JS from the phone's position) */
.net { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; pointer-events: none; animation: fadeUp .8s var(--ease) 1.3s both; }
.cloud { position: absolute; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; color: var(--muted); translate: -50% -50%; animation: fadeUp .8s var(--ease) 1.3s both; }
.cut { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; background: var(--ink); color: var(--lime); padding: 7px 12px; border-radius: 60px; white-space: nowrap; translate: -50% -50%; animation: fadeUp .8s var(--ease) 1.4s both; }

@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 24px; }
  .art { height: 760px; max-width: 600px; margin: 0 auto; width: 100%; }
}
@media (max-width: 600px) {
  .art { height: 724px; margin-top: 8px; }
  .art .phone { left: 50%; right: auto; margin-left: -160px; top: 178px; scale: .82; transform-origin: top center; }
  .art .boo-host { left: -6px; top: 4px; bottom: auto; scale: .44; transform-origin: top left; }
  .art .bubble { display: none; }
}

/* ---------- phone + placeholder keyboard ---------- */
.phone { width: 320px; height: 656px; border-radius: 48px; background: #0E0A0D; padding: 9px; box-shadow: 0 40px 80px -30px rgba(22,16,21,.45), 0 2px 0 rgba(255,255,255,.08) inset; }
.screen { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: #FBFAF5; display: flex; flex-direction: column; }
.sbar { display: flex; justify-content: space-between; padding: 12px 24px 4px; font-size: 12px; font-weight: 600; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 8px 16px 10px; border-bottom: 1px solid #ECEBE4; font-weight: 600; font-size: 15px; }
.chat-head .av { width: 32px; height: 32px; border-radius: 50%; background: #E9E1F5; display: grid; place-items: center; font-size: 13px; color: #4B3E63; }
.chat-head small { display: block; font-weight: 400; font-size: 11.5px; color: var(--muted); }
.thread { flex: 1; padding: 12px 14px 8px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; overflow: hidden; font-size: 14px; line-height: 1.35; }
.msg { max-width: 78%; padding: 8px 12px; border-radius: 18px; overflow: hidden; animation: pop .4s ease-out both; }
.msg.in { background: #EFEDE6; align-self: flex-start; border-bottom-left-radius: 6px; transform-origin: 0 100%; }
.msg.out { background: var(--ink); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; transform-origin: 100% 100%; }
.msg .wd { opacity: 0; } .msg .wd.on { opacity: 1; }
.compose { display: flex; align-items: center; gap: 8px; padding: 6px 10px 8px; }
.compose .field { flex: 1; }
.field { min-height: 40px; background: #fff; border: 1px solid #E2E0D8; border-radius: 22px; padding: 9px 14px; font-size: 14.5px; line-height: 1.4; display: flex; align-items: center; flex-wrap: wrap; }
.field .ph { color: #9A948D; }
.field u { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.caret { display: inline-block; width: 2px; height: 18px; background: var(--ink); margin-left: 1px; animation: caret 1s steps(1) infinite; vertical-align: middle; }
@keyframes caret { 50% { opacity: 0; } }
.send { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; transition: transform .2s; }
.send.tap { transform: scale(.86); }
.kb { position: relative; background: var(--kb-bg); padding: 4px 4px 10px; user-select: none; }
.strip { display: grid; grid-template-columns: 1fr 1fr 1fr 34px; height: 38px; align-items: center; text-align: center; font-size: 14.5px; color: var(--kb-strip); }
.strip span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 4px; transition: opacity .15s; }
.strip span + span { border-left: 1px solid rgba(22,16,21,.15); }
.strip .best { font-weight: 600; }
.strip .hl { background: var(--ink); color: var(--lime); border-radius: 30px; padding: 4px 10px; justify-self: center; border-left: 0; }
.strip .hl + span { border-left: 0; }
.strip .micb { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.strip .micb.on { background: var(--ink); color: var(--lime); }
/* voice overlay on the keys (hero) */
.vo { position: absolute; left: 0; right: 0; top: 42px; bottom: 0; background: var(--kb-bg); z-index: 4; display: grid; place-items: center; align-content: center; gap: 12px; font-size: 13px; color: var(--muted); opacity: 0; pointer-events: none; transition: opacity .3s; }
.vo.on { opacity: 1; }
.vo b { color: var(--ink); }
.rows { display: grid; gap: 7px; padding: 2px 0 4px; }
.row { display: flex; gap: 4px; justify-content: center; }
.k { flex: 0 0 calc((100% - 36px) / 10); height: 42px; border-radius: 10px; background: var(--kb-key); color: var(--kb-label); display: grid; place-items: center; font-size: 18px; font-weight: 450; position: relative; transition: background .12s, transform .12s; box-shadow: 0 1px 0 rgba(22,16,21,.12); }
.k.fn { background: var(--kb-fn); font-size: 13px; flex-basis: calc((100% - 36px) / 10 * 1.45); }
.k.sp { flex: 1 1 auto; font-size: 11.5px; color: #6E6862; }
.k.act { background: var(--kb-act); color: var(--kb-act-label); flex-basis: calc((100% - 36px) / 10 * 1.45); }
.k.down { background: #CFCDC4; transform: translateY(1px); }
.k.act.down { background: #3A3238; }
.popkey { position: absolute; z-index: 6; width: 44px; height: 54px; margin-left: -22px; border-radius: 12px 12px 14px 14px; background: #fff; box-shadow: 0 6px 18px rgba(22,16,21,.22); display: grid; place-items: center; font-size: 26px; pointer-events: none; opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .08s, transform .08s; }
.popkey.on { opacity: 1; transform: none; }
.trail { position: absolute; inset: 0; pointer-events: none; z-index: 5; overflow: visible; }
.lang-chip { position: absolute; left: 50%; bottom: 66px; translate: -50% 0; z-index: 7; background: var(--ink); color: var(--lime); font-size: 12px; font-weight: 600; border-radius: 30px; padding: 5px 11px; opacity: 0; transition: opacity .25s, transform .25s; transform: translateY(6px); }
.lang-chip.on { opacity: 1; transform: none; }
.gesture { display: flex; justify-content: center; padding-top: 6px; } .gesture i { width: 108px; height: 4px; border-radius: 4px; background: #161015; opacity: .85; }

/* ---------- marquee strip ---------- */
.ticker { background: var(--ink); color: var(--lime); overflow: hidden; padding: 18px 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; }
.ticker .track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; }
.ticker svg { width: 16px; height: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding-top: clamp(90px, 12vw, 170px); padding-bottom: clamp(90px, 12vw, 170px); }
.sec-head { display: grid; gap: 22px; max-width: 900px; margin-bottom: clamp(48px, 6vw, 80px); }
.in-view { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.in-view.is-in { opacity: 1; transform: none; }
.inkband { background: var(--ink); color: #F4F2EA; border-radius: clamp(28px, 4vw, 48px); margin: 0 clamp(8px, 1.2vw, 16px); }
.inkband .lead { color: rgba(244,242,234,.78); }
.inkband .h em { color: var(--lime); }

/* proof */
/* comparison: a typical cloud keyboard vs BooBoard */
.vs { background: #221C21; border-radius: 28px; padding: 6px 24px 4px; }
.vs-head, .vs-row { display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 16px; align-items: center; }
.vs-head { padding: 18px 0 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: rgba(244,242,234,.55); }
.vs-head .us { color: var(--lime); display: flex; align-items: center; gap: 8px; }
.vs-head .us svg { width: 15px; height: 20px; flex: none; }
.vs-row { padding: 15px 0; border-top: 1px solid rgba(255,255,255,.09); font-size: 15px; line-height: 1.35; opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--r) * 90ms + 150ms); }
.vs.is-in .vs-row { opacity: 1; transform: none; }
.vs-row b { font-weight: 600; color: #F4F2EA; }
.vs-row .them, .vs-row .us { display: flex; gap: 9px; align-items: flex-start; }
.vs-row .them { color: rgba(244,242,234,.55); }
.vs-row .us { color: var(--lime); font-weight: 500; }
.vs-row .them::before, .vs-row .us::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; }
.vs-row .them::before { box-shadow: inset 0 0 0 1.5px rgba(244,242,234,.3); background: no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 2l6 6M8 2L2 8' stroke='%23F4F2EA' stroke-opacity='.5' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.vs-row .us::before { background: var(--lime) no-repeat center/11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1.5 5.2l3 3L10.5 1.8' fill='none' stroke='%23161015' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); transform: scale(0); transition: transform .4s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--r) * 90ms + 450ms); }
.vs.is-in .vs-row .us::before { transform: scale(1); }
@media (max-width: 600px) {
  .vs { padding: 4px 18px 2px; }
  .vs-head, .vs-row { grid-template-columns: 1fr 1fr; gap: 6px 14px; }
  .vs-head > span:first-child { display: none; }
  .vs-row b { grid-column: 1 / -1; font-size: 14px; color: rgba(244,242,234,.85); }
  .vs-row { font-size: 14.5px; }
}
.check { font-size: 14px; color: rgba(244,242,234,.7); margin: 14px 0 12px; }
#privacy .inkband { padding-top: clamp(56px, 7vw, 100px); padding-bottom: clamp(48px, 6vw, 90px); }
#privacy .vs { max-width: 820px; margin: 0 auto; }

/* features scrollytelling */
.story { display: grid; grid-template-columns: 380px 1fr; gap: clamp(40px, 6vw, 110px); }
.story .stick { position: sticky; top: 96px; height: 656px; display: grid; place-items: start center; }
.story .stick .phone { transform-origin: top center; }
.sdots { display: none; }
.steps .step { min-height: 72svh; display: flex; flex-direction: column; justify-content: center; gap: 16px; max-width: 560px; opacity: .28; transition: opacity .5s; }
.steps .step.cur { opacity: 1; }
.steps .num { font-family: Fraunces; font-variation-settings: "SOFT" 100, "opsz" 72; font-size: 22px; display: flex; align-items: center; gap: 12px; }
.steps .num::after { content: ""; height: 1.5px; width: 48px; background: var(--ink); }
.steps p { margin: 0; font-size: 18px; color: var(--graphite); }
.steps .note { font-size: 14.5px; color: var(--muted); }
/* phone panes for each step */
.pane { position: absolute; inset: 0; opacity: 0; transition: opacity .45s; pointer-events: none; display: flex; flex-direction: column; }
.pane.on { opacity: 1; }
.story-screen { position: relative; flex: 1; }
.panel-card { margin: 12px 12px 8px; background: #fff; border-radius: 20px; padding: 14px; font-size: 14px; box-shadow: 0 1px 0 #ECEBE4; }
.panel-card .lbl { font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: .03em; text-transform: uppercase; margin-bottom: 6px; display: flex; justify-content: space-between; }
.voice-panel { background: var(--kb-bg); height: 262px; display: grid; place-items: center; align-content: center; gap: 22px; font-size: 13px; color: var(--muted); }
.mic { width: 76px; height: 76px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; position: relative; }
.mic.sm { width: 60px; height: 60px; }
.mic::before, .mic::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--ink); opacity: 0; animation: ripple 2s ease-out infinite; }
.mic::after { animation-delay: 1s; }
@keyframes ripple { from { opacity: .45; transform: scale(.9); } to { opacity: 0; transform: scale(1.3); } }
.wave { display: flex; gap: 4px; align-items: center; height: 30px; }
.wave i { width: 4px; border-radius: 4px; background: var(--ink); height: 6px; animation: bar 1s ease-in-out infinite; }
@keyframes bar { 50% { height: 28px; } }
.clip { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #ECEBE4; }
.clip:first-of-type { border-top: 0; }
.clip .pin { width: 26px; height: 26px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; flex: none; font-size: 12px; }
.lockline { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 12.5px; font-weight: 600; padding: 9px; border-radius: 30px; background: var(--ink); color: var(--lime); margin: 0 12px; }
/* phones and tablets: the phone above a row of swipeable step cards (no text ever slides under the phone) */
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .story .stick { position: relative; top: auto; height: auto !important; place-items: center; }
  .story .stick .phone { scale: .74; margin-bottom: -171px; }
  .steps { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 22px calc(-1 * var(--pad)) 0; padding: 4px var(--pad) 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .steps::-webkit-scrollbar { display: none; }
  .steps .step { flex: 0 0 min(86%, 420px); min-height: 0; scroll-snap-align: center; background: #fff; border-radius: 26px; padding: 22px 22px 24px; justify-content: flex-start; gap: 12px; opacity: .5; }
  .steps .step.cur { opacity: 1; }
  .steps p { font-size: 16px; }
  .sdots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
  .sdots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: rgba(22,16,21,.25); cursor: pointer; transition: width .35s var(--ease), background .35s; }
  .sdots button.on { width: 28px; background: var(--ink); }
  .sdots button::before { content: ""; display: block; margin: -18px; height: 44px; }
}

/* bento cards (Home style: white cards, lime icon circles, privacy = lime) */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(56px, 8vw, 120px); }
.card { background: #fff; border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(22,16,21,.4); }
.card .lic { width: 44px; height: 44px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }
.card .lic svg { width: 22px; height: 22px; }
.card b { font-weight: 600; font-size: 18px; }
.card p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.45; }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; } }

/* languages */
.langs { overflow: hidden; }
.mq { display: flex; width: max-content; gap: 14px; animation: marquee 60s linear infinite; padding: 7px 0; }
.mq.rev { animation-direction: reverse; animation-duration: 70s; }
.langs:hover .mq { animation-play-state: paused; }
.hello { display: inline-flex; align-items: baseline; gap: 12px; background: #fff; border-radius: 60px; padding: 14px 26px; white-space: nowrap; }
.hello b { font-family: Fraunces, system-ui; font-variation-settings: "SOFT" 100, "opsz" 72; font-weight: 400; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; }
.hello small { font-size: 14px; color: var(--muted); }
.hello.dark { background: var(--ink); color: #fff; } .hello.dark small { color: rgba(255,255,255,.65); }
.langlist { margin-top: 44px; columns: 3 220px; gap: 32px; font-size: 16px; color: var(--graphite); }
.langlist div { break-inside: avoid; padding: 9px 0; border-top: 1px solid var(--rule); }

/* coming: images */
.coming { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.canvas-card { background: #fff; border-radius: 32px; padding: 18px; position: relative; }
.canvas-card canvas { width: 100%; aspect-ratio: 1; border-radius: 20px; display: block; background: var(--lime); }
.canvas-card .bar { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--muted); padding: 12px 6px 2px; font-variant-numeric: tabular-nums; }
.prompt { font-family: Fraunces; font-variation-settings: "SOFT" 100, "opsz" 36; font-size: 19px; padding: 4px 6px 12px; }
.prompt em { font-style: italic; }
.dashed { border: 2px dashed rgba(22,16,21,.3); }
@media (max-width: 860px) { .coming { grid-template-columns: 1fr; } }

/* open source */
.code { background: #221C21; border-radius: 24px; padding: 22px 14px; margin: 0; font: 500 14px/1.75 ui-monospace, "Cascadia Code", Consolas, monospace; color: rgba(244,242,234,.85); overflow-x: auto; white-space: pre; }
.code .ln { display: block; padding: 0 10px; border-radius: 8px; }
.code .c { color: rgba(244,242,234,.45); } .code .t { color: var(--lime); } .code .hl { background: rgba(227,247,148,.14); }
.os { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 860px) { .os { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .code { font-size: 11px; padding: 18px 8px; } }

/* download */
.dl { text-align: center; display: grid; justify-items: center; gap: 26px; }
.dl .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 900px; width: 100%; margin-top: 30px; text-align: left; }
.steps3 div { background: rgba(255,255,255,.55); border-radius: 24px; padding: 20px 22px; font-size: 15.5px; color: var(--graphite); }
.steps3 b { display: block; font-family: Fraunces; font-variation-settings: "SOFT" 100, "opsz" 72; font-weight: 400; font-size: 34px; color: var(--ink); line-height: 1; margin-bottom: 8px; }
@media (max-width: 700px) { .steps3 { grid-template-columns: 1fr; } }

/* footer */
footer { background: var(--ink); color: rgba(244,242,234,.8); padding: 70px 0 40px; margin-top: 40px; font-size: 15px; }
footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer .tag { font-family: Fraunces; font-variation-settings: "SOFT" 100, "opsz" 72; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; color: #fff; letter-spacing: -0.02em; max-width: 15em; }
footer .tag em { font-style: italic; color: var(--lime); }
footer h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: rgba(244,242,234,.5); font-weight: 600; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; } footer a:hover { text-decoration: underline; }
footer .fine { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px 30px; justify-content: space-between; font-size: 13.5px; color: rgba(244,242,234,.6); }
@media (max-width: 760px) { footer .top { grid-template-columns: 1fr; } }


/* reduced motion: Boo stays still, nothing loops */
html.rm *, html.rm *::before, html.rm *::after { animation: none !important; transition: none !important; }
html.rm .kinetic .w > span, html.rm .kinetic .l, html.rm .fade-up, html.rm .in-view, html.rm .msg .wd { transform: none !important; opacity: 1 !important; filter: none !important; }
html.rm .ticker .track, html.rm .mq { flex-wrap: wrap; width: auto; justify-content: center; }
html.rm .steps .step { opacity: 1; }
html.rm .vs-row { opacity: 1; transform: none; } html.rm .vs-row .us::before { transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- text pages (privacy, faq, 404) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 90px) var(--pad) clamp(70px, 9vw, 120px); }
.doc .h1 { font-size: clamp(44px, 6vw, 76px); margin-bottom: 18px; }
.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 40px; }
.doc h2 { font-family: Fraunces, Georgia, serif; font-weight: 400; font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 72; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; line-height: 1.1; margin: 44px 0 12px; }
.doc p, .doc li { color: var(--graphite); }
.doc ul { padding-left: 1.2em; } .doc li { margin: 6px 0; }
.doc a { text-underline-offset: 3px; }
.doc .card-note { background: #fff; border-radius: 24px; padding: 20px 24px; margin: 26px 0; }
.faq details { background: #fff; border-radius: 24px; padding: 4px 24px; margin: 12px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative; font-weight: 600; font-size: 18px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq details p { margin: 0 0 18px; }
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; gap: 18px; padding: 60px var(--pad); }
.lost svg { width: 120px; height: 160px; margin: 0 auto; }
