@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Inter_400Regular.ttf") format("truetype");
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Inter_500Medium.ttf") format("truetype");
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Inter_600SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/BricolageGrotesque_600SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/BricolageGrotesque_700Bold.ttf") format("truetype");
}
/* Written by the build from packages/tokens: light, dark, and dark when the page asks for it. */
:root {
  --out: cubic-bezier(0.22, 1, 0.36, 1);
  --state: cubic-bezier(0.2, 0, 0, 1);
  --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --text: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --g: #F7F6F3;
  --s1: #FFFFFF;
  --s2: #F0EFEA;
  --s3: #E5E3DC;
  --ink: #1A1A18;
  --ink2: #4B4A45;
  --soft: #67655F;
  --line: #E3E1DA;
  --edge: #757168;
  --acc: #06555C;
  --onAcc: #FFFFFF;
  --select: #DCEDEE;
  --posBg: #E8F2EC;
  --pos: #146B47;
  --track: #E5E3DC;
  --field: #04434A;
  --field2: #0A4F55;
  --deep: #033A40;
  --fline: #11575D;
  --on: #FFFFFF;
  --on2: #BFD9DA;
  --label: #9CDDE3;
  --luz: #F2C46D;
  --toastAction: #9CDDE3;
  --toastTrack: #3A3A36;
  --field-bg: radial-gradient(110% 80% at 88% 0%, #0B6A71 0%, rgba(11,106,113,0) 62%), radial-gradient(80% 60% at 0% 20%, rgba(232,178,98,0.20) 0%, rgba(232,178,98,0) 64%);
  --shade: rgba(2,22,25,1);
  --shadow: 0px 1px 2px rgba(26,26,24,0.06);
  --lift: 0 30px 80px rgba(2,22,25,0.28), 0 8px 24px rgba(2,22,25,0.18);
  --nav: rgba(247,246,243,0.86);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --g: #0F1413;
  --s1: #171D1C;
  --s2: #212927;
  --s3: #2A3230;
  --ink: #EEF1EF;
  --ink2: #B3BCB9;
  --soft: #8E9894;
  --line: #262E2C;
  --edge: #7D8784;
  --acc: #6FCBD3;
  --onAcc: #04282C;
  --select: #123F43;
  --posBg: #16302A;
  --pos: #5CC694;
  --track: #2A3230;
  --field: #05363B;
  --field2: #0A4449;
  --deep: #032A2E;
  --fline: #0F4D52;
  --on: #FFFFFF;
  --on2: #A9CFD1;
  --label: #8ED4DA;
  --luz: #F2C46D;
  --toastAction: #06555C;
  --toastTrack: #C5CCC9;
  --field-bg: radial-gradient(110% 80% at 88% 0%, #0A5A60 0%, rgba(10,90,96,0) 62%), radial-gradient(80% 60% at 0% 20%, rgba(232,178,98,0.12) 0%, rgba(232,178,98,0) 64%);
  --shade: rgba(0,0,0,1);
  --shadow: 0px 1px 2px transparent;
  --lift: 0 30px 80px rgba(0,0,0,0.5);
  --nav: rgba(15,20,19,0.86);
  color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --g: #0F1413;
  --s1: #171D1C;
  --s2: #212927;
  --s3: #2A3230;
  --ink: #EEF1EF;
  --ink2: #B3BCB9;
  --soft: #8E9894;
  --line: #262E2C;
  --edge: #7D8784;
  --acc: #6FCBD3;
  --onAcc: #04282C;
  --select: #123F43;
  --posBg: #16302A;
  --pos: #5CC694;
  --track: #2A3230;
  --field: #05363B;
  --field2: #0A4449;
  --deep: #032A2E;
  --fline: #0F4D52;
  --on: #FFFFFF;
  --on2: #A9CFD1;
  --label: #8ED4DA;
  --luz: #F2C46D;
  --toastAction: #06555C;
  --toastTrack: #C5CCC9;
  --field-bg: radial-gradient(110% 80% at 88% 0%, #0A5A60 0%, rgba(10,90,96,0) 62%), radial-gradient(80% 60% at 0% 20%, rgba(232,178,98,0.12) 0%, rgba(232,178,98,0) 64%);
  --shade: rgba(0,0,0,1);
  --shadow: 0px 1px 2px transparent;
  --lift: 0 30px 80px rgba(0,0,0,0.5);
  --nav: rgba(15,20,19,0.86);
  color-scheme: dark;
}
/* Bolgo site (ADR-0048). The variables come from packages/tokens, written by the build above this file. */
* { box-sizing: border-box; }
/* The hidden attribute always wins: the cookie notice and the "Cookies" link set their own display and would show anyway. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--g); color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--acc); }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--label); outline-offset: 3px; border-radius: 8px; }
.sheet :focus-visible, .foot :focus-visible { outline-color: var(--acc); }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.field { background-color: var(--field); background-image: var(--field-bg); color: var(--on); }
.num { font-variant-numeric: tabular-nums; }
.disp { font-family: var(--display); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Navigation: over the field it is clear, over the sand it turns solid. */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .3s var(--out), box-shadow .3s var(--out); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--on); text-decoration: none; font-weight: 600; font-size: 21px; letter-spacing: -0.4px; transition: color .3s; }
.brand svg { width: 30px; height: 30px; }
.links { display: flex; }
.links a, .langs a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; color: var(--on2); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .3s; }
.links a:hover { color: var(--on); }
.langs { display: flex; }
.langs a { min-width: 44px; justify-content: center; padding: 0 6px; font-size: 14px; font-weight: 400; }
.langs a[aria-current] { color: var(--on); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.btn-on { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 12px; border: 0; background: var(--on); color: var(--field); font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .1s, opacity .1s; }
.btn-on:active { transform: scale(0.97); opacity: .85; }
.nav.float { background: color-mix(in srgb, var(--field) 84%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.solid { background: var(--nav); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.solid .brand { color: var(--ink); }
.nav.solid .links a, .nav.solid .langs a { color: var(--ink2); }
.nav.solid .langs a[aria-current] { color: var(--ink); }
.nav.solid .btn-on { background: var(--acc); color: var(--onAcc); }
.nav.solid :focus-visible { outline-color: var(--acc); }

/* Titles and text of the sections, on the sand */
.eyebrow { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: var(--acc); }
.eyebrow.on { color: var(--label); }
.h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3.7vw, 48px); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.lead { margin: 18px 0 0; max-width: 36em; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.58; color: var(--ink2); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* The hero, on the field */
.hero { position: relative; padding-top: 72px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 56px; }
.hero-text { display: flex; flex-direction: column; gap: 24px; padding-bottom: 180px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 14px; border-radius: 999px; background: var(--field2); border: 1px solid var(--fline); color: var(--label); font-size: 13px; font-weight: 600; }
.dot { width: 7px; height: 7px; border-radius: 4px; background: var(--luz); animation: breathe 2.4s ease-in-out infinite; }
.h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(42px, 5.5vw, 72px); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.h1 em { font-style: normal; color: var(--label); }
.lead-on { margin: 0; max-width: 34em; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.58; color: var(--on2); }
.lead-on.spaced { margin-top: 18px; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--on2); }
.trust svg { color: var(--label); }

/* The waitlist form, on the field */
.wl { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.wl label { font-size: 13px; font-weight: 600; color: var(--label); }
.wl-row { display: flex; gap: 8px; }
.wl input { flex: 1 1 auto; min-width: 0; height: 56px; min-height: 56px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--on2); background: var(--deep); color: var(--on); font-size: 16px; transition: border-color .2s; }
.wl input::placeholder { color: var(--on2); opacity: .8; }
.wl input[aria-invalid="true"] { border: 2px solid var(--on); }
.wl button { flex: none; min-height: 56px; padding: 0 26px; border-radius: 14px; border: 0; background: var(--on); color: var(--field); font-size: 16px; font-weight: 600; cursor: pointer; transition: transform .1s, opacity .2s; }
.wl button:active { transform: scale(0.97); }
/* The day the app opens: the same button, going to the store (adendo of 2026-09-29 of ADR-0048). */
.store-btn { min-height: 56px; display: inline-flex; align-items: center; padding: 0 26px; border-radius: 14px; background: var(--on); color: var(--field); font-size: 16px; font-weight: 600; text-decoration: none; transition: transform .1s, opacity .2s; }
.store-btn:active { transform: scale(0.97); }
.wl button[disabled] { opacity: .7; cursor: default; }
.wl .consent { margin: 0; font-size: 13px; line-height: 1.45; color: var(--on2); }
.wl .consent a { color: var(--on); }
.wl .msg { margin: 0; font-size: 14px; font-weight: 500; color: var(--on); }
.wl-done { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 20px; background: var(--deep); animation: rise .5s var(--out) both; }
.wl-done .tick { flex: none; width: 36px; height: 36px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: var(--label); color: var(--field); }
.wl-done strong { display: block; font-size: 18px; line-height: 24px; }
.wl-done .done-body { font-size: 15px; line-height: 22px; color: var(--on2); overflow-wrap: anywhere; }

/* The stage of the hero: the phone, the card behind, the notes */
.stage { position: relative; height: 780px; }
.halo { position: absolute; left: 50%; top: 40%; width: 720px; height: 720px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--label) 24%, transparent) 0%, color-mix(in srgb, var(--label) 0%, transparent) 62%); animation: halo 7s ease-in-out infinite; pointer-events: none; }
.stage .front { position: absolute; left: 50%; top: 0; margin-left: -250px; z-index: 3; zoom: 1.18; }
.stage .back { position: absolute; left: 50%; top: 80px; margin-left: 60px; z-index: 1; zoom: 0.92; opacity: .95; }
.note { position: absolute; z-index: 5; width: 230px; padding: 14px 16px; border-radius: 18px; background: color-mix(in srgb, var(--deep) 80%, transparent); border: 1px solid color-mix(in srgb, var(--label) 22%, transparent); box-shadow: 0 18px 40px color-mix(in srgb, var(--shade) 35%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 6px; color: var(--on); }
.note .k { font-size: 12px; font-weight: 600; color: var(--label); }
.note .v { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -0.5px; }
.note .t { font-size: 12.5px; line-height: 1.45; color: var(--on2); }
.note .h { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.note .ok { flex: none; width: 22px; height: 22px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--label); color: var(--field); }
.n1 { left: -40px; top: 600px; }
.n2 { right: -30px; top: 60px; }
.n3 { right: -30px; top: 330px; transition: transform .4s var(--out), box-shadow .4s; }
.n3.lit { transform: scale(1.04); box-shadow: 0 22px 50px color-mix(in srgb, var(--shade) 45%, transparent), 0 0 0 2px var(--label); }

/* The phone and the cuts of the app's screens */
.phone { width: 320px; padding: 10px; border-radius: 48px; background: var(--shade); box-shadow: var(--lift); flex: none; }
.scr { position: relative; height: 656px; border-radius: 38px; overflow: hidden; background: var(--g); display: flex; flex-direction: column; color: var(--ink); }
.scr-field { padding: 30px 18px 46px; display: flex; flex-direction: column; gap: 5px; }
.scr-sand { flex: 1; margin-top: -24px; border-radius: 24px 24px 0 0; background: var(--g); padding: 14px 12px 16px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.s-cap { font-size: 12px; color: var(--on2); }
.s-cap.sm { font-size: 11.5px; }
.s-lab { margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--label); }
.s-lab.top0 { margin-top: 0; }
.s-t { margin: 2px 4px 0; font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--ink); }
.scr-name { font-size: 17px; font-weight: 600; }
.big { display: inline-flex; align-items: baseline; gap: 3px; font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--on); position: relative; }
.big .sym { font-size: 0.44em; color: var(--on2); }
.big .cents { font-size: 0.56em; color: var(--on2); }
.big.fs44 { font-size: 44px; } .big.fs40 { font-size: 40px; } .big.fs38 { font-size: 38px; }
.big.ink { color: var(--ink); }
.written { margin-top: 10px; padding: 4px 10px; border-radius: 12px; background: var(--deep); }
.written div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 11.5px; line-height: 15px; color: var(--on2); }
.written div + div { border-top: 1px solid var(--fline); }
.written b { font-weight: 600; color: var(--on); font-variant-numeric: tabular-nums; }
.written div:last-child b { color: var(--label); }
.grp { background: var(--s1); border-radius: 16px; box-shadow: var(--shadow); padding: 0 12px; }
.rw { display: flex; align-items: center; gap: 10px; min-height: 52px; }
.rw + .rw { border-top: 1px solid var(--line); }
.rw .c { flex: none; width: 30px; height: 30px; border-radius: 15px; border: 1.5px dashed var(--edge); }
.rw .c.paid { border: 0; background: var(--s2); }
.rw .c.ok { border: 0; background: var(--posBg); color: var(--pos); display: flex; align-items: center; justify-content: center; }
.rw .x { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rw .x b { font-size: 13.5px; line-height: 19px; font-weight: 500; }
.rw .x span { font-size: 11.5px; line-height: 15px; color: var(--soft); }
.rw .a { flex: none; font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.undo { position: absolute; left: 10px; right: 10px; bottom: 14px; height: 48px; border-radius: 16px; background: var(--ink); color: var(--g); display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 12.5px; transform: translateY(140%); transition: transform .35s var(--out); overflow: hidden; }
.undo b { color: var(--toastAction); font-weight: 600; }
.undo i { position: absolute; left: 8px; right: 8px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--toastTrack); }
.undo i::after { content: ''; position: absolute; inset: 0; background: var(--toastAction); border-radius: 2px; transform-origin: left; transform: scaleX(0); }
.undo.up { transform: translateY(0); }
.undo.up i::after { animation: clock 3.2s linear forwards; }
.undo.press b { opacity: .6; }

/* The rolling number (odometer): each digit is a column that moves on its own */
.odo { display: inline-flex; align-items: baseline; }
.odo .col { display: inline-block; height: 1em; line-height: 1; overflow: hidden; vertical-align: baseline; }
.odo .col > span { display: flex; flex-direction: column; transition: transform .42s var(--state); }
.odo .col > span > i { font-style: normal; height: 1em; line-height: 1; }

/* The cuts in the features mosaic */
.panel { width: min(100%, 420px); border-radius: 26px; overflow: hidden; background: var(--g); color: var(--ink); box-shadow: var(--lift); display: flex; flex-direction: column; transition: transform .6s var(--out); }
.card:hover .panel { transform: translateY(-6px); }
.panel .scr-field { padding: 22px 20px 42px; }
.panel .scr-sand { flex: none; }
.panel .scr-sand.clip { height: 214px; overflow: hidden; -webkit-mask-image: linear-gradient(var(--ink) 78%, transparent); mask-image: linear-gradient(var(--ink) 78%, transparent); }
.panel.add { background: var(--s2); }
.panel-top { display: flex; justify-content: space-between; align-items: center; }
.usage { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: var(--on2); }
.panel .usage { font-size: 11.5px; }
.js .in-rows .rw { opacity: 0; transform: translateX(-12px); }
.in-rows .rw { transition: opacity .6s var(--out), transform .6s var(--out); }
.js .rv.in .in-rows .rw { opacity: 1; transform: none; }
.rv.in .in-rows .rw:nth-child(1) { transition-delay: .9s; } .rv.in .in-rows .rw:nth-child(2) { transition-delay: 1.1s; } .rv.in .in-rows .rw:nth-child(3) { transition-delay: 1.3s; }
.bar { margin-top: 14px; height: 7px; border-radius: 999px; background: var(--deep); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--used); background: var(--label); transition: width 1.2s var(--state) .3s; }
.js .bar:not(.still) i { width: 0; }
.js .rv.in .bar i { width: var(--used); }

