/* web-kit site system (approved v3 layout, 2026-10-31). Shared by every app site.
   Colours come from each app's own theme via site.json. */

/* ---- Shared system ---- */
:root {
  --f-display: "Inter Tight", "Inter", system-ui, sans-serif;

  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --r-pill: 999px; --r-sm: 14px; --r-md: 22px; --r-lg: 32px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --maxw: 1240px; --gutter: clamp(16px, 4vw, 48px);
  --glass: rgba(255, 255, 255, .62);
  --glass-line: rgba(255, 255, 255, .7);
}

/* Theme tokens are injected per site from site.json (see web-kit/README.md). */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--f-body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 300; letter-spacing: -.035em; line-height: 1.02; }
p { margin: 0; }
/* Emphasis: same family, heavier and darker. No italics. */
em.s, .s { font-family: var(--f-display); font-style: normal; font-weight: 500; letter-spacing: -.04em; color: var(--hl); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--line); font: 500 13px/1 var(--f-body); color: var(--ink); white-space: nowrap; }
.pill.glass { background: var(--glass); border-color: var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pill .sq { width: 7px; height: 7px; border-radius: 2px; background: var(--muted); opacity: .6; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: var(--r-pill); font: 500 15px/1 var(--f-body); border: 1px solid transparent; cursor: pointer; transition: transform .35s var(--spring), background .25s, box-shadow .25s; white-space: nowrap; }
.btn-dark { background: var(--action); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgb(var(--ink-rgb) / .6); }
.btn-ghost { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .3s var(--spring); }
.btn:hover .arrow { transform: translateX(3px); }
.sample-bar { background: var(--tile); color: var(--on-dark-muted); text-align: center; font: 500 12px/1.4 var(--f-body); padding: 7px 16px; letter-spacing: .02em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }

/* ---- Nav ---- */
.nav { position: sticky; top: 0; z-index: 60; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgb(var(--paper-rgb) / .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font: 400 19px/1 var(--f-display); letter-spacing: -.02em; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.logo b { font-weight: 600; }
.tabs { display: flex; gap: 2px; padding: 4px; border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--line); }
.tabs a { padding: 8px 14px; border-radius: var(--r-pill); font: 500 13.5px/1 var(--f-body); color: var(--muted); transition: color .2s, background .2s; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { background: var(--action); color: #fff; }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.lang { position: relative; }
.lang-btn { height: 40px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 500 13px/1 var(--f-body); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 240px; max-height: 380px; overflow: auto; padding: 6px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgb(var(--ink-rgb) / .45); display: none; }
.lang-menu.open { display: block; animation: drop .3s var(--ease); }
.lang-menu button { width: 100%; display: flex; justify-content: space-between; border: 0; background: none; color: var(--ink); padding: 10px 12px; border-radius: 10px; font: 500 14px/1.2 var(--f-body); cursor: pointer; text-align: left; }
.lang-menu button:hover, .lang-menu button[aria-current="true"] { background: var(--tint); }
.lang-menu small { color: var(--muted); }
.lang-menu .note { font-size: 12px; color: var(--muted); padding: 8px 12px 4px; }
.nav .btn { height: 40px; padding: 0 16px; font-size: 13.5px; }
@media (max-width: 980px) { .tabs { display: none; } .nav-inner { grid-template-columns: 1fr auto; } }
@media (max-width: 520px) { .lang-btn span { display: none; } .nav .btn-label-long { display: none; } }

/* ---- Hero ---- */
.hero { padding: clamp(24px, 4vw, 48px) 0 0; }
.hero-tags { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.hero-tags div { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(260px, .6fr); gap: 40px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.hero h1 { font-size: clamp(46px, 7.2vw, 104px); color: var(--soft); }
.sec-head h2 { color: var(--soft); }
.tile h3 { color: rgba(255, 255, 255, .7); } .tile .s, .band .navy-card .s { color: #fff; }
.tile.photo h3 { color: #fff; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .12s; }
.hero-side { display: grid; gap: 22px; padding-bottom: 12px; opacity: 0; animation: fadeUp 1s var(--ease) .45s forwards; }
.hero-side p { font-size: 17px; color: var(--muted); max-width: 34ch; }
.hero-side .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.store-badge img { height: 48px; width: auto; }

.hero-media { position: relative; border-radius: var(--r-lg); overflow: visible; opacity: 0; transform: scale(.97); animation: mediaIn 1.4s var(--ease) .25s forwards; }
.hero-media .frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 8; background: #DCD6CC; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero-media .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--ink-rgb) / .1), transparent 30%, transparent 70%, rgb(var(--ink-rgb) / .18)); pointer-events: none; }
.hero-media .tagrow { position: absolute; left: 20px; right: 20px; top: 20px; display: flex; justify-content: space-between; z-index: 3; }
.glass-card { position: absolute; z-index: 3; padding: 14px 16px; border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 20px 40px -24px rgb(var(--ink-rgb) / .45); }
.gc-live { left: 4%; top: 22%; width: 220px; animation: float 7s ease-in-out infinite; }
.gc-live .head { display: flex; align-items: center; justify-content: space-between; font: 500 12px/1 var(--f-body); color: var(--muted); }
.gc-live .head .liv { display: inline-flex; align-items: center; gap: 6px; color: var(--good); }
.gc-live .head .liv i { width: 6px; height: 6px; border-radius: 50%; background: var(--good); animation: pulse 1.6s infinite; }
.gc-live .big { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; font: 300 44px/1 var(--f-display); letter-spacing: -.04em; }
.gc-live .big small { font-size: 14px; color: var(--muted); letter-spacing: 0; }
.gc-live .bar { height: 6px; border-radius: 6px; background: rgb(var(--ink-rgb) / .1); margin-top: 12px; overflow: hidden; }
.gc-live .bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--bad), var(--ok), var(--good)); transition: width 1s var(--ease); }
.gc-live .room { margin-top: 8px; font-size: 13px; }
.gc-tip { right: 4%; bottom: 9%; display: flex; gap: 12px; align-items: center; animation: float 8s ease-in-out -2s infinite; }
.gc-tip .ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--tile); color: #fff; }
.gc-tip b { display: block; font: 500 14px/1.2 var(--f-body); }
.gc-tip small { color: var(--muted); font-size: 12px; }
.reading { position: absolute; z-index: 2; transform: translate(-50%, -50%); pointer-events: none; }
.reading .ring { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px rgba(255, 255, 255, .85); }
.reading .ring::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--c); animation: ripple 2.2s var(--ease) infinite; }
.reading .lbl { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(6px); opacity: 0; white-space: nowrap; padding: 6px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .9); font: 500 12px/1 var(--f-body); box-shadow: 0 10px 20px -12px rgb(var(--ink-rgb) / .5); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reading .lbl b { font-family: var(--f-display); font-weight: 600; margin-inline-end: 4px; }
.reading { opacity: 0; transition: opacity .6s var(--ease); }
.reading.on { opacity: 1; }
.reading.on .lbl { opacity: 1; transform: translateX(-50%); }
.hero-phone { position: absolute; z-index: 4; right: 4%; bottom: -10%; width: clamp(160px, 15vw, 220px); }

/* Device frame (shared). A generic phone: no Dynamic Island, buttons or other Apple-only details,
   so it needs no Apple licence and also suits Android. Screens come from web-kit/scripts/app-screens.sh,
   which removes the simulator's island and draws a clean status bar. Never tilt, crop or cover it. */
.device { position: relative; aspect-ratio: 1384 / 2932; padding: 2.3%; border-radius: 15.6% / 7.4%; background: #0D1015; box-shadow: 0 0 0 1px #2B3038, 0 40px 70px -40px rgb(var(--ink-rgb) / .55); }
.device .scr { position: relative; width: 100%; height: 100%; border-radius: 13.4% / 6.2%; overflow: hidden; background: var(--canvas); }
.device .scr img, .device .scr video { width: 100%; height: 100%; object-fit: cover; display: block; }

.meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: clamp(56px, 7vw, 84px) 0 0; }
.meta .lead { font-size: 14px; color: var(--muted); line-height: 1.35; }
.meta .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.meta .chips .pill { background: transparent; border-color: var(--line); }
.meta .chips .pill b { font-weight: 500; color: var(--ink); }
.meta .chips .pill span { color: var(--muted); }

@media (max-width: 860px) {
  .hero-top { grid-template-columns: 1fr; }
  .hero-media .frame { aspect-ratio: 4 / 5; }
  .hero-media video { object-position: 38% 50%; }
  .hero-media .tagrow div:last-child, .gc-tip, #rd1 { display: none !important; }
  .gc-live { left: 14px; top: 64px; width: 168px; padding: 12px 14px; }
  .gc-live .big { font-size: 34px; margin-top: 6px; }
  .hero-phone { right: 14px; bottom: -5%; width: 112px; }
  .reading .lbl { font-size: 11px; padding: 5px 8px; }
}

/* ---- Section heads ---- */
.sec { padding: clamp(80px, 11vw, 150px) 0; }
.sec-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head h2 { font-size: clamp(38px, 5.6vw, 76px); }
.sec-head p { color: var(--muted); max-width: 36ch; justify-self: end; }
.sec-head .pill { margin-bottom: 22px; }
.center-head { text-align: center; max-width: 900px; margin: 0 auto clamp(48px, 6vw, 72px); }
.center-head h2 { font-size: clamp(40px, 6vw, 84px); color: var(--soft); }
.center-head h2 .s { color: var(--hl); }
.center-head p { margin: 22px auto 0; color: var(--muted); max-width: 46ch; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } .sec-head p { justify-self: start; } }

/* ---- Showcase (statement + floating object) ---- */
.showcase { position: relative; display: grid; grid-template-columns: 180px 1fr 180px; gap: 24px; align-items: center; min-height: 520px; }
.side-nav { display: grid; gap: 14px; align-self: start; padding-top: 30px; }
.side-nav span { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.side-nav i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); }
.side-nav .on i { background: var(--card); box-shadow: 0 10px 20px -12px rgb(var(--ink-rgb) / .5); }
.side-nav .on em { font-style: normal; background: var(--action); color: #fff; padding: 7px 14px; border-radius: var(--r-pill); }
.object { position: relative; overflow: hidden; }
.object video { width: 100%; mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(ellipse 52% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 52% 50% at 50% 50%, #000 62%, transparent 100%); transform: scale(1.25); }
.object::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -6%; height: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--ink-rgb) / .22), transparent); filter: blur(10px); z-index: -1; }
.corner { font-size: 13px; line-height: 1.35; }
.corner small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.corner b { font: 400 17px/1.3 var(--f-display); letter-spacing: -.01em; }
.c-right { align-self: start; text-align: right; padding-top: 30px; }
.c-left-bottom { position: absolute; left: 0; bottom: 20px; }
.badge-round { position: absolute; right: 0; bottom: 10px; width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; text-align: center; color: var(--tile); }
.badge-round svg.ring { position: absolute; inset: 0; animation: spin 24s linear infinite; }
.badge-round .core { width: 52px; height: 52px; border-radius: 50%; background: var(--tile); color: #fff; display: grid; place-items: center; }
.dotline { border: 0; border-top: 1px dashed rgb(var(--ink-rgb) / .2); margin: 48px 0 24px; }
@media (max-width: 980px) { .showcase { grid-template-columns: 1fr; } .side-nav { grid-auto-flow: column; justify-content: center; padding: 0; } .side-nav { display: none; } .c-right { text-align: left; padding: 0; } .c-left-bottom, .badge-round { position: relative; left: auto; right: auto; bottom: auto; } .badge-round { margin-top: 4px; } }

/* ---- Bento ---- */
.bento { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: repeat(2, minmax(260px, auto)); gap: 14px; }
.tile { position: relative; border-radius: var(--r-md); overflow: hidden; padding: 24px; color: #fff; background: var(--tile); min-height: 260px; isolation: isolate; }
.tile h3 { font-size: clamp(26px, 2.5vw, 36px); letter-spacing: -.03em; line-height: 1.04; }
.tile p { margin-top: 12px; color: rgba(255, 255, 255, .7); font-size: 14px; max-width: 30ch; }
.tile .foot { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .8); }
.tile .mini { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 4px; border-radius: var(--r-pill); background: #fff; color: var(--tile); font: 600 12px/1 var(--f-body); }
.tile .mini img { width: 20px; height: 20px; border-radius: 6px; }
.tile.photo { padding: 0; }
.tile.photo > img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; z-index: -2; transform: translateY(var(--par, 0px)); }
.tile.photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(var(--deep-rgb) / .5), transparent 45%, rgb(var(--deep-rgb) / .35)); }
.tile.photo h3 { padding: 22px 22px 0; }
.tile.feature { grid-row: span 2; background: radial-gradient(120% 90% at 20% 0%, var(--tile-2), var(--tile) 60%); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.tile.feature .device { width: min(220px, 100%); justify-self: center; }
.tile.feature .card { background: #fff; color: var(--ink); border-radius: 18px; padding: 18px; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6); }
.tile.feature .card h4 { margin: 0; font: 500 15px/1.2 var(--f-body); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.tile.feature .card p { color: var(--muted); max-width: none; font-size: 13px; }
.tile.feature .card .btn { height: 36px; padding: 0 14px; font-size: 13px; margin-top: 14px; }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; } .tile.feature { grid-column: span 2; grid-row: auto; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .tile.feature { grid-column: auto; grid-template-columns: 1fr; } }

/* ---- Split (photo + statement) ---- */
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 14px; }
.split .ph { position: relative; border-radius: var(--r-md); overflow: hidden; min-height: 460px; background: var(--tint); }
.split .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split .ph .glass-card { left: 20px; right: auto; bottom: 20px; display: flex; gap: 14px; align-items: center; min-width: 260px; }
.split .ph .glass-card .n { font: 300 34px/1 var(--f-display); letter-spacing: -.04em; }
.split .say { border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.split .say .q { position: absolute; right: 28px; top: 0; font: 500 200px/1 var(--f-display); color: var(--tint-2); }
.split .say blockquote { margin: 0; font: 300 clamp(26px, 3vw, 40px)/1.15 var(--f-display); letter-spacing: -.025em; position: relative; }
.split .say .by { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.split .say .by img { width: 44px; height: 44px; border-radius: 12px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .ph { min-height: 380px; } }

/* ---- Scan See Fix ---- */
.ssf { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 640px; }
.ssf .stage { position: relative; height: 620px; display: grid; place-items: center; }
.ssf .arc { position: absolute; width: 480px; height: 480px; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(var(--rot, 0deg)); }
.ssf .arc circle { fill: none; stroke: var(--tile); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 2s var(--ease); }
.ssf.in .arc circle { stroke-dashoffset: 520; }
.ssf .device { width: 260px; position: relative; z-index: 2; }
.ssf .chip-on-arc { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .92); border: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgb(var(--ink-rgb) / .5); font: 500 14px/1 var(--f-body); }
.ssf .chip-on-arc i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 12px; font-weight: 700; }
.ssf .c1 { left: 0; top: 16%; } .ssf .c2 { right: 0; bottom: 18%; }
.ssf .words { font: 300 clamp(72px, 10vw, 150px)/.92 var(--f-display); letter-spacing: -.05em; }
.ssf .words span { display: block; color: rgb(var(--ink-rgb) / .14); transition: color .6s var(--ease), font-weight .6s; }
.ssf .words span.on { color: var(--tile); font-weight: 500; }
.ssf .prog { display: flex; gap: 6px; margin-top: 18px; }
.ssf .prog i { height: 3px; flex: 1; max-width: 70px; border-radius: 3px; background: rgb(var(--ink-rgb) / .12); overflow: hidden; }
.ssf .prog i b { display: block; height: 100%; width: 0; background: var(--action); }
.ssf .cap { margin-top: 24px; color: var(--muted); max-width: 34ch; min-height: 3.2em; }
@media (max-width: 860px) { .ssf { grid-template-columns: 1fr; } .ssf .stage { height: 520px; } .ssf .arc { width: min(340px, 86vw); height: min(340px, 86vw); } .ssf .device { width: 200px; } }

/* ---- Orbit process ---- */
.orbit { position: relative; height: 640px; }
.orbit svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit svg.lines path { fill: none; stroke: rgb(var(--ink-rgb) / .22); stroke-width: 1; stroke-dasharray: 2600; stroke-dashoffset: 2600; transition: stroke-dashoffset 2.6s var(--ease); }
.orbit.in svg.lines path { stroke-dashoffset: 0; }
.orbit svg.lines rect { fill: var(--muted); opacity: 0; transition: opacity .6s .9s; }
.orbit.in svg.lines rect { opacity: 1; }
.node { position: absolute; max-width: 250px; padding: 10px 12px; border-radius: 18px; background: color-mix(in srgb, var(--paper) 90%, transparent); opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.orbit.in .node { opacity: 1; transform: none; }
.node .pill { height: 28px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.node h3 { font-size: 26px; letter-spacing: -.02em; }
.node p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.n1 { left: 22%; top: 16%; transition-delay: .3s; } .n2 { left: 6%; top: 66%; transition-delay: .6s; }
.n3 { left: 58%; top: 34%; transition-delay: .9s; } .n4 { left: 70%; top: 76%; transition-delay: 1.2s; }
@media (max-width: 860px) { .orbit { height: auto; display: grid; gap: 36px; } .orbit svg.lines { display: none; } .node { position: static; max-width: none; } }

/* ---- Demo ---- */
.demo-card { display: grid; grid-template-columns: 1.45fr .55fr; border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgb(var(--ink-rgb) / .45); }
.demo-canvas { position: relative; background: var(--canvas); }
.demo-canvas canvas { width: 100%; height: auto; cursor: grab; }
.demo-canvas canvas.dragging { cursor: grabbing; }
.demo-canvas .pill { position: absolute; right: 16px; bottom: 16px; pointer-events: none; }
.demo-side { padding: 32px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.demo-side .eyebrow { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.meter { font: 300 72px/1 var(--f-display); letter-spacing: -.05em; }
.meter small { font-size: 22px; color: var(--muted); }
.mbar { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.mbar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--bad), var(--ok), var(--good)); transition: width .3s var(--ease); }
.rooms { display: grid; gap: 10px; font-size: 14px; }
.rooms div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.rooms b { font-family: var(--f-display); font-weight: 500; }
.demo-note { font-size: 12px; color: var(--muted); }
@media (max-width: 860px) { .demo-card { grid-template-columns: 1fr; } }

/* ---- Photo band ---- */
.band { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 560px; isolation: isolate; }
.band > img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; object-position: 50% 18%; z-index: -1; transform: translateY(var(--par, 0px)); }
.band .navy-card { position: absolute; left: 14%; top: 22%; width: min(300px, 70%); aspect-ratio: 1 / 1.05; border-radius: 34px; background: var(--tile); color: #fff; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .5); }
.band .navy-card .lg { font: 400 18px/1 var(--f-display); opacity: .9; }
.band .navy-card h3 { font-size: 40px; line-height: .98; }
.band .glass-card { right: 8%; bottom: 14%; width: min(280px, 70%); padding: 22px; border-radius: 26px; }
.band .glass-card .ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, var(--accent-2), var(--accent)); color: #fff; box-shadow: 0 12px 24px -10px var(--accent); margin-bottom: 26px; }
.band .glass-card h4 { margin: 0; font: 300 26px/1.05 var(--f-display); letter-spacing: -.02em; }
.band .glass-card p { margin-top: 8px; font-size: 12px; color: var(--muted); }
@media (max-width: 860px) { .band { min-height: 620px; } .band .navy-card { left: 6%; top: 6%; } .band .glass-card { right: 6%; bottom: 6%; } }

/* ---- App card band ---- */
.appband { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; }
.appband .ph { position: relative; background: var(--tint-2); }
.appband .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.appband .side { position: relative; background: linear-gradient(160deg, var(--tint-2), var(--tint-3) 70%, var(--tile-2)); display: grid; place-items: center; padding: 40px 24px; overflow: hidden; }
.appband .side::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 80px solid rgba(255, 255, 255, .18); right: -220px; top: -260px; }
.appcard { position: relative; display: flex; align-items: center; gap: 18px; width: min(460px, 100%); padding: 20px; border-radius: 26px; background: #fff; box-shadow: 0 40px 60px -30px rgb(var(--ink-rgb) / .55); }
.appcard img.icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 8px 20px -10px rgb(var(--ink-rgb) / .5); }
.appcard h3 { font: 400 26px/1 var(--f-display); letter-spacing: -.02em; }
.appcard p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.appcard .dl { margin-left: auto; width: 46px; height: 46px; flex: none; border-radius: 50%; border: 2px solid var(--tile); display: grid; place-items: center; color: var(--tile); transition: transform .35s var(--spring), background .2s, color .2s; }
.appcard:hover .dl { background: var(--action); color: #fff; transform: translateY(2px); }
@media (max-width: 860px) { .appband { grid-template-columns: 1fr; } .appband .ph { min-height: 320px; } }

/* ---- FAQ ---- */
.faq { max-width: 920px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 26px 4px; font: 300 clamp(20px, 2.2vw, 26px)/1.25 var(--f-display); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; transition: transform .4s var(--spring), background .2s; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--action); color: #fff; border-color: var(--tile); }
.faq details p { padding: 0 4px 28px; color: var(--muted); max-width: 62ch; }

/* ---- Guides ---- */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guide { border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--spring), box-shadow .3s; }
.guide:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgb(var(--ink-rgb) / .45); }
.guide .im { aspect-ratio: 16 / 10; overflow: hidden; }
.guide .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.guide:hover .im img { transform: scale(1.05); }
.guide .tx { padding: 20px 22px 24px; }
.guide .pill { height: 26px; font-size: 11px; margin-bottom: 14px; }
.guide h3 { font-size: 23px; letter-spacing: -.02em; line-height: 1.12; }
.guide p { margin-top: 8px; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .guides { grid-template-columns: 1fr; } }

