/* Jisste website. Onyx & Gold, light and dark. Phone first. */
:root {
  --bg: #f5f1e8; --bg-2: #efe9dc; --panel: #fffdf8; --ink: #161412; --ink-2: #3a352d; --muted: #7b7469; --line: #e6dfd0; --line-2: #d8cfbc;
  --brand: #a87b22; --brand-ink: #ffffff; --brand-soft: #efe1bd; --gold-hi: #d9ab4a;
  --onyx: #1a1815; --onyx-2: #100f0d; --onyx-ink: #e9e2d2; --onyx-line: rgba(255, 255, 255, .09);
  --c-a: #a87b22; --c-m: #2f7d6d; --c-n: #9a4e6b; --c-t: #4b5a7a;
  --ok: #3d8b5a; --warn: #b5562d;
  --shadow: 0 1px 2px rgba(22, 20, 18, .05), 0 12px 40px -12px rgba(22, 20, 18, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0f0e0c; --bg-2: #13120f; --panel: #1b1a17; --ink: #f3eee4; --ink-2: #d9d1c2; --muted: #a39b8c; --line: #2c2924; --line-2: #3a362f;
  --brand: #d9ab4a; --brand-ink: #17130a; --brand-soft: #4a3a17; --gold-hi: #e6c172;
  --onyx: #0a0908; --onyx-2: #050504; --c-a: #d9ab4a; --c-m: #5cc0a8; --c-n: #e08aab; --c-t: #93a5cf;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 50px -14px rgba(0, 0, 0, .7); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0f0e0c; --bg-2: #13120f; --panel: #1b1a17; --ink: #f3eee4; --ink-2: #d9d1c2; --muted: #a39b8c; --line: #2c2924; --line-2: #3a362f;
  --brand: #d9ab4a; --brand-ink: #17130a; --brand-soft: #4a3a17; --gold-hi: #e6c172;
  --onyx: #0a0908; --onyx-2: #050504; --c-a: #d9ab4a; --c-m: #5cc0a8; --c-n: #e08aab; --c-t: #93a5cf;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 50px -14px rgba(0, 0, 0, .7); color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.gold { color: var(--brand); }
.muted { color: var(--muted); }

/* light/dark images */
.only-dark { display: none; }
:root[data-theme="dark"] .only-dark { display: block; }
:root[data-theme="dark"] .only-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-dark { display: block; }
  :root:not([data-theme="light"]) .only-light { display: none; }
}

/* ─── buttons ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-gold { background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 20px -8px color-mix(in srgb, var(--brand) 80%, transparent); }
.btn-gold:hover { background: color-mix(in srgb, var(--brand) 88%, #000); }
.btn-onyx { background: var(--ink); color: var(--bg); }
.btn-ghost { border-color: var(--line-2); background: var(--panel); }
.btn-ghost:hover { border-color: var(--brand); }

/* ─── nav ─── */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { height: 64px; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.035em; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--onyx); color: var(--gold-hi); display: grid; place-items: center; font-size: 17px; font-weight: 800; }
:root[data-theme="dark"] .logo-mark { box-shadow: inset 0 0 0 1px var(--line-2); }
.nav-links { display: none; gap: 28px; font-size: 14px; color: var(--muted); margin-left: 12px; }
.nav-links a:hover { color: var(--ink); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.theme-btn { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .sun { display: none; } :root:not([data-theme="light"]) .theme-btn .moon { display: block; } }
@media (min-width: 820px) { .nav-links { display: flex; } }

/* ─── hero ─── */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 760px; background: radial-gradient(50% 50% at 50% 30%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%); pointer-events: none; }
.hero-in { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink-2); }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--brand) 0%, transparent); } }
.hero-h { margin-top: 22px; font-size: clamp(40px, 8.4vw, 80px); line-height: 1.02; letter-spacing: -.045em; font-weight: 750; max-width: 17ch; }
.hero-sub { margin-top: 22px; max-width: 620px; font-size: clamp(16px, 2vw, 19px); color: var(--muted); }
.hero-btns { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.fine { margin-top: 16px; font-size: 13px; color: var(--muted); }
.see-how { margin-top: 10px; font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--line-2); padding-bottom: 1px; }
.see-how:hover { border-color: var(--brand); }

