/* Monurus landing site: a cool grey page and white cards, deep teal (#0f766e) for actions and accents; in the dark
   theme teal-black with bright mint (#5eead4). Montserrat. Clear borders between every section. Motion (site.js,
   with GSAP and Lenis) is added on top of a page that's complete without it. Same tokens as the app
   (web/css/app.css); the design system is in DESIGN.md. Light unless dark is picked with the header's theme
   button (theme.js sets data-theme="dark"), whatever the device is set to (23 Oct 2026). */
@font-face {
  font-family: "Montserrat"; src: url("/fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  color-scheme: light;
  --page: #f0f4f4;
  --page-2: #e7eeee;         /* alternate sections */
  --surface: #ffffff;
  --surface-2: #f3f7f7;
  --text: #142221;
  --text-2: #3e504e;
  --muted: #5b6d6b;
  --border: #dbe4e3;
  --border-strong: #c3d0cf;
  --brand: #0f766e;
  --brand-hover: #0d655e;
  --on-brand: #ffffff;
  --accent: #0f766e;
  --accent-ink: #0b625b;
  --accent-soft: #d3ebe7;
  --soft-ink: #0f766e;       /* the second half of a headline */
  --mint: #5eead4;
  --glow: rgba(94, 234, 212, 0.26);
  --heat: #0f766e;           /* the calendar preview: spending per day */
  --tile-1: #dcf1ee; --tile-1-ink: #0f6e66;
  --tile-2: #f8e5dc; --tile-2-ink: #9c4b26;
  --tile-3: #e0e9f4; --tile-3-ink: #2f5684;
  --tile-4: #f3ebd7; --tile-4-ink: #87620c;
  --s1: #3b6aa8; --s2: #c2603a; --s3: #5a55a0; --s4: #6f8a26; --s5: #8c4a86; --s6: #b5850f; --s7: #008a7e; --s8: #b03a3a;
  --good: #23683b; --warning: #e0a106; --critical: #b42318;
  --band: #0c3a36;            /* the privacy band and the Pro column */
  --band-ink: #eaf6f4; --band-muted: #a9c9c5; --band-rule: rgba(234, 246, 244, 0.14);
  --shadow: 0 1px 2px rgba(16, 42, 40, 0.05), 0 4px 12px -4px rgba(16, 42, 40, 0.08);
  --shadow-lg: 0 6px 14px rgba(16, 42, 40, 0.06), 0 36px 70px -28px rgba(16, 42, 40, 0.32);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #091312; --page-2: #0d1a1a; --surface: #101c1f; --surface-2: #152428;
  --text: #edf5f4; --text-2: #bccbc9; --muted: #8ea19f;
  --border: #213538; --border-strong: #31494d;
  --brand: #5eead4; --brand-hover: #86efdd; --on-brand: #062420;
  --accent: #5eead4; --accent-ink: #86efdd; --accent-soft: #143a37;
  --soft-ink: #5eead4; --glow: rgba(94, 234, 212, 0.12); --heat: #2a9d90;
  --tile-1: #113533; --tile-1-ink: #7fe3d3; --tile-2: #3a2620; --tile-2-ink: #eda07c;
  --tile-3: #1b2b3d; --tile-3-ink: #9dbfe8; --tile-4: #332e1d; --tile-4-ink: #e2c068;
  --s1: #5a8fd0; --s2: #d9764a; --s3: #8682cf; --s4: #7f9f30; --s5: #b16fab; --s6: #b88b1e; --s7: #1fa196; --s8: #d05a5a;
  --good: #79cf95; --warning: #f0b429; --critical: #f2958a;
  --band: #0c2826;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px -4px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 6px 14px rgba(0, 0, 0, 0.45), 0 36px 70px -28px rgba(0, 0, 0, 0.8);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-top: 84px; }
html:not(.lenis) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:not(.lenis) { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--text); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
::selection { background: var(--accent-soft); color: var(--text); }
input { caret-color: var(--accent); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }
.i { width: 1em; height: 1em; fill: currentColor; flex: none; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ----- header ----- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--page) 94%, transparent); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.logo img { width: 36px; height: 36px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.top nav a { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .top nav a:not(.btn):hover { color: var(--text); } }
.top nav .lang { font-size: 13.5px; font-weight: 700; border: 1px solid var(--border-strong); border-radius: 999px; padding: 4px 11px; }
@media (max-width: 980px) { .top nav .hide-sm { display: none; } .top nav { gap: 12px; } }
.top nav .btn .short { display: none; }
/* the light/dark button (#TODO theme: commented out in the pages for now): a moon to go dark, a sun to come back */
.theme-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; padding: 0; border: 1px solid var(--border-strong);
  border-radius: 50%; background: var(--surface); color: var(--text-2); cursor: pointer; touch-action: manipulation;
  transition: background-color 140ms, color 140ms, transform 120ms var(--ease-out); }
.theme-btn::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; }  /* a finger's reach: 4 px past the edge, 42 px when it's drawn at 34 */
.theme-btn .i { width: 19px; height: 19px; }
.theme-btn .sun, :root[data-theme="dark"] .theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
@media (hover: hover) and (pointer: fine) { .theme-btn:hover { background: var(--surface-2); color: var(--text); } }
.theme-btn:active { transform: scale(0.94); }
@media (max-width: 560px) {
  .top .wrap { gap: 10px; height: 64px; }
  .logo-word { display: none; }
  .top nav .lang { padding: 6px 10px; font-size: 13px; }  /* the language stays on phones, as a small pill */
  .theme-btn { width: 36px; height: 36px; }
  .theme-btn .i { width: 17px; height: 17px; }
  .top nav .btn { padding: 9px 13px; font-size: 14px; }
  .top nav .btn .long { display: none; }  /* "Sertai senarai menunggu" is too long for a phone */
  .top nav .btn .short { display: inline; }
}
@media (max-width: 400px) {  /* the language pill, Log in and the waitlist button side by side on a small phone */
  .top .wrap, .top nav { gap: 8px; }
  .top nav .btn { padding: 9px 11px; font-size: 13.5px; }
  .top nav .lang { padding: 6px 8px; }
  /* and the theme button too, when it's back: a little closer together, so it all still fits a 360 px phone */
  .top .wrap:has(.theme-btn), .top nav:has(.theme-btn) { gap: 6px; }
  .top nav:has(.theme-btn) .btn { padding: 9px 9px; }
  .top nav:has(.theme-btn) .lang { padding: 6px 6px; }
  .theme-btn { width: 34px; height: 34px; }
}

