/* adelantemoney.com (written by hand; the pages are written by tools/site/build.py).
   Layout: a deep-navy horizon band where the forecast line runs into the future, then calm sections that alternate phone and text. */
@font-face { font-family: "Adelante Sans"; src: url("/fonts/adelante-sans-vf.woff2") format("woff2"); font-weight: 400 800; font-stretch: 100% 125%; font-display: swap; }
:root {
  color-scheme: light dark;
  --bg: #F4F5F8; --surface: #FFFFFF; --ink: #0C1222; --muted: #5B637C; --line: #DEE1EA; --hair: #ECEEF3;
  --brand: #1C2654; --accent: #2C3E8F; --ice: #2BB5F0; --ice-ink: #075A80; --ice-soft: #DDF3FD;
  --tint: #E8EBF4; --tint-ink: #1C2654; --frame: #0B1020; --shadow: rgba(12, 18, 34, .22);
  --hero: linear-gradient(165deg, #26336E, #1C2654 52%, #121A3B); --hero-ink: #FFFFFF; --hero-soft: #B9C6EE; --hero-line: #8FDCFF;
  --badge: #000000; --badge-ink: #FFFFFF; --cta: #FFFFFF; --cta-ink: #1C2654;
  --display: "Adelante Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Adelante Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut-l: max(16px, env(safe-area-inset-left, 0px)); --gut-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) { :root {
  --bg: #05060A; --surface: #0E1018; --ink: #E9ECF5; --muted: #8C92AC; --line: #1D2131; --hair: #171A27;
  --brand: #8FA6FF; --accent: #9DB1FF; --ice: #6FD3FF; --ice-ink: #8FE0FF; --ice-soft: #0D2A38;
  --tint: #151A33; --tint-ink: #A9B8F2; --frame: #000000; --shadow: rgba(0, 0, 0, .6);
  --hero: radial-gradient(90% 60% at 80% 8%, rgba(70, 92, 190, .5), transparent 65%), linear-gradient(165deg, #1D2758, #161D44 52%, #0E1330);
  --hero-ink: #FFFFFF; --hero-soft: #A9B6E6; --hero-line: #7FD8FF; --badge: #F4F5F8; --badge-ink: #05060A; --cta: #E9ECF5; --cta-ink: #0E1330; color-scheme: dark; } }


* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.band { padding-block: clamp(64px, 9vw, 112px); }
.eyebrow { font-size: 13px; font-weight: 640; letter-spacing: .09em; text-transform: uppercase; color: var(--ice-ink); }
.muted { color: var(--muted); }

/* top bar + hero share the navy band */
.hero-band { background: var(--hero); color: var(--hero-ink); overflow: hidden; position: relative; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
/* the wordmark: Mona Sans 118% width, weight 760, -3% tracking, beside the app icon itself (docs/brand.md) */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 760 23px/1 var(--display); font-stretch: 118%; letter-spacing: -.03em; }
.mark { width: 34px; height: 34px; display: block; flex: none; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); font-size: 15px; }
.nav a { text-decoration: none; color: var(--hero-soft); padding-block: 6px; margin-block: -6px; }
.nav a:hover { color: var(--hero-ink); }
/* Sign in is a quiet link; Get started is the one solid button (like Fruitful, Linear, Equals) */
.nav .signin { color: var(--hero-ink); margin-left: clamp(4px, 1.5vw, 16px); }
.nav .signup { background: var(--cta); color: var(--cta-ink); font-weight: 650; padding: 9px 18px; border-radius: 999px; white-space: nowrap; }
.nav .signup:hover { color: var(--cta-ink); opacity: .9; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(28px, 5vw, 56px) 0; padding-bottom: 8px; position: relative; }
.hero h1 { font-size: clamp(42px, 6.2vw, 76px); line-height: 1.02; font-weight: 720; font-stretch: 108%; letter-spacing: -.025em; }
.hero h1 em { font-style: normal; color: var(--hero-line); }
.hero .lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--hero-soft); max-width: 34ch; margin-top: 22px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.badge { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 14px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.28); }
.badge svg { width: 24px; height: 24px; flex: none; }
.badge small { display: block; font-size: 11px; line-height: 1.1; opacity: .85; }
.badge b { display: block; font-size: 19px; line-height: 1.1; font-weight: 600; letter-spacing: -.01em; }
.stage { position: relative; height: clamp(440px, 46vw, 560px); }
.phone { position: absolute; width: clamp(200px, 21vw, 262px); aspect-ratio: 1320 / 2868; border-radius: 15% / 7%; background: var(--frame); padding: 2.4%; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); }
.phone img { width: 100%; height: 100%; display: block; border-radius: 13% / 6%; object-fit: cover; }
.stage .front { left: 6%; top: 34px; z-index: 2; }
.stage .back { right: 4%; top: 0; transform: rotate(4deg); opacity: .96; }
.horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; pointer-events: none; }