.hero-art { position: relative; margin-top: 56px; padding-bottom: 40px; }
.hero-window { border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow); transform: perspective(1600px) rotateX(calc(var(--tilt, 1) * 8deg)) scale(calc(.94 + .06 * (1 - var(--tilt, 1)))); transform-origin: 50% 0; transition: transform .1s linear; width: min(100%, 980px); margin-left: auto; }
.win-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.win-bar i:first-child { background: #e0705c; } .win-bar i:nth-child(2) { background: #e3b04b; } .win-bar i:nth-child(3) { background: #6dbb6a; }
.win-bar span { margin-left: 10px; }
.hero-phone { position: absolute; left: 0; bottom: 0; width: clamp(120px, 26%, 270px); border-radius: 30px; padding: 7px; background: var(--onyx); box-shadow: var(--shadow), 0 0 0 1px var(--onyx-line); transform: translateY(calc(var(--lift, 0) * -40px)); }
.hero-phone img { border-radius: 24px; }
@media (min-width: 900px) { .hero-window { margin-right: 0; width: 82%; } .hero-phone { left: 2%; } }

/* ─── sections ─── */
.sec { padding: 96px 0; }
.eyebrow { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--brand); }
.h2 { margin-top: 14px; font-size: clamp(30px, 5vw, 50px); line-height: 1.06; letter-spacing: -.04em; font-weight: 720; max-width: 18ch; }
.h2.big { margin-inline: auto; max-width: 16ch; font-size: clamp(36px, 6.4vw, 64px); }
.lede { margin-top: 16px; max-width: 620px; color: var(--muted); font-size: 17px; }
.center .lede { margin-inline: auto; }

