@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  /* Ink scale */
  --ink:        #0a0e1a;
  --ink-2:      #1f2433;
  --ink-3:      #3f475c;
  --muted:      #5e6680;
  --muted-2:    #9099b0;
  --line:       #ebedf2;
  --line-2:     #f3f4f7;
  --bg:         #ffffff;
  --bg-2:       #f7f8fa;
  --bg-3:       #fbfbfd;

  /* Brand — dusty rose primary, used surgically */
  --accent:     #a02858;
  --accent-dk:  #7c1c41;
  --accent-soft:#fbeef2;
  --accent-tint:#f6dbe5;

  /* Slate — supporting */
  --sky:        #3e6391;
  --sky-dk:     #233f63;
  --sky-soft:   #eaf0f7;

  /* Gold — supporting */
  --sun:        #a87513;
  --sun-dk:     #76520d;
  --sun-soft:   #f7eed8;

  --shadow-sm:  0 1px 2px rgba(10,14,26,.04), 0 1px 1px rgba(10,14,26,.02);
  --shadow-md:  0 8px 24px -8px rgba(10,14,26,.10), 0 2px 6px rgba(10,14,26,.04);
  --shadow-lg:  0 32px 64px -24px rgba(10,14,26,.18), 0 12px 24px -12px rgba(10,14,26,.08);

  --radius:     10px;
  --radius-lg:  14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "ss01", "cv11";
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ============ NAV ============ */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; max-width: 1180px; margin: 0 auto; }
.logo { font-weight: 700; font-size: 19px; letter-spacing: -0.025em; color: var(--ink); text-decoration: none; }
.logo span { color: var(--accent); }
nav.links { display: flex; gap: 2px; align-items: center; }
nav.links a { color: var(--ink-3); text-decoration: none; font-size: 14px; font-weight: 500; padding: 9px 14px; border-radius: 8px; letter-spacing: -0.005em; transition: color .15s, background .15s; }
nav.links a:hover { color: var(--ink); background: var(--bg-2); }
nav.links a.active { color: var(--accent); background: transparent; }
nav.links .nav-spacer { width: 14px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 8px;
  font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .08s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary, nav.links a.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover, nav.links a.btn-primary:hover { background: var(--accent); color: #fff; box-shadow: var(--shadow-md); }
.btn-ghost, nav.links a.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover, nav.links a.btn-ghost:hover { background: var(--bg-2); border-color: #d8dce5; color: var(--ink); }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-arrow::after { content: "→"; transition: transform .15s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ============ TYPE ============ */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--accent); display: inline-block; }

h1.page-title { font-size: 60px; line-height: 1.04; letter-spacing: -0.035em; margin: 0 0 22px; font-weight: 700; max-width: 880px; color: var(--ink); }
h2.section-title { font-size: 44px; line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 20px; font-weight: 700; max-width: 760px; color: var(--ink); }
h3.sub-title { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 12px; color: var(--ink); }
p.section-lead { font-size: 19px; color: var(--ink-3); max-width: 640px; margin: 0 0 56px; line-height: 1.55; letter-spacing: -0.005em; }

.serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: 0; }

/* ============ HERO ============ */
.hero { padding: 112px 0 96px; background: var(--bg); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; top: -240px; right: -180px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft) 0%, transparent 65%); pointer-events: none; opacity: .85; }
.hero::after { content: ""; position: absolute; bottom: -300px; left: -240px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, var(--sky-soft) 0%, transparent 65%); pointer-events: none; opacity: .7; }
.hero .wrap { position: relative; z-index: 1; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.hero h1 { font-size: 68px; line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 24px; font-weight: 700; color: var(--ink); }
.hero h1 em { font-style: italic; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; color: var(--accent); letter-spacing: -0.01em; }
.hero p.lead { font-size: 20px; color: var(--ink-3); margin: 0 0 36px; max-width: 540px; line-height: 1.55; letter-spacing: -0.005em; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-ctas .meta { font-size: 13px; color: var(--muted); margin-left: 6px; }

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--ink-3); margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; box-shadow: 0 0 0 3px var(--accent-soft); }

