/* Baksho. Materials of the object: warm-chalk shell, charcoal tray, one orange
   button, a white-on-black pixel screen. One type family throughout: Baloo Da 2,
   the logo's rounded face, for Bangla and English alike. Soft corners everywhere. */
:root {
  --paper: #e9e5de;
  --paper-2: #dfdad2;
  --ink: #131313;
  --ink-2: #3b3934;
  --mute: #6c685f;
  --rule: rgba(19, 19, 19, .16);
  --dark: #121314;
  --dark-2: #1c1d1f;
  --on-dark: #ece8e1;
  --on-dark-mute: #9c988f;
  --rule-dark: rgba(236, 232, 225, .16);
  --accent: #e3612a;
  --head-h: 64px;
  --wrap: 1280px;
  --font: "Baloo Da 2", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 16px;                      /* cards, tiles */
  --r-sec: clamp(22px, 3vw, 40px); /* the coloured sections */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  overflow-x: clip; text-rendering: optimizeLegibility;
}
html:lang(bn) body { line-height: 1.7; }
html.over-baksho body { cursor: grab; }
html.turning-baksho body { cursor: grabbing; user-select: none; -webkit-user-select: none; }
/* model areas: a sideways drag turns Baksho, a vertical swipe still scrolls, two fingers zoom */
.slot, .slot-box { touch-action: pan-y; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .wrap { padding: 0 40px; } }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* the travelling 3D model: drawn over the page, never catches clicks */
.stage { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 20; pointer-events: none; opacity: 0; }   /* opacity: set per frame by stage.js */

/* ---------- header ---------- */
.site-head { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--head-h); transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.site-head.is-scrolled { background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px); border-color: var(--rule); }
.head-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand { color: var(--ink); }
.brand-mark { width: 42px; height: 42px; margin: -8px -4px -8px -6px; flex: none; }
.brand-wm { height: 26px; width: auto; flex: none; }
html[lang="en"] .brand-wm { height: 22px; }
.nav { display: none; gap: 28px; margin-left: 28px; }
.nav a, .langs a { text-decoration: none; font-size: .98rem; font-weight: 600; color: var(--ink-2); transition: color .2s; }
.nav a:hover, .langs a:hover { color: var(--ink); }
@media (min-width: 1040px) { .nav { display: flex; } }
.head-end { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.langs { display: flex; gap: 12px; }

.langs a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 4px 26px 0; border: 0; border-radius: 999px;
  font: 600 1.02rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s, box-shadow .25s, transform .35s var(--ease-out); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); transition-duration: .1s; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #ef7038; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2a2a28; }
