/* Tantino's site (tantino.devnart.com). Same tokens as src/global.css and src/constants/theme.ts.
   Fonts are the app's own, served from this site: Latin subsets of the OFL files in
   node_modules/@expo-google-fonts (fonts/OFL.txt), made with fontTools:
   python3 -m fontTools.subset <ttf> --unicodes="U+0000-00FF,U+0100-017F,U+0131,U+0152-0153,U+02BB-02BC,
   U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2190-2199,U+2212,U+2215,U+FEFF,U+FFFD"
   --layout-features='*' --flavor=woff */
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/bricolage-grotesque-500.woff) format('woff'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/bricolage-grotesque-600.woff) format('woff'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/bricolage-grotesque-700.woff) format('woff'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 800; font-style: normal; font-display: swap; src: url(/fonts/bricolage-grotesque-800.woff) format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/inter-400.woff) format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/inter-500.woff) format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/inter-600.woff) format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/inter-700.woff) format('woff'); }

/* Layout: the hero headline is the app's own sentence and it updates live as you log;
   the math sits right under it; a day's timeline carries the features; one ink band for privacy.
   One committed light look, the app's own: oat ground, white cards, status colors only where they mean something. */
:root {
  color-scheme: light;
  --oat: #F3F0EA;
  --card: #FFFFFF;
  --ink: #141210;
  --ink-soft: #3F3A35;
  --muted: #6B655E;
  --line: #E4DDD3;
  --dash: #D3C9BD;
  --orange: #F2541B;
  --mint: #C5F0D3;
  --butter: #FFE7A3;
  --peach: #FFD3C2;
  --leaf: #1A7F45;
  --on-ink: #F3F0EA;
  --on-ink-muted: #A9A097;
  --ink-raised: #2A2622;
  --tile-peach: #FCD9CB;
  --tile-blue: #CDE4FF;
  --tile-lilac: #DAD3FF;
  --tile-butter: #FFE7A8;
  --tile-sand: #E8E1D8;

  --display: 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;

  --shadow-card: 0 1px 2px rgba(60,40,20,.05), 0 8px 24px rgba(60,40,20,.07);
  --shadow-lift: 0 2px 6px rgba(60,40,20,.06), 0 30px 70px rgba(60,40,20,.18);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --ease: cubic-bezier(.22,1,.36,1);
  --gutter: 16px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--oat);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* Type */
.h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-lead { margin-top: 16px; max-width: 34em; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); text-wrap: pretty; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: calc(env(safe-area-inset-top, 0px) + 20px); padding-bottom: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
/* The app icon, with iOS's corner rounding. */
.brand-mark { width: 34px; height: 34px; border-radius: 22.5%; flex: none; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-soft); padding: 10px 12px; border-radius: 12px; }
.nav a:hover { background: rgba(20,18,16,.05); color: var(--ink); }
.nav .cta {
  margin-inline-start: 8px; background: var(--ink); color: var(--card); font-weight: 600;
  height: 44px; padding: 0 18px; border-radius: 22px; display: inline-flex; align-items: center;
}
.nav .cta:hover { background: var(--ink-soft); color: var(--card); }
@media (max-width: 860px) { .nav .hide-sm { display: none; } }