/* The month, scrolling slowly */
.month-head { gap: 12px; }
.month-nav { display: flex; align-items: center; justify-content: space-between; }
.month-line { margin: 0; font-size: 13.5px; line-height: 20px; }
.list-scroll { display: flex; flex-direction: column; gap: 6px; animation: drift 12s ease-in-out infinite alternate; }
.dh { display: flex; justify-content: space-between; align-items: center; margin: 6px 4px 2px; }
.dh-l, .dh-v { font-size: 11.5px; font-weight: 600; color: var(--soft); }
.dh-v { font-variant-numeric: tabular-nums; }
.dh-today { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; background: var(--select); color: var(--acc); font-size: 11px; font-weight: 600; }

/* The statements, checked one by one */
.found { font-size: 24px; line-height: 28px; font-weight: 700; letter-spacing: -0.5px; }
.skipped { margin: 4px 4px 0; font-size: 12px; line-height: 17px; color: var(--ink2); }
.xrow { opacity: 0; transform: translateY(8px); animation: xin 7s var(--out) infinite; }
.xrow:nth-child(2) { animation-delay: .5s; } .xrow:nth-child(3) { animation-delay: 1s; }
.xrow .c.ok svg { opacity: 0; animation: tick 7s var(--out) infinite; }
.xrow:nth-child(1) .c.ok svg { animation-delay: .6s; } .xrow:nth-child(2) .c.ok svg { animation-delay: 1.1s; } .xrow:nth-child(3) .c.ok svg { animation-delay: 1.6s; }

