/* Botsense site. Same design language as the in-app dashboard: hairlines, mono caps labels, ink on white, one accent. */
@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url('../fonts/inter-var.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 200 800; font-display: swap; src: url('../fonts/manrope-var.woff2') format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-weight: 400 600; font-display: swap; src: url('../fonts/geist-mono-var.woff2') format('woff2'); }

:root {
  --ink: #0A0A0A; --text: #262626; --muted: #6B6B6B; --faint: #A3A3A3;
  --line: #E7E5E4; --line-2: #F1F0EE; --bg: #FFFFFF; --soft: #FAFAF9;
  --blue: #2451B5;
  --human: #16A34A; --suspect: #D97706; --bot: #DC2626; --unknown: #A3A3A3;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: Manrope, Inter, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --w: 1120px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; }

/* frame: the page sits between two hairlines, sections are separated by hairlines */
.wrap { max-width: var(--w); margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.sec { border-top: 1px solid var(--line); padding: 112px 64px; position: relative; }
.sec.tight { padding-top: 0; padding-bottom: 0; }
.plus { position: absolute; top: -6px; width: 11px; height: 11px; color: var(--faint); pointer-events: none; }
.plus.l { left: -6px; } .plus.r { right: -6px; }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; }
.plus::before { left: 5px; top: 0; width: 1px; height: 11px; }
.plus::after { top: 5px; left: 0; height: 1px; width: 11px; }

/* type */
.label { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.label i { width: 6px; height: 6px; background: var(--blue); display: inline-block; }
h1, h2 { font-family: var(--display); font-weight: 600; color: var(--ink); letter-spacing: -.035em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; max-width: 16em; }
h1 .dim, h2 .dim { color: var(--faint); }
h3 { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink); margin: 0; letter-spacing: -.01em; }
.lede { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 34em; margin: 24px 0 0; }
.lede b { color: var(--ink); font-weight: 500; }
p { margin: 0; }
.muted { color: var(--muted); }
.tag { font: 500 12px/20px var(--mono); color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

/* buttons: black primary, hairline secondary */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 8px; font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; }
.btn-ink { background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(0,0,0,.2); }
.btn-ink:hover { background: #262626; }
.btn-line { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.btn-line:hover { border-color: #D6D3D1; background: var(--soft); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 7px; }
.btn svg { width: 16px; height: 16px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.top .in { max-width: var(--w); margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 40px; padding: 0 24px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -.02em; color: var(--ink); }
.brand svg { width: 24px; height: 24px; color: var(--blue); }
.nav { display: flex; gap: 28px; font-size: 14px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.top .cta { margin-left: auto; display: flex; gap: 8px; }

/* hero */
.hero { padding: 96px 64px 0; text-align: center; overflow: hidden; background:
  linear-gradient(to bottom, transparent 0, var(--bg) 92%),
  linear-gradient(var(--line-2) 1px, transparent 1px) 0 0 / 48px 48px,
  linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 0 / 48px 48px; }
.hero .label { justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 30px; padding: 0 12px 0 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 13px; color: var(--muted); text-decoration: none; margin-bottom: 32px; }
.pill b { font: 500 11px/20px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--ink); border-radius: 999px; padding: 0 8px; }
.hero h1 { max-width: 13em; margin: 0 auto; }
.hero .lede { margin: 28px auto 0; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.fine { margin-top: 18px; font: 500 11px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.fine span::before { content: "✓"; margin-right: 6px; color: var(--muted); }

.shot { position: relative; margin: 72px auto 0; max-width: 1000px; border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; background: var(--bg); padding: 8px 8px 0;
  box-shadow: 0 0 0 6px rgba(10,10,10,.025), 0 30px 80px -20px rgba(10,10,10,.18); }
.shot .bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; font: 12px/1 var(--mono); color: var(--faint); }
.shot .bar svg { width: 14px; height: 14px; color: var(--blue); }
.shot .bar .url { border: 1px solid var(--line-2); background: var(--soft); border-radius: 6px; padding: 5px 10px; }
.shot .frame { border: 1px solid var(--line); border-bottom: 0; border-radius: 8px 8px 0 0; overflow: hidden; height: 520px; position: relative; }
.shot .frame img { width: 100%; height: auto; }
.shot .frame::after { content: ""; position: absolute; inset: auto 0 0 0; height: 140px; background: linear-gradient(transparent, var(--bg)); }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats > div { padding: 36px 32px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats b { display: block; font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1; color: var(--ink); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* problem */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.quotes figure { margin: 0; padding: 32px 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; justify-content: space-between; background: var(--bg); }
.quotes figure:first-child { border-left: 0; }
.quotes blockquote { margin: 0; font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.45; letter-spacing: -.015em; color: var(--ink); }
.quotes figcaption { font: 500 11px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.quotes .stars { color: var(--bot); letter-spacing: 2px; font-size: 12px; }

/* how it works */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: start; }
.steps { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps .n { font: 500 12px/24px var(--mono); color: var(--faint); grid-row: span 2; }
.steps p { color: var(--muted); font-size: 15px; }
.rule { margin-top: 28px; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.rule svg { width: 18px; height: 18px; color: var(--ink); flex-shrink: 0; margin-top: 3px; }
.rule b { color: var(--ink); font-weight: 500; }

/* live feed card, styled like the dashboard */
.card { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); overflow: hidden; box-shadow: 0 1px 2px rgba(10,10,10,.04), 0 16px 40px -16px rgba(10,10,10,.12); }
.card-head { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 18px; border-bottom: 1px solid var(--line); font: 500 11px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--human); box-shadow: 0 0 0 3px rgba(22,163,74,.15); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(22,163,74,0); } }
.feed { list-style: none; margin: 0; padding: 0; height: 432px; overflow: hidden; position: relative; }
.feed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 72px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.feed li { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 18px; border-bottom: 1px solid var(--line-2); font-size: 14px; transition: background 1.2s; }
.feed li.new { animation: drop .5s cubic-bezier(.2,.8,.2,1); background: var(--soft); }
@keyframes drop { from { opacity: 0; transform: translateY(-12px); } }
.feed .v { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.feed .w { color: var(--ink); font-weight: 500; }
.feed .why { color: var(--muted); font-size: 13px; margin-top: 2px; }
.feed .t { font: 12px/20px var(--mono); color: var(--faint); white-space: nowrap; }
.feed .tag { font-size: 11px; display: inline-block; margin-top: 8px; }
.card-foot { display: flex; justify-content: space-between; padding: 12px 18px; border-top: 1px solid var(--line); font: 500 11px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); background: var(--soft); }

/* safety grid */
.grid4 { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 64px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.grid4 > div { padding: 36px 36px 40px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid4 > div:nth-child(-n+2) { border-top: 0; }
.grid4 > div:nth-child(odd) { border-left: 0; }
.grid4 .k { font: 500 11px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 40px; display: flex; align-items: center; gap: 10px; }
.grid4 .k svg { width: 20px; height: 20px; color: var(--ink); }
.grid4 h3 { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.25; letter-spacing: -.025em; }
.grid4 p { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 30em; }
.people { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.people span.chip { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--ink); background: var(--bg); font-size: 13px; }

/* use the tags */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.use .mini { border: 1px solid var(--line); border-radius: 10px; background: var(--soft); padding: 16px; height: 148px; display: flex; flex-direction: column; justify-content: center; gap: 8px; margin-bottom: 24px; }
.mini .row { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 13px; color: var(--ink); box-shadow: 0 1px 2px rgba(10,10,10,.04); }
.mini .row.off { opacity: .45; }
.mini .row .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini .row .tag { font-size: 11px; padding: 0 5px; }
.mini .row .st { font: 11px/1 var(--mono); color: var(--muted); }
.use p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 64px; }
.price { border: 1px solid var(--line); border-radius: 14px; padding: 36px; display: flex; flex-direction: column; background: var(--bg); }
.price.pro { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 20px 50px -24px rgba(10,10,10,.25); }
.price .top-row { min-height: 22px; display: flex; justify-content: space-between; align-items: center; }
.price .name { font: 500 12px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.price .badge { font: 500 11px/20px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 0 9px; }
.price .amt { font-family: var(--display); font-weight: 600; font-size: 52px; line-height: 1; color: var(--ink); margin: 28px 0 8px; letter-spacing: -.045em; }
.price .amt small { font-family: var(--sans); font-size: 15px; color: var(--muted); letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 28px 0 32px; border-top: 1px solid var(--line-2); flex: 1; }
.price li { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.price li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; color: var(--ink); }
.price .btn { width: 100%; }
.price-note { margin-top: 24px; font-size: 14px; color: var(--muted); }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; }
.faq-grid h2 { max-width: 8em; }
.faq-side p { margin-top: 20px; color: var(--muted); font-size: 15px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 17px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 22px/24px var(--sans); color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); font-size: 15px; }

/* final cta */
.final { text-align: center; padding: 128px 64px; background:
  radial-gradient(ellipse 60% 70% at 50% 50%, transparent 30%, var(--bg) 75%),
  linear-gradient(var(--line-2) 1px, transparent 1px) 0 0 / 48px 48px,
  linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 0 / 48px 48px; }
.final svg.big { width: 56px; height: 56px; color: var(--blue); margin: 0 auto 32px; display: block; }
.final h2 { margin: 0 auto; max-width: 13em; }
.final .lede { margin: 24px auto 0; }
.final .ctas { display: flex; gap: 12px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px 64px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; gap: 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .legal { width: 100%; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-2); font: 12px/18px var(--mono); color: var(--faint); }

/* reveal */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .feed li.new, .live i { animation: none; } }

@media (max-width: 960px) {
  .sec { padding: 88px 32px; }
  .hero { padding: 72px 24px 0; }
  .split, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .quotes, .uses { grid-template-columns: 1fr; }
  .quotes figure { border-left: 0; border-top: 1px solid var(--line); }
  .quotes figure:first-child { border-top: 0; }
  .nav { display: none; }
}
@media (max-width: 640px) {
  .wrap { border: 0; }
  .plus { display: none; }
  .sec { padding: 72px 20px; }
  .final { padding: 88px 20px; }
  .foot { padding: 32px 20px; }
  .top .in { padding: 0 16px; gap: 16px; }
  .top .cta .btn-line { display: none; }
  .hero { padding: 56px 20px 0; }
  .lede { font-size: 17px; }
  .shot { margin-top: 48px; padding: 6px 6px 0; border-radius: 10px 10px 0 0; }
  .shot .bar .url { display: none; }
  .shot .frame { height: 420px; }
  .stats > div { padding: 28px 20px; }
  .stats b { font-size: 34px; }
  .grid4 { grid-template-columns: 1fr; }
  .grid4 > div { border-left: 0 !important; border-top: 1px solid var(--line) !important; padding: 28px 24px 32px; }
  .grid4 > div:first-child { border-top: 0 !important; }
  .grid4 .k { margin-bottom: 24px; }
  .prices { grid-template-columns: 1fr; }
  .price { padding: 28px 24px; }
  .feed li { grid-template-columns: minmax(0, 1fr) auto; }
  .feed .v { grid-column: 1; }
  .feed .t { grid-column: 2; grid-row: 1; }
  .feed .m { grid-column: 1 / -1; }
  .faq details p { padding-right: 0; }
}

/* ---------- motion & subtle effects (all off under reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* hero entrance: staggered fade-up with a soft blur */
  .hero > .pill, .hero h1 .ln, .hero > .lede, .hero > .ctas, .hero > .fine { opacity: 0; filter: blur(6px); transform: translateY(14px); animation: rise .9s cubic-bezier(.2,.8,.2,1) forwards; }
  .hero > .pill { animation-delay: .05s; }
  .hero h1 .ln:nth-child(1) { animation-delay: .15s; }
  .hero h1 .ln:nth-child(3) { animation-delay: .28s; }
  .hero > .lede { animation-delay: .42s; }
  .hero > .ctas { animation-delay: .54s; }
  .hero > .fine { animation-delay: .64s; }
  .hero .shot { opacity: 0; animation: shotin 1.2s cubic-bezier(.2,.8,.2,1) .7s forwards; }
  @keyframes rise { to { opacity: 1; filter: none; transform: none; } }
  @keyframes shotin { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

  /* the product shot tilts back slightly and flattens as you scroll (JS sets --tilt) */
  .hero { perspective: 1600px; }
  .shot.tilt { rotate: x calc(var(--tilt, 1) * 10deg); scale: calc(1 - var(--tilt, 1) * .04); transform-origin: 50% 0; transition: rotate .12s linear, scale .12s linear; }
  .hero h1 .ln { display: inline-block; }

  /* reveal on scroll gets a touch of blur too */
  .rv { filter: blur(4px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1), filter .8s; }
  .rv.in { filter: none; }
  .stats .rv:nth-child(2), .quotes .rv:nth-child(2), .uses .rv:nth-child(2), .grid4 .rv:nth-child(2), .prices .rv:nth-child(2) { transition-delay: .08s; }
  .stats .rv:nth-child(3), .quotes .rv:nth-child(3), .uses .rv:nth-child(3), .grid4 .rv:nth-child(3) { transition-delay: .16s; }
  .stats .rv:nth-child(4), .grid4 .rv:nth-child(4) { transition-delay: .24s; }

  /* tags in the "what you get" pictures pop on as if just applied */
  .use .mini .tag { opacity: 0; transform: scale(.7); }
  .use.in .mini .tag { animation: stamp .5s cubic-bezier(.3,1.6,.5,1) .5s forwards; }
  @keyframes stamp { to { opacity: 1; transform: none; } }

  /* pill: a light sweep every few seconds */
  .pill { position: relative; overflow: hidden; }
  .pill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.9) 50%, transparent 70%); transform: translateX(-100%); animation: sweep 5s ease-in-out 2s infinite; }
  @keyframes sweep { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

  /* primary buttons: shine on hover */
  .btn-ink { position: relative; overflow: hidden; }
  .btn-ink::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
  .btn-ink:hover::after { transform: translateX(120%); }
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: translateY(0); }
  .btn .arr { transition: transform .2s; }
  .btn:hover .arr { transform: translateX(3px); }
}

/* cursor spotlight on the hero grid and on bordered cells (JS sets --mx/--my) */
.hero { position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(36,81,181,.07), transparent 70%); }
.hero:hover::before { opacity: 1; }
.hero > * { position: relative; }
.glow { position: relative; }
.glow::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(10,10,10,.035), transparent 70%); }
.glow:hover::before { opacity: 1; }
.quotes figure, .grid4 > div, .price, .use .mini, .card { transition: border-color .25s, box-shadow .25s, transform .25s; }
.price:not(.pro):hover, .use .mini:hover { border-color: #D6D3D1; }
.use .mini:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -14px rgba(10,10,10,.18); }

/* header gains a soft shadow once you scroll */
.top { transition: box-shadow .3s, background .3s; }
.top.scrolled { box-shadow: 0 1px 0 rgba(10,10,10,.02), 0 8px 24px -16px rgba(10,10,10,.15); background: rgba(255,255,255,.9); }

/* privacy policy + 404 */
.doc-sec { padding-top: 96px; }
.doc { max-width: 680px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; }
.doc .updated { margin-top: 16px; font: 500 12px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.doc > p:not(.label):not(.updated) { margin-top: 20px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.doc .updated + p { font-size: 18px !important; color: var(--text) !important; margin-top: 32px !important; }
.doc h2 { font-size: 22px; line-height: 1.3; letter-spacing: -.025em; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); max-width: none; }
.doc ul { margin: 16px 0 0; padding: 0; list-style: none; }
.doc li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line-2); color: var(--muted); line-height: 1.6; }
.doc li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 6px; height: 6px; background: var(--ink); border-radius: 1px; }
.doc li strong { color: var(--ink); font-weight: 500; }
.doc a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.doc a:hover { text-decoration-color: var(--ink); }
.notfound { min-height: 64vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.notfound .lede { margin: 20px auto 0; }
.notfound .ctas { margin-top: 32px; }

/* FAQ: answers slide open and closed (JS animates height) */
.faq details > div { overflow: hidden; }
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--muted); }
.faq summary::after { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.faq details.closing summary::after { transform: none; }