/* ----- buttons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; min-height: 48px;
  border: 1px solid var(--brand); border-radius: 999px; background: var(--brand); color: var(--on-brand); font: 650 15px/1.2 var(--font);
  text-decoration: none; cursor: pointer; white-space: nowrap; touch-action: manipulation;
  transition: background-color 140ms, border-color 140ms, transform 120ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); } }
.btn:active:not([disabled]) { transform: scale(0.97); }
.btn.small { padding: 8px 17px; min-height: 40px; font-size: 14.5px; }
.btn.ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
@media (hover: hover) and (pointer: fine) { .btn.ghost:hover { background: var(--surface-2); } }
.btn[disabled] { opacity: .6; cursor: progress; }
.top nav .btn { color: var(--on-brand); }
.top nav .btn.ghost { color: var(--text); }
.btn .i { width: 18px; height: 18px; }

/* ----- sections: each on its own band, ruled off from the next ----- */
section { padding: 108px 0; border-top: 1px solid var(--border); }
section.alt { background: var(--page-2); }
.head { max-width: 760px; }
.head.center { margin: 0 auto; text-align: center; }
section h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; }
section h2 .soft { color: var(--soft-ink); }
.intro { color: var(--text-2); font-size: 17.5px; margin-top: 18px; max-width: 40em; }
.head.center .intro { margin-left: auto; margin-right: auto; }
@media (max-width: 760px) { section { padding: 76px 0; } .intro { font-size: 17.5px; } }

