/* Same tokens as site/site.css and the app's Theme.swift. */
:root {
  --bg: #FFFFFF; --surface: #F3F5F4; --surface2: #E8ECEA; --ink: #10221E; --ink2: #5B6B66; --muted: #66736E; --line: #E6EAE8;
  --heat0: #F3F5F4; --heat1: #D7EBDF; --heat2: #9ACDB0; --heat3: #3E9A6E; --heat4: #0E5A3E;
  --night: #14211E; --night-ink: #E9F1ED; --night-ink2: #A9BDB5; --dot: #E4572E;
  --display: "Archivo Condensed", "Arial Narrow", sans-serif;
  --body: "Archivo", -apple-system, "Segoe UI", system-ui, sans-serif;
  --dots: radial-gradient(rgba(14,90,62,.13) 1.6px, transparent 2.1px);
  --shadow: 0 18px 40px -18px rgba(14,90,62,.35), 0 2px 8px rgba(16,34,30,.06);
  color-scheme: only light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; letter-spacing: -0.02em; line-height: .92; margin: 0; text-wrap: balance; }
/* One type scale for every page: page titles (h1), section titles (h2), card titles (h3). */
h1 { font-size: clamp(50px, 7vw, 104px); letter-spacing: -0.03em; line-height: .9; }
h2 { font-size: clamp(40px, 5.6vw, 76px); }
h3 { font-size: 30px; font-weight: 800; letter-spacing: -0.01em; line-height: 1; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 32px; }
/* One section rhythm: 120px top and bottom on desktop, 72px on phones. */
section { padding-block: clamp(72px, 9vw, 120px); }
.kicker { display: inline-block; font-size: 15px; font-weight: 700; color: var(--heat3); margin-bottom: 16px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink2); max-width: 46ch; }
/* A section heading block: kicker and title on the left, one line of copy on the right. */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px 60px; align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head .kicker { margin-bottom: 14px; }
.sec-head .lead { padding-bottom: 6px; }
.band-dark { background: var(--night); color: #fff; }
.band-dark .lead { color: var(--night-ink2); }
.band-dark .kicker { color: var(--heat2); }
.band-soft { background: var(--surface); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--heat2); outline-offset: 2px; border-radius: 8px; }
.pill { transition: background .2s, transform .15s, box-shadow .2s; }
.pill:active { transform: scale(.98); }
.pill.fill:hover { background: #0B4A33; }
.dotted { background-color: var(--bg); background-image: var(--dots); background-size: 26px 26px; }
.tally-svg { width: 100%; height: auto; }


/* Buttons: a filled pill with a round arrow, and an outlined pill. */
.pill { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; border-radius: 99px; font: 700 17px var(--body); text-decoration: none; white-space: nowrap; }
.pill.fill { background: var(--heat4); color: #fff; padding: 6px 6px 6px 26px; box-shadow: 0 12px 24px -12px rgba(14,90,62,.7); }
.pill.fill .arw { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--heat4); display: grid; place-items: center; transition: transform .2s; }
.pill.fill:hover .arw { transform: translateX(3px); }
.pill.fill .arw svg { width: 20px; height: 20px; }
.pill.line { padding: 0 26px; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); background: var(--bg); }
.pill.line:hover { background: var(--surface); }

/* 1-4 · Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(48px, 6.2vw, 94px); line-height: .9; letter-spacing: -0.03em; }
/* "Save more." in Ledger green on its own line; no marker box. */
.hero h1 em { display: block; font-style: normal; color: var(--heat3); }
.hero .lead { margin-top: 18px; }
/* Under the headline, the Month heat calendar in a strip: ten days fill in one by one, and the last one, today
   (outlined), fills when the phone's bank text arrives. Reduced motion: all filled, still. */
.hstrip { display: flex; gap: 6px; margin-top: 24px; }
.hstrip i { position: relative; width: 30px; height: 30px; flex: none; border-radius: 8px; background: var(--heat0); }
.hstrip i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--c, transparent); animation: cellin .4s cubic-bezier(.3,1.5,.5,1) calc(var(--n, 0) * 150ms + 250ms) backwards; }
.hstrip .c1 { --c: var(--heat1); } .hstrip .c2 { --c: var(--heat2); } .hstrip .c3 { --c: var(--heat3); } .hstrip .c4 { --c: var(--heat4); }
.hstrip i:nth-child(2) { --n: 1; } .hstrip i:nth-child(3) { --n: 2; } .hstrip i:nth-child(4) { --n: 3; } .hstrip i:nth-child(5) { --n: 4; }
.hstrip i:nth-child(6) { --n: 5; } .hstrip i:nth-child(7) { --n: 6; } .hstrip i:nth-child(8) { --n: 7; } .hstrip i:nth-child(9) { --n: 8; }
.hstrip .now, .hstrip .now::after { box-shadow: inset 0 0 0 2.5px var(--ink); }
.hstrip .now::after { --c: var(--heat2); animation: nowfill 7s ease-in-out 2s infinite backwards; }
@keyframes cellin { from { transform: scale(0); } }
@keyframes nowfill { 0%, 16% { transform: scale(0); } 22%, 78% { transform: none; } 86%, 100% { transform: scale(0); } }
/* One cycling word under the headline: plain green, a soft fade. Reduced motion: the first word, still. */
.cycle { margin-top: 22px; font: 700 clamp(20px, 2.1vw, 27px)/1.3 var(--body); letter-spacing: -.01em; color: var(--ink); }
/* The slot keeps its own width and glides to the next word's width, so the rest of the line never jumps; the old
   word rolls up and fades while the new one rolls in from below. */
.cw { color: var(--heat3); white-space: nowrap; display: inline-block; position: relative; vertical-align: bottom;
  height: 1.3em; overflow: hidden; }
.cw span { display: inline-block; }
.cw .cw-w { position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform, opacity; }
.cw .cw-in { animation: cwin .7s cubic-bezier(.22, 1, .36, 1) both; }
.cw .cw-out { animation: cwout .55s cubic-bezier(.64, 0, .78, 0) both; }
@keyframes cwin { from { opacity: 0; transform: translateY(70%); } to { opacity: 1; transform: none; } }
@keyframes cwout { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-70%); } }
.ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.reassure { margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
/* Heat-cell bullets (the calendar's day cells) in place of check marks. */
.reassure span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--heat2); margin-right: 7px; vertical-align: 0; }
.reassure span:nth-child(2)::before { background: var(--heat3); } .reassure span:nth-child(3)::before { background: var(--heat4); }

/* The hero's phone: the app's Month screen, drawn (as the live site's hero). A bank text drops in above the phone,
   today's cell fills, and the payment appears; then it loops. Tally sits on the corner. */
.host { position: relative; justify-self: center; width: min(360px, 82vw); }
/* Ledger's own in-app banner, inside the phone's screen under the island: no phone number, no Messages icon. */
.hnote { position: absolute; top: 40px; left: 12px; right: 12px; z-index: 3; display: grid; grid-template-columns: 34px 1fr auto; gap: 1px 10px; align-items: center; background: var(--ink); color: #fff; border-radius: 18px; padding: 10px 14px 10px 10px; box-shadow: 0 14px 30px -12px rgba(16,34,30,.55); line-height: 1.3; animation: hnote 7s ease-in-out 2s infinite backwards; }
.hnote .app { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; background: var(--heat3); display: grid; place-items: center; font: 900 17px/1 var(--display); color: #fff; }
.hnote b { font-size: 14px; font-weight: 700; }
.hnote small { display: block; color: rgba(255,255,255,.72); font-size: 12px; }
.hnote em { grid-row: span 2; align-self: start; font-style: normal; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.6); }
.hphone { position: relative; border-radius: 46px; border: 9px solid var(--ink); background: var(--bg); padding: 40px 18px 20px; box-shadow: 0 40px 70px -30px rgba(14,90,62,.45); display: grid; gap: 10px; }
.hphone::before { content: ""; position: absolute; top: 9px; left: 50%; translate: -50% 0; width: 82px; height: 22px; border-radius: 99px; background: var(--ink); }
.hp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.hp-head strong { font: 900 30px/1 var(--display); letter-spacing: -.01em; }
.hp-head span { font-weight: 800; font-variant-numeric: tabular-nums; }
.hp-wk, .hp-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.hp-wk span { text-align: center; font-size: 11px; font-weight: 700; color: var(--muted); }
.hp-cal i { aspect-ratio: 1; border-radius: 8px; background: var(--heat0); }
.hp-cal i.x { visibility: hidden; }
.hp-cal i.f { background: none; outline: 1.5px dashed var(--line); outline-offset: -1.5px; }
.hp-cal i.today { background: var(--heat2); outline: 2.5px solid var(--ink); outline-offset: -2.5px; animation: htoday 7s ease-in-out 2s infinite backwards; }
.hp-legend { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--muted); }
.hp-legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--heat0); }
.hp-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; font-weight: 700; font-size: 15px; background: var(--surface); border-radius: 16px; padding: 10px 12px; animation: hrow 7s ease-in-out 2s infinite backwards; }
.hp-row i { font-style: normal; width: 36px; height: 36px; border-radius: 11px; background: var(--heat1); display: grid; place-items: center; }
.hp-row small { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink2); }
.hp-row b { font-variant-numeric: tabular-nums; }
.hp-tally { position: absolute; right: -24px; top: 34px; width: 60px; z-index: 4; rotate: 8deg; filter: drop-shadow(0 10px 14px rgba(14,90,62,.3)); }
@keyframes hnote { 0%, 8% { opacity: 0; transform: translateY(-14px); } 14%, 74% { opacity: 1; transform: none; } 82%, 100% { opacity: 0; transform: translateY(-14px); } }
@keyframes htoday { 0%, 16% { background: var(--heat0); } 22%, 78% { background: var(--heat2); } 86%, 100% { background: var(--heat0); } }
@keyframes hrow { 0%, 20% { opacity: 0; transform: translateY(8px); } 26%, 76% { opacity: 1; transform: none; } 84%, 100% { opacity: 0; transform: translateY(8px); } }
.l1 { background: var(--heat1) !important; } .l2 { background: var(--heat2) !important; } .l3 { background: var(--heat3) !important; } .l4 { background: var(--heat4) !important; }

