/* OTTOKIWI Landing — visual prototype V0.1
   Palette drawn from the Otto character sheet: otter brown, belly cream, kiwi yellow. */

:root {
  --bg: #ffffff;
  --warm: #f7f4ef;
  --warm-2: #efe9e1;
  --screen: #ffffff;
  --ink: #2b211b;
  --ink-2: #5b4d44;
  --muted: #8b7f76;
  --brown: #7a5238;
  --brown-deep: #3d2a1f;
  --cream: #f5e9d6;
  --kiwi: #f2c744;
  --kiwi-soft: #fbeeb8;
  --line: rgba(70, 45, 28, .12);
  --grid: rgba(122, 82, 56, .09);
  --grid-soft: rgba(122, 82, 56, .055);
  --ok: #4f7a3a;
  --ok-bg: #e8f1df;
  --warn: #8a6a12;
  --warn-bg: #fbf0c9;
  --bad: #a2462e;
  --bad-bg: #f8e3dc;
  --font: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Heiti TC", system-ui, sans-serif;
  --lw: 640px;
  --lh: 422px;
  --ss: .61;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
html, body { overflow-x: clip; }
img { display: block; }
h1, h2, h3, h4, h5, p { margin: 0; }
mark { background: none; color: inherit; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--brown-deep); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--kiwi); outline-offset: 3px; border-radius: 8px; }

/* ---------- Locales ---------- */
/* Latin-script pages lead with a Latin UI font; Chinese stays on PingFang / Noto Sans TC */
html[lang="en"], html[lang="es"] { --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang TC", "Noto Sans TC", sans-serif; }
html[lang="en"] .hero-copy h1, html[lang="es"] .hero-copy h1 { letter-spacing: -.01em; line-height: 1.15; }
html[lang="es"] .hero-copy h1 { font-size: clamp(28px, 2.8vw, 44px); }
.qc-trans { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); }

/* language menu (VCG pattern: globe + native select) */
.lang-select { position: relative; display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; color: var(--ink-2); }
.lang-select .lang-glyph { position: absolute; left: 10px; pointer-events: none; }
.lang-select select { appearance: none; -webkit-appearance: none; font: inherit; font-size: 13.5px; color: var(--ink); height: 36px; padding: 0 28px 0 30px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%237a5238' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 11px center; cursor: pointer; }
.lang-select select:hover { border-color: rgba(70, 45, 28, .3); }
.lang-select select:focus-visible { outline: 3px solid var(--kiwi); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px;
  display: flex; align-items: center; gap: 28px; padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, .72); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--brown-deep); }
.brand img { width: 40px; height: auto; }
.brand > span:last-child, .brand-word { font-weight: 800; letter-spacing: .16em; font-size: 15px; }
/* Header logo: on hover/focus Otto blinks and the mark + wordmark grow a little */
.site-header .brand-face { position: relative; width: 44px; height: 30px; display: block; transition: transform .25s cubic-bezier(.3, 1.5, .5, 1); transform-origin: 50% 70%; }
.site-header .brand-face img { position: absolute; left: 50%; bottom: 0; height: 30px; width: auto; transform: translateX(-50%); }
.site-header .face-blink { opacity: 0; }
.site-header .brand-word { display: inline-block; transition: transform .25s ease; transform-origin: 0 50%; }
.site-header .brand:hover .brand-face, .site-header .brand:focus-visible .brand-face { transform: scale(1.12); }
.site-header .brand:hover .brand-word, .site-header .brand:focus-visible .brand-word { transform: scale(1.06); }
.site-header .brand:hover .face-open, .site-header .brand:focus-visible .face-open { opacity: 0; }
.site-header .brand:hover .face-blink, .site-header .brand:focus-visible .face-blink { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .site-header .brand-face, .site-header .brand-word { transition: none; } }
.nav { display: flex; gap: 20px; margin-left: auto; }
.site-header .btn-sm { height: 38px; padding: 0 18px; font-size: 14px; box-shadow: none; }
@media (max-width: 1120px) { .proto-badge { display: none; } }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; padding: 6px 2px; }
.nav a:hover { color: var(--ink); }
.proto-badge { font-size: 12px; color: var(--warn); background: var(--warn-bg); border: 1px solid rgba(138, 106, 18, .18); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }

/* ---------- Stage ---------- */
.stage-wrap { position: relative; }
.motion .stage-wrap { height: 640vh; }
.stage { position: relative; }
.motion .stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }

.scene { position: absolute; inset: 0; perspective: 1500px; perspective-origin: 50% 44%; overflow: hidden; }
.room { position: absolute; inset: 0; background: radial-gradient(120% 90% at 62% 38%, #fff 35%, var(--warm) 100%); }
.glow { position: absolute; left: 64%; top: 48%; width: 82vw; height: 82vw; max-width: 1200px; max-height: 1200px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(242, 199, 68, .16), rgba(245, 233, 214, .38) 46%, rgba(255, 255, 255, 0) 100%); }

/* Soft surroundings (depth-of-field look, kept light so the page stays white) */
.env { position: absolute; inset: -4%; pointer-events: none; }
.env i { position: absolute; display: block; }
.env-win { left: 6%; top: 2%; width: 30vw; height: 56vh; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 252, 245, .8));
  box-shadow: 0 0 80px 30px rgba(255, 255, 255, .9); filter: blur(26px); }
.env-frame { left: 6%; top: 2%; width: 30vw; height: 56vh; filter: blur(14px); opacity: .55;
  background:
    linear-gradient(90deg, transparent calc(50% - 6px), rgba(150, 118, 90, .14) calc(50% - 6px) calc(50% + 6px), transparent calc(50% + 6px)),
    linear-gradient(180deg, transparent calc(46% - 6px), rgba(150, 118, 90, .12) calc(46% - 6px) calc(46% + 6px), transparent calc(46% + 6px)); }