/* three short points under the hero */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.point h2 { font-size: 19px; font-weight: 640; margin-top: 14px; }
.point p { color: var(--muted); margin-top: 6px; font-size: 16px; }
.ico { width: 40px; height: 40px; border-radius: 12px; background: var(--ice-soft); color: var(--ice-ink); display: grid; place-items: center; }
.ico svg { width: 22px; height: 22px; }

/* feature rows */
.rows { display: grid; gap: clamp(72px, 9vw, 120px); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.row:nth-child(even) .row-media { order: -1; }
.row h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; font-weight: 700; font-stretch: 104%; letter-spacing: -.02em; margin-top: 12px; }
.row p { color: var(--muted); font-size: 18px; max-width: 40ch; margin-top: 16px; }
.row-media { display: grid; place-items: center; padding-block: 36px; border-radius: 28px; background: var(--tint); }
.row-media .phone { position: static; width: clamp(210px, 22vw, 270px); }

/* AI section */
.ai { background: var(--hero); color: var(--hero-ink); }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.ai h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.05; font-weight: 720; font-stretch: 106%; letter-spacing: -.02em; margin-top: 12px; }
.ai .eyebrow { color: var(--hero-line); }
.ai p { color: var(--hero-soft); font-size: 18px; max-width: 40ch; margin-top: 16px; }
.ai ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; color: var(--hero-ink); }
.ai li { display: flex; gap: 12px; align-items: baseline; }
.ai li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hero-line); flex: none; transform: translateY(-2px); }
.tag { display: inline-block; font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(143, 220, 255, .14); color: var(--hero-line); margin-left: 10px; vertical-align: middle; }
.chat { display: grid; gap: 14px; max-width: 460px; justify-self: center; width: 100%; }
.bubble { padding: 16px 18px; border-radius: 20px; font-size: 16px; line-height: 1.5; }
.bubble.me { justify-self: end; max-width: 80%; background: #FFFFFF; color: #0C1222; border-bottom-right-radius: 6px; }
.bubble.ai-says { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #E9ECF5; border-bottom-left-radius: 6px; }
.bubble .from { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--hero-soft); margin-bottom: 8px; }
.bubble .from i { width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(150deg, #8FDCFF, #2BB5F0); display: inline-block; }
.bubble b { color: #8FDCFF; font-weight: 600; font-variant-numeric: tabular-nums; }
.chat-foot { font-size: 13px; color: var(--hero-soft); text-align: center; }

/* everywhere */
.places { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.place { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; }
.place svg { width: 18px; height: 18px; color: var(--ice-ink); }

/* plans */
.plans h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; margin-top: 12px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 6px; }
.plan.mid { border-color: var(--ice); box-shadow: 0 0 0 1px var(--ice), 0 24px 50px -30px var(--shadow); }
.plan h3 { font-size: 24px; font-weight: 700; font-stretch: 108%; }
.plan .who { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 11px; font-size: 16px; }
.plan li { display: flex; gap: 10px; align-items: baseline; }
.plan li::before { content: ""; width: 14px; height: 8px; border-left: 2px solid var(--ice-ink); border-bottom: 2px solid var(--ice-ink); transform: rotate(-45deg) translateY(-3px); flex: none; }
.plans .fine { margin-top: 20px; font-size: 15px; color: var(--muted); }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 72px); }
.faq h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; margin-top: 12px; }
details { border-bottom: 1px solid var(--line); padding-block: 20px; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; font-size: 18px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--muted); }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); margin-top: 12px; max-width: 62ch; }

