/* Settlecircle website — direction B "Soft & playful", graphite in dark mode.
   Tokens mirror lib/core/theme/palette.dart in the app. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/BricolageGrotesque-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/BricolageGrotesque-Bold.ttf") format("truetype");
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/BricolageGrotesque-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

/* ------------------------------------------------------------ tokens ---- */
:root {
  --canvas: #fff6ec;
  --card: #ffffff;
  --raised: #fff1e3;
  --ink: #2b1d14;
  --muted: #7a6656;
  --faint: #b3a091;
  --on-ink: #fff6ec;
  --divider: #f3e6d8;
  --hero: #ffd3b6;
  --hero-blob: #ffb98c;
  --positive: #1f6b42;
  --negative: #a3360a;
  --on-tint: #2b1d14;
  --t0: #ffd3b6; /* peach */
  --t1: #cdebd6; /* mint */
  --t2: #ffe9a8; /* butter */
  --t3: #dcd6ff; /* lavender */
  --t4: #cfe6ff; /* sky */
  --t5: #ffd1dc; /* rose */
  --t6: #e3edc2; /* sage */
  --t7: #f2d9f7; /* lilac */
  --shadow: 0 1px 2px rgba(43, 29, 20, 0.05), 0 12px 32px -12px rgba(43, 29, 20, 0.18);
  --shadow-lg: 0 2px 4px rgba(43, 29, 20, 0.06), 0 30px 60px -20px rgba(43, 29, 20, 0.28);
  --header-bg: rgba(255, 246, 236, 0.82);

  --font: "Bricolage Grotesque", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --gutter: 16px;
  --max: 1160px;
  --bouncy: cubic-bezier(0.3, 1.5, 0.5, 1);
  --springy: cubic-bezier(0.2, 0.9, 0.25, 1.05);
  --emph: cubic-bezier(0.2, 0, 0, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #1c1c1e;
    --card: #2c2c2e;
    --raised: #3a3a3c;
    --ink: #f5f5f7;
    --muted: #a1a1a6;
    --faint: #636366;
    --on-ink: #1c1c1e;
    --divider: #3a3a3c;
    --hero: #3a3a3c;
    --hero-blob: #4a3220;
    --positive: #30d158;
    --negative: #ff6961;
    --on-tint: #f5f5f7;
    --t0: #45291c;
    --t1: #1f3a27;
    --t2: #3d3317;
    --t3: #2e2a45;
    --t4: #1c3046;
    --t5: #45202c;
    --t6: #2e3a1c;
    --t7: #3b2442;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 30px 60px -20px rgba(0, 0, 0, 0.7);
    --header-bg: rgba(28, 28, 30, 0.82);
  }
}
:root[data-theme="dark"] {
  --canvas: #1c1c1e;
  --card: #2c2c2e;
  --raised: #3a3a3c;
  --ink: #f5f5f7;
  --muted: #a1a1a6;
  --faint: #636366;
  --on-ink: #1c1c1e;
  --divider: #3a3a3c;
  --hero: #3a3a3c;
  --hero-blob: #4a3220;
  --positive: #30d158;
  --negative: #ff6961;
  --on-tint: #f5f5f7;
  --t0: #45291c;
  --t1: #1f3a27;
  --t2: #3d3317;
  --t3: #2e2a45;
  --t4: #1c3046;
  --t5: #45202c;
  --t6: #2e3a1c;
  --t7: #3b2442;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  --header-bg: rgba(28, 28, 30, 0.82);
}

@media (min-width: 640px) {
  :root { --gutter: 24px; }
}

/* ------------------------------------------------------------- base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }
::selection { background: var(--hero); color: var(--on-tint); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.i { width: 1.25em; height: 1.25em; flex: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 12px;
  font-weight: 700; text-decoration: none; transition: top 0.2s var(--emph);
}
.skip-link:focus { top: 12px; }

/* Theme-dependent bits (icons, screenshots). */
.when-dark { display: none; }
:root[data-theme="dark"] .when-light { display: none; }
:root[data-theme="dark"] .when-dark { display: contents; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .when-light { display: none; }
  :root:not([data-theme="light"]) .when-dark { display: contents; }
}

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

