/* ============================================================
   Pluck — glass over a cherry branch.

   One photograph runs behind every page: sweet cherries hanging in
   pairs on a sunlit branch (CC BY-SA 4.0, see data/photo.json and
   /credits). The mark is that photograph reduced to three shapes,
   so the logo and the ground are one picture.

   Bands are thin glass; every word sits on a surface of its own —
   card, sheet, chip — and never on the bare photograph, because
   every contrast failure this family of sites has shipped was a
   sentence standing on a picture.

   COLOUR IS NOT DEFINED HERE. css/tokens.css is generated by
   tools/palette.mjs, which solves each colour in OKLCh against the
   gamut at its own lightness and refuses to write the file unless
   every pair holds. tools/validate.mjs refuses any hex literal in
   this file that is not white.
   ============================================================ */
@import url("tokens.css");

:root {
  --r: 26px;
  --r-sm: 18px;
  --r-xs: 12px;
  --maxw: 1220px;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ground-fill);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mono, code { font-family: var(--mono); font-size: .88em; }
.num { font-variant-numeric: tabular-nums; }
.up { color: var(--up); }
.down { color: var(--down); }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.centre { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--wash-2); }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }

/* ---------- the photograph ---------- */
.ground {
  position: fixed; inset: -40px; z-index: -3;
  /* 50% across, 46% down: the two hanging pairs stay in frame at every width this
     is measured at. `cover` scales by the constrained axis, so on a wide window the
     vertical position is the only lever there is. */
  background: var(--ground-fill) url("../img/ground.jpg") 50% 46% / cover no-repeat;
}
@media (max-width: 760px) { .ground { background-image: url("../img/ground-1280.jpg"); background-position: 62% 50%; } }
.scrim {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(var(--bright-rgb), .12), transparent 70%),
    linear-gradient(180deg, rgba(var(--bright-rgb), .03) 0%, rgba(var(--bright-rgb), .08) 60%, rgba(var(--bright-rgb), .12) 100%);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: -.005em;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; user-select: none;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease, opacity .2s;
}
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-sm { padding: 7px 14px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--leaf); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--leaf-2); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(var(--ink-rgb), .30); }
.btn-cherry { background: var(--cherry); color: #fff; }
.btn-cherry:hover:not(:disabled) { background: var(--cherry-ink); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(var(--cherry-rgb), .32); }
.btn-glass { background: rgba(255, 255, 255, .86); color: var(--ink); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.btn-glass:hover:not(:disabled) { background: #fff; transform: translateY(-1px); }
.btn-quiet { background: var(--wash); color: var(--ink); }
.btn-quiet:hover:not(:disabled) { background: var(--wash-2); }
.btn .arrow {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px;
  background: rgba(255, 255, 255, .2); font-size: 13px; line-height: 1; margin-right: -8px;
}
.btn-glass .arrow, .btn-quiet .arrow { background: var(--wash); }

/* ---------- chips / eyebrows ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255, 255, 255, .86); color: var(--ink-2);
  backdrop-filter: var(--blur-lite); -webkit-backdrop-filter: var(--blur-lite);
}
.chip b { color: var(--ink); font-weight: 700; }
.chip .pip { width: 8px; height: 8px; border-radius: 50%; background: var(--cherry); flex: none; }
.chip.soft { background: rgba(var(--glass), .9); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); flex: none; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--up-rgb), .45); } 70% { box-shadow: 0 0 0 9px rgba(var(--up-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--up-rgb), 0); } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--cherry); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; padding: 14px 0; }
.nav-inner {
  position: relative; display: flex; align-items: center; gap: 20px; height: 62px; padding: 0 10px 0 14px;
  border-radius: 999px; background: rgba(var(--glass), .78);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 2px 12px rgba(var(--ink-rgb), .08);
}
.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brand [data-mark] { display: block; width: 32px; height: 32px; }
.brand [data-mark] svg { display: block; width: 100%; height: 100%; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 27px; letter-spacing: -.025em; line-height: 1; color: var(--ink); }
.nav-links { display: flex; gap: 2px; margin-left: 4px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; transition: background .15s, color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: var(--wash); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 999px; border: 0; background: var(--wash); cursor: pointer; place-items: center; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; background: var(--wash); color: var(--ink-2); flex: none; }
.icon-btn svg { width: 16px; height: 16px; fill: currentColor; }
.icon-btn:hover { background: var(--wash-2); color: var(--ink); }
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; flex: none; }
  .nav-inner { gap: 10px; padding-right: 8px; }
  .nav-inner.open .nav-links {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 72px;
    padding: 12px; border-radius: 22px; background: rgba(var(--glass), .97); box-shadow: var(--shadow);
  }
  .nav-inner.open .nav-links a { padding: 12px 14px; font-size: 16px; }
}
@media (max-width: 520px) {
  .nav .wrap { padding: 0 12px; }
  .nav-inner { height: 58px; padding-left: 12px; }
  .brand-name { font-size: 24px; }
  .nav-right .btn { padding: 9px 14px; font-size: 14px; }
  .nav-right .btn .arrow { display: none; }
}

/* ---------- hero ---------- */
.hero { padding: 26px 0 26px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 18px; align-items: start; }
.hero-card, .live-card {
  position: relative; border-radius: 40px;
  background: rgba(var(--glass), .56);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 40px 100px rgba(var(--ink-rgb), .18);
}
.hero-card { padding: 44px 46px 36px; display: flex; flex-direction: column; }
.wordmark {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-weight: 600; font-size: clamp(66px, 9vw, 120px);
  line-height: .9; letter-spacing: -.045em; margin: 22px 0 14px; color: var(--ink);
}
.wordmark [data-mark] { width: .8em; height: .8em; flex: none; }
.wordmark [data-mark] svg { width: 100%; height: 100%; display: block; }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 3.4vw, 42px); line-height: 1.06; letter-spacing: -.02em; color: var(--ink);
}
/* Cherry as TYPE, at display size, on --surface-2 or thicker only (tools/palette.mjs). The hero
   card is thinner than that, so the emphasis there is leaf, and the fruit carries the mark. */
.hero h1 em { font-style: italic; color: var(--leaf); }
.hero .lede { max-width: 560px; margin-top: 14px; font-size: 17.5px; color: var(--ink-2); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; padding-top: 30px; }
.stat { padding: 14px 16px; border-radius: var(--r-sm); background: var(--surface-2); }
.stat .k { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.stat .v { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.1; margin-top: 4px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat .s { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.skel { display: inline-block; min-width: 3.2em; height: .9em; border-radius: 6px; background: linear-gradient(90deg, rgba(var(--ink-rgb), .08), rgba(var(--ink-rgb), .16), rgba(var(--ink-rgb), .08)); background-size: 200% 100%; animation: sk 1.3s infinite linear; vertical-align: -.05em; }
@keyframes sk { to { background-position: -200% 0; } }

/* the live payment beside the hero */
.live-card { padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 14px; }
.live-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.live-head h3 { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.05; letter-spacing: -.02em; }
.live-head .sub { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.payto { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; background: var(--surface-3); }
.payto .who { flex: 1; min-width: 0; }
.payto .who b { display: block; font-size: 14px; }
.payto .who span { display: block; font-size: 12.5px; color: var(--ink-3); }
/* --cherry as type, at 30px, on --surface-3: proved at 3:1 over body glass, and this is thicker. */
.payto .amt { font-family: var(--serif); font-weight: 600; font-size: 30px; letter-spacing: -.02em; color: var(--cherry-ink); font-variant-numeric: tabular-nums; }
.legs { list-style: none; display: grid; gap: 4px; }
.legs li { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 10px 7px 8px; border-radius: 14px; background: rgba(255, 255, 255, .68); }
.legs .t { display: block; font-weight: 700; font-size: 14.5px; line-height: 1.2; }
.legs .n { display: block; font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legs .r { text-align: right; font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 700; line-height: 1.2; }
.legs .r small { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.legs .bar { grid-column: 2 / 4; height: 4px; border-radius: 4px; background: var(--wash); overflow: hidden; margin-top: -2px; }
.legs .bar i { display: block; height: 100%; border-radius: 4px; background: var(--cherry); }
.legs li.idle { opacity: .72; }
.legs li.idle .bar i { background: transparent; }
.live-err { padding: 14px !important; display: block !important; color: var(--down); }
.live-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); font-size: 13.5px; color: var(--ink-2); flex-wrap: wrap; }
.live-foot b { color: var(--ink); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.compare button { text-align: left; border: 2px solid transparent; background: rgba(255, 255, 255, .64); padding: 10px 12px; border-radius: 16px; cursor: pointer; }
.compare button.on { background: #fff; border-color: var(--leaf); }
.compare .k { display: block; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.compare .v { display: block; font-family: var(--serif); font-weight: 600; font-size: 22px; font-variant-numeric: tabular-nums; }
.compare .s { display: block; font-size: 12px; color: var(--ink-2); }
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { padding: 34px 24px 26px; border-radius: 32px; }
  .live-card { border-radius: 32px; }
}
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .stat:last-child { grid-column: span 2; }
  .live-head h3 { font-size: 25px; }
  .wordmark { gap: 10px; }
  .payto .amt { font-size: 25px; }
}

/* ticker badges: a leaf-green square with the symbol in white */
.tk {
  flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  font-size: 10px; font-weight: 800; letter-spacing: .01em; color: #fff; line-height: 1; background: var(--leaf);
}
.tk.cash { background: var(--cherry); }

/* ---------- thin strip ---------- */
.strip { padding: 6px 0 20px; }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.strip .chip { font-size: 13.5px; padding: 8px 15px; }

/* ---------- sections ---------- */
.section { padding: 68px 0; }
/* Thin glass bands, feathered at both ends so they read as light on the photograph. */
.band { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .07) 120px, rgba(255, 255, 255, .07) calc(100% - 120px), rgba(255, 255, 255, 0) 100%); }
.band-2 { background: linear-gradient(180deg, rgba(var(--glass), 0) 0, rgba(var(--glass), .15) 120px, rgba(var(--glass), .15) calc(100% - 120px), rgba(var(--glass), 0) 100%); }
.section-head {
  max-width: 800px; margin: 0 auto 34px; text-align: center;
  padding: 26px 34px 28px; border-radius: 34px; background: var(--surface-2);
  backdrop-filter: var(--blur-lite); -webkit-backdrop-filter: var(--blur-lite);
}
.section-head h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 56px);
  line-height: 1.03; letter-spacing: -.03em; margin-top: 12px;
}
.section-head h2 em { font-style: italic; color: var(--cherry-ink); }
.section-head p { margin-top: 12px; font-size: 17px; color: var(--ink-2); }

.card { background: var(--surface-2); border-radius: var(--r); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.12; letter-spacing: -.015em; }
.card p { color: var(--ink-2); margin-top: 8px; }
.card p a, .note a, .prose a, .a a, .fine a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-2 .card { padding: 28px; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }

/* steps */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card { padding: 28px; display: flex; flex-direction: column; }
.step-card .n { font-family: var(--serif); font-weight: 600; font-size: 54px; line-height: .9; color: var(--cherry-ink); }
.step-card h3 { margin-top: 14px; font-size: 28px; }
.step-card .what { margin-top: auto; padding-top: 18px; }
.step-card .what span { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; color: var(--ink-2); padding: 6px 12px; border-radius: 999px; background: var(--wash); }
@media (max-width: 980px) { .trio { grid-template-columns: 1fr; } }

/* the transaction, drawn as a receipt on the dark pane */
.receipt-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.receipt {
  padding: 28px; border-radius: var(--r); color: #fff;
  background: rgba(var(--ink-rgb), .88); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
}
.receipt h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; color: #fff; }
.receipt ol { list-style: none; margin-top: 18px; display: grid; gap: 6px; counter-reset: c; }
.receipt li { counter-increment: c; display: grid; grid-template-columns: 18px 84px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .10); font-size: 14.5px; }
.receipt li::before { content: counter(c); font-family: var(--mono); font-size: 12px; color: var(--bright); }
.receipt li b { color: #fff; font-weight: 700; }
.receipt li span { color: var(--bright); }
.receipt li i { font-style: normal; font-family: var(--mono); font-size: 12.5px; color: var(--sprout); text-align: right; white-space: nowrap; }
.receipt li.pay i { color: var(--blush); }
.receipt .rfoot { margin-top: 14px; font-size: 13.5px; color: var(--bright); }
.receipt code { color: var(--sprout); }
.guard-list { display: grid; gap: 10px; }
.guard { padding: 20px 22px; border-radius: var(--r-sm); background: var(--surface-2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.guard h4 { font-size: 16.5px; font-weight: 800; display: flex; gap: 10px; align-items: center; }
.guard h4 .ico { width: 26px; height: 26px; border-radius: 8px; background: var(--leaf); display: grid; place-items: center; flex: none; color: #fff; font-size: 13px; }
.guard p { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }
@media (max-width: 980px) { .receipt-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .receipt li { grid-template-columns: 18px minmax(0, 1fr) auto; } .receipt li span { grid-column: 2 / 4; grid-row: 2; } }

/* the choice: cheapest vs keep my mix */
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choice .card { padding: 28px; }
.choice .big { font-family: var(--serif); font-weight: 600; font-size: 56px; line-height: 1; letter-spacing: -.03em; margin-top: 12px; font-variant-numeric: tabular-nums; }
.choice .big small { font-size: 20px; color: var(--ink-3); font-weight: 500; letter-spacing: 0; }
.choice .tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--blush); color: var(--cherry-ink); }
.choice .tag.leafy { background: rgba(var(--leaf-rgb), .12); color: var(--leaf); }
.split-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; margin-top: 16px; background: var(--wash); gap: 2px; }
.split-bar i { display: block; height: 100%; background: var(--leaf); }
.split-bar i:nth-child(2n) { background: var(--leaf-2); }
.split-bar.cherry i { background: var(--cherry); }
.split-bar.cherry i:nth-child(2n) { background: var(--cherry-ink); }
.split-key { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.split-key span { font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .72); color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .choice { grid-template-columns: 1fr; } }

/* figures and tables */
.fig-card { padding: 24px; }
.fig-card .k { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.fig-card .v { font-family: var(--serif); font-weight: 600; font-size: 46px; line-height: 1.05; letter-spacing: -.03em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.fig-card p { font-size: 14.5px; }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-bottom: 20px; }
/* A THIN card with its rows as the surfaces. The first version was an 86% pane with 70% rows on
   it, and the frame over the cost table measured 41.8% flat, chroma 0.026, busy 0.2 — the reference's
   flattest frame is 16%. The photograph now shows between the rows; the rows carry the type. */
.table-card { padding: 22px 22px 18px; margin-top: 16px; background: rgba(var(--glass), .30); backdrop-filter: var(--blur-lite); -webkit-backdrop-filter: var(--blur-lite); }
.table-card > h3, .table-card > p { display: inline-block; padding: 6px 14px; border-radius: 14px; background: var(--surface-3); }
.table-card > p { margin-top: 8px; }
.table-scroll { overflow-x: auto; margin-top: 14px; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0 7px; font-size: 14.5px; min-width: 560px; }
.tbl th { text-align: left; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); font-weight: 800; padding: 6px 12px; white-space: nowrap; background: var(--surface-3); }
.tbl th:first-child { border-radius: 10px 0 0 10px; }
.tbl th:last-child { border-radius: 0 10px 10px 0; }
.tbl td { padding: 10px 12px; background: rgba(255, 255, 255, .8); font-variant-numeric: tabular-nums; }
.tbl td:first-child { border-radius: 12px 0 0 12px; }
.tbl td:last-child { border-radius: 0 12px 12px 0; }
.tbl .r, .tbl th.r { text-align: right; }
.tbl tbody tr:nth-child(n+9) { display: none; }
.tbl.all tbody tr { display: table-row; }
.tbl-more { display: flex; justify-content: center; margin-top: 12px; }
.venue { display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.venue.v3 { background: rgba(var(--leaf-rgb), .12); color: var(--leaf); }
.venue.v4 { background: var(--blush); color: var(--cherry-ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--r-sm); background: var(--surface-2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); }

/* ---------- CTA slab + footer ---------- */
.slab {
  margin-top: 40px; border-radius: 36px; padding: 56px 40px; text-align: center; color: #fff;
  background: rgba(var(--ink-rgb), .86); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
}
.slab [data-mark] { display: block; width: 64px; height: 64px; margin: 0 auto 14px; }
.slab h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 58px); line-height: 1.03; letter-spacing: -.03em; }
.slab h2 em { color: var(--blush); }
.slab p { color: var(--bright); max-width: 560px; margin: 14px auto 0; font-size: 17px; }
.slab .hero-cta { justify-content: center; }

.foot { padding: 30px 0 40px; }
.foot-card { padding: 30px 32px 24px; border-radius: 30px; background: var(--surface-2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.foot-brand { display: flex; align-items: center; gap: 9px; }
.foot-brand [data-mark] { width: 28px; height: 28px; }
.foot-brand b { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: -.02em; }
.foot-grid h5 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.foot-grid a { display: block; color: var(--ink-2); padding: 3px 0; font-size: 14.5px; }
.foot-grid a:hover { color: var(--ink); }
.foot-grid .blurb { color: var(--ink-2); font-size: 14.5px; margin-top: 12px; max-width: 340px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: span 2; } }

/* ---------- reveal ---------- */
.js .rise { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rise { opacity: 1; transform: none; transition: none; } .live-dot { animation: none; } html { scroll-behavior: auto; } }

/* ============================================================
   App
   ============================================================ */
.app-main { padding: 6px 0 60px; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.app-top .title { padding: 10px 20px; border-radius: 999px; background: var(--surface-2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.app-top .title h1 { font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: -.02em; }
.acct-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 14px; border-radius: 999px; background: var(--surface-3); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); font-size: 14px; color: var(--ink-2); }
.acct-chip b { color: var(--ink); font-variant-numeric: tabular-nums; }

.work { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px; align-items: start; }
@media (max-width: 1060px) { .work { grid-template-columns: 1fr; } }
.box { padding: 24px; border-radius: var(--r); background: var(--surface-2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); min-width: 0; }
.box + .box { margin-top: 16px; }
.box h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.08; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.box h2 .n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--leaf); color: #fff; font-family: var(--sans); font-size: 14px; font-weight: 800; flex: none; }
.box .sub { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }
.stack { display: grid; gap: 12px; margin-top: 16px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }

.lbl { font-size: 12.5px; font-weight: 800; color: var(--ink-2); letter-spacing: .02em; }
.input {
  display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 14px; border-radius: 16px;
  background: var(--surface-3); border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s; min-width: 0;
}
.input:focus-within { border-color: rgba(var(--leaf-rgb), .5); box-shadow: 0 0 0 4px rgba(var(--leaf-rgb), .12); }
.input input, .input select { border: 0; outline: 0; background: transparent; font-size: 16px; font-weight: 600; width: 100%; color: var(--ink); min-width: 0; }
.input .unit { font-size: 14px; font-weight: 800; color: var(--ink-3); }
.input.bad { border-color: rgba(var(--down-rgb), .55); }

.payee { display: grid; grid-template-columns: minmax(0, 1fr) 150px 40px; gap: 8px; align-items: center; }
.payee .addr input { font-family: var(--mono); font-size: 14px; font-weight: 500; }
.payee .usd input { font-size: 18px; text-align: right; font-variant-numeric: tabular-nums; }
.rm { border: 0; background: var(--wash); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; color: var(--ink-2); font-size: 18px; }
.rm:hover { background: var(--wash-2); color: var(--ink); }
@media (max-width: 560px) { .payee { grid-template-columns: minmax(0, 1fr) 40px; } .payee .usd { grid-column: 1; grid-row: 2; } }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--surface-3); }
.total span { font-weight: 700; color: var(--ink-2); }
.total b { font-family: var(--serif); font-weight: 600; font-size: 34px; letter-spacing: -.02em; color: var(--cherry-ink); font-variant-numeric: tabular-nums; }