.env-sun { right: -6%; top: -8%; width: 70vw; height: 90vh; filter: blur(30px); opacity: .7;
  background: repeating-linear-gradient(118deg, rgba(255, 234, 186, 0) 0 70px, rgba(255, 234, 186, .38) 70px 150px, rgba(255, 234, 186, 0) 150px 240px);
  -webkit-mask-image: radial-gradient(60% 60% at 70% 30%, #000, transparent 75%); mask-image: radial-gradient(60% 60% at 70% 30%, #000, transparent 75%); }
.env-leaf { border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: rgba(133, 146, 104, .22); filter: blur(22px); }
.env-leaf.l1 { right: 4%; top: 6%; width: 12vw; height: 22vh; transform: rotate(-18deg); }
.env-leaf.l2 { right: 12%; top: 18%; width: 9vw; height: 18vh; transform: rotate(22deg); background: rgba(150, 160, 118, .18); }
.env-leaf.l3 { right: 1%; top: 26%; width: 8vw; height: 16vh; transform: rotate(-4deg); background: rgba(120, 134, 94, .16); }
.env-bokeh { border-radius: 50%; filter: blur(10px); }
.env-bokeh.k1 { left: 30%; top: 12%; width: 70px; height: 70px; background: rgba(242, 199, 68, .22); }
.env-bokeh.k2 { left: 44%; top: 6%; width: 46px; height: 46px; background: rgba(245, 233, 214, .9); }
.env-bokeh.k3 { right: 24%; top: 9%; width: 58px; height: 58px; background: rgba(242, 199, 68, .16); }

/* Tabletop: soft horizon behind the laptop, warm surface, a ledge at the front */
.desk { --ledge: clamp(18px, 3.2vh, 34px); position: absolute; left: 0; right: 0; top: 70%; bottom: 0; pointer-events: none;
 }
.desk-top { position: absolute; inset: 0 0 var(--ledge) 0; overflow: hidden;
  background: linear-gradient(180deg, rgba(238, 231, 221, 0) 0%, rgba(238, 231, 221, .8) 7%, #ede6dc 26%, #e6ddd0 100%); }
.desk-top::before { content: ""; position: absolute; inset: 0;   /* faint stone grain */
  background-image: radial-gradient(rgba(120, 92, 66, .028) .8px, transparent 1.2px), radial-gradient(rgba(255, 255, 255, .3) .8px, transparent 1.2px);
  background-size: 7px 5px, 11px 8px; background-position: 0 0, 3px 2px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%); }
.desk-sheen { position: absolute; top: 4%; width: 60vw; height: 110%; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); }
.desk-edge { position: absolute; left: 0; right: 0; bottom: 0; height: var(--ledge);
  background: linear-gradient(180deg, #faf6f0 0, #e3d9cb 2px, #d8cdbd 55%, #cfc3b2 100%); box-shadow: 0 -1px 0 rgba(255, 255, 255, .9); }
/* A / A′: the tabletop fades out under the copy column */
.hero-split .desk, .hero-front .desk {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, #000 52%);
          mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, #000 52%); }
@media (max-width: 819px) { .hero-split .desk, .hero-front .desk { -webkit-mask-image: none; mask-image: none; } }
/* A′: a slightly narrower copy column gives the front-facing laptop more width */
@media (min-width: 820px) {
  .hero-front .hero-copy { width: min(520px, 36vw); }
  .hero-front .hero-copy h1 { font-size: clamp(28px, 2.75vw, 44px); }
}

/* A′: each card drifts on its own slow rhythm (independent `translate`, composes with the JS transform) */
.motion.hero-front.cards-scatter .fcard { animation: drift var(--drift-t, 7s) ease-in-out var(--drift-d, 0s) infinite alternate; }
@keyframes drift { from { translate: 0 0; } to { translate: 0 -9px; } }

/* Floating site/info cards */
.fcard.soft { box-shadow: 0 26px 50px -26px rgba(70, 45, 28, .22); }
.cards { position: absolute; inset: 0; transform-style: preserve-3d; }
.fcard {
  position: absolute; left: 0; top: 0; width: 178px; padding: 12px 14px 14px;
  background: rgba(255, 255, 255, .94); border: 1px solid rgba(70, 45, 28, .08); border-radius: 14px;
  box-shadow: 0 22px 44px -22px rgba(70, 45, 28, .32), 0 2px 6px rgba(70, 45, 28, .05);
  font-size: 12px; color: var(--ink-2); opacity: 0;
}
.fc-h { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); margin-bottom: 9px; }
.fcard code { display: block; font: 11px/1.4 ui-monospace, Menlo, monospace; color: var(--brown); background: var(--warm); padding: 6px 8px; border-radius: 8px; }
.sk { display: block; height: 6px; border-radius: 3px; background: var(--warm-2); margin-top: 6px; }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.ic { width: 22px; height: 22px; border-radius: 7px; background: var(--cream); flex: none; position: relative; }
.ic::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--brown); }
.ic-q { background: var(--kiwi-soft); } .ic-q::after { background: var(--kiwi); }
.ic-code::after { border-radius: 2px; inset: 8px 6px; }
.ic-star { background: var(--kiwi-soft); }
.ic-cal::after { border-radius: 2px; }

/* ---------- Laptop: classic Apple silver, black bezel, black keys ---------- */
.rig { --ry: 0; --rx: 0; --mx: 0; position: absolute; left: 0; top: 0; width: var(--lw); height: var(--lh); transform-style: preserve-3d;
  transform: translate(calc(64vw - var(--lw) / 2), calc(52vh - var(--lh) / 2)) rotateX(-15deg) rotateY(-24deg); }
.laptop { position: absolute; inset: 0; transform-style: preserve-3d; }
.lid { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50% 100%; transform: rotateX(11deg); }
/* aluminium lid face: thin silver rim around a black glass bezel */
.lid-front {
  position: absolute; inset: 0; border-radius: calc(var(--lw) * .032);
  padding: calc(var(--lw) * .022) calc(var(--lw) * .022) calc(var(--lw) * .04);
  background: linear-gradient(180deg, #202022 0%, #111113 60%, #0b0b0c 100%);
  box-shadow:
    0 0 0 calc(var(--lw) * .0022) #8f8c88,
    0 0 0 calc(var(--lw) * .0042) #d9d7d3,
    0 0 0 calc(var(--lw) * .0056) #f7f6f4,
    0 0 0 calc(var(--lw) * .0068) rgba(0, 0, 0, .12),
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    inset 0 calc(var(--lw) * -.012) calc(var(--lw) * .02) rgba(255, 255, 255, .03);
}
.lid-front::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: linear-gradient(calc(116deg + var(--ry) * 1.6deg),
    rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, .05) calc(24% + var(--ry) * .7%), rgba(255, 255, 255, 0) calc(38% + var(--ry) * .7%),
    rgba(255, 255, 255, 0) calc(70% + var(--ry) * .7%), rgba(255, 255, 255, .04) calc(84% + var(--ry) * .7%), rgba(255, 255, 255, 0) 100%); }
.cam { position: absolute; left: 50%; top: calc(var(--lw) * .009); width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #2c2c30; box-shadow: inset 0 0 0 1px #3d3d42; }
/* lid thickness: sides and top read as brushed aluminium */
.lid-edge { position: absolute; }
.lid-edge-r { top: 1.5%; bottom: 1.5%; right: 0; width: calc(var(--lw) * .011); transform-origin: 100% 50%; transform: rotateY(-90deg);
  background: linear-gradient(90deg, #a9a6a1 0%, #cfccc8 55%, #e9e8e5 85%, #fbfbfa 100%); }
.lid-edge-l { top: 1.5%; bottom: 1.5%; left: 0; width: calc(var(--lw) * .011); transform-origin: 0 50%; transform: rotateY(90deg);
  background: linear-gradient(270deg, #a9a6a1 0%, #cfccc8 55%, #e9e8e5 85%, #fbfbfa 100%); }
.lid-edge-t { left: 1.5%; right: 1.5%; top: 0; height: calc(var(--lw) * .011); transform-origin: 50% 0; transform: rotateX(-90deg);
  background: linear-gradient(180deg, #fbfbfa 0%, #e2e0dc 25%, #bcb9b4 100%); }
.screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--lw) * .008); overflow: hidden; background: var(--screen);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .9); }
.screen::after { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 calc(var(--lw) * .035) rgba(40, 30, 20, .07), inset 0 calc(var(--lw) * .004) calc(var(--lw) * .006) rgba(0, 0, 0, .06);
  background: linear-gradient(calc(122deg + var(--ry) * 1.4deg), rgba(255, 255, 255, 0) calc(42% + var(--mx) * 8%), rgba(255, 255, 255, .22) calc(50% + var(--mx) * 8%), rgba(255, 255, 255, 0) calc(58% + var(--mx) * 8%)); mix-blend-mode: soft-light; }
.canvas { position: absolute; left: 0; top: 0; width: 1000px; height: 625px; transform-origin: 0 0; transform: scale(var(--ss)); color: var(--ink); font-size: 20px; }

/* base (deck) lies flat; .side / .lip hang down to give it thickness */
.base {
  --bt: calc(var(--lw) * .02);
  position: absolute; left: 50%; top: 100%; width: calc(var(--lw) * 1.03); height: calc(var(--lw) * .68); margin-left: calc(var(--lw) * -.515);
  transform-origin: 50% 0; transform: rotateX(90deg); transform-style: preserve-3d;
  border-radius: calc(var(--lw) * .012) calc(var(--lw) * .012) calc(var(--lw) * .04) calc(var(--lw) * .04);
  background:
    linear-gradient(180deg, rgba(30, 24, 18, .16) 0%, rgba(30, 24, 18, .05) 4%, rgba(30, 24, 18, 0) 9%),
    radial-gradient(85% 70% at calc(32% - var(--ry) * 1.3%) calc(28% + var(--rx) * .8%), rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 62%),
    radial-gradient(60% 50% at calc(78% - var(--ry) * 1%) 85%, rgba(0, 0, 0, .05), rgba(0, 0, 0, 0) 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, rgba(0, 0, 0, .02) 1px 2px, rgba(255, 255, 255, 0) 2px 3px),
    linear-gradient(180deg, #e9e8e5 0%, #dddbd7 60%, #d5d3cf 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .09), inset 0 0 0 2px rgba(255, 255, 255, .55), inset 0 -3px 2px -1px rgba(255, 255, 255, .8);
}
/* soft wide shadow + tight contact shadow on the white floor */
.base-shadow { position: absolute; inset: -6% -12% -20% -12%; transform: translateZ(calc(var(--bt) * -1 - 3px)); border-radius: 46%;
  background: radial-gradient(closest-side, rgba(61, 42, 31, .24), rgba(61, 42, 31, .08) 60%, rgba(61, 42, 31, 0)); filter: blur(18px); }
.base-ao { position: absolute; inset: 1% -2% -4% -2%; transform: translateZ(calc(var(--bt) * -1 - 2px)); border-radius: calc(var(--lw) * .05);
  background: rgba(40, 28, 20, .22); filter: blur(10px); }
.base-contact { position: absolute; inset: 2.5% 1.5% -.5% 1.5%; transform: translateZ(calc(var(--bt) * -1 - 1px)); border-radius: calc(var(--lw) * .04);
  background: rgba(30, 20, 14, .5); filter: blur(3px); }
.hinge { position: absolute; left: 12.5%; right: 12.5%; top: 0; height: 3.4%; border-radius: 0 0 calc(var(--lw) * .012) calc(var(--lw) * .012);
  background: linear-gradient(180deg, #0d0d0e 0%, #2a2a2c 35%, #5a5957 70%, #a5a29d 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6), 0 calc(var(--lw) * .006) calc(var(--lw) * .012) rgba(0, 0, 0, .18); }
.speaker { position: absolute; top: 7%; height: 44%; width: 7.5%;
  background-image: radial-gradient(circle, rgba(30, 30, 32, .6) 0 .7px, rgba(255, 255, 255, .5) .9px, transparent 1.2px); background-size: 5px 5px; opacity: .5; }
.speaker-l { left: 3.4%; } .speaker-r { right: 3.4%; }
.kbd { position: absolute; left: 12%; right: 12%; top: 6.5%; height: 45%; display: flex; flex-direction: column; gap: calc(var(--lw) * .0042);
  padding: calc(var(--lw) * .005); border-radius: calc(var(--lw) * .009);
  background: linear-gradient(180deg, #b4b0aa, #c3c0ba 30%, #c9c6c0);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(0, 0, 0, .12), 0 1px 0 rgba(255, 255, 255, .85); }
.krow { flex: 1 1 0; display: flex; gap: calc(var(--lw) * .0042); min-height: 0; }
.krow.fn { flex-grow: .62; }
.krow i, .arrows i { flex: 1 1 0; min-width: 0; border-radius: calc(var(--lw) * .0028);
  background: linear-gradient(180deg, #343436 0%, #1e1e20 55%, #141415 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -1px 0 rgba(0, 0, 0, .55), 0 1px 1.5px rgba(0, 0, 0, .5); }
.arrows { flex: 2.5 1 0; display: flex; gap: calc(var(--lw) * .0042); align-items: flex-end; }
.arrows > i { height: 50%; }
.arrows .ud { flex: 1 1 0; display: flex; flex-direction: column; gap: 1px; height: 100%; }
.arrows .ud i { flex: 1 1 0; }
.pad { position: absolute; left: 29%; right: 29%; top: 57%; height: 34%; border-radius: calc(var(--lw) * .016);
  background:
    radial-gradient(90% 80% at calc(35% - var(--ry) * 1.2%) 25%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #e0deda, #d6d4d0);
  box-shadow: inset 0 1.5px 2px rgba(0, 0, 0, .14), inset 0 0 0 1px rgba(0, 0, 0, .1), 0 1px 0 rgba(255, 255, 255, .9), 0 -1px 0 rgba(0, 0, 0, .04); }
.notch { position: absolute; left: 44%; right: 44%; bottom: 0; height: 2.2%; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .14)); }
.side { position: absolute; top: 3%; bottom: 4%; width: var(--bt); }
.side-l { left: 0; transform-origin: 0 50%; transform: rotateY(90deg); background: linear-gradient(90deg, #fbfbfa 0%, #dcdad6 14%, #b9b5af 60%, #9f9b95 100%); }
.side-r { right: 0; transform-origin: 100% 50%; transform: rotateY(-90deg); background: linear-gradient(270deg, #fbfbfa 0%, #dcdad6 14%, #b9b5af 60%, #9f9b95 100%); }
.lip { position: absolute; left: 3%; right: 3%; bottom: 0; height: var(--bt); transform-origin: 50% 100%; transform: rotateX(90deg);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .06), rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 80%, rgba(0, 0, 0, .06)),
    linear-gradient(180deg, #fbfbfa 0%, #e4e2de 12%, #c7c3be 45%, #aaa69f 85%, #96928c 100%);
  border-radius: 0 0 calc(var(--lw) * .02) calc(var(--lw) * .02); }

/* ---------- Screen designs (1000×625 canvas) ---------- */
.scr { position: absolute; inset: 0; opacity: 0; }
.scr-chat { opacity: 1; }
.dots { display: inline-flex; gap: 7px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: #e6e0d8; }
.app-top { height: 58px; display: flex; align-items: center; gap: 16px; padding: 0 26px; border-bottom: 1px solid var(--line); background: #fff; }
.app-title { font-size: 19px; color: var(--ink-2); font-weight: 600; }
.app-tag, .cw-tag { margin-left: auto; font-size: 15px; color: var(--warn); background: var(--warn-bg); padding: 5px 12px; border-radius: 999px; }
.app-body { position: absolute; top: 58px; left: 0; right: 0; bottom: 112px; padding: 34px 74px 0; }
.hero-thread { transition: opacity .45s; }
.hero-thread.clear { opacity: 0; }
.msg.user { margin-left: auto; width: fit-content; max-width: 78%; background: var(--cream); padding: 16px 24px; border-radius: 24px 24px 6px 24px; font-size: 25px; line-height: 1.45;
  opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; }
.msg.ai { display: flex; gap: 16px; margin-top: 26px; font-size: 27px; line-height: 1.55; opacity: 0; transition: opacity .35s; }
.msg.user.on, .msg.ai.on { opacity: 1; transform: none; }
.ai-dot { flex: none; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3bf, var(--kiwi) 55%, #d6a91c); box-shadow: 0 4px 10px -4px rgba(214, 169, 28, .8); }
.think { display: none; gap: 6px; padding-top: 14px; }
.think i { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.think i:nth-child(2) { animation-delay: .15s; } .think i:nth-child(3) { animation-delay: .3s; }
.thinking .think { display: inline-flex; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.opt-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 26px 0 0 56px; }
.opt { height: 128px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 24px -16px rgba(70, 45, 28, .35); padding: 16px 18px; position: relative;
  opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s; }
.opt b { font-size: 19px; }
.opt i { display: block; height: 9px; border-radius: 5px; background: var(--warm-2); margin-top: 12px; width: 82%; }
.opt i + i { width: 58%; }
.opt em { position: absolute; left: 18px; bottom: 14px; font-style: normal; font-size: 16px; color: var(--brown); background: var(--cream); padding: 3px 10px; border-radius: 8px; }
.opt-row.on .opt { opacity: 1; transform: none; }
.opt-row.on .opt:nth-child(2) { transition-delay: .12s; } .opt-row.on .opt:nth-child(3) { transition-delay: .24s; }
.app-input { position: absolute; left: 74px; right: 74px; bottom: 32px; height: 66px; border-radius: 33px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 26px -16px rgba(70, 45, 28, .4); display: flex; align-items: center; padding: 0 12px 0 28px; font-size: 22px; color: var(--muted); }
.ai-field { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.ai-field .caret, #scr-typed:empty + .caret { display: none; }
.app-input.typing .ai-field .caret { display: inline-block; }
.app-input.typing .ai-ph, .app-input.filled .ai-ph { display: none; }
.app-input.typing, .app-input.filled { color: var(--ink); }
.app-input b { transition: background .25s, transform .25s; }
.app-input.ready b { background: var(--brown-deep); }
.app-input.sent b { background: var(--kiwi); color: var(--brown-deep); transform: scale(.86); }
/* A′ (default): the typing happens inside the laptop screen, no floating prompt */
@media (min-width: 820px) {
  .hero-front .prompt { display: none; }
  .hero-front .app-input { height: 80px; border-radius: 40px; font-size: 28px; padding-left: 32px; box-shadow: 0 14px 34px -18px rgba(70, 45, 28, .5), 0 0 0 3px rgba(242, 199, 68, .0); transition: box-shadow .3s; }
  .hero-front .app-input.typing { box-shadow: 0 14px 34px -18px rgba(70, 45, 28, .5), 0 0 0 4px rgba(242, 199, 68, .45); }
  .hero-front .app-input b { width: 56px; height: 56px; font-size: 26px; }
  .hero-front .app-body { bottom: 126px; }
}
.app-input b { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; background: var(--brown-deep); color: #fff; display: grid; place-items: center; font-size: 22px; }

.scr-site { background: #fffaf2; }
.ms-nav { display: flex; align-items: center; gap: 28px; height: 70px; padding: 0 44px; border-bottom: 1px solid var(--line); font-size: 19px; color: var(--ink-2); }
.ms-nav b { font-size: 24px; color: var(--brown-deep); margin-right: 18px; }
.ms-nav em { margin-left: auto; font-style: normal; font-size: 15px; color: var(--warn); background: var(--warn-bg); padding: 5px 12px; border-radius: 999px; }
.ms-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; padding: 56px 60px; }
.ms-kicker { font-size: 19px; color: var(--brown); }
.ms-hero h4 { font-size: 56px; line-height: 1.18; margin: 12px 0 18px; color: var(--brown-deep); }
.ms-meta { font-size: 21px; color: var(--ink-2); }
.ms-btn { display: inline-block; margin-top: 28px; background: var(--brown-deep); color: #fff; font-size: 21px; padding: 14px 26px; border-radius: 999px; }
.pots { position: relative; height: 300px; }
.pots i { position: absolute; bottom: 20px; border-radius: 46% 46% 40% 40% / 30% 30% 60% 60%; background: linear-gradient(160deg, #e7c6a3, #b98257); box-shadow: inset -12px -10px 0 rgba(0, 0, 0, .06); }
.pots i:nth-child(1) { left: 6%; width: 38%; height: 58%; }
.pots i:nth-child(2) { left: 40%; width: 30%; height: 80%; background: linear-gradient(160deg, #f6e5c8, #d8b78e); }
.pots i:nth-child(3) { left: 68%; width: 28%; height: 42%; background: linear-gradient(160deg, #f7da7a, #d9a91e); }
.pots::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 18px; border-radius: 50%; background: rgba(61, 42, 31, .1); filter: blur(4px); }

.scr-report { display: grid; grid-template-columns: 230px 1fr; background: #fff; }
.rp-side { background: var(--warm); border-right: 1px solid var(--line); padding: 24px 18px; position: relative; }
.rp-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 30px; }
.rp-brand img { width: 40px; }
.rp-brand b { letter-spacing: .14em; font-size: 17px; color: var(--brown-deep); }
.rp-nav { list-style: none; margin: 0; padding: 0; }
.rp-nav li { font-size: 18px; color: var(--ink-2); padding: 13px 14px; border-radius: 12px; margin-bottom: 6px; transition: background .35s, color .35s; }
.rp-nav li.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 6px 14px -10px rgba(70, 45, 28, .5); }
.rp-side-note { position: absolute; left: 18px; bottom: 22px; font-size: 14px; color: var(--warn); line-height: 1.5; }
.rp-main { position: relative; padding: 26px 34px; }
.rp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.rp-head b { display: block; font-size: 25px; }
.rp-head span { font-size: 16px; color: var(--muted); }
.demo-pill { font-style: normal; font-size: 15px; color: var(--warn); background: var(--warn-bg); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.rp-pane { position: absolute; left: 34px; right: 34px; top: 112px; opacity: 0; transform: translateY(-8px); transition: opacity .18s, transform .18s; }
.rp-pane.on { opacity: 1; transform: none; transition: opacity .4s .2s, transform .5s .2s; }
.rp-sum { font-size: 19px; color: var(--ink-2); margin-bottom: 16px; }
.rp-sum b { color: var(--bad); }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; align-items: center; justify-content: space-between; font-size: 19px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: #fff; }
.st { font-style: normal; font-size: 15px; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.st.ok { color: var(--ok); background: var(--ok-bg); }
.st.wait { color: var(--warn); background: var(--warn-bg); }
.st.bad { color: var(--bad); background: var(--bad-bg); }
.st.na { color: var(--muted); background: var(--warm); }
/* laptop report screens */
.rp-pane[data-v="0"] .checks li { padding: 9px 16px; margin-bottom: 7px; font-size: 17px; }
.rp-pane[data-v="0"] .rp-sum { margin-bottom: 12px; }
.rp-matrix td, .rp-matrix th { text-align: left; }
.rp-matrix td:first-child { white-space: nowrap; color: var(--ink-2); }
.rp-foot { margin-top: 14px; font-size: 17px; color: var(--ink-2); }
.fixes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fixes li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 17px; }
.fixes li b { font-size: 19px; }
.fixes li span { font-size: 14px; color: var(--warn); background: var(--warn-bg); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.fixes li span + span { color: var(--muted); background: var(--warm); }
.fixes li.hi { outline: 3px solid var(--kiwi); }
/* animation options: does the option fit the stated conditions? */
.cw-opt .fit { margin-top: 4px; font-size: 12px; font-weight: 600; }
.cw-opt .fit.ok { color: var(--ok); } .cw-opt .fit.bad { color: var(--bad); } .cw-opt .fit.wait { color: var(--warn); }
/* merchant site: the age lives only inside the poster image */
.pots.poster { border-radius: 18px; background: linear-gradient(160deg, #fff4dd, #f6e3c4); }
.poster-text { position: absolute; left: 50%; top: 10%; transform: translateX(-50%) rotate(-3deg); white-space: nowrap; font-weight: 800; color: #a0522d; font-size: 22px; letter-spacing: .04em; }
.pots.big .poster-text { font-size: clamp(13px, 1.3vw, 18px); }
.rp-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.rp-table th { text-align: left; font-weight: 600; color: var(--ink-2); background: var(--warm); padding: 14px 16px; font-size: 16px; }
.rp-table td { padding: 18px 16px; border-top: 1px solid var(--line); }
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.col { background: var(--warm); border-radius: 16px; padding: 14px; min-height: 300px; }
.col h5 { font-size: 16px; color: var(--ink-2); margin-bottom: 12px; font-weight: 600; }
.kc { background: #fff; border-radius: 12px; padding: 14px; font-size: 17px; margin-bottom: 10px; box-shadow: 0 6px 14px -10px rgba(70, 45, 28, .45); border: 1px solid var(--line); }
.kc em { display: inline-block; margin-left: 8px; font-style: normal; font-size: 13px; color: var(--bad); background: var(--bad-bg); padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.kc.hi { outline: 3px solid var(--kiwi); }
.kc.done { color: var(--muted); text-decoration: line-through; }

/* Action cards lifting off the screen */
.pops { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.pop {
  position: absolute; width: calc(var(--lw) * .36); padding: calc(var(--lw) * .02) calc(var(--lw) * .024);
  background: #fff; border-radius: calc(var(--lw) * .02); border: 1px solid rgba(70, 45, 28, .1);
  box-shadow: 0 30px 50px -24px rgba(61, 42, 31, .45); font-size: calc(var(--lw) * .019); color: var(--ink-2);
  opacity: 0; transform: translateZ(0) scale(.94); transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .45s;
}
.pop:nth-child(1) { left: 63%; top: 12%; }
.pop:nth-child(2) { left: 72%; top: 58%; width: calc(var(--lw) * .3); }
.pops.measure .pop { transition: none !important; }
.pops.on .pop:nth-child(1) { opacity: 1; transform: translateZ(120px) scale(1); }
.pops.on .pop:nth-child(2) { opacity: 1; transform: translateZ(190px) scale(1); transition-delay: .12s; }
.pop-k { font-size: .82em; color: var(--warn); margin-bottom: .3em; }
.pop b { display: block; font-size: 1.18em; color: var(--ink); margin-bottom: .5em; }
.pop dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .35em .8em; }
.pop dt { color: var(--muted); }
.pop dd { margin: 0; color: var(--ink); }
.pop-bar { height: .6em; border-radius: 1em; background: var(--warm-2); overflow: hidden; margin: .4em 0; }
.pop-bar i { display: block; height: 100%; background: var(--kiwi); border-radius: inherit; }
.pop small { font-size: .9em; }

/* Ripple where Otto lands in the screen */
.splash { position: absolute; z-index: 5; left: 50%; top: 46%; width: 260px; height: 260px; border-radius: 50%; opacity: 0; pointer-events: none;
  border: 6px solid var(--kiwi); box-shadow: 0 0 0 18px rgba(242, 199, 68, .18), inset 0 0 40px rgba(242, 199, 68, .35); transform: translate(-50%, -50%) scale(.2); }

/* ---------- Prompt (hero typing) ---------- */
.prompt { position: absolute; left: 0; top: 0; width: min(380px, 84vw); opacity: 0; }
.pr-box { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 7px 7px 7px 16px; background: rgba(255, 255, 255, .97); border: 1px solid rgba(70, 45, 28, .1);
  border-radius: 20px; box-shadow: 0 28px 56px -26px rgba(61, 42, 31, .45), 0 3px 10px rgba(61, 42, 31, .06); }
.pr-plus { color: var(--muted); font-size: 18px; }
.pr-text { flex: 1; font-size: 15px; line-height: 1.45; color: var(--ink); min-height: 1.45em; }
.pr-send { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--warm-2); color: var(--muted); font-weight: 700; transition: background .25s, color .25s, transform .25s; }
.prompt.ready .pr-send { background: var(--brown-deep); color: #fff; }
.prompt.sent .pr-send { transform: scale(.86); background: var(--kiwi); color: var(--brown-deep); }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.18em; background: var(--brown); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- Otto ---------- */
.otto { position: absolute; left: 0; top: 0; width: var(--ow, 230px); height: var(--oh, 250px); transform-origin: 50% 100%; opacity: 0; }
.otto::before { content: ""; position: absolute; left: 14%; right: 14%; bottom: -6px; height: 16px; border-radius: 50%; background: rgba(61, 42, 31, .16); filter: blur(5px); }
.otto-body { position: absolute; inset: 0; transform-origin: 50% 100%; }
.otto img { position: absolute; bottom: 0; left: 50%; height: calc(100% * var(--k, 1)); width: auto; transform: translateX(-50%); opacity: 0; transition: opacity .35s ease; }
.otto img.on { opacity: 1; }
.motion .otto[data-state="idle"] .otto-body { animation: breathe 3.6s ease-in-out infinite; }
.motion .otto[data-state="typing"] .otto-body { animation: tap .34s ease-in-out infinite; }
.motion .otto[data-state="thinking"] .otto-body { animation: ponder 2.8s ease-in-out infinite; }
.motion .otto[data-state="guiding"] .otto-body { animation: lean 2s ease-in-out infinite; }
.motion .otto[data-state="cheer"] .otto-body { animation: hop 1.3s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.006, 1.014); } }
@keyframes tap { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.6px); } }
@keyframes ponder { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-3deg); } }
@keyframes lean { 0%, 100% { transform: rotate(0) translateX(0); } 50% { transform: rotate(-2.5deg) translateX(-5px); } }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-7px); } }

/* ---------- Hero copy ---------- */
.hero-copy { position: absolute; z-index: 10; left: clamp(20px, 6vw, 96px); top: 50%; width: min(580px, 40vw); transform: translateY(-50%); }
.motion .hero-copy { transform: none; top: calc(50% - var(--copy-h, 360px) / 2); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .06em; color: var(--brown); background: rgba(245, 233, 214, .7); padding: 6px 12px; border-radius: 999px; }
.k-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--kiwi); box-shadow: 0 0 0 3px rgba(242, 199, 68, .3); }
.hero-copy h1 { margin: 20px 0 18px; font-size: clamp(30px, 3.05vw, 48px); line-height: 1.25; font-weight: 700; letter-spacing: .01em; color: var(--brown-deep); }
.hero-copy h1 .ln { display: block; white-space: nowrap; }
.hero-copy h1 mark { background: linear-gradient(transparent 62%, rgba(242, 199, 68, .55) 62%, rgba(242, 199, 68, .55) 92%, transparent 92%); padding: 0 2px; }
.lede { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.75; color: var(--ink-2); max-width: 30em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 600; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-primary { background: var(--brown-deep); color: #fff; box-shadow: 0 12px 26px -12px rgba(61, 42, 31, .7); }
.btn-primary:hover { background: #2a1c14; transform: translateY(-1px); }
.btn-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--kiwi); }
.btn-ghost { background: rgba(255, 255, 255, .9); color: var(--ink); border: 1px solid rgba(70, 45, 28, .18); }
.btn-ghost:hover { border-color: rgba(70, 45, 28, .35); transform: translateY(-1px); }
.proto-note { margin-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.6; }

.scroll-hint { position: absolute; z-index: 10; left: clamp(20px, 6vw, 96px); bottom: 22px; align-items: flex-start !important; display: none; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.motion .scroll-hint { display: flex; }
.scroll-hint i { width: 1px; height: 30px; background: linear-gradient(var(--muted), transparent); animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- World: inside the screen ---------- */
.world { position: absolute; inset: 0; z-index: 20; background: var(--screen); overflow: hidden; opacity: 0; visibility: hidden; }
.tunnel { position: absolute; inset: 0; perspective: 760px; perspective-origin: 50% 50%; overflow: hidden; }
.tunnel-inner { position: absolute; inset: 0; transform-style: preserve-3d; }
.wall { position: absolute; background-image: linear-gradient(var(--grid-soft) 1px, transparent 1px), linear-gradient(90deg, var(--grid-soft) 1px, transparent 1px); background-size: 110px 110px; }
.w-floor { left: 0; right: 0; top: 100%; height: 2400px; transform-origin: 50% 0; transform: rotateX(-90deg); }
.w-ceil { left: 0; right: 0; bottom: 100%; height: 2400px; transform-origin: 50% 100%; transform: rotateX(90deg); }
.w-left { top: 0; bottom: 0; right: 100%; width: 2400px; transform-origin: 100% 50%; transform: rotateY(-90deg); }
.w-right { top: 0; bottom: 0; left: 100%; width: 2400px; transform-origin: 0 50%; transform: rotateY(90deg); }
.tile { position: absolute; width: 110px; height: 110px; padding: 10px; }
.tile::before { content: ""; position: absolute; inset: 9px; border-radius: 14px; background: var(--c, #fff); border: 1px solid rgba(70, 45, 28, .08); box-shadow: 0 10px 20px -14px rgba(70, 45, 28, .4); }
.fog { position: absolute; inset: 0; background: radial-gradient(closest-side, #fff 14%, rgba(255, 255, 255, .78) 50%, rgba(255, 255, 255, 0) 100%); }

.world-inner { position: relative; height: 100%; display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 720px); justify-content: center; align-items: center; gap: clamp(28px, 4vw, 64px); padding: 84px clamp(20px, 4vw, 56px) 32px; }
.eyebrow { font-size: 13px; letter-spacing: .08em; color: var(--warn); }
.world-caption h2 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.35; color: var(--brown-deep); margin: 10px 0 22px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 12px 0 12px 46px; border-left: 2px solid var(--warm-2); margin-left: 15px; padding-left: 30px; color: var(--muted); transition: color .35s, border-color .35s; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: -16px; top: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: #fff; border: 2px solid var(--warm-2); color: var(--muted); transition: all .35s; }
.steps b { display: block; font-size: 17px; }
.steps span { display: block; font-size: 14px; line-height: 1.65; margin-top: 4px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s, opacity .35s; }
.steps li.on { color: var(--ink); border-color: var(--kiwi); }
.steps li.on::before { background: var(--kiwi); border-color: var(--kiwi); color: var(--brown-deep); }
.steps li.on span { max-height: 80px; opacity: 1; color: var(--ink-2); }
.steps li.done::before { background: var(--cream); border-color: var(--cream); color: var(--brown); }
/* steps are buttons: click to play that part of the demo */
.step-btn { display: block; width: 100%; text-align: left; font: inherit; color: inherit; background: none; border: 0; padding: 6px 10px 6px 0; margin: -6px 0; border-radius: 12px; cursor: pointer; transition: background .2s, transform .2s; }
.step-btn:hover { background: rgba(245, 233, 214, .55); transform: translateX(2px); }
.step-btn:focus-visible { outline: 3px solid var(--kiwi); outline-offset: 2px; }
.steps li::before { cursor: pointer; }
.steps li:not(.on) .step-btn b::after { content: " →"; opacity: 0; transition: opacity .2s; color: var(--brown); }
.steps li:not(.on) .step-btn:hover b::after { opacity: 1; }
.otto-tip { display: flex; align-items: center; gap: 10px; margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px 10px 8px; box-shadow: 0 14px 30px -22px rgba(61, 42, 31, .5); }
.otto-tip img { width: 52px; height: auto; flex: none; }
.otto-tip p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.disclaimer { margin-top: 16px; font-size: 12px; line-height: 1.6; color: var(--muted); }

.chat-stage { position: relative; perspective: 1400px; height: min(600px, calc(100vh - 140px)); }
.chat-win { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; border-radius: 22px; border: 1px solid rgba(70, 45, 28, .1);
  box-shadow: 0 40px 80px -40px rgba(61, 42, 31, .45), 0 4px 14px rgba(61, 42, 31, .05); overflow: hidden; }
.cw-top { flex: none; height: 50px; display: flex; align-items: center; gap: 14px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.cw-top .dots i { width: 10px; height: 10px; }
.cw-title { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.cw-tag { font-size: 12px; }
.cw-thread { flex: 1; overflow: hidden; padding: 22px clamp(16px, 2.4vw, 30px) 10px; }
.cw-msg { opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; }
.cw-msg.on { opacity: 1; transform: none; }
.cw-msg.user { margin-left: auto; max-width: 84%; width: fit-content; background: var(--cream); border-radius: 18px 18px 6px 18px; padding: 12px 16px; font-size: 15px; line-height: 1.6; }
.cw-msg.ai { display: flex; gap: 12px; margin-top: 18px; font-size: 15px; line-height: 1.7; }
.ai-badge { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--brown-deep); background: radial-gradient(circle at 35% 30%, #fff3bf, var(--kiwi) 60%, #d6a91c); }
.cw-msg.ai .think i { width: 7px; height: 7px; }
.cw-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 0 42px; }
.cw-opt { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 13px 44px; font-size: 12.5px; line-height: 1.55; color: var(--ink-2);
  box-shadow: 0 16px 30px -24px rgba(61, 42, 31, .55); opacity: 0; transform: translateZ(-120px) translateY(18px); transition: opacity .45s, transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s; }
.cw-opts.on .cw-opt { opacity: 1; transform: none; }
.cw-opts.on .cw-opt:nth-child(2) { transition-delay: .14s; } .cw-opts.on .cw-opt:nth-child(3) { transition-delay: .28s; }
.cw-opt header { margin-bottom: 6px; }
.cw-opt header b { display: block; font-size: 11px; color: var(--warn); font-weight: 600; }
.cw-opt header span { font-size: 15px; font-weight: 700; color: var(--ink); }
.cw-opt .why { color: var(--muted); margin-top: 4px; }
.cw-link { position: absolute; left: 13px; bottom: 12px; font-size: 12.5px; color: var(--brown); background: var(--cream); padding: 4px 10px; border-radius: 8px; transition: background .25s, color .25s; }
.cw-opt.pick { border-color: var(--kiwi); box-shadow: 0 0 0 3px rgba(242, 199, 68, .45), 0 20px 36px -22px rgba(61, 42, 31, .6); }
.cw-opt.pick .cw-link.press { background: var(--brown-deep); color: #fff; }
.cw-foot { margin: 14px 0 0 42px; font-size: 14px; color: var(--ink-2); opacity: 0; transition: opacity .4s; }
.cw-foot.on { opacity: 1; }
.cw-input { flex: none; display: flex; align-items: center; gap: 10px; margin: 0 clamp(14px, 2vw, 22px) 16px; min-height: 52px; padding: 6px 7px 6px 16px; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 24px -18px rgba(61, 42, 31, .5); }
.cw-plus { color: var(--muted); }
.cw-field { flex: 1; font-size: 14.5px; line-height: 1.5; position: relative; min-height: 1.5em; }
.cw-field .caret { display: none; }
.cw-field.typing .caret { display: inline-block; }
.cw-ph { color: var(--muted); }
.cw-field.typing .cw-ph, .cw-field.filled .cw-ph { display: none; }
.cw-send { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--warm-2); color: var(--muted); font-weight: 700; transition: all .25s; }
.cw-send.ready { background: var(--brown-deep); color: #fff; }
.cw-send.sent { background: var(--kiwi); color: var(--brown-deep); transform: scale(.86); }
.fake-cursor { position: absolute; left: 0; top: 0; z-index: 3; opacity: 0; pointer-events: none; transition: transform .9s cubic-bezier(.4, .1, .2, 1), opacity .3s; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .2)); }

.site-win { position: absolute; inset: 6% -2% -2% 6%; z-index: 4; display: flex; flex-direction: column; background: #fffaf2; border-radius: 20px; border: 1px solid rgba(70, 45, 28, .12); overflow: hidden;
  box-shadow: 0 60px 100px -40px rgba(61, 42, 31, .6); opacity: 0; transform: translateZ(-420px) rotateX(10deg); transform-origin: 50% 80%; transition: opacity .5s, transform .9s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.site-win.on { opacity: 1; transform: none; }
.sw-bar { flex: none; display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--line); }
.sw-bar .dots i { width: 10px; height: 10px; }
.sw-url { font-size: 13px; color: var(--ink-2); background: var(--warm); padding: 5px 14px; border-radius: 999px; }
.sw-tag { margin-left: auto; font-size: 12px; color: var(--warn); background: var(--warn-bg); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.sw-body { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 20px; padding: clamp(18px, 3vw, 40px); }
.sw-kicker { font-size: 13px; color: var(--brown); }
.sw-copy h3 { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.25; color: var(--brown-deep); margin: 8px 0 10px; }
.sw-copy p { font-size: 14px; color: var(--ink-2); }
.sw-btn { display: inline-block; margin-top: 18px; background: var(--brown-deep); color: #fff; font-size: 14px; padding: 11px 20px; border-radius: 999px; }
.pots.big { height: clamp(140px, 22vh, 220px); }
.sw-info { flex: none; display: flex; gap: 10px; padding: 0 clamp(18px, 3vw, 40px) 22px; flex-wrap: wrap; }
.sw-info > span { font-size: 12.5px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
.sw-info b { color: var(--ink); margin-right: 6px; }

/* ---------- Values ---------- */
.values { position: absolute; z-index: 15; left: clamp(20px, 6vw, 96px); top: 50%; width: min(440px, 34vw); transform: translateY(-50%); opacity: 0; visibility: hidden; }
.v-progress { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.v-progress span { font-weight: 700; color: var(--brown-deep); }
/* progress bars are buttons: a tall hit area around a thin bar */
.v-dot { position: relative; width: 34px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 6px; }
.v-dot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: var(--warm-2); transition: background .3s, height .2s, margin .2s; }
.v-dot.on::before { background: var(--kiwi); }
.v-dot.cur::before { background: var(--kiwi-deep, #d9a91e); }
.v-dot:hover::before { height: 6px; margin-top: -3px; background: var(--kiwi); }
.v-dot:focus-visible { outline: 3px solid var(--kiwi); outline-offset: 2px; }
.v-progress em { font-style: normal; }
.v-items { display: grid; }
.v-item { grid-area: 1 / 1; opacity: 0; transform: translateY(-10px); transition: opacity .18s, transform .18s; pointer-events: none; }
.v-item.on { opacity: 1; transform: none; pointer-events: auto; transition: opacity .4s .2s, transform .5s .2s cubic-bezier(.2, .8, .2, 1); }
.v-k { font-size: 13px; color: var(--brown); letter-spacing: .05em; }
.v-item h3 { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.3; color: var(--brown-deep); margin: 10px 0 14px; }
.v-item > p { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.v-item > ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; }
.v-item > ul li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--cream); color: var(--brown-deep); }
.v-note { margin-top: 22px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.v-note a { display: inline-block; margin-top: 6px; color: var(--brown); font-weight: 600; text-decoration: none; }
.v-mini { display: none; }

/* ---------- Free check ---------- */
.free-check { position: relative; z-index: 2; background: linear-gradient(180deg, #fff, var(--warm)); padding: clamp(80px, 12vh, 140px) clamp(20px, 6vw, 96px); }
.fc-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 260px; gap: 48px; align-items: center; }
.fc-copy h2 { font-size: clamp(26px, 2.6vw, 38px); color: var(--brown-deep); margin: 10px 0 16px; }
.fc-copy > p { font-size: 16px; line-height: 1.8; color: var(--ink-2); max-width: 36em; }
.fc-form { display: flex; gap: 10px; margin-top: 26px; max-width: 560px; }
.fc-form input { flex: 1; height: 52px; border-radius: 16px; border: 1px solid var(--line); background: #fff; padding: 0 18px; font: inherit; font-size: 15px; color: var(--ink); }
.fc-form input:focus { outline: 3px solid rgba(242, 199, 68, .55); border-color: var(--kiwi); }
.fc-form button { height: 52px; padding: 0 24px; border-radius: 16px; border: 0; font: inherit; font-size: 15px; font-weight: 600; background: var(--brown-deep); color: #fff; cursor: pointer; }
.fc-form button:hover { background: #2a1c14; }
.fc-notice { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; max-width: 560px; padding: 12px 16px; border-radius: 14px; background: var(--warn-bg); color: var(--warn); font-size: 14.5px; line-height: 1.6; font-weight: 600; }
.fc-notice-dot { flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--warn); }
.fc-form input:disabled { background: var(--warm); color: var(--muted); cursor: not-allowed; }
.fc-form button:disabled, .fc-form button:disabled:hover { background: var(--warm-2); color: var(--muted); cursor: not-allowed; }
.btn-light:disabled, .btn-light:disabled:hover { background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .72); cursor: not-allowed; }
.ft-contact[aria-disabled="true"] { color: var(--muted); }
.fc-hint { margin-top: 12px; font-size: 13px; color: var(--muted); }
.fc-otto { width: 100%; height: auto; transform-origin: 50% 100%; }
/* Free-check Otto: every few seconds a short burst of typing taps (bob + tiny sway), then still */
.motion .fc-otto { animation: otto-typing-burst 3.6s ease-in-out infinite; }
@keyframes otto-typing-burst {
  0%, 58%, 100% { transform: translateY(0) rotate(0); }
  62% { transform: translateY(-2.5px) rotate(-1.2deg); }
  66% { transform: translateY(0) rotate(0.4deg); }
  70% { transform: translateY(-2.5px) rotate(1.2deg); }
  74% { transform: translateY(0) rotate(-0.4deg); }
  78% { transform: translateY(-2px) rotate(-1deg); }
  82% { transform: translateY(0) rotate(0.6deg); }
  86% { transform: translateY(-1.5px) rotate(0.8deg); }
  90% { transform: translateY(0) rotate(0); }
}

/* ---------- Hero B: laptop fully centred, copy above ---------- */
@media (min-width: 820px) {
  /* B: a compact copy band so the laptop can take most of the first screen */
  .hero-center .hero-copy, .motion.hero-center .hero-copy, .static-mode.hero-center .hero-copy {
    left: 0; right: 0; top: clamp(74px, 8.5vh, 96px); width: min(980px, 92vw); margin: 0 auto; transform: none; text-align: center; }
  .hero-center .kicker { display: none; }   /* brand is already in the header; give the height to the laptop */
  .hero-center .hero-copy h1 { margin: 0 0 6px; font-size: clamp(28px, 2.7vw, 42px); line-height: 1.2; }
  .hero-center .hero-copy h1 .ln { display: inline; }
  .hero-center .lede { margin: 0 auto; max-width: 42em; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.6; }
  .hero-center .ctas { justify-content: center; align-items: center; margin-top: 14px; }
  .hero-center .btn { height: 44px; padding: 0 22px; font-size: 15px; }
  .hero-center .proto-note { margin-top: 6px; font-size: 12px; }
  .hero-center .glow { left: 50%; top: 66%; }
  .hero-center .scroll-hint { display: none; }
}

/* ---------- Page sections after the stage (Salient-style order) ---------- */
.sec, .free-check { scroll-margin-top: 64px; }
.sec { position: relative; z-index: 2; padding: clamp(80px, 12vh, 132px) clamp(20px, 6vw, 96px); background: #fff; }
.sec-inner { max-width: 1120px; margin: 0 auto; }
.sec h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.3; color: var(--brown-deep); margin: 12px 0 16px; }
.sec-lede { font-size: 17px; line-height: 1.8; color: var(--ink-2); max-width: 40em; }
.fine { margin-top: 22px; font-size: 13px; line-height: 1.7; color: var(--muted); }

.why { background: linear-gradient(180deg, #fff, var(--warm) 140%); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: 0 30px 60px -44px rgba(61, 42, 31, .45); }
.why-card h3 { font-size: 21px; color: var(--brown-deep); margin: 24px 0 10px; }
.why-card p { font-size: 15.5px; line-height: 1.8; color: var(--ink-2); }
.why-visual { min-height: 200px; border-radius: 18px; background: var(--warm); padding: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.q-chip { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 9px 14px; font-size: 13.5px; color: var(--ink); box-shadow: 0 8px 18px -14px rgba(61, 42, 31, .5); }
.q-chip.soft { font-size: 13px; }
.q-chip.soft:nth-of-type(odd) { transform: translateX(-14px); } .q-chip.soft:nth-of-type(even) { transform: translateX(16px); }
.kw-chip { font-size: 13px; color: var(--muted); border: 1px dashed rgba(70, 45, 28, .25); border-radius: 999px; padding: 5px 14px; margin-bottom: 4px; text-decoration: line-through; text-decoration-color: rgba(70, 45, 28, .25); }
.v-chip { display: flex; flex-direction: column; align-items: center; background: #fff; border-radius: 14px; padding: 9px 16px; font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); }
.v-chip b { font-size: 14px; color: var(--ink); }
.v-chip.site { border-color: var(--kiwi); box-shadow: 0 0 0 3px rgba(242, 199, 68, .3); }
.why-arrow { color: var(--kiwi-deep, #d9a91e); font-size: 14px; line-height: 1; }

.report-ex { background: var(--warm); }
.rx-card { margin-top: 44px; background: #fff; border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 40px 80px -56px rgba(61, 42, 31, .55); overflow: hidden; }
.rx-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 28px 32px; border-bottom: 1px solid var(--line); }
.rx-k { font-size: 13px; color: var(--warn); }
.rx-head h3 { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; color: var(--ink); margin-top: 6px; }
.rx-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 360px; }
.rx-tags li { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: var(--warm); color: var(--ink-2); }
.rx-tags li.hi { background: var(--bad-bg); color: var(--bad); }
.rx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.rx-steps > li { padding: 26px 26px 30px; border-right: 1px solid var(--line); font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.rx-steps > li:last-child { border-right: 0; }
.rx-n { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--brown-deep); font-size: 16px; margin-bottom: 12px; }
.rx-n span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--kiwi); color: var(--brown-deep); }
.rx-ev { margin: 0; display: grid; gap: 4px; }
.rx-ev dt { font-size: 12px; color: var(--muted); margin-top: 6px; }
.rx-ev dd { margin: 0; color: var(--ink); }
.rx-ev q { display: block; background: var(--warm); border-left: 3px solid var(--kiwi); padding: 6px 10px; border-radius: 0 8px 8px 0; quotes: none; }
.rx-ev small { font-size: 11px; color: var(--warn); }
.rx-ev code { font: 12.5px/1.5 ui-monospace, Menlo, monospace; color: var(--brown); word-break: break-all; }
.rx-list { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.rx-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); background: var(--warm); border-radius: 10px; padding: 8px 10px; }

.plans { background: #fff; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.plan { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 26px; padding: 32px; background: #fff; }
.plan-paid { background: var(--brown-deep); color: #fff; border-color: var(--brown-deep); box-shadow: 0 40px 80px -50px rgba(61, 42, 31, .8); }
.plan-k { font-size: 13px; letter-spacing: .04em; color: var(--brown); }
.plan-paid .plan-k { color: var(--kiwi); }
.plan h3 { font-size: 24px; margin: 6px 0 10px; }
.plan-price { font-size: 28px; font-weight: 700; display: flex; align-items: baseline; gap: 10px; }
.plan-price span { font-size: 13px; font-weight: 500; color: var(--warn); background: var(--warn-bg); padding: 3px 10px; border-radius: 999px; }
.plan-for { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.plan-paid .plan-for { color: rgba(255, 255, 255, .78); }
.plan-rows { margin: 22px 0 28px; display: grid; grid-template-columns: 96px 1fr; gap: 12px 16px; font-size: 14.5px; line-height: 1.7; }
.plan-rows dt { color: var(--muted); }
.plan-rows dd { margin: 0; color: var(--ink); }
.plan-paid .plan-rows dt { color: rgba(255, 255, 255, .6); }
.plan-paid .plan-rows dd { color: #fff; }
.plan-btn { margin-top: auto; justify-content: center; }
.btn-light { background: #fff; color: var(--brown-deep); border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.btn-light:hover { background: var(--kiwi); }

.faq { background: var(--warm); }
.faq-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; margin-bottom: 12px; }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 28px 20px 0; position: relative; font-size: 17px; font-weight: 600; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--brown); transition: transform .25s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 0 20px; font-size: 15px; line-height: 1.85; color: var(--ink-2); }

.site-footer { padding: 44px clamp(20px, 6vw, 96px) 40px; background: #fff; border-top: 1px solid var(--line); }
.ft-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ft-brand p { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.ft-links { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.ft-links a { font-size: 14px; color: var(--ink-2); text-decoration: none; }
.ft-links a:hover { color: var(--ink); }
.ft-contact { font-size: 14px; color: var(--ink-2); text-decoration: none; }
.ft-fine { max-width: 1120px; margin: 28px auto 0; font-size: 12px; line-height: 1.8; color: var(--muted); }

/* ---------- Opening sequence (html.intro, removed by main.js when it ends or is skipped) ---------- */
html.intro .room { filter: blur(18px); transform: scale(1.04); }
html.intro .rig, html.intro .fcard, html.intro .otto, html.intro .prompt { opacity: 0; }
html.intro .scroll-hint { visibility: hidden !important; }
html.intro .hero-copy h1 { opacity: 0; }
html.intro.intro-h1 .hero-copy h1 { opacity: 1; transition: opacity .18s; }
html.intro .hero-copy > .kicker, html.intro .hero-copy > .lede, html.intro .hero-copy > .ctas {
  opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s cubic-bezier(.2, .8, .2, 1); }
html.intro.intro-ui .hero-copy > .kicker, html.intro.intro-ui .hero-copy > .lede, html.intro.intro-ui .hero-copy > .ctas { opacity: 1; transform: none; }
html.intro.intro-ui .hero-copy > .lede { transition-delay: .12s; }
html.intro.intro-ui .hero-copy > .ctas { transition-delay: .24s; }
html.intro .site-header .nav, html.intro .site-header .btn-sm, html.intro .site-header .lang-select { opacity: 0; transform: translateY(-6px); transition: opacity .5s, transform .5s; }
html.intro.intro-nav .site-header .nav, html.intro.intro-nav .site-header .btn-sm, html.intro.intro-nav .site-header .lang-select { opacity: 1; transform: none; }
html.intro .site-header .btn-sm { transition-delay: .1s; }
.intro-type { position: absolute; inset: 0; z-index: 12; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 4vh; pointer-events: none; }
.it-row { white-space: nowrap; text-align: center; }
.it-line { display: inline-block; transform-origin: 0 0; font-size: clamp(36px, 4.6vw, 72px); line-height: 1.25; font-weight: 700; letter-spacing: .01em; color: var(--brown-deep); }
.it-ch { visibility: hidden; }
.it-ch.on { visibility: visible; }
.it-mark { color: inherit; padding: 0 2px; background: linear-gradient(transparent 62%, rgba(242, 199, 68, .55) 62%, rgba(242, 199, 68, .55) 92%, transparent 92%) no-repeat 0 0 / 0% 100%; transition: background-size .32s ease; }
.it-mark.drawn { background-size: 100% 100%; }
.it-caret { height: .95em; width: 3px; vertical-align: -.1em; }
@media (max-width: 819px) { .it-line { font-size: min(7.4vw, 34px); } }

/* ---------- Quick Check sample report ---------- */
.qc { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 40px 80px -56px rgba(61, 42, 31, .55); overflow: hidden; }
.qc-head { padding: 26px 32px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px 32px; align-items: start; }
.qc-head h3 { font-size: 24px; color: var(--brown-deep); margin-top: 6px; }
.qc-head h3 small { display: block; font-size: 14px; font-weight: 400; color: var(--ink-2); margin-top: 4px; }
.qc-meta { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.qc-meta dt { color: var(--muted); } .qc-meta dd { margin: 0; color: var(--ink); }
.qc-limit { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); background: var(--warm); border-radius: 12px; padding: 10px 14px; line-height: 1.7; }
.qc-sec { padding: 26px 32px; border-bottom: 1px solid var(--line); }
.qc-sec:last-child { border-bottom: 0; }
.qc-sec h4 { display: flex; align-items: center; gap: 10px; font-size: 17px; color: var(--brown-deep); margin-bottom: 14px; }
.qc-sec h4 span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--brown-deep); color: #fff; }
.qc-h4b { margin-top: 22px; }
.qc-dims { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.qc-dim { background: var(--warm); border-radius: 16px; padding: 16px; font-size: 13.5px; line-height: 1.65; color: var(--ink-2); }
.qc-dim b { color: var(--ink); font-size: 14.5px; }
.qc-num { margin: 8px 0 6px; font-size: 15px; font-weight: 700; color: var(--brown-deep); }
.qc-num small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.qc-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.qc-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.qc-checks li { display: flex; gap: 10px; align-items: flex-start; }
.qc-checks .st { flex: none; font-size: 12px; min-width: 52px; text-align: center; }
.qc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.qc-table th { text-align: left; font-weight: 600; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.qc-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.qc-table .st { font-size: 12px; }
.qc-note { margin-top: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.qc .rx-card { margin-top: 0; box-shadow: none; }
.qc-more { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.qc-more div { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.qc-more b { color: var(--ink); font-size: 14.5px; }
.qc-track td:first-child { color: var(--ink); }
.qc-cta { margin-top: 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.btn-sm2 { height: 40px; padding: 0 18px; font-size: 14px; cursor: default; }

/* ---------- Mobile ---------- */
@media (max-width: 819px) {
  .nav { display: none; }
  .site-header { gap: 12px; height: 56px; }
  .proto-badge { margin-left: auto; font-size: 11px; }
  .hero-copy { left: 20px; right: 20px; width: auto; top: 76px; transform: none; }
  .motion .hero-copy { top: 76px; }
  .hero-copy h1 { font-size: clamp(25px, 7vw, 32px); margin: 14px 0 12px; }
  .hero-copy h1 .ln { white-space: normal; }
  .scroll-hint { display: none !important; }
  .lede { font-size: 15px; line-height: 1.7; }
  .ctas { margin-top: 18px; gap: 10px; }
  .btn { height: 48px; padding: 0 20px; font-size: 15px; }
  .proto-note { margin-top: 10px; font-size: 12px; }
  .fcard { width: 140px; font-size: 11px; padding: 10px 11px 11px; }
  .fcard { display: none; }
  .prompt { width: min(400px, 88vw); }
  .pr-text { font-size: 14.5px; }
  .glow { left: 50%; top: 70%; }

  .world-inner { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: stretch; gap: 12px; padding: 66px 12px 12px; }
  .world-caption h2 { font-size: 19px; margin: 4px 0 8px; }
  .steps { display: flex; gap: 6px; }
  .steps li { flex: 1; border: 0; margin: 0; padding: 8px 8px 8px 30px; border-radius: 12px; background: rgba(255, 255, 255, .8); }
  .steps li::before { left: 6px; top: 8px; width: 20px; height: 20px; font-size: 11px; }
  .steps b { font-size: 12px; line-height: 1.4; }
  .step-btn { padding: 0; margin: 0; }
  .step-btn:hover { transform: none; background: none; }
  .steps li { cursor: pointer; }
  .steps span, .otto-tip, .disclaimer { display: none; }
  .steps li.on { background: #fff; box-shadow: 0 0 0 2px var(--kiwi); }
  .chat-stage { height: auto; min-height: 0; }
  .cw-thread { padding: 14px 12px 6px; }
  .cw-msg.user { font-size: 13.5px; }
  .cw-msg.ai { font-size: 13.5px; gap: 8px; margin-top: 12px; }
  .ai-badge { width: 24px; height: 24px; font-size: 9px; }
  .cw-opts { grid-template-columns: 1fr; gap: 8px; margin: 10px 0 0 0; }
  .cw-opt { padding: 9px 12px; font-size: 12px; display: grid; grid-template-columns: 1fr auto; column-gap: 8px; }
  .cw-opt header { margin: 0; grid-column: 1; }
  .cw-opt header span { font-size: 14px; }
  .cw-opt p { grid-column: 1; }
  .cw-opt .why { display: none; }
  .cw-link { position: static; grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .cw-foot { margin: 10px 0 0; font-size: 12.5px; }
  .cw-input { margin: 0 10px 10px; min-height: 46px; }
  .cw-field { font-size: 13px; }
  .site-win { inset: 4% 0 0 0; }
  .sw-body { grid-template-columns: 1fr; gap: 8px; }
  .pots.big { height: 120px; }
  .sw-tag { display: none; }

  .values { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; transform: none; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 22px; padding: 18px 18px 14px; box-shadow: 0 24px 50px -30px rgba(61, 42, 31, .5); }
  .v-progress { margin-bottom: 10px; }
  .v-item h3 { font-size: 21px; margin: 6px 0 8px; }
  .v-item > p { font-size: 14px; line-height: 1.65; }
  .v-item > ul { margin-top: 10px; }
  .v-item > ul li { font-size: 12px; padding: 4px 10px; }
  .v-note { margin-top: 10px; font-size: 11px; }

  .site-header .btn-sm { margin-left: auto; height: 34px; padding: 0 14px; font-size: 13px; }
  .site-header .proto-badge { display: none; }
  .lang-select select { height: 34px; font-size: 12.5px; padding: 0 22px 0 26px; }
  .site-header .btn-sm { white-space: nowrap; }
  /* small phones: the hero already has the CTA, so the header keeps logo + language */
  @media (max-width: 430px) { .site-header .btn-sm { display: none; } .lang-select { margin-left: auto; } }
  .qc-meta { grid-template-columns: minmax(0, 38%) 1fr; }
  .lang-select .lang-glyph { left: 8px; }
  .site-header .btn-sm { margin-left: 6px; }
  .why-grid, .plan-grid, .faq-inner { grid-template-columns: 1fr; }
  .why-card, .plan { padding: 22px; }
  .rx-head { flex-direction: column; padding: 22px; }
  .rx-tags { justify-content: flex-start; }
  .rx-steps { grid-template-columns: 1fr; }
  .qc-head { grid-template-columns: 1fr; padding: 20px; }
  .qc-sec { padding: 20px; }
  .qc-dims { grid-template-columns: 1fr 1fr; }
  .qc-grid2, .qc-more { grid-template-columns: 1fr; gap: 20px; }
  .rx-steps > li { border-right: 0; border-top: 1px solid var(--line); padding: 20px 22px; }
  .plan-rows { grid-template-columns: 1fr; gap: 2px; }
  .plan-rows dd { margin-bottom: 10px; }
  .faq-inner { gap: 20px; }
  .fc-inner { grid-template-columns: 1fr; }
  .fc-otto { width: 160px; justify-self: end; }
  .fc-form { flex-direction: column; }
}
@media (max-width: 819px) { html:not(.js) .rig { display: none; } }

/* ---------- Static mode: reduced motion / no JS ---------- */
.static-mode .stage { padding-top: max(100vh, 680px); }
.static-mode .scene { position: absolute; inset: 0 0 auto 0; height: max(100vh, 680px); }
.static-mode .hero-copy { top: calc(max(100vh, 680px) / 2); }
.static-mode .prompt, .static-mode .otto, .static-mode .fcard { opacity: 1; }
.static-mode .caret { display: none; }
.static-mode .world { position: relative; inset: auto; opacity: 1; visibility: visible; overflow: visible; background: var(--warm); }
.static-mode .tunnel { display: none; }
.static-mode .world-inner { height: auto; align-items: start; padding-top: 72px; padding-bottom: 72px; }
.static-mode .steps span { max-height: none; opacity: 1; color: var(--ink-2); }
.static-mode .steps li { color: var(--ink); }
.static-mode .chat-stage { height: auto; perspective: none; }
.static-mode .chat-win { position: relative; }
.static-mode .cw-msg, .static-mode .cw-opt, .static-mode .cw-foot { opacity: 1; transform: none; }
.static-mode .cw-field .cw-ph { display: inline; }
.static-mode .site-win { position: relative; inset: auto; margin-top: 20px; opacity: 1; transform: none; }
.static-mode .values { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; max-width: 1100px; margin: 0 auto; padding: 80px clamp(20px, 6vw, 48px); transform: none; opacity: 1; visibility: visible; background: none; border: 0; box-shadow: none; }
.static-mode .v-progress { display: none; }
.static-mode .v-items { gap: 48px; }
.static-mode .v-item { grid-area: auto; opacity: 1; transform: none; transition: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px; align-items: center; }
.static-mode .v-item > * { grid-column: 1; }
.static-mode .v-mini { display: block; grid-column: 2; grid-row: 1 / span 5; position: relative; aspect-ratio: 1000 / 625; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(61, 42, 31, .5); background: #fff; }
.static-mode .v-mini .canvas { transform: scale(var(--ms, .5)); }
.static-mode .v-mini .scr-report { opacity: 1; }
@media (max-width: 819px) {
  .static-mode .stage { padding-top: 720px; }
  .static-mode .scene { height: 720px; }
  .static-mode .hero-copy { top: 76px; }
  .static-mode .v-item { grid-template-columns: 1fr; }
  .static-mode .v-mini { grid-column: 1; grid-row: auto; }
}