/* 5 · From bank text to done */
.how { padding-top: 0; }
.how-panel { background: var(--heat1); border-radius: 44px; padding: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 80px); align-items: center; position: relative; overflow: hidden; }
.how-panel::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(14,90,62,.12) 1.6px, transparent 2.1px); background-size: 26px 26px; pointer-events: none; }
.how-panel > * { position: relative; }
.how h2 { color: var(--ink); }
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 10px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 2px 16px; padding: 16px 18px; border-radius: 22px; background: rgba(255,255,255,.45); overflow: hidden; animation: stepOn 16s infinite both; }
/* Step numbers are calendar day cells, one shade darker each step (the heat scale); the step playing is ink. */
.steps li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--sc, var(--heat1)); color: var(--sci, var(--heat4)); font: 900 22px/44px var(--display); text-align: center; animation: numOn 16s infinite both; }
.steps li:nth-child(2) { --sc: var(--heat2); } .steps li:nth-child(3) { --sc: var(--heat3); --sci: #fff; } .steps li:nth-child(4) { --sc: var(--heat4); --sci: #fff; }
.steps b { font: 800 26px/1.05 var(--display); letter-spacing: -.01em; }
.steps span { color: #3B5149; font-size: 15.5px; }
.steps li i { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--heat3); transform-origin: left; transform: scaleX(0); animation: barOn 16s linear infinite both; }
.steps li:nth-child(2), .steps li:nth-child(2)::before, .steps li:nth-child(2) i, .shot:nth-child(2), .shot:nth-child(2) .over { animation-delay: 4s; }
.steps li:nth-child(3), .steps li:nth-child(3)::before, .steps li:nth-child(3) i, .shot:nth-child(3), .shot:nth-child(3) .over { animation-delay: 8s; }
.steps li:nth-child(4), .steps li:nth-child(4)::before, .steps li:nth-child(4) i, .shot:nth-child(4), .shot:nth-child(4) .over { animation-delay: 12s; }
@keyframes stepOn { 0%, 24% { background: #fff; box-shadow: 0 14px 30px -18px rgba(14,90,62,.5); } 27%, 100% { background: rgba(255,255,255,.45); box-shadow: none; } }
@keyframes numOn { 0%, 24% { background: var(--ink); color: #fff; } 27%, 100% { background: var(--sc, var(--heat1)); color: var(--sci, var(--heat4)); } }
@keyframes barOn { 0% { transform: scaleX(0); } 25% { transform: scaleX(1); opacity: 1; } 25.1%, 100% { transform: scaleX(1); opacity: 0; } }
.stage { position: relative; width: 290px; }
.sphone { position: relative; width: 100%; border-radius: 44px; background: var(--ink); padding: 9px; box-shadow: 0 40px 70px -30px rgba(14,90,62,.65); }
.sphone .scr { position: relative; border-radius: 36px; overflow: hidden; aspect-ratio: 600 / 1304; background: #fff; }
.shot { position: absolute; inset: 0; opacity: 0; animation: shotOn 16s infinite both; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
@keyframes shotOn { 0% { opacity: 0; transform: scale(1.02); } 2%, 24% { opacity: 1; transform: none; } 27%, 100% { opacity: 0; } }
.shot .scrim { position: absolute; inset: 0; background: linear-gradient(rgba(16,34,30,.42), rgba(16,34,30,.12) 45%, transparent); }
.notif { position: absolute; left: 8px; right: 8px; top: 46px; border-radius: 20px; padding: 10px 12px; background: rgba(255,255,255,.94); box-shadow: 0 10px 30px rgba(0,0,0,.22); display: grid; grid-template-columns: 30px 1fr; gap: 2px 10px; font-size: 11.5px; line-height: 1.35; }
.shot:nth-child(1) .over { animation: drop 16s infinite both; }
@keyframes drop { 0% { transform: translateY(-12px) scale(.94); } 3%, 100% { transform: none; } }
.notif .app { grid-row: span 2; width: 30px; height: 30px; border-radius: 8px; background: #34C759; display: grid; place-items: center; }
.notif .app svg { width: 18px; height: 18px; }
.notif .t { display: flex; justify-content: space-between; font-weight: 700; font-size: 12px; }
.notif .t small { font-weight: 500; color: var(--muted); }
.chip-on { position: absolute; left: 50%; translate: -50% 0; bottom: 22px; display: flex; align-items: center; gap: 8px; white-space: nowrap; background: var(--ink); color: #fff; border-radius: 99px; padding: 6px 12px 6px 6px; font: 700 12px var(--body); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.chip-on svg { width: 24px; height: 24px; }
.stage .reader { position: absolute; left: -54px; bottom: 40px; width: 92px; rotate: -8deg; filter: drop-shadow(0 12px 14px rgba(14,90,62,.3)); }

/* 6-7 · Chips and feature cards */
/* The promises as a calendar legend: one tray, each item led by a day cell, light to dark. */
.chips { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 6px; margin: 0 0 clamp(28px, 4vw, 44px); background: var(--surface); border-radius: 18px; width: fit-content; max-width: 100%; }
.chips li { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 11px; border-radius: 13px; background: var(--bg); font-weight: 700; font-size: 15.5px; }
.chips li svg { display: none; }
.chips li::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 4px; background: var(--heat1); }
.chips li:nth-child(2)::before { background: var(--heat2); } .chips li:nth-child(3)::before { background: var(--heat3); } .chips li:nth-child(4)::before { background: var(--heat4); }
.feat-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 60px; align-items: end; margin-bottom: 30px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--surface); border-radius: 32px; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card p { color: var(--ink2); font-size: 16px; }
.card .tag { align-self: flex-start; font: 700 11.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--heat4); background: var(--heat1); border-radius: 99px; padding: 5px 10px; margin-bottom: 6px; }
.mini { margin-top: 18px; background: var(--bg); border-radius: 22px; padding: 16px; box-shadow: 0 10px 30px -18px rgba(14,90,62,.4); display: grid; gap: 12px; }
.mrow { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mrow > div { flex: 1; min-width: 0; }
.mrow b { display: block; font-weight: 700; font-size: 15.5px; }
.mrow small { display: block; color: var(--ink2); font-size: 13px; }
.mrow .amt { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mrow .av { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--heat3); }
.mrow .sq { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--ink); color: #fff; }
.btn-s { border: 0; border-radius: 99px; background: var(--ink); color: #fff; font: 700 14px var(--body); padding: 10px 16px; cursor: pointer; }
.split-big { font: 900 44px/1 var(--display); letter-spacing: -.01em; }
.split-big em { font-style: normal; color: var(--heat3); }
.sep { height: 1px; background: var(--line); }
.bar { height: 12px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--heat3); transform-origin: left; animation: grow 1.4s cubic-bezier(.2,.8,.2,1) both; }
.bar i.warm { background: var(--heat4); }
@keyframes grow { from { transform: scaleX(0); } }
.bline { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.bline span { color: var(--ink2); font-weight: 500; }
.due { font: 700 12px var(--body); color: var(--heat4); background: var(--heat1); border-radius: 99px; padding: 4px 9px; white-space: nowrap; }
.due.soon { background: var(--heat4); color: #fff; }
/* Coupons: punched edges like a coupon strip. */
.coupons { display: grid; gap: 10px; }
.coupon { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; background: var(--heat4); color: #fff; border-radius: 16px; padding: 14px 20px 14px 22px; }
.coupon::before, .coupon::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); translate: 0 -50%; }
.coupon::before { left: -9px; } .coupon::after { right: -9px; }
.coupon b { font: 800 22px/1.05 var(--display); letter-spacing: -.005em; display: block; }
.coupon small { color: #CFE6DA; font-size: 13px; }
.coupon .stub { border-left: 2px dashed rgba(255,255,255,.35); padding-left: 14px; text-align: center; font: 900 24px/1 var(--display); }
.coupon .stub small { display: block; font: 600 11px var(--body); }
.coupon.alt { background: var(--heat1); color: var(--ink); }
.coupon.alt small { color: #3B5149; }
.coupon.alt .stub { border-color: rgba(14,90,62,.3); }

/* Transfers: the counted row, then the own-account row as the app's TransferRow draws it (white, dashed, "moved"). */
.xsum { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink2); }
.xsum strong { font: 900 30px/1 var(--display); letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.xrow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--surface); min-width: 0; }
.xrow > div { flex: 1; min-width: 0; }
.xrow b { display: block; font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xrow small { display: block; color: var(--muted); font-size: 12.5px; }
.xrow .xi { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--heat1); color: var(--heat4); display: grid; place-items: center; }
.xrow .xi svg { width: 18px; height: 18px; }
.xrow .xa { flex: none; text-align: right; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.xrow .xa small { font-weight: 600; }
.xrow.moved { background: var(--bg); border: 1.5px dashed var(--heat2); padding: 8.5px 10.5px; }
.xrow.moved b, .xrow.moved .xa { color: var(--muted); }
.xchip { display: inline-block; margin-top: 4px; font: 700 11.5px var(--body); color: var(--heat4); background: var(--heat1); border-radius: 99px; padding: 2px 8px; white-space: nowrap; }
.bar i.soft { background: var(--heat2); }
/* Categories: the Share · Change · Trend switch. */
.seg2 { display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--surface); width: max-content; max-width: 100%; }
.seg2 span { font: 700 13px var(--body); color: var(--ink2); padding: 6px 12px; border-radius: 99px; }
.seg2 .on { background: var(--bg); color: var(--ink); box-shadow: 0 2px 6px rgba(16,34,30,.1); }
/* Voice: what was said, then the payments it became. */
.vq { display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 16px; padding: 10px 14px 10px 10px; font-weight: 600; font-size: 15px; }
.vq .mic { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--heat3); display: grid; place-items: center; }
.vq .mic svg { width: 17px; height: 17px; }
/* Evening recap: the day's story card. */
.recap { background: var(--ink); color: #fff; border-radius: 18px; padding: 16px 18px; display: grid; gap: 2px; }
.recap small { color: var(--heat2); font-weight: 600; font-size: 13px; }
.recap b { font: 900 34px/1.05 var(--display); letter-spacing: -.01em; }
.recap span { color: #CFE6DA; font-size: 14px; }
.rstrip { display: flex; gap: 4px; margin-top: 10px; }
.rstrip i { width: 16px; height: 16px; border-radius: 5px; background: rgba(255,255,255,.12); }

/* Ledger Plus: one dark band. The module list and the selected module's text on the left, the turning honeycomb (the
   You tab's card, Ledger/Features/You/SubscriptionCard.swift) on the right. */
.plus-sec .ph { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 16px 60px; align-items: end; margin-bottom: 30px; }
.plus-tag { display: inline-flex; align-items: center; gap: 8px; font: 700 12px var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px 5px 5px; border-radius: 99px; background: var(--heat1); color: var(--heat4); margin-bottom: 18px; }
.plus-tag svg { width: 24px; height: 24px; }
.plus-sec h2 em { font-style: normal; color: var(--heat3); }
.pband { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(16px, 3vw, 36px); background: var(--ink); color: #fff; border-radius: 40px; padding: clamp(20px, 3vw, 36px); box-shadow: 0 50px 90px -40px rgba(14,90,62,.55); }
.pb-side { display: flex; flex-direction: column; min-width: 0; }
.pb-list { display: grid; gap: 4px; }
.pb-list button { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; border-radius: 18px; background: none; color: rgba(255,255,255,.55); font: 600 30px/1 var(--body); letter-spacing: -.01em; padding: 12px 18px; text-align: left; cursor: pointer; transition: background .3s, color .3s; }
.pb-list button.free { color: rgba(255,255,255,.28); }
.pb-list button:hover { color: #fff; }
.pb-list button[aria-pressed="true"] { background: rgba(255,255,255,.1); color: #fff; font-weight: 700; }
.pb-list button:focus-visible { outline: 2px solid var(--heat2); outline-offset: 2px; }
.pb-list i { font-style: normal; font: 800 10.5px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 5px 7px; border-radius: 7px; background: rgba(154,205,176,.16); color: var(--heat2); }
.pb-list i.later { background: rgba(255,255,255,.1); color: var(--night-ink2); }
.pb-text { margin-top: auto; padding-top: 26px; }
.pb-tag { display: inline-block; font: 800 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: var(--heat3); color: #fff; }
.pb-tag.later { background: rgba(255,255,255,.12); color: var(--night-ink2); }
.pb-tag.free { background: var(--heat1); color: var(--heat4); }
.pb-name { display: block; font: 900 46px/1 var(--display); letter-spacing: -.01em; margin-top: 12px; }
.pb-desc { color: var(--night-ink2); font-size: 16px; line-height: 1.5; margin-top: 8px; min-height: 4.5em; max-width: 42ch; }
.pb-prog { height: 3px; border-radius: 99px; background: rgba(255,255,255,.12); margin-top: 14px; overflow: hidden; transition: opacity .3s; }
.pb-prog.off { opacity: 0; }
.pb-prog i { display: block; height: 100%; border-radius: 99px; background: var(--heat2); transform-origin: left; transform: scaleX(0); }
.pb-field { position: relative; min-width: 0; height: 480px; overflow: hidden; border-radius: 28px; background: radial-gradient(closest-side, rgba(62,154,110,.18), transparent); }
.pb-spin { position: absolute; inset: 0; }
.pb-hx { position: absolute; left: 0; top: 0; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--body); color: #fff; will-change: transform; }
.pb-hx.lt { color: var(--ink); }
.pb-hx.ghost { background: rgba(255,255,255,.07); }
.pb-hx.empty { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.38); }
.pb-hx.dim { filter: saturate(.35) brightness(.8); }
.pb-hx .lab { width: 100%; height: 100%; display: grid; place-items: center; }
.pb-hx svg { width: 42%; height: 42%; }
.pb-chip { position: absolute; left: 50%; bottom: 20px; translate: -50% 0; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 24px); background: var(--bg); color: var(--ink); border-radius: 18px; padding: 9px 14px 9px 9px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.55); font: 600 15px/1.25 var(--body); white-space: nowrap; transition: opacity .2s, transform .2s; }
.pb-chip.out { opacity: 0; transform: translateY(6px); }
.pb-chip b { font-weight: 800; color: var(--heat4); }
.pb-chip .cav { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--heat3); color: #fff; display: grid; place-items: center; font: 800 12.5px var(--body); }
.pb-chip .cd { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--heat3); margin: 0 2px 0 8px; }
.pb-chip .cic { width: 32px; height: 32px; flex: none; border-radius: 10px; background: var(--heat1); color: var(--heat4); display: grid; place-items: center; }
.pb-chip .cic svg { width: 18px; height: 18px; }
.pb-chip em { flex: none; font-style: normal; font: 800 10.5px var(--body); letter-spacing: .06em; text-transform: uppercase; background: var(--surface2); color: var(--ink2); padding: 4px 8px; border-radius: 99px; }
.plus-free { margin-top: 22px; font-size: 15.5px; font-weight: 600; color: var(--ink2); }

/* 8 · Made for */
.made .tiles { margin-top: 34px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.tile { border-radius: 28px; padding: 22px 20px 24px; min-height: 290px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; min-width: 0; }
.tile .tic { width: 52px; height: 52px; border-radius: 16px; background: #fff; display: grid; place-items: center; color: var(--heat4); margin-bottom: auto; }
.tile .tic svg { width: 28px; height: 28px; }
.tile b { font: 900 30px/.95 var(--display); letter-spacing: -.01em; margin-top: 40px; }
.tile p { font-size: 15px; color: #3B5149; }
a.tile { text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(14,90,62,.5); }
.tile .read { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--heat4); margin-top: 4px; }
.tile .read svg { width: 16px; height: 16px; }
.t3 .read, .t5 .read { color: var(--heat2); }
.t1 { background: var(--heat1); } .t2 { background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); } .t2 .tic { background: var(--heat1); } .t3 { background: var(--heat4); color: #fff; } .t3 p { color: #CFE6DA; }
.t4 { background: var(--heat2); } .t5 { background: var(--night); color: #fff; } .t5 p { color: var(--night-ink2); }
.t3 .tic, .t5 .tic { background: rgba(255,255,255,.12); color: #fff; }

/* 9 · Priya's month */
.story-card { background: var(--bg); border-radius: 40px; box-shadow: 0 40px 80px -40px rgba(14,90,62,.45), 0 0 0 1px var(--line); padding: clamp(26px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); }
.story-card h2 { font-size: clamp(44px, 5.6vw, 76px); }
.story-card .lead { margin-top: 18px; }
.who { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 15px; color: var(--ink2); }
.who .av { width: 48px; height: 48px; border-radius: 50%; background: var(--heat2); color: var(--heat4); display: grid; place-items: center; font: 900 22px var(--display); }
.who b { color: var(--ink); display: block; }
.heat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.heat-head strong { font: 900 30px var(--display); }
.heat-head span { font-weight: 700; color: var(--ink2); font-variant-numeric: tabular-nums; }
.days { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 6px; }
.day { display: grid; gap: 5px; text-align: center; min-width: 0; }
.day i { aspect-ratio: 1; border-radius: 10px; background: var(--heat0); position: relative; }
.day small { font-size: 11.5px; font-weight: 700; color: var(--ink2); white-space: nowrap; }
.day.pay i { outline: 2.5px dashed var(--heat3); outline-offset: 2px; }
.day.today i { outline: 2.5px solid var(--ink); outline-offset: -2.5px; }
.flags2 { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--heat4); margin-top: 6px; }
.where { margin-top: 26px; }
.stack { display: flex; height: 18px; border-radius: 99px; overflow: hidden; gap: 3px; }
.stack i:nth-child(1) { background: var(--heat4); } .stack i:nth-child(2) { background: var(--heat3); } .stack i:nth-child(3) { background: var(--heat2); } .stack i:nth-child(4) { background: var(--heat1); } .stack i:nth-child(5) { background: var(--surface2); }
.legend { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 22px; font-size: 14.5px; }
.legend div { display: flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.legend b { margin-left: auto; font-variant-numeric: tabular-nums; }
.beats { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.beats li { display: grid; grid-template-columns: 70px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.beats time { font-weight: 800; color: var(--heat4); }
.beats span { color: var(--ink2); }
.beats span b { color: var(--ink); }

/* Privacy (kept) */
.safe { background: var(--night); color: #fff; text-align: center; overflow: hidden; }
.safe h2 { font-size: clamp(44px, 6.6vw, 88px); max-width: 15ch; margin-inline: auto; }
.safe .lead { color: var(--night-ink2); margin: 20px auto 0; }
.guard { position: relative; width: 140px; margin: 110px auto 100px; }
.ring { position: absolute; inset: -26%; border-radius: 50%; border: 3px dashed var(--heat2); animation: spin 20s linear infinite; }
.ring2 { position: absolute; inset: -50%; border-radius: 50%; border: 1.5px dashed rgba(154,205,176,.35); animation: spin 32s linear infinite reverse; }
@keyframes spin { to { transform: rotate(1turn); } }
.safe-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto; list-style: none; padding: 0; }
.safe-list li { border-radius: 99px; padding: 10px 18px; background: rgba(255,255,255,.07); color: var(--night-ink); font-weight: 600; font-size: 15.5px; }
.safe-list li::before { content: "\2713"; color: var(--heat2); font-weight: 800; margin-right: 8px; }
.safe-pts { list-style: none; padding: 0; margin: 0 auto 26px; max-width: 1000px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; text-align: left; }
.safe-pts li { background: rgba(255,255,255,.07); border-radius: 24px; padding: 20px; display: grid; gap: 12px; align-content: start; }
.sp-ic { width: 42px; height: 42px; border-radius: 13px; background: rgba(154,205,176,.16); color: var(--heat2); display: grid; place-items: center; }
.sp-ic svg { width: 22px; height: 22px; }
.safe-pts b { font-weight: 600; font-size: 17px; line-height: 1.4; color: var(--night-ink); }
@media (max-width: 760px) { .safe-pts { grid-template-columns: minmax(0, 1fr); } .safe-pts li { grid-template-columns: 42px 1fr; align-items: center; padding: 16px; } .safe-pts b { font-size: 15.5px; } }
.safe-more { margin-top: 24px; color: var(--night-ink2); font-size: 15px; }
.safe-more a { color: var(--heat2); font-weight: 700; }

/* 10 · Free pass ticket */
.pass .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.ticket { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 190px; filter: drop-shadow(0 30px 40px rgba(14,90,62,.3)); }
.tk-main, .tk-stub { position: relative; padding: clamp(24px, 3.4vw, 38px); }
.tk-main { background: var(--heat4); color: #fff; border-radius: 30px 0 0 30px;
  -webkit-mask: radial-gradient(circle 16px at 100% 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 16px at 100% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 16px at 100% 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 16px at 100% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; }
.tk-stub { background: var(--heat1); border-radius: 0 30px 30px 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 14px; text-align: center;
  -webkit-mask: radial-gradient(circle 16px at 0 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 16px at 0 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 16px at 0 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 16px at 0 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; }
.tk-stub::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; border-left: 3px dashed rgba(14,90,62,.35); }
.tk-k { display: flex; align-items: center; gap: 10px; font: 700 13px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--heat2); }
.tk-k svg { width: 28px; height: 28px; border-radius: 9px; box-shadow: 0 0 0 2px var(--heat2); }
.tk-main h3 { font: 900 clamp(40px, 5vw, 64px)/.9 var(--display); letter-spacing: -.02em; margin-top: 18px; }
.tk-main h3 em { font-style: normal; color: var(--heat2); }
.tk-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; font-size: 15px; color: var(--night-ink); }
.tk-list li::before { content: "\2713"; color: var(--heat2); font-weight: 800; margin-right: 8px; }
.tk-plus { margin-top: 22px; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,.25); font-size: 15px; color: #fff; }
.tk-plus b { color: var(--heat2); }
.tk-plus a { color: var(--heat2); font-weight: 700; text-decoration: none; }
.tk-plus a:hover { text-decoration: underline; }
.tk-stub .adm { font: 700 11px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--heat4); }
.tk-stub .when { font: 900 44px/.9 var(--display); color: var(--heat4); }
.tk-stub .when small { display: block; font: 700 13px var(--body); color: #3B5149; margin-top: 6px; }
.code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; width: 100%; max-width: 120px; }
.code i { aspect-ratio: 1; border-radius: 3px; background: rgba(14,90,62,.14); }
.tk-stub .where2 { font-size: 12px; font-weight: 600; color: #3B5149; }
/* The free card (in place of the ticket): what's included, beside November with launch day marked. */
.launch { display: grid; grid-template-columns: minmax(0, 1fr) 250px; border-radius: 32px; overflow: hidden; box-shadow: 0 30px 50px -30px rgba(14,90,62,.45); }
.ln-main { background: var(--heat4); color: #fff; padding: clamp(24px, 3.4vw, 38px); background-image: radial-gradient(rgba(255,255,255,.07) 1.6px, transparent 2.1px); background-size: 22px 22px; }
.ln-main h3 { font: 900 clamp(40px, 5vw, 64px)/.9 var(--display); letter-spacing: -.02em; margin-top: 18px; }
.ln-main h3 em { font-style: normal; color: var(--heat2); }
.ln-main .tk-list li::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--heat2); margin-right: 8px; }
.ln-cal { background: var(--heat1); padding: 24px 22px; display: grid; align-content: center; gap: 8px; min-width: 0; }
.ln-head { display: flex; justify-content: space-between; align-items: baseline; }
.ln-head b { font: 900 26px/1 var(--display); color: var(--ink); }
.ln-head span { font: 700 11px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--heat4); }
.ln-wk, .ln-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.ln-wk span { text-align: center; font-size: 10.5px; font-weight: 700; color: #3B5149; }
.ln-grid i { aspect-ratio: 1; border-radius: 6px; background: rgba(255,255,255,.7); }
.ln-grid i.x { visibility: hidden; }
.ln-grid i.go { background: var(--heat4); color: #fff; display: grid; place-items: center; font: 900 15px var(--display); font-style: normal; outline: 2.5px solid var(--ink); outline-offset: 1px; }
.ln-when { margin: 6px 0 0; font-size: 14px; color: var(--ink); }
.ln-when b { font: 900 22px var(--display); margin-right: 6px; }
.ln-where { margin: 0; font-size: 12px; font-weight: 600; color: #3B5149; }
@media (max-width: 640px) { .launch { grid-template-columns: minmax(0, 1fr); border-radius: 26px; } }

/* Get Ledger: the two store buttons (dark pills with a plain phone icon; no store logos) */
.store-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 24px 0 18px; border-radius: 99px; background: #000; color: #fff; text-decoration: none; font: 700 17px var(--body); white-space: nowrap; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); transition: transform .2s, box-shadow .2s; }
.store-btn:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.store-btn:focus-visible { outline: 3px solid var(--heat2); outline-offset: 2px; }
.store-btn svg { width: 22px; height: 22px; flex: none; }
.store-fine { margin: 12px 0 0; font-size: 13px; color: var(--night-ink2); }
/* Home closing band (id="get"): green, as on How it works and the feature pages, with the store buttons */
.cta-band { padding: 40px 0 30px; }
.cta-band .cta-box { position: relative; overflow: hidden; border-radius: 32px; background: var(--heat4); color: #fff; text-align: center; padding: 58px 22px 54px; }
.cta-band .cta-box::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1.3px); background-size: 22px 22px; pointer-events: none; }
.cta-band h2 { position: relative; margin: 0; font: 900 clamp(40px, 6.4vw, 72px)/.92 var(--display); letter-spacing: -.01em; color: #fff; }
.cta-band .store-btns { position: relative; justify-content: center; margin-top: 28px; }
.cta-band .store-fine { position: relative; margin-top: 14px; color: var(--heat1); font-size: 13.5px; }
/* Ledger Plus closing section: the store buttons sit on the light dotted background */
.close .store-btns { justify-content: center; margin-top: 32px; }
.close .store-fine { color: var(--ink2); }
.get-card { background: var(--ink); color: #fff; border-radius: 44px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
.get-card::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1.6px, transparent 2.1px); background-size: 26px 26px; pointer-events: none; }
.get-card > * { position: relative; }
.get-card h2 em { font-style: normal; color: var(--heat2); }
.get-card .lead { color: var(--night-ink2); margin-top: 18px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.badge { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 20px 8px 14px; border-radius: 16px; background: #000; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); text-decoration: none; }
.badge svg { width: 26px; height: 26px; }
.badge span { display: grid; line-height: 1.1; }
.badge small { font-size: 11px; color: var(--heat2); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.badge b { font-size: 19px; font-weight: 700; }
.wl { background: rgba(255,255,255,.06); border-radius: 28px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; align-content: center; }
.wl h3 { font-size: 34px; font-weight: 900; }
.wl p { color: var(--night-ink2); font-size: 15.5px; }
.wl input { width: 100%; min-width: 0; min-height: 54px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; font: 500 17px var(--body); padding: 0 16px; }
.wl input::placeholder { color: rgba(233,241,237,.45); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border-radius: 14px; background: rgba(255,255,255,.08); }
.seg button { border: 0; border-radius: 11px; min-height: 46px; background: transparent; color: var(--night-ink2); font: 700 14px var(--body); cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--heat4); }
.wl .send { min-height: 54px; border: 0; border-radius: 99px; background: var(--heat2); color: var(--ink); font: 700 17px var(--body); cursor: pointer; }
.wl .fine { font-size: 13px; }

/* FAQ (kept) */
.faq .wrap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-side { position: sticky; top: 100px; }
.faq-side p { color: var(--ink2); margin-top: 18px; }
.faq-side a { color: var(--heat4); font-weight: 700; }
.qs { display: grid; gap: 10px; }
details { background: var(--surface); border-radius: 22px; padding: 0 22px; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 66px; font-weight: 700; font-size: 17.5px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-size: 22px; font-weight: 400; color: var(--heat4); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink2); padding-bottom: 20px; font-size: 16px; }
details a { color: var(--heat4); }

/* 11 · Closing tagline */
.close { text-align: center; }
.close .door { width: 110px; margin: 0 auto 28px; filter: drop-shadow(0 14px 18px rgba(14,90,62,.3)); }
.close h2 { font-size: clamp(54px, 9vw, 140px); line-height: .86; max-width: 12ch; margin-inline: auto; letter-spacing: -.03em; }
.close h2 span { display: block; color: var(--heat3); }
.close .ctas { justify-content: center; }
.close .reassure { justify-content: center; }

footer { border-top: 1px solid var(--line); padding-block: 40px 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
footer .logo { display: flex; align-items: center; gap: 10px; font: 900 26px var(--display); letter-spacing: -0.01em; text-decoration: none; color: var(--ink); }
footer .logo svg { width: 34px; height: 34px; }
footer .tag-s { font: 800 18px var(--display); color: var(--ink); letter-spacing: -.005em; margin-right: auto; }
footer .tag-s em { font-style: normal; color: var(--heat3); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer nav a { color: var(--ink2); text-decoration: none; font-weight: 600; transition: color .15s; }
footer nav a:hover { color: var(--heat4); }
footer .fine { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
footer .foot-more { width: 100%; gap: 6px 18px; font-size: 13.5px; }
footer .foot-more a { color: var(--muted); }

/* Tablet */
@media (max-width: 1080px) {
  .made .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile { min-height: 240px; }
}
@media (max-width: 900px) {
  .hero .wrap, .how-panel, .feat-head, .story-card, .pass .wrap, .get-card, .faq .wrap, .plus-sec .ph, .pband { grid-template-columns: minmax(0, 1fr); }
  .stage { justify-self: center; }
  .faq-side { position: static; }
  /* The band stacks: the list turns into a row of pills, the text under it, the honeycomb last. */
  .pb-list { display: flex; flex-wrap: wrap; gap: 6px; }
  .pb-list button { width: auto; font-size: 20px; padding: 9px 13px; border-radius: 99px; gap: 8px; }
  .pb-text { padding-top: 20px; }
  .pb-field { height: 380px; }
}
/* Phone: 16px gutter, nothing wider than the screen. */
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .logo { font-size: 24px; } .logo svg { width: 32px; height: 32px; }
  .hero { padding-top: 28px; }
  .hero h1 { font-size: clamp(42px, 12.2vw, 60px); }
  .pill { font-size: 16px; }
  .ctas { gap: 10px; }
  .ctas .pill { flex: 1 1 auto; justify-content: space-between; }
  .ctas .pill.line { justify-content: center; }
  .hstrip { gap: 5px; } .hstrip i { width: 26px; height: 26px; border-radius: 7px; }
  .host { width: min(300px, 78vw); margin-top: 10px; }
  .hnote { left: 10px; right: 10px; top: 36px; }
  .hp-tally { right: -12px; top: 40px; width: 48px; }
  .how { padding-top: 0; }
  .how-panel { border-radius: 30px; padding: 26px 16px 30px; }
  .steps li { padding: 12px 14px; grid-template-columns: 36px 1fr; gap: 2px 12px; }
  .steps li::before { width: 36px; height: 36px; font-size: 18px; line-height: 36px; }
  .steps b { font-size: 22px; } .steps span { font-size: 14.5px; }
  .stage { width: min(250px, 72vw); }
  .stage .reader { left: -40px; width: 70px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card { border-radius: 26px; padding: 20px 16px; }
  .chips li { font-size: 14.5px; padding: 8px 14px 8px 10px; }
  .made .tiles { grid-template-columns: minmax(0, 1fr); }
  .mini { padding: 14px 12px; }
  .xrow { gap: 10px; padding: 10px; }
  .xrow.moved { padding: 8.5px; }
  .pband { border-radius: 28px; padding: 16px 12px 12px; gap: 14px; }
  .pb-list { gap: 4px; }
  .pb-list button { font-size: 17px; padding: 8px 11px; gap: 6px; }
  .pb-list i { font-size: 9px; padding: 4px 5px; }
  .pb-text { padding: 16px 6px 0; }
  .pb-name { font-size: 36px; }
  .pb-desc { font-size: 15px; }
  .pb-prog { margin: 12px 6px 0; }
  .pb-field { height: 300px; border-radius: 20px; }
  .pb-chip { bottom: 14px; font-size: 13.5px; padding: 8px 12px 8px 8px; gap: 8px; }
  .pb-chip em { position: absolute; top: -11px; right: 12px; box-shadow: 0 4px 10px -4px rgba(0,0,0,.4); }
  .pb-chip .cav, .pb-chip .cic { width: 28px; height: 28px; }
  .tile { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 18px; }
  .tile .tic { margin: 0; width: 46px; height: 46px; }
  .tile b { margin: 0; font-size: 26px; flex: 1; min-width: 0; }
  .tile p { flex-basis: 100%; }
  .story-card { border-radius: 28px; padding: 22px 16px; }
  .days { gap: 4px; } .day i { border-radius: 7px; } .day small { font-size: 9.5px; }
  .legend { grid-template-columns: minmax(0, 1fr); }
  .beats li { grid-template-columns: 58px 1fr; gap: 10px; font-size: 14.5px; }
  .ticket { grid-template-columns: minmax(0, 1fr); }
  .tk-main { border-radius: 26px 26px 0 0;
    -webkit-mask: radial-gradient(circle 16px at 0 100%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 16px at 100% 100%, transparent 98%, #000) right / 51% 100% no-repeat;
            mask: radial-gradient(circle 16px at 0 100%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 16px at 100% 100%, transparent 98%, #000) right / 51% 100% no-repeat; }
  .tk-stub { border-radius: 0 0 26px 26px; flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; align-items: center;
    -webkit-mask: radial-gradient(circle 16px at 0 0, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 16px at 100% 0, transparent 98%, #000) right / 51% 100% no-repeat;
            mask: radial-gradient(circle 16px at 0 0, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 16px at 100% 0, transparent 98%, #000) right / 51% 100% no-repeat; }
  .tk-stub::before { left: 22px; right: 22px; top: 0; bottom: auto; border-left: 0; border-top: 3px dashed rgba(14,90,62,.35); }
  .tk-stub .when { font-size: 36px; }
  .code { max-width: 90px; }
  .tk-list { grid-template-columns: minmax(0, 1fr); }
  .get-card { border-radius: 30px; padding: 26px 16px; }
  .badge { flex: 1 1 140px; gap: 8px; padding: 8px 12px; }
  .badge svg { width: 22px; height: 22px; flex: none; }
  .badge small, .badge b { white-space: nowrap; }
  .badge small { font-size: 10px; }
  .badge b { font-size: 16px; }
  details { padding: 0 16px; }
  summary { font-size: 16.5px; }
  footer nav { gap: 8px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .shot:first-child { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ---------- Ledger Plus page (ledger-plus/index.html) ---------- */
.p-hero { padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 64px); }
.p-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px 60px; align-items: end; }
.p-hero h1 { font-size: clamp(56px, 7.4vw, 112px); line-height: .9; letter-spacing: -0.03em; }
.p-hero h1 em { font-style: normal; color: var(--heat3); }
.p-hero .lead { max-width: 40ch; }
.p-hero .ctas { margin-top: 22px; }
.svc { padding-block: clamp(56px, 8vw, 104px); }
.svc .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.svc.flip .svc-copy { order: 2; }
.svc-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.svc-tags .tag, .fm .tag { font: 700 11.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--heat4); background: var(--heat1); border-radius: 99px; padding: 5px 10px; }
.svc-tags .later { font: 700 11.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); background: var(--surface2); border-radius: 99px; padding: 5px 10px; }
.svc h2 { font-size: clamp(42px, 5.4vw, 72px); }
.svc .lead { margin-top: 16px; }
.svc-pts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; max-width: 52ch; }
.svc-pts li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 16px; line-height: 1.45; }
.svc-pts li::before { content: "\2713"; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--heat1); color: var(--heat4); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.svc-lock { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 7px 16px 7px 7px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14.5px; }
.svc-lock svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: rgba(154,205,176,.2); color: var(--heat2); flex: none; }
.svc-art { position: relative; background: var(--surface); background-image: var(--dots); background-size: 22px 22px; border-radius: 36px; padding: clamp(18px, 3vw, 36px); display: grid; gap: 14px; min-width: 0; }
.svc-art .mini { margin-top: 0; }
/* Split: the group's dark card, as on a group's page in the app. */
.sg-card { background: var(--ink); color: #fff; border-radius: 24px; padding: 20px; display: grid; gap: 16px; box-shadow: 0 30px 50px -30px rgba(14,90,62,.6); }
.sg-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sg-top b { display: block; font: 900 28px/1 var(--display); letter-spacing: -.01em; }
.sg-top small { color: var(--night-ink2); font-size: 13.5px; }
.faces { display: flex; flex: none; }
.faces span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--body); color: #fff; background: var(--heat3); box-shadow: 0 0 0 3px var(--ink); margin-left: -8px; }
.faces span:nth-child(2) { background: var(--heat4); } .faces span:nth-child(3) { background: var(--heat2); color: var(--ink); } .faces span:nth-child(4) { background: var(--heat1); color: var(--ink); }
.sg-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sg-nums div { background: rgba(255,255,255,.07); border-radius: 14px; padding: 10px 12px; min-width: 0; }
.sg-nums small { display: block; color: var(--night-ink2); font-size: 12.5px; }
.sg-nums b { display: block; font: 900 22px/1.1 var(--display); white-space: nowrap; }
.sg-nums b.g { color: var(--heat2); }
.sg-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sg-btns span { text-align: center; font-weight: 700; font-size: 15px; padding: 11px; border-radius: 99px; }
.sg-btns .b1 { background: var(--heat2); color: var(--ink); }
.sg-btns .b2 { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
/* Deals and Family mini UIs. */
.mine { display: inline-flex; flex: none; align-items: center; gap: 6px; font: 700 12px var(--body); color: var(--heat4); white-space: nowrap; }
.mine i { width: 9px; height: 9px; border-radius: 50%; background: var(--heat3); }
.mhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mhead b { font: 900 22px/1 var(--display); letter-spacing: -.01em; }
.mhead .later { font: 700 11px var(--body); letter-spacing: .06em; text-transform: uppercase; background: var(--surface2); color: var(--ink2); padding: 4px 9px; border-radius: 99px; }
.bar.duo { display: flex; gap: 3px; }
.bar.duo i { border-radius: 99px 0 0 99px; }
.bar.duo i.b2 { background: var(--heat2); border-radius: 0 99px 99px 0; }
.who2 { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; font-weight: 600; color: var(--ink2); }
.who2 span { display: inline-flex; align-items: center; gap: 6px; }
.who2 i { width: 10px; height: 10px; border-radius: 50%; background: var(--heat3); }
.who2 i.d2 { background: var(--heat2); }
.mk { font: 700 11.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--heat3); }
.share-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface); font-size: 15px; }
.share-row span { font: 700 12px var(--body); color: var(--heat4); background: var(--heat1); padding: 4px 9px; border-radius: 99px; }
.share-row.off { background: var(--bg); border: 1.5px dashed var(--line); padding: 8.5px 10.5px; color: var(--muted); }
.share-row.off span { background: var(--surface); color: var(--ink2); }
/* Free modules: Challenges and Goals. */
.fm .cards { margin-top: 0; }
/* Ledger Plus privacy: the dark band, three points. */
.p-safe h2 { max-width: 18ch; }

/* ---------- Blog page (blog/index.html) ---------- */
.b-hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.b-hero h1 { font-size: clamp(56px, 7.4vw, 112px); line-height: .9; letter-spacing: -0.03em; }
.b-hero .lead { margin-top: 20px; max-width: 50ch; }
.b-hero .tiles { margin-top: clamp(28px, 4vw, 44px); }
.posts { padding-top: 0; }
.posts h2 { font-size: clamp(40px, 5vw, 64px); }
.post-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; border-top: 1px solid var(--line); }
.post-list a { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background .2s; }
.post-list a:hover { background: var(--surface); }
.post-list .kind { font: 700 11.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--heat4); background: var(--heat1); border-radius: 99px; padding: 5px 10px; justify-self: start; }
.post-list b { font: 900 clamp(24px, 2.6vw, 32px)/1.05 var(--display); letter-spacing: -.01em; }
.post-list small { display: block; color: var(--ink2); font-size: 14.5px; margin-top: 4px; }
.post-list .go { font-weight: 700; font-size: 14px; color: var(--heat4); white-space: nowrap; }
.posts .more { margin-top: 22px; color: var(--muted); font-size: 15px; }

/* ---------- Features page (features/index.html): a row of feature tabs, one panel at a time ---------- */
.f-hero { padding-block: clamp(40px, 6vw, 72px) 0; }
.f-hero h1 { font-size: clamp(52px, 7vw, 104px); line-height: .9; letter-spacing: -0.03em; }
.f-hero h1 em { font-style: normal; color: var(--heat3); }
.f-hero .lead { margin-top: 18px; max-width: 54ch; }
.f-body { padding-block: clamp(28px, 4vw, 44px) clamp(56px, 8vw, 96px); }
/* Feature galleries, like Apple's "Get to know iPhone": a row of cards that scrolls sideways inside itself, the next
   card peeking in, paddles below on the right. "+" opens the feature's panel in a modal (ledger.js). */
.fgal { padding-block: clamp(36px, 5vw, 64px) 0; }
.fgal + .fgal { padding-top: clamp(48px, 6vw, 80px); }
.fgal h2 { font-size: clamp(40px, 5vw, 64px); }
.fg-row { --gut: max(32px, calc((100% - 1136px) / 2)); display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 28px var(--gut) 8px; scrollbar-width: none; scroll-behavior: smooth; }
.fg-row::-webkit-scrollbar { display: none; }
.fg-row:focus { outline: none; }
.fcard { position: relative; flex: none; width: 372px; height: 520px; scroll-snap-align: start; display: flex; flex-direction: column; background: var(--surface); border-radius: 28px; padding: 28px 28px 0; overflow: hidden; cursor: pointer; transition: transform .35s var(--spring, ease); }
.fcard:hover { transform: scale(1.012); }
.fc-k { font: 700 14px var(--body); color: var(--ink2); }
.fcard h3 { font: 900 clamp(28px, 2.4vw, 32px)/1 var(--display); letter-spacing: -.015em; margin-top: 8px; color: var(--ink); text-wrap: balance; }
.fc-art { position: relative; flex: 1 1 0; min-height: 0; margin: 18px -28px 0; }
.fc-art .svc-art { position: absolute; inset: 0; background: none; border-radius: 0; padding: 4px 24px 76px; display: flex; flex-direction: column; align-items: center; gap: 12px; overflow: hidden; pointer-events: none; }
.fc-art .svc-art > * { width: 100%; max-width: 316px; }
.fc-art .svc-art > .fphone { flex: 1 1 0; min-height: 0; width: auto; max-width: none; height: auto; aspect-ratio: 616 / 1320; box-shadow: none; }
.fc-art .svc-art > .fphone.short { aspect-ratio: 616 / 896; }
.fc-art .fphone img { height: 100%; width: 100%; object-fit: contain; }
.fc-art .fphone.short img { object-fit: cover; object-position: top; }
.fc-plus { position: absolute; right: 20px; bottom: 20px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s; }
.fc-plus svg { width: 18px; height: 18px; }
.fcard:hover .fc-plus { background: var(--heat4); }
.fc-plus:focus-visible { outline: 3px solid var(--heat2); outline-offset: 3px; }
.fcard:has(.fc-plus:focus-visible) { box-shadow: 0 0 0 3px var(--heat2); }
.fg-nav { display: flex; justify-content: flex-end; gap: 12px; padding-top: 14px; }
.paddle { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface2); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, opacity .2s; }
.paddle svg { width: 20px; height: 20px; }
.paddle:hover { background: var(--heat1); }
.paddle:disabled { opacity: .35; cursor: default; background: var(--surface2); }
.paddle:focus-visible { outline: 3px solid var(--heat2); outline-offset: 2px; }
/* With JavaScript the panels live in the modal; without it they show as a plain list. */
.js-gal .f-body .fpanels { display: none; }
.f-body .fpanel + .fpanel { margin-top: 26px; }
.js-gal .f-body { padding-top: clamp(32px, 4vw, 48px); }
html:not(.js-gal) .fgal { display: none; }
.fmodal { width: min(1040px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 32px; background: var(--bg); color: var(--ink); overflow: auto; overscroll-behavior: contain; }
.fmodal::backdrop { background: rgba(16, 34, 30, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.fmodal[open] { animation: fm-in .32s var(--spring, ease) both; }
@keyframes fm-in { from { opacity: 0; transform: scale(.96); } }
.fmodal .fpanel { margin: 0; box-shadow: none; border-radius: 0; min-height: 0; padding: clamp(28px, 4vw, 56px); padding-top: clamp(56px, 6vw, 64px); }
.fm-x { position: sticky; top: 14px; float: right; margin: 14px 14px -58px 0; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface2); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.fm-x svg { width: 18px; height: 18px; }
.fm-x:focus-visible { outline: 3px solid var(--heat2); outline-offset: 2px; }
@media (max-width: 640px) {
  .fg-row { --gut: 16px; gap: 14px; }
  .fcard { width: 82vw; height: 500px; padding: 24px 24px 0; }
  .fc-art { margin-inline: -24px; }
  .fmodal { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 26px; }
  .fmodal .fpanel { padding: 56px 18px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .fg-row { scroll-behavior: auto; }
  .fcard, .fcard:hover { transition: none; transform: none; }
  .fmodal[open] { animation: none; }
}
.fpanel { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; border-radius: 36px; padding: clamp(20px, 3.4vw, 44px); background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(14,90,62,.45); min-height: 520px; }
.fpanel[hidden] { display: none; }
.fpanel .k { font: 700 11.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--heat4); background: var(--heat1); border-radius: 99px; padding: 5px 10px; }
.fpanel h2 { font-size: clamp(40px, 4.6vw, 62px); margin-top: 14px; }
.fpanel .lead { margin-top: 14px; }
.fpanel .svc-pts { margin-top: 18px; }
.f-guide { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-weight: 700; font-size: 15px; color: var(--heat4); text-decoration: none; }
.f-guide:hover { text-decoration: underline; }
.f-more { margin-top: 26px; color: var(--ink2); font-size: 15.5px; }
.f-more a { color: var(--heat4); font-weight: 700; text-decoration: none; }
/* Mini UIs that only the Features page uses. */
.sms { justify-self: start; max-width: 92%; background: var(--surface2); border-radius: 18px 18px 18px 6px; padding: 11px 14px; font-size: 14.5px; line-height: 1.4; }
.sms small { display: block; font-weight: 700; font-size: 12px; color: var(--ink2); margin-bottom: 3px; }
.down { justify-self: center; width: 30px; height: 30px; border-radius: 9px; background: var(--heat1); color: var(--heat4); display: grid; place-items: center; }
.down svg { width: 16px; height: 16px; }
.tick { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 800 13px var(--body); }
.tick.on { background: var(--heat3); color: #fff; }
.tick.off { box-shadow: inset 0 0 0 2px var(--heat2); }
.mrow .meta { display: grid; justify-items: end; gap: 3px; flex: none; }
.mrow .meta small { font-size: 12px; }
.fphone { width: min(260px, 100%); margin-inline: auto; border-radius: 40px; background: var(--ink); padding: 8px; box-shadow: 0 30px 60px -30px rgba(14,90,62,.6); }
.fphone img { width: 100%; height: auto; border-radius: 32px; aspect-ratio: 600 / 1304; object-fit: cover; object-position: top; }
/* Screens whose lower part is empty (Left over): show the top of the screen only, down to the last line. */
.fphone.short img { aspect-ratio: 600 / 880; }
.monthc .hp-cal i.today { animation: none; }
.vq.ask { background: var(--surface); color: var(--ink); }
.vq.ask .mic { background: var(--heat1); color: var(--heat4); }
.answer { justify-self: end; max-width: 92%; background: var(--heat4); color: #fff; border-radius: 18px 18px 6px 18px; padding: 11px 14px; font-size: 14.5px; font-weight: 600; }
.ar-card { direction: rtl; text-align: right; font-family: var(--body), "Geeza Pro", "Noto Sans Arabic", sans-serif; }
.ar-card .mhead b { font-family: var(--body), "Geeza Pro", "Noto Sans Arabic", sans-serif; font-weight: 800; }

/* ---------- Homepage, the money-first story ---------- */
.noshame .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.noshame h2 { font-size: clamp(42px, 5.6vw, 76px); }
.noshame h2 em { font-style: normal; color: var(--heat3); }
.noshame .lead { margin-top: 18px; max-width: 46ch; }
.ns-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.ns-card { border-radius: 26px; padding: 18px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.ns-card .k { font: 700 11.5px var(--body); letter-spacing: .08em; text-transform: uppercase; }
.ns-card.old { background: var(--bg); border: 2px dashed var(--line); color: var(--muted); }
.ns-card.old .k { color: var(--muted); }
.ns-card.old p { margin: 0; font-size: 15px; text-decoration: line-through; text-decoration-color: rgba(102,115,110,.5); }
.ns-card.new { background: var(--heat1); }
.ns-card.new .k { color: var(--heat4); }
.ns-card.new .r { display: flex; justify-content: space-between; gap: 8px; background: var(--bg); border-radius: 12px; padding: 9px 11px; font-size: 14.5px; font-weight: 700; }
.ns-card.new .r span { font-weight: 600; color: var(--ink2); white-space: nowrap; }
.start .wrap > h2 { font-size: clamp(42px, 5.6vw, 76px); }
.start .lead { margin-top: 14px; }
.start-steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
.start-steps li { counter-increment: st; background: var(--bg); box-shadow: 0 0 0 1px var(--line); border-radius: 28px; padding: 24px; display: grid; gap: 8px; align-content: start; }
.start-steps li::before { content: counter(st); width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font: 900 24px var(--display); background: var(--sc, var(--heat1)); color: var(--sci, var(--heat4)); margin-bottom: 8px; }
.start-steps li:nth-child(2) { --sc: var(--heat2); } .start-steps li:nth-child(3) { --sc: var(--heat4); --sci: #fff; }
.start-steps b { font: 900 30px/1 var(--display); letter-spacing: -.01em; }
.start-steps p { color: var(--ink2); font-size: 15.5px; }
.want .wrap > h2 { font-size: clamp(42px, 5.6vw, 76px); }
.want .lead { margin-top: 14px; }
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.pick { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; border: 0; border-radius: 20px; background: var(--surface); color: var(--ink); font: 700 16.5px/1.25 var(--body); text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.pick::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 5px; background: var(--heat0); box-shadow: inset 0 0 0 2px var(--heat2); transition: background .2s; }
.pick:hover { background: var(--surface2); }
.pick[aria-selected="true"] { background: var(--heat4); color: #fff; }
.pick[aria-selected="true"]::before { background: var(--heat2); box-shadow: none; }
.pick:focus-visible { outline: 3px solid var(--heat2); outline-offset: 2px; }
.pick small { display: block; font: 700 10.5px var(--body); letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-top: 2px; }
.ans { margin-top: 14px; border-radius: 28px; background: var(--heat1); padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 28px; align-items: center; min-height: 170px; }
.ans[hidden] { display: none; }
.ans h3 { font-size: clamp(28px, 3vw, 38px); }
.ans p { margin-top: 8px; color: #3B5149; max-width: 60ch; }
.ans .links { display: grid; gap: 8px; justify-items: start; }
.ans .links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--heat4); text-decoration: none; background: var(--bg); border-radius: 99px; padding: 10px 16px; white-space: nowrap; }
.ans .links a:hover { background: var(--surface); }
.stories .wrap > h2 { font-size: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.stories .soon { font: 700 12px var(--body); letter-spacing: .08em; text-transform: uppercase; background: var(--surface2); color: var(--ink2); padding: 6px 11px; border-radius: 99px; }
.stories .lead { margin-top: 14px; }
.story-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; list-style: none; padding: 0; }
.story-slots li { min-height: 160px; border-radius: 26px; border: 2px dashed var(--line); display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 15px; font-weight: 600; padding: 20px; }
.tq { text-align: center; padding-bottom: 0; }
.tq blockquote { margin: 0 auto; max-width: 22ch; font: 900 clamp(36px, 4.8vw, 64px)/1 var(--display); letter-spacing: -.02em; }
.tq blockquote em { font-style: normal; color: var(--heat3); }
.tq .by { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink2); }
.tq .by svg { width: 34px; height: 34px; }

@media (max-width: 900px) {
  .p-hero .wrap, .svc .wrap, .fpanel, .noshame .wrap { grid-template-columns: minmax(0, 1fr); }
  .svc.flip .svc-copy { order: 0; }
  .fpanel { min-height: 0; }
  .start-steps, .story-slots { grid-template-columns: minmax(0, 1fr); }
  .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ans { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .fpanel { border-radius: 26px; padding: 18px 14px; }
  .ns-pair { grid-template-columns: minmax(0, 1fr); }
  .picks { grid-template-columns: minmax(0, 1fr); }
  .pick { min-height: 54px; }
  .story-slots li { min-height: 100px; }
}
@media (max-width: 640px) {
  .svc-art { border-radius: 26px; padding: 14px; }
  .sg-card { padding: 16px; }
  .sg-nums { gap: 6px; } .sg-nums div { padding: 8px 9px; } .sg-nums b { font-size: 18px; }
  .post-list a { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px 2px; }
  .post-list .go { display: none; }
}

/* ---------- Home: the core in six cards, each opening its Features tab ---------- */
.core-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ccard { display: flex; flex-direction: column; gap: 6px; background: var(--bg); border-radius: 28px; padding: 24px; text-decoration: none; color: var(--ink); box-shadow: 0 0 0 1px var(--line); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; min-width: 0; }
.ccard:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--heat2), 0 24px 40px -24px rgba(14,90,62,.45); }
.ccard .ck { font: 700 11.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--heat3); }
.ccard h3 { font-size: 28px; }
.ccard p { color: var(--ink2); font-size: 15.5px; }
.ccard .mini { margin-top: 14px; box-shadow: none; background: var(--surface); padding: 14px; border-radius: 20px; gap: 10px; }
.ccard .mini .sms { background: var(--bg); max-width: 100%; font-size: 13.5px; }
.ccard .go { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--heat4); }
.ccard .go i { font-style: normal; transition: transform .2s; }
.ccard:hover .go i { transform: translateX(3px); }
.ccard .mrow b { font-size: 15px; }
.mini-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.mini-cal i { aspect-ratio: 1; border-radius: 6px; background: var(--bg); }
.mini-cal i.today { background: var(--heat2); box-shadow: inset 0 0 0 2px var(--ink); }
.mini-cal i.f { background: none; box-shadow: inset 0 0 0 1.5px var(--line); }
.big-left { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.big-left b { font: 900 34px/1 var(--display); letter-spacing: -.01em; }
.big-left span { font-size: 13.5px; font-weight: 600; color: var(--ink2); }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: var(--ink2); font-size: 15px; font-weight: 600; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row span::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--heat2); }
.trust-row span:nth-child(2)::before { background: var(--heat3); } .trust-row span:nth-child(3)::before { background: var(--heat4); } .trust-row span:nth-child(4)::before { background: var(--ink); }
.more-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 26px; font-weight: 700; font-size: 16px; color: var(--heat4); text-decoration: none; }
.more-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- How it works page ---------- */
.hw-hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 88px); }
.hw-hero h1 em { font-style: normal; color: var(--heat3); display: block; }
.hw-hero .lead { margin-top: 20px; max-width: 52ch; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; padding: 0; list-style: none; }
.jump a { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: 99px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink); transition: background .2s, box-shadow .2s; }
.jump a:hover { background: var(--heat1); box-shadow: 0 0 0 1px var(--heat2); }
.jump a b { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font: 900 13px var(--display); background: var(--heat1); color: var(--heat4); }
/* See what Ledger reads: preset texts on the left, the text and what Ledger made of it on the right. */
.rd .wrap > .sec-head h2 em { font-style: normal; color: var(--heat2); }
.rd-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.rd-list { display: grid; gap: 8px; }
.rd-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px 12px 12px; border: 0; border-radius: 18px; background: rgba(255,255,255,.06); color: var(--night-ink); font: 700 16px var(--body); text-align: left; cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.rd-btn:hover { background: rgba(255,255,255,.11); }
.rd-btn:active { transform: scale(.99); }
.rd-btn[aria-selected="true"] { background: var(--heat2); color: var(--ink); }
.rd-btn .cc { flex: none; min-width: 46px; height: 32px; padding: 0 8px; border-radius: 10px; display: grid; place-items: center; font: 800 12.5px var(--body); background: rgba(255,255,255,.1); color: var(--heat2); }
.rd-btn[aria-selected="true"] .cc { background: var(--heat4); color: #fff; }
.rd-stage { background: var(--bg); color: var(--ink); border-radius: 32px; padding: clamp(18px, 3vw, 30px); display: grid; gap: 16px; align-content: start; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.rd-sms { justify-self: start; max-width: 100%; background: var(--surface2); border-radius: 20px 20px 20px 6px; padding: 12px 16px; font-size: 15.5px; line-height: 1.5; }
.rd-sms small { display: block; font-weight: 700; font-size: 12.5px; color: var(--ink2); margin-bottom: 4px; }
.rd-sms mark { background: none; color: inherit; border-radius: 6px; padding: 1px 4px; margin: 0 1px; transition: background .3s, color .3s, box-shadow .3s; }
.rd-sms mark.hit { background: var(--heat1); color: var(--heat4); box-shadow: 0 0 0 1.5px var(--heat2); }
.rd-sms mark.cross { background: rgba(228,87,46,.12); color: #A33B1B; text-decoration: line-through; }
.rd-arrow { display: flex; align-items: center; gap: 10px; color: var(--ink2); font-size: 13.5px; font-weight: 600; }
.rd-arrow i { width: 30px; height: 30px; border-radius: 9px; background: var(--heat1); color: var(--heat4); display: grid; place-items: center; font-style: normal; }
.rd-arrow i svg { width: 16px; height: 16px; }
.rd-card { border-radius: 22px; padding: 16px; display: grid; gap: 12px; background: var(--surface); transition: opacity .35s, transform .35s; }
.rd-card.wait { opacity: 0; transform: translateY(8px); }
.rd-card.skip { background: var(--bg); border: 2px dashed var(--line); color: var(--muted); }
.rd-card.transfer { background: var(--bg); border: 1.5px dashed var(--heat2); }
.rd-top { display: flex; align-items: center; gap: 12px; }
.rd-top .ic { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--heat1); color: var(--heat4); font-size: 19px; }
.rd-card.skip .ic { background: var(--surface); color: var(--muted); }
.rd-top b { flex: 1; min-width: 0; font-size: 17px; font-weight: 700; }
.rd-top .am { font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rd-top .am.in { color: var(--heat3); }
.rd-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.rd-rows div { background: var(--bg); border-radius: 12px; padding: 8px 12px; }
.rd-card.transfer .rd-rows div, .rd-card.skip .rd-rows div { background: var(--surface); }
.rd-rows small { display: block; font-size: 12px; color: var(--ink2); font-weight: 600; }
.rd-rows span { font-weight: 700; font-size: 15px; }
.rd-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.rd-note::before { content: ""; flex: none; width: 12px; height: 12px; margin-top: 5px; border-radius: 4px; background: var(--heat3); }
.rd-card.skip .rd-note { color: var(--ink2); } .rd-card.skip .rd-note::before { background: var(--surface2); }
.rd-demo { margin-top: 16px; font-size: 14px; color: var(--night-ink2); display: flex; gap: 8px; align-items: center; }
.rd-demo::before { content: "Demo"; font: 800 10.5px var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 99px; background: rgba(255,255,255,.1); color: var(--heat2); }
/* Your day with Ledger: steps on the left, one phone that follows the scroll on the right. */
.day-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); }
.day-steps { list-style: none; padding: 0; margin: 0; }
.day-steps > li { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding-block: 24px; opacity: .35; transition: opacity .4s; }
.day-steps > li.on { opacity: 1; }
.day-steps time { display: inline-flex; align-items: center; gap: 8px; font: 800 14px var(--body); color: var(--heat4); }
.day-steps time::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--c, var(--heat1)); }
.day-steps li:nth-child(2) { --c: var(--heat2); } .day-steps li:nth-child(3) { --c: var(--heat3); } .day-steps li:nth-child(4) { --c: var(--heat4); }
.day-steps h3 { font-size: clamp(34px, 3.6vw, 48px); margin-top: 12px; }
.day-steps p { margin-top: 12px; color: var(--ink2); font-size: 17px; max-width: 40ch; }
.day-steps .tag-ios { align-self: flex-start; display: inline-block; margin-top: 12px; font: 700 11.5px var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; background: var(--surface2); color: var(--ink2); }
.day-steps .dmini { display: none; }
.day-phone-wrap { position: sticky; top: 110px; align-self: start; padding-block: 24px; }
.dphone { position: relative; width: min(340px, 100%); margin-inline: auto; border-radius: 46px; border: 9px solid var(--ink); background: var(--bg); padding: 44px 16px 18px; min-height: 600px; box-shadow: 0 40px 70px -30px rgba(14,90,62,.45); overflow: hidden; }
.dphone::before { content: ""; position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 82px; height: 22px; border-radius: 99px; background: var(--ink); z-index: 3; }
.dp-note { position: absolute; left: 10px; right: 10px; top: 40px; z-index: 2; display: grid; grid-template-columns: 32px 1fr; gap: 1px 10px; align-items: center; background: rgba(255,255,255,.96); border-radius: 18px; padding: 10px 12px; box-shadow: 0 14px 30px -10px rgba(16,34,30,.35); font-size: 13px; line-height: 1.3; opacity: 0; transform: translateY(-12px); transition: opacity .35s, transform .35s; pointer-events: none; }
.dp-note.on { opacity: 1; transform: none; }
.dp-note .app { grid-row: span 2; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #34C759; color: #fff; }
.dp-note .app svg { width: 18px; height: 18px; }
.dp-note.wallet .app { background: var(--ink); }
.dp-note.voice .app { background: var(--heat3); }
.dp-note b { font-size: 13.5px; }
.dp-note small { display: block; color: var(--ink2); font-size: 12px; }
.dp-head { display: flex; justify-content: space-between; align-items: baseline; margin-top: 64px; }
.dp-head small { font-weight: 700; color: var(--ink2); font-size: 13px; }
.dp-head strong { font: 900 34px/1 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.dp-cells { display: flex; gap: 5px; margin-top: 12px; }
.dp-cells i { flex: 1; aspect-ratio: 1; border-radius: 7px; background: var(--heat0); transition: background .4s; }
.dp-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.dp-list li { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; background: var(--surface); border-radius: 16px; padding: 10px 12px; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.dp-list li.on { opacity: 1; transform: none; }
.dp-list .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--heat1); font-size: 17px; }
.dp-list b { display: block; font-size: 15px; }
.dp-list small { display: block; font-size: 12px; color: var(--ink2); }
.dp-list .am { font-weight: 800; font-variant-numeric: tabular-nums; }
.dp-recap { position: absolute; inset: auto 10px 10px; z-index: 2; background: var(--ink); color: #fff; border-radius: 26px; padding: 20px; display: grid; gap: 4px; opacity: 0; transform: translateY(24px); transition: opacity .45s, transform .45s; }
.dp-recap.on { opacity: 1; transform: none; }
.dp-recap small { color: var(--heat2); font-weight: 700; font-size: 13px; }
.dp-recap b { font: 900 40px/1 var(--display); letter-spacing: -.01em; }
.dp-recap span { color: var(--night-ink2); font-size: 14px; }
.dp-recap .bar3 { display: flex; height: 10px; border-radius: 99px; overflow: hidden; gap: 3px; margin-top: 10px; }
.dp-recap .bar3 i:nth-child(1) { flex: 64; background: var(--heat2); } .dp-recap .bar3 i:nth-child(2) { flex: 35; background: var(--heat3); }
.dp-recap .share { justify-self: start; margin-top: 12px; font-weight: 700; font-size: 13.5px; background: var(--heat2); color: var(--ink); border-radius: 99px; padding: 7px 14px; }
/* Set it up: phone and country pickers, then the real steps for that pair. */
.su-card { background: var(--bg); border-radius: 36px; padding: clamp(20px, 3.4vw, 40px); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(14,90,62,.4); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); }
.su-pick { display: grid; gap: 20px; align-content: start; }
.su-pick > div > b { display: block; font: 700 12px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--heat3); margin-bottom: 10px; }
.seg3 { display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 18px; background: var(--surface); }
.seg3 button { flex: 1 1 auto; height: 44px; padding: 0 16px; border: 0; border-radius: 13px; background: none; font: 700 15px var(--body); color: var(--ink2); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.seg3 button:hover { color: var(--ink); background: rgba(255,255,255,.6); }
.seg3 button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 2px 8px rgba(16,34,30,.12); }
.su-cur { display: flex; align-items: center; gap: 14px; background: var(--heat1); border-radius: 20px; padding: 14px 16px; }
.su-cur i { font-style: normal; width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--heat4); color: #fff; display: grid; place-items: center; font: 900 18px var(--display); }
.su-cur small { display: block; font-size: 13px; color: #3B5149; font-weight: 600; }
.su-cur b { font-size: 17px; }
.su-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: su; }
.su-steps li { counter-increment: su; display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; background: var(--surface); border-radius: 20px; padding: 16px; }
.su-steps li::before { content: counter(su); grid-row: span 2; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font: 900 20px var(--display); background: var(--heat1); color: var(--heat4); }
.su-steps li:nth-child(2)::before { background: var(--heat2); } .su-steps li:nth-child(3)::before { background: var(--heat3); color: #fff; }
.su-steps b { font-size: 16.5px; }
.su-steps p { font-size: 15px; color: var(--ink2); }
.su-steps code { font: 800 14px var(--body); background: var(--bg); border-radius: 7px; padding: 1px 7px; box-shadow: 0 0 0 1px var(--line); color: var(--heat4); }
.su-note { margin-top: 12px; font-size: 14px; color: var(--ink2); display: flex; gap: 8px; }
.su-note::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 3px; background: var(--heat2); }
/* What Ledger never does. */
.never-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.never-grid li { background: rgba(255,255,255,.06); border-radius: 26px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.never-grid .x { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(154,205,176,.14); color: var(--heat2); }
.never-grid .x svg { width: 22px; height: 22px; }
.never-grid b { font: 900 26px/1.02 var(--display); letter-spacing: -.01em; color: #fff; }
.never-grid p { color: var(--night-ink2); font-size: 15.5px; }

/* ---------- Help and About pages ---------- */
.pg-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.pg-hero .lead { margin-top: 20px; max-width: 52ch; }
.pg-hero h1 em { font-style: normal; color: var(--heat3); }
.qcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.qcard { display: grid; gap: 6px; align-content: start; background: var(--bg); border-radius: 24px; padding: 20px; box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.qcard:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--heat2), 0 20px 34px -22px rgba(14,90,62,.45); }
.qcard .qi { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--heat1); color: var(--heat4); margin-bottom: 8px; }
.qcard .qi svg { width: 21px; height: 21px; }
.qcard b { font-size: 17px; }
.qcard span { font-size: 14.5px; color: var(--ink2); }
.prose-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.prose-grid h2 { font-size: clamp(36px, 4.4vw, 56px); }
.prose { display: grid; gap: 14px; font-size: 17px; color: var(--ink2); max-width: 62ch; }
.prose b { color: var(--ink); }
.prose .box { background: var(--surface); border-radius: 22px; padding: 18px 20px; color: var(--ink); }
.prose .box small { display: block; font: 700 11.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--heat3); margin-bottom: 6px; }
.mail { display: inline-flex; align-items: center; gap: 10px; font: 900 clamp(24px, 3vw, 34px)/1.1 var(--display); color: var(--heat4); letter-spacing: -.01em; user-select: all; word-break: break-all; }
.data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.data-card { border-radius: 26px; padding: 22px; display: grid; gap: 12px; align-content: start; background: var(--surface); }
.data-card h3 { font-size: 26px; display: flex; align-items: center; gap: 10px; }
.data-card h3::before { content: ""; width: 16px; height: 16px; border-radius: 5px; background: var(--c, var(--heat2)); flex: none; }
.data-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.data-card li { font-size: 15.5px; color: var(--ink2); padding-left: 14px; border-left: 2px solid var(--line); }
.data-card li b { color: var(--ink); }
.data-card.stay { --c: var(--heat4); background: var(--heat1); } .data-card.stay li { border-color: var(--heat2); color: #3B5149; }
.data-card.sent { --c: var(--heat3); }
.data-card.dl { --c: var(--heat2); }
.data-card.never { --c: var(--heat2); background: var(--night); } .data-card.never h3 { color: #fff; } .data-card.never li { color: var(--night-ink2); border-color: rgba(255,255,255,.14); } .data-card.never li b { color: #fff; }

@media (max-width: 1000px) {
  .never-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .sec-head, .rd-grid, .su-card, .prose-grid, .data-grid { grid-template-columns: minmax(0, 1fr); }
  .core-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-stage { min-height: 0; }
  /* The day story without the sticky phone: each step carries its own small screen. */
  .day-grid { grid-template-columns: minmax(0, 1fr); }
  .day-phone-wrap { display: none; }
  .day-steps > li { min-height: 0; opacity: 1; padding-block: 0 40px; }
  .day-steps .dmini { display: grid; margin-top: 18px; }
}
@media (max-width: 640px) {
  .core-grid { grid-template-columns: minmax(0, 1fr); }
  .ccard { padding: 20px; border-radius: 24px; }
  .rd-list { grid-template-columns: minmax(0, 1fr); }
  .rd-btn { padding: 10px 12px 10px 10px; font-size: 15px; }
  .rd-stage { border-radius: 26px; padding: 16px; }
  .rd-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .never-grid, .qcards { grid-template-columns: minmax(0, 1fr); }
  .su-card { border-radius: 26px; padding: 18px 14px; }
  .seg3 button { padding: 0 12px; font-size: 14.5px; }
  .data-card { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .day-steps > li { opacity: 1; }
}

/* Tally is the app's mascot, not the site's logo: the site uses the wordmark only, and the frames that held Tally go. */
.guard, .close .door { display: none; }
.tq .by, .tk-k { gap: 0; }
/* The hero line under the headline: still, one green phrase, no rotation. */
.cw-still { color: var(--heat3); }

/* ---------- Home, the short version: one idea per section ---------- */
.hero2 { padding-block: clamp(56px, 8vw, 112px) clamp(64px, 8vw, 112px); }
.hero2 h1 { font-size: clamp(46px, 5.6vw, 84px); line-height: .94; letter-spacing: -0.025em; max-width: 11ch; }
.hero2 .lead { margin-top: 24px; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.45; color: var(--ink2); max-width: 30ch; }
.hero2 .ctas { margin-top: 34px; }
.hfine { margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--muted); }
.nums { background: var(--heat1); background-image: radial-gradient(rgba(14,90,62,.12) 1.6px, transparent 2.1px); background-size: 26px 26px; text-align: center; }
.big-stat { font: 900 clamp(52px, 8.4vw, 128px)/.92 var(--display); letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.big-stat em, .big-stat span { display: block; }
.big-stat em { font-style: normal; color: var(--heat4); }
/* The bank-text banner sits at the top of the phone's screen; the month starts below it, not under it. */
.hphone { padding-top: 108px; }
.nums .lead { margin: 26px auto 0; max-width: 52ch; color: #3B5149; }
.core3 .sec-head { grid-template-columns: minmax(0, 1fr) auto; }
.core3 .sec-head .more-link { margin: 0 0 10px; }
.want .picks { margin-top: 0; }
.priv3 { text-align: center; }
.priv3 h2 { max-width: 16ch; margin-inline: auto; color: #fff; }
.priv-lines { list-style: none; padding: 0; margin: 30px auto 0; display: grid; gap: 12px; justify-items: center; }
.priv-lines li { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(17px, 1.7vw, 20px); color: var(--night-ink); }
.priv-lines li::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--heat2); flex: none; }
.priv3 .more-link { color: var(--heat2); margin-top: 30px; }
@media (max-width: 900px) {
  .core3 .sec-head { grid-template-columns: minmax(0, 1fr); }
  .core3 .core-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hero2 h1 { font-size: clamp(40px, 11vw, 52px); }
  .priv-lines li { text-align: left; }
}

/* ---------- The goal picker: pick a goal, a small app scene plays ----------
   Each scene's resting style is its last frame; the animations only run from the first frame to it, so with reduced
   motion (animations off) every scene simply shows its end state. ".play" on a panel restarts its scene. */
.want .picks { position: relative; }
.pick { position: relative; overflow: hidden; }
.pick::before { content: none; }
.pick .pk { flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--heat2); background: var(--bg); transition: background .25s, box-shadow .25s; }
.pick .pk svg { width: 14px; height: 14px; fill: none; stroke: var(--heat4); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s ease .05s; }
.pick[aria-selected="true"] .pk { background: var(--heat2); box-shadow: none; }
.pick[aria-selected="true"] .pk svg { stroke-dashoffset: 0; }
.pick .pt small { display: block; font: 700 10.5px var(--body); letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-top: 2px; }
.pick .pg { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--heat2); transform-origin: left; transform: scaleX(var(--p, 0)); opacity: 0; }
.picks.auto .pick[aria-selected="true"] .pg { opacity: 1; }
.ans-wrap { position: relative; margin-top: 14px; height: 400px; }
.ans { position: absolute; inset: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(20px, 4vw, 48px); align-items: center; opacity: 0; transform: translateY(12px); visibility: hidden; transition: opacity .4s ease, transform .4s ease, visibility 0s .4s; min-height: 0; }
.ans.is-on { opacity: 1; transform: none; visibility: visible; transition: opacity .4s ease .05s, transform .4s ease .05s, visibility 0s; }
.ans .ans-copy { display: grid; gap: 4px; align-content: center; }
.ans .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.scene { position: relative; background: var(--bg); border-radius: 24px; padding: 18px; display: grid; gap: 12px; box-shadow: 0 20px 40px -28px rgba(14,90,62,.55); align-self: center; min-width: 0; }
.scene .sq { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--heat1); color: var(--heat4); font-weight: 800; }
.sc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sc-head b { font: 900 24px/1 var(--display); letter-spacing: -.01em; }
.sc-head > span { font-weight: 800; font-variant-numeric: tabular-nums; }
/* 1 · Salary */
.sc-days { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 5px; }
.sc-days i { aspect-ratio: 1; border-radius: 7px; background: var(--heat0); }
.sc-days i:first-child { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--heat3); }
.sc-days i:last-child { box-shadow: inset 0 0 0 2.5px var(--ink); }
.sc-flags { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--heat4); margin-top: -4px; }
.sc-split { display: flex; height: 16px; gap: 3px; border-radius: 99px; overflow: hidden; }
.sc-split i:nth-child(1), .sc-legend li:nth-child(1) i { background: var(--heat4); } .sc-split i:nth-child(2), .sc-legend li:nth-child(2) i { background: var(--heat3); }
.sc-split i:nth-child(3), .sc-legend li:nth-child(3) i { background: var(--heat2); } .sc-split i:nth-child(4), .sc-legend li:nth-child(4) i { background: var(--heat1); } .sc-split i:nth-child(5) { background: var(--surface2); }
.sc-legend { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink2); }
.sc-legend li { display: flex; align-items: center; gap: 7px; }
.sc-legend li i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.sc-legend b { margin-left: auto; color: var(--ink); font-variant-numeric: tabular-nums; }
.play .sc-days i { animation: dayIn .3s ease both; }
.play .sc-days i:nth-child(2) { animation-delay: .12s; } .play .sc-days i:nth-child(3) { animation-delay: .24s; } .play .sc-days i:nth-child(4) { animation-delay: .36s; } .play .sc-days i:nth-child(5) { animation-delay: .48s; } .play .sc-days i:nth-child(6) { animation-delay: .6s; }
.play .sc-days i:nth-child(7) { animation-delay: .72s; } .play .sc-days i:nth-child(8) { animation-delay: .84s; } .play .sc-days i:nth-child(9) { animation-delay: .96s; } .play .sc-days i:nth-child(10) { animation-delay: 1.08s; } .play .sc-days i:nth-child(11) { animation-delay: 1.2s; }
@keyframes dayIn { from { background: var(--heat0); transform: scale(.7); } }
.play .sc-split i { animation: grow .6s cubic-bezier(.2,.8,.2,1) 1.45s both; transform-origin: left; }
.play .sc-legend li { animation: rise .4s ease both; } .play .sc-legend li:nth-child(1) { animation-delay: 1.6s; } .play .sc-legend li:nth-child(2) { animation-delay: 1.7s; } .play .sc-legend li:nth-child(3) { animation-delay: 1.8s; } .play .sc-legend li:nth-child(4) { animation-delay: 1.9s; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
/* 2 · Typing */
.sc-typing .sms { max-width: 100%; }
.sc-typing mark { background: var(--heat1); color: var(--heat4); border-radius: 5px; padding: 0 3px; }
.sc-card { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 16px; padding: 10px 12px; }
.sc-card > div { flex: 1; min-width: 0; } .sc-card b { display: block; } .sc-card small { color: var(--ink2); font-size: 13px; }
.sc-card .amt, .sc-pay .amt { font-weight: 800; white-space: nowrap; }
.sc-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.sc-week span { text-align: center; font-size: 11px; font-weight: 700; color: var(--muted); }
.sc-week i { aspect-ratio: 1.6; border-radius: 8px; background: var(--heat0); }
.sc-week i.today { background: var(--heat2); box-shadow: inset 0 0 0 2.5px var(--ink); }
.play .sc-typing .sms { animation: slideIn .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-18px); } }
.play .sc-typing mark { animation: markOn .4s ease .55s both; }
@keyframes markOn { from { background: transparent; color: inherit; } }
.play .sc-card { animation: liftIn .5s cubic-bezier(.2,.8,.2,1) 1s both; }
@keyframes liftIn { from { opacity: 0; transform: translateY(-16px) scale(.96); } }
.play .sc-week i.today { animation: todayIn .5s ease 1.7s both; }
@keyframes todayIn { from { background: var(--heat0); transform: scale(.8); } }
/* 3 · Home */
.sc-home .xrow { background: var(--surface); }
.sc-home .xrow.moved { background: var(--bg); }
.sc-totals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sc-totals > div { background: var(--heat1); border-radius: 14px; padding: 10px 12px; }
.sc-totals small { display: block; font-size: 12px; font-weight: 700; color: #3B5149; }
.sc-totals b { font: 900 22px/1.1 var(--display); }
.sc-totals .apart { background: var(--bg); border: 1.5px dashed var(--heat2); padding: 8.5px 10.5px; }
.sc-totals .apart span { font-size: 12px; font-weight: 700; color: var(--heat4); margin-left: 6px; }
.play .sc-home .xrow { animation: rise .45s ease both; } .play .sc-home .xrow.moved { animation-delay: .25s; }
.play .sc-totals > div:first-child { animation: rise .45s ease .7s both; }
.play .sc-totals .apart { animation: apartIn .6s cubic-bezier(.2,.8,.2,1) 1.1s both; }
@keyframes apartIn { from { opacity: 0; transform: translateX(-30px); border-color: transparent; } }
/* 4 · Subscriptions */
.sc-alert { display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 16px; padding: 10px 12px; }
.sc-alert .sq { background: var(--heat3); color: #fff; }
.sc-alert b { display: block; font-size: 15px; } .sc-alert small { color: var(--night-ink2); font-size: 13px; }
.sc-line { list-style: none; padding: 0 0 0 4px; margin: 4px 0 0; display: grid; gap: 14px; position: relative; }
.sc-line::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.sc-line li { position: relative; display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: center; font-size: 15px; }
.sc-line li i { width: 14px; height: 14px; border-radius: 5px; background: var(--heat1); box-shadow: 0 0 0 3px var(--bg); z-index: 1; }
.sc-line li span { color: var(--ink2); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.sc-line li.next i { background: var(--heat3); }
.sc-line li.next b { color: var(--heat4); }
.play .sc-line li.next i { animation: pulse 1.2s ease-in-out .4s 3; }
@keyframes pulse { 50% { box-shadow: 0 0 0 3px var(--bg), 0 0 0 9px rgba(62,154,110,.25); } }
.play .sc-alert { animation: dropIn .5s cubic-bezier(.2,.8,.2,1) 1.2s both; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-18px); } }
.play .sc-line li { animation: rise .4s ease both; } .play .sc-line li:nth-child(2) { animation-delay: .12s; } .play .sc-line li:nth-child(3) { animation-delay: .24s; }
/* 5 · Budget */
.sc-bar { height: 18px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.sc-bar i { display: block; height: 100%; width: 69%; border-radius: 99px; background: var(--heat3); transform-origin: left; }
.sc-row { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--ink2); }
.sc-chip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; background: var(--heat1); border-radius: 16px; padding: 12px 14px; font-size: 14.5px; font-weight: 600; color: #3B5149; }
.sc-chip b { background: var(--heat4); color: #fff; border-radius: 99px; padding: 4px 11px; font-size: 13px; }
.play .sc-bar i { animation: grow 1.3s cubic-bezier(.2,.8,.2,1) .2s both; }
.play .sc-chip { animation: rise .45s ease 1.4s both; }
/* 6 · Split */
.sc-pay, .sc-owe { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 16px; padding: 10px 12px; }
.sc-pay > div, .sc-owe > div { flex: 1; min-width: 0; } .sc-pay b, .sc-owe b { display: block; } .sc-pay small, .sc-owe small { color: var(--ink2); font-size: 13px; }
.sc-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sc-three > div { display: grid; justify-items: center; gap: 6px; background: var(--heat1); border-radius: 14px; padding: 10px 6px; }
.sc-three b { font-size: 14px; }
.scene .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 800 13px var(--body); color: #fff; flex: none; }
.scene .av.a1 { background: var(--heat4); } .scene .av.a2 { background: var(--heat3); } .scene .av.a3 { background: var(--heat2); color: var(--ink); }
.sc-owe { background: var(--ink); color: #fff; } .sc-owe small { color: var(--night-ink2); }
.sc-owe .btn-s { background: var(--heat2); color: var(--ink); padding: 8px 14px; font-size: 13.5px; }
.play .sc-three > div { animation: splitOut .45s cubic-bezier(.2,.8,.2,1) both; } .play .sc-three > div:nth-child(1) { animation-delay: .5s; } .play .sc-three > div:nth-child(2) { animation-delay: .65s; } .play .sc-three > div:nth-child(3) { animation-delay: .8s; }
@keyframes splitOut { from { opacity: 0; transform: translateY(-26px) scale(.8); } }
.play .sc-owe { animation: rise .45s ease 1.4s both; }

@media (max-width: 900px) {
  .ans-wrap { height: 640px; }
  .ans { grid-template-columns: minmax(0, 1fr); align-content: start; }
}
/* Phones: the goals become a row of chips you can swipe; the answer sits below. */
@media (max-width: 640px) {
  .want .picks { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin-inline: -16px; padding: 2px 16px 8px; scrollbar-width: none; scroll-padding-inline: 16px; }
  .want .picks::-webkit-scrollbar { display: none; }
  .want .pick { flex: none; min-height: 48px; padding: 10px 14px 10px 10px; border-radius: 99px; font-size: 15px; white-space: nowrap; }
  .want .pick .pt small { display: none; }
  .ans-wrap { height: 640px; }
  .scene { padding: 14px; border-radius: 20px; }
  .sc-totals b { font-size: 19px; }
}

/* ---------- The goal deck (home, "What do you want from your money?"), from ledger-picker-ideas/idea2.html ----------
   Everything is under .gd so nothing leaks either way. Coupon cards in Ledger greens fan out; the top one drags, swipes
   and flips in 3D to show Ledger's answer as a small app screen. Reduced motion: no springs, the backs show still. */
.gd {
  --h1: var(--heat1); --h2: var(--heat2); --h3: var(--heat3); --h4: var(--heat4); --h12: #B8DCC6; --h23: #6BB38F;
  --muted: var(--ink2); --line: #E2E8E5;
  --spring: cubic-bezier(.2,1.4,.4,1);
  --cw: min(320px, calc(100vw - 110px)); --ch: calc(var(--cw) * 1.25);
  --r: 22px; --notch: 11px; --cut: 78%; --fx: 16px; --fr: 3deg;
  position: relative; overflow: hidden; text-align: center;
  background-color: var(--bg); background-image: var(--dots); background-size: 26px 26px;
}
@media (max-width: 560px) { .gd { --fx: 8px; --fr: 2deg; } }
.gd h2 { margin: 0 auto 14px; max-width: 14ch; font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5.6vw, 76px); line-height: .94; letter-spacing: -.01em; text-wrap: balance; }
.gd .sub { margin: 0 auto; color: var(--muted); font-size: clamp(16px, 2vw, 19px); font-weight: 500; }
.gd .gstage { display: flex; flex-direction: column; align-items: center; margin-top: 48px; }
.gd .deck { position: relative; width: var(--cw); height: var(--ch); left: calc(var(--fx) * -1.6); touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; outline: none; border-radius: var(--r); }
.gd .deck:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--h3); }
.gd .gcard { position: absolute; inset: 0; transform-origin: 50% 120%; transition: transform .7s var(--spring), opacity .35s ease; will-change: transform; text-align: left; }
.gd .gcard[data-pos="0"] { transform: none; cursor: grab; }
.gd .gcard[data-pos="1"] { transform: translate3d(var(--fx), 10px, 0) rotate(var(--fr)) scale(.955); }
.gd .gcard[data-pos="2"] { transform: translate3d(calc(var(--fx) * 2), 20px, 0) rotate(calc(var(--fr) * 2)) scale(.91); }
.gd .gcard[data-pos="3"] { transform: translate3d(calc(var(--fx) * 3), 28px, 0) rotate(calc(var(--fr) * 3)) scale(.87); }
.gd .gcard[data-pos="4"], .gd .gcard[data-pos="5"] { transform: translate3d(calc(var(--fx) * 3), 28px, 0) rotate(calc(var(--fr) * 3)) scale(.87); opacity: 0; }
.gd .gcard.dragging { transition: none; cursor: grabbing; }
.gd .lift { position: absolute; inset: 0; transition: transform .45s var(--spring); }
.gd .flip { position: absolute; inset: 0; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; transform: perspective(1600px) rotateY(0deg); transition: transform .6s var(--spring); }
.gd .gcard.flipped .flip { transform: perspective(1600px) rotateY(180deg); }
.gd .shadow { position: absolute; inset: 0; border-radius: var(--r); box-shadow: 0 34px 50px -22px rgba(14,90,62,.5), 0 10px 22px -10px rgba(16,34,30,.28); opacity: .5; transform: translateZ(-2px); transition: opacity .35s ease; }
@media (hover: hover) {
  .gd .deck:not(.is-dragging) .gcard[data-pos="0"]:hover .lift { transform: translateY(-10px) rotate(-.6deg); }
  .gd .deck:not(.is-dragging) .gcard[data-pos="0"]:hover .shadow { opacity: 1; }
}
.gd .face { position: absolute; inset: 0; border-radius: var(--r); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 var(--cut), #0000 96%, #000 100%) 0 0/51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% var(--cut), #0000 96%, #000 100%) 100% 0/51% 100% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 var(--cut), #0000 96%, #000 100%) 0 0/51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% var(--cut), #0000 96%, #000 100%) 100% 0/51% 100% no-repeat; }
.gd .front { background: var(--tint); color: var(--fg); transform: rotateY(0deg); }
.gd .back { background: #fff; color: var(--ink); transform: rotateY(180deg); }
.gd .perf { position: absolute; top: var(--cut); left: calc(var(--notch) + 8px); right: calc(var(--notch) + 8px); height: 6px; margin-top: -3px; background: radial-gradient(circle, currentColor 1.5px, transparent 2px) 0 50%/10px 6px repeat-x; opacity: .32; pointer-events: none; }
.gd .upper { position: absolute; left: 0; right: 0; top: 0; bottom: calc(100% - var(--cut)); padding: 22px 22px 20px; display: flex; flex-direction: column; text-align: left; }
.gd .meta { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.gd .ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--fg) 11%, transparent); }
.gd .ico svg { width: 22px; height: 22px; }
.gd .num { opacity: .75; font-variant-numeric: tabular-nums; }
.gd .gtag { margin-left: auto; padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .03em; background: var(--ink); color: #fff; white-space: nowrap; }
.gd .goal { margin: auto 0 0; font-family: var(--display); font-weight: 900; font-size: calc(var(--cw) * .135); line-height: .92; letter-spacing: -.005em; text-wrap: balance; }
.gd .stub { position: absolute; left: 0; right: 0; bottom: 0; top: var(--cut); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 26px; font-size: 13px; font-weight: 700; text-align: left; }
.gd .stub svg { width: 20px; height: 20px; flex: none; opacity: .8; }
.gd .back .stub { background: var(--tint); color: var(--fg); }
.gd .back .perf { color: var(--fg); opacity: .4; }
.gd .line { margin: 0; font-family: var(--display); font-size: 18px; font-weight: 800; line-height: 1.1; }
.gd .bhead { position: absolute; top: 16px; left: 18px; right: 18px; height: 22px; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-align: left; }
.gd .bhead .sw { width: 10px; height: 10px; border-radius: 3px; background: var(--tint); flex: none; box-shadow: inset 0 0 0 1px rgba(16,34,30,.12); }
.gd .bhead .bt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.gd .bhead .brand { font-family: var(--display); font-weight: 900; font-size: 16px; color: var(--h4); letter-spacing: .01em; white-space: nowrap; }
/* The back's screen fills the space above the stub, its rows spread evenly: no empty block under the last one. */
.gd .screen { position: absolute; left: 14px; right: 14px; top: 46px; bottom: calc(100% - var(--cut) + 14px); background: var(--surface); border-radius: 16px; padding: 12px; text-align: left; display: flex; flex-direction: column; justify-content: space-between; gap: 7px; overflow: hidden; }
.gd .m-h { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; font-weight: 800; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.gd .m-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 8px 10px; font-size: 12px; position: relative; }
.gd .m-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
.gd .m-txt b { font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd .m-txt small { color: var(--muted); font-size: 11px; font-weight: 500; }
.gd .m-amt { font-weight: 800; font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gd .m-tile { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--h1); color: var(--h4); flex: none; position: relative; font-weight: 900; font-size: 14px; }
.gd .m-tile svg { width: 17px; height: 17px; }
.gd .faded > * { opacity: .5; }
.gd .m-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.gd .m-cal i { display: block; aspect-ratio: 1.7; border-radius: 4px; background: var(--line); }
.gd .m-cal .l1 { background: var(--h1) !important; } .gd .m-cal .l2 { background: var(--h2) !important; } .gd .m-cal .l3 { background: var(--h3) !important; } .gd .m-cal .l4 { background: var(--h4) !important; }
.gd .m-cats { display: grid; gap: 5px; margin-top: 3px; }
.gd .m-cat { display: grid; grid-template-columns: 66px 1fr auto; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; }
.gd .m-cat b { font-weight: 800; font-variant-numeric: tabular-nums; }
.gd .m-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.gd .m-bar span { display: block; height: 100%; border-radius: 3px; background: var(--h3); transform-origin: left center; }
.gd .m-from { font-size: 10.5px; font-weight: 800; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.gd .m-bubble { position: relative; overflow: hidden; background: #fff; border-radius: 14px 14px 14px 4px; padding: 10px 12px; font-size: 12.5px; line-height: 1.38; box-shadow: 0 1px 0 rgba(16,34,30,.06); }
.gd .m-scan { position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(90deg, transparent, rgba(62,154,110,.28), transparent); opacity: 0; }
.gd .m-arrow { align-self: center; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--h1); color: var(--h4); }
.gd .m-arrow svg { width: 15px; height: 15px; }
.gd .m-row.result { box-shadow: 0 0 0 2px var(--h2); }
.gd .m-apart { display: flex; align-items: center; gap: 10px; border: 1.5px dashed var(--h23); border-radius: 12px; padding: 8px 10px; background: rgba(215,235,223,.45); }
.gd .m-pill { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; background: var(--h1); color: var(--h4); font-size: 10.5px; font-weight: 800; white-space: nowrap; }
.gd .m-note { font-size: 11px; color: var(--muted); font-weight: 600; padding-left: 2px; }
.gd .m-ring { position: absolute; inset: -3px; border-radius: 12px; border: 2px solid var(--h3); opacity: 0; }
.gd .m-tile.dark { background: var(--ink); color: #fff; }
.gd .m-big { font-family: var(--display); font-weight: 900; font-size: 38px; line-height: 1; letter-spacing: -.01em; }
.gd .m-track { height: 12px; border-radius: 6px; background: var(--line); overflow: hidden; }
.gd .m-fill { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--h2), var(--h3)); transform-origin: left center; }
.gd .m-scale { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--muted); }
.gd .m-status { display: flex; align-items: center; gap: 7px; background: #fff; border-radius: 12px; padding: 9px 10px; font-size: 12px; font-weight: 600; }
.gd .m-status b { color: var(--h4); font-weight: 800; }
.gd .gdot { width: 8px; height: 8px; border-radius: 50%; background: var(--h3); flex: none; }
.gd .m-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--h2); color: var(--ink); font-weight: 900; font-size: 13px; flex: none; }
.gd .m-av.o { background: var(--h1); }
.gd .m-remind { position: relative; display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--h4); color: #fff; font-size: 11.5px; font-weight: 800; flex: none; }
.gd .m-remind .m-ring { inset: -3px; border-radius: 999px; border-color: var(--h3); }
.gd .m-check { width: 18px; height: 18px; color: var(--h3); flex: none; }
@keyframes gdRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes gdPop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
@keyframes gdGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes gdSlide { from { opacity: 0; transform: translateX(46px); } to { opacity: 1; transform: none; } }
@keyframes gdRing { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes gdPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@keyframes gdScan { 0% { opacity: 1; transform: translateX(-110%); } 100% { opacity: 1; transform: translateX(240%); } }
@keyframes gdDim { to { opacity: .55; } }
@keyframes gdPress { 0%, 100% { transform: scale(1); } 35% { transform: scale(.88); } }
.gd .flipped .back .a-rise { animation: gdRise .55s var(--spring) both; animation-delay: var(--d, .35s); }
.gd .flipped .back .a-pop { animation: gdPop .5s var(--spring) both; animation-delay: var(--d, .35s); }
.gd .flipped .back .a-grow { animation: gdGrow .9s var(--spring) both; animation-delay: var(--d, .6s); }
.gd .flipped .back .a-slide { animation: gdSlide .6s var(--spring) both; animation-delay: var(--d, .6s); }
.gd .flipped .back .m-bubble { animation: gdRise .55s var(--spring) .35s both, gdDim .4s ease 1.25s forwards; }
.gd .flipped .back .m-scan { animation: gdScan .8s ease-in-out .6s both; }
.gd .flipped .back .hot { animation: gdRise .55s var(--spring) .35s both, gdPulse 1.6s ease-in-out 1s infinite; }
.gd .flipped .back .hot .m-ring { animation: gdRing 1.6s ease-out 1s infinite; }
.gd .flipped .back .m-remind { animation: gdPress .5s ease 1.6s both; }
.gd .flipped .back .m-remind .m-ring { animation: gdRing 1.4s ease-out .9s 3; }
.gd .controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 76px; }
.gd .btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(16,34,30,.14); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .35s var(--spring), background .2s; -webkit-tap-highlight-color: transparent; }
.gd .btn svg { width: 22px; height: 22px; }
.gd .btn:hover { transform: translateY(-2px); background: var(--heat1); }
.gd .btn:active { transform: scale(.92); }
.gd .btn:focus-visible { outline: 3px solid var(--h3); outline-offset: 3px; }
.gd .dots { display: flex; gap: 7px; }
.gd .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); opacity: .18; transition: transform .45s var(--spring), opacity .3s ease; }
.gd .dot.on { opacity: 1; transform: scale(1.35); background: var(--h3); }
.gd .hint { margin: 16px 0 0; color: var(--muted); font-size: 13.5px; font-weight: 500; }
/* Open: the deck glides left and the points come in on the right (desktop); on phones the points sit under the deck. */
.gd .gd-row { position: relative; width: 100%; max-width: 1100px; display: flex; flex-direction: column; align-items: center; }
.gd .gd-deckwrap { transition: transform .6s var(--spring); }
.gd .gd-panel { width: 100%; max-width: 440px; text-align: left; margin-top: 36px; }
.gd .gd-panel[hidden] { display: none; }
.gd .gp-in { transition: opacity .2s ease, transform .2s ease; }
.gd .gp-in.swap { opacity: 0; transform: translateY(6px); }
.gd .gp-k { font: 700 12px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--heat3); }
.gd .gd-panel h3 { font-family: var(--display); font-size: clamp(34px, 3.6vw, 48px); line-height: .95; margin-top: 10px; text-wrap: balance; }
.gd .gp-pts { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.gd .gp-pts li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.4; color: var(--ink); }
.gd .gp-pts li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 5px; border-radius: 4px; background: var(--heat2); }
.gd .gp-pts li:nth-child(2)::before { background: var(--heat3); } .gd .gp-pts li:nth-child(3)::before { background: var(--heat4); }
.gd .gp-link { display: inline-flex; margin-top: 22px; font-weight: 700; font-size: 16px; color: var(--heat4); text-decoration: none; }
.gd .gp-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.gd .gp-back { display: block; margin-top: 14px; padding: 0; border: 0; background: none; font: 600 14.5px var(--body); color: var(--ink2); cursor: pointer; }
.gd .gp-back:hover { color: var(--ink); }
@media (min-width: 900px) {
  .gd .gd-row { display: block; height: calc(var(--ch) + 20px); }
  .gd .gd-deckwrap { position: absolute; left: 50%; top: 0; transform: translateX(-50%); }
  .gd.open .gd-deckwrap { transform: translateX(calc(-50% - min(26vw, 330px))); }
  .gd .gd-panel { position: absolute; left: calc(50% + 110px); top: 50%; width: min(420px, 38%); margin: 0; translate: 0 -50%; opacity: 0; transform: translateX(40px); transition: opacity .45s ease .12s, transform .6s var(--spring) .08s; pointer-events: none; }
  .gd .gd-panel[hidden] { display: block; visibility: hidden; }
  .gd.open .gd-panel { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
}
@media (prefers-reduced-motion: reduce) {
  .gd .gcard, .gd .lift, .gd .flip, .gd .shadow, .gd .btn, .gd .dot, .gd .gd-deckwrap, .gd .gd-panel, .gd .gp-in { transition: none !important; }
  .gd .back * { animation: none !important; }
}

/* Privacy band, redesigned: the headline on the left; on the right a phone holding what stays on it, and what never happens. */
.priv3 .pv { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: center; text-align: left; }
.priv3 .pv h2 { margin: 0; max-width: none; color: #fff; font-size: clamp(40px, 5.2vw, 76px); }
.priv3 .pv h2 span { display: block; color: var(--heat2); }
.priv3 .pv .more-link { display: inline-block; margin-top: 26px; }
.pv-art { display: grid; gap: 20px; justify-items: center; }
.pv-phone { position: relative; width: min(270px, 78vw); display: flex; flex-direction: column; gap: 10px; padding: 44px 20px 30px; border: 3px solid rgba(255,255,255,.85); border-radius: 40px; background: rgba(255,255,255,.04); }
.pv-phone::before { content: ""; position: absolute; top: 13px; left: 50%; width: 72px; height: 18px; margin-left: -36px; border-radius: 12px; background: rgba(255,255,255,.85); }
.pv-k { font: 700 12px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--night-ink2); text-align: center; margin-bottom: 2px; }
.pv-chip { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border-radius: 14px; padding: 12px 14px; font: 700 16px var(--body); color: #fff; }
.pv-chip::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--heat2); flex: none; }
.pv-chip:nth-child(3)::before { background: var(--heat3); }
.pv-chip:nth-child(4)::before { background: var(--heat1); }
.pv-never { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.pv-never .pv-k { width: 100%; margin-bottom: 0; }
.pv-x { font: 700 15px var(--body); color: var(--night-ink2); border: 1.5px solid rgba(255,255,255,.18); border-radius: 99px; padding: 6px 15px; text-decoration: line-through; text-decoration-color: var(--dot); text-decoration-thickness: 2px; }
@media (max-width: 820px) {
  .priv3 .pv { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .priv3 .pv h2 { max-width: none; }
}

/* Phones: the card's back carries its three points; the separate panel under the deck is gone. */
.gd .bpts { display: none; }
@media (max-width: 899px) {
  .gd .gd-panel, .gd .gd-panel[hidden] { display: none !important; }
  .gd .back .stub { align-items: center; padding: 10px 22px; }
  .gd .back .stub .line { display: none; }
  .gd .back .stub .bpts { display: grid; gap: 4px; list-style: none; margin: 0; padding: 0; width: 100%; }
  .gd .back .stub .bpts li { display: flex; align-items: baseline; gap: 8px; font-family: var(--display); font-size: 14.5px; font-weight: 800; line-height: 1.15; text-align: left; }
  .gd .back .stub .bpts li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 3px; background: currentColor; opacity: .55; transform: translateY(-1px); }
}

.pv-fine { margin: 18px 0 0; max-width: 46ch; font-size: 13.5px; line-height: 1.5; color: var(--night-ink2); }
.pv-fine a { color: var(--heat2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 820px) { .pv-fine { margin-inline: auto; } }

.mini-legend { display: flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--muted); }
.mini-legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--heat0); box-shadow: inset 0 0 0 1px var(--line); }
.mini-legend i.l1 { background: var(--heat1); box-shadow: none; }
.mini-legend i.l2 { background: var(--heat2); box-shadow: none; }
.mini-legend i.l3 { background: var(--heat3); box-shadow: none; }
.mini-legend i.l4 { background: var(--heat4); box-shadow: none; }
.mini-legend span:first-child { margin-right: 3px; }
.mini-legend span:last-child { margin-left: 3px; }

/* Home sections: each plays once when it scrolls into view (ledger.js adds .in to [data-a]). The animations wait,
   paused on their first frame, until then. html.anim is set in the head, so without JavaScript everything shows as
   it ends; reduced motion skips them. Transforms and opacity only. */
.big-stat b { font-weight: inherit; font-variant-numeric: tabular-nums; }
.nums .flags i { display: inline-block; font-style: normal; }
html.anim .pv-x { position: relative; text-decoration: none; }
html.anim .pv-x::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--dot); transform-origin: left; }
@keyframes a-up { from { opacity: 0; transform: translateY(16px); } }
@keyframes a-left { from { opacity: 0; transform: translateX(-18px); } }
@keyframes a-drop { from { opacity: 0; transform: translateY(-14px); } }
@keyframes a-pop { from { opacity: 0; transform: scale(.4); } }
@keyframes a-cell { from { opacity: 0; transform: scale(.55); } }
@keyframes a-fade { from { opacity: 0; } }
@keyframes a-x { from { transform: scaleX(0); } }
@keyframes a-phone { from { opacity: 0; transform: scale(.92); } }
@media (prefers-reduced-motion: no-preference) {
  html.anim [data-a] .a, html.anim .nums .flags i, html.anim .core3 .sms, html.anim .core3 .mrow, html.anim .core3 .mini-cal i,
  html.anim .core3 .mini-legend, html.anim .core3 .bar i, html.anim .pv-phone, html.anim .pv-chip, html.anim .pv-never .pv-k,
  html.anim .pv-x, html.anim .pv-x::after, html.anim .get .get-card {
    animation-duration: .5s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); animation-fill-mode: both; animation-play-state: paused;
  }
  html.anim [data-a].in *, html.anim [data-a].in *::after { animation-play-state: running !important; }
  /* 216 counts up (ledger.js), then the flags pop in one by one. */
  html.anim .nums .flags i { animation-name: a-pop; animation-duration: .45s; animation-delay: calc(.9s + var(--i, 0) * .1s); }
  /* The three cards, 120 ms apart. */
  .core3 .ccard:nth-child(2) { --cd: .12s; } .core3 .ccard:nth-child(3) { --cd: .24s; }
  html.anim .core3 .sms { animation-name: a-left; animation-duration: .55s; animation-delay: var(--cd, 0s); }
  html.anim .core3 .mrow { animation-name: a-up; animation-delay: calc(var(--cd, 0s) + .45s); }
  html.anim .core3 .mini-cal i { animation-name: a-cell; animation-duration: .3s; animation-delay: calc(var(--cd, 0s) + .1s + var(--i, 0) * .05s); }
  html.anim .core3 .mini-legend { animation-name: a-fade; animation-duration: .4s; animation-delay: calc(var(--cd, 0s) + .85s); }
  html.anim .core3 .bar i { animation-name: a-x; animation-duration: .9s; animation-delay: calc(var(--cd, 0s) + .2s); }
  /* Privacy: the phone comes in, its chips drop in, then the Never pills and their strike lines, left to right. */
  html.anim .pv-phone { animation-name: a-phone; animation-duration: .5s; }
  html.anim .pv-chip { animation-name: a-drop; animation-duration: .4s; }
  /* nth-of-type counts the "On your phone" / "Never" label too, so the chips and pills are 2 to 4. */
  html.anim .pv-chip:nth-of-type(2) { animation-delay: .3s; } html.anim .pv-chip:nth-of-type(3) { animation-delay: .42s; } html.anim .pv-chip:nth-of-type(4) { animation-delay: .54s; }
  html.anim .pv-never .pv-k { animation-name: a-fade; animation-duration: .35s; animation-delay: .75s; }
  html.anim .pv-x { animation-name: a-pop; animation-duration: .35s; }
  html.anim .pv-x:nth-of-type(2) { animation-delay: .8s; } html.anim .pv-x:nth-of-type(3) { animation-delay: .88s; } html.anim .pv-x:nth-of-type(4) { animation-delay: .96s; }
  html.anim .pv-x::after { animation-name: a-x; animation-duration: .3s; }
  html.anim .pv-x:nth-of-type(2)::after { animation-delay: 1.05s; } html.anim .pv-x:nth-of-type(3)::after { animation-delay: 1.15s; } html.anim .pv-x:nth-of-type(4)::after { animation-delay: 1.25s; }
  /* Get Ledger: a gentle rise. */
  html.anim .get .get-card { animation-name: a-up; animation-duration: .8s; }
}