/* The Add sheet, typing by itself */
.sheet-in { background: var(--s2); padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.grabber { align-self: center; width: 36px; height: 4px; border-radius: 999px; background: var(--s3); }
.seg { display: flex; gap: 3px; padding: 3px; border-radius: 999px; background: var(--s3); }
.seg span { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 32px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--ink2); }
.seg span.on { font-weight: 600; background: var(--s1); color: var(--ink); }
.amt { text-align: center; padding: 4px 0; }
.chips-row { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.chips-row span { flex: none; height: 32px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 600; background: var(--s1); color: var(--ink2); }
.chips-row span.guess { background: var(--select); color: var(--acc); animation: guess 5.2s var(--out) infinite; }
.add-when { text-align: center; font-size: 12.5px; font-weight: 500; color: var(--acc); }
.keys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.keys span { height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 500; background: var(--s1); color: var(--ink); transition: background .12s, transform .12s; }
.keys span.op { background: var(--select); color: var(--acc); }
.keys span.hit { background: var(--select); transform: scale(.94); }
.save { height: 46px; border-radius: 12px; background: var(--acc); color: var(--onAcc); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; transition: transform .12s; }
.save.hit { transform: scale(.97); }
.save.mt4 { margin-top: 4px; }

/* The sand sheet that rises over the field */
.sheet { position: relative; z-index: 3; margin-top: -140px; border-radius: 32px 32px 0 0; background: var(--g); padding: 112px 0 128px; }
.sheet > * + * { margin-top: 144px; }

/* The pain: three days of the month, joined by a line that draws itself */
.pain-line { position: relative; height: 16px; margin: 56px 16.6% 0; }
.pain-line i { position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 1px; background: var(--acc); transform-origin: left; transition: transform 1.4s var(--out) .1s; }
.pain-line span { position: absolute; top: 0; width: 16px; height: 16px; margin-left: -8px; border-radius: 8px; background: var(--g); border: 2px solid var(--acc); transition: transform .5s var(--out); }
.js .pain-line i { transform: scaleX(0); } .js .pain-line span { transform: scale(0); }
.pain-line span:nth-of-type(1) { left: 0; transition-delay: .15s; } .pain-line span:nth-of-type(2) { left: 50%; transition-delay: .7s; } .pain-line span:nth-of-type(3) { left: 100%; transition-delay: 1.3s; background: var(--acc); }
.js .pain-line.in i { transform: scaleX(1); } .js .pain-line.in span { transform: scale(1); }
.pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.pcard { background: var(--s1); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.pcard.last { border-color: var(--acc); }
.pday { font-family: var(--display); font-weight: 700; font-size: 46px; line-height: 1; letter-spacing: -0.04em; color: var(--acc); }
.pcard b { font-size: 21px; line-height: 1.3; font-weight: 600; }
.pcard p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink2); }