/* ------------------------------------------------------------ brand ----- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.mark {
  width: 34px; height: 30px; flex: none; background: var(--ink);
  -webkit-mask: url("/assets/img/mark.png") center / contain no-repeat;
  mask: url("/assets/img/mark.png") center / contain no-repeat;
  transition: transform 0.5s var(--bouncy);
}
.brand:hover .mark { transform: rotate(-8deg) scale(1.08); }

/* ----------------------------------------------------------- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform 0.35s var(--bouncy), background-color 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.95); transition-duration: 0.12s; }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-soft { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color 0.2s, transform 0.35s var(--bouncy);
}
.icon-btn:hover { background: var(--card); }
.icon-btn:active { transform: scale(0.9); }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 20px 8px 16px;
  border-radius: 16px; background: var(--ink); color: var(--on-ink); text-decoration: none;
  line-height: 1.1; font-weight: 800; font-size: 18px;
  transition: transform 0.35s var(--bouncy);
}
.store .i { width: 26px; height: 26px; }
.store small { display: block; font-size: 11.5px; font-weight: 600; opacity: 0.8; letter-spacing: 0.02em; }
a.store:hover { transform: translateY(-2px); }
a.store:active { transform: scale(0.96); }
.store.is-soon { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--divider); cursor: default; }
.store.is-soon small { color: var(--muted); opacity: 1; }
.store.is-preferred { box-shadow: 0 0 0 3px var(--hero-blob); }

/* ------------------------------------------------------------ header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--divider); }
.header-inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-cta { margin-left: 6px; }

.nav { display: none; }
.nav a { text-decoration: none; font-weight: 700; color: var(--muted); padding: 8px 14px; border-radius: 999px; transition: color 0.2s, background-color 0.2s; }
.nav a:hover { color: var(--ink); background: var(--card); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--hero); }
.nav .nav-download { display: none; }

@media (min-width: 880px) {
  .nav { display: flex; gap: 2px; margin-left: 28px; }
  .menu-btn { display: none; }
}
@media (max-width: 879px) {
  .header-cta { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 68px; left: var(--gutter); right: var(--gutter);
    padding: 10px; background: var(--card); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
    animation: drop 0.4s var(--springy);
  }
  .nav.is-open a { padding: 14px 16px; font-size: 18px; color: var(--ink); }
  .nav.is-open .nav-download { display: block; background: var(--ink); color: var(--on-ink); text-align: center; margin-top: 6px; }
}
.when-open { display: none; }
.menu-btn[aria-expanded="true"] .when-open { display: contents; }
.menu-btn[aria-expanded="true"] .when-closed { display: none; }
@keyframes drop { from { opacity: 0; transform: translateY(-10px) scale(0.98); } }

/* ----------------------------------------------------------- sections --- */
.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--card); box-shadow: var(--shadow); font-size: 14px; font-weight: 700; color: var(--muted);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--positive); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 5.4vw, 52px); margin-top: 16px; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 19px; }
.lede { color: var(--muted); font-size: clamp(18px, 2.2vw, 21px); }