/* ─── two apps ─── */
.apps { margin-top: 44px; display: grid; gap: 18px; }
@media (min-width: 900px) { .apps { grid-template-columns: 1fr 1fr; } }
.app-card { position: relative; overflow: hidden; border-radius: 22px; padding: 30px 28px 0; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.app-card-onyx { background: var(--onyx); border-color: var(--onyx); color: var(--onyx-ink); --muted: #a39b8c; --line-2: rgba(255,255,255,.16); --panel: rgba(255,255,255,.04); }
.app-card-onyx h3 { color: #fff; }
.app-top { display: flex; width: 100%; justify-content: space-between; align-items: center; }
.app-badge { font-weight: 800; letter-spacing: -.03em; font-size: 20px; }
.app-badge b { color: var(--gold-hi); font-weight: 600; }
.app-card:not(.app-card-onyx) .app-badge b { color: var(--brand); }
.app-price { font: 600 12px/1 var(--mono); padding: 7px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--ink); }
.app-card-onyx .app-price { background: rgba(217,171,74,.18); color: var(--gold-hi); }
.app-card h3 { margin-top: 22px; font-size: 26px; line-height: 1.15; letter-spacing: -.03em; font-weight: 700; }
.app-card > p { margin-top: 10px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 9px; font-size: 15px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.app-card-onyx .ticks li::before { border-color: var(--gold-hi); }
.app-shot { margin-top: 30px; align-self: center; width: 100%; display: flex; justify-content: center; }
.phone-shot img { width: 62%; max-width: 300px; border-radius: 26px 26px 0 0; border: 7px solid var(--onyx); border-bottom: 0; }
.desk-shot img { width: 118%; max-width: none; margin-left: 18%; border-radius: 12px 0 0 0; border: 1px solid rgba(255,255,255,.12); border-bottom: 0; border-right: 0; }
.desk-shot { justify-content: flex-start; overflow: hidden; margin-right: -28px; width: calc(100% + 28px); }

/* ─── how it works ─── */
.how-grid { margin-top: 40px; display: grid; gap: 0; }
.steps { list-style: none; margin: 0; padding: 0; order: 2; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 28px 0; opacity: .28; transition: opacity .5s ease, transform .5s ease; transform: translateX(-6px); }
.step.on { opacity: 1; transform: none; }
.step-n { font: 600 13px/1 var(--mono); color: var(--brand); }
.step h3 { margin-top: 12px; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.03em; font-weight: 700; line-height: 1.15; }
.step p { margin-top: 10px; color: var(--muted); max-width: 440px; }
.stage-wrap { order: 1; position: sticky; top: 64px; z-index: 5; padding: 12px 0; background: linear-gradient(var(--bg) 82%, transparent); }
@media (min-width: 900px) {
  .how-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
  .steps { order: 1; padding: 6vh 0 18vh; }
  .step { min-height: 72vh; }
  .stage-wrap { order: 2; top: 0; height: 100vh; display: flex; align-items: center; background: none; padding: 0; }
}
.stage { width: 100%; }
.win { border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 13px; }
.win-body { display: grid; grid-template-columns: 150px 1fr; height: 420px; }
.mini-side { background: var(--onyx); color: var(--onyx-ink); padding: 12px 8px; font-size: 12px; overflow: hidden; }
.ms-team { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; padding: 2px 6px 8px; }
.ms-team b { width: 22px; height: 22px; border-radius: 7px; background: #a87b22; color: #fff; display: grid; place-items: center; font-size: 11px; }
.ms-h { font: 600 9.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: #7b7469; padding: 12px 6px 6px; }
.ms-i { padding: 5px 8px; border-radius: 6px; font-family: var(--mono); font-size: 11.5px; transition: background .4s, color .4s; white-space: nowrap; }
.ms-i.on { background: #a87b22; color: #fff; font-weight: 600; }
.ms-a { display: flex; align-items: center; gap: 7px; }
.ms-a .dot { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid #a39b8c; }
.panes { position: relative; overflow: hidden; }
.pane { position: absolute; inset: 0; padding: 0 0 12px; display: flex; flex-direction: column; opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.pane.on { opacity: 1; transform: none; }
.pane.past { transform: translateY(-18px); }
.p-head { display: flex; align-items: baseline; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.p-head b { font-size: 14px; }
.p-head span { font: 11.5px var(--mono); color: var(--muted); }
.small { font-size: 12px; }
.cap { margin: 12px 16px 6px; font: 600 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; }

/* every animated bit inside a pane waits for .on, then comes in on its delay */
.pane .in { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .5s cubic-bezier(.2,.8,.2,1); transition-delay: 0s; }
.pane.on .in { opacity: 1; transform: none; transition-delay: var(--d, 0s); }

.msgs { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.m { display: flex; gap: 10px; }
.m p { line-height: 1.45; }
.who { font-weight: 600; font-size: 13px; }
.who time { font: 10.5px var(--mono); color: var(--muted); margin-left: 4px; font-weight: 400; }
.who em { font-style: normal; color: var(--brand); font-size: 12px; margin-left: 2px; }
.tag { font: 600 9px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; border: 1px solid color-mix(in srgb, var(--brand) 55%, transparent); color: var(--brand); padding: 2px 5px; border-radius: 4px; vertical-align: 2px; }
.at { color: var(--brand); background: color-mix(in srgb, var(--brand) 14%, transparent); border-radius: 4px; padding: 0 3px; }
.av { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-size: 12px; color: #fff; flex: none; }
.av-t { background: var(--c-t); } .av-a { background: #a87b22; } .av-m { background: #2f7d6d; } .av-n { background: #9a4e6b; }
.sys { font: 11.5px var(--mono); color: var(--muted); padding-left: 38px; }
.sys b { color: var(--ink); }
.typing { display: flex; align-items: center; gap: 4px; padding-left: 0; }
.typing .av { width: 22px; height: 22px; font-size: 10px; border-radius: 6px; margin-right: 6px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-of-type(2) { animation-delay: .15s; } .typing i:nth-of-type(3) { animation-delay: .3s; }
.typing .tw { font: 11px var(--mono); color: var(--muted); margin-left: 6px; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.composer { margin: 0 16px; border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 10px; display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.fmt { grid-column: 1 / -1; font: 11px var(--mono); color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.ph { color: var(--muted); }
.send { width: 24px; height: 24px; border-radius: 6px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: 11px; }

.goal { margin: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: grid; gap: 8px; }
.goal-top { display: flex; justify-content: space-between; align-items: baseline; }
.goal-top span { font: 11px var(--mono); color: var(--muted); }
.bar { display: block; height: 6px; border-radius: 6px; background: var(--bg-2); overflow: hidden; }
.bar i, .bar .fill { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--brand); transition: width 1.2s cubic-bezier(.2,.8,.2,1) .3s; }
.pane.on .bar .fill { width: 67%; }
.g-task { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; background: var(--bg); }
.ck { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-size: 10px; flex: none; color: #fff; transition: background .4s, border-color .4s; }
.pane.on .g-task.done .ck { background: var(--ok); border-color: var(--ok); }
.who-chip { margin-left: auto; font: 600 10.5px var(--mono); padding: 3px 7px; border-radius: 5px; color: #fff; }
.c-a { background: #a87b22; } .c-m { background: #2f7d6d; } .c-n { background: #9a4e6b; }
i.c-a, i.c-m, i.c-n { font-style: normal; color: #fff; padding: 1px 5px; border-radius: 4px; }

.board { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; background: var(--bg); }
.col { display: flex; flex-direction: column; gap: 8px; }
.col-h { font: 600 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 2px 2px 4px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px; display: grid; gap: 6px; }
.card .skill { justify-self: start; font: 10.5px var(--mono); padding: 2px 6px; border-radius: 4px; background: var(--brand-soft); color: var(--ink); }
.card .claim { font: 10.5px var(--mono); color: var(--muted); }
.card.ghost { border-style: dashed; background: transparent; color: var(--muted); font: 10.5px var(--mono); }
/* the third card slides across from the first column as the step comes in */
.pane .card.c3 { transform: translateX(-108%) rotate(-2deg); opacity: 0; transition: transform .9s cubic-bezier(.2,.8,.2,1) .5s, opacity .3s .5s; }
.pane.on .card.c3 { transform: none; opacity: 1; }

.verify { padding: 16px; display: grid; gap: 12px; }
.v-card { position: relative; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: grid; gap: 7px; background: var(--panel); }
.v-title { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.v-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.pane.on .v-row .ck { background: var(--ok); border-color: var(--ok); }
.v-row.x .ck { background: var(--warn) !important; border-color: var(--warn) !important; }
.v-stamp { justify-self: start; margin-top: 2px; font: 600 11px var(--mono); color: var(--ok); border: 1.5px solid var(--ok); border-radius: 6px; padding: 4px 8px; transform: rotate(-4deg) scale(1.8); opacity: 0; transition: transform .45s cubic-bezier(.3,1.6,.5,1) 1.1s, opacity .2s 1.1s; }
.pane.on .v-stamp { transform: rotate(-4deg) scale(1); opacity: 1; }
.v-back { border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); }
.v-note { font: 11px var(--mono); color: var(--warn); }

.approval { margin-left: 38px; border: 1px solid color-mix(in srgb, var(--brand) 50%, var(--line)); background: color-mix(in srgb, var(--brand) 7%, var(--panel)); border-radius: 10px; padding: 12px; display: grid; gap: 6px; }
.ap-h { font-weight: 600; }
.ap-btns { display: flex; gap: 8px; margin-top: 4px; }
.ap-btns span { font-size: 12px; padding: 5px 12px; border-radius: 7px; border: 1px solid var(--line-2); }
.ap-yes { background: var(--brand); color: var(--brand-ink); border-color: var(--brand) !important; }
.ap-done { font: 11px var(--mono); color: var(--ok); opacity: 0; transition: opacity .4s 1.4s; }
.pane.on .ap-done { opacity: 1; }
.pane.on .ap-yes { animation: press .5s 1.1s; }
@keyframes press { 50% { transform: scale(.92); } }
.keychip { margin-left: 38px; display: inline-flex; align-self: flex-start; gap: 8px; font: 11px var(--mono); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.keychip b { color: var(--ink); font-weight: 600; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 16px 0; }
.stat { border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.stat b { display: block; font-size: 28px; letter-spacing: -.03em; }
.stat span { font-size: 11.5px; color: var(--muted); }
.bars { padding: 0 16px 10px; display: grid; gap: 9px; }
.br { display: grid; grid-template-columns: 40px 1fr 24px; align-items: center; gap: 10px; font: 11.5px var(--mono); }
.br i { height: 8px; border-radius: 6px; background: var(--brand); width: 0; transition: width 1s cubic-bezier(.2,.8,.2,1); }
.br:nth-child(2) i { background: #2f7d6d; transition-delay: .1s; } .br:nth-child(3) i { background: #9a4e6b; transition-delay: .2s; } .br:nth-child(4) i { background: var(--c-t); transition-delay: .3s; }
.pane.on .br i { width: var(--w); }
.br em { font-style: normal; color: var(--muted); text-align: right; }
.pane > p.small.muted:last-child { padding: 6px 16px 0; }

.dots { display: flex; justify-content: center; gap: 7px; margin-top: 16px; }
.dots i { width: 6px; height: 6px; border-radius: 6px; background: var(--line-2); transition: width .35s, background .35s; }
.dots i.on { width: 22px; background: var(--brand); }

@media (max-width: 899px) {
  .win-body { grid-template-columns: 1fr; height: 330px; }
  .mini-side { display: none; }
  .win { font-size: 12px; }
  .step { min-height: 58vh; }
  .dots { margin-top: 10px; }
}
@media (max-width: 899px) and (max-height: 700px) { .win-body { height: 270px; } }

/* ─── after a week ─── */
.cards3 { margin-top: 44px; display: grid; gap: 18px; }
@media (min-width: 900px) { .cards3 { grid-template-columns: repeat(3, 1fr); } }
.shot { margin: 0; }
.shot-box { height: 230px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); padding: 18px; overflow: hidden; }
.shot figcaption { margin-top: 16px; color: var(--muted); font-size: 15px; }
.shot figcaption b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; letter-spacing: -.02em; }
.sb-goal { display: grid; gap: 16px; }
.sbg { display: grid; gap: 7px; font-size: 14px; }
.sbg .bar i { width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1) .2s; }
.reveal.seen .sbg .bar i { width: var(--w); }
.sbg:nth-child(2) .bar i { transition-delay: .35s; } .sbg:nth-child(3) .bar i { transition-delay: .5s; } .sbg:nth-child(4) .bar i { transition-delay: .65s; }
.sb-chat { display: grid; gap: 11px; font-size: 13.5px; }
.sb-chat p { display: flex; gap: 9px; align-items: flex-start; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s; }
.sb-chat .av { width: 24px; height: 24px; font-size: 11px; border-radius: 7px; }
.reveal.seen .sb-chat p { opacity: 1; transform: none; }
.sb-chat p:nth-child(2) { transition-delay: .35s; } .sb-chat p:nth-child(3) { transition-delay: .7s; } .sb-chat p:nth-child(4) { transition-delay: 1.05s; }
.sb-chart { height: 160px; display: flex; align-items: flex-end; gap: 10px; border-bottom: 1px solid var(--line); padding: 0 4px; }
.sb-chart i { flex: 1; border-radius: 6px 6px 0 0; height: 0; background: linear-gradient(var(--gold-hi), var(--brand)); transition: height 1s cubic-bezier(.2,.8,.2,1); }
.reveal.seen .sb-chart i { height: var(--h); }
.sb-chart i:nth-child(2) { transition-delay: .08s; } .sb-chart i:nth-child(3) { transition-delay: .16s; } .sb-chart i:nth-child(4) { transition-delay: .24s; } .sb-chart i:nth-child(5) { transition-delay: .32s; } .sb-chart i:nth-child(6) { transition-delay: .4s; } .sb-chart i:nth-child(7) { transition-delay: .48s; }
.sb-days { display: flex; gap: 10px; padding: 8px 4px 0; font: 11px var(--mono); color: var(--muted); }
.sb-days span { flex: 1; text-align: center; }

/* ─── platform grid ─── */
.grid6 { margin-top: 40px; display: grid; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--line); gap: 1px; }
@media (min-width: 640px) { .grid6 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid6 { grid-template-columns: repeat(3, 1fr); } }
.cell { background: var(--panel); padding: 28px 26px 30px; transition: background .3s; }
.cell:hover { background: color-mix(in srgb, var(--brand) 5%, var(--panel)); }
.cell svg { width: 26px; height: 26px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cell h3 { margin-top: 18px; font-size: 18px; letter-spacing: -.02em; }
.cell p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ─── pricing ─── */
.prices { margin-top: 40px; display: grid; gap: 14px; }
@media (min-width: 900px) { .prices { grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); } .price + .price { border-left: 1px solid var(--line); } }
.price { padding: 30px 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
@media (min-width: 900px) { .price { border: 0; border-radius: 0; background: none; } }
.price-hot { position: relative; }
@media (min-width: 900px) { .price-hot { background: var(--onyx); color: var(--onyx-ink); margin: -12px 0; border-radius: 18px; box-shadow: var(--shadow); --muted: #a39b8c; --line-2: rgba(255,255,255,.18); --panel: rgba(255,255,255,.05); } .price-hot .p-amt b { color: #fff; } .price-hot .ticks li::before { border-color: var(--gold-hi); } }
.p-name { font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.hot { font: 600 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--brand); }
@media (min-width: 900px) { .price-hot .hot { color: var(--gold-hi); } }
.p-amt { margin-top: 16px; display: flex; align-items: baseline; gap: 8px; }
.p-amt b { font-size: 46px; letter-spacing: -.04em; line-height: 1; }
.p-amt span { color: var(--muted); font-size: 14px; }
.p-for { margin-top: 8px; color: var(--muted); font-size: 15px; }
.price .ticks { flex: 1; }
.price .btn { width: 100%; }
.fine.center { margin-top: 26px; }

/* ─── call to action ─── */
.cta { position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 10% 10% auto; height: 480px; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%); pointer-events: none; }
.cta .wrap { position: relative; }

/* ─── footer and the giant wordmark ─── */
.foot { background: var(--onyx); color: var(--onyx-ink); padding-top: 72px; overflow: hidden; --muted: #a39b8c; }
.foot .logo-mark { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.foot-in { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; max-width: 340px; }
.foot-brand .logo { color: #fff; }
.foot-brand p { margin-top: 14px; color: var(--muted); font-size: 14px; }
.foot-cta { display: inline-block; margin-top: 16px; color: var(--gold-hi); font-weight: 600; font-size: 14px; }
.foot-col { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.foot-col p { font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: #7b7469; margin-bottom: 4px; }
.foot-col a { color: var(--onyx-ink); opacity: .85; }
.foot-col a:hover { opacity: 1; color: var(--gold-hi); }
.foot-col span { color: #7b7469; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1.6fr repeat(4, 1fr); } .foot-brand { grid-column: auto; } }
.foot-base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--onyx-line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: #7b7469; }
.giant { margin-top: 24px; padding-top: 5vw; height: 24vw; text-align: center; user-select: none; overflow: hidden; }
.giant span { display: inline-block; line-height: .76; padding: 0 .06em; font-size: 27vw; font-weight: 850; letter-spacing: -.065em; background: linear-gradient(180deg, var(--gold-hi) 0%, #a87b22 55%, color-mix(in srgb, #a87b22 40%, var(--onyx)) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(calc((1 - var(--rise, 1)) * 30%)); }

/* ─── scroll reveal ─── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.seen { opacity: 1; transform: none; }
.cards3 .reveal:nth-child(2) { transition-delay: .12s; } .cards3 .reveal:nth-child(3) { transition-delay: .24s; }
.apps .reveal:nth-child(2) { transition-delay: .12s; }

/* no JavaScript, or reduced motion: everything shown, nothing moves */
.no-js .reveal, .no-js .pane .in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-window, .hero-phone, .giant span { transform: none !important; }
}

/* onyx cards keep a gold edge so they still read as cards on the dark theme */
.app-card-onyx { border-color: color-mix(in srgb, #d9ab4a 28%, transparent); }
@media (min-width: 900px) { .price-hot { border: 1px solid color-mix(in srgb, #d9ab4a 28%, transparent); } }

/* phones: the window sits on a solid strip so the steps scroll cleanly under it */
@media (max-width: 899px) {
  .sec { padding: 72px 0; }
  .hero-art { padding-bottom: 24px; }
  .stage-wrap { background: var(--bg); box-shadow: -24px 0 0 var(--bg), 24px 0 0 var(--bg); }
  .stage-wrap::after { content: ""; position: absolute; left: -24px; right: -24px; top: 100%; height: 28px; background: linear-gradient(var(--bg), transparent); pointer-events: none; }
}

/* ═════════ round 2: an animated hero, patterns, living cards, centred phones ═════════ */

/* hero background: a slow gold dot grid that fades out at the edges, and three drifting glows */
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hb-grid { position: absolute; inset: -60px; background-image: radial-gradient(color-mix(in srgb, var(--brand) 38%, transparent) 1.2px, transparent 1.6px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 35%, #000 0%, transparent 75%); animation: drift 24s linear infinite; }
@keyframes drift { to { transform: translate(26px, 26px); } }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.o1 { width: 420px; height: 420px; left: -80px; top: 80px; background: color-mix(in srgb, var(--brand) 45%, transparent); animation: orb1 18s ease-in-out infinite alternate; }
.o2 { width: 360px; height: 360px; right: -60px; top: 20px; background: color-mix(in srgb, var(--gold-hi) 40%, transparent); animation: orb2 22s ease-in-out infinite alternate; }
.o3 { width: 300px; height: 300px; left: 40%; top: 520px; background: color-mix(in srgb, #2f7d6d 26%, transparent); animation: orb1 26s ease-in-out infinite alternate-reverse; }
@keyframes orb1 { to { transform: translate(120px, 60px) scale(1.15); } }
@keyframes orb2 { to { transform: translate(-140px, 90px) scale(.9); } }
:root[data-theme="dark"] .orb { opacity: .4; }
.hero .hero-in, .hero .hero-art { z-index: 1; }

/* headline: words rise in, the gold line keeps a slow shine */
.hero-h .w { display: inline-block; opacity: 0; transform: translateY(.35em); animation: wordIn .8s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-h .w:nth-child(1) { animation-delay: .05s; } .hero-h .w:nth-child(2) { animation-delay: .12s; } .hero-h .w:nth-child(3) { animation-delay: .19s; } .hero-h .w:nth-child(4) { animation-delay: .26s; }
.hero-h .shimmer .w:nth-child(1) { animation-delay: .4s, 1.6s; } .hero-h .shimmer .w:nth-child(2) { animation-delay: .47s, 1.75s; } .hero-h .shimmer .w:nth-child(3) { animation-delay: .54s, 1.9s; } .hero-h .shimmer .w:nth-child(4) { animation-delay: .61s, 2.05s; } .hero-h .shimmer .w:nth-child(5) { animation-delay: .68s, 2.2s; }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.shimmer .w { background: linear-gradient(100deg, var(--brand) 0 40%, var(--gold-hi) 50%, var(--brand) 60% 100%); background-size: 300% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation-name: wordIn, shine; animation-duration: .8s, 5s; animation-timing-function: cubic-bezier(.2,.8,.2,1), ease-in-out; animation-iteration-count: 1, infinite; animation-fill-mode: forwards, none; }
@keyframes shine { 0%, 55% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.pill, .hero-sub, .hero-btns, .fine, .see-how { animation: fadeUp .8s cubic-bezier(.2,.8,.2,1) both; }
.hero-sub { animation-delay: .6s; } .hero .hero-btns { animation-delay: .75s; } .hero .fine { animation-delay: .9s; } .see-how { animation-delay: 1s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.hero-art { animation: fadeUp 1.1s .9s cubic-bezier(.2,.8,.2,1) both; }

/* floating notes around the hero window */
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 13px; white-space: nowrap; animation: bob 6s ease-in-out infinite; }
.float .av { width: 24px; height: 24px; font-size: 11px; border-radius: 7px; }
.f1 { top: 8%; right: -1%; } .f2 { top: 46%; right: -3%; animation-delay: -2s; } .f3 { bottom: 14%; left: 24%; animation-delay: -4s; } .f4 { top: -18px; left: 30%; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.okdot { width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 12px; }
.keyic { width: 24px; height: 24px; border-radius: 7px; background: var(--onyx); color: var(--gold-hi); display: grid; place-items: center; }
.dots3 { display: inline-flex; gap: 3px; } .dots3 i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; } .dots3 i:nth-child(2) { animation-delay: .15s; } .dots3 i:nth-child(3) { animation-delay: .3s; }
@media (max-width: 899px) { .float { font-size: 11px; padding: 6px 9px 6px 6px; } .f1 { top: -14px; right: 2%; } .f2 { top: 52%; right: 0; } .f3, .f4 { display: none; } }

/* patterns so the big fields are never bare */
.pat-dots, .pat-grid, .pat-rings { position: relative; isolation: isolate; }
.pat-dots::before, .pat-grid::before, .pat-rings::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pat-dots::before { background-image: radial-gradient(color-mix(in srgb, var(--brand) 30%, transparent) 1.1px, transparent 1.5px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); opacity: .7; }
.pat-grid::before { background-image: linear-gradient(color-mix(in srgb, var(--brand) 12%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--brand) 12%, transparent) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(60% 50% at 70% 50%, #000, transparent 80%); mask-image: radial-gradient(60% 50% at 70% 50%, #000, transparent 80%); }
.pat-rings::after { background: repeating-radial-gradient(circle at 50% 120%, transparent 0 46px, color-mix(in srgb, var(--brand) 16%, transparent) 46px 47px); -webkit-mask-image: radial-gradient(60% 70% at 50% 60%, #000, transparent 80%); mask-image: radial-gradient(60% 70% at 50% 60%, #000, transparent 80%); }
.pat-rings::before { z-index: -1; }
#apps { background: linear-gradient(transparent, color-mix(in srgb, var(--brand) 5%, transparent) 50%, transparent); }

/* the week cards keep working in a loop once they are on screen */
.reveal .sbg .bar i { animation: fillLoop 6s cubic-bezier(.2,.8,.2,1) infinite paused; transition: none; }
.reveal.seen .sbg .bar i { animation-play-state: running; }
.sbg:nth-child(2) .bar i { animation-delay: .3s; } .sbg:nth-child(3) .bar i { animation-delay: .6s; } .sbg:nth-child(4) .bar i { animation-delay: .9s; }
@keyframes fillLoop { 0% { width: 0; } 30%, 85% { width: var(--w); } 100% { width: var(--w); opacity: .4; } }
.sbg b::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin-left: 8px; vertical-align: 2px; opacity: 0; }
.reveal.seen .sbg:first-child b::after { animation: pop 6s infinite; }
@keyframes pop { 0%, 30% { opacity: 0; transform: scale(0); } 36%, 90% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.reveal .sb-chat p { transition: none; animation: chatLoop 8s infinite paused; }
.reveal.seen .sb-chat p { animation-play-state: running; }
.sb-chat p:nth-child(1) { animation-delay: 0s; } .sb-chat p:nth-child(2) { animation-delay: .9s; } .sb-chat p:nth-child(3) { animation-delay: 1.8s; } .sb-chat p:nth-child(4) { animation-delay: 2.7s; }
@keyframes chatLoop { 0% { opacity: 0; transform: translateY(10px); } 6%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }
.reveal .sb-chart i { transition: none; height: var(--h); transform-origin: bottom; animation: barLoop 4s ease-in-out infinite paused; }
.reveal.seen .sb-chart i { animation-play-state: running; }
.sb-chart i:nth-child(2) { animation-delay: -.5s; } .sb-chart i:nth-child(3) { animation-delay: -1s; } .sb-chart i:nth-child(4) { animation-delay: -1.5s; } .sb-chart i:nth-child(5) { animation-delay: -2s; } .sb-chart i:nth-child(6) { animation-delay: -2.5s; } .sb-chart i:nth-child(7) { animation-delay: -3s; }
@keyframes barLoop { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
.shot-box { transition: transform .4s, box-shadow .4s; }
.shot:hover .shot-box { transform: translateY(-4px); }

/* platform icons draw themselves in, then breathe */
.grid6 .cell svg { stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset 1.4s ease; }
.grid6.seen .cell svg { stroke-dashoffset: 0; }
.grid6 .cell:nth-child(2) svg { transition-delay: .15s; } .grid6 .cell:nth-child(3) svg { transition-delay: .3s; } .grid6 .cell:nth-child(4) svg { transition-delay: .45s; } .grid6 .cell:nth-child(5) svg { transition-delay: .6s; } .grid6 .cell:nth-child(6) svg { transition-delay: .75s; }
.cell .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, transparent); }
.cell:hover .ic { animation: wiggle .6s; }
@keyframes wiggle { 30% { transform: rotate(-8deg) scale(1.06); } 60% { transform: rotate(6deg); } }

/* headings that must stay on one line (the script shrinks them to fit) */
.h2.one { max-width: none; white-space: nowrap; }

/* phones: everything centred */
@media (max-width: 899px) {
  .sec .eyebrow, .sec .h2, .sec .lede { text-align: center; margin-inline: auto; }
  .step { text-align: center; align-items: center; transform: none; }
  .step p { margin-inline: auto; }
  .cell { text-align: center; }
  .cell .ic { margin-inline: auto; }
  .price { text-align: center; align-items: center; }
  .p-name { justify-content: center; gap: 10px; }
  .p-amt { justify-content: center; }
  .price .ticks { justify-items: center; }
  .price .ticks li { text-align: left; }
  .shot figcaption { text-align: center; }
  .foot-in { text-align: center; }
  .foot-brand { margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
  .foot-base { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-h .w, .pill, .hero-sub, .hero-btns, .fine, .see-how, .hero-art { opacity: 1 !important; transform: none !important; }
  .shimmer .w { background: none; color: var(--brand); }
  .reveal .sb-chat p { opacity: 1; }
  .reveal .sbg .bar i { width: var(--w); }
  .grid6 .cell svg { stroke-dashoffset: 0; }
}

/* ═════════ round 3: tighter how-it-works, centred platform, a living page background ═════════ */

/* how it works: the first step starts close under the heading, and the section ends soon after the last */
@media (min-width: 900px) {
  .how-grid { margin-top: 8px; }
  .steps { padding: 0 0 4vh; }
  .step { min-height: 58vh; }
  .step:first-child { min-height: 50vh; justify-content: flex-start; padding-top: 24vh; }
  .step:last-child { min-height: 54vh; }
}

/* platform: icons, titles and text centred everywhere */
.cell { text-align: center; }
.cell .ic { margin-inline: auto; }
.cell p { max-width: 34ch; margin-inline: auto; }

/* the whole page sits on a slow gold line grid with drifting light, so no field is ever bare */
body::before, body::after { content: ""; position: fixed; z-index: -1; pointer-events: none; }
body::before { inset: -64px; background-image:
    linear-gradient(color-mix(in srgb, var(--brand) 9%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--brand) 9%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--brand) 4%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--brand) 4%, transparent) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px; animation: gridDrift 40s linear infinite; }
@keyframes gridDrift { to { transform: translate(64px, 64px); } }
body::after { inset: 0; background:
    radial-gradient(38vmax 38vmax at var(--gx, 20%) var(--gy, 30%), color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%),
    radial-gradient(30vmax 30vmax at 80% 70%, color-mix(in srgb, var(--gold-hi) 10%, transparent), transparent 70%),
    linear-gradient(115deg, transparent 40%, color-mix(in srgb, var(--gold-hi) 7%, transparent) 50%, transparent 60%);
  background-size: 100% 100%, 100% 100%, 300% 100%; animation: sweep 14s ease-in-out infinite; }
@keyframes sweep { 0% { background-position: 0 0, 0 0, 100% 0; } 100% { background-position: 0 0, 0 0, -50% 0; } }
:root[data-theme="dark"] body::before { opacity: 1.4; }
.foot { position: relative; z-index: 0; }
@media (prefers-reduced-motion: reduce) { body::before, body::after { animation: none; } }