.hold { list-style: none; display: grid; gap: 4px; margin-top: 12px; max-height: 420px; overflow: auto; }
.hold li { display: grid; grid-template-columns: 22px 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, .7); cursor: pointer; }
.hold li.off { opacity: .6; }
.hold input[type=checkbox], .hold input[type=radio] { width: 18px; height: 18px; accent-color: var(--leaf); }
.hold .t { display: block; font-weight: 700; font-size: 14.5px; line-height: 1.2; }
.hold .n { display: block; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hold .val { display: block; text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 14.5px; }
.hold .amt { display: block; font-size: 12.5px; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.empty { padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .7); color: var(--ink-2); font-size: 14px; text-align: center; }

.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--wash); gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.mini { border: 0; background: var(--wash); color: var(--ink); font-size: 12.5px; font-weight: 800; padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.mini:hover { background: var(--wash-2); }
.toggle { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--leaf); }

.review { position: sticky; top: 96px; }
.quote { border-radius: 16px; background: rgba(255, 255, 255, .72); padding: 14px 16px; display: grid; gap: 8px; font-size: 14px; }
.quote .row-between span:first-child { color: var(--ink-2); }
.quote .row-between span:last-child { font-variant-numeric: tabular-nums; font-weight: 700; text-align: right; }
.quote .big { font-family: var(--serif); font-weight: 600; font-size: 22px; }
.quote hr { border: 0; border-top: 1px solid var(--line); }
.warn { padding: 12px 14px; border-radius: 14px; background: var(--blush); color: var(--cherry-ink); font-size: 14px; font-weight: 600; }
.note { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .72); color: var(--ink-2); font-size: 14px; }
.okay { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .8); color: var(--up); font-size: 14px; font-weight: 700; }
.fine { font-size: 12.5px; color: var(--ink-2); }
.steps-mini { display: flex; gap: 6px; font-size: 12.5px; color: var(--ink-2); flex-wrap: wrap; }
.steps-mini span { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .7); font-weight: 700; }
.steps-mini span.on { background: var(--leaf); color: #fff; }
.steps-mini span.done { background: rgba(255, 255, 255, .9); color: var(--up); }
.paid { list-style: none; display: grid; gap: 4px; }
.paid li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .8); font-size: 14px; }
.paid li b { font-variant-numeric: tabular-nums; color: var(--up); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(var(--ink-rgb), .44); }
.modal-card { width: 100%; max-width: 440px; max-height: min(640px, 90vh); display: flex; flex-direction: column; border-radius: 26px; background: rgba(var(--glass), 1); box-shadow: var(--shadow-lg); overflow: hidden; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px 12px; gap: 12px; }
.modal-head h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; }
.x { border: 0; background: var(--wash); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 18px; flex: none; }
.modal-body { padding: 0 14px 18px; overflow: auto; display: grid; gap: 6px; }
.list-item { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: rgba(255, 255, 255, .8); padding: 12px; border-radius: 14px; cursor: pointer; text-align: left; font-weight: 700; }
.list-item:hover { background: #fff; }
.list-item img { width: 30px; height: 30px; border-radius: 8px; }

/* toasts */
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 120; max-width: min(440px, calc(100vw - 36px)); padding: 14px 16px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: var(--shadow); font-size: 14px; animation: tin .25s ease; }
.toast.bad { background: var(--down); }
.toast.ok { background: var(--up); }
.toast a { text-decoration: underline; }
@keyframes tin { from { transform: translateY(8px); opacity: 0; } }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: rot .8s linear infinite; flex: none; }
@keyframes rot { to { transform: rotate(360deg); } }