/* -------------------------------------------------------------- hero ---- */
.hero { position: relative; padding: 36px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 8.6vw, 84px); letter-spacing: -0.035em; margin-top: 20px; }
.hero h1 .squiggle { position: relative; white-space: nowrap; }
.hero h1 .squiggle::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 0.02em; height: 0.32em; z-index: -1;
  background: var(--hero); border-radius: 999px; transform-origin: left;
  animation: underline 0.9s 0.5s var(--springy) both;
}
@keyframes underline { from { transform: scaleX(0); } }
.hero .lede { margin-top: 20px; max-width: 34em; }
.hero .stores { margin-top: 32px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.hero-notes li { display: inline-flex; align-items: center; gap: 6px; }
.hero-notes .i { color: var(--positive); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.blob { position: absolute; border-radius: 50%; z-index: 0; }
.hero-visual .blob-a { width: 78%; aspect-ratio: 1; background: var(--hero); top: 6%; animation: bob 9s ease-in-out infinite; }
.hero-visual .blob-b { width: 22%; aspect-ratio: 1; background: var(--t1); left: 4%; bottom: 10%; animation: bob 7s -2s ease-in-out infinite; }
.hero-visual .blob-c { width: 12%; aspect-ratio: 1; background: var(--t2); right: 8%; top: 4%; animation: bob 6s -1s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(4deg); } }

@media (min-width: 960px) {
  .hero { padding: 56px 0 96px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* Floating amount chips around the hero phone */
.chip-float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow-lg);
  font-size: 14px; line-height: 1.2; font-weight: 700;
  animation: pop 0.7s var(--bouncy) both, bob 6s ease-in-out infinite;
}
.chip-float small { display: block; color: var(--muted); font-weight: 600; font-size: 12.5px; }
.chip-float .avatar { width: 36px; height: 36px; font-size: 13px; }
.chip-float .amt-pos { color: var(--positive); }
.chip-float.one { left: -2%; top: 22%; animation-delay: 0.9s, 1.6s; }
.chip-float.two { right: -4%; bottom: 20%; animation-delay: 1.15s, 0.4s; }
@media (max-width: 420px) {
  .chip-float.one { left: 0; top: 8%; }
  .chip-float.two { right: 0; bottom: 6%; }
}
@keyframes pop { from { opacity: 0; transform: scale(0.6) rotate(-6deg); } }

.avatar {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none;
  font-weight: 800; font-size: 15px; color: var(--on-tint);
}

/* ------------------------------------------------------------- phone ---- */
/* iPhone 17 Pro geometry: 402 x 874 pt screen, 55 pt display corners, 126 x 37 pt Dynamic Island 11 pt from the top.
   The screen sets the height; the frame is the screen plus the bezel, so screenshots are never stretched or cropped. */
.phone {
  --bezel: 10px; --screen: calc(var(--w) - 2 * var(--bezel)); --w: min(300px, 74vw);
  position: relative; z-index: 2; width: var(--w); padding: var(--bezel);
  border-radius: calc(var(--screen) * 55 / 402 + var(--bezel)); background: #17110d; box-shadow: var(--shadow-lg);
}
.phone::before {
  /* Dynamic Island */
  content: ""; position: absolute; z-index: 2; left: 50%; transform: translateX(-50%);
  top: calc(var(--bezel) + var(--screen) * 11 / 402); width: calc(var(--screen) * 126 / 402); height: calc(var(--screen) * 37 / 402);
  background: #000; border-radius: 999px;
}
.phone img, .phone picture { display: block; width: 100%; height: auto; aspect-ratio: 402 / 874; border-radius: calc(var(--screen) * 55 / 402); object-fit: cover; }
.phone-sm { --bezel: 8px; --w: min(240px, 64vw); }
.hero .phone { animation: rise 0.9s 0.15s var(--springy) both; }
@keyframes rise { from { opacity: 0; transform: translateY(60px) rotate(3deg); } }

/* ------------------------------------------------------------- trust ---- */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow); font-weight: 700; line-height: 1.25; }
.trust-item .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; color: var(--on-tint); }
.trust-item small { display: block; font-weight: 600; color: var(--muted); font-size: 13.5px; }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, 1fr); } }

/* tint helpers */
.t0 { background: var(--t0); } .t1 { background: var(--t1); } .t2 { background: var(--t2); } .t3 { background: var(--t3); }
.t4 { background: var(--t4); } .t5 { background: var(--t5); } .t6 { background: var(--t6); } .t7 { background: var(--t7); }
.tint-text { color: var(--on-tint); }

/* ------------------------------------------------------------- bento ---- */
.bento { display: grid; gap: 16px; }
.tile {
  position: relative; overflow: hidden; padding: 28px; border-radius: var(--r-lg); color: var(--on-tint);
  transition: transform 0.45s var(--bouncy);
}
.tile:hover { transform: translateY(-4px) rotate(-0.4deg); }
.tile h3 { font-size: 24px; margin-top: 18px; }
.tile p { margin-top: 8px; opacity: 0.82; }
.tile .ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--card); color: var(--ink); }
.tile .ic .i { width: 26px; height: 26px; }
.tile-wide .split-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.split-chips span { padding: 8px 14px; border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 700; font-size: 15px; }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-wide { grid-column: span 2; }
}
@media (min-width: 1020px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .tile-wide { grid-column: span 2; }
}

