/* Lucid website. One stylesheet, no framework.
   Look: a night at the desk with the lamp coming on (dark hero falling into warm light), then warm paper.
   Motion follows docs/DESIGN-RULES.md: slow in and out (never linear except progress bars), UI feedback under 300 ms,
   one thing moving at a time, anticipation on press, follow-through on the tab pill, arcs when a row overtakes.
   Under prefers-reduced-motion, or without JavaScript, every part shows its final frame. */

:root {
  --bg: #f7f5f0;
  --paper: #ffffff;
  --ink: #17161b;
  --ink-2: #45424b;
  --muted: #6b6873;
  --line: rgb(23 22 27 / .08);
  --butter: #f5cf4e;
  --amber: #e39a2d;
  --amber-ink: #9a5200;            /* accent text on paper: 5.6:1 */
  --night: #120e0b;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --out: cubic-bezier(.16, 1, .3, 1);          /* slow out */
  --inout: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.45, .64, 1);   /* a little overshoot, then settle */
  --shadow-card: 0 0 0 1px rgb(23 22 27 / .06), 0 30px 60px -40px rgb(80 40 0 / .28), 0 8px 20px -14px rgb(80 40 0 / .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--butter); color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber-ink); outline-offset: 3px; border-radius: 8px; }
.hero :focus-visible, .frame__screen :focus-visible, .foot :focus-visible, .feat__panel--night :focus-visible { outline-color: #f5c46a; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ── logo and buttons ── */
.logo { font: 400 28px/1 var(--serif); letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.logo span { color: var(--butter); }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 18px; border-radius: 12px;
  font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .18s var(--out), background-color .2s, box-shadow .2s, color .2s; }
.btn::after { content: ""; position: absolute; inset: -6px; }          /* Fitts: the hit area is bigger than the button */
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.97); transition-duration: .08s; }       /* squash on press */
.btn--lg { height: 52px; padding: 0 22px; font-size: 16px; border-radius: 12px; }
.btn--light { background: #fff; color: var(--ink); box-shadow: 0 12px 30px -12px rgb(0 0 0 / .55); }
.btn--light:hover { box-shadow: 0 16px 34px -12px rgb(0 0 0 / .6); }
.btn--glass { background: rgb(255 255 255 / .08); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgb(255 255 255 / .14); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 12px 26px -14px rgb(23 22 27 / .7); }
.btn--dark:hover { background: #2a2830; }
.btn .arr { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--out); }
.btn:hover .arr { transform: translateX(3px); }
.link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgb(23 22 27 / .28); transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: currentColor; }

/* ── navigation: a floating bar, dark over the hero, light over the paper ── */
.nav { position: fixed; z-index: 50; top: 14px; left: 50%; translate: -50% 0; width: min(780px, calc(100% - 32px)); }
.nav__bar { display: flex; align-items: center; gap: 8px; height: 54px; padding: 0 8px 0 18px; border-radius: 16px; color: #fff;
  background: rgb(26 20 15 / .62); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .09); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  transition: background-color .3s, color .3s, box-shadow .3s; }
.nav__links { display: flex; gap: 2px; margin: 0 auto; }
.nav__links a { padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; text-decoration: none; opacity: .86; transition: background-color .15s, opacity .15s; }
.nav__links a:hover { opacity: 1; background: rgb(255 255 255 / .08); }
.btn--nav { height: 38px; padding: 0 14px; font-size: 14.5px; border-radius: 12px; background: #fff; color: var(--ink); margin-left: auto; }
.nav__links + .btn--nav, .nav__lang + .btn--nav { margin-left: 0; }
.nav__lang { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 10px; font-size: 13.5px; font-weight: 700; letter-spacing: .02em; text-decoration: none; opacity: .8; transition: background-color .15s, opacity .15s; }
.nav__lang:hover { opacity: 1; background: rgb(255 255 255 / .08); }
.nav.is-light .nav__lang:hover { background: rgb(23 22 27 / .05); }
.nav__toggle { display: none; width: 40px; height: 40px; border-radius: 10px; place-items: center; }
.nav.is-light .nav__bar { background: rgb(255 255 255 / .8); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px -18px rgb(60 30 0 / .35); }
.nav.is-light .nav__links a:hover { background: rgb(23 22 27 / .05); }
.nav.is-light .btn--nav { background: var(--ink); color: #fff; }
.nav__menu { margin-top: 8px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); display: grid; }
.nav__menu a { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--ink); }
.nav__menu a:hover { background: #f5f2ec; }
.nav__menu[hidden] { display: none; }
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; }
  .nav__lang { margin-left: auto; }
  .btn--nav, .nav__links + .btn--nav { margin-left: 0; }
  .nav__links + .nav__lang + .btn--nav { margin-left: 0; }
}