/* Hero */
.hero { padding-block: 16px 88px; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; } }
.hero-copy { min-width: 0; display: flex; flex-direction: column; }
.hero-title {
  margin-top: 18px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 5.6vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.amount {
  margin-top: 14px;
  align-self: flex-start;
  max-width: 100%;
  display: inline-flex;
  align-items: flex-start;
  padding: .07em .16em .05em .12em;
  border-radius: .2em;
  background: var(--bg);
  transition: background-color 420ms ease-out;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(84px, 19vw, 160px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.amt-cur { font-size: .5em; margin-top: .12em; margin-inline-end: .03em; }
.amt-whole, .amt-cents, .digits { display: inline-flex; }
.amt-cents { font-size: .45em; margin-top: .1em; }

/* Rolling digits, as in the app */
.col { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.roll { display: flex; flex-direction: column; transition: transform 560ms var(--spring); }
.roll span { display: block; height: 1em; line-height: 1em; text-align: center; }
.instant .roll { transition: none; }

.meter-block { margin-top: 22px; max-width: 520px; display: flex; flex-direction: column; gap: 12px; }
.meter { height: 22px; display: flex; gap: 3px; }
.meter span { flex: 1; border-radius: 2px; background: var(--card); transition: background-color 260ms ease-out; }
.meter span.on { background: var(--ink); }
.meter span.over { background: var(--orange); }
.meter-caption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; }
.status-pill {
  height: 28px; padding: 0 11px; border-radius: 14px; background: var(--bg); display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 700; transition: background-color 420ms ease-out;
}
.meter-caption strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.meter-caption .soft { color: var(--muted); }

.lead { margin-top: 28px; max-width: 30em; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); text-wrap: pretty; }

.try { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.try-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.try-label { font-family: var(--display); font-weight: 700; font-size: 18px; }
.try-hint { font-size: 13px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 56px; padding: 0 16px 0 8px; border: 0; border-radius: 20px; background: var(--card); box-shadow: var(--shadow-card);
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; transition: transform 160ms var(--spring), box-shadow 160ms ease-out;
}
.chip:hover { box-shadow: 0 1px 2px rgba(60,40,20,.06), 0 12px 28px rgba(60,40,20,.12); }
.chip:active { transform: scale(.94); }
.chip-tile { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.chip-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.chip-name { font-size: 14px; font-weight: 600; }
.chip-price { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
/* The hero's chips are the demo's controls: an orange add button on each, a lift on hover,
   and a pulse on the add buttons until the first tap. */
.chip.tap { padding: 0 8px; border: 1.5px solid var(--line); }
.chip.tap:hover { transform: translateY(-2px); border-color: var(--dash); }
.chip.tap:active { transform: scale(.94); }
.chip-add {
  width: 32px; height: 32px; border-radius: 16px; background: var(--orange); margin-inline-start: 4px;
  display: grid; place-items: center; flex: none; transition: transform 200ms var(--spring), background-color 160ms ease-out;
}
.chip.tap:hover .chip-add { background: #D9440F; transform: rotate(90deg); }
.chips.hint .chip-add { animation: ring 1.8s ease-out infinite; }
.chips.hint .chip.tap:nth-child(2) .chip-add { animation-delay: .15s; }
.chips.hint .chip.tap:nth-child(3) .chip-add { animation-delay: .3s; }
.chips.hint .chip.tap:nth-child(4) .chip-add { animation-delay: .45s; }
.chips.hint .chip.tap:nth-child(5) .chip-add { animation-delay: .6s; }
@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(242,84,27,.5); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(242,84,27,0); }
}
.link-btn { align-self: flex-start; border: 0; background: none; padding: 6px 0; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }

.stores { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  height: 58px; padding: 0 22px 0 16px; border-radius: 18px; background: var(--ink); color: var(--card); text-decoration: none;
  display: inline-flex; align-items: center; gap: 12px;
}
.store:hover { background: var(--ink-soft); }
.store-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-text small { font-size: 11px; font-weight: 500; color: var(--on-ink-muted); letter-spacing: .02em; }
.store-text span { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.fine { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Phone */
.hero-phone { display: flex; justify-content: center; min-width: 0; }
.phone {
  --s: .8;
  position: relative;
  width: calc(390px * var(--s) + 24px);
  height: calc(844px * var(--s) + 24px);
  padding: 12px;
  border-radius: calc(56px * var(--s) + 12px);
  background: var(--ink);
  box-shadow: var(--shadow-lift), inset 0 0 0 2px #2E2A26;
  flex: none;
}
@media (max-width: 400px) { .phone { --s: .74; } }
@media (max-width: 340px) { .phone { --s: .66; } }
.screen-box { position: relative; width: calc(390px * var(--s)); height: calc(844px * var(--s)); border-radius: calc(48px * var(--s)); overflow: hidden; background: var(--oat); }
.screen {
  position: absolute; top: 0; left: 0; width: 390px; height: 844px; transform: scale(var(--s)); transform-origin: 0 0;
  padding-top: 56px; display: flex; flex-direction: column; background: var(--oat); color: var(--ink);
}
.island { position: absolute; top: 11px; left: 50%; width: 124px; height: 36px; margin-left: -62px; border-radius: 18px; background: var(--ink); z-index: 5; }
.statusbar { position: absolute; top: 0; left: 0; right: 0; height: 54px; padding: 0 30px 0 38px; display: flex; align-items: center; justify-content: space-between; font-size: 16px; font-weight: 600; }
.statusbar svg { display: block; }
.s-head { padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.s-title { display: flex; flex-direction: column; }
.s-title b { font-family: var(--display); font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.s-title span { font-size: 14px; color: var(--muted); }
.s-btns { display: flex; gap: 8px; }
.s-btn { width: 48px; height: 48px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow-card); display: grid; place-items: center; }

.s-card { margin: 16px 16px 0; border-radius: 32px; padding: 18px 20px; background: var(--bg); transition: background-color 420ms ease-out; display: flex; flex-direction: column; }
.s-card-top { display: flex; align-items: center; justify-content: space-between; height: 28px; }
.s-card-top > span:first-child { font-size: 15px; font-weight: 600; }
.s-pill { height: 28px; padding: 0 11px; border-radius: 14px; background: rgba(255,255,255,.7); font-size: 12px; font-weight: 700; display: flex; align-items: center; }
.s-amount { margin-top: 8px; height: 76px; display: flex; align-items: flex-start; font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.s-amount .amt-cur { font-size: 40px; line-height: 1; margin-top: 8px; margin-inline-end: 2px; }
.s-amount .amt-whole { font-size: 76px; line-height: 1; }
.s-amount .amt-cents { font-size: 34px; line-height: 1; margin-top: 8px; }
.s-meter { margin-top: 10px; height: 24px; display: flex; gap: 3px; }
.s-meter span { flex: 1; border-radius: 2px; background: rgba(255,255,255,.85); transition: background-color 260ms ease-out; }
.s-meter span.on { background: var(--ink); }
.s-caption { margin-top: 12px; display: flex; justify-content: space-between; font-size: 13px; }
.s-caption span:first-child { font-weight: 600; }
.s-caption span:last-child { color: var(--ink-soft); }
.s-month { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(20,18,16,.12); display: flex; align-items: center; gap: 12px; }
.s-month-text { display: flex; flex-direction: column; line-height: 1.25; flex: none; }
.s-month-text span:first-child { font-size: 12px; color: var(--ink-soft); }
.s-month-text span:last-child { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.s-monthbar { flex: 1; height: 16px; display: flex; gap: 2px; }
.s-monthbar span { flex: 1; border-radius: 1px; background: rgba(255,255,255,.75); }
.s-monthbar span.on { background: rgba(20,18,16,.75); }

.s-section { margin-top: 18px; padding: 0 20px; display: flex; align-items: baseline; justify-content: space-between; }
.s-section b { font-family: var(--display); font-size: 18px; font-weight: 700; }
.s-section span { font-size: 12px; color: var(--muted); }
.s-chips { margin-top: 10px; display: flex; gap: 8px; padding: 0 16px 4px; overflow: hidden; }
.s-chips .chip { flex: none; }
.chip-other { flex: none; height: 56px; padding: 0 18px 0 12px; border-radius: 20px; border: 2px dashed var(--dash); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }

.s-log { margin: 16px 16px 0; background: var(--card); border-radius: 24px; padding: 14px 16px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 10px; }
.s-log-head { display: flex; justify-content: space-between; align-items: baseline; }
.s-log-head b { font-family: var(--display); font-size: 17px; font-weight: 700; }
.s-log-head span { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.row { display: flex; align-items: center; gap: 12px; }
.row-tile { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; flex: none; }
.row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.row-name { font-size: 15px; font-weight: 600; }
.row-sub { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-price { font-family: var(--display); font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.row-in { animation: rowin 420ms var(--spring); }
.s-more { height: 30px; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--muted); }
@keyframes rowin { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }

.s-dock { position: absolute; left: 16px; right: 16px; bottom: 28px; display: flex; gap: 10px; z-index: 2; }
.s-add { flex: 1; height: 62px; border-radius: 31px; background: var(--ink); color: var(--card); box-shadow: 0 10px 28px rgba(20,18,16,.28); display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; font-weight: 600; }
.s-scan { width: 62px; height: 62px; border-radius: 31px; background: var(--card); box-shadow: 0 1px 2px rgba(60,40,20,.06), 0 10px 28px rgba(60,40,20,.14); display: grid; place-items: center; }
.s-home { position: absolute; bottom: 8px; left: 50%; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: var(--ink); }
.s-toast { position: absolute; left: 24px; right: 24px; bottom: 104px; height: 52px; border-radius: 26px; background: var(--ink); color: var(--card); display: flex; align-items: center; gap: 10px; padding: 0 8px 0 18px; z-index: 3; animation: toast 380ms var(--spring); }
.s-toast span { flex: 1; font-size: 14px; font-weight: 500; }
.s-toast b { height: 38px; padding: 0 16px; border-radius: 19px; background: #3A3530; display: flex; align-items: center; font-size: 14px; font-weight: 600; cursor: pointer; }
@keyframes toast { from { transform: translateY(20px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }

/* Sections */
.section { padding-block: 88px; }
@media (max-width: 719px) { .section { padding-block: 64px; } .hero { padding-block: 8px 64px; } }

/* The math */
.calc { margin-top: 44px; display: flex; flex-direction: column; gap: 18px; }
.calc-row {
  background: var(--card); border-radius: 28px; box-shadow: var(--shadow-card);
  padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px 22px;
}
.term { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.num { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.4vw, 56px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.cap { font-size: 14px; color: var(--muted); }
.op { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4.4vw, 56px); line-height: 1; color: var(--dash); }
.op:empty { display: none; }
.term.result .num { background: var(--mint); border-radius: 16px; padding: 4px 12px 6px; margin: -4px 0 -6px -12px; }
@media (max-width: 719px) {
  .calc-row { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px 8px; padding: 20px; }
  .op:empty { display: block; }
  .op { font-size: 30px; }
  .num { font-size: 34px; }
  .term.result .num { margin-left: -6px; padding-inline: 6px 10px; justify-self: start; align-self: flex-start; }
}
.rules { margin-top: 44px; display: grid; gap: 18px 40px; }
@media (min-width: 860px) { .rules { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rules li { font-family: var(--display); font-weight: 600; font-size: clamp(21px, 2vw, 24px); line-height: 1.25; letter-spacing: -0.015em; color: var(--muted); text-wrap: pretty; }
.rules strong { color: var(--ink); font-weight: 700; }

/* A day */
.day-track { position: relative; margin-top: 48px; }
.day { display: flex; flex-direction: column; gap: 72px; }
.moment { position: relative; display: grid; gap: 20px 48px; align-items: center; }
@media (min-width: 900px) { .moment { grid-template-columns: 112px minmax(0, .9fr) minmax(0, 1.1fr); } }
.m-time { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--orange); align-self: start; padding-top: 4px; }
.m-copy { min-width: 0; align-self: start; }
@media (min-width: 900px) { .m-copy { padding-top: 6px; } }
.m-copy h3 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.m-copy p { margin-top: 12px; color: var(--ink-soft); max-width: 30em; font-size: 17px; text-wrap: pretty; }
.m-visual {
  min-width: 0; border-radius: 32px; padding: 32px 28px; min-height: 260px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; position: relative; overflow: hidden;
}
@media (max-width: 480px) { .m-visual { padding: 24px 16px; } }

.v-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.v-chips .chip { cursor: default; }
.v-toast { height: 52px; border-radius: 26px; background: var(--ink); color: var(--card); display: flex; align-items: center; gap: 18px; padding: 0 8px 0 20px; font-size: 14px; font-weight: 500; }
.v-toast b { height: 38px; padding: 0 16px; border-radius: 19px; background: #3A3530; display: flex; align-items: center; font-weight: 600; }

.v-scan { width: 100%; max-width: 400px; display: flex; flex-direction: column; }
.receipt-wrap { align-self: flex-start; margin-inline-start: 8px; filter: drop-shadow(0 10px 18px rgba(60,40,20,.14)); transform: rotate(-2.5deg); }
.receipt {
  width: 190px; background: var(--card); padding: 18px 16px 26px; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink-soft);
  -webkit-mask: radial-gradient(circle at 7px 100%, transparent 5px, #000 5.5px) left bottom / 14px 9px repeat-x, linear-gradient(#000 0 0) left top / 100% calc(100% - 9px) no-repeat;
  mask: radial-gradient(circle at 7px 100%, transparent 5px, #000 5.5px) left bottom / 14px 9px repeat-x, linear-gradient(#000 0 0) left top / 100% calc(100% - 9px) no-repeat;
}
.receipt-shop { text-align: center; font-weight: 700; letter-spacing: .12em; color: var(--ink); font-size: 12px; }
.receipt-date { text-align: center; font-size: 11px; color: var(--muted); margin-top: 2px; }
.receipt-lines { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--dash); display: flex; flex-direction: column; gap: 3px; }
.receipt-lines div, .receipt-total { display: flex; justify-content: space-between; gap: 8px; }
.receipt-total { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--dash); font-weight: 700; color: var(--ink); font-size: 13px; }
.v-result { align-self: flex-end; position: relative; margin-top: -72px; background: var(--card); border-radius: 22px; box-shadow: 0 2px 4px rgba(60,40,20,.06), 0 14px 32px rgba(60,40,20,.14); padding: 14px 16px; width: 280px; max-width: 100%; display: flex; flex-direction: column; gap: 10px; }
.v-result .tag { align-self: flex-start; height: 24px; padding: 0 10px; border-radius: 12px; background: #E3F4E8; color: var(--leaf); font-size: 12px; font-weight: 600; display: flex; align-items: center; }

.v-sheet { width: 340px; max-width: 100%; background: var(--card); border-radius: 30px; box-shadow: var(--shadow-card); padding: 10px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.v-handle { width: 40px; height: 5px; border-radius: 3px; background: var(--line); align-self: center; }
.v-sheet h4 { margin: 4px 0 0; font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.v-sheet .sub { font-size: 13px; color: var(--muted); margin-top: -6px; }
.opt { border-radius: 18px; padding: 12px 14px; background: var(--oat); border: 2px solid transparent; display: flex; gap: 12px; align-items: center; }
.opt.sel { background: var(--card); border-color: var(--ink); }
.opt-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--dash); flex: none; }
.opt.sel .opt-dot { border: 6px solid var(--ink); }
.opt-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.opt-text b { font-size: 14px; font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.opt-text span { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.opt-text i { font-style: normal; height: 20px; padding: 0 8px; border-radius: 10px; background: var(--mint); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; }

.v-lock { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.v-clock { font-family: var(--display); font-weight: 600; font-size: 64px; line-height: 1; letter-spacing: -0.03em; color: rgba(20,18,16,.78); font-variant-numeric: tabular-nums; }
.v-notif { width: 340px; max-width: 100%; background: rgba(255,255,255,.72); border-radius: 22px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; box-shadow: 0 8px 24px rgba(60,40,20,.08); }
.v-notif .brand-mark { width: 38px; height: 38px; }
.v-notif-text { flex: 1; min-width: 0; line-height: 1.3; font-size: 14px; }
.v-notif-top { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.v-notif-text b { display: block; font-weight: 600; }

.v-next { width: 320px; max-width: 100%; display: flex; flex-direction: column; gap: 10px; }
.v-next-date { font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.v-next-card { background: var(--mint); border-radius: 28px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.v-next-card .top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; }
.v-next-card .s-pill { height: 26px; }
.v-next-amt { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; display: flex; align-items: flex-start; }
.v-next-amt small { font-size: 26px; margin-top: 6px; }
.v-next-card .foot { font-size: 13px; color: var(--ink-soft); }
.v-next-card .foot b { color: var(--leaf); }

/* Ink band */
.band { background: var(--ink); color: var(--on-ink); }
.band .h2 { color: var(--on-ink); }
.band .section-lead { color: var(--on-ink-muted); }
.band-grid { display: grid; gap: 48px; }
@media (min-width: 980px) { .band-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; } }
.points { display: grid; gap: 28px 32px; }
@media (min-width: 560px) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.point { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; }
.point-icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; background: var(--ink-raised); display: grid; place-items: center; }
.point b { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.point p { color: var(--on-ink-muted); font-size: 15px; }

/* Pricing */
.price-grid { margin-top: 44px; display: grid; gap: 16px; }
@media (min-width: 860px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 480px) { .plan { padding: 24px 20px; } }
.plan-free { background: var(--card); box-shadow: var(--shadow-card); }
.plan-plus { background: var(--ink); color: var(--on-ink); }
.plan-name { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.plan-name i { font-style: normal; font-family: var(--body); font-size: 12px; font-weight: 700; height: 26px; padding: 0 10px; border-radius: 13px; background: var(--mint); color: var(--ink); display: inline-flex; align-items: center; letter-spacing: 0; }
.plan-price { font-family: var(--display); font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); }
.plan-plus .plan-price small { color: var(--on-ink-muted); }
.plan-note { margin-top: 8px; font-size: 14px; color: var(--muted); }
.plan-plus .plan-note { color: var(--on-ink-muted); }
.plan-list { display: flex; flex-direction: column; gap: 12px; }
.plan-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.plan-list svg { flex: none; margin-top: 2px; }
.plan-list q { quotes: '“' '”'; font-weight: 600; }
.alt-prices { display: flex; flex-direction: column; border-top: 1px solid #33302C; }
.alt-prices div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid #33302C; font-size: 15px; }
.alt-prices span:first-child { white-space: nowrap; }
.alt-prices span:last-child { color: var(--on-ink-muted); text-align: end; }
.alt-prices b { font-family: var(--display); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; color: var(--on-ink); }
.price-foot { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 980px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; } }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--card); border-radius: 22px; box-shadow: var(--shadow-card); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 28px; height: 28px; border-radius: 14px; background: var(--oat)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23141210' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center no-repeat;
  transition: transform 220ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--ink-soft); max-width: 40em; }

/* Download */
.download { text-align: start; }
.download-card { background: var(--mint); border-radius: 40px; padding: clamp(32px, 6vw, 72px); display: grid; gap: 28px; align-items: end; }
@media (min-width: 900px) { .download-card { grid-template-columns: minmax(0, 1fr) auto; } }
.download-card .h2 { font-size: clamp(42px, 7vw, 88px); }
.download-card p { margin-top: 14px; font-size: 18px; color: var(--ink-soft); max-width: 28em; }
.download-card .stores { margin-top: 0; }

/* Footer */
.site-footer { padding-top: 40px; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 48px); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted); }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand .brand-mark { width: 28px; height: 28px; }

/* Motion (site.js, GSAP). Only while <html> has .anim: the head script adds it unless motion is
   reduced, and drops it again if site.js never sets things up, so nothing stays hidden. */
.anim [data-anim]:not([data-anim="moment"]),
.anim [data-anim="moment"] > * { visibility: hidden; }
.anim .m-time { color: var(--dash); transition: color 300ms ease-out; }
.anim .moment.on .m-time { color: var(--orange); }
.day-line { display: none; }
@media (min-width: 900px) {
  /* A line between the times and the text fills as you scroll; each moment's dot lights up as the line reaches it. */
  .anim .day-line { display: block; position: absolute; top: 22px; left: 135px; width: 2px; border-radius: 1px; background: var(--line); }
  .day-fill { display: block; height: 100%; border-radius: 1px; background: var(--orange); transform-origin: 50% 0; transform: scaleY(0); }
  .anim .moment::before {
    content: ''; position: absolute; top: 16px; left: 130px; width: 12px; height: 12px; border-radius: 50%;
    background: var(--oat); box-shadow: inset 0 0 0 2px var(--dash); transition: background-color 300ms ease-out, box-shadow 300ms ease-out;
  }
  .anim .moment.on::before { background: var(--orange); box-shadow: inset 0 0 0 2px var(--orange), 0 0 0 5px rgba(242,84,27,.16); }
}

/* Today's status, as in the app: mint on track, butter when under 20% is left, peach when over. */
[data-status] { --bg: var(--mint); }
[data-status="careful"] { --bg: var(--butter); }
[data-status="over"] { --bg: var(--peach); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .chips.hint .chip-add { animation: none !important; }
}
