/* Your Stanz — public website. Tokens mirror the app (yourstanz-app shared/design/Tokens.kt). Light only. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/bricolage_grotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #F1F0F7;
  --surface: #FFFFFF;
  --ink: #17153A;
  --ink-2: #3B3963;
  --muted: #74718F;
  --muted-text: #686582;
  --line: #E4E2EF;
  --soft: #E9E7F3;
  --neg: #E5484D;  --neg-soft: #FDE7E7;  --neg-text: #C92A36;
  --mid: #487DF2;  --mid-soft: #E3ECFD;  --mid-text: #3062D5;
  --pos: #0E9F8E;  --pos-soft: #D9F3EF;  --pos-text: #00796A;
  --coin: #F2B705; --coin-deep: #B98300; --coin-text: #986100;
  --r-lg: 28px; --r-md: 18px; --r-sm: 12px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --shadow-card: 0 1px 0 var(--line), 0 18px 40px -22px rgba(23,21,58,.35);
  --shadow-lift: 0 30px 70px -30px rgba(23,21,58,.4);
  --gutter: 20px;
  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.03em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--mid); outline-offset: 3px; border-radius: 10px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted-text); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 26px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 17px; text-decoration: none;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { box-shadow: 0 10px 24px -10px rgba(23,21,58,.55); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }

.store {
  display: inline-flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 20px 0 16px; border-radius: 16px;
  background: var(--ink); color: #fff; text-decoration: none;
  transition: transform .15s var(--ease), box-shadow .2s;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(23,21,58,.6); }
.store svg { width: 26px; height: 26px; }
.store span { display: flex; flex-direction: column; font-weight: 700; font-size: 18px; line-height: 1.05; letter-spacing: -.01em; }
.store small { font-weight: 500; font-size: 11.5px; opacity: .8; letter-spacing: 0; }
.store.light { background: #fff; color: var(--ink); }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
/* "Coming soon": a badge with no link yet (STORE_URLS in js/main.js is empty). */
.store:not([href]) { cursor: default; }
.store:not([href]):hover { transform: none; box-shadow: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241,240,247,.78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(23,21,58,.3); }
.header-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 20px; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.brand .mark { width: 30px; height: 30px; }
.brand.small { font-size: 15px; gap: 6px; }
.brand.small .mark { width: 22px; height: 22px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 99px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { background: #fff; color: var(--ink); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 99px; border: 0; background: #fff; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }

.m-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(23,21,58,.25); backdrop-filter: blur(2px); animation: fadeIn .2s both; }
.m-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 61;
  background: var(--bg); border-radius: 28px 28px 0 0;
  padding: 12px 20px calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 4px;
  animation: sheetUp .32s var(--ease) both;
}
.m-sheet a:not(.btn) { padding: 14px 8px; font-size: 20px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.m-sheet .btn { margin-top: 14px; }
.grabber { width: 38px; height: 5px; border-radius: 9px; background: var(--line); margin: 0 auto 10px; flex: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 40px 0 90px; overflow: hidden; }
.hero-blobs i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; }
.hero-blobs .b1 { width: 520px; height: 520px; background: var(--mid-soft); right: -120px; top: -60px; }
.hero-blobs .b2 { width: 380px; height: 380px; background: var(--pos-soft); right: 260px; bottom: -120px; }
.hero-blobs .b3 { width: 300px; height: 300px; background: var(--neg-soft); left: -120px; top: 120px; opacity: .55; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 99px; padding: 8px 16px 8px 14px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  box-shadow: 0 1px 0 var(--line);
}
.ping { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--neg); flex: none; display: inline-block; }
.ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--neg); animation: ping 2s infinite; }
.ping.sm { width: 6px; height: 6px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -.045em; margin: 0 0 26px; }
.hero h1 .h1-line + .h1-line { line-height: 1.24; margin-top: .04em; }
.h1-line { display: block; text-wrap: balance; }
.tri-under {
  background: linear-gradient(90deg, var(--neg) 0 33%, var(--mid) 33% 66%, var(--pos) 66%) no-repeat 0 100% / 100% .075em;
  padding-bottom: 0; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: underline 1s .4s var(--ease) both;
}
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 560px; line-height: 1.5; margin-bottom: 30px; }
.hero-facts { list-style: none; padding: 0; margin: 34px 0 0; display: flex; gap: 32px; flex-wrap: wrap; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts b { font-size: 28px; letter-spacing: -.03em; line-height: 1.1; }
.hero-facts span { font-size: 14px; color: var(--muted-text); }

.hero-phone { position: relative; display: flex; flex-direction: column; align-items: center; }

.demo-note { font-size: 13px; color: var(--muted-text); margin-top: 16px; }

.float-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 16px; padding: 10px 14px; font-size: 14px; font-weight: 700;
  box-shadow: 0 16px 34px -16px rgba(23,21,58,.45); white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
}
.float-chip svg { width: 20px; height: 20px; }

