/* Northstack Partners. Design system: "Trust & Authority + Conversion" (ui-ux-pro-max),
   navy + blue CTA, Plus Jakarta Sans with Geist Mono for data. Light/dark via prefers-color-scheme. */

@font-face { font-family: "Jakarta"; src: url("assets/fonts/jakarta-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("assets/fonts/jakarta-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("assets/fonts/jakarta-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("assets/fonts/jakarta-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("assets/fonts/jakarta-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("assets/fonts/geist-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("assets/fonts/geist-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --muted: #eef2f6;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --accent: #0369a1;
  --on-accent: #ffffff;
  --accent-soft: #e0f0fa;
  --navy: #0f172a;
  --on-navy: #f1f5f9;
  --on-navy-2: #b6c2d3;
  --good: #047857;
  --bad: #b42318;
  --grid: rgb(15 23 42 / .055);
  --shadow: 0 1px 2px rgb(15 23 42 / .06), 0 18px 40px -20px rgb(15 23 42 / .22);
  --radius: 12px;
  --wrap: 1200px;
  --sans: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --surface: #111a2c;
    --muted: #152036;
    --ink: #e5eaf2;
    --ink-2: #a9b4c4;
    --ink-3: #8794a8;
    --line: #213049;
    --line-strong: #2d3f5d;
    --accent: #38bdf8;
    --on-accent: #0b1220;
    --accent-soft: #0f2a40;
    --navy: #16223a;
    --on-navy: #eef2f8;
    --on-navy-2: #a9b4c4;
    --good: #34d399;
    --bad: #f87171;
    --grid: rgb(148 163 184 / .07);
    --shadow: 0 1px 2px rgb(0 0 0 / .35), 0 20px 44px -20px rgb(0 0 0 / .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; }
h1, h2 { font-weight: 800; }
h3 { font-weight: 700; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.icon { width: 20px; height: 20px; flex: none; fill: currentColor; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 10px 14px; border-radius: var(--radius); }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons: 44px+ touch targets, one accent */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  font: 700 15.5px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn .icon { width: 17px; height: 17px; transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.brand svg { width: 30px; height: 30px; }
.brand small { font-weight: 500; color: var(--ink-3); font-size: 19px; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; transition: color .2s ease, background-color .2s ease; }
.nav-links a:hover { color: var(--ink); background: var(--muted); }

/* Hero with blueprint grid */
.hero { position: relative; padding: 72px 0 80px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font: 600 13.5px/1 var(--sans); color: var(--ink-2); }
.kicker .icon { width: 16px; height: 16px; color: var(--accent); }
.hero h1 { margin-top: 22px; font-size: clamp(34px, 3.4vw, 48px); letter-spacing: -0.035em; line-height: 1.06; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-top: 22px; font-size: 19px; color: var(--ink-2); max-width: 46ch; }
.hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Meeting brief */
.brief { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 26px 26px 22px; }
.brief-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.brief-head h2 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.brief-head h2 .icon { color: var(--accent); }
.tag { font: 500 12px/1 var(--mono); color: var(--ink-3); background: var(--muted); border-radius: 999px; padding: 6px 10px; white-space: nowrap; }
.brief dl { margin: 16px 0 0; display: grid; grid-template-columns: 104px 1fr; gap: 8px 14px; font-size: 15px; line-height: 1.5; }
.brief dt { color: var(--ink-3); font: 400 12.5px/1.7 var(--mono); }
.brief dd { margin: 0; font-weight: 500; }
.checks { list-style: none; margin: 18px 0 0; padding: 16px; border-radius: 10px; background: var(--muted); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; font-size: 14px; font-weight: 600; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks .icon { width: 18px; height: 18px; color: var(--good); }
.brief-foot { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

/* Proof strip */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 28px 24px; border-left: 1px solid var(--line); }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-item strong { display: block; font: 500 30px/1.1 var(--mono); letter-spacing: -0.03em; color: var(--ink); }
.proof-item span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }

/* Sections */
section { scroll-margin-top: 84px; }
.section { padding: 104px 0; }
.section-head { max-width: 720px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.03em; text-wrap: balance; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--ink-2); }
.section-head p a { color: var(--ink-3); font-size: 15px; }
.alt { background: var(--muted); }

/* Comparison */
.compare { margin-top: 48px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.compare table { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 20px 24px; }
.compare thead th { font: 600 13px/1.3 var(--mono); color: var(--ink-3); background: var(--muted); border-bottom: 1px solid var(--line); }
.compare thead th.us { color: var(--accent); }
.compare tbody tr + tr td, .compare tbody tr + tr th { border-top: 1px solid var(--line); }
.compare tbody th { font-weight: 700; width: 24%; }
.compare td { color: var(--ink-2); width: 38%; }
.compare td.us { color: var(--ink); font-weight: 500; background: color-mix(in srgb, var(--accent-soft) 55%, transparent); }
.cmp { display: flex; gap: 10px; align-items: flex-start; }
.cmp .icon { width: 18px; height: 18px; margin-top: 3px; }
.cmp-no .icon { color: var(--bad); }
.cmp-yes .icon { color: var(--good); }

/* Steps */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s ease, transform .2s ease; }
.step:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.step-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.step-icon .icon { width: 22px; height: 22px; }
.step h3 { margin-top: 20px; font-size: 20px; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.step-time { display: inline-block; margin-top: 16px; font: 500 12.5px/1 var(--mono); color: var(--ink-3); }

/* Triggers */
.triggers { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.trigger { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; align-content: start; }
.trigger time, .trigger .when { justify-self: start; font: 500 13px/1 var(--mono); color: var(--accent); background: var(--accent-soft); padding: 8px 11px; border-radius: 999px; }
.trigger h3 { margin-top: 6px; font-size: 21px; }
.trigger p { color: var(--ink-2); font-size: 16px; }
.trigger p a { color: var(--ink-3); font-size: 14px; white-space: nowrap; }

/* Offer: navy pricing card + fit list */
.offer { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.price-card { background: var(--navy); color: var(--on-navy); border-radius: 16px; padding: 40px; display: flex; flex-direction: column; gap: 24px; box-shadow: var(--shadow); }
.price-card .label { font: 500 13px/1 var(--mono); color: var(--on-navy-2); }
.price-main { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-main strong { font: 800 64px/1 var(--sans); letter-spacing: -0.04em; color: var(--on-navy); }
.price-main span { color: var(--on-navy-2); font-size: 17px; }
.price-list { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid rgb(255 255 255 / .14); display: grid; gap: 12px; }
.price-list li { display: flex; gap: 10px; color: var(--on-navy); font-size: 16px; }
.price-list .icon { width: 18px; height: 18px; margin-top: 4px; color: #7dd3fc; }
.price-card .btn { align-self: flex-start; margin-top: auto; }
@media (prefers-color-scheme: light) { .price-card .btn-primary { background: #38bdf8; color: #0b1220; } .price-card .btn-primary:hover { background: #7dd3fc; } }
.fit-card { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 40px; }
.fit-card h3 { font-size: 21px; }
.fit { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.fit li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; }
.fit .icon { width: 20px; height: 20px; color: var(--good); margin-top: 3px; }
.fit-card .note { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 72px; align-items: start; }
.about-copy p { margin-top: 18px; color: var(--ink-2); max-width: 62ch; font-size: 18px; }
.about-copy p:first-of-type { margin-top: 26px; color: var(--ink); font-weight: 600; }
.cred { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.cred-top { padding: 26px; background: var(--navy); color: var(--on-navy); display: flex; gap: 16px; align-items: center; }
.cred-badge { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: rgb(255 255 255 / .1); font: 500 14px/1 var(--mono); color: #7dd3fc; flex: none; }
.cred-top strong { display: block; font-size: 17px; }
.cred-top span { display: block; margin-top: 4px; font-size: 14px; color: var(--on-navy-2); }
.cred dl { margin: 0; padding: 6px 26px 12px; }
.cred dl div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.cred dl div:last-child { border-bottom: 0; }
.cred dt { font: 400 12.5px/1.4 var(--mono); color: var(--ink-3); }
.cred dd { margin: 4px 0 0; font-weight: 600; }
.cred a { color: var(--accent); text-underline-offset: 3px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s ease; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; min-height: 44px; padding: 20px 56px 20px 22px; position: relative; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--muted); font: 500 18px/1 var(--mono); color: var(--ink-2); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--ink-2); font-size: 16px; max-width: 64ch; }

/* Closing CTA */
.closing { padding: 0 0 104px; }
.closing-box { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 48px; border-radius: 20px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line)); }
.closing h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.03em; }
.closing p { margin-top: 12px; color: var(--ink-2); max-width: 52ch; font-size: 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 52px 0 56px; font-size: 14.5px; color: var(--ink-3); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-grid p + p { margin-top: 10px; }
.footer-grid a { color: var(--ink-2); }
.site-footer .brand { margin-bottom: 14px; font-size: 17px; }
.site-footer .brand small { font-size: 17px; }
.fineprint { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }

/* Legal page */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(34px, 4vw, 46px); letter-spacing: -0.03em; }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal p, .legal li { color: var(--ink-2); margin-top: 14px; }
.legal ul { padding-left: 20px; }
.legal .updated { margin-top: 12px; font: 400 14px/1.4 var(--mono); color: var(--ink-3); }

/* Motion: entrance + scroll reveal, skipped under reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .6s cubic-bezier(.16, 1, .3, 1) both; }
  .d2 { animation-delay: .07s; } .d3 { animation-delay: .14s; } .d4 { animation-delay: .21s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 60ms); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Tablet */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .hero-grid, .about-grid, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .proof-item:nth-child(-n+2) { border-top: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .offer { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 56px; }
  .hero .lead { font-size: 17px; }
  .section { padding: 72px 0; }
  .brief { padding: 20px; }
  .brief dl { grid-template-columns: 1fr; gap: 2px; }
  .brief dd { margin-bottom: 10px; }
  .checks { grid-template-columns: 1fr; }
  .proof-item { padding: 20px 0; }
  .proof-item strong { font-size: 24px; }
  .steps, .triggers { grid-template-columns: 1fr; }
  .compare thead { display: none; }
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tbody tr { padding: 18px 18px 6px; }
  .compare tbody tr + tr { border-top: 1px solid var(--line); }
  .compare tbody th { padding: 0 0 10px; width: auto; }
  .compare td { width: auto; }
  .compare td { padding: 10px 12px; border-radius: 10px; margin-bottom: 10px; }
  .compare tbody tr + tr td, .compare tbody tr + tr th { border-top: 0; }
  .compare td::before { content: attr(data-label); display: block; font: 500 11.5px/1.4 var(--mono); color: var(--ink-3); margin-bottom: 4px; }
  .compare td.us::before { color: var(--accent); }
  .price-card, .fit-card { padding: 28px 22px; }
  .price-main strong { font-size: 52px; }
  .closing-box { grid-template-columns: 1fr; padding: 32px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .brand small { display: none; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