/* Scroll scenes: a tall section with a sticky stage */
.scene { position: relative; }
.scene .sticky { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.sum-scene { height: 300vh; }
.sum-grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 72px; align-items: center; width: 100%; }
.sum-card { border-radius: 32px; padding: 20px 40px; }
.srow { padding: 24px 0; transition: opacity .5s var(--out), transform .5s var(--out); }
.js .srow { opacity: .22; transform: translateY(10px); }
.srow + .srow { border-top: 1px solid var(--fline); }
.js .srow.on { opacity: 1; transform: none; }
.srow .top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.srow .lbl { font-size: 17px; font-weight: 500; color: var(--on2); }
.srow.res .lbl { font-weight: 600; color: var(--label); }
.srow .big { font-size: 46px; }
.srow.res .big .dig { color: var(--label); }
.srow .note2 { margin-top: 8px; font-size: 15px; line-height: 22px; color: var(--on2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px; border-radius: 999px; background: var(--field2); color: var(--on2); font-size: 13px; font-weight: 500; transition: opacity .4s var(--out), transform .4s var(--out); }
.js .chip { opacity: 0; transform: translateY(8px) scale(.96); }
.js .srow.on .chip { opacity: 1; transform: none; }
.srow.on .chip:nth-child(2) { transition-delay: .08s; } .srow.on .chip:nth-child(3) { transition-delay: .16s; } .srow.on .chip:nth-child(4) { transition-delay: .24s; }
.steps { display: flex; gap: 8px; margin-top: 28px; }
.steps i { width: 28px; height: 4px; border-radius: 2px; background: var(--track); transition: background .3s; }
.steps i.on { background: var(--acc); }

/* The bank and what is left */
.bank-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; position: relative; }
.bcard { border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 14px; min-height: 300px; }
.bcard.plain { background: var(--s1); border: 1px solid var(--line); box-shadow: var(--shadow); }
.bcard .k { font-size: 15px; font-weight: 600; color: var(--soft); }
.bcard.field .k { color: var(--label); }
.bcard .big { font-size: 60px; color: var(--ink); }
.bcard .big .sym, .bcard .big .cents { color: var(--ink2); }
.bcard.field .big { color: var(--on); }
.bcard.field .big .sym, .bcard.field .big .cents { color: var(--on2); }
.bcard p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink2); }
.bcard.field p { color: var(--on2); }
.outs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.out { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--s2); color: var(--ink2); font-size: 13px; font-weight: 500; transition: transform .6s var(--out), opacity .6s var(--out); }
.bank.go .out { transform: translateX(40px); opacity: 0; }
.bank.go .out:nth-child(2) { transition-delay: .15s; } .bank.go .out:nth-child(3) { transition-delay: .3s; } .bank.go .out:nth-child(4) { transition-delay: .45s; }

