/* =====================================================================
   Pebble · site styles
   Everything raised is clay: a colour, a soft inner highlight on top, an
   inner shade underneath and a long outer shadow (a glow in dusk). Things
   you press sink in: the shadows invert. The hero holds a basin of pebbles
   the visitor can flick (js/pebble.js). Requires tokens.css.
   Motion is on by default unless the visitor prefers reduced motion;
   html.calm (the footer Motion switch) stills it.
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-body)/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
b, strong { font-weight: 700; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 14px; }
.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: var(--r-pill); background: var(--bold); color: var(--on-bold); font-weight: 700; box-shadow: var(--shadow-btn); }
.skip:focus { top: 14px; }

/* ---------------------------------------------------------------- reveal */
/* Visible by default. js adds .entered when an element first scrolls into view, and
   .rise (a springy pop) only if it wasn't already on screen at load. */
.rise { animation: pop var(--d-enter) var(--spring) backwards; animation-delay: calc(var(--d, 0) * 90ms); }
@keyframes pop { from { opacity: 0; transform: translateY(34px) scale(0.94); } }

/* ---------------------------------------------------------------- clay basics */
.clay { background: var(--surface); box-shadow: var(--shadow-clay); }
.sticker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 9px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-clay); font: 600 var(--fs-small)/1.2 var(--body); color: var(--ink-2); }
.sticker-dot, .tick { width: 16px; height: 16px; border-radius: 50%; flex: none; background: var(--c, var(--mint)); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7), inset 0 -3px 4px rgba(43, 20, 53, 0.18); }
.tick { position: relative; width: 20px; height: 20px; --c: var(--mint); }
.tick::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid var(--on-pastel); border-width: 0 2.2px 2.2px 0; border-radius: 1px; transform: rotate(42deg); }

/* ---------------------------------------------------------------- buttons */
/* Press in, spring back out: the press is quick, the release overshoots (the squish). */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; white-space: nowrap; cursor: pointer;
  font: 600 16px/1 var(--display); font-stretch: 108%; letter-spacing: 0.005em; padding: 16px 24px; border-radius: var(--r-pill);
  transition: transform var(--d-release) var(--spring), box-shadow 0.35s var(--ease), background-color 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active, .btn.is-pressed { transform: translateY(2px) scale(0.97, 0.92); transition-duration: var(--d-press), var(--d-press), 0.25s; transition-timing-function: var(--ease); }
.btn-sm { padding: 12px 19px; font-size: 15px; }
.btn-lg { padding: 20px 30px; font-size: 18px; }
.btn-bold { background-color: var(--bold); background-image: radial-gradient(120% 100% at 30% 0%, rgba(255, 255, 255, 0.2), transparent 55%); color: var(--on-bold); box-shadow: var(--shadow-btn); }
.btn-bold:hover { background-color: var(--bold-2); }
.btn-bold:active, .btn-bold.is-pressed { box-shadow: var(--shadow-btn-press); }
.btn-soft { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-clay); }
.btn-soft:hover { box-shadow: var(--shadow-lift); }
.btn-soft:active, .btn-soft.is-pressed { box-shadow: var(--shadow-press); }
.btn-on-bold { background-color: var(--on-bold); color: var(--bold); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7), inset 0 -7px 12px rgba(43, 20, 53, 0.16), 0 14px 26px -12px rgba(0, 0, 0, 0.55); }
.btn-on-bold:active, .btn-on-bold.is-pressed { box-shadow: inset 0 6px 12px rgba(43, 20, 53, 0.35), inset 0 -1px 1px rgba(255, 255, 255, 0.4); }

/* ---------------------------------------------------------------- switches */
/* Every switch is a real <button role="switch" aria-checked>. The knob snaps across on a
   spring and squashes as it travels (.snap is added by js for one beat). */
.toggle { display: inline-flex; align-items: center; gap: 14px; padding: 6px; border: 0; background: none; text-align: left; border-radius: 22px; }
.toggle-track { position: relative; flex: none; width: 62px; height: 36px; border-radius: var(--r-pill); background: var(--sunk); box-shadow: var(--shadow-sunk); transition: background-color 0.35s var(--ease); }
.toggle-knob { position: absolute; top: 4px; left: 4px; width: 28px; height: 28px; border-radius: 50%; background-color: var(--knob);
  background-image: radial-gradient(70% 60% at 35% 25%, var(--hi), transparent 70%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.6), inset 0 -4px 6px rgba(43, 20, 53, 0.14), 0 3px 6px -1px rgba(43, 20, 53, 0.3);
  transition: transform 0.55s var(--spring); }
