/* Trillitask Budget marketing site (/ and the message pages). Mint paper, logo navy, logo green.
   Paired with assets/js/site.js. The app (/app) uses app.css instead. */

:root {
  --brand: #14b27f;
  --brand-600: #0c8f65;
  --brand-700: #08734f;
  --brand-50: #e9f8f1;
  --brand-100: #d2f2e3;
  --brand-200: #a5e5c8;

  --navy: #0f2147;
  --navy-800: #13285a;
  --navy-900: #0b1836;
  --navy-950: #070f25;

  --ink: #0f2147;
  --text: #39435e;
  --muted: #646d84;
  --faint: #8f97aa;

  --paper: #f5faf7;
  --paper-2: #e9f4ee;
  --card: #ffffff;
  --line: #e0ebe5;
  --line-2: #cfe0d7;

  --green: #12985a;  --green-50: #e6f7ee;
  --red: #e0383e;    --red-50: #fdecec;
  --blue: #3657d8;   --blue-50: #ecf0ff;
  --violet: #7a4cf0; --violet-50: #f2edff;
  --amber: #e79a12;  --amber-50: #fff6e2;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;

  --shadow-sm: 0 1px 2px rgba(15, 33, 71, .06), 0 2px 8px -2px rgba(15, 33, 71, .06);
  --shadow: 0 1px 2px rgba(15, 33, 71, .05), 0 10px 30px -10px rgba(15, 33, 71, .16), 0 30px 60px -30px rgba(15, 33, 71, .2);
  --shadow-lg: 0 2px 4px rgba(15, 33, 71, .04), 0 24px 48px -16px rgba(15, 33, 71, .22), 0 70px 120px -50px rgba(15, 33, 71, .35);

  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-family: var(--display); font-optical-sizing: auto; }