.fc2 { right: -56px; top: 50%; animation-delay: -2s; color: var(--coin-text); }

 
 

/* ---------- phone + demo ---------- */
.phone {
  position: relative; z-index: 2;
  width: min(372px, 100%);
  height: clamp(640px, 82vh, 780px);
  border-radius: 48px; padding: 10px;
  background: var(--ink);
  box-shadow: 0 40px 90px -30px rgba(23,21,58,.55), inset 0 0 0 2px #2c2a55;
}
.screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: 38px; background: var(--bg);
  display: flex; flex-direction: column;
  padding: 14px 14px 12px;
  user-select: none; -webkit-user-select: none;
}
.topbar { display: flex; align-items: center; gap: 10px; height: 40px; margin: 4px 2px 8px; flex: none; }
.tb-icons { display: flex; gap: 12px; margin-left: auto; color: var(--ink); }
.tb-icons svg { width: 20px; height: 20px; }
.points-pill {
  display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px;
  padding: 5px 11px 5px 6px; font-size: 14px; font-weight: 600;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.points-pill svg { width: 20px; height: 20px; }

.stage { position: relative; flex: 1; min-height: 0; }
.deck { position: absolute; inset: 0 0 6px; outline: none; border-radius: var(--r-lg); }
.deck:focus-visible { box-shadow: 0 0 0 3px var(--mid); }
.ghost-card { position: absolute; inset: 0; background: #fff; border-radius: var(--r-lg); transform: translateY(12px) scale(.94); opacity: .55; }
.card {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-card); cursor: grab; touch-action: none;
  will-change: transform;
}
.card.dragging { cursor: grabbing; }

.card-art { position: relative; flex: 0 0 38%; min-height: 110px; overflow: hidden; color: #fff; }
.card-art .motif { position: absolute; right: -18px; bottom: -26px; width: 64%; height: auto; aspect-ratio: 1; opacity: .26; transform: rotate(-12deg); }
.card-art .motif-s { position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; opacity: .9; }
.card-art .rings { position: absolute; inset: 0; background: radial-gradient(circle at 18% 120%, rgba(255,255,255,.18) 0 30%, transparent 30.5%), radial-gradient(circle at 110% -10%, rgba(255,255,255,.14) 0 34%, transparent 34.5%); }
.card-meta { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 8px; font-size: 12px; padding: 12px 18px 0; color: var(--muted-text); }
.card-meta > span:last-child { text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta .fresh { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; }
.card-meta .asker { color: var(--ink); font-weight: 700; }
.card-body { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 8px 18px 18px; overflow: hidden; }
.card-body .ctx { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.card-body .more { font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; }
.card-body .q { font-size: 23px; line-height: 1.08; letter-spacing: -.032em; font-weight: 700; text-wrap: balance; }
.stamp {
  position: absolute; inset: 0; border-radius: var(--r-lg); pointer-events: none;
  display: flex; align-items: center; justify-content: center; text-align: center;
  opacity: 0; transition: background .12s;
  color: #fff; font-size: 34px; font-weight: 800; line-height: 1.05; letter-spacing: -.03em; padding: 20px;
}
.stamp span { transform: scale(.9); }

.gauge {
  position: absolute; left: 10px; right: 10px; top: 10px; z-index: 5;
  background: rgba(255,255,255,.96); border-radius: 20px; padding: 10px 14px 8px;
  box-shadow: 0 8px 24px -10px rgba(23,21,58,.35);
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .15s, transform .2s var(--ease);
}
.gauge.on { opacity: 1; transform: none; }
.g-label { font-size: 19px; font-weight: 700; text-align: center; color: var(--muted-text); transition: color .15s; margin-bottom: 8px; }
.g-label.strong { font-weight: 800; }
.g-label.bump { animation: gbump .28s var(--ease); }
.g-track { position: relative; display: grid; grid-template-columns: 17.8fr 17.75fr 28.9fr 17.75fr 17.8fr; gap: 2px; height: 8px; }
.g-track .z { border-radius: 4px; }
.z.neg2 { background: var(--neg); } .z.neg1 { background: color-mix(in srgb, var(--neg) 40%, #fff); }
.z.dead { background: var(--line); }
.z.pos1 { background: color-mix(in srgb, var(--pos) 40%, #fff); } .z.pos2 { background: var(--pos); }
.g-dot { position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); transform: translate(-50%,-50%); }
.g-ends { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--muted-text); margin-top: 6px; }

.actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; flex: none; }
.act {
  height: 56px; border: 0; border-radius: 18px; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  transition: background .15s, transform .12s;
}
.act b { font-size: 14.5px; font-weight: 700; }
.act small { font-size: 10.5px; color: var(--muted-text); font-weight: 500; }
.act:active { transform: scale(.96); }
.act.neg b { color: var(--neg-text); } .act.mid b { color: var(--mid-text); } .act.pos b { color: var(--pos-text); }
.act.neg:hover, .act.neg.hot { background: var(--neg-soft); }
.act.mid:hover, .act.mid.hot { background: var(--mid-soft); }
.act.pos:hover, .act.pos.hot { background: var(--pos-soft); }
.cant { align-self: center; margin-top: 6px; border: 0; background: transparent; font-size: 13px; font-weight: 600; color: var(--muted-text); padding: 6px 12px; border-radius: 99px; flex: none; }
.cant:hover, .cant.hot { background: var(--soft); }

.you-said { font-size: 12.5px; font-weight: 700; padding: 6px 10px; border-radius: 99px; white-space: nowrap; }

.you-pill { background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 99px; }

/* ---------- sections ---------- */
.sec { padding: 96px 0; }
.sec-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mid-text); margin-bottom: 14px; }
.kicker.light { color: #A9BFFA; }
.sec h2 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.04em; }
.sub { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); margin-top: 16px; line-height: 1.5; }
.fine { font-size: 12.5px; color: var(--muted-text); margin-top: 16px; line-height: 1.5; }

/* reveal: the app's cardIn, on scroll */
.reveal { opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- feature deck ---------- */
.deck-sec { padding-top: 40px; }
.deck-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.deck-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; font-size: 20px; font-weight: 700; box-shadow: 0 1px 0 var(--line); transition: transform .15s var(--ease), background .2s; }
.round:hover { background: var(--ink); color: #fff; }
.round:active { transform: scale(.94); }
.f-count { font-weight: 700; min-width: 54px; text-align: center; color: var(--ink-2); }
.fdeck { position: relative; height: 440px; max-width: 520px; width: 100%; margin: 0 auto; touch-action: pan-y; }
.fcard {
  position: absolute; inset: 0 0 32px; border-radius: 32px; padding: 34px;
  background: linear-gradient(160deg, var(--c1), var(--c2) 70%);
  box-shadow: var(--shadow-card); display: flex; flex-direction: column;
  cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y;
  transition: transform .45s var(--ease), opacity .45s var(--ease);
  will-change: transform;
}
.fcard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #fff; z-index: -1; }
.fcard.dragging { transition: none; cursor: grabbing; }
.f-tag { align-self: flex-start; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: rgba(255,255,255,.75); padding: 6px 12px; border-radius: 99px; color: var(--ink-2); }
.f-ico { width: 84px; height: 84px; border-radius: 26px; background: #fff; display: grid; place-items: center; margin: auto 0 26px; color: var(--ac); box-shadow: 0 14px 30px -18px rgba(23,21,58,.5); }
.f-ico svg { width: 42px; height: 42px; }
.fcard h3 { font-size: clamp(30px, 3.4vw, 40px); letter-spacing: -.04em; margin-bottom: 12px; }
.fcard p { font-size: 17px; color: var(--ink-2); max-width: 420px; }

/* ---------- how ---------- */
.how-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; grid-template-rows: auto auto; gap: 20px; align-items: stretch; }
.how-tile {
  text-align: left; border: 0; background: #fff; border-radius: 24px; padding: 24px;
  display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-card);
  transition: background .25s, transform .25s var(--ease), box-shadow .25s;
}
.how-tile b { font-size: 22px; letter-spacing: -.02em; }
.how-tile span:last-child { color: var(--ink-2); font-size: 15.5px; }
.how-arrow { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; font-weight: 800; background: var(--soft-c); color: var(--ac); margin-bottom: 8px; transition: background .25s, color .25s; }
.how-tile[data-how="down"] .how-arrow { color: var(--muted-text); }
.how-tile:hover { transform: translateY(-3px); }
.how-tile.active { background: var(--soft-c); transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(23,21,58,.45); }
.how-tile.active .how-arrow { background: var(--ac); color: #fff; }
.how-grid > .how-tile:nth-child(1) { grid-column: 1; grid-row: 1; }
.how-grid > .how-tile:nth-child(2) { grid-column: 1; grid-row: 2; }
.how-stage { grid-column: 2; grid-row: 1 / span 2; position: relative; min-height: 420px; display: grid; place-items: center; }
.how-grid > .how-tile:nth-child(4) { grid-column: 3; grid-row: 1; }
.how-grid > .how-tile:nth-child(5) { grid-column: 3; grid-row: 2; }
.how-ghost, .how-card { position: absolute; width: min(300px, 86%); height: 380px; border-radius: 28px; background: #fff; }
.how-ghost { transform: translateY(14px) scale(.93); opacity: .6; }
.how-card { box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; transition: transform .7s var(--ease); }
.how-art { flex: 0 0 44%; background: linear-gradient(140deg, hsl(265 58% 60%), hsl(290 60% 32%)); position: relative; }
.how-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 110%, rgba(255,255,255,.2) 0 36%, transparent 36.5%); }
.how-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted-text); padding: 14px 18px 0; }
.how-meta span:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; }
.how-q { font-size: 24px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; padding: 14px 18px; text-wrap: balance; }
.how-stamp { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; color: #fff; font-size: 30px; font-weight: 800; letter-spacing: -.03em; text-align: center; padding: 20px; transition: opacity .35s, background .2s; }
.how-gauge { position: absolute; top: 4px; left: 50%; transform: translate(-50%, -6px); background: #fff; border-radius: 99px; padding: 8px 16px; font-weight: 800; font-size: 16px; box-shadow: 0 10px 24px -12px rgba(23,21,58,.45); opacity: 0; transition: opacity .3s, transform .3s var(--ease), color .2s; z-index: 2; }
.how-gauge.on { opacity: 1; transform: translate(-50%, 0); }

.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: rgba(255,255,255,.6); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.steps .n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.steps b { display: block; font-size: 19px; margin-bottom: 4px; }
.steps p { font-size: 15px; color: var(--ink-2); }

/* ---------- results ---------- */
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--pos-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2300796A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.ticks b { color: var(--ink); }
.res-card { background: #fff; border-radius: 32px; padding: 30px; box-shadow: var(--shadow-lift); }
.res-q { font-size: 17px; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; }
.res-head { display: flex; align-items: baseline; gap: 12px; }
.res-head .big { font-size: clamp(64px, 7vw, 84px); font-weight: 800; letter-spacing: -.055em; line-height: .9; }
.res-head .said { font-size: 24px; font-weight: 700; }
.res-split { font-size: 14px; color: var(--ink-2); margin: 10px 0 22px; }
.seg { display: inline-flex; background: var(--soft); border-radius: 99px; padding: 4px; gap: 2px; margin-bottom: 18px; }
.seg button { border: 0; background: transparent; padding: 8px 18px; border-radius: 99px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s, box-shadow .2s; }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -3px rgba(23,21,58,.3); }
.cmp-rows { display: grid; gap: 12px; }
.cmp-row { display: grid; grid-template-columns: 120px 1fr 52px; gap: 12px; align-items: center; font-size: 14.5px; padding: 6px 8px; border-radius: 12px; border: 1.5px solid transparent; }
.cmp-row.me { border-color: var(--ink); }
.cmp-row .nm { font-weight: 600; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-row .stack { display: flex; height: 8px; border-radius: 6px; overflow: hidden; background: var(--soft); gap: 2px; }
.cmp-row .stack i { display: block; height: 100%; width: 0; transition: width .8s var(--ease); }
.cmp-row .v { text-align: right; font-weight: 700; color: var(--pos-text); }
.cmp-row.few .v { color: var(--muted-text); font-weight: 600; font-size: 13px; }
.cmp-row.few .stack { background: repeating-linear-gradient(-45deg, var(--soft) 0 6px, #F5F4FA 6px 12px); }
.insight { margin-top: 18px; background: var(--ink); color: #fff; border-radius: 18px; padding: 14px 18px; font-size: 14.5px; line-height: 1.45; }
.insight b { color: #8FE3D7; }

/* ---------- privacy ---------- */
.privacy-card { background: var(--ink); color: #fff; border-radius: 40px; padding: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; }
.privacy-card::before { content: ""; position: absolute; width: 480px; height: 480px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(72,125,242,.35), transparent 70%); }
.pv-head { position: relative; max-width: 720px; margin-bottom: 44px; }
.pv-head h2 { color: #fff; }
.pv-head p { color: #C9C7E3; font-size: 19px; margin-top: 16px; }
.pv-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pv { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 22px; }
.pv svg { width: 26px; height: 26px; color: #A9BFFA; margin-bottom: 14px; }
.pv b { display: block; font-size: 18px; margin-bottom: 6px; }
.pv p { font-size: 14.5px; color: #C9C7E3; }

/* ---------- languages ---------- */
.langs { list-style: none; padding: 0; margin: 0 auto; max-width: 980px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.langs li {
  position: relative; background: #fff; border-radius: 99px; padding: 14px 26px;
  font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; box-shadow: 0 1px 0 var(--line);
  transition: transform .25s var(--ease), background .25s, color .25s; cursor: default;
}
.langs li::after { content: attr(data-en); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px); background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; font-family: var(--font); direction: ltr; white-space: nowrap; }
.langs li:not([lang="en"]) { font-size: clamp(22px, 2.5vw, 29px); line-height: 1.35; }
.langs li:hover { transform: translateY(-4px); background: var(--ink); color: #fff; }
.langs li:hover::after { opacity: 1; transform: translate(-50%, 0); }
.langs li.flash { background: var(--mid-soft); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-grid header { position: sticky; top: 110px; }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 20px; padding: 0 22px; box-shadow: 0 1px 0 var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-card); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 20px; transition: transform .25s var(--ease), background .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--ink); color: #fff; }
.faq details p { padding: 0 0 20px; color: var(--ink-2); }

/* ---------- cta ---------- */
.cta { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: linear-gradient(150deg, #1E1B4B, var(--ink) 60%); color: #fff; border-radius: 40px; padding: clamp(36px, 5vw, 64px); }
.cta::before { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(14,159,142,.35), transparent 70%); }
.cta-copy { position: relative; }
.cta-mark { width: 56px; height: 56px; margin-bottom: 20px; }
.cta h2 { color: #fff; font-size: clamp(40px, 5vw, 64px); }
.cta p { color: #C9C7E3; font-size: 19px; margin: 16px 0 28px; max-width: 460px; }
.cta-stack { position: relative; height: 320px; }
.cs { position: absolute; left: 50%; top: 50%; width: 270px; height: 290px; margin: -145px 0 0 -135px; border-radius: 28px; background: #fff; }
.cs.c3 { transform: rotate(10deg) translate(40px, 10px); opacity: .25; }
.cs.c2 { transform: rotate(-7deg) translate(-30px, 6px); opacity: .45; }
.cs.c1 { color: var(--ink); padding: 24px; display: flex; flex-direction: column; animation: sway 5s ease-in-out infinite; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.cs-cat { font-size: 12px; font-weight: 600; color: var(--muted-text); }
.cs.c1 p { font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin-top: auto; color: var(--ink); max-width: none; }
.cs-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 20px; }
.cs-btns i { font-style: normal; font-size: 11.5px; font-weight: 700; text-align: center; padding: 10px 2px; border-radius: 12px; background: var(--bg); }
.cs-btns .neg { color: var(--neg-text); } .cs-btns .mid { color: var(--mid-text); } .cs-btns .pos { color: var(--pos-text); }

/* ---------- footer ---------- */
.site-footer { padding: 24px 0 40px; }
.foot-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--line); }
.foot-grid p { margin-top: 10px; font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; max-width: 560px; }
.foot-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: 13px; color: var(--ink-2); }

/* ---------- keyframes ---------- */
@keyframes cardIn { from { transform: translateY(30px) scale(.96); opacity: 0; } }

@keyframes gbump { 40% { transform: scale(1.14); } }

@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%,100% { transform: scale(2.6); opacity: 0; } }
@keyframes underline { from { background-size: 0 .075em; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@keyframes sway { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(3deg) translateX(10px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes sheetUp { from { transform: translateY(100%); } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .float-chip { display: none; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .header-cta { margin-left: auto; }
  .menu-btn { margin-left: 0; }
  .pv-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .hero { padding-top: 24px; }
  .hero-grid, .deck-grid, .res-grid, .faq-grid, .cta { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-copy .store-row, .hero-facts { justify-content: center; }
  .float-chip { display: none; }
  .deck-copy { text-align: center; }
  .deck-ctrl { justify-content: center; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .how-stage { grid-column: 1 / -1; grid-row: 1; min-height: 410px; }
  .how-grid > .how-tile:nth-child(1) { grid-column: 2; grid-row: 2; }
  .how-grid > .how-tile:nth-child(2) { grid-column: 1; grid-row: 2; }
  .how-grid > .how-tile:nth-child(4) { grid-column: 1; grid-row: 3; }
  .how-grid > .how-tile:nth-child(5) { grid-column: 2; grid-row: 3; }
  .steps { grid-template-columns: 1fr 1fr; }
  .faq-grid header { position: static; }
  .cta-stack { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .header-row { height: 64px; gap: 12px; }
  .header-cta { height: 40px; padding: 0 16px; font-size: 14px; }
  .sec { padding: 72px 0; }
  .sec-head { margin-bottom: 36px; }
  .hero-facts { gap: 22px; }
  .store { height: 54px; padding: 0 16px 0 12px; }
  .store span { font-size: 16px; }
  .phone { height: min(680px, calc(100svh - 96px)); min-height: 580px; border-radius: 44px; padding: 8px; }
  .screen { border-radius: 36px; }
  .fdeck { height: 420px; }
  .fcard { padding: 26px; }
  .how-tile { padding: 18px; }
  .how-tile b { font-size: 18px; }
  .how-tile span:last-child { font-size: 14px; }
  .steps, .pv-grid { grid-template-columns: 1fr; }
  .res-card { padding: 22px; }
  .cmp-row { grid-template-columns: 96px 1fr 46px; font-size: 13.5px; gap: 8px; }
  .langs li { padding: 12px 20px; }
  .privacy-card, .cta { border-radius: 32px; }
}

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

/* hero illustration (static) */
figure.hero-phone { margin: 0; }
.phone.illus { pointer-events: none; }
.illus-card { transform: translateX(20px) rotate(3.5deg); cursor: default; }
.illus-card .touch { position: absolute; right: 26px; bottom: 34%; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 8px rgba(255,255,255,.25); }
.illus-card .touch i { position: absolute; right: 100%; top: 50%; width: 70px; height: 3px; margin-top: -1.5px; border-radius: 3px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.8)); }
.answer-card {
  position: absolute; z-index: 3; left: -64px; bottom: 1%; width: 230px;
  background: #fff; border-radius: 20px; padding: 14px 16px; box-shadow: 0 22px 44px -18px rgba(23,21,58,.45);
  display: flex; flex-direction: column; gap: 6px; animation: floaty 6s ease-in-out infinite;
}
.ac-label { font-size: 12px; font-weight: 600; color: var(--muted-text); }
.ac-head { display: flex; align-items: baseline; gap: 6px; }
.ac-head b { font-size: 40px; line-height: 1; letter-spacing: -.05em; color: var(--pos); }
.ac-head span { font-weight: 700; }
.ac-bars { display: grid; gap: 4px; margin: 2px 0; }
.ac-bars i { display: block; height: 7px; width: var(--w); background: var(--c); border-radius: 4px; }
.ac-bars i.me { outline: 2px solid var(--ink); outline-offset: 1px; }
.ac-you { font-size: 12px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
@media (max-width: 920px) {
  .answer-card { position: relative; left: auto; bottom: auto; margin: -70px auto 0; width: min(300px, 90%); animation: none; }
}

/* ---------- legal + account pages ---------- */
.legal-page .header-row { justify-content: space-between; }
.legal-nav { display: flex; gap: 4px; }
.legal-nav a { padding: 8px 14px; border-radius: 99px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.legal-nav a:hover { background: #fff; color: var(--ink); }
.legal-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.legal-wrap { padding-top: 28px; padding-bottom: 72px; }
.legal-wrap.narrow { max-width: 760px; }
.legal-head { margin-bottom: 28px; }
.legal-head h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -.04em; }
.legal-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.legal-toc { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 2px; }
.legal-toc a { padding: 6px 10px; border-radius: 10px; text-decoration: none; font-size: 14px; color: var(--ink-2); }
.legal-toc a:hover { background: #fff; color: var(--ink); }
.legal-body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.legal-body section { background: #fff; border-radius: 22px; padding: 24px 26px; box-shadow: 0 1px 0 var(--line); scroll-margin-top: 90px; }
.legal-body h2 { font-size: 21px; letter-spacing: -.02em; margin: 0 0 10px; }
.legal-body section h2 + p, .legal-body p + p { margin-top: 0; }
.legal-body p { color: var(--ink-2); margin: 0 0 10px; }
.legal-body p:last-child { margin-bottom: 0; }
.legal-body ul { margin: 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 8px; }
.legal-body li b, .legal-body p b { color: var(--ink); }
.legal-body a, .legal-wrap .fine a, .del-unavailable a { color: var(--mid-text); }
.legal-body .callout-card { background: var(--ink); }
.legal-body .callout-card h2 { color: #fff; }
.legal-body .callout-card ul { color: #D6D4EE; }
.legal-body .callout-card b { color: #fff; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-bottom: 12px; }
.legal-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-text); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.legal-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.legal-table td:first-child { color: var(--ink); font-weight: 500; width: 48%; }
.tbd { background: #FFF3D6; color: #6b4700; border-radius: 6px; padding: 0 6px; font-weight: 600; white-space: nowrap; }
/* delete account */
.del-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.del-way { display: flex; gap: 14px; background: #fff; border-radius: 20px; padding: 18px; box-shadow: 0 1px 0 var(--line); }
.del-way h2 { font-size: 18px; margin-bottom: 4px; }
.del-way p { color: var(--ink-2); font-size: 15px; }
.del-ico { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--soft); color: var(--ink); }
.del-ico svg { width: 22px; height: 22px; }
.del-card { background: #fff; border-radius: 28px; padding: 28px; box-shadow: var(--shadow-card); margin-bottom: 18px; }
.del-step h2 { font-size: 24px; margin-bottom: 8px; outline: none; }
.del-step > p { color: var(--ink-2); margin-bottom: 18px; }
.del-progress { list-style: none; padding: 0; margin: 0 0 18px; display: flex; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted-text); }
.del-progress li { padding: 4px 10px; border-radius: 99px; background: var(--soft); }
.del-progress li.on { background: var(--ink); color: #fff; }
.del-progress li.done { background: var(--pos-soft); color: var(--pos-text); }
.del-buttons { display: grid; gap: 10px; max-width: 340px; }
.google-slot { min-height: 44px; display: flex; justify-content: center; }
.del-unavailable { background: var(--soft); border-radius: 16px; padding: 16px 18px; margin-top: 4px; }
.del-unavailable p { color: var(--ink-2); margin-top: 6px; font-size: 15px; }
.del-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.del-list { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }
.del-check { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 14px; cursor: pointer; }
.del-check input { width: 20px; height: 20px; accent-color: var(--neg); }
.btn-danger { background: var(--neg-text); color: #fff; }
.btn-danger:disabled { opacity: .45; cursor: not-allowed; }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--bg); }
.del-done-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--pos-soft); color: var(--pos-text); font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.del-error { margin-top: 14px; background: var(--neg-soft); color: var(--neg-text); border-radius: 12px; padding: 10px 14px; font-weight: 600; }
@media (max-width: 920px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .legal-toc a { background: #fff; }
}
@media (max-width: 640px) {
  .legal-nav a { padding: 7px 10px; font-size: 13.5px; }
  .legal-page .brand span { display: none; }
  .legal-body section { padding: 20px; }
  .legal-table td:first-child { width: auto; }
  .del-ways { grid-template-columns: 1fr; }
  .del-card { padding: 22px; }
  .tbd { white-space: normal; }
}