.toggle[aria-checked="true"] .toggle-track { background: var(--mint); }
.toggle[aria-checked="true"] .toggle-knob { transform: translateX(26px); }
.toggle-knob.snap { animation: snap 0.42s var(--ease); }
@keyframes snap { 35% { scale: 1.32 0.8; } 70% { scale: 0.92 1.08; } }
.toggle:active .toggle-knob { scale: 1.12 0.9; }
.toggle-txt { font: 600 16px/1.3 var(--body); }
.toggle-txt small { display: block; font-weight: 400; font-size: var(--fs-small); color: var(--muted); margin-top: 2px; }

/* ---------------------------------------------------------------- brand */
.brand { display: inline-flex; align-items: center; gap: 10px; border-radius: var(--r-pill); }
.brand-mark { position: relative; width: 34px; height: 30px; flex: none; }
.brand-mark i { position: absolute; border-radius: 50%; box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7), inset 0 -3px 5px rgba(43, 20, 53, 0.2), 0 3px 6px -2px var(--glow); }
.brand-mark i:first-child { left: 0; top: 0; width: 25px; height: 23px; background: var(--mint); }
.brand-mark i:last-child { right: 0; bottom: 0; width: 17px; height: 15px; background: var(--lilac); }
.brand-word { font: 600 27px/1 var(--display); font-stretch: 116%; letter-spacing: -0.025em; }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 40; transition: background-color 0.3s, box-shadow 0.3s; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 84px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 10px 16px; border-radius: var(--r-pill); font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background-color 0.25s, box-shadow 0.35s var(--ease), transform 0.45s var(--spring); }
.nav-links a:hover { background: var(--surface); box-shadow: var(--shadow-clay); color: var(--ink); transform: translateY(-1px); }
.nav-links a:active { box-shadow: var(--shadow-press); transform: translateY(1px); }

