:root {
  --bg: #f4f8f8;
  --surface: #ffffff;
  --text: #14171f;
  --muted: #5b6472;
  --faint: #8a93a1;
  --line: #e1e5ea;
  --primary: #01658c;
  --primary-hover: #015270;
  --primary-soft: #e8f3f8;
  --success: #0f9d6b;
  --danger: #e5484d;
  --radius: 14px;
  --shadow: 0 18px 50px -20px rgba(20, 40, 60, .28), 0 2px 6px rgba(20, 40, 60, .06);
  --font-display: 'Cabinet Grotesk', 'Satoshi', system-ui, sans-serif;
  --font-body: 'Satoshi', system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); }
img, svg { display: block; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--primary); outline-offset: 3px; border-radius: 8px; }

/* Background glow, after the reference */
.glow { position: absolute; inset: 0 0 auto 0; height: 980px; pointer-events: none; overflow: hidden; z-index: -1; }
.glow span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.glow .g1 { width: 520px; height: 520px; left: -60px; top: 120px; background: #b9c8ff; }
.glow .g2 { width: 460px; height: 460px; left: 300px; top: 300px; background: #b8f0c8; }
.glow .g3 { width: 520px; height: 420px; right: 220px; top: -40px; background: #f3f7c4; }
.glow .g4 { width: 440px; height: 440px; right: -100px; top: 120px; background: #d9dcf3; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 10px 22px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: background .18s, color .18s, border-color .18s, transform .18s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--primary); color: #fff; }
.btn-solid:hover { background: var(--primary-hover); }
.btn-solid:disabled { opacity: .7; cursor: progress; }
.btn-outline { border-color: #1f2a5c; color: #1f2a5c; background: rgba(255,255,255,.7); }
.btn-outline:hover { background: #1f2a5c; color: #fff; }
.btn-ghost { color: var(--text); background: rgba(255,255,255,.6); border-color: var(--line); }
.btn-ghost:hover { background: #fff; border-color: #c4c9d0; }
.btn-lg { padding: 14px 26px; font-size: 17px; }
.btn-block { width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 16px var(--gutter); transition: background .2s, box-shadow .2s; }
.nav.scrolled { background: rgba(244, 248, 248, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { color: var(--text); text-decoration: none; font-size: 18px; font-weight: 500; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; gap: 12px; justify-content: flex-end; align-items: center; }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); padding: 6px; border-radius: 8px; }

.notice { margin: 0 var(--gutter); padding: 12px 18px; border-radius: 12px; background: #d4f0e3; color: #0b5e40; font-weight: 500; }
.notice.bad { background: #fce8e9; color: #9b1c21; }
.notice a { color: inherit; font-weight: 700; }

/* Hero */
.hero { max-width: 1320px; margin: 0 auto; padding: clamp(48px, 9vh, 110px) var(--gutter) 80px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -.03em; max-width: 13ch; }
.lede { margin-top: 26px; font-size: clamp(18px, 1.6vw, 22px); color: #2e3440; max-width: 34ch; line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-cta.center { justify-content: center; }
.fine { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 46ch; }

/* Mockup */
.mock { position: relative; aspect-ratio: 1.3 / 1; min-height: 360px; }
.card { position: absolute; background: rgba(255,255,255,.88); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.c-chart { left: 22%; top: 18%; width: 64%; height: 54%; padding: 16px 18px 12px; display: flex; flex-direction: column; }
.filters { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: nowrap; overflow: hidden; }
.f { font-size: 12px; color: var(--faint); background: #f2f4f7; border-radius: 8px; padding: 7px 10px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.f.search { flex: 1; min-width: 0; }
.bars { flex: 1; width: 100%; height: auto; }
.c-donut { left: 0; top: 4%; width: 36%; aspect-ratio: 1 / 1.1; padding: 14px; display: grid; place-items: center; background: rgba(240, 250, 244, .9); z-index: 2; }
.donut { width: 92%; }
.donut-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding-top: 8%; }
.donut-label small { font-size: 12px; color: var(--muted); }
.donut-label b { font-size: clamp(16px, 1.8vw, 22px); font-family: var(--font-display); }
.tip { position: absolute; top: 4%; left: 26%; display: flex; gap: 8px; align-items: flex-start; background: #fff; padding: 9px 12px; border-radius: 10px; box-shadow: 0 8px 24px -10px rgba(0,0,0,.25); font-size: 13px; z-index: 3; white-space: nowrap; }
.tip i { width: 9px; height: 9px; border-radius: 50%; margin-top: 5px; }
.tip small { display: block; color: var(--faint); font-size: 11px; }
.c-period { right: 4%; top: 46%; width: 36%; padding: 14px 16px; z-index: 3; }
.c-period h3 { font-size: 13px; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.c-period dl div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid #eef0f3; font-size: 12px; }
.c-period dt { color: var(--muted); }
.c-period dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.pos { color: var(--success); }
.neg { color: var(--danger); }
.c-spark { right: 0; top: 0; width: 20%; aspect-ratio: 1 / 1.2; padding: 12px; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; }
.c-spark svg { width: 100%; }
.c-spark small { font-size: 11px; color: var(--faint); }
/* Hero stage: glossy green glass (70%) over a blue wave (30%), matching the currency-exchange icon */
.fx-stage { border-radius: 34px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 95% at 28% 8%, #8fe07a 0%, #3fae45 30%, #1d7a2f 60%, #0f5321 100%);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.7), inset 0 0 0 1.5px rgba(255,255,255,.25), inset 0 -14px 26px rgba(0,30,10,.35), 0 34px 60px -28px rgba(12,70,40,.6), 0 6px 16px -8px rgba(0,0,0,.25); }
.stage-gloss { position: absolute; left: 6%; right: 6.5%; top: 1.5%; height: 15%; border-radius: 40% 40% 50% 50% / 70% 70% 30% 30%; background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.06) 85%, transparent); pointer-events: none; z-index: 0; }
.stage-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 33%; z-index: 0; filter: drop-shadow(0 -3px 5px rgba(0,30,90,.35)); }
.stage-wave-body { animation: fxWave 8s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes fxWave { to { transform: scaleY(.93) translateX(-1.5%); } }
.fx-stage .c-donut { left: 4%; top: 7%; width: 27%; z-index: 2; }
.fx-stage .tip { left: 14%; top: 4%; }
.fx-stage .c-spark { left: 5%; top: auto; right: auto; bottom: 6%; width: 22%; aspect-ratio: 1 / 1.05; z-index: 2; }

/* Expanded live exchange panel (the icon's dark display, enlarged) */
.fx-panel { position: absolute; left: 35%; right: 4.5%; top: 7%; bottom: 33%; z-index: 3; container-type: inline-size; border-radius: 26px; padding: clamp(16px, 1.9vw, 26px) clamp(16px, 2.2vw, 30px); display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  background: radial-gradient(90% 120% at 50% 20%, #12361f 0%, #082315 55%, #04150b 100%);
  box-shadow: inset 0 4px 12px rgba(0,0,0,.7), inset 0 -1px 0 rgba(255,255,255,.18), 0 1px 0 rgba(255,255,255,.3), 0 18px 30px -18px rgba(0,0,0,.6);
  color: #c9f7d4; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }
.fx-display { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 2.2cqw; cursor: pointer; border-radius: 16px; padding: 1cqw 0; text-align: center; -webkit-tap-highlight-color: transparent; }
.fx-display:hover .fx-rate { text-shadow: 0 0 16px rgba(140,255,170,.65); }
.fx-display:focus-visible, .fx-swap:focus-visible, .fx-chips button:focus-visible { outline: 3px solid #7fb2ff; outline-offset: 3px; }
.fx-pair { font-size: 6.2cqw; letter-spacing: .05em; color: #b6efc4; text-shadow: 0 0 6px rgba(140,255,170,.35); line-height: 1; }
.fx-rate { font-size: 16cqw; font-weight: 700; line-height: 1; color: #d9ffe2; text-shadow: 0 0 12px rgba(140,255,170,.45); font-variant-numeric: tabular-nums; transition: opacity .18s, filter .18s, transform .18s, text-shadow .2s; }
.fx-rate.swap { opacity: 0; filter: blur(3px); transform: translateY(-12%); }
.fx-asof { display: inline-flex; align-items: center; gap: 1.4cqw; font-size: 2.9cqw; letter-spacing: .12em; color: #9fdcae; line-height: 1; white-space: nowrap; }
.fx-dot { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #e7c14b; color: #e7c14b; box-shadow: 0 0 5px currentColor; }
.fx-dot.live { background: #5dff8f; color: #5dff8f; animation: fxPulse 2.4s ease-in-out infinite; }
.fx-dot.off { background: #ff7a7a; color: #ff7a7a; }
@keyframes fxPulse { 50% { opacity: .35; } }
.fx-convert { width: 100%; box-sizing: border-box; display: grid; grid-template-columns: 1.25fr 1fr auto 1fr; align-items: end; gap: 2.2cqw; }
.fx-field { display: flex; flex-direction: column; gap: 1cqw; min-width: 0; }
.fx-field span { font-size: 2.6cqw; letter-spacing: .12em; text-transform: uppercase; color: #8fcf9f; }
.fx-field input, .fx-field select { width: 100%; min-width: 0; box-sizing: border-box; font: 700 clamp(13px, 4.4cqw, 21px)/1.2 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; color: #e4ffea; background: rgba(150,255,180,.07); border: 1px solid rgba(150,255,180,.22); border-radius: 10px; padding: 2.4cqw 2.8cqw; outline: none; color-scheme: dark; appearance: none; -webkit-appearance: none; }
.fx-field select { padding-right: 6cqw; background-image: linear-gradient(45deg, transparent 50%, #9fdcae 50%), linear-gradient(135deg, #9fdcae 50%, transparent 50%); background-position: calc(100% - 3.4cqw) 52%, calc(100% - 2.2cqw) 52%; background-size: 1.2cqw 1.2cqw; background-repeat: no-repeat; cursor: pointer; }
.fx-field select option { background: #0b2a17; color: #e4ffea; }
.fx-field input:focus, .fx-field select:focus { border-color: #7fe39a; box-shadow: 0 0 0 3px rgba(127,227,154,.2); }
.fx-field input::-webkit-inner-spin-button { opacity: .4; }
.fx-swap { all: unset; box-sizing: border-box; display: grid; place-items: center; width: clamp(34px, 10cqw, 48px); height: clamp(34px, 10cqw, 48px); border-radius: 50%; cursor: pointer; color: #04150b; background: linear-gradient(180deg, #a6f0b4, #4fc46a); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 4px 10px -4px rgba(0,0,0,.6); transition: transform .25s; }
.fx-swap:hover { transform: rotate(180deg); }
.fx-result { margin: 0; text-align: center; font-size: clamp(13px, 4.8cqw, 23px); color: #d9ffe2; font-variant-numeric: tabular-nums; min-height: 1.3em; }
.fx-result b { color: #fff; text-shadow: 0 0 10px rgba(140,255,170,.45); }
.fx-chips { position: absolute; left: 35%; right: 4.5%; bottom: 6%; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.fx-chips button { all: unset; box-sizing: border-box; cursor: pointer; font: 700 12.5px/1 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: .03em; color: #fff; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); transition: background .2s, color .2s, transform .15s; }
.fx-chips button:hover { background: rgba(255,255,255,.26); }
.fx-chips button:active { transform: scale(.96); }
.fx-chips button[aria-pressed="true"] { background: #fff; color: #16379f; box-shadow: 0 0 14px rgba(255,255,255,.55); }
@media (prefers-reduced-motion: reduce) { .stage-wave-body, .fx-dot.live { animation: none; } .fx-swap:hover { transform: none; } }

/* Sections */
.section { max-width: var(--wrap); margin: 0 auto; padding: 88px var(--gutter); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.02em; }
.section-head p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--c); margin-bottom: 18px; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: #1a1d24; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 19px; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 15.5px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { padding: 26px; border-radius: var(--radius); background: linear-gradient(160deg, #fff, #f1f7fa); border: 1px solid var(--line); }
.steps b { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-display); font-size: 18px; margin-bottom: 16px; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--muted); }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; }
.plan-main { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan h3 { font-family: var(--font-display); font-size: 26px; }
.pill { font-size: 13px; font-weight: 700; color: #0b5e40; background: #d4f0e3; padding: 4px 10px; border-radius: 999px; }
.pill-muted { color: var(--muted); background: #eef1f4; }
.price { font-family: var(--font-display); font-size: 48px; font-weight: 800; margin: 14px 0 18px; }
.price small { font-size: 17px; color: var(--muted); font-weight: 500; }
.price.muted { font-size: 26px; color: var(--muted); margin: 22px 0 26px; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; flex: 1; }
.plan li { padding-left: 28px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #d4f0e3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f9d6b' stroke-width='3.2'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan .fine { margin-top: 0; }

.security { max-width: none; background: #0e2a38; color: #e8f1f5; }
.sec-inner { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.security .eyebrow { color: #7fd1b0; }
.sec-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.sec-list li { color: #b9cad3; border-top: 1px solid rgba(255,255,255,.14); padding-top: 16px; }
.sec-list b { display: block; color: #fff; margin-bottom: 4px; }

.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); }

.cta { text-align: center; margin: 0 var(--gutter) 80px; padding: 72px 24px; border-radius: 28px; background: radial-gradient(120% 140% at 10% 0%, #c9d4ff 0%, transparent 50%), radial-gradient(120% 140% at 90% 100%, #c4f2d4 0%, transparent 50%), #f7f9ff; }
.cta p { color: var(--muted); font-size: 18px; margin-top: 10px; }
.cta .hero-cta { margin-top: 26px; }

.footer { border-top: 1px solid var(--line); padding: 32px var(--gutter) 40px; display: grid; grid-template-columns: auto 1fr; gap: 14px 32px; align-items: center; max-width: var(--wrap); margin: 0 auto; }
.footer .brand { font-size: 20px; }
.footer nav { display: flex; gap: 24px; justify-content: flex-end; flex-wrap: wrap; }
.footer nav a { color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--text); }
.footer p { grid-column: 1 / -1; font-size: 13px; color: var(--faint); }

/* Modal */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(14, 22, 30, .45); display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .2s; }
.overlay.show { opacity: 1; }
.overlay[hidden] { display: none; }
.modal { position: relative; width: 100%; max-width: 440px; max-height: calc(100dvh - 40px); overflow-y: auto; background: #fff; border-radius: 20px; padding: 34px 30px 28px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.4); }
.modal h2 { font-size: 28px; padding-right: 28px; }
.close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f2f4f7; font-size: 22px; line-height: 1; color: var(--muted); }
.close:hover { background: #e4e7ec; color: var(--text); }
.sub { color: var(--muted); margin: 8px 0 22px; }
form label { display: block; font-weight: 700; font-size: 14px; margin: 14px 0 6px; }
.hint { font-weight: 500; color: var(--faint); }
form input[type=email], form input[type=password], form input[type=text] { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #d6dae0; border-radius: 10px; background: #fff; color: var(--text); }
form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.pw { position: relative; }
.pw input { padding-right: 70px; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: #f2f4f7; border-radius: 8px; padding: 6px 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; color: var(--muted); margin-top: 18px !important; }
.check input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--primary); flex-shrink: 0; }
.error { color: var(--danger); font-size: 14px; min-height: 22px; margin: 10px 0 6px; }
.done-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #d4f0e3; color: var(--success); margin-bottom: 18px; }
#signupDoneView .btn { margin-top: 4px; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-links { gap: 24px; }
  .hero { grid-template-columns: 1fr; gap: 56px; padding-top: 48px; }
  .hero h1 { max-width: 16ch; }
  .mock { max-width: 760px; width: 100%; margin: 0 auto; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav { grid-template-columns: auto 1fr; }
  .menu-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 12px; right: 12px; flex-direction: column; gap: 4px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 10px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; }
  .nav-links a:hover { background: #f2f4f7; }
  .steps, .plans, .sec-inner, .sec-list { grid-template-columns: 1fr; }
  .sec-inner { gap: 28px; }
}
@media (max-width: 560px) {
  .nav { padding: 12px 16px; gap: 8px; }
  .brand { font-size: 21px; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn { padding: 8px 12px; font-size: 14px; border-radius: 10px; }
  .grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .mock { aspect-ratio: auto; height: 420px; min-height: 0; }
  .c-donut { width: 50%; top: 0; }
  .tip { left: 30%; font-size: 12px; }
  .c-chart { left: 0; top: 30%; width: 100%; height: 44%; }
  .filters .f:not(.search) { display: none; }
  .c-period { right: 0; top: auto; bottom: 0; width: 60%; }
  .c-spark { width: 34%; }
  .fx-stage { aspect-ratio: auto; height: auto; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px 14px 20px; border-radius: 26px; }
  .fx-stage .card, .fx-panel, .fx-chips { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
  .fx-stage .c-donut { width: auto; }
  .fx-stage .c-spark { width: auto; aspect-ratio: auto; min-height: 100%; }
  .fx-stage .tip { left: 10%; top: -2%; font-size: 11px; padding: 7px 9px; }
  .fx-panel { grid-column: 1 / -1; padding: 22px 18px 18px; gap: 14px; }
  .fx-convert { grid-template-columns: 1fr auto 1fr; }
  .fx-amount { grid-column: 1 / -1; }
  .fx-chips { grid-column: 1 / -1; margin-top: 18px; }
  .stage-wave { height: 24%; }
  .section { padding: 64px var(--gutter); }
  .footer { grid-template-columns: 1fr; }
  .footer nav { justify-content: flex-start; }
  .modal { padding: 28px 20px 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Trust facts under hero CTAs */
.trust { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; margin-top: 26px; max-width: 560px; }
.trust li { position: relative; padding-left: 26px; font-size: 15px; color: var(--muted); line-height: 1.4; }
.trust li b { color: var(--text); display: block; }
.trust li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #d4f0e3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f9d6b' stroke-width='3.2'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } }

/* Static pages (privacy, about, contact) */
.doc { max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 88px; }
.doc .eyebrow { margin-bottom: 8px; }
.doc h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -.02em; margin-bottom: 14px; }
.doc .updated { color: var(--muted); margin-bottom: 36px; }
.doc h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 40px 0 12px; }
.doc p, .doc li { font-size: 17px; color: #2e3440; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; display: grid; gap: 8px; margin-top: 10px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { background: #fff; font-weight: 700; }
.doc .callout { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-top: 20px; }
.contact-card { display: grid; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 24px; }
.contact-card a.big { font-size: clamp(17px, 4.6vw, 22px); font-weight: 700; overflow-wrap: anywhere; }

/* ---------- Auth pages (signup, login, reset) ---------- */
.auth-nav { grid-template-columns: auto 1fr auto; }
.auth-main { min-height: calc(100vh - 220px); display: grid; place-items: start center; padding: 24px var(--gutter) 64px; }
.auth-card { width: 100%; max-width: 480px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 34px 32px 30px; }
.auth-card h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 32px); line-height: 1.1; letter-spacing: -.02em; }
.auth-card .sub { color: var(--muted); margin: 8px 0 22px; }
.field { margin-top: 14px; }
.field label, .auth-card form > label:not(.check) { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.auth-card input[type=email], .auth-card input[type=password], .auth-card input[type=text], .auth-card input[type=url] { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #d6dae0; border-radius: 10px; background: #fff; color: var(--text); }
.auth-card input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.auth-card input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 13px; margin-top: 5px; min-height: 0; }
.field-error:empty { display: none; }
.form-error { color: var(--danger); font-size: 14px; margin: 12px 0 4px; }
.form-error:empty, .form-ok:empty { display: none; }
.form-ok { color: #0b5e40; background: #d4f0e3; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 12px 0 4px; }
.auth-card .btn-block { margin-top: 16px; }
.auth-card .check + .field-error { margin: 2px 0 0 27px; }
.fine.center { text-align: center; }
.linklike { background: none; border: 0; padding: 0; color: var(--primary); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.meter { margin-top: 8px; }
.meter-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.meter-bar span { height: 5px; border-radius: 3px; background: #e4e7ec; transition: background .2s; }
.meter[data-score="1"] .meter-bar span:nth-child(-n+1) { background: var(--danger); }
.meter[data-score="2"] .meter-bar span:nth-child(-n+2) { background: #e6a23c; }
.meter[data-score="3"] .meter-bar span:nth-child(-n+3) { background: #2f9e6e; }
.meter[data-score="4"] .meter-bar span { background: var(--success); }
.meter-label { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.keep-panel { background: #fff7e6; border: 1px solid #f3d9a4; border-radius: 14px; padding: 18px 18px 16px; margin-bottom: 22px; }
.keep-panel h2 { font-size: 20px; margin-bottom: 6px; }
.keep-panel p { font-size: 15px; color: #3b3320; }
.keep-panel .btn { margin-top: 12px; }
.notice-inline { background: #d4f0e3; color: #0b5e40; border-radius: 10px; padding: 10px 14px; font-weight: 500; margin-bottom: 18px; }
.paste-link { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.paste-link summary { cursor: pointer; font-weight: 600; color: var(--primary); }
.paste-link .btn { margin-top: 10px; }
.auth-footer { grid-template-columns: 1fr; text-align: center; }
.auth-footer nav { justify-content: center; }
@media (max-width: 560px) { .auth-card { padding: 26px 18px 22px; border-radius: 18px; } .auth-main { padding-top: 8px; } }
.review-banner { background: #fff7e6; border-color: #f3d9a4; }

/* Turnstile */
.captcha { margin-top: 16px; min-height: 65px; }
.captcha[hidden] { display: none; min-height: 0; }
.captcha-msg { font-size: 13px; color: var(--muted); margin-top: 6px; }
.captcha-msg:empty { display: none; }
.captcha-msg.captcha-error { color: var(--danger); }

/* Pro waitlist (plan.js) on the Plans section */
.plans-waitlist { margin-top: 14px; }
.plans-waitlist .wl-form { display: grid; gap: 10px; }
.plans-waitlist .wl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.plans-waitlist .wl-row input { flex: 1 1 200px; min-width: 0; width: auto; }
.plans-waitlist .btn-primary { background: var(--primary); color: #fff; border: 0; border-radius: 10px; padding: 12px 16px; font-weight: 700; cursor: pointer; }
.plans-waitlist .btn-primary:hover { background: var(--primary-hover); }
.plans-waitlist .btn-primary:disabled { opacity: .6; cursor: progress; }
.plans-waitlist .wl-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.45; }
.plans-waitlist .wl-consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--primary); flex: none; }
.plans-waitlist .wl-msg { font-size: 13px; margin: 0; }
.plans-waitlist .wl-msg:empty { display: none; }
.plans-waitlist .wl-error { color: var(--danger); }
.plans-waitlist .wl-done { color: var(--success); font-weight: 600; font-size: 14px; }
.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; }
.signup-plan-note { max-width: none; margin: 4px 0 2px; font-size: 13px; }
.plan .fine + .btn { margin-top: 16px; }
.plans-waitlist .wl-consent, .plans-waitlist .wl-consent span { font-weight: 400; text-transform: none; letter-spacing: 0; }
/* Narrow phones: keep the longer "MoneyinOrder" wordmark, buttons and menu on one line. */
@media (max-width: 400px) {
  .nav { padding: 12px 12px; gap: 6px; }
  .brand { font-size: 18px; gap: 6px; letter-spacing: -.03em; }
  .brand img { width: 26px; height: 26px; }
  .nav-actions { gap: 4px; }
  .nav-actions .btn { padding: 7px 10px; font-size: 13px; }
}
@media (max-width: 340px) {
  .brand { font-size: 16px; }
  .brand img { width: 24px; height: 24px; }
  .nav-actions .btn { padding: 6px 8px; }
}