/* closing + footer */
.closing { text-align: left; }
.closing-card { background: var(--hero); color: var(--hero-ink); border-radius: 28px; padding: clamp(36px, 6vw, 64px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.closing h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.05; font-weight: 720; letter-spacing: -.02em; }
.closing .badges { margin-top: 0; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 36px 48px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { text-decoration: none; display: inline-block; padding-block: 3px; margin-block: -3px; }
.foot a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .hero, .row, .ai-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .row:nth-child(even) .row-media { order: 0; }
  .stage { height: 470px; max-width: 460px; width: 100%; justify-self: center; }
  .points, .plan-grid { grid-template-columns: minmax(0, 1fr); }
  .nav .hide-sm { display: none; }
}
/* phones: the links get their own row under the lockup, so Sign in and Sign up always fit */
@media (max-width: 560px) {
  .top { flex-wrap: wrap; row-gap: 14px; padding-block: 18px 8px; }
  .nav { width: 100%; justify-content: flex-end; gap: 16px; }
  .nav .signin { margin-left: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.2,.8,.2,1) .2s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* store badges: plain labels until the stores' links are set in tools/site/build.py */
span.badge { cursor: default; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 9; }
.skip:focus { left: 16px; }

/* inner pages: a short navy band, then a column of text */
.page-head { padding-block: clamp(20px, 4vw, 40px) clamp(40px, 6vw, 64px); }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.04; font-weight: 720; font-stretch: 106%; letter-spacing: -.02em; margin-top: 10px; }
.page-head .eyebrow { color: var(--hero-line); }
.page-head .lead { color: var(--hero-soft); font-size: 18px; max-width: 52ch; margin-top: 14px; }
.page-head .lead a { color: var(--hero-ink); }
.doc { max-width: 760px; padding-block: clamp(40px, 6vw, 72px); }
.doc h2 { font-size: 24px; font-weight: 680; letter-spacing: -.01em; margin: 44px 0 12px; scroll-margin-top: 24px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 18px; font-weight: 640; margin: 28px 0 8px; }
.doc p, .doc ul, .doc ol { margin: 0 0 14px; }
.doc p, .doc li { color: var(--ink); }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--accent); text-underline-offset: 2px; }
.doc .updated { color: var(--muted); font-size: 15px; }
.doc .note { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.doc .check { background: var(--ice-soft); border-bottom: 2px solid var(--ice); font-weight: 600; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc .scroll { overflow-x: auto; margin: 0 0 16px; }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc code { font-size: .92em; background: var(--tint); padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; padding: 0; list-style: none; }
.chips a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); font-size: 15px; }
.chips a:hover { border-color: var(--ice); }
.qs details p, .qs details li { color: var(--muted); }
.qs details ul, .qs details ol { margin: 12px 0 0; padding-left: 22px; }
.qs details p + p { margin-top: 10px; }
.qs summary { font-size: 17px; }
.contact { margin-top: 48px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 26px 28px; }
.contact h2 { margin-top: 0; }
.contact p { color: var(--muted); }
.contact .mail { font-weight: 650; color: var(--ink); user-select: all; }
.steps { counter-reset: s; padding: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--ice-soft); color: var(--ice-ink); font-size: 14px; font-weight: 700; display: grid; place-items: center; }

/* (Spacing that was inline: the website's security policy allows no inline styles.) */
[data-flush] { padding-top: 0; }
.fine.more { margin-top: 22px; }
.then { margin-top: 10px; }
