/* BRINK marketing site (getbrink.net). Hand-written, no framework. Hanken Grotesk is self-hosted
   (SIL Open Font License, assets/fonts/OFL-LICENSE.txt). No inline styles or scripts: the CSP is
   default-src 'self'. */

@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-display: swap; font-weight: 300; src: url(/assets/fonts/hanken-grotesk-latin-300-normal.9155894646.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/fonts/hanken-grotesk-latin-400-normal.787b3fdd0b.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-display: swap; font-weight: 500; src: url(/assets/fonts/hanken-grotesk-latin-500-normal.31f666af7b.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-display: swap; font-weight: 600; src: url(/assets/fonts/hanken-grotesk-latin-600-normal.58f23b7ae3.woff2) format('woff2'); }

:root {
  --ink: #121214;
  --bg: #FBFBFB;
  --white: #FFFFFF;
  --panel: #F2F2F4;
  --line: #E4E4E8;
  --muted: #4E4E54;
  --subtle: #5E5E63;
  --violet: #6B35D9;
  --violet-soft: #EFE8FD;
  --violet-light: #B9A0FF;
  --field: #8A8A93;          /* input borders: 3.4:1 on white (WCAG 1.4.11) */
  --ok: #2E7D32;
  --err: #B3261E;
  --dark: #121214;
  --dark-text: #F5F5F7;
  --dark-card: #1E1E22;
  --dark-line: #2C2C32;
  --dark-muted: #B4B4BC;
  --dark-field: #76767E;     /* 3.7:1 on the dark input background */
  --dark-ok: #9CCB6A;
  --dark-err: #FF8A80;
  --radius: 22px;
  --pill: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Hanken Grotesk', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
a { color: var(--ink); text-underline-offset: 0.15em; }
a:hover { color: var(--violet); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.dark :focus-visible { outline-color: var(--violet-light); }
h1, h2, h3, p, ul { margin: 0; }
b, strong { font-weight: 600; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 10; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--pill); text-decoration: none; }
.skip:focus { top: 12px; color: var(--bg); }
.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; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 480px) { .wrap { padding-left: 16px; padding-right: 16px; } }

/* ---------------------------------------------------------------- header */
.site-header { background: rgba(251, 251, 251, 0.94); border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .site-header.sticky { position: sticky; top: 0; z-index: 5; } }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 14px; padding-bottom: 14px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 22px; width: auto; display: block; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 24px; flex: 1 1 320px; font-size: 15px; margin: 0; padding: 0; list-style: none; }
.nav-links a, .nav-signin { text-decoration: none; }
.nav-links a { display: inline-block; padding: 4px 0; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-signin { font-size: 15px; padding: 10px 14px; }
.btn {
  display: inline-block; font: inherit; font-size: 16px; font-weight: 500; line-height: 1.5; text-align: center; text-decoration: none;
  padding: 14px 22px; border: 0; border-radius: var(--pill); background: var(--ink); color: var(--bg); cursor: pointer;
}
.btn:hover { color: var(--bg); background: #2A2A2E; }
.btn-sm { font-size: 15px; padding: 11px 20px; }
.btn-light { background: #EEEEEE; color: var(--ink); }
.btn-light:hover { background: #E2E2E6; color: var(--ink); }
.btn-inverse { background: var(--dark-text); color: var(--ink); }
.btn-inverse:hover { background: #FFFFFF; color: var(--ink); }
.btn[aria-disabled="true"] { opacity: 0.7; cursor: progress; }

/* ---------------------------------------------------------------- type */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet); }
.dark .eyebrow { color: var(--violet-light); }
.h1 { font-size: clamp(40px, 5.2vw, 68px); font-weight: 500; line-height: 1.03; letter-spacing: -0.025em; }
.h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; }
.lede { font-size: 20px; color: var(--muted); max-width: 540px; }
.intro { font-size: 18px; color: var(--muted); }
.dark .intro { color: var(--dark-muted); }
.small { font-size: 14px; color: var(--subtle); }
.muted { color: var(--muted); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.stack { display: flex; flex-direction: column; }

/* ---------------------------------------------------------------- hero */
.hero { padding-top: 88px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-shot { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.hero-shot img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: 0 24px 64px rgba(18, 18, 20, 0.12); }
@media (max-width: 600px) { .hero { padding-top: 48px; gap: 36px; } .hero-copy, .hero-shot { flex-basis: 100%; } .lede { font-size: 18px; } }

.inline-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 560px; }
.inline-form input[type="email"] {
  flex: 1 1 240px; min-width: 0; font: inherit; font-size: 16px; padding: 14px 18px;
  border: 1px solid var(--field); border-radius: var(--pill); background: var(--white); color: var(--ink);
}
.inline-form .btn { flex: 0 1 auto; }
@media (max-width: 480px) { .inline-form .btn { flex: 1 1 100%; } }

/* form messages (filled by site.js) */
.form-status { font-size: 15px; margin: 0; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.dark .form-status.ok { color: var(--dark-ok); }
.dark .form-status.err { color: var(--dark-err); }
.dark .form-status a { color: var(--dark-text); }
.form-note { font-size: 14px; color: var(--subtle); }
.dark .form-note { color: var(--dark-muted); }
.dark .form-note a { color: var(--dark-text); }

/* honeypot: off-screen, never focusable */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- sources strip */
.sources { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.sources .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 18px 48px; align-items: center; justify-content: space-between; }
.sources-title { font-size: 16px; font-weight: 600; }
.platforms { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 36px; align-items: center; }
.platforms li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: #3A3A40; }
.platforms img { width: 26px; height: 26px; display: block; }
.platforms img.x { width: 22px; height: 22px; }
@media (max-width: 480px) { .platforms { gap: 14px 24px; } }

/* ---------------------------------------------------------------- sections */
.problem { padding-top: 96px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.stat { border-top: 2px solid var(--ink); padding-top: 16px; }
.stat-num { font-size: 56px; font-weight: 300; line-height: 1; letter-spacing: -0.03em; }
.stat p + p { margin-top: 8px; color: var(--muted); }
.sources-note { font-size: 13px; color: var(--subtle); }

.how { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 36px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 24px; font-weight: 600; line-height: 1.25; }
.card p { color: var(--muted); }
.card .step { font-size: 14px; font-weight: 600; color: var(--violet); }

.dark { background: var(--dark); color: var(--dark-text); }
.dark a { color: var(--dark-text); }
.dark a:hover { color: var(--violet-light); }
.band { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 36px; }
.dark .card { background: var(--dark-card); border-color: var(--dark-line); }
.dark .card h3 { font-size: 22px; }
.dark .card p { color: var(--dark-muted); }
@media (max-width: 600px) { .band, .problem { padding-top: 64px; } .band { padding-bottom: 64px; } }

/* comparison table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 16px; }
.compare thead tr { background: var(--panel); }
.compare th, .compare td { text-align: left; padding: 16px 20px; vertical-align: top; }
.compare thead th { font-weight: 600; }
.compare thead th:first-child { width: 28%; }
.compare thead th.us { color: var(--violet); }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare tbody th { font-weight: 500; }
.compare tbody td + td { color: var(--muted); }
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.principles h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.principles p { color: var(--muted); }

/* pricing */
.pricing { background: var(--panel); border-top: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.plan.featured { border: 2px solid var(--violet); padding: 31px; }
.plan h3 { font-size: 24px; font-weight: 600; }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.badge { font-size: 13px; font-weight: 600; color: var(--violet); background: var(--violet-soft); padding: 4px 10px; border-radius: 20px; }
.price-num { font-size: 44px; font-weight: 300; letter-spacing: -0.02em; }
.plan ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.plan .btn { margin-top: auto; padding: 13px 20px; }

/* FAQ */
.faq { max-width: 880px; margin: 0 auto; padding: 96px 24px; display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 480px) { .faq { padding-left: 16px; padding-right: 16px; } }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 19px; font-weight: 500; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* closing call to action */
.cta { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.cta-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cta-form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta-form label { font-size: 14px; color: var(--dark-muted); }
.cta-form input {
  font: inherit; font-size: 16px; padding: 14px 18px; border: 1px solid var(--dark-field); border-radius: 14px;
  background: var(--dark-card); color: var(--dark-text); width: 100%;
}
.cta-form .btn { margin-top: 6px; }
@media (max-width: 600px) { .cta-copy, .cta-form { flex-basis: 100%; } }

/* footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand img { height: 18px; width: auto; align-self: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------------------------------------------------------------- book a demo */
.demo-main { padding-top: 72px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.demo-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.demo-h1 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 500; line-height: 1.05; letter-spacing: -0.025em; }
.demo-lede { font-size: 19px; color: var(--muted); }
.gets { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.gets li { display: flex; gap: 14px; }
.gets .num { flex: 0 0 28px; height: 28px; border-radius: 14px; background: var(--violet-soft); color: var(--violet); font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.gets .muted { display: block; }
.privacy-note { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--muted); }
.privacy-note b { color: var(--ink); }
.demo-panel {
  flex: 1 1 460px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 36px;
  box-shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 16px 48px -18px rgba(17, 17, 17, .14);
}
@media (max-width: 600px) { .demo-main { padding-top: 40px; gap: 40px; } .demo-panel { padding: 24px 20px; flex-basis: 100%; } .demo-copy { flex-basis: 100%; } }
.demo-form { display: flex; flex-direction: column; gap: 18px; }
.demo-form h2 { font-size: 24px; font-weight: 600; }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.field { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field .opt { color: var(--subtle); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--field); border-radius: 12px;
  background: var(--white); color: var(--ink); width: 100%;
}
.field textarea { resize: vertical; }
.demo-form .btn { padding: 15px 22px; }
.demo-form .fine { font-size: 13px; color: var(--subtle); }
.done { display: flex; flex-direction: column; gap: 14px; padding: 24px 0; }
.done[hidden] { display: none; }
.done .tick { width: 48px; height: 48px; border-radius: 24px; background: #E8F5E9; color: var(--ok); display: flex; align-items: center; justify-content: center; }
.done h2 { font-size: 26px; font-weight: 600; }
.done h2:focus { outline: none; }
.done p { color: var(--muted); }
.done a { font-weight: 500; }

/* 404 */
.notfound { padding-top: 96px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.gap-16 { gap: 16px; }
.gap-18 { gap: 18px; }
.h-sub { font-size: 20px; font-weight: 600; }
/* full-width fields sit directly in the column form: no flex-basis there (it would become a height) */
.demo-form > .field { flex: none; }