/* Features, a bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.card { border-radius: 32px; padding: 40px 40px 0; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.card.plain { background: var(--s1); border: 1px solid var(--line); box-shadow: var(--shadow); }
.card.w7 { grid-column: span 7; } .card.w5 { grid-column: span 5; }
.card h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 31px; line-height: 1.15; letter-spacing: -0.025em; }
.card p { margin: 0; max-width: 32em; font-size: 17px; line-height: 1.55; color: var(--ink2); }
.card.field p { color: var(--on2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px; border-radius: 999px; background: var(--s2); color: var(--ink2); font-size: 13px; font-weight: 500; }
.card.field .tags span { background: var(--field2); color: var(--on2); }
.card .pwin { margin-top: auto; padding: 32px 0 40px; display: flex; justify-content: center; }

/* Manifesto: the words light up with the scroll */
.manifesto p.big-type { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(52px, 9vw, 120px); line-height: .96; letter-spacing: -0.045em; }
.manifesto .w { color: var(--s3); transition: color .25s; }
.manifesto .w.lit { color: var(--ink); }
.manifesto .lead { max-width: 40em; }

/* Calculator */
.calc-box { margin-top: 40px; border-radius: 32px; background: var(--s2); padding: 40px; display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 40px; }
.calc-in { display: flex; flex-direction: column; gap: 22px; }
.calc-in label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.calc-in input { width: 100%; height: 60px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--edge); background: var(--s1); color: var(--ink); font-family: var(--display); font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-in small { display: block; margin-top: 6px; font-size: 13px; color: var(--soft); }
.calc-out { border-radius: 28px; padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.calc-out .k { font-size: 15px; font-weight: 600; color: var(--label); }
.calc-out .big { font-size: 64px; }
.calc-out .per { font-size: 17px; color: var(--on2); }

/* Any income: the date is what counts, the amount stays out */
.income-box { border-radius: 40px; padding: 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; align-items: center; }
.incomes { display: flex; flex-direction: column; gap: 12px; }
.inc { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: 20px; background: var(--deep); border: 1px solid var(--fline); }
.inc b { display: block; font-size: 17px; font-weight: 600; }
.inc span { font-size: 13.5px; color: var(--on2); opacity: .75; }
.inc em { flex: none; font-style: normal; font-size: 14px; font-weight: 600; color: var(--field); background: var(--label); padding: 6px 12px; border-radius: 999px; animation: datePulse 3.6s ease-in-out infinite; }
.inc:nth-child(2) em { animation-delay: 1.2s; } .inc:nth-child(3) em { animation-delay: 2.4s; }

/* The method: the four rules on the left, the month on the right, one rule at a time */
.method { height: 420vh; }
.method .sticky { padding: 96px 0 32px; }
.mgrid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; align-items: center; width: 100%; }
.mline { margin: 14px 0 0; font-family: var(--display); font-size: 21px; line-height: 1.35; font-weight: 600; color: var(--acc); }
.msteps { list-style: none; margin: 28px 0 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 4px; }
.msteps::before { content: ''; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--line); }
.msteps li { position: relative; display: flex; gap: 16px; padding: 10px 0; transition: opacity .4s var(--out); }
.js .msteps li { opacity: .45; }
.js .msteps li.on { opacity: 1; }
.mn { position: relative; z-index: 1; flex: none; width: 36px; height: 36px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: var(--g); border: 2px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--soft); transition: background .4s, border-color .4s, color .4s; }
.msteps li.on .mn, .msteps li.done .mn { background: var(--acc); border-color: var(--acc); color: var(--onAcc); }
.msteps b { display: block; margin-top: 6px; font-family: var(--display); font-size: 21px; line-height: 1.25; font-weight: 600; }
.msteps p { margin: 8px 0 0; overflow: hidden; font-size: 16px; line-height: 1.55; color: var(--ink2); transition: max-height .6s var(--out), margin .6s var(--out); }
.js .msteps p { max-height: 0; margin-top: 0; }
.js .msteps li.on p { max-height: 160px; margin-top: 8px; }
.mcal { background: var(--s1); border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow); padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.mhead { display: flex; justify-content: space-between; align-items: baseline; }
.cal-month { font-family: var(--display); font-size: 20px; font-weight: 600; }
.mtoday { font-size: 14px; font-weight: 600; color: var(--acc); }
.mweek, .mdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mweek span { font-size: 12px; font-weight: 600; color: var(--soft); text-align: center; }
.md { position: relative; min-height: 76px; border-radius: 14px; background: var(--s2); padding: 7px 8px; display: flex; flex-direction: column; gap: 2px; transition: background .5s var(--out), box-shadow .5s var(--out); transition-delay: calc(var(--k) * 35ms); }
.md.blank { background: transparent; }
.md i { font-style: normal; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink2); transition: color .4s; }
.md.past { opacity: .45; }
.md u { text-decoration: none; font-size: 10.5px; font-weight: 600; color: var(--acc); }
.md.today { box-shadow: inset 0 0 0 2px var(--acc); }
.md em, .md small { font-style: normal; font-size: 10.5px; line-height: 1.25; display: flex; flex-direction: column; margin-top: auto; transition: opacity .5s var(--out), transform .5s var(--out); }
.js .md em, .js .md small { opacity: 0; transform: translateY(6px); }
.md em span:first-child { font-weight: 600; color: var(--ink); }
.md em span:last-child { color: var(--ink2); font-variant-numeric: tabular-nums; }
.md small { font-weight: 600; color: var(--pos); }
.md.pay { background: var(--posBg); }
.md.pay i { color: var(--pos); }
.js .md.pay em { opacity: 1; transform: none; }
.md.pay em span:first-child { color: var(--pos); }
.mcal[data-step="0"] .md.pay { animation: payPulse 2.4s ease-in-out infinite; }
.mcal:not([data-step="0"]) .md.range { background: var(--select); }
.mcal:not([data-step="0"]) .md.range i { color: var(--acc); }
.mcal[data-step="2"] .md.bill, .mcal[data-step="3"] .md.bill { background: var(--s1); box-shadow: inset 0 0 0 1.5px var(--acc); }
.js .mcal[data-step="2"] .md.bill em, .js .mcal[data-step="3"] .md.bill em { opacity: 1; transform: none; }
.js .mcal[data-step="3"] .md small { opacity: 1; transform: none; }
.mbar { position: relative; margin-top: 6px; border-radius: 20px; min-height: 84px; overflow: hidden; }
.ml { position: absolute; inset: 0; padding: 16px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; opacity: 0; transform: translateY(10px); transition: opacity .18s ease-in, transform .18s ease-in; }
.mcal[data-step="0"] .ml[data-s="0"], .mcal[data-step="1"] .ml[data-s="1"], .mcal[data-step="2"] .ml[data-s="2"], .mcal[data-step="3"] .ml[data-s="3"] { opacity: 1; transform: none; transition: opacity .45s var(--out) .2s, transform .45s var(--out) .2s; }
.ml span { font-size: 14px; font-weight: 600; color: var(--label); }
.ml b, .ml .big { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -0.5px; color: var(--on); }
.ml .big span { font-size: inherit; font-weight: inherit; color: inherit; }
.ml .big .sym { font-size: 0.44em; color: var(--on2); }
.ml .big .cents { font-size: 0.56em; color: var(--on2); }
.ml em { flex-basis: 100%; font-style: normal; font-size: 13.5px; color: var(--on2); }
.ml em.struck { text-decoration: line-through; text-decoration-color: var(--label); }

