/* sayhope.ai — one stylesheet for every page. Brand colors follow the
   (placeholder) logo in /brand/: navy #1e2d5c + orange #ff5a1f. */
:root {
  --navy: #1e2d5c;
  --navy-deep: #141f42;
  --orange: #ff5a1f;
  --orange-text: #c2410c;   /* orange that passes AA as body-size text */
  --ink: #131a31;
  --muted: #555e75;
  --line: #e3e6ee;
  --soft: #f5f6fa;
  --cream: #fff6f1;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(19, 26, 49, .06), 0 12px 32px -12px rgba(19, 26, 49, .18);
  --max: 1120px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--orange-text); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }

/* ── Header ─────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand-logo { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--orange-text); }
.nav .btn { color: #fff; }
@media (max-width: 820px) { .nav a:not(.btn) { display: none; } }

/* ── Buttons ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; background: var(--navy); color: #fff; border: 2px solid var(--navy); transition: transform .15s, background .15s; }
.btn:hover { background: var(--navy-deep); color: #fff; transform: translateY(-1px); }
.btn.sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--soft); color: var(--navy); }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.light:hover { background: var(--cream); color: var(--navy); }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; background:
  radial-gradient(900px 480px at 88% -10%, rgba(255, 90, 31, .12), transparent 60%),
  radial-gradient(700px 520px at -10% 110%, rgba(30, 45, 92, .10), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: var(--orange); }
.hero h1 .hl { color: var(--orange); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 36em; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
  .hero { padding: 44px 0 64px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 44px; }
}

/* Hero illustration: a stylized deal file with Hope working it */
.mock { position: relative; padding-bottom: 118px; }
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.mock-head { background: var(--navy); color: #fff; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mock-head b { font-size: 15px; }
.mock-head small { display: block; opacity: .75; font-size: 12px; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.pill.green { background: #dcfce7; color: #166534; }
.pill.amber { background: #fef3c7; color: #92400e; }
.pill.blue { background: #e0e7ff; color: #3730a3; }
.pill.on-navy { background: rgba(255, 255, 255, .16); color: #fff; }
.mock-body { padding: 8px 18px 16px; }
.mock-sec { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin: 12px 0 6px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.row:last-child { border-bottom: 0; }
.row span { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tick { flex: none; width: 18px; height: 18px; border-radius: 5px; border: 2px solid #047857; display: grid; place-items: center; background: #047857; }
.tick svg { width: 11px; height: 11px; }
.tick.open { background: transparent; border-color: #cbd2e1; }
.bubble { position: absolute; right: -14px; bottom: 0; width: min(330px, 86%); background: var(--navy-deep); color: #fff; border-radius: 18px 18px 4px 18px; padding: 14px 16px; font-size: 14px; line-height: 1.5; box-shadow: 0 18px 40px -14px rgba(20, 31, 66, .6); }
.bubble .who { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.bubble .who img { width: 22px; height: 22px; border-radius: 6px; }
.bars { display: inline-flex; gap: 2px; align-items: center; margin-left: auto; }
.bars i { width: 3px; border-radius: 3px; background: var(--orange); animation: eq 1.1s ease-in-out infinite; }
.bars i:nth-child(1) { height: 8px; } .bars i:nth-child(2) { height: 14px; animation-delay: .15s; } .bars i:nth-child(3) { height: 11px; animation-delay: .3s; } .bars i:nth-child(4) { height: 6px; animation-delay: .45s; }
@keyframes eq { 50% { transform: scaleY(.45); } }
@media (prefers-reduced-motion: reduce) { .bars i { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 900px) { .mock { padding-bottom: 0; } .bubble { position: relative; right: auto; bottom: auto; margin: -14px 10px 0 auto; } }

/* ── Sections ───────────────────────────────────────────── */
section { padding: 96px 0; }
.soft { background: var(--soft); }
.center { text-align: center; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 700px) { section { padding: 68px 0; } .section-head { margin-bottom: 36px; } }

.grid { display: grid; gap: 22px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.three, .grid.two { grid-template-columns: minmax(0, 1fr); } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); font-size: 16px; }
.card ul { margin: 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 22px; margin: 7px 0; font-size: 15.5px; color: var(--ink); }
.card li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--cream); color: var(--orange); margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; }

/* Hope spotlight */
.dark { background: var(--navy); color: #dfe4f3; position: relative; overflow: hidden; }
.dark::after { content: ''; position: absolute; width: 620px; height: 620px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 31, .28), transparent 65%); pointer-events: none; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: #ff9a70; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.says { display: grid; gap: 12px; }
.say { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 14px 18px; font-size: 16px; color: #fff; }
.say small { display: block; color: #aab4d4; font-size: 13.5px; margin-top: 4px; }
.say::before { content: '“'; color: var(--orange); font-weight: 800; margin-right: 2px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ''; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Coming soon */
.soon { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; background: var(--cream); border: 1px solid #ffd9c7; border-radius: 24px; padding: 48px; }
@media (max-width: 900px) { .soon { grid-template-columns: minmax(0, 1fr); padding: 30px 22px; gap: 30px; } }
.badge-soon { display: inline-block; background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; margin-bottom: 16px; }
.channels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.channels span { background: #fff; border: 1px solid #ffd9c7; border-radius: 99px; padding: 7px 14px; font-weight: 600; font-size: 14px; }
.post { background: #121a33; border-radius: 18px; padding: 16px; color: #fff; box-shadow: var(--shadow); max-width: 380px; margin: 0 auto; width: 100%; }
.post-img { aspect-ratio: 4 / 3.2; border-radius: 12px; background:
  linear-gradient(180deg, rgba(18, 26, 51, 0) 45%, rgba(18, 26, 51, .92) 100%),
  linear-gradient(135deg, #f7b267 0%, #f4845f 45%, #5b7db1 100%); position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; }
.post-img .tag { position: absolute; top: 14px; left: 14px; background: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .1em; padding: 5px 10px; border-radius: 6px; }
.post-img b { font-size: 22px; letter-spacing: -.01em; }
.post-img small { opacity: .85; }
.post-meta { display: flex; justify-content: space-between; font-size: 13px; color: #aab4d4; padding: 12px 4px 2px; gap: 8px; flex-wrap: wrap; }

/* Who it's for */
.who-card h3 { display: flex; align-items: center; gap: 10px; }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .founder { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.founder blockquote { margin: 0; font-size: 1.15rem; color: var(--ink); }
.founder .on-it { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.founder .on-it span { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: 15px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, #2b3f7d 100%); color: #dfe4f3; border-radius: 24px; padding: 56px 40px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 34em; margin: 0 auto 26px; font-size: 1.1rem; }
.cta-band .cta-row { justify-content: center; }
.cta-band .fine { font-size: 14px; margin: 18px 0 0; color: #aab4d4; }
.cta-band .fine a { color: #fff; }
@media (max-width: 640px) { .cta-band { padding: 40px 22px; } }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 36px; font-size: 15px; color: var(--muted); }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.site-footer .brand-logo { height: 34px; margin-bottom: 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: flex-start; }
.site-footer nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.site-footer nav a:hover { color: var(--orange-text); }
.site-footer .bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; }

/* ── Legal pages ────────────────────────────────────────── */
.legal-hero { background: var(--soft); border-bottom: 1px solid var(--line); padding: 56px 0 40px; }
.legal-hero h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); }
.legal-hero p { color: var(--muted); margin: 0; }
.legal { max-width: 780px; padding: 44px 20px 80px; }
.legal h2 { font-size: 1.5rem; margin: 2.2em 0 .6em; padding-top: .2em; }
.legal h3 { font-size: 1.1rem; margin: 1.6em 0 .4em; }
.legal p, .legal li { color: #2b3350; }
.legal ul, .legal ol { padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin: .35em 0; }
.legal .summary { background: var(--cream); border: 1px solid #ffd9c7; border-radius: 14px; padding: 20px 24px; margin-bottom: 8px; }
.legal .summary h2 { margin-top: 0; font-size: 1.15rem; }
.legal .summary ul { margin: 0; }
.legal .toc { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 18px 24px; margin: 24px 0; }
.legal .toc b { display: block; margin-bottom: 6px; }
.legal .toc ol { margin: 0; columns: 2; column-gap: 32px; }
@media (max-width: 640px) { .legal .toc ol { columns: 1; } }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.legal th { background: var(--soft); font-weight: 700; }
.legal code { background: var(--soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: .88em; word-break: break-word; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps > li { counter-increment: s; position: relative; padding-left: 44px; margin: 14px 0 !important; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