/* ---------------------------------------------------------------- hero */
.hero { padding: 24px 0 var(--s-5); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(32px, 4.6vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.h1 { font: 600 var(--fs-h1)/0.98 var(--display); font-stretch: 112%; letter-spacing: -0.03em; text-wrap: balance; }
.h1 .w { display: inline-block; }
.h1 .glue { white-space: nowrap; }
.js:not(.calm) .h1 .w { animation: word 1s var(--spring) backwards; animation-delay: calc(120ms + var(--i) * 75ms); }
@keyframes word { 0% { opacity: 0; transform: translateY(0.55em) scale(0.86, 1.14); } 55% { opacity: 1; transform: translateY(-0.05em) scale(1.05, 0.95); } }
/* The signature type move: a little clay pebble set into the headline like a word. */
.nugget { display: inline-block; width: 0.92em; height: 0.64em; margin: 0 0.06em 0 0.02em; vertical-align: -0.02em; border-radius: 50%;
  background: radial-gradient(28% 22% at 33% 27%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 100%),
              radial-gradient(130% 130% at 30% 22%, color-mix(in srgb, var(--mint) 55%, #fff), var(--mint) 50%, color-mix(in srgb, var(--mint) 70%, #0b3a2a) 100%);
  box-shadow: inset 0 -0.05em 0.08em rgba(11, 58, 42, 0.18), 0 0.1em 0.14em -0.05em var(--glow), 0 0.02em 0.02em rgba(43, 20, 53, 0.08); }
.js:not(.calm) .nugget { animation: drop 1.3s var(--spring) 0.55s backwards, wobble 7s ease-in-out 2.2s infinite; transform-origin: 50% 100%; }
@keyframes drop { 0% { transform: translateY(-1.6em) scale(0.8, 1.2); opacity: 0; } 50% { transform: translateY(0) scale(1.24, 0.74); opacity: 1; } 70% { transform: translateY(-0.12em) scale(0.94, 1.06); } }
@keyframes wobble { 0%, 86%, 100% { transform: none; } 90% { transform: scale(1.12, 0.88); } 94% { transform: translateY(-0.08em) scale(0.95, 1.05); } }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.notes { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.notes li { display: inline-flex; align-items: center; gap: 9px; }

/* the dish: a raised clay rim around a sunk basin where the pebbles live */
.pit-wrap { padding: 14px 14px 10px; border-radius: calc(var(--r-xl) + 14px); background: var(--surface); box-shadow: var(--shadow-lift); }
.pit { position: relative; height: clamp(400px, 42vw, 590px); border-radius: var(--r-xl); background: var(--tray); box-shadow: var(--shadow-sunk); overflow: hidden; isolation: isolate; }
.pit::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; box-shadow: inset 0 10px 22px -8px rgba(43, 20, 53, 0.16), inset 0 -2px 1px var(--hi); }
.pit-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; touch-action: pan-y; cursor: grab; }
.pit-canvas.grabbing { cursor: grabbing; }
/* Without js the pots are a tidy row of pills; with js they become pebbles and this list is read by screen readers only. */
.pit-list { position: absolute; inset: auto 0 0 0; display: flex; flex-wrap: wrap; align-content: flex-end; gap: 10px; padding: 24px; }
.pit-list li { padding: 10px 16px; border-radius: var(--r-pill); background: var(--c); color: var(--on-pastel); font-weight: 600; box-shadow: var(--shadow-clay); }
.pit-list [data-tone="mint"] { --c: var(--mint); } .pit-list [data-tone="lilac"] { --c: var(--lilac); }
.pit-list [data-tone="butter"] { --c: var(--butter); } .pit-list [data-tone="blush"] { --c: var(--blush); }
.pit-live .pit-list { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.safe-chip { position: absolute; top: 20px; left: 20px; z-index: 2; display: grid; gap: 2px; padding: 14px 20px 15px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-clay); pointer-events: none; }
.safe-chip span { font-size: 13px; font-weight: 600; color: var(--muted); }
.safe-chip b { font: 600 30px/1 var(--display); font-stretch: 110%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pit-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 2px 2px 14px; }
.pit-bar p { font-size: var(--fs-small); color: var(--muted); max-width: 38ch; line-height: 1.4; }

/* ---------------------------------------------------------------- sections */
.sec { position: relative; padding: 108px 0; }
.sec-head { display: grid; gap: 18px; justify-items: start; max-width: 700px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head.center .lead { margin-inline: auto; }
.h2 { font: 600 var(--fs-h2)/1.02 var(--display); font-stretch: 112%; letter-spacing: -0.025em; text-wrap: balance; }
.h3, .card h3, .step h3, .plan h3, .safe h3 { font: 600 var(--fs-h3)/1.15 var(--display); font-stretch: 108%; letter-spacing: -0.01em; }
/* a whole section raised as one soft slab */
.sec-tint { margin: 0 clamp(8px, 1.6vw, 24px); border-radius: 64px; background: var(--tint-mint); box-shadow: var(--shadow-clay); }

/* ---------------------------------------------------------------- bento of clay cards */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 26px; padding: 34px; border-radius: var(--r-xl); box-shadow: var(--shadow-clay);
  transition: transform var(--d-lift) var(--spring), box-shadow 0.5s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(90% 55% at 12% 0%, var(--hi), transparent 62%); pointer-events: none; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card-txt p { margin-top: 10px; color: var(--ink-2); max-width: 44ch; }
.c-lilac { background-color: var(--tint-lilac); } .c-mint { background-color: var(--tint-mint); }
.c-butter { background-color: var(--tint-butter); } .c-blush { background-color: var(--tint-blush); } .c-plain { background-color: var(--surface); }
.c-phone { grid-column: span 7; grid-row: span 2; padding-bottom: 0; min-height: 640px; }
.c-save { grid-column: span 5; }
.c-bills { grid-column: span 5; }
.c-share { grid-column: span 6; }
.c-nudge { grid-column: span 6; }

/* phone with an app screen, built in css */
.phone { position: relative; align-self: center; margin-top: auto; margin-bottom: -170px; width: 326px; max-width: 100%; padding: 11px; border-radius: 52px; background: var(--bold);
  background-image: radial-gradient(90% 40% at 25% 0%, rgba(255, 255, 255, 0.16), transparent 60%);
  box-shadow: inset 0 3px 2px rgba(255, 255, 255, 0.22), inset 0 -10px 20px rgba(0, 0, 0, 0.3), 0 40px 70px -30px var(--glow), 0 12px 24px -12px rgba(43, 20, 53, 0.35);
  transition: transform 0.8s var(--spring); }
.c-phone:hover .phone { transform: translateY(-10px) rotate(-1.5deg); }
.phone-screen { display: grid; gap: 14px; align-content: start; min-height: 680px; padding: 12px 16px 24px; border-radius: 42px; background: var(--surface); }
.ps-status { display: flex; align-items: center; justify-content: space-between; padding: 2px 8px 6px; font: 700 13px/1 var(--body); }
.ps-island { width: 82px; height: 24px; border-radius: var(--r-pill); background: var(--ink); opacity: 0.92; }
.ps-bat { width: 24px; height: 12px; border-radius: 4px; border: 2px solid currentColor; position: relative; }
.ps-bat::after { content: ""; position: absolute; inset: 1px 5px 1px 1px; border-radius: 1px; background: currentColor; }
.ps-hello { font-weight: 600; color: var(--muted); font-size: 15px; padding: 0 4px; }
.ps-safe { display: grid; gap: 4px; padding: 18px 20px 20px; border-radius: 30px; background: var(--tint-mint); box-shadow: var(--shadow-clay); }
.ps-safe span { font-size: 13px; font-weight: 600; color: var(--muted); }
.ps-safe b { font: 600 50px/1 var(--display); font-stretch: 110%; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ps-safe em { display: inline-flex; align-items: center; gap: 7px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--ok); }
.ps-safe em i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ps-pots { display: grid; gap: 8px; }
.ps-pot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 10px; padding: 12px 14px; border-radius: 22px; background: var(--bg); }
.ps-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.6), inset 0 -3px 4px rgba(43, 20, 53, 0.16); grid-row: span 2; }
.ps-pot span { font-weight: 600; font-size: 14px; }
.ps-pot b { font-size: 13px; color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.ps-bar { grid-column: 2 / 4; height: 8px; border-radius: var(--r-pill); background: var(--sunk); box-shadow: var(--shadow-sunk); overflow: hidden; }
.ps-bar i { display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.ps-tabs { display: flex; justify-content: space-around; padding: 14px 18px; border-radius: var(--r-pill); background: var(--bg); margin-top: 4px; }
.ps-tabs i { width: 22px; height: 22px; border-radius: 8px; background: var(--sunk); }
.ps-tabs i.on { background: var(--bold); border-radius: 50%; }
.c-phone .card-txt { position: relative; z-index: 1; }
/* little clay stickers floating beside the phone */
.phone-float { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-lift); font-weight: 700; font-size: 14.5px; white-space: nowrap; transition: transform 0.7s var(--spring); }
.pf-a { left: 6%; top: 52%; transform: rotate(-5deg); }
.pf-b { right: 5%; top: 70%; transform: rotate(4deg); }
.c-phone:hover .pf-a { transform: translate(-6px, -8px) rotate(-8deg); }
.c-phone:hover .pf-b { transform: translate(6px, -12px) rotate(7deg); }
.js:not(.calm) .phone-float { animation: float 6s ease-in-out infinite alternate; }
.js:not(.calm) .pf-b { animation-duration: 7.5s; animation-delay: -2s; }
@keyframes float { 50% { translate: 0 -8px; } }
.mini-coin { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 700 14px/1 var(--display); font-style: normal; color: color-mix(in srgb, var(--butter) 50%, #6b4100);
  background: radial-gradient(60% 60% at 35% 30%, color-mix(in srgb, var(--butter) 40%, #fff), var(--butter) 70%); box-shadow: inset 0 0 0 2.5px color-mix(in srgb, var(--butter) 85%, #b36d00), 0 2px 0 color-mix(in srgb, var(--butter) 70%, #8a5300); }

/* round-ups: switches and a coin stack that grows */
.save { display: grid; gap: 18px; margin-top: auto; }
.toggles { display: grid; gap: 10px; }
.toggles .toggle { width: 100%; padding: 12px 16px 12px 12px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-clay); transition: box-shadow 0.3s var(--ease), transform 0.45s var(--spring); }
.toggles .toggle:hover { transform: translateY(-2px); }
.toggles .toggle:active { box-shadow: var(--shadow-press); transform: translateY(1px); }
.toggles .toggle[aria-checked="true"] .toggle-track { background: var(--butter); }
.stash { display: flex; align-items: flex-end; gap: 18px; padding: 0 6px; }
.stash p span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.stash p b { font: 600 32px/1 var(--display); font-stretch: 110%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.coins { display: flex; flex-direction: column-reverse; align-items: center; justify-content: flex-start; height: 112px; width: 80px; padding-bottom: 8px; }
.coins i { flex: none; width: 70px; height: 24px; margin-top: -13px; border-radius: 50%;
  background: radial-gradient(60% 80% at 40% 30%, color-mix(in srgb, var(--butter) 40%, #fff), var(--butter) 70%);
  box-shadow: inset 0 -2px 3px rgba(150, 90, 0, 0.22), 0 6px 0 color-mix(in srgb, var(--butter) 72%, #8a5300), 0 7px 0 color-mix(in srgb, var(--butter) 50%, #5a3500), 0 12px 12px -4px rgba(90, 50, 0, 0.3);
  transition: transform 0.6s var(--spring), opacity 0.25s; }
.coins i:last-child { margin-top: 0; }
.coins i.out { opacity: 0; transform: translateY(-44px) scale(0.85); transition-duration: 0.3s; }

/* bills */
.bills { display: grid; gap: 10px; margin-top: auto; }
.bills li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 10px 12px 10px 10px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-clay); }
.bill-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c); color: var(--on-pastel); font: 600 17px/1 var(--display); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.6), inset 0 -4px 6px rgba(43, 20, 53, 0.15); }
.bill-t { font-weight: 700; line-height: 1.2; }
.bill-t small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.pill-ok, .pill-soon { font-style: normal; font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: var(--r-pill); white-space: nowrap; }
.pill-ok { background: var(--tint-mint); color: var(--ok); }
.pill-soon { background: var(--tint-butter); color: var(--ink-2); }

/* shared pot */
.share { display: grid; gap: 14px; margin-top: auto; padding: 22px; border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-clay); }
.share-top { display: flex; align-items: center; gap: 14px; }
.avs { display: flex; }
.avs i { display: grid; place-items: center; width: 38px; height: 38px; margin-right: -9px; border-radius: 50%; font: 600 15px/1 var(--display); font-style: normal; color: var(--on-pastel); background: var(--c); box-shadow: 0 0 0 3px var(--surface), inset 0 2px 1px rgba(255, 255, 255, 0.6), inset 0 -4px 6px rgba(43, 20, 53, 0.15); }
.avs .plus { background: var(--sunk); color: var(--ink-2); box-shadow: 0 0 0 3px var(--surface), var(--shadow-sunk); }
.share-name { margin-left: 12px; font-weight: 700; }
.meter { height: 22px; padding: 4px; border-radius: var(--r-pill); background: var(--sunk); box-shadow: var(--shadow-sunk); }
.meter i { display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--blush); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.6), inset 0 -3px 4px rgba(120, 30, 20, 0.15); }
.entered .meter i, .calm .meter i { animation: none; }
.share-sum { font-size: 15px; color: var(--ink-2); }
.share-sum b { font: 600 24px/1 var(--display); font-stretch: 110%; color: var(--ink); margin-right: 4px; }
.feed { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.feed li { display: flex; align-items: center; gap: 10px; }
.feed li i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.feed li span { margin-left: auto; color: var(--muted); font-weight: 500; }

/* nudges */
.nudges { position: relative; display: grid; gap: 12px; margin-top: auto; }
.nudge { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 18px 14px 14px; border-radius: 28px; background: var(--bg); box-shadow: var(--shadow-clay); transition: transform 0.6s var(--spring); }
.nudge.n2 { margin: 0 0 0 28px; transform: rotate(-1deg); }
.c-nudge:hover .nudge:first-child { transform: translateY(-4px); }
.c-nudge:hover .nudge.n2 { transform: translate(6px, -2px) rotate(-2deg); }
.quiet { width: 100%; margin-top: 4px; padding: 12px 16px 12px 12px; border-radius: 26px; background: var(--bg); box-shadow: var(--shadow-sunk); }
.quiet[aria-checked="true"] .toggle-track { background: var(--lilac); }
.nudge-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 15px; background: var(--surface); box-shadow: var(--shadow-clay); }
.nudge-ic .brand-mark { transform: scale(0.8); }
.nudge b { display: block; font-size: 15px; line-height: 1.3; }
.nudge span { font-size: 14px; color: var(--muted); }
.nudge em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--muted); align-self: start; }