/* ------------------------------------------------------------- steps ---- */
.steps { display: grid; gap: 20px; counter-reset: step; }
.step { display: grid; gap: 24px; align-items: center; padding: 28px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--on-ink); font-weight: 800; font-size: 18px;
}
.step h3 { font-size: 26px; margin-top: 16px; }
.step p { color: var(--muted); margin-top: 8px; }
.step .shot { justify-self: center; margin-bottom: -120px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { align-content: start; }
}

/* -------------------------------------------------------- calculator ---- */
.calc { display: grid; gap: 20px; align-items: start; }
.calc-card { padding: 28px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); }
.calc-amount {
  display: flex; align-items: center; gap: 4px; padding: 20px 24px; border-radius: var(--r-md);
  background: var(--hero); color: var(--on-tint);
}
.calc-amount span { font-size: 44px; font-weight: 800; }
.calc-amount input[type="text"] {
  width: 100%; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; outline: none;
  font: inherit; font-size: 52px; font-weight: 800; letter-spacing: -0.03em;
}
.calc-amount:focus-within { box-shadow: 0 0 0 3px var(--ink); }
.calc-label { display: block; margin: 22px 0 10px; font-weight: 800; font-size: 18px; }
.people { display: flex; flex-wrap: wrap; gap: 8px; }
.person {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 6px; border-radius: 999px;
  background: var(--raised); font-weight: 700; animation: pop 0.45s var(--bouncy) both;
}
.person .avatar { width: 32px; height: 32px; font-size: 12px; }
.person button { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.person button:hover { background: var(--card); color: var(--ink); }
.add-person { display: flex; gap: 8px; margin-top: 12px; }
.add-person input { flex: 1; min-width: 0; }
.calc-results { display: grid; gap: 10px; }
.result-row {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--card); box-shadow: var(--shadow); animation: pop 0.5s var(--bouncy) both;
}
.result-row .name { font-weight: 700; flex: 1; }
.result-row .amt { font-weight: 800; font-size: 20px; }
.result-row .extra { font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--t2); color: var(--on-tint); }
.calc-note { margin-top: 14px; color: var(--muted); font-size: 15px; }
.calc-total { display: flex; justify-content: space-between; padding: 14px 16px; border-radius: var(--r-md); background: var(--t1); color: var(--on-tint); font-weight: 800; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; } }

/* ----------------------------------------------------------- gallery ---- */
.gallery {
  display: flex; gap: 24px; overflow-x: auto; padding: 12px var(--gutter) 32px; margin: 0 calc(-1 * var(--gutter));
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; scroll-snap-align: center; flex: none; text-align: center; }
.gallery figcaption { margin-top: 16px; font-weight: 700; }
.gallery figcaption small { display: block; color: var(--muted); font-weight: 600; font-size: 14px; }
/* Centre when everything fits, scroll from the start when it doesn't. */
.gallery > :first-child { margin-left: auto; }
.gallery > :last-child { margin-right: auto; }

/* ----------------------------------------------------------- promise ---- */
.promise { display: grid; gap: 32px; padding: 40px 28px; border-radius: var(--r-lg); background: var(--ink); color: var(--on-ink); overflow: hidden; position: relative; }
.promise h2 { font-size: clamp(32px, 5vw, 48px); }
.promise p { opacity: 0.8; margin-top: 14px; }
.promise ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.promise li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.promise li .i { color: var(--hero-blob); margin-top: 2px; }
.promise .btn { margin-top: 24px; background: var(--on-ink); color: var(--ink); }
@media (min-width: 900px) { .promise { grid-template-columns: 1.1fr 0.9fr; padding: 64px; align-items: center; } }