/* ── eyebrows and section heads ── */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1.2 var(--font); color: var(--amber-ink); }
.eyebrow__ico { width: 18px; height: 18px; border-radius: 5px; background: var(--amber-ink); box-shadow: inset 0 0 0 5px var(--amber-ink), inset 0 0 0 9px #ffd99a; }
.eyebrow--warm { color: var(--amber-ink); }
.sec-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { font: 700 clamp(34px, 5vw, 60px)/1.04 var(--font); letter-spacing: -0.045em; margin: 14px 0 16px; }
.sec-sub { font-size: 18px; color: var(--muted); max-width: 580px; margin: 0 auto; }

/* ── hero ── */
.hero { position: relative; padding: 148px 16px 0; color: #fff; isolation: isolate;
  background: linear-gradient(180deg, var(--night) 0%, #1e150d 20%, #4d2c0d 38%, #a85f13 52%, #e09a35 63%, #f4c777 74%, #f8e4bd 86%, var(--bg) 100%); }
.hero__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(46% 26% at 50% 58%, rgb(255 200 110 / .55), rgb(255 190 90 / 0) 70%), radial-gradient(30% 14% at 50% 0%, rgb(255 255 255 / .06), transparent 70%); }
.hero__inner { max-width: 940px; margin: 0 auto; text-align: center; }
.ann { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px 6px 7px; border-radius: 99px; font-size: 14px; color: rgb(255 255 255 / .86); text-decoration: none;
  background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); transition: background-color .2s; }
.ann:hover { background: rgb(255 255 255 / .11); }
.ann b { color: #fff; font-weight: 700; }
.ann__dot { width: 20px; height: 20px; border-radius: 50%; background: #2a211a; display: grid; place-items: center; }
.ann__dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e5484d; animation: rec 1.6s var(--inout) infinite; }
.ann svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--out); }
.ann:hover svg { transform: translateX(3px); }
@keyframes rec { 50% { opacity: .3; } }
.hero h1 { font: 700 clamp(44px, 7.2vw, 92px)/1.0 var(--font); letter-spacing: -0.048em; margin: 28px auto 24px; max-width: 16ch; }
.hero h1 em { font: italic 400 1.08em/0.9 var(--serif); letter-spacing: -0.01em; color: #f9d688; padding-right: .04em; }
.hero h1 .w { display: inline-block; }
.hero__lead { font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.55; color: rgb(255 255 255 / .78); max-width: 640px; margin: 0 auto; }
.hero__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero__note { margin-top: 16px; font-size: 14px; color: rgb(255 255 255 / .8); }

/* the showcase under the hero: tabs and a framed stage */
.show { position: relative; z-index: 2; max-width: 1120px; margin: 64px auto -300px; display: flex; flex-direction: column; align-items: center; }
.tabs { position: relative; display: inline-flex; padding: 4px; border-radius: 14px; margin-bottom: 22px;
  background: rgb(255 248 236 / .72); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .5), 0 8px 24px -14px rgb(60 30 0 / .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tabs button { position: relative; z-index: 1; height: 38px; padding: 0 14px; border-radius: 10px; font-size: 15px; font-weight: 600; color: #4a3a2a; transition: color .2s; white-space: nowrap; }
.tabs button:hover { color: #1c1208; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs__pill { position: absolute; z-index: 0; top: 4px; left: 0; height: 38px; width: 0; border-radius: 10px; background: #fff; box-shadow: 0 2px 10px -3px rgb(60 30 0 / .35);
  transition: transform .34s var(--spring), width .34s var(--spring); }
.tabs--light { background: #f2efe9; box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.tabs--light button { color: var(--muted); }
.frame { width: 100%; padding: 10px; border-radius: 30px; background: linear-gradient(#fffdf9, #f4efe7);
  box-shadow: 0 0 0 1px rgb(23 22 27 / .06), 0 50px 90px -40px rgb(70 30 0 / .55), 0 14px 30px -14px rgb(70 30 0 / .28); }
.frame__screen { position: relative; height: 640px; border-radius: 22px; overflow: hidden; color: #fff;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; padding: 0 72px;
  background: radial-gradient(60% 75% at 72% 108%, #7a4511 0%, #2e1c0e 46%, #151110 78%); }
.frame__screen::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(34% 38% at 73% 52%, rgb(255 196 110 / .16), transparent 70%); }
.show__copy { position: relative; z-index: 1; display: grid; }
.show__text { grid-area: 1 / 1; }
.show__text .eyebrow { color: #f5c46a; }
.show__h { font: 700 clamp(28px, 3vw, 38px)/1.08 var(--font); letter-spacing: -0.038em; margin: 12px 0 16px; max-width: 14ch; }
.show__text p:last-child { font-size: 17px; color: rgb(255 255 255 / .72); max-width: 36ch; }
.show__text.is-enter { animation: panel-in .32s var(--out) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }

/* ── the phone (true 19.5 : 9, thin bezel) ── */
.phone { --ph: 540px; position: relative; height: var(--ph); aspect-ratio: 9 / 19.5; flex: none; border-radius: 13% / 6%; background: #17161b; padding: 1.8%;
  box-shadow: inset 0 0 0 1.5px #3a3940, 0 2px 0 1px #0d0d10, 0 40px 70px -30px rgb(0 0 0 / .65), 0 12px 24px -12px rgb(0 0 0 / .4); }
.phone--show { justify-self: center; z-index: 1; }
.phone__btn { position: absolute; width: 3px; background: #0d0d10; border-radius: 2px; }
.phone__btn--1 { left: -3px; top: 18%; height: 4%; } .phone__btn--2 { left: -3px; top: 25%; height: 8%; } .phone__btn--3 { right: -3px; top: 22%; height: 11%; }
.phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 11.6% / 5.35%; background: #f7f7f5; color: var(--ink); font: 400 11.5px/1.35 var(--font); transition: background-color .3s; }
.phone__screen.is-dark { background: #0e0d10; }
.status { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; font-size: 12px; transition: color .3s; }
.status b { font-weight: 700; }
.is-dark .status { color: #fff; }
.island { position: absolute; left: 50%; top: 10px; translate: -50% 0; width: 32%; height: 24px; border-radius: 99px; background: #0b0b0d; }
.status__icons { display: flex; gap: 3px; align-items: flex-end; }
.status__icons i { width: 4px; background: currentColor; border-radius: 1px; }
.status__icons i:nth-child(1) { height: 5px; } .status__icons i:nth-child(2) { height: 8px; } .status__icons i:nth-child(3) { width: 18px; height: 9px; border-radius: 3px; }
.scr { position: absolute; top: 42px; left: 0; right: 0; bottom: 0; opacity: 0; transform: translateX(26px); visibility: hidden;
  transition: opacity .28s var(--out), transform .34s var(--out), visibility 0s .34s; }
.scr.is-on { opacity: 1; transform: none; visibility: visible; transition: opacity .28s var(--out), transform .34s var(--out), visibility 0s; }
.scr.is-left { transform: translateX(-26px); }
.app-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px 10px; }
.app-logo { font: 400 22px/1 var(--serif); letter-spacing: -0.02em; }
.app-logo i { font-style: normal; color: #d8a91d; }
.app-h { font-weight: 800; font-size: 15px; letter-spacing: -0.02em; }
.app-pill { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px rgb(23 22 27 / .08); }
.feed { padding: 0 10px; }
.post__head { display: flex; align-items: center; gap: 8px; padding: 6px 2px; }
.post__head b { display: block; font-size: 12px; }
.post__head small { display: block; color: var(--muted); font-size: 10.5px; white-space: nowrap; }
.time-pill { margin-left: auto; flex: none; font-weight: 700; font-size: 11px; font-variant-numeric: tabular-nums; background: #ecebe6; padding: 5px 8px; border-radius: 99px; white-space: nowrap; transition: opacity .3s; }
.post { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3.4; background: #d9d4cc; }
.post img { width: 100%; height: 100%; object-fit: cover; }
.post--2 { aspect-ratio: 4 / 3; }
.post__body { padding: 8px 2px 10px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px rgb(23 22 27 / .08); }
.tag i { width: 7px; height: 7px; border-radius: 50%; }
.tag--lock { background: rgb(245 207 78 / .42); color: #5c4500; box-shadow: none; }
.reacts { display: flex; gap: 6px; margin-top: 8px; }
.reacts span { font-size: 11px; padding: 3px 8px; border-radius: 99px; background: #ecebe6; }
.av { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 11px/1 var(--font); background: var(--butter); color: var(--ink); }
.av--b { background: #f6dfc9; } .av--c { background: #dcefe4; } .av--d { background: #ece3f0; }
.up { font-size: 10.5px; font-weight: 700; color: #1c6b45; background: #dcefe4; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.tabbar { position: absolute; z-index: 2; left: 50%; bottom: 12px; translate: -50% 0; width: 64%; height: 42px; border-radius: 99px; display: flex; align-items: center; justify-content: space-around;
  background: rgb(255 255 255 / .94); box-shadow: 0 0 0 1px rgb(23 22 27 / .08), 0 10px 24px -10px rgb(23 22 27 / .35); color: #8a8792; transition: opacity .25s, transform .3s var(--out); }
.tabbar > span { display: grid; place-items: center; }
.tabbar .is-on { color: var(--ink); }
.tabbar__rec { width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 0 0 2px var(--ink); }
.tabbar__rec i { width: 18px; height: 18px; border-radius: 50%; background: var(--butter); }
.is-dark .tabbar { opacity: 0; transform: translateY(10px); }

/* board screen */
.board { padding: 0 12px; }
.board__me { display: grid; grid-template-columns: 1fr auto; align-items: end; padding: 12px 14px; margin-bottom: 10px; border-radius: 16px; background: var(--ink); color: #fff; }
.board__me small { grid-column: 1 / -1; opacity: .7; font-size: 10.5px; }
.board__me b { font-size: 32px; font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; }
.board__me .up { margin-bottom: 6px; }
.board__row { position: relative; display: grid; grid-template-columns: 12px 26px 1fr auto; align-items: center; gap: 8px; padding: 8px 10px; margin-bottom: 6px; border-radius: 12px; font-size: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgb(23 22 27 / .07); }
.board__row > span:first-child { color: var(--muted); font-weight: 700; }
.board__row em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.board__row i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w); background: var(--butter); border-radius: 3px; transform-origin: left; }
.board__row.is-me { box-shadow: inset 0 0 0 1.5px var(--ink); }
.scr.is-on .board__row i { animation: grow .7s var(--out) both; }
.scr.is-on .board__row:nth-child(3) i { animation-delay: .06s; } .scr.is-on .board__row:nth-child(4) i { animation-delay: .12s; }
.scr.is-on .board__row:nth-child(5) i { animation-delay: .18s; } .scr.is-on .board__row:nth-child(6) i { animation-delay: .24s; }
@keyframes grow { from { transform: scaleX(0); } }
.board__rule { text-align: center; color: var(--muted); font-size: 10.5px; margin-top: 8px; }

/* season screen */
.season { padding: 0 12px; }
.season__badge { display: grid; justify-items: center; gap: 3px; padding: 18px 14px 14px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgb(23 22 27 / .07); text-align: center; }
.season__badge .tier { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 8px; }
.season__badge b { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.season__badge small { color: var(--muted); font-size: 10.5px; }
.season__bar { width: 100%; height: 6px; border-radius: 6px; background: #ecebe6; overflow: hidden; margin-top: 8px; }
.season__bar i { display: block; height: 100%; width: var(--w); background: var(--butter); border-radius: 6px; transform-origin: left; }
.scr.is-on .season__bar i { animation: grow .9s .15s var(--out) both; }
.scr.is-on .season__badge .tier { animation: gem .6s var(--spring) both; }
@keyframes gem { from { transform: rotate(45deg) scale(.4); opacity: 0; } to { transform: rotate(45deg); } }
.tier { display: inline-block; flex: none; transform: rotate(45deg); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .5), 0 4px 10px -4px rgb(0 0 0 / .3); }
.tier--bronze { background: linear-gradient(135deg, #f2c3a0, #a5612f); }
.tier--silver { background: linear-gradient(135deg, #f1f2f4, #a3a9b2); }
.tier--gold { background: linear-gradient(135deg, #ffe48e, #cf951a); }
.tier--plat { background: linear-gradient(135deg, #dcf5f0, #5fae9f); }
.tier--dia { background: linear-gradient(135deg, #e3f5ff, #4c9fd8); }
.ladder { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.ladder li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgb(23 22 27 / .07); font-weight: 700; font-size: 12px; }
.ladder .tier { width: 14px; height: 14px; border-radius: 4px; margin: 0 2px; }
.ladder em { margin-left: auto; font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 500; }
.ladder .is-me { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* share screen */
.share { position: relative; margin: 6px 12px 0; border-radius: 18px; overflow: hidden; aspect-ratio: 9 / 14; background: #222; }
.share img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.82) saturate(1.05); }
.share__over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; color: #fff;
  background: linear-gradient(180deg, rgb(0 0 0 / .38), rgb(0 0 0 / 0) 28%, rgb(0 0 0 / 0) 52%, rgb(0 0 0 / .6)); }
.share__brand { font: 400 22px/1 var(--serif); letter-spacing: -0.02em; }
.share__brand i { font-style: normal; color: var(--butter); }
.share__mid { text-align: center; }
.share__mid b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -0.05em; line-height: 1.05; margin: 2px 0; }
.share__mid small { opacity: .88; font-size: 11px; font-weight: 600; }
.share__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.share__chips span { font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 99px; background: rgb(255 255 255 / .2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.share__chips .lock { background: var(--butter); color: var(--ink); }
.scr.is-on .share__mid b { animation: pop-in .5s .1s var(--spring) both; }
@keyframes pop-in { from { transform: scale(.82); opacity: 0; } }
.share__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 12px; }
.share__btns span { height: 36px; display: grid; place-items: center; border-radius: 99px; background: rgb(255 255 255 / .1); color: #fff; font-weight: 700; font-size: 12px; }
.share__btns .is-on { background: var(--butter); color: var(--ink); }

/* the result card beside the phone (feed only) */
.note-card { position: absolute; z-index: 2; left: calc(50% + 12px); bottom: 118px; width: 270px; padding: 14px 16px; border-radius: 16px; background: #fff; color: var(--ink); font-size: 13px; line-height: 1.4;
  box-shadow: 0 0 0 1px rgb(23 22 27 / .06), 0 30px 50px -20px rgb(0 0 0 / .55); transition: opacity .3s var(--out), transform .3s var(--out); }
.note-card.is-off { opacity: 0; transform: translateY(12px) scale(.98); pointer-events: none; }
.note-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.note-card__row b { font-size: 13.5px; white-space: nowrap; }
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--butter); color: #2a2100; white-space: nowrap; transition: background-color .3s, color .3s; }
.note-card__line { display: flex; gap: 8px; align-items: flex-start; padding: 7px 0 0; margin-top: 7px; border-top: 1px solid rgb(23 22 27 / .07); overflow: hidden;
  max-height: 60px; transition: max-height .35s var(--out), opacity .3s, margin .35s, padding .35s, border-color .3s; }
.note-card__line > i { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font: 800 10px/1 var(--font); font-style: normal; background: #dcefe4; color: #1c6b45; transition: transform .35s var(--spring); }
.note-card__line > i.up { background: #fde9b5; color: #6b4b00; padding: 0; }
.note-card.is-wait .note-card__line { max-height: 0; opacity: 0; margin-top: 0; padding-top: 0; border-color: transparent; }
.note-card.is-wait .note-card__line > i { transform: scale(.3); }
.note-card.is-wait .note-card__line.is-in { max-height: 60px; opacity: 1; margin-top: 7px; padding-top: 7px; border-color: rgb(23 22 27 / .07); }
.note-card.is-wait .note-card__line.is-in > i { transform: none; }
.note-card.is-rec .chip { background: #ecebe6; color: #45424b; }

/* the time-lapse in the feed: timer 0 -> 1h 52m, scrubber, daylight to the evening lamp */
@property --tl { syntax: "<integer>"; inherits: true; initial-value: 112; }
.tl { --tl: 112; }
.tl > img { filter: brightness(.9) saturate(1.05); }
.tl__lamp { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .55;
  background: radial-gradient(34% 30% at 46% 46%, rgb(255 196 110 / .75), rgb(255 180 90 / 0) 70%); }
.tl__dusk { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; background: radial-gradient(70% 75% at 46% 50%, rgb(0 0 0 / 0) 35%, rgb(34 28 52 / .42)); }
.tl__clock { position: absolute; left: 9px; top: 9px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px 5px 7px; border-radius: 99px; background: rgb(23 22 27 / .72); color: #fff; font: 700 11px/1 var(--font); font-variant-numeric: tabular-nums; }
.tl__rec { width: 7px; height: 7px; border-radius: 50%; background: #e5484d; }
.tl__num::after { content: attr(data-final); }
@supports (width: calc(round(down, 7 / 2) * 1px)) {
  .tl__num { counter-reset: h round(down, var(--tl) / 60) m mod(var(--tl), 60); }
  .tl__num::after { content: counter(h) "h " counter(m, decimal-leading-zero) "m"; }
}
.tl__bar { position: absolute; left: 9px; right: 9px; bottom: 8px; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .45); overflow: hidden; }
.tl__bar i { position: absolute; inset: 0; background: var(--butter); transform-origin: left; }
@keyframes tl-time { from { --tl: 0; } to { --tl: 112; } }
@keyframes tl-bar { from { transform: scaleX(0); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes tl-img { from { filter: brightness(1.02) saturate(.95); } }
.tl.is-wait { --tl: 0; }
.tl.is-wait .tl__bar i { transform: scaleX(0); }
.tl.is-wait .tl__lamp, .tl.is-wait .tl__dusk { opacity: 0; }
.tl.is-run { animation: tl-time 3.2s cubic-bezier(.45, 0, .2, 1) both; }
.tl.is-run .tl__bar i { animation: tl-bar 3.2s linear both; }
.tl.is-run .tl__lamp { animation: fade-in 3.2s ease-in both; }
.tl.is-run .tl__dusk { animation: fade-in 3.2s var(--inout) both; }
.tl.is-run > img { animation: tl-img 3.2s var(--inout) both; }
.tl.is-run .tl__rec { animation: rec 1s steps(1) 3; }
.is-wait-time .time-pill[data-tl-time] { opacity: 0; }

/* ── trust tiles ── */
.facts { padding: 372px 16px 40px; }
.facts .sec-head { margin-bottom: 36px; }
.tiles { list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-radius: 22px; box-shadow: var(--shadow-card); overflow: hidden; }
.tiles li { display: grid; align-content: start; gap: 6px; padding: 26px 24px 28px; border-left: 1px solid var(--line); }
.tiles li:first-child { border-left: 0; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: #fbf2df; box-shadow: inset 0 0 0 1px rgb(154 82 0 / .14); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: var(--amber-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--spring); }
.tiles li:hover .ico svg { transform: translateY(-2px) scale(1.06); }
.tiles b { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.tiles small { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles li:nth-child(3) { border-left: 0; }
  .tiles li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .tiles { grid-template-columns: 1fr; }
  .tiles li { border-left: 0; }
  .tiles li + li { border-top: 1px solid var(--line); }
}

/* ── the drum: a list on a cylinder, turned by the scroll ── */
.drum-scene { position: relative; height: 300vh; }
@media (max-width: 760px) { .drum-scene { height: 250vh; } }
.drum-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.drum-h { position: absolute; top: 96px; left: 0; right: 0; text-align: center; font: 700 clamp(26px, 3vw, 36px)/1.1 var(--font); letter-spacing: -0.035em; color: var(--ink); }
.drum-view { --fs: clamp(34px, 6.4vw, 92px); position: absolute; inset: 0; perspective: 1000px; font-size: var(--fs); }
.drum-view::before { content: ""; position: absolute; left: 4%; right: 4%; top: 50%; height: 2.4em; translate: 0 -50%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgb(245 190 100 / .26), rgb(245 190 100 / 0) 70%); }
.drum-line { position: absolute; left: 56px; right: 56px; height: 1px; background: rgb(23 22 27 / .07); }
.drum-line--t { top: calc(50% - .68em); } .drum-line--b { top: calc(50% + .68em); }
.drum-mark { position: absolute; top: 50%; translate: 0 -50%; width: 0; height: 0; border-block: 7px solid transparent; }
.drum-mark--l { left: 30px; border-left: 9px solid #d4610f; } .drum-mark--r { right: 30px; border-right: 9px solid #d4610f; }
.drum { position: absolute; left: 0; right: 0; top: 50%; height: 0; margin: 0; padding: 0; list-style: none; transform-style: preserve-3d; }
.drum li { position: absolute; left: 0; right: 0; top: 0; translate: 0 -50%; text-align: center; white-space: nowrap; backface-visibility: hidden;
  font: 700 1em/1.05 var(--font); letter-spacing: -0.045em; color: #b5aea4; will-change: transform, opacity; }
.drum li.is-on { color: #c4520b; }
.drum-count { position: absolute; left: 56px; bottom: 64px; font: 500 22px/1.2 var(--font); color: var(--muted); font-variant-numeric: tabular-nums; }
.drum-count b { color: #c4520b; font-weight: 700; }
.drum-cap { position: absolute; right: 56px; bottom: 64px; max-width: 26ch; text-align: right; font: 600 22px/1.25 var(--font); letter-spacing: -0.02em; }
@media (max-width: 760px) {
  .drum-line { left: 16px; right: 16px; } .drum-mark--l { left: 4px; } .drum-mark--r { right: 4px; }
  .drum-count { left: 20px; bottom: 96px; font-size: 16px; }
  .drum-cap { left: 20px; right: 20px; bottom: 48px; text-align: left; font-size: 17px; max-width: none; }
  .drum-h { top: 92px; }
}
/* no scripts or reduced motion: a plain list with each line's caption under it */
html:not(.motion) .drum-scene, html.js:not(.ready) .drum-scene { height: auto; padding: 120px 16px 80px; }
html:not(.motion) .drum-stage, html.js:not(.ready) .drum-stage { position: static; height: auto; overflow: visible; }
html:not(.motion) .drum-h, html.js:not(.ready) .drum-h { position: static; margin-bottom: 32px; }
html:not(.motion) .drum-view, html.js:not(.ready) .drum-view { position: static; perspective: none; font-size: clamp(28px, 4vw, 48px); }
html:not(.motion) .drum, html.js:not(.ready) .drum { position: static; height: auto; display: grid; gap: 28px; }
html:not(.motion) .drum li, html.js:not(.ready) .drum li { position: static; translate: none; transform: none !important; opacity: 1 !important; color: var(--ink); white-space: normal; }
html:not(.motion) .drum li::after, html.js:not(.ready) .drum li::after { content: attr(data-cap); display: block; margin-top: 6px; font: 500 16px/1.4 var(--font); letter-spacing: 0; color: var(--muted); }
html:not(.motion) .drum-view::before, html:not(.motion) .drum-line, html:not(.motion) .drum-mark, html:not(.motion) .drum-count, html:not(.motion) .drum-cap,
html.js:not(.ready) .drum-view::before, html.js:not(.ready) .drum-line, html.js:not(.ready) .drum-mark, html.js:not(.ready) .drum-count, html.js:not(.ready) .drum-cap { display: none; }

/* ── how it works: feature cards, each with a working screen ── */
.how { padding: 140px 16px 40px; }
.feat { max-width: 1080px; margin: 0 auto 28px; display: grid; grid-template-columns: 1fr 1fr; padding: 8px; border-radius: 28px; background: var(--paper); box-shadow: var(--shadow-card); }
.feat__panel { position: relative; min-height: 440px; padding: 56px 40px; border-radius: 22px; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.feat__panel::before { content: ""; position: absolute; inset: 30px; z-index: -1; border: 1px solid rgb(255 255 255 / .55); border-radius: 4px; pointer-events: none; }
.feat__panel--warm { background: linear-gradient(180deg, #fff7ea 0%, #ffe2b8 70%, #ffd29a 100%); }
.feat__panel--night { background: radial-gradient(85% 65% at 50% 112%, #d27417 0%, #6a380e 38%, #22170f 74%, #17110d 100%); }
.feat__panel--night::before { border-color: rgb(255 255 255 / .1); }
.cross { position: absolute; width: 13px; height: 13px; }
.cross::before, .cross::after { content: ""; position: absolute; background: rgb(255 255 255 / .8); }
.feat__panel--night .cross::before, .feat__panel--night .cross::after { background: rgb(255 255 255 / .3); }
.cross::before { left: 6px; top: 0; width: 1px; height: 13px; } .cross::after { top: 6px; left: 0; height: 1px; width: 13px; }
.cross--tl { left: 24px; top: 24px; } .cross--tr { right: 24px; top: 24px; } .cross--bl { left: 24px; bottom: 24px; } .cross--br { right: 24px; bottom: 24px; }
.feat__copy { padding: 52px 56px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.feat__copy h3, .feat__copy h2 { font: 700 clamp(28px, 3.2vw, 40px)/1.06 var(--font); letter-spacing: -0.042em; margin: 12px 0 16px; max-width: 15ch; }
.feat__copy > p:not(.eyebrow) { font-size: 17px; color: var(--muted); max-width: 40ch; }
.code-tag { margin-top: 24px; font: 500 13.5px/1 var(--mono); padding: 8px 11px; border-radius: 8px; background: #f4f0e9; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }

/* the small windows inside the panels */
.win { position: relative; width: 100%; max-width: 400px; background: #fff; color: var(--ink); border-radius: 16px; overflow: hidden; font-size: 14px;
  box-shadow: 0 0 0 1px rgb(23 22 27 / .06), 0 34px 54px -26px rgb(90 40 0 / .5); }
.win__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; font-size: 13.5px; color: var(--muted); border-bottom: 1px solid var(--line); }
.win__mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.win__muted { color: var(--muted); }
.win__chips i { font-style: normal; font-size: 12px; padding: 3px 8px; border-radius: 6px; background: #f4f0e9; color: var(--ink-2); }
.win__search { display: flex; align-items: center; gap: 8px; margin: 14px; height: 46px; padding: 0 14px; border-radius: 10px; background: #f7f3ed; box-shadow: inset 0 -2px 0 var(--amber); font-size: 15px; }
.win__search .win__mono { font-weight: 600; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; animation: rec 1.2s var(--inout) infinite; }
.win__caret { width: 1.5px; height: 18px; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.stills { padding: 0 14px 8px; min-height: 186px; }
.still { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.still img { width: 66px; height: 46px; object-fit: cover; object-position: 46% 70%; border-radius: 8px; }
.still:nth-child(1) img { filter: brightness(1.06) saturate(.9); }
.still:nth-child(2) img { filter: brightness(.9) sepia(.25) saturate(1.1); }
.still:nth-child(3) img { filter: brightness(.62) sepia(.35) saturate(1.3); }
.still b { display: block; font-size: 14px; font-variant-numeric: tabular-nums; }
.still small { color: var(--muted); font-size: 12.5px; }
.win__foot { display: flex; justify-content: space-between; padding: 12px 16px; background: #fbf9f5; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.win__foot .win__mono { color: var(--ink); font-weight: 600; }
.log__row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.log__row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; }
.log__row b { display: block; font-size: 14px; }
.log__row small { color: var(--muted); font-size: 12.5px; }
.flag { font-style: normal; font: 700 11.5px/1 var(--font); padding: 5px 8px; border-radius: 6px; white-space: nowrap; }
.flag--warn { background: #fdebd6; color: #9b4600; }
.flag--ok { background: #dcefe4; color: #1c6b45; }
.ring { display: flex; align-items: center; gap: 14px; padding: 16px; }
.ring svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: #efe9df; stroke-width: 7; }
.ring .ring__v { stroke: var(--amber); stroke-linecap: round; stroke-dasharray: 213.6; stroke-dashoffset: calc((100 - var(--p)) * 2.136px); }
.ring b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.ring small { color: var(--muted); font-size: 13px; }
.rank { position: relative; height: 222px; margin: 10px 0 4px; }
.rank__row { --pos: 0; position: absolute; left: 12px; right: 12px; top: calc(var(--pos) * 52px); height: 46px; display: grid; grid-template-columns: 14px 28px 1fr auto auto; align-items: center; gap: 10px;
  padding: 0 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgb(23 22 27 / .07); overflow: hidden; font-size: 14px; transition: top .7s var(--spring); }
.rank__row .av { width: 28px; height: 28px; font-size: 12px; }
.rank__n { color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.rank__row em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.rank__row > i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w); background: var(--butter); border-radius: 3px; transition: width 1.2s var(--out); }
.rank__row.is-me { z-index: 2; box-shadow: inset 0 0 0 1.5px var(--ink), 0 10px 24px -14px rgb(23 22 27 / .5); }
.rank__row.is-moving { animation: arc .7s var(--inout); }
@keyframes arc { 50% { translate: -12px 0; scale: 1.035; } }
.up--pop { transform: scale(0); transition: transform .35s var(--spring); }
.rank.is-done .up--pop { transform: none; }
.odo { display: inline-flex; overflow: hidden; height: 1.25em; line-height: 1.25em; }
.odo__reel { display: flex; flex-direction: column; transition: transform 1.2s var(--out); }
.odo__reel > span { height: 1.25em; }

/* demo states: hidden until the card is on screen (only with motion) */
html.motion .feat[data-demo] .still, html.motion .feat[data-demo] .log__row { opacity: 0; transform: translateY(10px); }
html.motion .feat[data-demo]:not(.is-play) .ring__v { stroke-dashoffset: 213.6; }
.feat.is-play .still { animation: row-in .45s var(--out) forwards; animation-delay: calc(.5s + var(--k) * .75s); }
.feat.is-play .log__row { animation: row-in .45s var(--out) forwards; animation-delay: calc(.3s + var(--k) * .7s); }
.feat.is-play .log__row::after { animation: scan .5s var(--out) both; animation-delay: calc(.35s + var(--k) * .7s); }
.feat.is-play .ring__v { transition: stroke-dashoffset 1.4s 2.2s var(--out); }
@keyframes row-in { to { opacity: 1; transform: none; } }
@keyframes scan { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* ── one session, step by step ── */
.steps-scene { position: relative; height: 320vh; }
.steps-stage { position: sticky; top: 0; height: 100vh; height: 100svh; max-width: 1240px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 64px; align-items: center; }
.steps-side h2 { font: 700 clamp(32px, 3.8vw, 50px)/1.04 var(--font); letter-spacing: -0.045em; margin: 14px 0 34px; }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps-list li { padding: 3px 0 3px 18px; border-left: 2px solid #e2ddd4; transition: border-color .25s; cursor: default; }
.steps-list b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: #77716a; transition: color .25s; }
.steps-list span { display: block; overflow: hidden; max-height: 0; opacity: 0; color: var(--muted); font-size: 15px; transition: max-height .35s var(--out), opacity .3s, margin .35s var(--out); }
.steps-list li.is-past { border-color: #f0c99a; }
.steps-list li.is-on { border-color: #d4610f; }
.steps-list li.is-on b { color: var(--ink); }
.steps-list li.is-on span { max-height: 72px; min-height: 3.2em; opacity: 1; margin-top: 4px; }
.steps-list li { cursor: pointer; }
.steps-list li:hover b { color: var(--ink-2); }
.steps-progress { position: absolute; z-index: 2; left: 28px; right: 28px; top: 18px; height: 3px; border-radius: 3px; background: rgb(23 22 27 / .07); overflow: hidden; }
.steps-progress i { position: absolute; inset: 0; background: #d4610f; transform: scaleX(var(--sp, 0)); transform-origin: left; }
.steps-view { position: relative; }
.steps-card { position: relative; height: min(580px, 74vh); border-radius: 28px; background: linear-gradient(180deg, #fffdf9, #f6f0e6); box-shadow: var(--shadow-card); display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.steps-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 50% at 50% 55%, rgb(245 190 100 / .38), transparent 70%); }
.phone--step { --ph: min(500px, 64vh); }
.st { position: absolute; inset: 0; opacity: 0; transform: scale(.96); transition: opacity .3s var(--out), transform .4s var(--out); }
.st.is-on { opacity: 1; transform: none; }
.cam { height: 100%; display: grid; justify-items: center; align-content: center; gap: 16px; padding: 24px; color: #fff; background: linear-gradient(160deg, #3d3b33, #1d1c21); }
.cam__ring { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 3px rgb(255 255 255 / .85); }
.cam__ring span { font: 700 24px/1 var(--font); font-variant-numeric: tabular-nums; }
.cam__chips { display: flex; gap: 6px; }
.cam__chips span { white-space: nowrap; font-size: 10.5px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: rgb(255 255 255 / .12); }
.cam__chips .is-on { background: var(--butter); color: var(--ink); }
.cam__hint { font-size: 11px; opacity: .7; margin-top: 18px; }
.cam__shutter { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff; }
.cam__shutter i { width: 50px; height: 50px; border-radius: 50%; background: #e5484d; }
.st.is-on .cam__shutter i { animation: press 1.6s .4s var(--inout) both; }
@keyframes press { 0% { transform: scale(1); } 30% { transform: scale(.86); } 55% { transform: scale(1.06); } 70%, 100% { transform: scale(1); border-radius: 50%; } }
.dim { height: 100%; display: grid; justify-items: center; align-content: center; gap: 8px; padding: 20px; text-align: center; color: #8f8c95; background: #0b0b0d; }
.dim__clock { font: 300 56px/1 var(--font); letter-spacing: -0.03em; color: #d9d6de; font-variant-numeric: tabular-nums; }
.dim__label { font-size: 11px; }
.dim__away { margin-top: 18px; font-size: 11px; color: #e3a35c; background: rgb(227 163 92 / .12); padding: 5px 10px; border-radius: 99px; }
.clip { position: relative; margin: 20px 12px 0; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: #222; }
.clip img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 70%; }
.clip__dusk { position: absolute; inset: 0; opacity: 0; background: radial-gradient(70% 70% at 46% 45%, rgb(255 190 100 / .35), rgb(30 22 40 / .55) 80%); }
.clip__time { position: absolute; left: 10px; top: 10px; font: 700 11px/1 var(--font); color: #fff; padding: 5px 8px; border-radius: 99px; background: rgb(23 22 27 / .7); }
.clip__bar { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .45); overflow: hidden; }
.clip__bar i { position: absolute; inset: 0; background: var(--butter); transform-origin: left; transform: scaleX(0); }
.st.is-on .clip__dusk { animation: dusk 3.4s var(--inout) infinite; }
.st.is-on .clip__bar i { animation: clipbar 3.4s linear infinite; }
@keyframes dusk { 0% { opacity: 0; } 85% { opacity: 1; } 100% { opacity: 1; } }
@keyframes clipbar { to { transform: scaleX(1); } }
.lens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px; }
.lens span { height: 32px; display: grid; place-items: center; border-radius: 99px; background: #ecebe6; font-weight: 700; font-size: 11.5px; }
.lens .is-on { background: var(--ink); color: #fff; }
.posted { height: 100%; display: grid; justify-items: center; align-content: center; gap: 8px; padding: 20px; text-align: center; background: #f7f7f5; }
.posted__tick { position: relative; width: 66px; height: 66px; border-radius: 50%; background: var(--butter); display: grid; place-items: center; margin-bottom: 8px; }
.posted__tick::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px var(--butter); opacity: 0; }
.posted__tick svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.posted__tick path { stroke-dasharray: 24; stroke-dashoffset: 0; }
.st.is-on .posted__tick { animation: pop-in .5s var(--spring) both; }
.st.is-on .posted__tick path { stroke-dashoffset: 24; animation: draw .35s .3s var(--out) forwards; }
.st.is-on .posted__tick::before { animation: ripple .7s .35s var(--out) both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ripple { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.7); } }
.posted b { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.posted small { color: var(--muted); }
.posted__reacts { display: flex; gap: 6px; margin: 6px 0; }
.posted__reacts span { font-size: 12px; padding: 4px 9px; border-radius: 99px; background: #ecebe6; }
.st.is-on .posted .up { animation: pop-in .45s .7s var(--spring) both; }
.steps-badge { position: absolute; right: 14px; bottom: -50px; padding: 7px 13px; border-radius: 99px; background: #2a2420; color: #fff; font: 600 13.5px/1 var(--font); }
@media (max-width: 900px) {
  .steps-stage { grid-template-columns: 1fr; gap: 18px; align-content: center; padding: 72px 20px 24px; }
  .steps-side h2 { font-size: clamp(26px, 6.6vw, 34px); margin: 10px 0 16px; }
  .steps-list { gap: 8px; }
  .steps-list b { font-size: 15px; }
  .steps-list li:not(.is-on) { display: none; }
  .steps-card { height: 46vh; height: 46svh; }
  .phone--step { --ph: 500px; zoom: .72; }
  .steps-card { height: 50vh; height: 50svh; }
  .steps-badge { bottom: 12px; right: 12px; }
}
html:not(.motion) .steps-scene, html.js:not(.ready) .steps-scene { height: auto; padding: 100px 0; }
html:not(.motion) .steps-stage, html.js:not(.ready) .steps-stage { position: static; height: auto; }
html:not(.motion) .steps-list li, html.js:not(.ready) .steps-list li { display: block; border-color: #d4610f; }
html:not(.motion) .steps-list b, html.js:not(.ready) .steps-list b { color: var(--ink); }
html:not(.motion) .steps-list span, html.js:not(.ready) .steps-list span { max-height: none; opacity: 1; margin-top: 4px; }
html:not(.motion) .steps-badge, html.js:not(.ready) .steps-badge { display: none; }

/* ── safety ── */
.safety { padding: 120px 16px 40px; }
.ticks { list-style: none; margin: 4px 0 24px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: #fbf0d8; box-shadow: inset 0 0 0 1px rgb(154 82 0 / .25); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: calc(.2em + 5px); width: 5px; height: 9px; border: solid var(--amber-ink); border-width: 0 2px 2px 0; rotate: 45deg; }
.feat__copy .link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; }
.sheet { padding: 6px 6px 10px; }
.sheet__head { display: flex; justify-content: space-between; padding: 12px 12px 10px; font-size: 15px; }
.sheet__head span { color: var(--amber-ink); font-weight: 700; }
.sheet__row { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; transition: background-color .2s; }
.sheet__row i { flex: none; width: 34px; height: 34px; border-radius: 10px; background: #f5f2ec; display: grid; place-items: center; }
.sheet__row svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sheet__row b { display: block; font-size: 14px; }
.sheet__row small { color: var(--muted); font-size: 12.5px; }
.sheet__row em { margin-left: auto; font-style: normal; font-weight: 800; }
.sheet__row.is-on { background: #fbf4e4; }

/* ── join ── */
.join { padding: 140px 16px 40px; }
.card { max-width: 880px; margin: 0 auto; padding: 22px; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow-card); }
.join__card .tabs { margin-bottom: 20px; }
.join__card [role="tabpanel"] { min-height: 150px; }
.invite__cap { display: block; margin-bottom: 8px; font: 600 13px/1.2 var(--font); color: var(--muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: start; }
.field label { display: block; margin-bottom: 6px; font: 600 13.5px/1.2 var(--font); color: var(--ink-2); }
.field input { width: 100%; height: 52px; padding: 0 14px; border-radius: 12px; border: 1px solid #e2ddd4; background: #fbfaf7; color: var(--ink); font: 500 16px var(--font);
  transition: border-color .15s, box-shadow .15s, background-color .15s; }
.field input::placeholder { color: #a39e96; }
.field input:hover { border-color: #cfc8bd; }
.field input:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgb(245 207 78 / .5); }
.field input[aria-invalid="true"] { border-color: #c2410c; box-shadow: 0 0 0 4px rgb(194 65 12 / .12); animation: shake .32s var(--inout); }
@keyframes shake { 20% { translate: -5px 0; } 40% { translate: 4px 0; } 60% { translate: -3px 0; } 80% { translate: 2px 0; } }
.field__err { margin-top: 6px; color: #b3360a; font-size: 13px; }
.form__btn { margin-top: 25px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.4em; margin-top: 12px; font-weight: 700; color: #1c6b45; }
.join__fine { margin: 6px 2px 0; font-size: 14px; color: var(--muted); }
.join__fine a { color: var(--ink-2); text-underline-offset: 3px; }
.invite { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 4px 2px 10px; }
.invite__field { display: flex; align-items: center; gap: 2px; height: 52px; min-width: 230px; padding: 0 16px; border-radius: 12px; background: #1a1511; color: #fff; font: 500 16px/1 var(--mono); }
.invite__field span { color: #f5c46a; }
.invite__caret { width: 1.5px; height: 20px; margin-left: 2px; background: #fff; animation: blink 1s steps(1) infinite; }
.invite p { color: var(--muted); font-size: 16px; }
[data-panel].is-enter { animation: panel-in .3s var(--out) both; }
@media (max-width: 760px) {
  .form__row { grid-template-columns: 1fr; }
  .form__btn { margin-top: 4px; width: 100%; }
  .invite { grid-template-columns: 1fr; gap: 14px; }
}

/* ── questions ── */
.faq { padding: 140px 16px 40px; }
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; padding: 0; overflow: hidden; }
.faq__item { padding: 28px 30px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.faq__item:nth-child(-n+2) { border-top: 0; }
.faq__item:nth-child(odd) { border-left: 0; }
.faq__item h3 { font: 700 17px/1.3 var(--font); letter-spacing: -0.02em; margin-bottom: 8px; }
.faq__item p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 760px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__item { border-left: 0 !important; }
  .faq__item:nth-child(2) { border-top: 1px solid var(--line); }
  .faq__item { padding: 22px 20px; }
}

/* ── closing type ── */
.close { padding: 220px 16px 150px; text-align: center; }
.close__type { font: 700 clamp(52px, 10.4vw, 156px)/0.98 var(--font); letter-spacing: -0.058em; max-width: 11ch; margin: 0 auto 52px; }
.close__type .w { display: inline-block; transition: color .35s var(--out); }
html.motion .close__type .w { color: rgb(23 22 27 / .13); }
html.motion .close__type .w.on { color: var(--ink); }
.close__cta { display: grid; justify-items: center; gap: 14px; }
.close__cta p { color: var(--muted); font-size: 15px; }

/* ── footer: dark, with the name rising in the lamp light ── */
.foot { position: relative; overflow: hidden; padding: 96px 16px 0; background: var(--night); color: #ece6dd; }
.foot__cols { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid rgb(255 255 255 / .08); }
.foot__brand p { margin-top: 14px; color: rgb(255 255 255 / .6); font-size: 15px; }
.logo--light { color: #fff; }
.foot h3 { font: 600 14px/1.2 var(--font); color: rgb(255 255 255 / .5); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.foot ul a { display: inline-flex; align-items: center; min-height: 40px; font-size: 15px; text-decoration: none; color: #f3eee7; overflow-wrap: anywhere; }
.foot ul a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__legal { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 22px 0; font-size: 13.5px; color: rgb(255 255 255 / .58); }
.foot__legal a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.foot__legal { align-items: center; }
.foot__word { position: relative; height: clamp(150px, 26vw, 360px); margin-top: 32px; display: flex; justify-content: center; isolation: isolate; }
.foot__word::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: -40%; height: 120%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 70%, rgb(240 140 40 / .9), rgb(200 90 20 / .5) 40%, rgb(18 14 11 / 0) 72%); }
.foot__word span { font: 400 clamp(170px, 36vw, 540px)/0.78 var(--serif); letter-spacing: -0.045em; color: #fff1d8; transform: translateY(var(--rise, 0%)); will-change: transform; }
@media (max-width: 760px) {
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

/* ── showcase on smaller screens ── */
@media (max-width: 1023px) {
  .frame__screen { padding: 0 40px; }
  .phone--show { --ph: 500px; }
  .note-card { left: auto; right: 16px; width: 230px; }
}
@media (max-width: 760px) {
  .hero { padding-top: 120px; }
  .show { margin-top: 48px; margin-bottom: -280px; }
  .tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tabs button { padding: 0 11px; font-size: 14px; height: 44px; }
  .tabs__pill { height: 44px; }
  .btn--nav { height: 44px; }
  .frame { padding: 7px; border-radius: 24px; }
  .frame__screen { height: auto; grid-template-columns: 1fr; gap: 26px; padding: 30px 22px 32px; align-content: start; border-radius: 18px; }
  .show__h { font-size: 26px; max-width: none; }
  .show__text p:last-child { font-size: 15.5px; }
  .phone--show { --ph: 460px; }
  .note-card { display: none; }
  .facts { padding-top: 340px; }
  .feat { grid-template-columns: 1fr; border-radius: 24px; padding: 6px; }
  .feat__panel { order: -1; min-height: 0; padding: 48px 22px; border-radius: 19px; }
  .feat__panel::before { inset: 18px; }
  .cross--tl, .cross--bl { left: 12px; } .cross--tr, .cross--br { right: 12px; } .cross--tl, .cross--tr { top: 12px; } .cross--bl, .cross--br { bottom: 12px; }
  .feat__copy { padding: 28px 20px 30px; }
  .how, .join, .faq, .safety { padding-top: 96px; }
  .close { padding: 150px 16px 110px; }
}

/* ── entrances (only with scripts and motion) ── */
html.js.motion .hero [data-in], html.js.motion .hero h1 .w { opacity: 0; transform: translateY(14px); filter: blur(4px); }
html.js.motion .hero.is-in [data-in], html.js.motion .hero.is-in h1 .w { opacity: 1; transform: none; filter: none;
  transition: opacity .45s var(--out), transform .5s var(--out), filter .45s var(--out); transition-delay: calc(var(--n, 0) * 45ms); }
html.js.motion [data-rv] { opacity: 0; transform: translateY(20px); }
html.js.motion [data-rv].is-in { opacity: 1; transform: none; transition: opacity .4s var(--out), transform .45s var(--out); }
html.js.safe:not(.ready) .hero [data-in], html.js.safe:not(.ready) .hero h1 .w, html.js.safe:not(.ready) [data-rv] { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ── the small pages: privacy, terms, credits, 404 ── */
.nav__back { margin: 0 auto 0 12px; padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.nav__back:hover { background: rgb(23 22 27 / .05); }
.doc-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.doc-page .doc { flex: 1; width: 100%; }
.doc { max-width: 760px; margin: 0 auto; padding: 150px 20px 110px; }
.doc h1 { font: 700 clamp(38px, 6vw, 60px)/1.04 var(--font); letter-spacing: -0.045em; margin: 10px 0 18px; }
.doc h2 { font: 700 22px/1.25 var(--font); letter-spacing: -0.025em; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.2em; margin: 10px 0; }
.doc li + li { margin-top: 6px; }
.legal__meta { color: var(--amber-ink) !important; font-weight: 600; font-size: 15px !important; }
.legal__404 { text-align: center; padding: 60px 0; }
.legal__404 .btn { margin-top: 18px; }
.foot--short { padding: 0 20px; }
.foot__links { display: inline-flex; flex-wrap: wrap; gap: 0 18px; }
@media (max-width: 760px) { .nav__back { display: none; } .doc { padding-top: 120px; } }

/* ── tablets: feature cards stack, the result card steps aside; very small phones: tighter tabs ── */
@media (max-width: 900px) {
  .feat { grid-template-columns: 1fr; }
  .feat__panel { order: -1; min-height: 0; }
  .feat__copy { padding: 36px 40px 40px; }
  .note-card { display: none; }
}
@media (max-width: 400px) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; overflow: visible; }
  .tabs button { padding: 0 8px; font-size: 13.5px; }
}
@media (max-width: 360px) { .nav .btn--nav { display: none; } }   /* the menu holds "Join the pilot" on the smallest phones */