/* ---------------------------------------------------------------- how it works */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 22px; left: 16.6%; right: 16.6%; height: 16px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--ink) 6%, transparent); box-shadow: var(--shadow-sunk); }
.step { position: relative; display: grid; justify-items: center; text-align: center; gap: 16px; }
.step p { color: var(--ink-2); max-width: 32ch; }
.step-n { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--c); color: var(--on-pastel); font: 700 26px/1 var(--display);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7), inset 0 -6px 9px rgba(43, 20, 53, 0.18), 0 10px 18px -8px var(--glow); }
.obj { position: relative; height: 170px; width: 220px; display: grid; place-items: center; transition: transform 0.7s var(--spring); }
.step:hover .obj { transform: translateY(-8px) rotate(-2deg); }
/* a bank card, with another peeking behind */
.obj-card::before, .obj-card i { content: ""; position: absolute; width: 168px; height: 106px; border-radius: 20px; }
.obj-card::before { background: var(--blush); transform: rotate(9deg) translate(18px, -6px); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.6), inset 0 -8px 14px rgba(43, 20, 53, 0.12), 0 16px 26px -14px var(--glow); }
.obj-card i { background: var(--lilac); background-image: radial-gradient(80% 60% at 20% 10%, rgba(255, 255, 255, 0.6), transparent 60%); transform: rotate(-7deg); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7), inset 0 -8px 14px rgba(43, 20, 53, 0.14), 0 20px 30px -14px var(--glow); }
.obj-card i::before { content: ""; position: absolute; left: 20px; top: 32px; width: 32px; height: 24px; border-radius: 8px; background: var(--butter); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7), inset 0 -3px 4px rgba(120, 70, 0, 0.2); }
.obj-card i::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 20px; height: 9px; border-radius: 9px; background: rgba(43, 20, 53, 0.14); box-shadow: 0 0 0 0 transparent; }
/* three pebbles, settled */
.obj-pebbles i { position: absolute; border-radius: 50%; box-shadow: inset 0 3px 2px rgba(255, 255, 255, 0.65), inset 0 -10px 16px rgba(43, 20, 53, 0.16), 0 18px 24px -14px var(--glow); }
.obj-pebbles i::after { content: ""; position: absolute; left: 22%; top: 16%; width: 30%; height: 18%; border-radius: 50%; background: rgba(255, 255, 255, 0.7); filter: blur(3px); transform: rotate(-24deg); }
.obj-pebbles i:nth-child(1) { width: 112px; height: 98px; background: var(--mint); left: 22px; bottom: 10px; }
.obj-pebbles i:nth-child(2) { width: 80px; height: 72px; background: var(--lilac); right: 26px; bottom: 10px; }
.obj-pebbles i:nth-child(3) { width: 62px; height: 56px; background: var(--butter); right: 58px; bottom: 76px; }
/* a coin */
.obj-coin i { display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; font: 700 60px/1 var(--display); font-style: normal; color: color-mix(in srgb, var(--butter) 55%, #6b4100);
  background: radial-gradient(60% 60% at 35% 28%, color-mix(in srgb, var(--butter) 40%, #fff), var(--butter) 62%, color-mix(in srgb, var(--butter) 80%, #b36d00));
  box-shadow: inset 0 0 0 10px color-mix(in srgb, var(--butter) 88%, #b36d00), inset 0 0 0 12px rgba(255, 255, 255, 0.4), inset 0 -10px 14px rgba(120, 70, 0, 0.2), 0 8px 0 color-mix(in srgb, var(--butter) 70%, #8a5300), 0 26px 30px -14px rgba(120, 70, 0, 0.45);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.55); transform: rotate(-10deg); }

/* ---------------------------------------------------------------- proof */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.quote { position: relative; display: grid; gap: 18px; padding: 30px 30px 26px; border-radius: 40px 40px 40px 12px; box-shadow: var(--shadow-clay); transition: transform var(--d-lift) var(--spring), box-shadow 0.5s var(--ease); }
.quote:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: var(--shadow-lift); }
.quote:nth-child(2) { margin-top: 36px; }
.q-lilac { background: var(--tint-lilac); } .q-mint { background: var(--tint-mint); } .q-butter { background: var(--tint-butter); }
.sample { justify-self: start; padding: 5px 12px; border-radius: var(--r-pill); background: var(--surface); color: var(--muted); font-size: 12.5px; font-weight: 700; box-shadow: var(--shadow-clay); }
.quote blockquote { font: 500 21px/1.38 var(--display); font-stretch: 100%; letter-spacing: -0.005em; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; line-height: 1.3; }
.quote figcaption small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.q-av { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--c); color: var(--on-pastel); font: 600 17px/1 var(--display); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.6), inset 0 -4px 6px rgba(43, 20, 53, 0.16), 0 0 0 3px var(--surface); }
.safe { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 56px; padding: 30px 34px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-clay); }
.safe-lead { display: flex; gap: 22px; align-items: center; }
.safe-lead p { color: var(--ink-2); margin-top: 6px; max-width: 48ch; }
.lock { position: relative; flex: none; width: 70px; height: 76px; }
.lock::before { content: ""; position: absolute; left: 15px; top: 0; width: 40px; height: 46px; border: 9px solid color-mix(in srgb, var(--lilac) 70%, var(--ink)); border-bottom: 0; border-radius: 26px 26px 0 0; }
.lock i { position: absolute; left: 0; bottom: 0; width: 70px; height: 50px; border-radius: 18px; background: var(--butter); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7), inset 0 -7px 10px rgba(120, 70, 0, 0.2), 0 14px 20px -10px rgba(120, 70, 0, 0.45); }
.lock i::after { content: ""; position: absolute; left: 30px; top: 15px; width: 10px; height: 18px; border-radius: 6px; background: color-mix(in srgb, var(--butter) 50%, #6b4100); }
.safe-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.safe-points li { display: grid; gap: 2px; padding: 14px 16px; border-radius: 22px; background: var(--bg); box-shadow: var(--shadow-sunk); }
.safe-points b { font: 600 17px/1.2 var(--display); font-stretch: 108%; }
.safe-points span { font-size: 13.5px; color: var(--muted); line-height: 1.35; }

/* ---------------------------------------------------------------- pricing */
.toggle-bill { margin-top: 10px; padding: 8px 18px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-clay); gap: 14px; }
.toggle-bill .toggle-side { font-weight: 700; color: var(--muted); transition: color 0.3s; }
.toggle-bill[aria-checked="false"] .toggle-side:first-child, .toggle-bill[aria-checked="true"] .toggle-side:last-child { color: var(--ink); }
.toggle-bill em { font-style: normal; font-size: 12.5px; padding: 3px 9px; margin-left: 4px; border-radius: var(--r-pill); background: var(--butter); color: var(--on-pastel); }
.toggle-bill[aria-checked="true"] .toggle-track { background: var(--lilac); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 36px 32px 32px; border-radius: 44px; background: var(--surface); box-shadow: var(--shadow-clay); transition: transform var(--d-lift) var(--spring), box-shadow 0.5s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.plan-for { color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.price b { display: inline-block; font: 600 64px/1 var(--display); font-stretch: 110%; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.price b.bump { animation: bump 0.55s var(--spring); }
@keyframes bump { 0% { transform: translateY(14px) scale(0.85, 1.15); opacity: 0.2; } }
.price span { color: var(--muted); font-weight: 600; }
.plan ul { display: grid; gap: 10px; margin: 6px 0 22px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--mint); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.6), inset 0 -3px 4px rgba(43, 20, 53, 0.16); }
.plan .btn { margin-top: auto; }
.plan-pick { background-color: var(--bold); background-image: radial-gradient(90% 50% at 20% 0%, rgba(255, 255, 255, 0.14), transparent 60%); color: var(--on-bold); box-shadow: var(--shadow-btn); }
.plan-pick:hover { box-shadow: var(--shadow-btn); }
.plan-pick .plan-for, .plan-pick .price span { color: color-mix(in srgb, var(--on-bold) 78%, var(--bold)); }
.plan-pick .btn-bold { background-color: var(--on-bold); color: var(--bold); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7), inset 0 -7px 12px rgba(43, 20, 53, 0.16), 0 14px 26px -12px rgba(0, 0, 0, 0.5); }
.plan-pick .btn-bold:active { box-shadow: inset 0 6px 12px rgba(43, 20, 53, 0.35); }
.plan-flag { position: absolute; top: -16px; right: 26px; padding: 9px 16px; border-radius: var(--r-pill); background: var(--mint); color: var(--on-pastel); font-weight: 700; font-size: 13.5px; transform: rotate(4deg); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.6), inset 0 -4px 6px rgba(43, 20, 53, 0.14), 0 10px 18px -8px rgba(43, 20, 53, 0.4); }
.fine { margin-top: 28px; text-align: center; font-size: 13.5px; color: var(--muted); }