p { margin: 0; }
::selection { background: var(--brand-200); color: var(--navy); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

/* Faint film grain over everything — keeps big flat areas from looking digital. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 860px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-700);
}
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.h-display {
  font-size: clamp(48px, 7.2vw, 98px); line-height: .95; letter-spacing: -.028em; font-weight: 700;
}
.h2 { font-size: clamp(36px, 4.8vw, 62px); line-height: 1.02; letter-spacing: -.026em; font-weight: 700; }
.h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.08; letter-spacing: -.025em; font-weight: 700; }
.h4 { font-size: 20px; line-height: 1.25; letter-spacing: -.012em; font-weight: 650; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--text); }
.muted { color: var(--muted); }
.accent { color: var(--brand); }
.center { text-align: center; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head .h2 { margin-top: 18px; }
.section-head .lede { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg); font: 600 16px/1 var(--font); letter-spacing: -.005em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 2px rgba(15, 33, 71, .2), 0 8px 20px -8px rgba(15, 33, 71, .45);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 2px 4px rgba(15, 33, 71, .2), 0 14px 28px -10px rgba(15, 33, 71, .5); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-brand { --bg: var(--brand); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 1px 2px rgba(8, 115, 79, .3), 0 10px 24px -8px rgba(20, 178, 127, .6); }
.btn-brand:hover { --bg: var(--brand-600); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 2px 4px rgba(8, 115, 79, .3), 0 16px 32px -10px rgba(20, 178, 127, .65); }
.btn-ghost { --bg: rgba(255, 255, 255, .7); --fg: var(--navy); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(15, 33, 71, .05); backdrop-filter: blur(8px); }
.btn-ghost:hover { --bg: #fff; box-shadow: inset 0 0 0 1px var(--faint), 0 6px 16px -8px rgba(15, 33, 71, .25); }
.btn-white { --bg: #fff; --fg: var(--navy); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn-lg { height: 60px; padding: 0 30px; font-size: 17px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand-700); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px;
  transition: background .3s, box-shadow .3s, height .3s;
}
.nav.is-scrolled { background: rgba(245, 250, 247, .82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--line); height: 66px; }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 20px; }
.nav-links a { padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text); transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(15, 33, 71, .06); color: var(--navy); }
.nav-links .pill-new { display: inline-flex; align-items: center; gap: 7px; }
.nav-links .pill-new::after { content: "New"; font: 700 10px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: #0a7a55; background: #dff7ec; padding: 4px 6px; border-radius: 999px; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-cta .signin { padding: 9px 14px; font-size: 15px; font-weight: 500; color: var(--navy); border-radius: 999px; }
.nav-cta .signin:hover { background: rgba(15, 33, 71, .06); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; color: var(--navy); }
.nav-sheet { display: none; }

@media (max-width: 960px) {
  .nav-links, .nav-cta .signin { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { gap: 4px; }
  .nav-sheet {
    display: block; position: fixed; inset: 66px 12px auto 12px; z-index: 49;
    background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 10px;
    opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; transition: opacity .2s, transform .25s var(--ease);
  }
  .nav.is-open + .nav-sheet { opacity: 1; transform: none; pointer-events: auto; }
  .nav.is-open { background: rgba(245, 250, 247, .96); }
  .nav-sheet a { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border-radius: 14px; font-size: 17px; font-weight: 500; color: var(--navy); }
  .nav-sheet a:hover { background: var(--paper); }
  .nav-sheet .sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 6px 6px; }
  .nav-sheet .sheet-actions .btn { width: 100%; }
}
@media (max-width: 420px) { .nav-cta .btn { padding: 0 14px; font-size: 14px; } .nav-logo img { height: 28px; } }

/* ---------- Mascot (inline SVG) ---------- */
.mascot { overflow: visible; }
.mascot .m-face { transition: transform .35s var(--ease); }
.mascot .m-eyes { transform-box: fill-box; transform-origin: center; transition: transform .09s ease-in; }
.mascot.is-blink .m-eyes { transform: scaleY(.08); }
.mascot.is-bob { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 178, 127, .22), rgba(70, 210, 160, .1) 45%, transparent 72%);
  filter: blur(10px);
}
.hero::after {
  content: ""; position: absolute; z-index: -2; inset: 0;
  background-image: linear-gradient(rgba(15, 33, 71, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 33, 71, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 20%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 30% 20%, #000 10%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero-copy .eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .75); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-sm);
  font-size: 14px; font-weight: 500; color: var(--navy); backdrop-filter: blur(6px);
}
.hero-copy .eyebrow b { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 600; }
.hero-copy h1 { margin-top: 26px; }
.hero-copy h1 .swoosh { position: relative; display: inline-block; color: var(--brand); }
.hero-copy h1 .swoosh svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.hero-copy h1 .swoosh path { fill: none; stroke: var(--brand); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.1s .55s var(--ease) forwards; opacity: .55; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-copy .lede { margin-top: 28px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14px; color: var(--muted); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--green); }

/* Floating annotation chips around the demo */
.float-chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px;
  background: #fff; box-shadow: var(--shadow); font-size: 13.5px; font-weight: 600; color: var(--navy); white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
}
.float-chip .dot { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; }
.float-chip .dot svg { width: 15px; height: 15px; }
.float-chip.fc-1 { left: -18px; top: 36px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Works-with strip ---------- */
.works { padding: 6px 0 70px; }
.works .wrap { display: flex; align-items: center; gap: 18px 40px; flex-wrap: wrap; justify-content: center; }
.works small { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.works ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin: 0; padding: 0; }
.works li { font: 650 21px/1 var(--display); letter-spacing: -.02em; color: #9aa0b1; }

/* ---------- Big statement (words light up on scroll) ---------- */
.statement { padding: 70px 0 120px; }
.statement p { font: 600 clamp(30px, 4.1vw, 54px)/1.13 var(--display); letter-spacing: -.032em; color: var(--navy); max-width: 1050px; }
.js .statement .w { opacity: .16; transition: opacity .25s; }
.js .statement .w.on { opacity: 1; }
.statement .hl { color: var(--brand); }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section.tight { padding: 90px 0; }
.bg-white { background: #fff; }
.bg-paper-2 { background: var(--paper-2); }
.rule-top { border-top: 1px solid var(--line); }

/* Story rows */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 80px; align-items: center; }
.story + .story { margin-top: 140px; }
.story.flip > .story-copy { order: 2; }
.story-copy .num { font: 700 15px/1 var(--display); color: var(--brand); letter-spacing: .02em; }
.story-copy .h3 { margin-top: 14px; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.024em; line-height: 1.05; }
.story-copy p { margin-top: 20px; font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--text); }
.ticks li svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--brand); }
.visual {
  position: relative; border-radius: var(--r-xl); padding: 44px; min-height: 440px; display: grid; place-items: center; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #fff 0%, var(--brand-50) 100%); box-shadow: inset 0 0 0 1px var(--line);
}
.visual::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%; right: -20%; top: -30%; background: radial-gradient(closest-side, rgba(20, 178, 127, .16), transparent); }
.visual.v-navy { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); box-shadow: none; }
.visual.v-navy::before { background: radial-gradient(closest-side, rgba(20, 178, 127, .35), transparent); }
.visual.v-cream { background: linear-gradient(160deg, #fff, var(--paper-2)); }

/* Mock: raw email → summary */
.mock-mail { width: 100%; max-width: 470px; display: grid; gap: 16px; }
.raw {
  position: relative; background: #fff; border-radius: 20px; padding: 18px 20px 0; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  height: 200px; overflow: hidden; transform: rotate(-1.5deg);
}
.raw::after { content: ""; position: absolute; inset: auto 0 0 0; height: 110px; background: linear-gradient(transparent, #fff 85%); }
.raw .meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.raw .meta b { color: var(--navy); }
.raw .subj { margin-top: 6px; font-weight: 600; color: var(--navy); font-size: 15px; }
.raw p { margin-top: 10px; font-size: 13.5px; line-height: 1.55; color: #7b8296; }
.arrow-chip { justify-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; box-shadow: var(--shadow); }
.arrow-chip svg { width: 16px; height: 16px; }
.summary { background: #fff; border-radius: 22px; padding: 20px; box-shadow: var(--shadow), inset 0 0 0 1px rgba(20, 178, 127, .25); }
.summary .from { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.summary .from .av { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: #fff; font: 700 12px/1 var(--font); background: #3f7be0; }
.summary .line { margin-top: 12px; font: 600 19px/1.35 var(--display); color: var(--navy); letter-spacing: -.01em; }
.summary .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--paper); color: var(--navy); }
.chip svg { width: 14px; height: 14px; }
.chip.c-brand { background: var(--brand-100); color: var(--brand-700); }
.chip.c-green { background: var(--green-50); color: var(--green); }
.chip.c-blue { background: var(--blue-50); color: var(--blue); }
.chip.c-red { background: var(--red-50); color: var(--red); }
.chip.c-violet { background: var(--violet-50); color: var(--violet); }

/* Mock: chat */
.chat { width: 100%; max-width: 450px; display: grid; gap: 12px; }
.bubble { max-width: 86%; padding: 13px 16px; border-radius: 20px; font-size: 15px; line-height: 1.45; box-shadow: var(--shadow-sm); }
.bubble.me { justify-self: end; background: var(--brand); color: #fff; border-bottom-right-radius: 6px; }
.bubble.ai { justify-self: start; background: #fff; color: var(--text); border-bottom-left-radius: 6px; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.v-navy .bubble.ai { box-shadow: none; }
.draft { margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: var(--paper); font-size: 14px; color: var(--text); }
.draft .to { font-size: 12px; color: var(--muted); }
.draft .actions { display: flex; gap: 8px; margin-top: 10px; }
.draft .actions span { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.draft .actions .send { background: var(--navy); color: #fff; }
.draft .actions .edit { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--navy); }
.chat .sent { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #8fe0b5; }
.chat .sent svg { width: 16px; height: 16px; }
.js .chat [data-step] { opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .5s var(--ease); }
.js .chat [data-step].on { opacity: 1; transform: none; }
.typing { justify-self: start; display: inline-flex; gap: 4px; padding: 14px 16px; border-radius: 20px; background: #fff; border-bottom-left-radius: 6px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #b6bccb; animation: blinkdot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blinkdot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
.sms-tag { justify-self: center; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.tile {
  position: relative; grid-column: span 4; border-radius: var(--r-lg); padding: 28px; background: #fff; overflow: hidden; isolation: isolate;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
.tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.tile.span-3 { grid-column: span 3; } .tile.span-5 { grid-column: span 5; } .tile.span-6 { grid-column: span 6; } .tile.span-7 { grid-column: span 7; } .tile.span-8 { grid-column: span 8; }
.tile.tall { grid-row: span 2; }
.tile .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); }
.tile .ico svg { width: 22px; height: 22px; }
.tile h3 { margin-top: 20px; font-size: 21px; line-height: 1.2; letter-spacing: -.018em; font-weight: 700; }
.tile p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.tile .badge { position: absolute; top: 24px; right: 24px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--paper); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.tile .say { margin-top: 16px; display: inline-flex; align-self: flex-start; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: var(--paper); font-size: 14px; color: var(--navy); font-weight: 500; }
.tile .grow { flex: 1; }
.tile.dark { background: var(--navy); box-shadow: none; }
.tile.dark h3 { color: #fff; }
.tile.dark p { color: rgba(255, 255, 255, .7); }
.tile.dark .ico { background: rgba(20, 178, 127, .18); color: #5fe0b0; }
.tile.dark::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -160px; bottom: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 178, 127, .4), transparent); }
.tile.warm { background: linear-gradient(160deg, #fff 30%, var(--brand-50)); }
.ico.i-blue { background: var(--blue-50); color: var(--blue); } .ico.i-green { background: var(--green-50); color: var(--green); }
.ico.i-violet { background: var(--violet-50); color: var(--violet); } .ico.i-red { background: var(--red-50); color: var(--red); }
.ico.i-amber { background: var(--amber-50); color: #b26b00; } .ico.i-navy { background: #e9edf6; color: var(--navy); }

.tile .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tile.dark .chip { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); }
.tile.dark .chip svg { color: #5fe0b0; }
.scam-card { margin-top: 22px; border-radius: 18px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); padding: 16px 18px; position: relative; }
.scam-card .f { font-size: 13px; color: rgba(255, 255, 255, .55); }
.scam-card .f b { color: rgba(255, 255, 255, .85); font-weight: 600; }
.scam-card .s { margin-top: 6px; font-size: 15px; color: #fff; font-weight: 600; text-decoration: line-through; text-decoration-color: rgba(255, 90, 90, .8); text-decoration-thickness: 2px; }
.scam-card .why { margin-top: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.stamp { position: absolute; right: 16px; top: 50%; transform: translateY(-50%) rotate(-8deg); padding: 6px 12px; border-radius: 10px; border: 2.5px solid #ff6b6b; color: #ff8080; font: 800 14px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.mem { margin-top: 18px; display: grid; gap: 8px; }
.mem .bubble { font-size: 14px; padding: 10px 14px; max-width: 92%; }
.mem .when { font-size: 11.5px; font-weight: 600; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; justify-self: center; margin: 4px 0; }

/* ---------- Privacy (dark) ---------- */
.dark-band { background: var(--navy-950); color: rgba(255, 255, 255, .78); overflow: hidden; isolation: isolate; }
.dark-band::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; left: -300px; top: -400px; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 178, 127, .22), transparent); }
.dark-band::after { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -260px; bottom: -380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(70, 110, 255, .2), transparent); }
.dark-band h2, .dark-band h3 { color: #fff; }
.dark-band .kicker { color: #5fe0b0; }
.dark-band .lede { color: rgba(255, 255, 255, .72); }
.privacy { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: center; }
.vow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vow { border-radius: 22px; padding: 24px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.vow .ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(20, 178, 127, .16); color: #5fe0b0; }
.vow .ico svg { width: 21px; height: 21px; }
.vow h3 { margin-top: 16px; font-size: 19px; letter-spacing: -.015em; }
.vow p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .66); }

/* ---------- Pricing ---------- */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.prices.n-1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.prices.n-2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.prices.n-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.price { position: relative; display: flex; flex-direction: column; border-radius: 30px; padding: 34px 30px 30px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.price .name { font: 700 22px/1 var(--display); color: var(--navy); letter-spacing: -.015em; }
.price .tag { margin-top: 8px; font-size: 15px; color: var(--muted); min-height: 24px; }
.price .amt { margin-top: 26px; display: flex; align-items: baseline; gap: 6px; }
.price .amt b { font: 700 58px/1 var(--display); color: var(--navy); letter-spacing: -.045em; }
.price .amt span { font-size: 15px; color: var(--muted); }
.price .yr { margin-top: 8px; font-size: 13.5px; color: var(--muted); min-height: 20px; }
.price ul { list-style: none; margin: 26px 0 30px; padding: 26px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; align-content: start; }
.price li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--text); }
.price li svg { flex: none; width: 20px; height: 20px; color: var(--green); margin-top: 1px; }
.price li.off { color: var(--faint); }
.price li.off svg { color: #c3c7d2; }
.price .btn { width: 100%; }
.price .foot { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.price.featured { background: var(--navy); box-shadow: 0 40px 80px -30px rgba(15, 33, 71, .55); transform: translateY(-10px); }
.price.featured .name, .price.featured .amt b { color: #fff; }
.price.featured .tag, .price.featured .amt span, .price.featured .yr, .price.featured .foot { color: rgba(255, 255, 255, .62); }
.price.featured ul { border-color: rgba(255, 255, 255, .12); }
.price.featured li { color: rgba(255, 255, 255, .85); }
.price.featured li svg { color: #5fe0b0; }
.price.featured li.off { color: rgba(255, 255, 255, .4); }
.price .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(20, 178, 127, .7); }
.price-note { margin-top: 28px; text-align: center; font-size: 15px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 80px; align-items: start; }
.faq-grid .section-head { position: sticky; top: 120px; margin: 0; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font: 650 19px/1.35 var(--display); color: var(--navy); letter-spacing: -.012em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s, transform .3s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--navy); transition: transform .3s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm { background: var(--brand); box-shadow: none; transform: rotate(180deg); }
.faq details[open] summary .pm::before, .faq details[open] summary .pm::after { background: #fff; }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .ans { padding: 0 56px 26px 0; font-size: 16.5px; line-height: 1.65; color: var(--text); }
.faq .ans a { color: var(--brand-700); font-weight: 600; }

/* ---------- Final CTA ---------- */
.final {
  position: relative; border-radius: 44px; padding: 90px 64px; overflow: hidden; isolation: isolate; text-align: center;
  background: radial-gradient(120% 120% at 50% 0%, #33d39e 0%, var(--brand) 40%, #08805a 100%); color: #fff;
}
.final::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .22) 1.2px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%); mask-image: radial-gradient(ellipse at center, #000, transparent 70%); }
.final .mascot { width: 150px; margin: 0 auto 28px; filter: drop-shadow(0 20px 30px rgba(0, 70, 45, .35)); }
.final h2 { color: #fff; max-width: 820px; margin: 0 auto; }
.final p { margin: 20px auto 0; max-width: 560px; font-size: 19px; color: rgba(255, 255, 255, .88); }
.final .hero-actions { justify-content: center; }
.final .btn-white { box-shadow: 0 20px 40px -16px rgba(0, 60, 40, .6); }
.final .btn-ghost { --bg: rgba(255, 255, 255, .12); --fg: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .62); padding: 90px 0 40px; margin-top: 120px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
.footer .brand img { height: 36px; width: auto; }
.footer .brand p { margin-top: 18px; max-width: 320px; line-height: 1.6; }
.footer h4 { font: 600 13px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .42); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer a:hover { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 70px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; color: rgba(255, 255, 255, .42); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { gap: 48px; }

  .tile.span-3 { grid-column: span 6; }
  .tile.span-4 { grid-column: span 6; }
  .tile.span-5, .tile.span-7 { grid-column: span 6; }
  .tile.tall { grid-row: auto; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer .brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  :root { --gutter: 20px; }
  .hero { padding: 120px 0 60px; }
  .hero-grid, .story, .day, .privacy, .promo, .faq-grid, .feat-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .story.flip > .story-copy, .feat-grid.flip > :first-child { order: 0; }
  .story + .story { margin-top: 100px; }
  .day-head, .faq-grid .section-head, .feat-copy { position: static; }
  .day-head .mascot { display: none; }
  .visual { padding: 28px; min-height: 0; }
  .prices, .prices.n-4 { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
  .price.featured { transform: none; }
  .promo { padding: 44px 28px; border-radius: 32px; }
  .section { padding: 90px 0; }
  .final { padding: 64px 24px; border-radius: 32px; }
  .vow-grid { grid-template-columns: 1fr 1fr; }
  .feat { padding: 80px 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero { padding: 108px 0 40px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .demo-stage { padding-top: 56px; }
  .demo-stage .mascot { width: 92px; right: 24px; }
  .float-chip { display: none; }
  .mail-row { padding: 9px 14px; gap: 10px; grid-template-columns: 34px minmax(0, 1fr) auto; }
  .mail-row .av { width: 34px; height: 34px; border-radius: 10px; }
  .mail-row + .mail-row::before { left: 58px; right: 14px; }
  .mail-row .tag { padding: 0 8px; font-size: 11.5px; }
  .mail-row .tag svg { display: none; }
  .inbox-head { padding: 14px; }
  .inbox-result { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .inbox-result li { font-size: 13.5px; }
  .bento { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tile, .tile.span-3, .tile.span-4, .tile.span-5, .tile.span-6, .tile.span-7, .tile.span-8 { grid-column: auto; padding: 24px; }
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-left: 30px; }
  .timeline li::after { left: 0; top: 2px; }
  .timeline time { text-align: left; padding-top: 0; }
  .vow-grid, .cards.two, .sort3 { grid-template-columns: minmax(0, 1fr); }
  .faq summary { font-size: 17px; padding: 20px 0; }
  .faq .ans { padding-right: 0; }
  .footer { padding-top: 64px; margin-top: 90px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .works li { font-size: 18px; }
  .statement { padding: 30px 0 80px; }
  .raw { height: 170px; }
  .brief { padding: 20px; }
  .brief .hello { font-size: 22px; }
  .stamp { position: static; display: inline-block; transform: rotate(-6deg); margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-copy h1 .swoosh path { stroke-dashoffset: 0; }
}

html:not(.js) .chat .typing { display: none; }

/* =====================================================================
   Budget-only components
   ===================================================================== */
.btn-brand { --bg: var(--brand-600); }
.btn-brand:hover { --bg: var(--brand-700); }
.nav-logo img { height: 36px; }
.accent { color: var(--brand-700); }
.kicker { color: var(--brand-700); }

/* Hero phone */
.phone-stage { position: relative; display: grid; place-items: center; padding: 10px 0 30px; }
.phone-stage::before { content: ""; position: absolute; z-index: 0; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 178, 127, .28), transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.phone {
  position: relative; z-index: 2; width: 340px; max-width: 100%; height: 660px; border-radius: 54px; padding: 11px;
  background: linear-gradient(160deg, #1c2533, #0a111b); box-shadow: inset 0 0 0 1.5px #3a4556, var(--shadow-lg), 0 60px 120px -50px rgba(6, 70, 48, .55);
}
.phone .screen { position: relative; height: 100%; border-radius: 44px; overflow: hidden; background: var(--paper); display: flex; flex-direction: column; }
.phone .island { position: absolute; z-index: 5; top: 11px; left: 50%; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 20px; background: #0a111b; }
.phone .app-head { display: flex; align-items: center; gap: 10px; padding: 50px 18px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.phone .app-head .mascot { width: 36px; flex: none; }
.phone .app-head b { display: block; font: 700 15px/1.15 var(--display); color: var(--navy); }
.phone .app-head small { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--brand-700); }
.phone .app-head small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.phone .mini { margin: 12px 12px 0; padding: 14px 16px; border-radius: 20px; background: linear-gradient(150deg, var(--brand-600), #07664a); color: #fff; }
.phone .mini small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.phone .mini b { display: block; margin-top: 2px; font: 700 30px/1.05 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.phone .mini span { font-size: 12px; opacity: .85; }
.phone .thread { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 12px 12px 10px; overflow: hidden; }
.phone .thread > * { transition: opacity .4s, transform .45s var(--ease); }
.phone .thread .bubble { font-size: 13.5px; line-height: 1.45; padding: 11px 14px; max-width: 90%; }
.phone .thread .bubble.me { background: var(--navy); }
.phone .thread .bubble.ai { box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(15, 33, 71, .05); }
.phone .thread .typing { box-shadow: inset 0 0 0 1px var(--line); }
.phone .thread .is-out { opacity: 0; transform: translateY(-10px); }
.phone .thread .is-pre { opacity: 0; transform: translateY(10px); }
.qchips { display: flex; flex-wrap: wrap; gap: 6px; }
.qchips span { font-size: 12px; font-weight: 600; padding: 7px 11px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--brand-200); color: var(--brand-700); }
.phone .composer { display: flex; align-items: center; gap: 6px; margin: 0 10px 14px; min-height: 48px; padding: 5px 5px 5px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-sm); }
.phone .composer .txt { flex: 1; min-width: 0; font-size: 13.5px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone .composer .txt:empty::before { content: "Ask about your money\2026"; color: var(--faint); }
.phone .composer .ic { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.phone .composer .ic svg { width: 18px; height: 18px; }
.phone .composer .send { background: var(--brand-600); color: #fff; }
.float-card {
  position: absolute; z-index: 3; width: 236px; padding: 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow); animation: floaty 7s ease-in-out infinite;
}
.float-card .t { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.float-card .t i { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; }
.float-card .t i svg { width: 15px; height: 15px; }
.float-card .v { margin-top: 8px; font: 700 22px/1.1 var(--display); color: var(--navy); letter-spacing: -.02em; }
.float-card p { margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.float-card.fa { left: -46px; top: 262px; }
.float-card.fb { right: -60px; top: 150px; animation-delay: -3.5s; }
.story-copy .num { color: var(--brand-700); }

/* Banks strip */
.works li { font-size: 19px; }

/* Question marquee */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee + .marquee { margin-top: 14px; }
.marquee .track { display: flex; gap: 14px; width: max-content; padding: 4px 0; animation: marq 70s linear infinite; }
.marquee.rev .track { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .track { animation-play-state: paused; }
.q-chip { display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; border-radius: 26px 26px 26px 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); font-size: 16.5px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.q-chip svg { width: 18px; height: 18px; color: var(--brand); }
@keyframes marq { to { transform: translateX(-50%); } }
.answers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 56px; }
.answer { background: #fff; border-radius: 26px; padding: 22px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); display: grid; gap: 10px; align-content: start; }
.answer .bubble { max-width: 100%; box-shadow: none; }
.answer .bubble.me { justify-self: end; background: var(--navy); font-weight: 500; }
.answer .bubble.ai { background: var(--paper); box-shadow: none; }

/* Bank-speak to plain English */
.translate { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 22px; align-items: center; }
.panel { background: #fff; border-radius: 28px; padding: 10px 24px 14px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); height: 100%; }
.panel h3 { font: 700 13px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 18px 0 8px; }
.stmt .row { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px dashed var(--line-2); font: 500 12.5px/1.45 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: #5d6577; }
.stmt .row span:last-child { white-space: nowrap; color: var(--navy); }
.plain .row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.plain .row .ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); }
.plain .row .ic svg { width: 19px; height: 19px; }
.plain .row b { display: block; font-weight: 700; color: var(--navy); font-size: 15px; }
.plain .row small { display: block; font-size: 12.5px; color: var(--muted); }
.plain .row .amt { font-weight: 700; font-size: 15px; color: var(--navy); font-variant-numeric: tabular-nums; }
.plain .row .amt.in { color: var(--brand-700); }
.translate .arrow { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.translate .arrow svg { width: 22px; height: 22px; }
.plain-english { margin-top: 26px; display: flex; gap: 20px; align-items: flex-start; padding: 28px 30px; border-radius: 28px; background: var(--navy); color: rgba(255, 255, 255, .82); font-size: 19px; line-height: 1.6; }
.plain-english .mascot { width: 64px; flex: none; }
.plain-english b { color: #fff; }
.plain-english .lbl { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5fe0b0; margin-bottom: 6px; }

/* Safe to spend */
.big-card { position: relative; overflow: hidden; border-radius: 34px; padding: 34px; color: #fff; background: linear-gradient(155deg, #11a374, #06573f); box-shadow: 0 40px 80px -30px rgba(6, 87, 63, .6); isolation: isolate; }
.big-card::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent); }
.big-card small { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.big-card .num { margin-top: 10px; font: 700 clamp(58px, 7vw, 88px)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.big-card .sub { margin-top: 10px; font-size: 16px; opacity: .88; }
.math { margin-top: 16px; background: #fff; border-radius: 26px; padding: 6px 24px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.math .ln { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--text); font-variant-numeric: tabular-nums; }
.math .ln:first-child { border-top: 0; }
.math .ln small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.math .ln b { color: var(--navy); white-space: nowrap; }
.math .ln.total { font-weight: 700; color: var(--navy); border-top: 2px solid var(--navy); }
.math .ln.total b { color: var(--brand-700); }

/* Money calendar */
.cal { width: 100%; max-width: 560px; background: #fff; border-radius: 28px; padding: 22px; box-shadow: var(--shadow-lg); }
.cal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.cal-head b { font: 700 19px/1 var(--display); color: var(--navy); }
.cal-head span { font-size: 13px; color: var(--muted); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.cal-grid .dow { padding-bottom: 4px; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.cal-grid .d { position: relative; min-height: 70px; display: flex; flex-direction: column; gap: 3px; padding: 6px; border-radius: 12px; background: var(--paper); font-size: 11px; min-width: 0; }
.cal-grid .d.blank { background: transparent; }
.cal-grid .d .n { font-weight: 700; color: var(--navy); font-size: 12px; }
.cal-grid .d .ev { font-size: 10px; font-weight: 700; border-radius: 6px; padding: 2px 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev.in { background: var(--brand-100); color: var(--brand-700); }
.ev.out { background: #fdeceb; color: #c2403a; }
.cal-grid .d .bal { margin-top: auto; font-size: 10.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.cal-grid .d.low { background: #fff4e3; box-shadow: inset 0 0 0 2px #f0a43a; }
.cal-grid .d.low .bal { color: #a8610a; }
.cal-grid .d.today { box-shadow: inset 0 0 0 2px var(--navy); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.cal-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* Payday check-in */
.checkin { width: 100%; max-width: 420px; display: grid; gap: 12px; }
.checkin .card { background: #fff; border-radius: 24px; padding: 20px; box-shadow: var(--shadow); }
.checkin .card .t { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); font-size: 16px; }
.checkin .card .t i { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); }
.checkin .card .t i svg { width: 18px; height: 18px; }
.checkin .card p { margin-top: 10px; font-size: 15px; color: var(--text); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pill-row span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--navy); background: #fff; }
.pill-row span.on { background: var(--brand-600); color: #fff; box-shadow: none; }

/* Debt payoff */
.debts { width: 100%; max-width: 470px; background: #fff; border-radius: 28px; padding: 22px 24px; box-shadow: var(--shadow-lg); }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper-2); }
.seg span { flex: 1; text-align: center; font-size: 12.5px; font-weight: 600; padding: 8px 6px; border-radius: 999px; color: var(--muted); white-space: nowrap; }
.seg span.on { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.debt { padding: 16px 0; border-bottom: 1px solid var(--line); }
.debt .top { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--navy); font-size: 15.5px; }
.debt .top span { font-variant-numeric: tabular-nums; }
.bar { height: 10px; margin: 10px 0 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, var(--brand-600), #4fd8a5); transition: width 1.6s var(--ease) .2s; }
.js [data-reveal]:not(.is-in) .bar i { width: 0; }
.debt .meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.tip { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border-radius: 18px; background: var(--brand-50); font-size: 14px; line-height: 1.5; color: var(--navy); }
.tip .mascot { width: 34px; flex: none; }

/* Savings funds */
.funds { width: 100%; max-width: 440px; display: grid; gap: 12px; }
.fund { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: center; background: #fff; border-radius: 22px; padding: 16px 18px; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.fund .ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; }
.fund .ic svg { width: 21px; height: 21px; }
.fund .top { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; font-weight: 700; color: var(--navy); }
.fund .top span { font-weight: 600; color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.fund .bar { margin: 8px 0 0; height: 8px; }

/* How it works */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { position: relative; overflow: hidden; background: #fff; border-radius: 30px; padding: 30px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.step .n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--navy); color: #fff; font: 700 20px/1 var(--display); }
.step h3 { margin-top: 22px; font-size: 22px; letter-spacing: -.018em; line-height: 1.2; }
.step p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.step .files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.step .files span { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 10px; background: var(--paper); font: 600 12.5px/1 ui-monospace, Menlo, Consolas, monospace; color: var(--navy); }
.step .files svg { width: 14px; height: 14px; color: var(--brand-700); }

/* App download band */
.app-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 34px 40px; border-radius: 32px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.app-band .l { display: flex; align-items: center; gap: 20px; }
.app-band img { width: 68px; height: 68px; border-radius: 18px; box-shadow: var(--shadow-sm); }
.app-band h2 { font-size: 26px; letter-spacing: -.02em; }
.app-band p { margin-top: 4px; color: var(--muted); font-size: 15px; }

/* Message and 404 pages */
.msg-page { min-height: calc(100vh - 160px); display: grid; place-items: center; padding: 140px 0 60px; }
.msg-card { width: 100%; max-width: 560px; margin: 0 auto; background: #fff; border-radius: 32px; padding: 40px; box-shadow: var(--shadow-lg); text-align: center; }
.msg-card .mascot { width: 92px; margin: 0 auto 22px; }
.msg-card h1 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.025em; line-height: 1.1; }
.msg-card p { margin-top: 14px; font-size: 17px; color: var(--muted); }
.msg-card .hero-actions { justify-content: center; margin-top: 28px; }
.footer.slim { margin-top: 0; padding-top: 50px; }

@media (max-width: 1100px) {
  .float-card.fa { left: -10px; }
  .float-card.fb { right: -10px; }
}
@media (max-width: 960px) {
  .translate { grid-template-columns: minmax(0, 1fr); }
  .translate .arrow { justify-self: center; transform: rotate(90deg); }
  .answers, .steps3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .phone { width: 300px; height: 600px; border-radius: 48px; }
  .phone .screen { border-radius: 38px; }
  .float-card { display: none; }
  .q-chip { font-size: 15px; padding: 12px 18px; }
  .cal { padding: 14px; border-radius: 22px; }
  .cal-grid { gap: 3px; }
  .cal-grid .d { min-height: 46px; padding: 4px; border-radius: 8px; }
  .cal-grid .d .ev { height: 5px; padding: 0; font-size: 0; }
  .cal-grid .d .bal { display: none; }
  .plain-english { flex-direction: column; padding: 24px; font-size: 17px; }
  .app-band { padding: 26px; }
  .msg-card { padding: 30px 22px; }
  .seg span { font-size: 11px; padding: 8px 3px; }
  .big-card { padding: 26px; }
  .math { padding: 4px 18px; }
}
.tile .say svg { width: 16px; height: 16px; flex: none; }
.tile .say { align-items: center; gap: 6px; }