/* ----- hero: the offer and the waitlist; the app sorting a statement, with its tools floating around it ----- */
.hero { padding: 64px 0 96px; position: relative; overflow: hidden; border-top: 0; }
.hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 140%; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow), transparent); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5vw, 70px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.0; }
.hero h1 .soft { color: var(--soft-ink); }
.lead { font-size: clamp(17px, 1.35vw, 18.5px); color: var(--text-2); max-width: 32em; margin-top: 24px; }
.hero-form { margin-top: 32px; max-width: 540px; display: grid; gap: 10px; }
.hero-form .inline { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); }
.hero-form .inline:focus-within { border-color: var(--accent); }
.hero-form input[type=email] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 16px; font: 16px var(--font); color: var(--text); }
.hero-form input[type=email]:focus { outline: 0; }
.hero-form .consent { font-size: 14px; margin-top: 4px; }
.hero-done { margin-top: 32px; max-width: 540px; display: grid; grid-template-columns: 42px 1fr; gap: 4px 14px; align-items: start;
  padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.hero-done .i { width: 30px; height: 30px; color: var(--accent); grid-row: span 2; margin-top: 2px; }
.hero-done h3 { font-size: 18px; }
.hero-done p { color: var(--text-2); font-size: 15.5px; }
/* sign up free (23 Oct 2026, in place of the waitlist's form): two buttons, a note, and the offer while one runs */
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-note { margin-top: 14px; color: var(--muted); font-size: 15px; font-weight: 500; }
.hero-offer, .ref-note { margin-top: 18px; max-width: 540px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); font-size: 15px; }
.hero-offer .i, .ref-note .i { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.cta-row { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.presale-head .cta-row { justify-content: flex-start; }
@media (max-width: 1000px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 56px; } .hero { padding: 40px 0 72px; } }
@media (max-width: 560px) {
  .hero-form .inline { flex-direction: column; border-radius: 18px; }
  .hero-form .btn { width: 100%; }
}

/* the scene: the app's statement card in the middle, its tools as chips around it */
.scene { position: relative; padding: 52px 34px 70px; }
.app-card { position: relative; z-index: 2; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.app-card-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.app-card-head .tile { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--tile-1); color: var(--tile-1-ink); flex: none; }
.app-card-head .tile .i { width: 19px; height: 19px; }
.app-card-head strong { font-size: 15.5px; }
.app-card-head small { display: block; color: var(--muted); font-size: 13px; font-weight: 500; }
.file-chip { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-2); white-space: nowrap; }
.file-chip .i { width: 15px; height: 15px; color: var(--s8); }
.rows { list-style: none; margin: 0; padding: 6px 20px; }
.rows li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.rows li:last-child { border-bottom: 0; }
.rows .d { color: var(--muted); font-size: 13px; font-weight: 600; }
.rows .n { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rows .a { font-weight: 650; text-align: right; }
.rows .a.in { color: var(--good); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; padding: 3px 10px; border-radius: 999px; white-space: nowrap;
  background: color-mix(in srgb, var(--c) 13%, var(--surface)); color: color-mix(in srgb, var(--c) 78%, var(--text)); }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.app-card-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-top: 1px solid var(--border); background: var(--surface-2); }