/* --------------------------------------------------------------- faq ---- */
.faq-list { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq { border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 800; font-size: 18px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 14px; height: 14px; flex: none;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2.5px 100% no-repeat;
  transition: transform 0.4s var(--bouncy);
}
.faq[open] summary::after { transform: rotate(135deg); }
.faq .answer { padding: 0 22px 22px; color: var(--muted); }
.faq .answer p + p, .faq .answer ul, .faq .answer ol { margin-top: 10px; }
.faq .answer ul, .faq .answer ol { padding-left: 20px; }
.faq .answer strong { color: var(--ink); }
.faq[open] .answer { animation: fade-down 0.35s var(--emph); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } }
.faq-group { margin-top: 48px; }
.faq-group:first-child { margin-top: 0; }
.faq-group > h2 { font-size: 26px; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.faq-group > h2 .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--on-tint); }
.faq-search { position: relative; max-width: 560px; margin: 28px auto 0; }
.faq-search .i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.faq-search input[type="search"] { padding-left: 50px; min-height: 58px; border-radius: 999px; font-size: 17px; }
.faq-empty { text-align: center; color: var(--muted); padding: 32px 0; }

/* -------------------------------------------------------------- CTA ----- */
.cta-band { position: relative; overflow: hidden; padding: 56px 28px; border-radius: var(--r-lg); background: var(--hero); color: var(--on-tint); text-align: center; }
.cta-band h2 { font-size: clamp(34px, 6vw, 60px); position: relative; }
.cta-band p { margin: 14px auto 0; max-width: 34em; opacity: 0.85; position: relative; }
.cta-band .stores { justify-content: center; margin-top: 28px; position: relative; }
.cta-band .store.is-soon { color: var(--on-tint); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--on-tint) 25%, transparent); }
.cta-band .store.is-soon small { color: inherit; opacity: 0.75; }
.cta-band .blob { background: var(--hero-blob); opacity: 0.7; }
.cta-band .blob-a { width: 260px; height: 260px; right: -80px; top: -90px; }
.cta-band .blob-b { width: 140px; height: 140px; left: -40px; bottom: -50px; background: var(--t1); }
@media (min-width: 900px) { .cta-band { padding: 88px 48px; } }

/* --------------------------------------------------------- page hero ---- */
.page-hero { padding: 48px 0 24px; text-align: center; }
.page-hero h1 { font-size: clamp(40px, 7vw, 68px); letter-spacing: -0.03em; margin-top: 18px; }
.page-hero .lede { max-width: 36em; margin: 18px auto 0; }
.page-hero .meta { margin-top: 16px; color: var(--muted); font-size: 15px; font-weight: 600; }
@media (min-width: 900px) { .page-hero { padding: 72px 0 32px; } }

/* -------------------------------------------------- feature details ----- */
.feature-row { display: grid; gap: 32px; align-items: center; padding: 48px 0; }
.feature-row + .feature-row { border-top: 1.5px dashed var(--divider); }
.feature-row h2 { font-size: clamp(30px, 4.4vw, 44px); }
.feature-row .copy > p { color: var(--muted); margin-top: 14px; font-size: 18px; }
.feature-row .visual { display: grid; place-items: center; position: relative; padding: 28px 0; }
.feature-row .visual .blob { width: 80%; max-width: 380px; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.checks li .i { color: var(--positive); margin-top: 3px; }
@media (min-width: 900px) {
  .feature-row { grid-template-columns: 1fr 1fr; gap: 64px; padding: 72px 0; }
  .feature-row.flip .visual { order: -1; }
}

.split-types { display: grid; gap: 12px; margin-top: 22px; }
.split-type { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 16px 18px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow); }
.split-type .ic { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--on-tint); font-weight: 800; }
.split-type strong { font-size: 17px; }
.split-type span { color: var(--muted); font-size: 15px; line-height: 1.45; }

.mini-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mini-card { padding: 24px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow); }
.mini-card .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--on-tint); }
.mini-card h3 { font-size: 20px; margin-top: 14px; }
.mini-card p { color: var(--muted); margin-top: 6px; font-size: 16px; }

.currency-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.currency-list span { padding: 8px 14px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-weight: 700; font-size: 15px; }
.currency-list b { color: var(--muted); font-weight: 700; margin-right: 6px; }