/* ---------------------------------------------------------------- faq */
.sec-faq { padding-top: 0; }
.faq-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-clay); transition: box-shadow 0.35s var(--ease); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 20px 20px 28px; cursor: pointer; list-style: none; border-radius: 30px; font: 600 19px/1.3 var(--display); font-stretch: 105%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--sunk); box-shadow: var(--shadow-sunk); transition: transform 0.55s var(--spring), background-color 0.3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px; border-radius: 2px; background: var(--ink); transition: transform 0.55s var(--spring); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(180deg); background: var(--butter); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.6), inset 0 -3px 5px rgba(120, 70, 0, 0.2); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: var(--on-pastel); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq summary:active { box-shadow: var(--shadow-press); }
.faq details p { padding: 0 28px 24px; color: var(--ink-2); max-width: 62ch; }
.js:not(.calm) .faq details[open] p { animation: pop 0.5s var(--spring); }

/* ---------------------------------------------------------------- closing slab */
.cta { padding: 0 0 var(--s-8); }
.slab { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; gap: 24px; text-align: center; padding: clamp(64px, 9vw, 128px) clamp(24px, 6vw, 96px); border-radius: 64px;
  background-color: var(--bold); background-image: radial-gradient(70% 60% at 25% 0%, rgba(255, 255, 255, 0.14), transparent 60%); color: var(--on-bold); box-shadow: var(--shadow-btn); }