/* Hero product mockup */
.hero-visual { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0; box-shadow: var(--shadow-lg); overflow: hidden; }
.hv-chrome { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.hv-bar { display: flex; gap: 6px; }
.hv-dot { width: 10px; height: 10px; border-radius: 50%; background: #d8dce5; }
.hv-dot:nth-child(1) { background: #ff5f57; }
.hv-dot:nth-child(2) { background: #febc2e; }
.hv-dot:nth-child(3) { background: #28c840; }
.hv-url { flex: 1; padding: 5px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; font-size: 11px; color: var(--muted); text-align: center; letter-spacing: -0.01em; }
.hv-body { padding: 20px 22px 22px; }
.hv-tabs { display: flex; gap: 22px; margin-bottom: 18px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.hv-tab { font-size: 12px; font-weight: 500; color: var(--muted); padding-bottom: 6px; }
.hv-tab.active { color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 4px; margin-bottom: -2px; }
.hv-stack { display: grid; gap: 8px; }
.hv-row { display: grid; grid-template-columns: 78px 1fr auto; gap: 14px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; align-items: center; font-size: 13px; transition: transform .15s, box-shadow .15s; }
.hv-row:hover { transform: translateX(2px); box-shadow: var(--shadow-sm); }
.hv-tag { font-size: 11px; padding: 3px 9px; background: var(--bg-2); color: var(--ink-3); border-radius: 999px; font-weight: 500; text-align: center; border: 1px solid var(--line); }
.hv-tag.green { background: #ecf7f0; color: #1f7a3d; border-color: #d1ecdb; }
.hv-tag.amber { background: var(--sun-soft); color: var(--sun-dk); border-color: #ecdfb3; }
.hv-tag.rose { background: var(--accent-soft); color: var(--accent-dk); border-color: var(--accent-tint); }
.hv-money { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.hv-row strong { font-weight: 600; color: var(--ink); }
.hv-row .sub { color: var(--muted); font-size: 12px; }

/* ============ TRUST STRIP ============ */
.trust { padding: 36px 0; border-bottom: 1px solid var(--line); background: var(--bg-3); }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-label { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.trust-item { font-size: 14px; font-weight: 500; color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; letter-spacing: -0.01em; }
.trust-item::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* ============ SECTION ============ */
section.section { padding: 120px 0; }
section.section + section.section { border-top: 1px solid var(--line); }
section.section.alt { background: var(--bg-2); }
section.section.dark { background: var(--ink); color: #fff; }
section.section.page-head { padding: 96px 0 48px; border-bottom: 0; }
.section-head { max-width: 760px; margin-bottom: 64px; }

/* ============ FEATURES (editorial, no cards) ============ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 64px; row-gap: 64px; }
.feature { padding: 0; }
.feature .icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); margin-bottom: 22px; font-size: 20px; }
.feature:nth-child(3n+2) .icon { background: var(--sky-soft); color: var(--sky-dk); }
.feature:nth-child(3n) .icon { background: var(--sun-soft); color: var(--sun-dk); }
.feature h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.feature p { margin: 0; font-size: 15px; color: var(--ink-3); line-height: 1.65; }

/* ============ AUDIENCES (editorial rows) ============ */
.audiences { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.audience { display: grid; grid-template-columns: 1.2fr 2fr; column-gap: 80px; padding: 56px 0; border-bottom: 1px solid var(--line); align-items: start; }
.audience-label { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.audience h3 { margin: 0; font-size: 32px; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); line-height: 1.15; }
.audience-content { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; }
.audience p { margin: 0; font-size: 16px; color: var(--ink-3); line-height: 1.65; }
.audience ul { margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-3); display: grid; gap: 12px; align-content: start; }
.audience ul li { padding-left: 24px; position: relative; line-height: 1.5; }
.audience ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 1px; background: var(--accent); }
.audience:nth-child(2) ul li::before { background: var(--sky); }
.audience:nth-child(3) ul li::before { background: var(--sun); }

/* ============ STATS BAND ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 48px 32px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { font-size: 44px; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); line-height: 1; margin-bottom: 8px; font-family: 'Inter', sans-serif; font-variant-numeric: tabular-nums; }
.stat-num em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--muted); letter-spacing: -0.005em; line-height: 1.45; }

/* ============ COMPLIANCE / FORMS ============ */
.compliance { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 96px; align-items: start; }
.compliance ul { padding-left: 0; list-style: none; margin: 0; }
.compliance li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.compliance li:first-child { padding-top: 0; }
.compliance li:last-child { border-bottom: 0; }
.compliance li .check { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.compliance li strong { display: block; margin-bottom: 4px; font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.compliance li span { font-size: 14.5px; color: var(--ink-3); line-height: 1.6; }

/* ============ CTA PANEL ============ */
.cta-panel { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 88px 56px; text-align: center; position: relative; overflow: hidden; }
.cta-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 30% 0%, rgba(160,40,88,.32), transparent 60%), radial-gradient(ellipse 60% 80% at 80% 100%, rgba(62,99,145,.22), transparent 60%); pointer-events: none; }
.cta-panel > * { position: relative; }
.cta-panel h2 { margin: 0 0 16px; font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
.cta-panel h2 em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; color: #f6dbe5; letter-spacing: -0.01em; }
.cta-panel p { margin: 0 auto 32px; color: rgba(255,255,255,.72); font-size: 18px; max-width: 540px; line-height: 1.55; }
.cta-panel .btn-primary { background: #fff; color: var(--ink); }
.cta-panel .btn-primary:hover { background: var(--accent-soft); color: var(--accent-dk); }

/* ============ FOOTER ============ */
footer { padding: 80px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); background: var(--bg); }
footer .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; }
footer .foot-brand .logo { font-size: 19px; }
footer .foot-brand p { margin: 14px 0 0; font-size: 13px; color: var(--muted); max-width: 280px; line-height: 1.6; }
footer h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin: 0 0 16px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer ul a { color: var(--ink-3); text-decoration: none; font-size: 14px; }
footer ul a:hover { color: var(--accent); }
footer .foot-bottom { grid-column: 1 / -1; padding-top: 32px; margin-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero h1 { font-size: 52px; }
  h1.page-title { font-size: 44px; }
  h2.section-title, .cta-panel h2 { font-size: 34px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 72px 0 64px; }
  section.section { padding: 80px 0; }
  .hero-inner, .compliance, .audience, .audience-content { grid-template-columns: 1fr; gap: 32px; }
  .audience { padding: 40px 0; }
  .features { grid-template-columns: 1fr; column-gap: 0; row-gap: 40px; }
  .hero h1 { font-size: 40px; letter-spacing: -0.03em; }
  h1.page-title { font-size: 34px; }
  h2.section-title, .cta-panel h2 { font-size: 28px; }
  .audience h3 { font-size: 26px; }
  p.section-lead, .hero p.lead { font-size: 17px; }
  .cta-panel { padding: 56px 28px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  footer .wrap { grid-template-columns: 1fr; gap: 32px; }
  nav.links a:not(.btn) { display: none; }
  .trust-inner { gap: 18px 28px; }
}

/* Long-form legal prose */
.legal-prose .wrap { max-width: 820px; }
.legal-prose p { font-size: 16px; line-height: 1.75; color: var(--ink-2); margin: 0 0 18px; }
.legal-prose h2 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.015em;
  margin: 44px 0 14px; color: var(--ink);
}
.legal-prose h2:first-of-type { margin-top: 8px; }
.legal-prose ul { padding-left: 20px; margin: 0 0 18px; color: var(--ink-2); }
.legal-prose ul li { margin-bottom: 8px; line-height: 1.65; }
.legal-prose ul ul { margin-top: 6px; }
.legal-prose a { color: var(--accent); }
.legal-prose a:hover { color: var(--accent-dk); }
.legal-prose strong { color: var(--ink); font-weight: 600; }
.legal-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px; background: var(--bg-2); padding: 1px 6px; border-radius: 4px;
  border: 1px solid var(--line);
}
.legal-prose .legal-disclaimer {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px;
}