.btn-line { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light { box-shadow: inset 0 0 0 1.5px var(--rule-dark); color: var(--on-dark); background: transparent; }
.btn-ghost-light:hover { box-shadow: inset 0 0 0 1.5px var(--on-dark); }
.btn-sm { min-height: 40px; padding: 3px 18px 0; font-size: .92rem; }
.btn[disabled] { opacity: .55; cursor: progress; }
.head-end .btn { display: inline-flex; }
/* phones: keep the order button in the header; tighten, and below 360 px leave the language switch to the footer */
@media (max-width: 639px) { .head-end { gap: 10px; } .head-end .langs { gap: 6px; } .head-end .btn-sm { padding: 3px 14px 0; } }
@media (max-width: 359px) { .head-end .langs { display: none; } }

/* ---------- type ---------- */
.tag, .label { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
html:lang(bn) .tag, html:lang(bn) .label { letter-spacing: .02em; font-size: .92rem; }
.label span { border: 1px solid currentColor; border-radius: 999px; padding: 4px 9px 2px; letter-spacing: .06em; font-size: .72rem; line-height: 1; }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.display { font-size: clamp(2.6rem, 5.4vw, 5.2rem); font-weight: 800; line-height: 1.02; letter-spacing: -.012em; max-width: 12ch; }
html:lang(bn) .display { line-height: 1.16; letter-spacing: 0; max-width: none; font-size: clamp(3.1rem, 6.2vw, 5.9rem); }
.h2 { font-size: clamp(2rem, 3.9vw, 3.5rem); font-weight: 800; line-height: 1.06; letter-spacing: -.008em; max-width: 15ch; margin-bottom: 24px; }
html:lang(bn) .h2 { line-height: 1.24; letter-spacing: 0; font-size: clamp(1.9rem, 3.5vw, 3.1rem); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink-2); max-width: 36em; margin: 28px 0 0; }
.body { font-size: 1.12rem; color: var(--ink-2); max-width: 34em; }
.hint, .fine { font-size: .9rem; color: var(--mute); }

/* ---------- tagline ---------- */
.motto { margin: 26px 0 0; padding-left: 16px; border-left: 3px solid var(--accent); border-radius: 2px; display: flex; flex-direction: column; gap: 4px; }
.motto-bn { font-size: clamp(1.25rem, 2.1vw, 1.7rem); font-weight: 600; line-height: 1.4; color: var(--ink); }
.motto-gloss { font-size: .92rem; color: var(--mute); }
.motto-gloss:empty { display: none; }
.foot-motto { font-weight: 600; color: var(--ink); font-size: 1.05rem; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding-top: var(--head-h); overflow: hidden; display: flex; flex-direction: column; }
.hero-grid { flex: 1; display: grid; gap: 24px; align-items: center; padding-top: 24px; padding-bottom: calc(13vw + 24px); }
.hero-copy { position: relative; z-index: 2; }
.hero-slot { position: relative; height: calc(42svh + 84px); min-height: 300px; order: -1; }
.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .6s; }
html.has-3d .poster { opacity: 0; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; padding-bottom: calc(13vw + 16px); }
  .hero-slot { order: 0; height: min(76svh, 760px); min-height: 0; }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 40px; }
.hero-word { position: absolute; left: 0; right: 0; bottom: 0; height: 13vw; overflow: hidden; color: var(--ink); opacity: .07; pointer-events: none; }
.hero-word svg { width: 100%; height: auto; }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(84px, 11vw, 150px) 0; }
.sec-dark, .sec-alt { margin: 0 clamp(8px, 1.4vw, 20px); border-radius: var(--r-sec); overflow: clip; }   /* panels, not hard full-width cuts */
.sec-dark + .sec-dark, .sec-dark + .sec-alt, .sec-alt + .sec-dark, .sec-alt + .sec-alt { margin-top: clamp(8px, 1.4vw, 20px); }
.sec-dark { background: var(--dark); color: var(--on-dark); }
.sec-dark .body, .sec-dark .lead { color: #c9c5bd; }
.sec-dark .label, .sec-dark .hint, .sec-dark .fine { color: var(--on-dark-mute); }
.sec-alt { background: var(--paper-2); }
.sec-head { margin-bottom: 40px; }

.split { display: grid; gap: 28px; }
.sticky-slot { position: sticky; top: var(--head-h); height: 40svh; z-index: 3; display: grid; place-items: center; order: -1; margin: 0 -20px; background: inherit; }
.sec-dark .sticky-slot { background: var(--dark); }
.sec-alt .sticky-slot { background: var(--paper-2); }
#senses .sticky-slot { background: var(--paper); border-bottom: 1px solid var(--rule); }
.slot-box { width: 100%; height: 100%; display: grid; place-items: center; }
.meter-float { position: absolute; bottom: 10px; left: 20px; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.meter-float .meter-v { color: var(--ink); }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; align-items: start; }
  .split > .copy { grid-column: 1 / span 6; }
  .split > .sticky-slot { grid-column: 7 / span 6; order: 0; height: calc(100svh - var(--head-h)); margin: 0; background: transparent !important; border: 0 !important; }
  .slot-box { height: 76%; }
  .meter-float { bottom: 12%; left: 50%; transform: translateX(-50%); }
}

.ticks { list-style: none; margin: 30px 0 34px; padding: 0; border-top: 1px solid var(--rule-dark); max-width: 30em; }
.ticks li { padding: 13px 0 12px 28px; border-bottom: 1px solid var(--rule-dark); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 10px; height: 10px; border-radius: 50%; background: var(--on-dark); }
.meter { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.meter-k { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-mute); }
.meter-v { font-weight: 700; font-size: 1.3rem; min-width: 7ch; }