.cta-h { font: 600 var(--fs-cta)/1 var(--display); font-stretch: 116%; letter-spacing: -0.03em; max-width: 15ch; text-wrap: balance; }
.slab p { max-width: 40ch; text-wrap: balance; font-size: var(--fs-lead); color: color-mix(in srgb, var(--on-bold) 82%, var(--bold)); }
.slab .hero-cta { justify-content: center; margin-top: 8px; }
.slab-pebbles i { position: absolute; z-index: -1; border-radius: 50%; background: var(--c);
  box-shadow: inset 0 4px 3px rgba(255, 255, 255, 0.6), inset 0 -14px 22px rgba(43, 20, 53, 0.2), 0 24px 40px -16px rgba(0, 0, 0, 0.5); }
.slab-pebbles i::after { content: ""; position: absolute; left: 20%; top: 14%; width: 32%; height: 20%; border-radius: 50%; background: rgba(255, 255, 255, 0.7); filter: blur(4px); transform: rotate(-24deg); }
.slab-pebbles i:nth-child(1) { width: 180px; height: 160px; left: -50px; bottom: -40px; }
.slab-pebbles i:nth-child(2) { width: 110px; height: 98px; left: 90px; bottom: -36px; }
.slab-pebbles i:nth-child(3) { width: 150px; height: 134px; right: -40px; top: -44px; }
.slab-pebbles i:nth-child(4) { width: 70px; height: 62px; right: 110px; top: 26px; }
.slab-pebbles i:nth-child(5) { width: 96px; height: 86px; right: 4%; bottom: -30px; }
.js:not(.calm) .slab-pebbles i { animation: bob 7s ease-in-out infinite alternate; }
.js:not(.calm) .slab-pebbles i:nth-child(2n) { animation-duration: 9s; animation-delay: -3s; }
.js:not(.calm) .slab-pebbles i:nth-child(3n) { animation-duration: 8s; animation-delay: -5s; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(4deg) scale(1.03, 0.97); } 100% { transform: translateY(4px) rotate(-3deg); } }