.app-card-foot span { color: var(--text-2); font-weight: 600; font-size: 14.5px; }
.app-card-foot strong { font-size: 20px; letter-spacing: -0.02em; }
/* the floating tools (luxana-style), each a small card with its icon */
.float { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 650; white-space: nowrap; }
.float .tile { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--tile-1); color: var(--tile-1-ink); }
.float .tile .i { width: 17px; height: 17px; }
.float.t2 .tile { background: var(--tile-2); color: var(--tile-2-ink); }
.float.t3 .tile { background: var(--tile-3); color: var(--tile-3-ink); }
.float.t4 .tile { background: var(--tile-4); color: var(--tile-4-ink); }
.f1 { top: 0; left: 2%; }
.f2 { top: 6px; right: 0; }
.f3 { top: 0; left: 40%; }
.f4 { bottom: 26px; left: 4%; }
.f5 { bottom: 34px; right: 0; }
.scene-note { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; color: var(--muted); font-size: 13.5px; }
@media (max-width: 620px) {
  .scene { padding: 40px 0 64px; }
  .float { font-size: 12.5px; padding: 6px 10px 6px 6px; }
  .float .tile { width: 26px; height: 26px; }
  .f3 { display: none; }
  .f1 { left: 0; } .f2 { right: 0; } .f4 { left: 0; } .f5 { right: 0; }
  .rows li { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .rows li .tag { grid-column: 2; justify-self: start; margin-top: -6px; }
  .rows li .a { grid-row: 1; grid-column: 3; }
  .file-chip { display: none; }
}

/* ----- the banks strip: names scrolling past (a LogoLoop, after React Bits) ----- */
.banks-strip { padding: 34px 0; border-top: 1px solid var(--border); background: var(--surface); }
.banks-strip p { text-align: center; font-size: 14.5px; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.loop { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.loop-track { display: flex; width: max-content; gap: 14px; padding-right: 14px; }
.loop-track span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--border); border-radius: 999px; background: var(--page);
  font-weight: 650; font-size: 15px; color: var(--text-2); white-space: nowrap; }
.loop-track span .i { width: 17px; height: 17px; color: var(--accent); }

/* ----- how it works: three steps on one line that fills as you scroll ----- */
.steps-box { position: relative; margin-top: 56px; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps-line { position: absolute; left: 28px; right: 28px; top: 27px; height: 3px; border-radius: 3px; background: var(--border); overflow: hidden; }
.steps-line i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.step-no { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 800; position: relative; z-index: 1;
  background: var(--surface); border: 2px solid var(--accent); color: var(--accent-ink); }
.steps h3 { font-size: 19px; font-weight: 750; letter-spacing: -0.015em; margin-top: 8px; }
.steps p { color: var(--text-2); }
@media (max-width: 860px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-left: 0; }
  .steps-line { left: 27px; right: auto; top: 28px; bottom: 28px; width: 3px; height: auto; }
  .steps-line i { transform-origin: top; }
  .steps li { padding-left: 78px; }
  .step-no { position: absolute; left: 0; top: -6px; }
  .steps h3 { margin-top: 6px; }
}

/* ----- the tour: one tool at a time, picked from the tabs (luxana-style) ----- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 40px auto 0; padding: 6px; width: fit-content; max-width: 100%;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); }
.tabs button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--text-2); font: 650 15px var(--font);
  padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background-color 160ms, color 160ms; }
.tabs button .i { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .tabs button:hover { background: var(--surface-2); color: var(--text); } }
.tabs button[aria-selected="true"] { background: var(--brand); color: var(--on-brand); }
.tour { margin-top: 28px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 420px; }
.panel-text { padding: 44px 40px; display: flex; flex-direction: column; gap: 16px; border-right: 1px solid var(--border); }
.panel-text h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; }
.panel-text p { color: var(--text-2); }
.panel-text ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.panel-text li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--text-2); font-size: 15px; }
.panel-text li .i { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }
.panel-show { padding: 36px; background: var(--page-2); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
@media (max-width: 900px) { .panel { grid-template-columns: minmax(0, 1fr); } .panel-text { border-right: 0; border-bottom: 1px solid var(--border); padding: 30px 24px; } .panel-show { padding: 24px; } }
@media (max-width: 620px) { .tabs { border-radius: 18px; } .tabs button { padding: 9px 13px; font-size: 14px; } }
/* the previews inside the tour: small copies of the app's own parts (made-up figures) */
.mini { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.mini-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini .k { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.mini .v { font-size: 19px; font-weight: 750; letter-spacing: -0.02em; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding-top: 10px; }
.bars div { flex: 1; display: flex; align-items: flex-end; gap: 4px; height: 100%; }
.bars i { flex: 1; border-radius: 5px 5px 0 0; background: var(--s1); height: var(--h); transform-origin: bottom; }
.bars i + i { background: var(--s2); }
.bars-x { display: flex; gap: 10px; margin-top: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.bars-x span { flex: 1; text-align: center; }
.bars-key { display: flex; gap: 16px; font-size: 13px; color: var(--text-2); font-weight: 600; }
.bars-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.meter-row { display: grid; gap: 7px; }
.meter-row + .meter-row { margin-top: 14px; }
.meter-row .top { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; font-weight: 600; }
.meter-row .top small { color: var(--muted); font-weight: 600; font-size: 13.5px; }
.track { height: 9px; border-radius: 5px; background: var(--surface-2); overflow: hidden; }
.track i { display: block; height: 100%; width: var(--w); border-radius: 5px; background: var(--accent); transform-origin: left; }
.track i.warn { background: var(--warning); }
.track i.over { background: var(--critical); }
.list-mini { list-style: none; margin: 0; padding: 0; }
.list-mini li { display: grid; grid-template-columns: 38px 1fr auto; gap: 2px 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border); }
.list-mini li:last-child { border-bottom: 0; }
.list-mini .tile { grid-row: span 2; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--tile-3); color: var(--tile-3-ink); }
.list-mini .tile .i { width: 19px; height: 19px; }
.list-mini b { font-size: 15px; }
.list-mini small { color: var(--muted); font-size: 13px; grid-column: 2; }
.list-mini .amt { grid-row: span 2; font-weight: 700; }
.bubbles { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.bubbles p { padding: 11px 15px; border-radius: 16px; max-width: 86%; line-height: 1.45; }
.bubbles .q { align-self: flex-end; background: var(--brand); color: var(--on-brand); border-bottom-right-radius: 4px; }
.bubbles .a { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.cal b { font-size: 11.5px; color: var(--muted); text-align: center; font-weight: 650; }
.cal span { aspect-ratio: 1.15; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font-size: 12px; font-weight: 650; padding: 4px 6px; color: var(--text-2); position: relative; }
.cal span.s1 { background: color-mix(in srgb, var(--heat) 14%, var(--surface)); }
.cal span.s2 { background: color-mix(in srgb, var(--heat) 30%, var(--surface)); }
.cal span.s3 { background: color-mix(in srgb, var(--heat) 50%, var(--surface)); color: var(--text); }
.cal span.bill::after, .cal span.pay::after { content: ""; position: absolute; right: 5px; bottom: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--warning); }
.cal span.pay::after { background: var(--good); }
.cal-key { display: flex; gap: 16px; font-size: 13px; color: var(--text-2); margin-top: 10px; font-weight: 600; flex-wrap: wrap; }
.cal-key i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.show-note { font-size: 12.5px; color: var(--muted); text-align: right; }

/* ----- privacy: the deep teal band ----- */
.band { background: var(--band); color: var(--band-ink); border-top: 0; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -220px; top: -220px; width: 700px; height: 700px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 15px, var(--band-rule) 15px 16px); opacity: 0.55; }
.band .wrap { position: relative; z-index: 1; }
.band h2 .soft { color: var(--mint); }
.band .intro { color: var(--band-muted); }
.band a { color: var(--band-ink); }
.band :focus-visible { outline-color: var(--mint); }
.locks { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.locks li { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--band-rule); border-radius: 18px; background: rgba(255, 255, 255, 0.04); }
.locks .tile { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(94, 234, 212, 0.14); color: var(--mint); }
.locks .tile .i { width: 23px; height: 23px; }
.locks b { font-size: 16.5px; }
.locks span { color: var(--band-muted); font-size: 14.5px; }
@media (max-width: 960px) { .locks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .locks { grid-template-columns: minmax(0, 1fr); } }

/* ----- pricing: monthly or yearly, and the two plans side by side, row by row ----- */
.billing { display: flex; justify-content: center; margin-top: 34px; }
.switch { display: inline-flex; padding: 5px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); }
.switch button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font: 650 15px var(--font); color: var(--text-2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.switch button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); }
.switch .save { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.switch button[aria-pressed="true"] .save { background: rgba(255, 255, 255, 0.2); color: inherit; }
/* the comparison: a real table; the Pro column is the deep teal one */
.compare-wrap { max-width: 980px; margin: 32px auto 0; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.compare col.feature { width: 31%; }
.compare th, .compare td { padding: 15px 22px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--border); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody th { font-weight: 650; font-size: 15px; color: var(--text); }
.compare tbody th small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); margin-top: 2px; }
.compare td { font-size: 15px; color: var(--text-2); }
.compare td strong { color: var(--text); font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.compare td .yes, .compare td .no { display: inline-flex; align-items: center; gap: 8px; }
.compare td .yes .i { width: 20px; height: 20px; color: var(--good); }
.compare td .no { color: var(--muted); }
.compare td .no .i { width: 18px; height: 18px; color: var(--critical); }
.compare td.pro { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); border-left: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border)); }
.compare td.pro strong { color: var(--accent-ink); }
/* the Family plan (dev phase 2, step 16): its column in the Family tag's sand */
.compare td.family { background: color-mix(in srgb, var(--s6) 8%, var(--surface)); border-left: 1px solid color-mix(in srgb, var(--s6) 30%, var(--border)); }
.compare td.family strong { color: var(--tile-4-ink); }
/* the plans' heads: name, price, who it's for */
.compare thead th { vertical-align: bottom; padding: 26px 22px 22px; }  /* bottom: the plans' names and prices line up under the Pro badge */
.compare thead th.corner { vertical-align: bottom; font-size: 14px; font-weight: 650; color: var(--muted); }
.plan-head { display: flex; flex-direction: column; gap: 4px; }
.plan-head h3 { font-size: 20px; font-weight: 750; }
.plan-head .for { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 2px; flex-wrap: wrap; }
.price strong { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price small { color: var(--muted); font-size: 15px; font-weight: 600; }
.price-note { color: var(--text-2); font-size: 14px; font-weight: 600; min-height: 1.5em; }
.compare thead th.pro { background: var(--band); color: var(--band-ink); border-bottom-color: var(--band-rule); position: relative; }
.compare thead th.pro .for, .compare thead th.pro .price small, .compare thead th.pro .price-note { color: var(--band-muted); }
.compare thead th.family { background: var(--tile-4); color: var(--tile-4-ink); }
.compare thead th.family .for, .compare thead th.family .price small, .compare thead th.family .price-note { color: var(--tile-4-ink); opacity: 0.85; }
.plan-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 12.5px; font-weight: 700;
  padding: 4px 11px; border-radius: 999px; background: var(--mint); color: #062420; }
.plan-badge .i { width: 15px; height: 15px; }
.compare-note { margin-top: 14px; text-align: center; color: var(--muted); font-size: 14px; }
.offer { margin: 22px auto 0; max-width: 980px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); font-size: 16px; }
.offer .i { width: 24px; height: 24px; color: var(--accent); margin-top: 1px; flex: none; }
.offer strong { color: var(--text); }
/* phones: each row's name across the top, the three plans side by side under it */
@media (max-width: 700px) {
  .compare, .compare thead, .compare tbody { display: block; }
  .compare colgroup, .compare thead th.corner { display: none; }
  .compare tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compare th, .compare td { padding: 10px 9px; }
  .compare thead th { padding: 16px 9px 14px; }
  .compare tbody th { grid-column: 1 / -1; padding: 12px 12px 4px; border-bottom: 0; font-size: 14px;
    background: color-mix(in srgb, var(--text) 3%, var(--surface)); }
  .compare tbody th small { font-size: 12px; }
  .compare tbody td { padding-top: 6px; }
  .compare td { font-size: 13px; }
  .compare td strong { font-size: 15px; }
  .compare td .yes, .compare td .no { gap: 5px; align-items: flex-start; }
  .compare td .yes .i, .compare td .no .i { flex: none; margin-top: 1px; }
  .plan-head h3 { font-size: 16.5px; }
  .plan-head .for, .compare thead th .plan-badge { display: none; }
  .price { margin-top: 6px; gap: 2px 6px; }
  .price strong { font-size: 24px; }
  .price small, .price-note { font-size: 12px; }
  .compare { border-radius: 16px; }
}

