/* signalwealth.io, 2026-10 redesign. Matches the app's new look: neutral and light, navy for weight,
   Signal Blue as the one accent, Space Grotesk headings, Geist text. */
:root {
  --navy: #001B45;
  --blue: #2563EB;
  --blue-ink: #1D4FD8;
  --sky: #A8CEFF;
  --bg: #F6F7F9;
  --surface: #FFFFFF;
  --line: #E3E6EB;
  --line-2: #D3D8DF;
  --text: #0E1420;
  --text-2: #4B5563;
  --text-3: #64707F;
  --soft: #EEF3FD;
  --ok: #15803D;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14, 20, 32, .05), 0 12px 32px rgba(14, 20, 32, .08);
  --shadow-lg: 0 2px 4px rgba(14, 20, 32, .05), 0 28px 60px rgba(0, 27, 69, .16);
  --display: 'Space Grotesk', 'Geist', system-ui, sans-serif;
  --ui: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--ui); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--surface); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); margin: 0; letter-spacing: -.015em; line-height: 1.15; }
h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 12px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 45%, transparent); outline-offset: 2px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px;
  font-family: var(--ui); font-size: 16px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--blue); color: #FFFFFF; }
.btn-primary:hover { background: var(--blue-ink); }
.btn-secondary { background: var(--surface); color: var(--navy); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--navy); }
.btn-light { background: #FFFFFF; color: var(--navy); }
.btn-ghost-light { color: #FFFFFF; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { border-color: #FFFFFF; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand-link img { height: 34px; width: auto; }
.site-nav { display: flex; gap: 4px; margin-left: 8px; }
.site-nav a { padding: 8px 12px; border-radius: 9px; color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.site-nav a:hover { color: var(--navy); background: var(--bg); }
.site-nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.header-cta .login { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 10px; }
.header-cta .login:hover { color: var(--navy); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 10px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--navy); margin: 0 auto; position: relative; content: ''; }
.nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }
@media (max-width: 980px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .site-nav, .site-header.open .header-cta { display: flex; }
  .site-header.open .header-inner { flex-wrap: wrap; height: auto; padding: 14px 0; }
  .site-header.open .site-nav { order: 3; flex-direction: column; width: 100%; margin: 0; }
  .site-header.open .header-cta { order: 4; width: 100%; margin: 4px 0 6px; }
  .site-header.open .header-cta .btn { flex: 1; }
}

/* ── Sections ── */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--bg); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--blue-ink); margin-bottom: 14px; }
.lede { font-size: 20px; color: var(--text-2); max-width: 680px; margin-top: 18px; }
.center { text-align: center; } .center .lede { margin-left: auto; margin-right: auto; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ── Hero ── */
.hero { padding: 72px 0 40px; background: linear-gradient(180deg, #F3F7FE 0%, #FFFFFF 70%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.hero-copy { max-width: 820px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 15px; color: var(--text-3); }
.hero-visual { position: relative; margin-top: 8px; }
.app-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--surface); }
.app-frame img { width: 100%; height: auto; }
.phone-frame { position: absolute; right: 3%; bottom: -6%; width: 22%; min-width: 150px; border-radius: 22px; overflow: hidden;
  border: 6px solid #0E1420; box-shadow: var(--shadow-lg); background: #000; }
.phone-frame img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
@media (max-width: 720px) { .phone-frame { width: 34%; right: 2%; bottom: -10%; border-width: 4px; border-radius: 16px; } .hero { padding-top: 48px; } }

/* ── Cards / grids ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-2); }
.card-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--blue-ink); margin-bottom: 12px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--soft);
  box-shadow: inset 0 0 0 5px var(--soft), inset 0 0 0 16px var(--blue); transform: scale(.75); }
.icon-badge { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); color: var(--blue-ink); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.icon-badge svg { width: 22px; height: 22px; }

/* ── Feature rows (text + screenshot) ── */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.flip .feature-copy { order: 2; }
.feature-copy p { color: var(--text-2); margin-top: 14px; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 28px; } .feature.flip .feature-copy { order: 0; } .feature + .feature { margin-top: 64px; } }

/* ── Steps ── */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { counter-increment: step; position: relative; padding-top: 56px; }
.step::before { content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #FFFFFF;
  font-family: var(--display); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step h3 { margin-bottom: 8px; } .step p { color: var(--text-2); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ── Shorts strip ── */
.shorts { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.shorts figure { margin: 0; width: 220px; }
.shorts img { width: 100%; height: auto; border-radius: 18px; border: 5px solid #0E1420; box-shadow: var(--shadow); aspect-ratio: 9 / 16; object-fit: cover; }
.shorts figcaption { font-size: 14px; color: var(--text-3); margin-top: 10px; text-align: center; }

/* ── Trust band ── */
.trust { background: var(--navy); color: #DCE6F7; }
.trust h2, .trust h3 { color: #FFFFFF; }
.trust .eyebrow { color: var(--sky); }
.trust .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.trust .card p { color: #B9C6DC; }
.trust .icon-badge { background: rgba(168, 206, 255, .12); color: var(--sky); }

/* ── Pricing ── */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); position: relative; }
.plan-flag { position: absolute; top: -13px; left: 24px; background: var(--blue); color: #FFFFFF; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.plan-for { color: var(--text-2); font-size: 15px; margin-top: 6px; min-height: 48px; }
.price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-family: var(--display); font-size: 44px; font-weight: 700; color: var(--navy); letter-spacing: -.02em; }
.price span { color: var(--text-3); font-size: 15px; }
.price-note { font-size: 14px; color: var(--text-3); margin-top: 6px; min-height: 42px; }
.price-note s { color: var(--text-3); }
.plan .btn { margin-top: 20px; width: 100%; }
.plan .ticks { margin-top: 22px; font-size: 15px; }
.plan .ticks li.plus { font-weight: 600; color: var(--navy); }
.plan-muted { background: var(--bg); }
.fine { font-size: 14px; color: var(--text-3); }
table.compare { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.compare th, table.compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.compare th { font-weight: 600; color: var(--navy); background: var(--bg); }
table.compare td:not(:first-child), table.compare th:not(:first-child) { text-align: center; }
.compare-wrap { overflow-x: auto; }
.yes { color: var(--ok); font-weight: 600; }
.no { color: var(--text-3); }

/* ── FAQ ── */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--blue-ink); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--text-2); margin-top: 10px; }

/* ── CTA band ── */
.cta-band { background: var(--navy); color: #DCE6F7; border-radius: 22px; padding: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #FFFFFF; }
.cta-band p { margin-top: 10px; color: #B9C6DC; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) { .cta-band { padding: 36px 24px; } }

/* ── Page hero (inner pages) ── */
.page-hero { padding: 72px 0 48px; background: linear-gradient(180deg, #F3F7FE 0%, #FFFFFF 100%); }
.page-hero .lede { max-width: 760px; }

/* ── Prose (legal, long text) ── */
.prose { max-width: 780px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; } .prose h3 { margin: 28px 0 8px; }
.prose p, .prose li { color: var(--text-2); } .prose p + p { margin-top: 14px; }

/* ── Forms ── */
.form { display: grid; gap: 16px; max-width: 640px; }
.form label { font-size: 15px; font-weight: 500; color: var(--text); display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--text); width: 100%; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 22%, transparent); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.notice { padding: 14px 16px; border-radius: 10px; background: var(--soft); color: var(--navy); }
.notice.err { background: #FCEBEB; color: #9B1C1C; }

/* ── Footer ── */
.site-footer { background: #000F27; color: #9FB0CB; padding: 64px 0 32px; margin-top: 96px; font-size: 15px; }
.site-footer.flush { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand img { height: 32px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { margin-top: 14px; max-width: 320px; }
.site-footer h4 { font-family: var(--ui); font-size: 14px; font-weight: 600; color: #FFFFFF; letter-spacing: .02em; margin-bottom: 12px; }
.site-footer a { color: #C9D5EA; text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: #FFFFFF; }
.footer-copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 24px; font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .steps-4 { grid-template-columns: 1fr; } }

/* Legal pages (privacy, terms, data deletion) reuse their original markup */
.container{max-width:var(--wrap,1160px);margin:0 auto;padding:0 24px;}
.section.page-hero{padding:72px 0 32px;}
.section.page-hero h1{margin:0 0 8px;}
.section.page-hero .lead,.section.page-hero p{color:var(--text-2,#5b6475);margin:0;}
.section.legal{padding:16px 0 88px;}
.legal-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:56px;align-items:start;}
.legal-nav{position:sticky;top:96px;font-size:14px;line-height:1.5;}
.legal-nav-title{font-weight:600;margin:0 0 10px;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-2,#5b6475);}
.legal-nav ol,.legal-nav ul{margin:0;padding-left:18px;}
.legal-nav li{margin:4px 0;}
.legal-body{max-width:760px;font-size:16px;line-height:1.7;}
.legal-body h2{font-size:24px;margin:40px 0 10px;scroll-margin-top:96px;}
.legal-body h3{font-size:18px;margin:24px 0 8px;}
.legal-body p{margin:0 0 14px;}
.bullet-list{margin:0 0 16px;padding-left:22px;}
.bullet-list li{margin:6px 0;}
.muted{color:var(--text-2,#5b6475);}
@media (max-width:860px){.legal-grid{grid-template-columns:1fr;gap:24px;}.legal-nav{position:static;}}