/* reactions */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { min-height: 40svh; padding: 28px 0 40px; border-top: 1px solid var(--rule); opacity: .3; transition: opacity .7s ease; }
.step.is-on { opacity: 1; }
.step-n { display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .08em; color: var(--mute); border: 1px solid currentColor; border-radius: 999px; padding: 4px 10px 2px; margin-bottom: 16px; }
.step h3 { font-size: clamp(1.6rem, 2.7vw, 2.3rem); font-weight: 800; line-height: 1.12; margin-bottom: 12px; }
.step p { font-size: 1.1rem; color: var(--ink-2); max-width: 30em; margin: 0; }
@media (min-width: 900px) { .step { min-height: 62svh; padding-top: 34px; } }

/* apps: tiles become a lit OLED on hover */
.apps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
.app { display: flex; flex-direction: column; gap: 4px; padding: 16px 14px 14px; border: 1px solid var(--rule); border-radius: var(--r); background: color-mix(in srgb, var(--paper) 55%, transparent);
  cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease-out); outline-offset: 2px; }
.app:hover { transform: translateY(-2px); }
.app .px { width: 45px; height: 39px; fill: var(--ink); margin-bottom: 12px; transition: fill .3s; }
.app-t { font-weight: 700; font-size: 1.1rem; line-height: 1.15; }
.app-d { font-size: .88rem; color: var(--mute); line-height: 1.35; }
.app:hover, .app:focus-visible, .app.is-on { background: #000; color: #fff; border-color: #000; }
.app:hover .px, .app:focus-visible .px, .app.is-on .px { fill: #fff; }
.app:hover .app-d, .app:focus-visible .app-d, .app.is-on .app-d { color: #b8b8b8; }

/* object */
.object-grid { display: grid; gap: 28px; }
.object-slot { height: 52svh; }
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--rule-dark); }
.dims div { padding: 14px 10px 0 0; }
.dims div + div { padding-left: 14px; border-left: 1px solid var(--rule-dark); }
.dims dt { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-mute); }
html:lang(bn) .dims dt { letter-spacing: .02em; font-size: .88rem; }
.dims dd { margin: 0; font-size: clamp(2.3rem, 5vw, 4.4rem); font-weight: 800; line-height: 1.1; }
.dims small { font-size: .9rem; font-weight: 600; margin-left: 6px; color: var(--on-dark-mute); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--rule-dark); padding: 8px 15px 5px; font-size: .92rem; border-radius: 999px; }
@media (min-width: 900px) {
  .object-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto minmax(52svh, 1fr) auto; column-gap: 40px; row-gap: 10px; min-height: 100svh; }
  .object-copy { grid-column: 1 / span 6; grid-row: 1; }
  .object-slot { grid-column: 3 / span 8; grid-row: 2; height: auto; min-height: 52svh; }
  .dims { grid-column: 7 / span 6; grid-row: 3; align-self: end; }
  .chips { grid-column: 1 / span 6; grid-row: 3; align-self: end; }
  .fronts { grid-column: 7 / span 6; grid-row: 1; align-self: end; justify-self: end; margin: 0; }
}

/* specs + faq */
.narrow-grid { display: grid; gap: 10px; }
@media (min-width: 900px) { .narrow-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; } .narrow-grid > :first-child { grid-column: 1 / span 4; } .narrow-grid > :last-child { grid-column: 5 / span 8; } }
.spec-table { margin: 0 0 18px; border-top: 1px solid var(--rule); }
.spec-table div { display: grid; grid-template-columns: minmax(110px, 1fr) 2fr; gap: 16px; padding: 16px 0 15px; border-bottom: 1px solid var(--rule); }
.spec-table dt { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding-top: .2em; }
html:lang(bn) .spec-table dt { letter-spacing: .02em; font-size: .92rem; }
.spec-table dd { margin: 0; font-weight: 500; font-size: 1.1rem; }
.slot-quiet { position: absolute; left: 0; right: 0; top: 50%; height: 1px; }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.6rem; line-height: .9; transition: transform .4s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; max-width: 40em; color: var(--ink-2); font-size: 1.08rem; }