/* Keep scrolling: shown while a scroll scene runs, so nobody wonders why the page stopped */
.keep { position: absolute; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); z-index: 6; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--s1) 92%, transparent); border: 1px solid var(--line); box-shadow: 0 10px 30px color-mix(in srgb, var(--shade) 14%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 13px; font-weight: 600; color: var(--ink2); white-space: nowrap; opacity: 0; transform: translate(-50%, 12px); transition: opacity .35s var(--out), transform .35s var(--out); pointer-events: none; }
.scene.show .keep { opacity: 1; transform: translate(-50%, 0); }
.keep-ic { width: 26px; height: 26px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: var(--select); color: var(--acc); }
.keep-ic svg { animation: nudge 1.6s ease-in-out infinite; }
.keep-n { color: var(--soft); font-weight: 500; font-variant-numeric: tabular-nums; }
.keep-n b { color: var(--ink); font-weight: 600; }
.keep-bar { position: relative; width: 44px; height: 3px; border-radius: 2px; background: var(--track); overflow: hidden; }
.keep-bar b { position: absolute; inset: 0; background: var(--acc); transform-origin: left; transform: scaleX(var(--kp, 0)); }

/* Privacy */
.priv { border-radius: 40px; padding: 72px 64px; }
.priv-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.priv-grid .ic { width: 48px; height: 48px; border-radius: 24px; display: flex; align-items: center; justify-content: center; background: var(--field2); border: 1px solid var(--fline); }
.priv-grid .ic path, .priv-grid .ic rect, .priv-grid .ic circle { transition: stroke-dashoffset 1.2s var(--out) .2s; }
.js .priv-grid .ic path, .js .priv-grid .ic rect, .js .priv-grid .ic circle { stroke-dasharray: 80; stroke-dashoffset: 80; }
.js .priv.in .ic path, .js .priv.in .ic rect, .js .priv.in .ic circle { stroke-dashoffset: 0; }
.priv-grid b { display: block; margin-top: 14px; font-size: 19px; line-height: 1.35; }
.priv-grid span { display: block; margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--on2); }