/* ---------------------------------------------------------------- footer */
.foot { padding: 20px 0 56px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; }
.foot-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.foot-brand p { font-size: 13.5px; color: var(--muted); max-width: 48ch; line-height: 1.45; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.foot-links a { border-radius: 8px; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.motion { padding: 4px 8px 4px 4px; gap: 10px; border-radius: var(--r-pill); }
.motion .toggle-track { width: 52px; height: 30px; }
.motion .toggle-knob { width: 22px; height: 22px; }
.motion[aria-checked="true"] .toggle-knob { transform: translateX(22px); }
.motion .toggle-txt { font-size: 15px; }

/* ---------------------------------------------------------------- calm */
html.calm .rise, html.calm .h1 .w, html.calm .nugget, html.calm .phone-float, html.calm .slab-pebbles i, html.calm .price b.bump, html.calm .toggle-knob.snap { animation: none; }
html.calm .card:hover, html.calm .plan:hover, html.calm .c-phone:hover .phone-float, html.calm .quote:hover, html.calm .c-phone:hover .phone, html.calm .step:hover .obj { transform: none; }
html.calm .btn, html.calm .toggle-knob { transition-timing-function: var(--ease); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 720px; }
  .pit { height: clamp(380px, 58vw, 520px); }
  .c-phone { grid-column: span 12; grid-row: auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .c-phone .phone { margin: 0 0 -170px; align-self: end; }
  .pf-a { left: auto; right: 300px; top: auto; bottom: 150px; } .pf-b { right: 24px; top: auto; bottom: 60px; }
  .c-save, .c-bills, .c-share, .c-nudge { grid-column: span 6; }
  .safe { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .quotes { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .quote:nth-child(2) { margin-top: 0; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; }
  .faq-in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .steps::before { display: none; }
}
@media (max-width: 760px) {
  .c-phone { display: flex; }
  .c-phone .phone { margin: 0 auto -170px; }
  .pf-a { left: 4%; top: auto; bottom: 120px; } .pf-b { right: 4%; top: auto; bottom: 40px; }
  .c-save, .c-bills, .c-share, .c-nudge { grid-column: span 12; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .nav-in { height: 72px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding-top: 12px; }
  .hero-copy { gap: 22px; }
  .pit-wrap { padding: 10px 10px 8px; border-radius: 40px; }
  .pit { height: 380px; border-radius: 30px; }
  .safe-chip { top: 12px; left: 12px; padding: 10px 16px 11px; border-radius: 20px; }
  .safe-chip b { font-size: 24px; }
  .pit-bar { flex-direction: column; align-items: stretch; text-align: center; gap: 10px; padding: 10px 4px 4px; }
  .pit-bar p { max-width: none; }
  .sec { padding: 88px 0; }
  .sec-head { margin-bottom: 40px; }
  .sec-tint { border-radius: 40px; margin: 0 8px; }
  .card { padding: 26px 22px; border-radius: 34px; }
  .c-phone { padding-bottom: 0; }
  .phone { width: 270px; border-radius: 46px; }
  .phone-screen { border-radius: 36px; min-height: 580px; }
  .nudge.n2 { margin-left: 14px; }
  .save { grid-template-columns: minmax(0, 1fr); }
  .toggles .toggle { padding: 10px 12px 10px 10px; }
  .share { padding: 18px; }
  .safe { padding: 24px 22px; }
  .safe-lead { flex-direction: column; align-items: flex-start; }
  .safe-points { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 30px 24px 26px; border-radius: 36px; }
  .price b { font-size: 56px; }
  .toggle-bill { padding: 8px 12px; gap: 10px; flex-wrap: wrap; justify-content: center; }
  .faq summary { padding: 16px 16px 16px 22px; font-size: 17.5px; }
  .faq details p { padding: 0 22px 20px; }
  .slab { border-radius: 40px; }
  .slab .hero-cta { flex-direction: column; justify-self: stretch; }
  .phone-float { display: none; }
  .slab-pebbles i:nth-child(1) { width: 120px; height: 106px; }
  .slab-pebbles i:nth-child(3) { width: 100px; height: 90px; right: -30px; top: -30px; }
  .slab-pebbles i:nth-child(4), .slab-pebbles i:nth-child(2) { display: none; }
  .hero-cta .btn { flex: 1 1 auto; }
}