/* ----------------------------------------------------------- legal ------ */
.doc { display: grid; gap: 40px; padding-bottom: 96px; }
.toc { display: none; }
.prose { max-width: 740px; min-width: 0; }
.prose h2 { font-size: 28px; margin: 48px 0 14px; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose p, .prose ul, .prose ol, .prose table { margin: 0 0 14px; }
.prose p, .prose li { color: color-mix(in srgb, var(--ink) 82%, var(--canvas)); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--muted); }
.prose a { font-weight: 700; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1.5px solid var(--divider); vertical-align: top; }
.prose th { font-weight: 800; background: var(--card); }
.callout { padding: 22px 24px; border-radius: var(--r-md); background: var(--t1); color: var(--on-tint); margin-bottom: 32px; }
.callout h2, .callout h3 { margin: 0 0 10px !important; font-size: 20px !important; }
.callout ul { margin: 0; padding-left: 20px; }
.callout li { color: var(--on-tint) !important; }
.callout.warm { background: var(--hero); }
.callout.sky { background: var(--t4); }
@media (min-width: 1000px) {
  .doc { grid-template-columns: 240px 1fr; gap: 64px; }
  .toc { display: block; position: sticky; top: 96px; align-self: start; }
  .toc h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 12px; }
  .toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
  .toc a { display: block; padding: 6px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
  .toc a:hover { background: var(--card); color: var(--ink); }
  .toc a.is-active { background: var(--hero); color: var(--on-tint); }
}

/* ------------------------------------------------------------ forms ----- */
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 15px; }
.field .hint { color: var(--muted); font-size: 14px; }
input[type="text"], input[type="email"], input[type="search"], input[type="number"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 16px; border: 2px solid transparent;
  background: var(--raised); color: var(--ink); font: inherit; font-size: 16px;
  transition: border-color 0.2s, background-color 0.2s;
}
textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); background: var(--card); }
input::placeholder, textarea::placeholder { color: var(--faint); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.form-note { color: var(--muted); font-size: 14px; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--negative); }
.field .error { color: var(--negative); font-size: 14px; font-weight: 700; display: none; }
.field.is-invalid .error { display: block; }

/* ---------------------------------------------------------- contact ----- */
.contact-grid { display: grid; gap: 24px; align-items: start; padding-bottom: 96px; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow); text-decoration: none; transition: transform 0.4s var(--bouncy); }
a.contact-card:hover { transform: translateY(-3px); }
.contact-card .ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex: none; color: var(--on-tint); }
.contact-card h3 { font-size: 19px; }
.contact-card p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
.contact-card .link { display: inline-block; margin-top: 6px; font-weight: 800; word-break: break-all; }
.form-card { padding: 28px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); }
.form-card h2 { font-size: 28px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 22px; }
.form-success { display: none; margin-top: 16px; padding: 16px 18px; border-radius: var(--r-md); background: var(--t1); color: var(--on-tint); font-weight: 600; }
.form-success.is-shown { display: block; animation: pop 0.5s var(--bouncy); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 40px; } }

/* --------------------------------------------------------- download ----- */
.platforms { display: grid; gap: 20px; }
.platform { position: relative; overflow: hidden; display: grid; gap: 20px; padding: 32px; border-radius: var(--r-lg); color: var(--on-tint); }
.platform h2 { font-size: 32px; }
.platform .req { opacity: 0.8; font-weight: 600; }
.platform .store { justify-self: start; }
.platform .store.is-soon { color: var(--on-tint); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--on-tint) 25%, transparent); }
.platform .store.is-soon small { color: inherit; opacity: 0.75; }
.platform .phone-sm { justify-self: center; margin-bottom: -140px; margin-top: 8px; }
.platform.is-yours::after {
  content: "Your device"; position: absolute; top: 20px; right: 20px; padding: 6px 12px; border-radius: 999px;
  background: var(--card); color: var(--ink); font-size: 13px; font-weight: 800;
}
@media (min-width: 860px) { .platforms { grid-template-columns: 1fr 1fr; } }