/* join */
.form { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 14px; max-width: 560px; }
.form input[type="email"] { flex: 1 1 260px; min-width: 0; min-height: 52px; padding: 3px 22px 0; border-radius: 999px; border: 1px solid var(--rule-dark); background: var(--dark-2); color: var(--on-dark); font: 400 1.05rem var(--font); transition: border-color .25s; }
.form input[type="email"]::placeholder { color: #7d7a73; }
.form input[type="email"]:focus { outline: none; border-color: var(--on-dark); }
.form .btn { min-height: 52px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.6em; font-weight: 600; }
.form-status.ok { color: #8fd6a2; }
.form-status.err { color: #ff967e; }

/* footer */
.site-foot { padding: 64px 0 40px; border-top: 1px solid var(--rule); }
.foot-word { color: var(--ink); margin-bottom: 36px; }
.foot-word svg { width: 100%; height: auto; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; color: var(--mute); font-size: .92rem; }
.foot-row p { margin: 0; }
.foot-row p:last-child { margin-left: auto; }
.foot-row p a { color: inherit; text-underline-offset: 3px; }
.langs-foot a { text-transform: none; letter-spacing: 0; font-size: .92rem; font-weight: 500; }

/* viewer controls (under the model in the hero and Object sections) */
.viewer-ui { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 25; opacity: 0; transition: opacity .4s; }
html.has-3d .viewer-ui { opacity: 1; }
html.no-3d .viewer-ui { display: none; }
.viewer-hint { margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); text-align: center; }
html:lang(bn) .viewer-hint { letter-spacing: .02em; text-transform: none; font-size: .9rem; }
.hint-touch { display: none; }
@media (hover: none), (pointer: coarse) { .hint-touch { display: inline; } .hint-mouse { display: none; } }
.viewer-btns { display: flex; gap: 6px; }
.viewer-btns button { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid var(--rule); border-radius: 50%; background: color-mix(in srgb, var(--paper) 80%, transparent); color: var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.viewer-btns button:hover { background: var(--ink); color: var(--paper); }
.viewer-btns svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sec-dark .viewer-hint { color: var(--on-dark-mute); }
.sec-dark .viewer-btns button { border-color: var(--rule-dark); background: color-mix(in srgb, var(--dark) 80%, transparent); color: var(--on-dark); }
.sec-dark .viewer-btns button:hover { background: var(--on-dark); color: var(--dark); }
.object-slot { position: relative; }

/* without WebGL: a flat pixel screen stands in for the model */
.screen2d { display: none; width: min(78%, 520px); padding: 4.5%; background: #0b0b0b; border-radius: 22px; box-shadow: inset 0 0 0 2px #2a2a2a; }
.screen2d canvas { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; image-rendering: pixelated; background: #000; }
html.no-3d .screen2d { display: block; }
html.no-3d .stage { display: none; }

/* reveal on scroll: a long ease-out rise, staggered (main.js sets --i on each item in a section) */
.will-reveal { opacity: 0; transform: translate3d(0, 28px, 0);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.will-reveal.is-in { opacity: 1; transform: none; }
.apps.will-reveal { opacity: 1; transform: none; }                      /* the tiles rise one by one instead */
.apps.will-reveal .app { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out), background .3s, color .3s, border-color .3s;
  transition-delay: calc(var(--j, 0) * 35ms + 120ms), calc(var(--j, 0) * 35ms + 120ms), 0s, 0s, 0s; }
.apps.will-reveal.is-in .app { opacity: 1; transform: none; }
.apps.will-reveal.is-in .app.settled { transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease-out); }
.apps.will-reveal.is-in .app.settled:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .will-reveal, .apps.will-reveal .app { opacity: 1; transform: none; transition: none; } }

/* order section (stage, 28 Nov 2026): colour chips, buttons on the dark panel */
.colours { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 26px 0 0; font-weight: 600; }
.colours li { display: flex; align-items: center; gap: 10px; }
.chip { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #f4f1ea; box-shadow: 0 0 0 1px var(--rule-dark); }
.chip-black { background: #141414; }
.chip-orange { background: #e3612a; }
.sec-dark .actions { margin-top: 26px; }
.btn-line-dark { color: var(--on-dark); box-shadow: inset 0 0 0 1.5px var(--on-dark); }
.btn-line-dark:hover { background: var(--on-dark); color: var(--dark); }
/* phones: language switch and footer links big enough to tap (>= 40 px) */
.langs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px; }
.site-foot a { display: inline-flex; align-items: center; min-height: 40px; }

/* colour options under the 3D box (main.js data-front) */
.fronts { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.fronts button { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 12px; border-radius: 999px; border: 1px solid var(--rule-dark); background: transparent; color: var(--on-dark); font: 600 .98rem var(--font); cursor: pointer; }
.fronts button[aria-pressed="true"] { border-color: var(--on-dark); background: var(--dark-2); }
/* "61.6" is wider than the old "60": on narrow phones the unit goes under the number */
@media (max-width: 420px) { .dims dd { font-size: 2rem; } .dims small { display: block; margin-left: 0; } }

/* phones: the poster stays above the viewer controls, like the 3D box; the hint fits one line */
@media (max-width: 899px) { .hero-slot .poster { height: calc(100% - 84px); } }
@media (max-width: 400px) { .viewer-hint { font-size: .68rem; letter-spacing: .04em; } html:lang(bn) .viewer-hint { font-size: .8rem; } .viewer-btns button { width: 38px; height: 38px; } }

/* footer: social links and email */
.social { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.social a:hover { color: var(--ink); }
.si { width: 22px; height: 22px; flex: none; }
.si-cut { fill: var(--paper); }
@media (max-width: 640px) { .foot-row { flex-direction: column; align-items: flex-start; } .foot-row p:last-child { margin-left: 0; } }

/* order buttons: easy to find, never in the way */
.btn-lg { min-height: 58px; padding: 4px 30px 0; font-size: 1.12rem; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 32%, transparent); }
.btn .arr { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: -3px; transition: transform .35s var(--ease-out, ease); }
.btn:hover .arr { transform: translateX(3px); }
.cta-note { flex-basis: 100%; margin: 2px 0 0; font-size: .95rem; color: var(--ink-2); }
.sec-dark .cta-note { color: var(--on-dark-mute); }
@media (max-width: 639px) { .hero-actions .btn-lg, .join-actions .btn-lg { flex: 1 1 100%; } }
.order-bar { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px;
  background: var(--ink); color: var(--paper); border-radius: 999px; text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28); transform: translateY(160%); visibility: hidden;
  transition: transform .45s var(--ease-out, ease), visibility 0s .45s; }
.order-bar.is-on { transform: none; visibility: visible; transition: transform .45s var(--ease-out, ease); }
.ob-t { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ob-t b { font-size: 1.02rem; }
.ob-t small { font-size: .78rem; color: var(--on-dark-mute, #9c988f); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-bar .btn { flex: none; min-height: 44px; }
@media (min-width: 900px) { .order-bar { display: none; } }
@media (prefers-reduced-motion: reduce) { .order-bar, .order-bar.is-on { transition: none; } }

/* the price at the top of the hero (tools/build.py price_bits); after the offer main.js adds .is-regular */
.hero-price { margin: 0 0 18px; display: flex; flex-direction: column; gap: 2px; }
.hp-now { display: flex; align-items: baseline; gap: 10px; }
.hp-now b { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; line-height: 1.1; color: var(--ink); }
.hp-now s { color: var(--mute); font-size: 1.05rem; }
.hp-line { font-size: .95rem; color: var(--ink-2, var(--ink)); font-weight: 600; }
.hp-regular, .is-regular .hp-launch { display: none; }
.is-regular .hp-regular { display: inline; }
.lang-note { margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .95rem; }
.lang-note a { font-weight: 700; color: var(--ink); background: var(--accent); border-radius: 999px; padding: 4px 14px 2px; text-decoration: none; }
.lang-note span { color: var(--mute); }