/* ---- Final + footer ---- */
.final { text-align: center; }
.final h2 { font-size: clamp(48px, 8vw, 120px); color: var(--soft); }
.final h2 .s { color: var(--hl); }
.final .row { display: flex; justify-content: center; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.footer { padding: 56px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer .made { color: var(--ink); }
.footer .made .wm { font: 300 30px/1 var(--f-display); letter-spacing: -.03em; margin-bottom: 10px; }
.footer a { display: block; padding: 4px 0; }
.footer a:hover { color: var(--ink); }
.footer .langs { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.footer .langs a { display: inline; }
.footer .bottom { margin-top: 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; }
@media (max-width: 860px) { .footer .top { grid-template-columns: 1fr; } }

/* ---- Motion ---- */
[data-r] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
[data-r].in { opacity: 1; transform: none; }
@keyframes lineUp { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes mediaIn { to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes ripple { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
/* still mode (?still=1): final state, for screenshots and QA */
.still [data-r], .still .node { opacity: 1 !important; transform: none !important; }
.still .orbit svg.lines path { stroke-dashoffset: 0 !important; }
.still .orbit svg.lines rect { opacity: 1 !important; }
.still .ssf .arc circle { stroke-dashoffset: 520 !important; }
.still .reading { opacity: 1; } .still .reading .lbl { opacity: 1; transform: translateX(-50%); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero h1 .ln > span { transform: none; } .hero-side, .hero-media { opacity: 1; transform: none; }
  [data-r] { opacity: 1; transform: none; }
}

/* No italics anywhere (owner preference). */
i, em, cite, var, address, dfn { font-style: normal; }

/* ---- Phone and tablet fine-tuning ---- */
@media (max-width: 860px) {
  .ssf .chip-on-arc { display: none; }
  .band .navy-card { width: 60%; aspect-ratio: auto; min-height: 210px; padding: 20px; border-radius: 26px; }
  .band .navy-card h3 { font-size: 30px; }
  .band .glass-card { width: 70%; padding: 18px; }
  .band .glass-card .ico { width: 44px; height: 44px; margin-bottom: 16px; }
}
@media (max-width: 620px) {
  .sec { padding: 72px 0; }
  .meta { padding-top: 64px; }
  .appband .side { padding: 28px 16px; }
  .appcard { padding: 14px; gap: 12px; border-radius: 22px; }
  .appcard img.icon { width: 60px; height: 60px; border-radius: 15px; }
  .appcard h3 { font-size: 20px; }
  .appcard p { font-size: 12.5px; }
  .appcard .dl { width: 40px; height: 40px; }
  .app { scroll-snap-align: start; }
  .tile { min-height: 230px; }
  .tile.feature .device { width: 190px; }
  .split .ph .glass-card { left: 12px; right: 12px; min-width: 0; }
  .demo-side { padding: 22px; }
  .meter { font-size: 60px; }
  .footer .bottom { flex-direction: column; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 40px; }
  .store-badge img { height: 44px; }
}

/* ---- Hero v3: copy left, app story right ---- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-bottom: clamp(40px, 6vw, 80px); }
.hero-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: clamp(22px, 3vw, 34px); opacity: 0; animation: fadeUp 1s var(--ease) .1s forwards; }
.hero-grid h1 { font-size: clamp(42px, 5.3vw, 82px); }
.hero-grid .hero-side { margin-top: clamp(22px, 3vw, 32px); padding: 0; }
.hero-device { position: relative; display: grid; justify-items: center; gap: 22px; }
.hero-device::before { content: ""; position: absolute; z-index: -1; width: 118%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -54%); border-radius: 50%; background: radial-gradient(closest-side, var(--tint-2), rgb(var(--tint-rgb) / 0) 72%); }
.hero-device .device { width: clamp(240px, 23vw, 320px); }
.story-steps { order: 2; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: min(440px, 100%); }
.story-steps li { font: 500 12.5px/1.3 var(--f-body); color: var(--muted); padding-top: 10px; position: relative; transition: color .3s; }
.story-steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: rgb(var(--ink-rgb) / .12); }
.story-steps li::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; border-radius: 3px; background: var(--action); width: var(--p, 0%); }
.story-steps li b { display: block; font: 500 11px/1 var(--f-body); letter-spacing: .06em; color: rgb(var(--ink-rgb) / .4); margin-bottom: 4px; }
.story-steps li.on { color: var(--ink); }
.story-steps li.on b { color: var(--accent); }
.side-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .86); border: 1px solid var(--line); box-shadow: 0 18px 34px -22px rgb(var(--ink-rgb) / .5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: float 7s ease-in-out infinite; }
.side-chip .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.side-chip b { display: block; font: 400 24px/1 var(--f-display); letter-spacing: -.03em; }
.side-chip small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; }
.sc1 { right: calc(50% + clamp(132px, 12.2vw, 172px)); top: 16%; } .sc2 { left: calc(50% + clamp(132px, 12.2vw, 172px)); top: 50%; animation-delay: -3s; }
.walk { padding-bottom: clamp(24px, 4vw, 40px); }
.walk-head { margin-bottom: clamp(24px, 3vw, 36px); }
.walk-head .pill { margin-bottom: 18px; }
.walk-head h2 { font-size: clamp(34px, 4.6vw, 64px); color: var(--soft); }
@media (max-width: 1180px) { .side-chip { display: none; } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-device .device { width: min(250px, 66vw); }
  .hero-device::before { width: 130%; }
}

/* Decorative glows must never widen the page. */
.hero, .walk, .sec { overflow-x: clip; }

/* ---- web-kit additions ---- */
.btn-label-short { display: none; }
@media (max-width: 520px) { .nav .btn-label-long { display: none; } .nav .btn-label-short { display: inline; } }
.device .scr .shot { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.device .scr .shot.on { opacity: 1; }
.lang-menu a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; font: 500 14px/1.2 var(--f-body); color: var(--ink); }
.lang-menu a:hover, .lang-menu a[aria-current="true"] { background: var(--tint); }
.lang-menu a small { color: var(--muted); }
.footer .fh { color: var(--ink); font-weight: 500; margin-bottom: 8px; }
.footer .legal-note { font-size: 12px; margin-top: 6px; }
.doc-page { padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 110px); }
.doc-head { display: grid; gap: 18px; justify-items: start; max-width: 760px; margin-bottom: 40px; }
.doc-head h1 { font-size: clamp(40px, 6vw, 76px); color: var(--soft); }
.doc-head p { font-size: 17px; color: var(--muted); max-width: 56ch; }
.doc-h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 56px 0 20px; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 900px; }
.support-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); transition: transform .35s var(--spring); }
.support-card:hover { transform: translateY(-3px); }
.support-card .ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tile); color: #fff; }
.support-card b { display: block; font: 500 17px/1.3 var(--f-body); }
.support-card span, .support-card small { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }
@media (max-width: 720px) { .support-grid { grid-template-columns: 1fr; } }
.doc { max-width: 760px; font-size: 16px; line-height: 1.7; color: var(--ink); }
.doc h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 12px; }
.doc h2 { font-family: var(--f-display); font-weight: 500; font-size: 24px; letter-spacing: -.02em; line-height: 1.2; margin: 40px 0 10px; }
.doc h3 { font-family: var(--f-display); font-weight: 500; font-size: 19px; letter-spacing: -.01em; margin: 28px 0 8px; }
.doc p, .doc ul, .doc ol, .doc table { margin: 0 0 14px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 14px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc .updated, .doc .muted { color: var(--muted); }
[dir="rtl"] .doc ul, [dir="rtl"] .doc ol { padding-left: 0; padding-right: 22px; }

/* Drag demos only: canvases capture touch, everything else lets the page scroll. */
.demo-canvas canvas { touch-action: none; }
/* Still image in the features showcase (when an app has no showcase video). */
.object img { width: 100%; height: auto; max-height: 620px; object-fit: contain; }
/* Right-to-left: the rotating ring text stays a left-to-right path; mirror the corner notes. */
.badge-round svg.ring { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .badge-round svg.ring text { letter-spacing: 0; }
[dir="rtl"] .c-right { text-align: left; }
[dir="rtl"] .c-left-bottom { left: auto; right: 0; }
[dir="rtl"] .badge-round { right: auto; left: 0; }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }
/* Scripts with tall stacked marks (Thai, Devanagari and other Indic scripts) need room above the line. */
.hero h1 .ln { padding-top: .14em; margin-top: -.14em; }
:is(:lang(th), :lang(hi), :lang(bn), :lang(gu), :lang(kn), :lang(ml), :lang(mr), :lang(or), :lang(pa), :lang(ta), :lang(te), :lang(ur), :lang(ar), :lang(he)) :is(h1, h2, h3) { line-height: 1.22; }
/* Joined and complex scripts break apart with letter-spacing on the rotating ring. */
:is(:lang(th), :lang(hi), :lang(bn), :lang(gu), :lang(kn), :lang(ml), :lang(mr), :lang(or), :lang(pa), :lang(ta), :lang(te), :lang(ur), :lang(ar), :lang(he)) .badge-round svg.ring text { letter-spacing: 0; }