.soon-banner { display: flex; gap: 14px; align-items: flex-start; max-width: 760px; margin: 0 auto 40px; padding: 18px 22px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow); }
.soon-banner .i { color: var(--negative); margin-top: 3px; }
.soon-banner p { color: var(--muted); }
.soon-banner strong { color: var(--ink); }

.specs { display: grid; gap: 1px; border-radius: var(--r-md); overflow: hidden; background: var(--divider); box-shadow: var(--shadow); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; background: var(--card); }
.specs dt { color: var(--muted); font-weight: 600; }
.specs dd { margin: 0; font-weight: 800; text-align: right; }
.specs-wrap { max-width: 760px; margin: 0 auto; }

/* ------------------------------------------------------------ about ----- */
.values { display: grid; gap: 16px; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: 28px; border-radius: var(--r-lg); color: var(--on-tint); }
.value .big { font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.value h3 { font-size: 22px; margin-top: 16px; }
.value p { margin-top: 8px; opacity: 0.85; }
.story { max-width: 760px; margin: 0 auto; font-size: 19px; }
.story p + p { margin-top: 18px; }
.story p { color: color-mix(in srgb, var(--ink) 82%, var(--canvas)); }

/* --------------------------------------------------------------- 404 ---- */
/* Friend and invite links (/add/…, /invite/…) */
.open-app { min-height: 64vh; display: grid; place-items: center; text-align: center; padding: 48px 0 96px; }
.open-app .wrap { max-width: 36em; }
.open-app-icon { display: inline-grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--hero); color: var(--ink); }
.open-app-icon .i { width: 40px; height: 40px; }
.open-app h1 { font-size: clamp(30px, 5vw, 44px); margin-top: 20px; }
.open-app p { color: var(--muted); margin: 12px auto 0; }
.open-app-code { font-size: 24px; font-weight: 800; letter-spacing: 0.08em; color: var(--ink) !important; }
.open-app-code[hidden] { display: none; }
.open-app .actions { display: flex; justify-content: center; margin: 28px 0 44px; }
.open-app h2 { font-size: 20px; }
.open-app .stores { justify-content: center; margin-top: 20px; }

.not-found { min-height: 64vh; display: grid; place-items: center; text-align: center; padding: 48px 0 96px; }
.not-found .big { font-size: clamp(110px, 24vw, 200px); font-weight: 800; line-height: 1; letter-spacing: -0.05em; display: flex; align-items: center; justify-content: center; gap: 0.06em; }
.not-found .zero { display: inline-block; width: 0.78em; height: 0.78em; border-radius: 50%; background: var(--hero); position: relative; animation: bob 4s ease-in-out infinite; }
.not-found .zero::after { content: ""; position: absolute; inset: 22%; background: var(--ink); -webkit-mask: url("/assets/img/mark.png") center / contain no-repeat; mask: url("/assets/img/mark.png") center / contain no-repeat; }
.not-found h1 { font-size: clamp(30px, 5vw, 44px); margin-top: 20px; }
.not-found p { color: var(--muted); margin: 12px auto 28px; max-width: 30em; }
.not-found .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ----------------------------------------------------------- footer ----- */
.site-footer { padding: 64px 0 40px; margin-top: 24px; border-top: 1.5px solid var(--divider); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { color: var(--muted); margin: 14px 0 22px; max-width: 26em; }
.footer-brand .store { min-height: 50px; font-size: 16px; }
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
.footer-col a { text-decoration: none; font-weight: 600; word-break: break-word; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1.5px solid var(--divider); color: var(--muted); font-size: 14.5px; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ----------------------------------------------------- scroll reveal ---- */
.js [data-reveal] { opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 0.6s var(--emph), transform 0.8s var(--springy); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------ reduce motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ utils ----- */
.mt-sm { margin-top: 14px; }
.mt-md { margin-top: 24px; }
.mt-xl { margin-top: 72px; }
.h-sm { font-size: clamp(26px, 3.6vw, 34px) !important; }
.h-card { font-size: 19px; }
.center-cta { text-align: center; margin-top: 32px; color: var(--muted); }
.center-row { justify-content: center; }
.d1 { --d: 0.07s; } .d2 { --d: 0.14s; } .d3 { --d: 0.21s; }