/* The live site's day squares, drifting down behind the hero (same sizes, shades and speeds). */
.hero2 { position: relative; overflow: hidden; }
.hero2 > .wrap { position: relative; z-index: 1; }
.confetti { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.confetti i { position: absolute; top: 0; width: 28px; height: 28px; border-radius: 8px; opacity: .9; animation: drift 9s linear infinite; }
@keyframes drift { from { transform: translateY(-10vh) rotate(0); } to { transform: translateY(110vh) rotate(160deg); } }
@media (prefers-reduced-motion: reduce) { .confetti { display: none; } }

/* Features galleries: the row now sits inside the page width (same left and right edges as the headings), three cards
   across on desktop, two on tablets, one and a peek on phones. Scroll and paddles as before. */
.fg-row { --gut: 0px; width: min(1136px, calc(100% - 64px)); margin-inline: auto; padding: 28px 0 8px; scroll-padding-inline: 0; }
.fcard { width: calc((100% - 40px) / 3); }
@media (max-width: 1000px) { .fcard { width: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .fg-row { width: calc(100% - 32px); } .fcard { width: 86%; } }

/* Features cards on desktop: hover a card and it widens to two columns; its three points appear on the left and its
   picture plays in on the right, piece by piece. Leave the row and it closes. Click still opens the full panel. */
.fc-pts { display: none; list-style: none; padding: 0; margin: 16px 0 0; }
.fc-pts li { position: relative; padding-left: 20px; margin: 9px 0; font-size: 14.5px; line-height: 1.4; color: var(--ink2); }
.fc-pts li::before { content: ""; position: absolute; left: 0; top: .42em; width: 10px; height: 10px; border-radius: 3px; background: var(--heat3); }
@keyframes fcIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (hover: hover) and (min-width: 1001px) {
  .fcard { transition: width .55s cubic-bezier(.3,1.1,.4,1), transform .35s var(--spring, ease); }
  .fcard.open { width: calc((100% - 40px) / 3 * 2 + 20px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 28px; background: var(--heat0); box-shadow: inset 0 0 0 2px var(--heat1); }
  .fcard.open:hover { transform: none; }
  .fcard.open > .fc-k, .fcard.open > h3, .fcard.open > .fc-pts { grid-column: 1; }
  .fcard.open > .fc-pts { display: block; align-self: start; }
  .fcard.open > .fc-art { grid-column: 2; grid-row: 1 / -1; margin: 0 -28px 0 0; }
  .fcard.open .fc-pts li { animation: fcIn .4s ease both; }
  .fcard.open .fc-pts li:nth-child(1) { animation-delay: .15s; }
  .fcard.open .fc-pts li:nth-child(2) { animation-delay: .25s; }
  .fcard.open .fc-pts li:nth-child(3) { animation-delay: .35s; }
  .fcard.open .fc-art .svc-art > * { animation: fcIn .5s cubic-bezier(.3,1.3,.5,1) both; }
  .fcard.open .fc-art .svc-art > :nth-child(1) { animation-delay: .2s; }
  .fcard.open .fc-art .svc-art > :nth-child(2) { animation-delay: .4s; }
  .fcard.open .fc-art .svc-art > :nth-child(3) { animation-delay: .6s; }
  .fcard.open .fc-art .svc-art > :nth-child(4) { animation-delay: .8s; }
  .fcard.open .fc-art .svc-art > :nth-child(n+5) { animation-delay: 1s; }
}
@media (prefers-reduced-motion: reduce) {
  .fcard { transition: none !important; }
  .fcard.open .fc-pts li, .fcard.open .fc-art .svc-art > * { animation: none !important; }
}

/* Home phone: Tally's delivery, as on the app's Month screen (TallyDelivery.swift, MonthListView): the bank text arrives,
   Tally picks up the amount, flies it to today's square, drops it in and celebrates; the square fills and the row lands. */
.hphone.deliver .hnote, .hphone.deliver .hp-row, .hphone.deliver .hp-cal i.today { animation: none; }
.hphone.deliver .hnote { background: #fff; color: var(--ink); box-shadow: 0 12px 26px -12px rgba(16,34,30,.35), 0 0 0 1px rgba(16,34,30,.06); opacity: 0; transform: translateY(-16px); transition: opacity .3s ease, transform .5s cubic-bezier(.3,1.35,.5,1); }
.hphone.deliver .hnote.in { opacity: 1; transform: none; }
.hphone.deliver .hnote .app { background: var(--ink); font-size: 15px; }
.hphone.deliver .hnote small { color: var(--ink2); }
.hphone.deliver .hnote em { color: var(--muted); }
.hphone.deliver .hp-row { opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .45s cubic-bezier(.3,1.35,.5,1); }
.hphone.deliver .hp-row.in { opacity: 1; transform: none; }
.hphone.deliver .hp-cal i.today { background: var(--heat1); transition: background .3s ease; }
.hphone.deliver .hp-cal i.today.full { background: var(--heat2); animation: hpop .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes hpop { 0% { transform: scale(1); } 45% { transform: scale(1.28); } 100% { transform: scale(1); } }
.hcarry { position: absolute; left: 0; top: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 2px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .25s ease, transform .35s cubic-bezier(.3,1.5,.5,1); }
.hcarry.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.hcarry.fly { transition: left .8s cubic-bezier(.3,1.25,.5,1), top .8s cubic-bezier(.3,1.25,.5,1), opacity .25s ease, transform .35s cubic-bezier(.3,1.5,.5,1); }
.hcarry .tag { font: 800 12px/1 var(--body); color: #fff; background: var(--dot); border-radius: 99px; padding: 4px 8px; white-space: nowrap; transition: transform .4s cubic-bezier(.3,1.5,.5,1), opacity .3s ease; font-variant-numeric: tabular-nums; }
.hcarry.landed .tag { transform: scale(.4) translateY(26px); opacity: 0; }
.hcarry svg { width: 36px; height: 36px; filter: drop-shadow(0 6px 10px rgba(14,90,62,.35)); }
.hcarry.landed svg { animation: hcheer .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes hcheer { 0% { transform: none; } 40% { transform: translateY(-8px) rotate(-8deg); } 100% { transform: none; } }

/* The app's Month switch (MonthModeSwitch.swift) in the empty days before the 1st: Spent, Transfer, Subs. */
.mswitch { grid-column: 1 / span 6; justify-self: start; align-self: center; display: flex; gap: 3px; padding: 3px; background: var(--surface, #F3F5F4); border-radius: 12px; }
.mswitch span { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 7px; border-radius: 9px; font: 700 10px/1 Archivo, system-ui, sans-serif; color: var(--ink2, #5B6B66); opacity: .5; white-space: nowrap; }
.mswitch span.on { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12); opacity: 1; color: #0E5A3E; }
.mswitch b { display: grid; grid-template-columns: repeat(3, 6px); gap: 2px; }
.mswitch u { display: block; width: 6px; height: 6px; border-radius: 1.5px; }
.mswitch u.a { background: #0E5A3E; } .mswitch u.b { background: #3E9A6E; } .mswitch u.c { background: #9ACDB0; }
.mswitch u.t { background: #6F95C4; } .mswitch u.s { background: #7C83D6; } .mswitch u.o { background: #E8ECEA; }

/* What Ledger does for you: simple blocks, an icon, a name and a few words each, linking to its feature. */
.blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.blk { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; gap: 2px 16px; align-items: center; padding: 22px; border-radius: 22px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); transition: transform .25s cubic-bezier(.3,1.4,.5,1), box-shadow .25s ease; }
.blk:hover { transform: translateY(-3px); box-shadow: 0 0 0 1.5px var(--heat2), 0 18px 30px -22px rgba(14,90,62,.5); }
.blk .bi { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; background: var(--heat1); color: var(--heat4); display: grid; place-items: center; }
.blk .bi svg { width: 24px; height: 24px; }
.blk b { font: 900 22px/1.05 var(--display); letter-spacing: -.01em; align-self: end; }
.blk .bt { font-size: 14.5px; color: var(--ink2); align-self: start; }
@keyframes blkIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.core3.in .blk { animation: blkIn .5s cubic-bezier(.3,1.2,.5,1) both; }
.core3.in .blk:nth-child(2) { animation-delay: .06s; } .core3.in .blk:nth-child(3) { animation-delay: .12s; }
.core3.in .blk:nth-child(4) { animation-delay: .18s; } .core3.in .blk:nth-child(5) { animation-delay: .24s; } .core3.in .blk:nth-child(6) { animation-delay: .3s; }
@media (max-width: 900px) { .blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .blocks { grid-template-columns: minmax(0, 1fr); } .blk { padding: 18px; } }
@media (prefers-reduced-motion: reduce) { .core3.in .blk { animation: none; } }

/* What Ledger does: the blocks on the left; on the right, what the picked one does (its picture from Features).
   Hover or tap a block to switch; a second tap opens the feature. Phones: the picture sits under the list. */
.bsplit { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; margin-top: 28px; }
.bsplit .blocks { grid-template-columns: minmax(0, 1fr); margin-top: 0; gap: 10px; }
.bsplit .blk { padding: 16px 18px; cursor: pointer; }
.bsplit .blk.on { box-shadow: 0 0 0 2px var(--heat2); background: var(--heat0); transform: none; }
.bshow { position: sticky; top: 96px; min-height: 520px; border-radius: 32px; overflow: hidden; }
.bpane { position: absolute; inset: 0; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .35s ease, transform .45s cubic-bezier(.3,1.25,.5,1); pointer-events: none; }
.bpane.on { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.bpane .svc-art { min-height: 520px; height: 100%; }
.bpane.on .svc-art > * { animation: blkIn .5s cubic-bezier(.3,1.3,.5,1) both; }
.bpane.on .svc-art > :nth-child(2) { animation-delay: .1s; } .bpane.on .svc-art > :nth-child(3) { animation-delay: .2s; }
.bpane.on .svc-art > :nth-child(4) { animation-delay: .3s; } .bpane.on .svc-art > :nth-child(n+5) { animation-delay: .4s; }
@media (max-width: 900px) { .bsplit { grid-template-columns: minmax(0, 1fr); } .bshow { position: relative; top: 0; min-height: 0; } .bpane .svc-art { min-height: 380px; } }
@media (prefers-reduced-motion: reduce) { .bpane { transition: none; } .bpane.on .svc-art > * { animation: none; } }

/* The right window: one fixed size for every block, a dotted canvas, and a Figma-style build: a named cursor moves to
   each piece, clicks, and the piece appears inside a selection box with corner handles. */
.bshow { height: 560px; min-height: 0; }
.bpane { height: 100%; }
.bpane .svc-art { height: 100%; min-height: 0; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 14px; padding: 40px 52px; border-radius: 32px; }
.bpane .svc-art > * { flex: none; margin: 0 !important; }
.bpane.on .svc-art > * { animation: none; }
.cv-item { opacity: 0; transform: scale(.96); transition: opacity .25s ease, transform .4s cubic-bezier(.3,1.4,.5,1); }
.cv-item.cv-in { opacity: 1; transform: none; }
.cv-layer { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.cv-sel { position: absolute; left: 0; top: 0; width: 0; height: 0; border: 1.5px solid var(--heat3); border-radius: 8px; opacity: 0; transition: left .35s cubic-bezier(.3,1.15,.5,1), top .35s cubic-bezier(.3,1.15,.5,1), width .35s cubic-bezier(.3,1.15,.5,1), height .35s cubic-bezier(.3,1.15,.5,1), opacity .2s ease; }
.cv-sel.on { opacity: 1; }
.cv-sel i { position: absolute; width: 9px; height: 9px; background: #fff; border: 1.5px solid var(--heat3); border-radius: 2px; }
.cv-sel i:nth-child(1) { left: -5px; top: -5px; } .cv-sel i:nth-child(2) { right: -5px; top: -5px; }
.cv-sel i:nth-child(3) { left: -5px; bottom: -5px; } .cv-sel i:nth-child(4) { right: -5px; bottom: -5px; }
.cv-cur { position: absolute; left: 0; top: 0; transition: transform .6s cubic-bezier(.45,.05,.25,1); will-change: transform; }
.cv-cur svg { display: block; width: 22px; height: 22px; filter: drop-shadow(0 2px 3px rgba(16,34,30,.3)); transform-origin: 3px 3px; }
.cv-cur span { position: absolute; left: 16px; top: 18px; background: var(--heat3); color: #fff; font: 700 11px/1 var(--body); padding: 4px 7px; border-radius: 3px 7px 7px 7px; white-space: nowrap; }
.cv-cur.click svg { animation: cvClick .26s ease; }
@keyframes cvClick { 50% { transform: scale(.78); } }
@media (max-width: 900px) { .bshow { height: 460px; } .bpane .svc-art { padding: 28px 24px; } }
@media (prefers-reduced-motion: reduce) { .cv-item { opacity: 1; transform: none; transition: none; } .cv-layer { display: none; } }

/* The right window as a journey: the pieces step from top-left to bottom-right like a Miro board, each numbered, joined
   by connectors that draw in with a dot running along them. No cursor. */
.bpane .svc-art.jr { display: block; position: relative; padding: 0; }
.bpane .svc-art.jr > * { position: absolute; margin: 0 !important; width: var(--nw, 320px); max-width: none; }
.bpane .svc-art.jr > .down { display: none; }
.jr-layer { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.jr-layer svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.jr-layer path { fill: none; stroke: var(--heat3); stroke-width: 2; stroke-linecap: round; }
.jr-layer .jr-dot { fill: var(--heat4); }
.jr-num { position: absolute; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: var(--heat4); color: #fff; font: 800 12px/24px var(--body); text-align: center; box-shadow: 0 0 0 3px var(--surface); opacity: 0; transform: scale(.5); transition: opacity .25s ease, transform .35s cubic-bezier(.3,1.6,.5,1); }
.jr-num.in { opacity: 1; transform: none; }
.cv-layer { display: none !important; }

/* The right window: a plain three-step flow per block (for example Paid, Logged, Managed), left to right. Each step
   pops in, then the arrow to the next one draws. Phones: top to bottom. */
.bshow { background: var(--surface); background-image: var(--dots); background-size: 22px 22px; }
.flow { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 28px 26px; }
.fstep { flex: none; width: 29%; background: #fff; border-radius: 22px; padding: 20px 14px 18px; text-align: center; box-shadow: 0 12px 26px -18px rgba(16,34,30,.4), 0 0 0 1px var(--line); opacity: 0; transform: translateY(12px) scale(.95); transition: opacity .3s ease, transform .45s cubic-bezier(.3,1.4,.5,1); }
.fstep.in { opacity: 1; transform: none; }
.fstep .k { font: 800 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--heat3); }
.fstep .ic { width: 56px; height: 56px; border-radius: 17px; background: var(--heat1); color: var(--heat4); display: grid; place-items: center; margin: 12px auto 10px; }
.fstep:last-child .ic { background: var(--heat4); color: #fff; }
.fstep .ic svg { width: 27px; height: 27px; }
.fstep b { display: block; font: 900 24px/1.05 var(--display); letter-spacing: -.01em; color: var(--ink); }
.fstep small { display: block; margin-top: 7px; font-size: 13px; line-height: 1.35; color: var(--ink2); }
.farrow { flex: 1 1 auto; min-width: 16px; height: 2px; margin: 0 6px; background: var(--heat3); position: relative; transform-origin: left center; transform: scaleX(0); transition: transform .45s cubic-bezier(.4,0,.2,1); }
.farrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-right: 0; border-left: 8px solid var(--heat3); }
.farrow.in { transform: scaleX(1); }
@media (max-width: 700px) {
  .flow { flex-direction: column; padding: 18px; }
  .fstep { width: 78%; padding: 12px 12px 12px; }
  .fstep .ic { width: 40px; height: 40px; margin: 6px auto; } .fstep .ic svg { width: 20px; height: 20px; }
  .fstep b { font-size: 19px; }
  .farrow { width: 2px; height: auto; min-height: 14px; margin: 4px 0; transform-origin: center top; transform: scaleY(0); }
  .farrow::after { right: auto; left: -5px; top: auto; bottom: -2px; border: 6px solid transparent; border-bottom: 0; border-top: 8px solid var(--heat3); }
  .farrow.in { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) { .fstep, .farrow { transition: none; } }

/* The right window, like our posts: the real app screen in a phone rising from the bottom, with a white callout. */
.pshot { position: absolute; inset: 0; overflow: hidden; }
.pph { position: absolute; left: 50%; top: 46px; width: 300px; margin-left: -150px; border: 10px solid var(--ink); border-bottom: 0; border-radius: 46px 46px 0 0; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(14,90,62,.55); opacity: 0; transform: translateY(80px); transition: opacity .35s ease, transform .65s cubic-bezier(.25,1.15,.4,1); }
.pph img { display: block; width: 100%; height: auto; }
.pcall { position: absolute; left: 26px; top: 104px; max-width: 200px; background: #fff; border-radius: 16px; padding: 12px 14px; font: 800 17px/1.15 var(--display); letter-spacing: -.005em; color: var(--ink); box-shadow: 0 14px 30px -14px rgba(16,34,30,.45), 0 0 0 1px rgba(16,34,30,.05); opacity: 0; transform: translateY(8px) scale(.94); transition: opacity .3s ease .35s, transform .45s cubic-bezier(.3,1.5,.5,1) .35s; }
.pcall small { display: block; margin-bottom: 4px; font: 800 10.5px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--heat3); }
.pshot.in .pph, .pshot.in .pcall { opacity: 1; transform: none; }
@media (max-width: 900px) { .pph { width: 250px; margin-left: -125px; top: 36px; } .pcall { left: 14px; top: 70px; max-width: 160px; font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .pph, .pcall { transition: none; } }

/* Whole phone in view, and it plays: it rises, a tap lands on the part that matters, the screen zooms in on it, holds,
   and eases back; the white callout names it. Repeats while the block is picked. */
.pph { top: 50%; left: 58%; width: 236px; margin: 0; border: 9px solid var(--ink); border-radius: 42px; transform: translate(-50%, calc(-50% + 70px)); }
.pshot.in .pph { transform: translate(-50%, -50%); }
.pph .pscr { position: relative; overflow: hidden; border-radius: 33px; }
.pph img { transition: transform .9s cubic-bezier(.45,.05,.25,1); transform-origin: var(--fx, 50%) var(--fy, 50%); }
/* No zoom (owner, 28 Nov): the tap ring and callout point at the part; the screen stays whole. */
.pph.zoom img { transform: none; }
.pring { position: absolute; left: var(--fx, 50%); top: var(--fy, 50%); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(62,154,110,.28); box-shadow: 0 0 0 2px rgba(62,154,110,.9); opacity: 0; transform: scale(.4); pointer-events: none; }
.pph.tap .pring { animation: ptap .7s ease-out; }
@keyframes ptap { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
.pcall { left: 22px; top: 50%; margin-top: -120px; }
@media (max-width: 900px) { .pph { width: 196px; left: 60%; } .pcall { top: 30px; margin-top: 0; } }
@media (prefers-reduced-motion: reduce) { .pph img { transition: none; } .pph.zoom img { transform: none; } .pph.tap .pring { animation: none; } }

/* Ledger Plus band: a module's card on the green band (ledger.js). Tapping a module's hexagon or name grows its card
   out of that hexagon (--ox, --oy); the honeycomb and chip fade back; "All" or Esc returns them. */
.pb-hx[data-g] { cursor: pointer; }
.pb-spin { transition: opacity .35s ease; }
.pb-field.card-open .pb-spin, .pb-field.card-open .pb-chip { opacity: 0; pointer-events: none; }
.pb-card { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 64px 20px 20px; }
.pb-card[hidden] { display: none; }
.pb-cv { width: min(400px, 100%); display: grid; gap: 12px; }
.pb-cv > * { margin: 0; }
.pb-cv .mini { color: var(--ink); } /* the band's text is white; the white cards keep the page's ink */
.pb-card.enter .pb-cv { animation: pb-grow .5s cubic-bezier(.2, .8, .2, 1) both; }
.pb-card.leave .pb-cv { animation: pb-shrink .35s ease-in both; }
@keyframes pb-grow { from { opacity: 0; transform: translate(var(--ox, 0px), var(--oy, 0px)) scale(.15); } }
@keyframes pb-shrink { to { opacity: 0; transform: translate(var(--ox, 0px), var(--oy, 0px)) scale(.15); } }
.pb-all { position: absolute; top: 16px; left: 16px; z-index: 3; border: 0; border-radius: 99px; background: #fff; color: var(--ink); font: 700 14px var(--body); padding: 8px 14px; cursor: pointer; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5); }
.pb-all[hidden] { display: none; }
.pb-all:focus-visible { outline: 3px solid var(--heat2); outline-offset: 2px; }
/* On smaller screens the field is short, so an open card gets the desktop height back. */
.pb-field.card-open { height: 480px; }
@media (max-width: 640px) { .pb-card { padding: 58px 12px 12px; } }
@media (prefers-reduced-motion: reduce) { .pb-card.enter .pb-cv, .pb-card.leave .pb-cv { animation: none; } .pb-spin { transition: none; } }

/* Ledger Plus band: each module's card is its app screen (.ap), rebuilt from the app's layout. A phone 300 wide;
   the screen scrolls inside itself. One small motion each: Deals' tips advance, Split's total counts up, the
   Challenges bar fills and its days tick, the Goals ring and months fill, Family's rows slide in. */
/* No phone around it: the screen's content sits in the band's old white card (.mini's look: white, 22 radius, 16
   padding, soft shadow), a fixed height that scrolls inside. The status bar and back link are hidden; Family keeps its
   "Coming soon" tag. */
.ap { width: 100%; height: 540px; margin: 0 auto; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 0 10px 30px -18px rgba(14,90,62,.4); font-family: var(--body); text-align: left; }
.ap .ap-sb, .ap .ap-nav { display: none; }
.ap .ap-nav:has(.ap-soon) { display: flex; justify-content: flex-start; padding: 16px 16px 0; }
.ap .ap-nav:has(.ap-soon) > span:first-child { display: none; }
.ap .ap-body { padding-top: 16px; }
.ap-sb { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 2px; font-size: 13px; }
.ap-sb i { width: 22px; height: 11px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.ap-nav { display: flex; justify-content: space-between; align-items: center; padding: 6px 16px 4px; font: 700 13.5px var(--body); color: var(--heat4); }
.ap-nav .g { color: var(--heat4); }
.ap-soon, .ap-chip { font: 700 10px var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); background: var(--surface2); border-radius: 99px; padding: 3px 8px; }
.ap-body { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 4px 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.ap-body::-webkit-scrollbar { display: none; }
.ap-center { align-items: center; text-align: center; }
.ap-h { font: 900 30px/1 var(--display); letter-spacing: -.015em; margin: 0; }
.ap-sh { font: 700 11px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); margin: 6px 0 0; }
.ap-sh.l { align-self: flex-start; }
.ap-note { margin: -4px 0 0; font-size: 12.5px; color: var(--ink2); line-height: 1.35; }
.ap-foot { margin: 4px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.ap-row2 { display: flex; justify-content: space-between; align-items: baseline; } .ap-row2 small { font-size: 11.5px; color: var(--ink2); }
.ap-btn { border-radius: 99px; padding: 8px 14px; font: 700 13px var(--body); background: var(--heat4); color: #fff; white-space: nowrap; }
.ap-btn.w { background: #fff; color: var(--ink); }
/* Deals: tips as stories */
.ap-tips { position: relative; flex: none; display: grid; background: var(--ink); color: #fff; border-radius: 20px; padding: 12px 14px 14px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ap-tips:focus-visible { outline: 3px solid var(--heat2); outline-offset: 2px; }
.ap-bars { display: flex; gap: 4px; margin-bottom: 10px; }
.ap-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.25); overflow: hidden; }
.ap-bars i::after { content: ""; display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.ap-bars i.done::after { transform: none; }
.ap-bars i.on::after { animation: ap-story 4s linear forwards; }
@keyframes ap-story { to { transform: none; } }
.ap-tip { grid-area: 3 / 1; display: grid; justify-items: start; gap: 6px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.ap-tip.on { opacity: 1; visibility: visible; transition: opacity .3s; }
.ap-tip b { font: 900 21px/1.02 var(--display); letter-spacing: -.01em; }
.ap-tip small { font-size: 11.5px; color: var(--night-ink2); line-height: 1.35; }
.ap-pill { font: 700 11px var(--body); color: #6EE7B0; background: rgba(255,255,255,.08); border-radius: 99px; padding: 3px 9px; }
.ap-why { margin-top: 2px; font: 700 12px var(--body); color: var(--ink); background: #5EDBA0; border-radius: 99px; padding: 6px 13px; }
.ap-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; flex: none; }
.ap-chips::-webkit-scrollbar { display: none; }
.ap-chips button { flex: none; border: 0; border-radius: 99px; background: var(--surface); color: var(--ink); font: 700 12px var(--body); padding: 7px 12px; cursor: pointer; }
.ap-chips button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.ap-chips button:focus-visible { outline: 2px solid var(--heat3); outline-offset: 1px; }
.ap-deals { display: grid; gap: 6px; transition: opacity .18s; }
.ap-deals.fade { opacity: 0; }
.ap-deal { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 9px; background: var(--surface); border-radius: 14px; padding: 9px 10px; }
.ap-deal[hidden] { display: none; }
.ap-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--heat1); display: grid; place-items: center; font-size: 14px; }
.ap-deal b { display: block; font-size: 12.5px; line-height: 1.2; }
.ap-deal small { font-size: 11px; color: var(--ink2); }
.ap-mine { display: inline-flex; align-items: center; gap: 4px; font: 700 10.5px var(--body); color: var(--heat4); white-space: nowrap; }
.ap-mine i { width: 7px; height: 7px; border-radius: 50%; background: var(--heat3); }
/* Split */
.ap-dark { background: var(--ink); color: #fff; border-radius: 20px; padding: 14px; display: grid; gap: 10px; flex: none; }
.ap-k { font: 700 10px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--heat2); }
.ap-owed { display: flex; justify-content: space-between; align-items: center; }
.ap-owed b { display: block; font: 900 34px/1 var(--display); font-variant-numeric: tabular-nums; }
.ap-owed small { font-size: 12px; color: var(--night-ink2); }
.ap-ppl { display: flex; gap: 6px; flex-wrap: wrap; }
.ap-ppl > span { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.1); border-radius: 99px; padding: 3px 9px 3px 3px; font: 700 11.5px var(--body); }
.ap-ppl i, .ap-pay i, .ap-av i { width: 20px; height: 20px; border-radius: 50%; background: var(--heat3); color: #fff; display: grid; place-items: center; font: 800 10px var(--body); font-style: normal; }
.ap-ppl i.r, .ap-pay i.r { background: #C46A2C; } .ap-ppl i.m, .ap-pay i.m { background: #6B5BB5; } .ap-pay i.s { background: var(--heat4); }
.ap-days, .ap-months { display: flex; align-items: flex-end; gap: 8px; height: 92px; flex: none; }
.ap-days > div, .ap-months > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; height: 100%; font-size: 10px; color: var(--ink2); }
.ap-days i, .ap-months i { width: 100%; height: calc(var(--h, .1) * 56px); border-radius: 7px; background: var(--heat2); transform-origin: bottom; animation: ap-grow .7s cubic-bezier(.2,.8,.2,1) both .25s; }
.ap-days i.z { height: 4px; background: var(--surface2); }
.ap-months i.now { background: var(--heat4); }
@keyframes ap-grow { from { transform: scaleY(0); } }
.ap-pay { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.ap-pay i { width: 24px; height: 24px; }
.ap-pay b { font-size: 12.5px; } .ap-pay small { display: block; font-size: 11px; color: var(--ink2); }
.ap-pay > b { font: 800 14px var(--display); }
/* Family */
.ap-home { display: flex; align-items: center; gap: 10px; }
.ap-home small { font-size: 12px; color: var(--ink2); }
.ap-av { display: flex; } .ap-av i { width: 32px; height: 32px; font-size: 13px; box-shadow: 0 0 0 2px #fff; } .ap-av i.o { margin-left: -8px; background: #4F6FA8; }
.ap-ringbox { background: #FFF4E6; border-radius: 20px; padding: 14px; display: grid; justify-items: center; gap: 10px; flex: none; }
.ap-donut { width: 132px; height: 132px; border-radius: 50%; background: conic-gradient(var(--heat3) 0 55%, #4F6FA8 55% 100%); display: grid; place-items: center; animation: ap-pop .6s cubic-bezier(.2,.8,.2,1) both; }
.ap-donut > div { width: 96px; height: 96px; border-radius: 50%; background: #FFF4E6; display: grid; place-content: center; text-align: center; }
.ap-donut b { font: 900 17px/1 var(--display); } .ap-donut small { font-size: 10.5px; color: var(--ink2); }
@keyframes ap-pop { from { transform: scale(.6) rotate(-40deg); opacity: 0; } }
.ap-legend { display: flex; gap: 12px; font-size: 11.5px; color: var(--ink2); }
.ap-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--heat3); margin-right: 4px; } .ap-legend i.o { background: #4F6FA8; }
.ap-legend b { color: var(--ink); font-weight: 800; }
.ap-bud { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; font-size: 11.5px; } .ap-bud small { color: var(--ink2); }
.ap-bar, .ap-cpbar { display: block; height: 6px; border-radius: 99px; background: var(--surface2); overflow: hidden; }
.ap-bar i, .ap-cpbar i { display: block; height: 100%; width: calc(var(--w) * 100%); border-radius: 99px; background: var(--heat3); transform-origin: left; animation: ap-fill .9s cubic-bezier(.2,.8,.2,1) both .3s; }
@keyframes ap-fill { from { transform: scaleX(0); } }
.ap-share { display: flex; justify-content: space-between; align-items: center; background: var(--surface); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; animation: ap-slide .45s cubic-bezier(.2,.8,.2,1) both; }
.ap-share:nth-of-type(1) { animation-delay: .35s; } .ap-share:nth-of-type(2) { animation-delay: .47s; } .ap-share:nth-of-type(3) { animation-delay: .59s; }
.ap-share > span { font: 700 11px var(--body); color: var(--heat4); } .ap-share.off > span { color: var(--ink2); }
@keyframes ap-slide { from { opacity: 0; transform: translateX(26px); } }
/* Challenges: coupons */
.ap-cp { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; background: #BFE7CF; border-radius: 16px; padding: 12px 14px; flex: none; }
.ap-cp.alt { background: #FFE2B8; }
.ap-cp::before, .ap-cp::after { content: ""; position: absolute; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--bg); }
.ap-cp::before { left: -7px; } .ap-cp::after { right: -7px; }
.ap-cp > div:first-child { display: grid; gap: 4px; justify-items: start; }
.ap-cp .ap-chip { background: rgba(255,255,255,.6); color: var(--ink); }
.ap-cp b { font: 900 18px/1.05 var(--display); }
.ap-cp > div > span:not(.ap-cpbar) { font-size: 12px; } .ap-cp small { font-size: 11px; color: #3B5149; } /* child only: country.js wraps amounts in spans */
.ap-cpbar { width: 100%; background: rgba(255,255,255,.55); } .ap-cpbar i { background: var(--heat4); }
.ap-stub { border-left: 2px dashed rgba(16,34,30,.25); padding-left: 10px; text-align: center; }
.ap-stub b { display: block; font: 900 24px/1 var(--display); font-variant-numeric: tabular-nums; } .ap-stub small { font-size: 10px; }
.ap-new { display: grid; gap: 4px; justify-items: start; border: 1.5px dashed var(--line); border-radius: 16px; padding: 12px 14px; }
.ap-new b { font: 900 17px var(--display); } .ap-new small:last-child { font-size: 11.5px; color: var(--ink2); }
/* Goals */
.ap-ring { position: relative; width: 120px; height: 120px; flex: none; }
.ap-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ap-ring circle { fill: none; stroke: var(--surface2); stroke-width: 9; }
.ap-ring circle.v { stroke: var(--heat3); stroke-linecap: round; stroke-dasharray: calc(var(--p) * 100) 100; animation: ap-ring 1.1s cubic-bezier(.2,.8,.2,1) both .2s; }
@keyframes ap-ring { from { stroke-dasharray: 0 100; } }
.ap-ring > b { position: absolute; inset: 0; display: grid; place-items: center; font: 900 26px var(--display); }
.ap-months { width: 100%; }
.ap-plan { width: 100%; display: grid; gap: 8px; background: var(--heat1); border-radius: 14px; padding: 12px; font-size: 12.5px; }
.ap-plan > div { display: flex; justify-content: space-between; } .ap-plan b { font-weight: 800; }
@media (prefers-reduced-motion: reduce) {
  .ap *, .ap *::after { animation: none !important; transition: none !important; }
  .ap-bars i.on::after { transform: none; }
}