/* ----- coming soon: what's planned, and which plan each comes with ----- */
.soon { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; }
.soon li { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.soon-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.soon .tile { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--tile-1); color: var(--tile-1-ink); }
.soon .tile .i { width: 23px; height: 23px; }
.soon li:nth-child(3n + 2) .tile { background: var(--tile-3); color: var(--tile-3-ink); }
.soon li:nth-child(3n) .tile { background: var(--tile-4); color: var(--tile-4-ink); }
.soon h3 { font-size: 17px; font-weight: 750; letter-spacing: -0.01em; }
.soon p { color: var(--text-2); font-size: 15px; }
.soon .plans-tag { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.tag-plan { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid var(--border-strong); color: var(--text-2); }
.tag-plan.all { background: var(--accent-soft); border-color: transparent; color: var(--accent-ink); }
.tag-plan.pro { background: var(--brand); border-color: transparent; color: var(--on-brand); }
.tag-plan.family { background: var(--tile-4); border-color: transparent; color: var(--tile-4-ink); }
.soon-note { margin-top: 18px; text-align: center; color: var(--muted); font-size: 14px; }
.soon:has(> li:only-child) { grid-template-columns: minmax(0, 420px); justify-content: center; }  /* one card: in the middle */
@media (max-width: 960px) { .soon { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .soon { grid-template-columns: minmax(0, 1fr); } }

/* ----- questions: every answer on show, each in its own bordered box ----- */
.faq { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.faq div { padding: 22px 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.faq h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.faq p { color: var(--text-2); font-size: 15px; }
@media (max-width: 760px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* ----- the waitlist ----- */
.join { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 32px; box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .join { grid-template-columns: minmax(0, 1fr); gap: 32px; } .form-card { padding: 22px; } }
form { display: grid; gap: 20px; }
label.field { display: grid; gap: 7px; font-weight: 650; font-size: 15px; }
label.field small, legend small { font-weight: 500; color: var(--muted); }
.form-card input[type=email], .form-card input[type=text] { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); font: 16px var(--font); transition: border-color 140ms, box-shadow 140ms; }
.form-card input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-weight: 650; font-size: 15px; margin-bottom: 4px; padding: 0; }
.banks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bank { position: relative; }
.bank input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bank span { display: inline-block; border: 1px solid var(--border-strong); border-radius: 999px; padding: 7px 14px; font-size: 14.5px; font-weight: 600;
  background: var(--surface); user-select: none; transition: background-color 140ms, border-color 140ms; }
.bank input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.bank input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 2px; }
label.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; color: var(--text-2); align-items: start; }
label.consent input { width: 19px; height: 19px; margin: 3px 0 0; accent-color: var(--brand); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.error { color: var(--critical); font-weight: 650; font-size: 15px; }
.error:empty { display: none; }
.done { padding: 8px 0; display: grid; gap: 8px; }
.done .i { width: 38px; height: 38px; color: var(--accent); }
.done h3 { font-size: 23px; font-weight: 750; }
.done p { color: var(--text-2); }

/* a message from a link in an email (#confirm=…, #leave=…) */
.notice { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 16px; background: rgba(20, 18, 14, .55); transition: opacity 200ms var(--ease-out); }
@starting-style { .notice { opacity: 0; } }
.notice > div { background: var(--surface); border-radius: 20px; padding: 32px; max-width: 460px; width: 100%; text-align: center; box-shadow: var(--shadow-lg); }
.notice .i { width: 40px; height: 40px; color: var(--accent); margin: 0 auto; display: block; }
.notice .i.warn { color: var(--critical); }
.notice h3 { font-size: 22px; font-weight: 750; margin: 10px 0 8px; }
.notice p { color: var(--text-2); margin-bottom: 22px; }
.notice .ctas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* legal pages: set for reading */
.legal { max-width: 780px; padding-block: 56px 88px; }
/* the founding-member page (presale.html) */
.presale-page { padding-block: 56px 88px; }
.presale-head { max-width: 760px; margin-bottom: 40px; }
.presale-head h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin: 8px 0 14px; }
.presale-kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.presale-until { margin-top: 18px; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.presale-fine { color: var(--muted); font-size: 13.5px; }
@media (max-width: 860px) { .presale-page .join { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.legal h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 10px; }
.legal .updated { font-size: 14.5px; color: var(--muted); margin-bottom: 36px; font-weight: 600; }
.legal h2 { font-size: 21px; font-weight: 750; letter-spacing: -0.015em; margin: 44px 0 12px; padding-top: 20px; border-top: 1px solid var(--border); }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 14px; }
.legal ul, .legal ol { padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.legal strong { color: var(--text); }

/* footer */
footer { border-top: 1px solid var(--border); background: var(--surface); padding: 40px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer .logo { font-size: 18px; }
footer .logo img { width: 28px; height: 28px; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-left: auto; }
footer a { color: var(--text-2); text-decoration: none; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { footer a:hover { color: var(--text); text-decoration: underline; } }
@media (max-width: 620px) { footer nav { margin-left: 0; width: 100%; } }
/* the business's address and phone (the e-commerce rules, todo_list.md L3 b): a line of its own, under the rest */
footer .footer-contact { order: 1; flex-basis: 100%; font-size: 14px; line-height: 1.5; }

/* motion: what site.js animates starts hidden only while the script runs (boot.js sets html.motion, and takes it
   away again if the animation library doesn't arrive); no script, or reduced motion, shows everything as it is */
html.motion [data-reveal] { opacity: 0; }
html.motion .hero h1 { visibility: hidden; }
/* without the loop's motion (reduced motion, no script), the bank names simply wrap */
html:not(.motion) .loop { -webkit-mask-image: none; mask-image: none; }
html:not(.motion) .loop-track { flex-wrap: wrap; justify-content: center; width: auto; padding: 0 20px; }

/* ----- phones: a size smaller and closer together, so a section isn't a whole screen of its own (11 Oct 2026) ----- */
@media (max-width: 620px) {
  body { font-size: 14.5px; line-height: 1.6; }
  section { padding: 52px 0; }
  section h2 { font-size: 25px; }
  .intro { font-size: 15px; margin-top: 12px; }
  .hero { padding: 28px 0 52px; }
  .hero h1 { font-size: 34px; }
  .lead { font-size: 15.5px; margin-top: 16px; }
  .hero-form { margin-top: 22px; }
  .hero-form .consent { font-size: 13px; }
  .hero-cta { margin-top: 22px; }
  .hero-cta .btn { flex: 1 1 140px; }
  .hero-note { font-size: 13.5px; margin-top: 10px; }
  .hero-offer, .ref-note { font-size: 13.5px; padding: 10px 12px; }
  .btn { min-height: 44px; padding: 11px 20px; font-size: 14.5px; }
  .banks-strip p { font-size: 13px; margin-bottom: 12px; }
  .loop-track span { padding: 7px 13px; font-size: 13.5px; }
  .steps-box { margin-top: 32px; }
  .steps { gap: 22px; }
  .steps li { padding-left: 60px; gap: 6px; }
  .step-no { width: 42px; height: 42px; font-size: 16px; }
  .steps-line { left: 20px; top: 21px; bottom: 21px; }
  .steps h3 { font-size: 16px; margin-top: 4px; }
  .steps p { font-size: 14px; }
  .tabs { margin-top: 24px; }
  .tabs button { padding: 7px 11px; font-size: 13px; gap: 6px; }
  .tabs button .i { width: 16px; height: 16px; }
  .panel-text { padding: 20px 18px; gap: 10px; }
  .panel-text h3 { font-size: 19px; }
  .panel-text p { font-size: 14px; }
  .panel-text li { font-size: 13.5px; grid-template-columns: 18px 1fr; gap: 8px; }
  .panel-show { padding: 16px; gap: 10px; }
  .mini .v { font-size: 16px; }
  .meter-row + .meter-row { margin-top: 10px; }
  .meter-row .top { font-size: 13px; }
  .meter-row .top small { font-size: 12px; }
  .list-mini b { font-size: 13.5px; }
  .list-mini small, .cal-key, .bars-key { font-size: 12px; }
  .bubbles { font-size: 13.5px; }
  .locks { margin-top: 28px; gap: 10px; }
  .locks li { padding: 16px 18px; gap: 6px; }
  .locks .tile { width: 38px; height: 38px; border-radius: 11px; }
  .locks .tile .i { width: 20px; height: 20px; }
  .locks b { font-size: 15px; }
  .locks span { font-size: 13.5px; }
  .billing { margin-top: 22px; }
  .switch button { padding: 8px 14px; font-size: 13.5px; }
  .compare th, .compare td { padding: 8px; line-height: 1.35; }
  .compare thead th { padding: 12px 8px 10px; }
  .compare tbody th { font-size: 12.5px; }
  .compare tbody th small { font-size: 11px; }
  .compare td { font-size: 12.5px; }
  .compare td strong { font-size: 14px; }
  .plan-head h3 { font-size: 15px; }
  .price strong { font-size: 22px; }
  .price small, .price-note { font-size: 11.5px; }
  .compare-note { font-size: 12.5px; }
  .offer { padding: 14px 16px; font-size: 14px; gap: 10px; }
  .soon { margin-top: 28px; gap: 10px; }
  .soon li { padding: 16px 18px; gap: 8px; }
  .soon .tile { width: 38px; height: 38px; border-radius: 11px; }
  .soon h3 { font-size: 15px; }
  .soon p { font-size: 13.5px; }
  .soon-note { font-size: 12.5px; }
  .faq { margin-top: 28px; gap: 10px; }
  .faq div { padding: 16px 18px; }
  .faq h3 { font-size: 15px; margin-bottom: 6px; }
  .faq p { font-size: 13.5px; }
  .form-card { padding: 18px; }
  label.field, legend, label.consent { font-size: 14px; }
  .bank span { padding: 6px 12px; font-size: 13.5px; }
  footer { font-size: 13.5px; padding: 28px 0 36px; }
}