/* The world: amounts in six countries, going by without end */
.world { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 72px; align-items: center; }
.marquee { overflow: hidden; display: flex; flex-direction: column; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, var(--ink) 12%, var(--ink) 88%, transparent); mask-image: linear-gradient(90deg, transparent, var(--ink) 12%, var(--ink) 88%, transparent); }
.mtrack { display: flex; width: max-content; animation: slide 36s linear infinite; }
.mtrack.rev { animation-direction: reverse; animation-duration: 42s; }
.mset { display: flex; gap: 14px; padding-right: 14px; }
.mtile { flex: none; background: var(--s1); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; }
.mtile span { font-size: 13px; font-weight: 500; color: var(--soft); }
.mtile b { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -0.6px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* The name: coins fall into the bag, without end */
.name { display: grid; grid-template-columns: 460px minmax(0, 1fr); gap: 80px; align-items: center; }
.bagart { position: relative; height: 420px; border-radius: 32px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.bagart .bag { position: relative; z-index: 2; width: 220px; height: 220px; margin-bottom: 40px; color: var(--on); }
.bagart .mouth { position: absolute; z-index: 1; left: 50%; bottom: 150px; width: 110px; margin-left: -55px; height: 280px; overflow: hidden; }
.coin { position: absolute; top: -30px; width: 18px; height: 18px; border-radius: 50%; background: var(--luz); box-shadow: 0 0 22px color-mix(in srgb, var(--luz) 50%, transparent); animation: fall 3.6s cubic-bezier(.45,0,.9,.6) infinite; }
.spark { position: absolute; z-index: 3; left: 50%; bottom: 196px; width: 2px; height: 14px; border-radius: 1px; background: var(--luz); opacity: 0; transform-origin: 50% 120%; animation: sparkle 3.6s var(--out) 3.15s infinite; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1000px; margin: 48px auto 0; }
.plan { border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 22px; }
.plan.plain { background: var(--s1); border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan h3 { margin: 0; font-family: var(--display); font-size: 30px; font-weight: 600; }
.plan .sub { margin: 6px 0 0; font-size: 15px; color: var(--soft); }
.plan.field .sub { color: var(--on2); }
.plan hr { width: 100%; height: 1px; border: 0; margin: 0; background: var(--line); }
.plan.field hr { background: var(--fline); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 10px; font-size: 16px; line-height: 1.5; color: var(--ink2); }
.checks svg { flex: none; margin-top: 2px; color: var(--acc); }
.field .checks li { color: var(--on2); }
.field .checks svg { color: var(--label); }

/* Questions */
.faq { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 80px; align-items: start; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; cursor: pointer; list-style: none; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; color: var(--acc); transition: transform .3s var(--out); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { margin: 10px 0 0; max-width: 42em; font-size: 16px; line-height: 1.6; color: var(--ink2); animation: rise .35s var(--out); }

/* Closing and footer */
.closing { padding: 112px 0; text-align: center; }
.closing .inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.closing-title { font-size: clamp(36px, 4.6vw, 58px); }
.closing-form { width: 100%; max-width: 560px; }
.closing .wl { width: 100%; text-align: left; }
.closing .bagmini { width: 56px; height: 56px; color: var(--on); }
.foot { padding: 72px 0 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; max-width: 380px; }
.foot-brand .brand { color: var(--ink); }
.foot-brand p { margin: 0; color: var(--soft); font-size: 15px; }
.foot-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.foot-cols div { display: flex; flex-direction: column; gap: 2px; }
.foot-cols h4 { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--soft); }
.foot-cols a { min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; color: var(--ink2); text-decoration: none; }
.foot-cols a:hover { color: var(--ink); }
.foot-cols a[aria-current] { color: var(--ink); font-weight: 600; }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); }

/* Entrance: the hero comes in once, in order. Hidden only when there is a script to bring it in. */
.js .a-in, .js .a-rise, .js .a-pop, .js .h1 .w { opacity: 0; }
.ready .a-in { animation: rise .7s var(--out) both; animation-delay: var(--d, 0s); }
.ready .h1 .w { display: inline-block; animation: word .8s var(--out) both; animation-delay: calc(.12s + var(--i) * .06s); }
.ready .a-rise { animation: phoneIn 1.1s var(--out) both; animation-delay: var(--d, .35s); }
.ready .a-pop { animation: pop .6s var(--out) both; animation-delay: var(--d, 1s); }
.rv { transition: opacity .9s var(--out), transform .9s var(--out); transition-delay: var(--d, 0s); }
.js .rv { opacity: 0; transform: translateY(32px); }
.js .rv.in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes word { from { opacity: 0; transform: translateY(0.45em); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes phoneIn { from { opacity: 0; transform: translateY(120px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
@keyframes halo { 0%, 100% { opacity: .85; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } }
@keyframes clock { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-120px); } }
@keyframes xin { 0% { opacity: 0; transform: translateY(8px); } 8%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes tick { 0%, 6% { opacity: 0; transform: scale(.5); } 12%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
@keyframes guess { 0%, 30% { opacity: .35; } 40%, 100% { opacity: 1; } }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fall { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 78% { opacity: 1; } 100% { transform: translateY(300px); opacity: 1; } }
@keyframes sparkle { 0%, 70% { opacity: 0; transform: rotate(var(--r)) translateY(0) scaleY(.4); } 80% { opacity: 1; transform: rotate(var(--r)) translateY(-18px) scaleY(1); } 100% { opacity: 0; transform: rotate(var(--r)) translateY(-30px) scaleY(.4); } }
@keyframes payPulse { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 6px var(--posBg); } }
@keyframes datePulse { 0%, 70%, 100% { box-shadow: 0 0 0 0 transparent; } 20% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--label) 22%, transparent); } }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* Phone width: one column, the stage under the form, the scenes kept short */
@media (max-width: 900px) {
  .links { display: none; }
  .nav .btn-on { display: none; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 28px; }
  .hero-text { padding-bottom: 0; }
  .wl-row { flex-direction: column; }
  .stage { height: 560px; }
  .halo { width: 480px; height: 480px; }
  .stage .front { zoom: .82; margin-left: -200px; }
  .stage .back { zoom: .7; margin-left: 30px; top: 60px; }
  .n1 { left: -4px; top: 330px; width: 190px; }
  .n2 { display: none; }
  .n3 { right: -4px; top: 150px; width: 190px; }
  .sheet { margin-top: -110px; padding: 64px 0 88px; }
  .sheet > * + * { margin-top: 96px; }
  .pain-line { display: none; }
  .pain-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
  .pcard { padding: 24px 22px; }
  .pday { font-size: 38px; }
  .sum-scene { height: 260vh; }
  .sum-grid, .world, .name, .faq, .calc-box { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sum-card { padding: 8px 22px; }
  .srow { padding: 12px 0; }
  .srow .big { font-size: 30px; }
  .srow .note2 { font-size: 14px; line-height: 20px; }
  /* On a phone the written sum is taller than the screen: the intro scrolls away and only the card holds, under the
     navigation, so its last line and the pill are both on screen (the founder's friend, 2026-09-30). */
  .sum-scene .sticky { position: static; display: block; min-height: 0; height: 100%; padding: 0; }
  .sum-scene .sum-grid { display: block; height: 100%; }
  .sum-scene .sum-card { position: sticky; top: 64px; margin-top: 28px; }
  .bank-cards, .plans { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .bcard, .plan { padding: 28px 22px; min-height: 0; }
  .bcard .big { font-size: 44px; }
  .bento { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .card.w7, .card.w5 { grid-column: auto; }
  .card { padding: 28px 22px 0; }
  .card h3 { font-size: 25px; }
  .card .pwin { padding: 24px 0 28px; }
  .calc-box { padding: 22px; }
  .calc-out { padding: 28px 22px; }
  .calc-out .big { font-size: 44px; }
  .income-box { grid-template-columns: minmax(0, 1fr); padding: 40px 22px; gap: 28px; border-radius: 28px; }
  .priv { border-radius: 28px; padding: 40px 22px; }
  .priv-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .bagart { height: 340px; }
  .closing { padding: 72px 0; text-align: left; }
  .closing .inner { align-items: flex-start; }
  .foot-cols { gap: 40px; }
  /* On a phone the pill is pinned to the screen, not to the scene's box: a scene taller than the screen (the sum on a
     small phone) kept it below the fold, and the founder's friend never saw it (2026-09-30). The scenes leave room for it,
     so it never covers the last line. */
  .keep { position: fixed; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .scene .sticky { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .method { height: 380vh; }
  .method .sticky { padding: 76px 0 calc(76px + env(safe-area-inset-bottom, 0px)); align-items: flex-start; }
  .mgrid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .method .h2 { font-size: 25px; }
  .mline { font-size: 15px; margin-top: 6px; }
  .method .eyebrow { margin-bottom: 6px; }
  .msteps { margin-top: 10px; gap: 0; }
  .msteps li { padding: 4px 0; }
  .js .msteps li:not(.on) { display: none; }
  .msteps::before { display: none; }
  .msteps b { font-size: 17px; margin-top: 7px; }
  .msteps p { font-size: 14px; }
  .mcal { padding: 14px 12px; gap: 8px; border-radius: 24px; }
  .mweek, .mdays { gap: 3px; }
  .mweek span { font-size: 10px; }
  .md { min-height: 40px; padding: 4px; border-radius: 9px; }
  .md i { font-size: 11px; }
  .md u, .md em, .md small { display: none; }
  .mcal[data-step="2"] .md.bill::after, .mcal[data-step="3"] .md.bill::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 6px; height: 6px; margin-left: -3px; border-radius: 3px; background: var(--acc); }
  .mbar { min-height: 76px; }
  .ml { padding: 12px 16px; }
  .ml b, .ml .big { font-size: 24px; }
}

/* A short phone screen (Safari with its bars): the method's month tightens, so the pill never covers its last bar */
@media (max-width: 900px) and (max-height: 720px) {
  .sum-scene .sum-card { top: 56px; }
  .srow { padding: 9px 0; }
  .srow .note2 { font-size: 13px; line-height: 18px; }
  .method .sticky { padding-top: 60px; }
  .method .h2 { font-size: 22px; }
  .mline { font-size: 14px; margin-top: 4px; }
  .msteps p { font-size: 12.5px; line-height: 1.45; }
  .mcal { padding: 10px 10px; gap: 4px; }
  .mweek span { font-size: 9px; }
  .md { min-height: 28px; }
  .mbar { min-height: 56px; }
  .ml b, .ml .big { font-size: 21px; }
}

/* Reduce motion: nothing moves, and everything is in its final state */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .15s !important; transition-delay: 0s !important; }
  .pain-line i, .pain-line span { transform: none !important; }
  .a-in, .a-rise, .a-pop, .h1 .w, .rv, .xrow, .xrow .c.ok svg, .in-rows .rw, .guess { opacity: 1 !important; transform: none !important; filter: none !important; }
  .srow, .chip { opacity: 1 !important; transform: none !important; }
  .msteps p { max-height: none !important; margin-top: 8px !important; }
  .msteps li { opacity: 1 !important; display: flex !important; }
  .manifesto .w { color: var(--ink) !important; }
  .coin, .spark, .keep { display: none; }
  .scene { height: auto !important; }
  .scene .sticky { position: static; min-height: 0; padding: 0; }
}

/* The cookie notice (adendo of ADR-0048): a band on the sand at the foot of the screen, the two answers of the same weight. */
.consent-bar { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 70; max-width: 760px; margin-inline: auto;
  display: flex; align-items: center; gap: 16px 24px; padding: 16px 20px; border-radius: 20px; background: var(--s1); border: 1px solid var(--line); box-shadow: var(--shadow);
  color: var(--ink2); font-size: 14px; line-height: 1.5; animation: rise .45s var(--out) both; }
.consent-bar p { margin: 0; flex: 1; }
.consent-bar a { color: var(--acc); }
.consent-actions { flex: none; display: flex; gap: 8px; }
.consent-btn { min-height: 44px; min-width: 112px; padding: 0 18px; border-radius: 12px; border: 1.5px solid var(--acc); background: var(--s1); color: var(--acc); font-size: 15px; font-weight: 600; cursor: pointer; }
.consent-btn:hover { background: var(--select); }
.foot-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--ink2); text-align: left; cursor: pointer; }
.foot-link:hover { color: var(--ink); }
/* With the notice up, the "Keep scrolling" pill rises above it. */
.consent-open .keep { bottom: calc(132px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 900px) {
  .consent-bar { flex-direction: column; align-items: stretch; }
  .consent-actions .consent-btn { flex: 1; min-width: 0; }
  .consent-open .keep { bottom: calc(176px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .consent-bar { animation: none; } }

/* The privacy policy (ADR-0048): one readable column on the sand, under the site's bar. */
.legal-page .nav { position: sticky; top: 0; }
.legal { max-width: 760px; padding-block: 48px 72px; }
.legal h1 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.legal-version { margin: 12px 0 8px; color: var(--soft); font-size: 15px; }
.legal h2 { margin: 40px 0 12px; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.legal p, .legal li { color: var(--ink2); font-size: 17px; line-height: 1.65; max-width: 68ch; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal-page .foot { padding-top: 32px; border-top: 1px solid var(--line); }
/* The confirmation page (adendo of ADR-0048): one button, then the way back or to the list. */
.confirm-btn { min-height: 48px; margin-top: 12px; padding: 0 24px; border: 0; border-radius: 12px; background: var(--acc); color: var(--onAcc); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.confirm-btn:disabled { opacity: .7; cursor: default; }
.confirm-back, .confirm-join { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-weight: 600; }