/* ---------- prose pages (docs, credits) ---------- */
.page { padding: 10px 0 40px; }
.sheet { padding: 44px 48px; border-radius: 32px; background: var(--surface-2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.prose { max-width: 800px; }
.prose h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 6vw, 66px); line-height: 1; letter-spacing: -.03em; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1.1; margin-top: 40px; letter-spacing: -.02em; }
.prose h3 { font-size: 18px; margin-top: 24px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16.5px; }
.prose p { margin-top: 12px; }
.prose ul, .prose ol { margin: 12px 0 0 22px; display: grid; gap: 6px; }
.prose code { background: rgba(var(--ink-rgb), .08); color: var(--ink); padding: 1px 6px; border-radius: 6px; }
.prose pre { margin-top: 14px; padding: 16px 18px; border-radius: 16px; background: var(--ink); color: var(--bright); overflow: auto; font-size: 13px; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose .lede { font-size: 19px; color: var(--ink-2); margin-top: 14px; }
.docs-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: start; }
.toc { position: sticky; top: 96px; padding: 18px; border-radius: 22px; background: var(--surface-2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); display: grid; gap: 2px; }
.toc a { font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 6px 10px; border-radius: 10px; }
.toc a:hover { background: var(--wash); color: var(--ink); }
.addr-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px; }
.addr-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.addr-table td:first-child { white-space: nowrap; }
.addr-table td:last-child { font-family: var(--mono); font-size: 12.5px; overflow-wrap: anywhere; }
.addr-table a { text-decoration: underline; text-underline-offset: 2px; }
.credit-photo { margin-top: 18px; border-radius: 20px; overflow: hidden; max-width: 560px; }
@media (max-width: 900px) { .docs-grid { grid-template-columns: 1fr; } .toc { position: static; grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .sheet { padding: 28px 20px; border-radius: 24px; } }

/* The source switch at the top of the app stands on the photograph itself, and a --wash tint
   over a photograph is a photograph: "My wallet" measured 3.67:1 there. It gets glass. */
.app-top .seg { background: var(--surface-3); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.app-top .seg button:not(.on) { color: var(--ink); }

/* The mark's <svg> carries an inline pixel size from js/mark.js; inside the wordmark it must follow
   the TYPE instead, or at 390 px a 96-px mark sits on top of a 66-px word and the headline. */
.wordmark [data-mark] svg, .slab [data-mark] svg, .foot-brand [data-mark] svg { width: 100% !important; height: 100% !important; }
/* The live chip is one phrase: as a flex row each text node became its own column and wrapped
   "Live / on" at 390 px. */
.hero .chip { display: inline-block; line-height: 1.45; }
.hero .chip .live-dot { display: inline-block; margin-right: 8px; vertical-align: 1px; }
@media (max-width: 560px) { .app-top .seg button { padding: 7px 11px; font-size: 13px; } }
