/* ═══════════════════════════════════════════════════════════════════
   BOLT CRM — marketing site
   The site wears the product's exact skin: same tokens, same pill
   system, same card chrome as the app. One design system, both sides
   of the login.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* ink + text */
  --ink:        #121417;
  --heading:    #18212B;
  --body:       #3C3C3C;
  --secondary:  #667085;
  --muted:      #98A2B3;

  /* surfaces */
  --ground:     #FFFFFF;
  --surface:    #F8F9FB;
  --hairline:   #EBEDF1;
  --card-line:  #A3A3A3;
  --input-line: #E2E8F0;

  /* accent system */
  --red:        #EF4444;
  --red-hover:  #D70015;
  --red-soft:   #FEE2E2;
  --oxblood:    #590213;

  /* data chorus (the app's mid-tone chart palette) */
  --c-indigo:   #6E7FC4;
  --c-amber:    #E8944A;
  --c-green:    #4CB584;
  --c-violet:   #A78BFA;
  --c-cyan:     #3BA3BE;
  --c-rose:     #EE7C7C;

  --shadow-card: 0 2px 8px rgba(16,24,40,0.04);
  --shadow-lift: 0 8px 20px rgba(16,24,40,0.08);
  --font: 'Lato', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--ground);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

::selection { background: var(--red-soft); color: var(--ink); }

h1, h2, h3, h4 { color: var(--heading); line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.2vw, 76px); font-weight: 900; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; letter-spacing: -0.025em; }
h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
p  { color: var(--secondary); }
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; color: var(--secondary); max-width: 62ch; }
.accent { color: var(--red); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; width: 22px; height: 2px; background: var(--red); border-radius: 2px;
}

section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .lead { margin-top: 16px; }

/* ── Buttons — the app's pill system, verbatim ─────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font-family: var(--font); font-size: 14px; font-weight: 700; line-height: 1;
  cursor: pointer; white-space: nowrap; border: 2px solid var(--ink);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); border-color: var(--red-hover); }

.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }

.btn-secondary { background: #fff; color: var(--heading); }
.btn-secondary:hover { background: var(--surface); }

.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn-lg { height: 52px; padding: 0 30px; font-size: 15px; }

/* ── Nav ───────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.nav-brand { flex-shrink: 0; display: flex; align-items: center; }
.nav-links { display: flex; list-style: none; gap: 4px; }
.nav-links a {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--secondary);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--heading); background: var(--surface); }
.nav-links a.active { color: #fff; background: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { height: 40px; padding: 0 18px; font-size: 13px; }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; color: var(--heading); cursor: pointer; }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero { padding: 84px 0 40px; position: relative; overflow: clip; }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(52% 42% at 82% 4%, rgba(239,68,68,0.055), transparent 70%),
    radial-gradient(40% 34% at 8% 20%, rgba(110,127,196,0.06), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--oxblood); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 26px;
}
.hero-badge .live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(239,68,68,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(239,68,68,0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}
.hero h1 { max-width: 13ch; }
.hero .lead { margin-top: 24px; }
.hero-ctas { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta {
  display: flex; align-items: center; gap: 10px; margin-top: 22px;
  font-size: 13px; color: var(--muted); font-weight: 500;
}
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

/* ── The product shot — the real Dashboard, miniature ─────────────── */
.shot-wrap {
  margin-top: 64px;
  perspective: 1600px;
}
.shot {
  background: var(--surface);
  border: 1px solid var(--card-line);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(16,24,40,0.13), 0 4px 16px rgba(16,24,40,0.05);
  overflow: clip;
  transform: rotateX(6deg) scale(0.985);
  transform-origin: 50% 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.7s ease;
}
.shot-wrap:hover .shot { transform: rotateX(0deg) scale(1); box-shadow: 0 40px 100px rgba(16,24,40,0.16), 0 4px 16px rgba(16,24,40,0.05); }

.shot-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; background: #fff; border-bottom: 1px solid var(--hairline);
}
.shot-title { font-size: 19px; font-weight: 700; color: var(--heading); letter-spacing: -0.02em; }
.shot-bar-right { display: flex; align-items: center; gap: 8px; }
.treasury {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--input-line); border-radius: 999px;
  padding: 5px 12px; font-size: 10.5px; font-weight: 700; color: var(--secondary);
  letter-spacing: 0.04em;
}
.treasury b { color: var(--heading); font-weight: 800; }
.treasury .down { color: #15803D; }
.shot-fab { width: 28px; height: 28px; border-radius: 50%; background: #FF3B30; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 700; }
.shot-avatar { width: 28px; height: 28px; border-radius: 50%; background: #E7ECFB; color: #4A63C8; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.shot-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.shot-row { display: grid; gap: 14px; }
.shot-row.cols-3 { grid-template-columns: 1.1fr 1fr 1.2fr; }
.shot-row.cols-2 { grid-template-columns: 1.35fr 1fr; }

.mini-card {
  background: #fff; border: 1px solid var(--card-line); border-radius: 8px;
  box-shadow: var(--shadow-card); padding: 13px 15px; min-width: 0;
}
.mini-card.oxblood { background: var(--oxblood); border-color: var(--oxblood); }
.mini-card.updates { background: #F1F3F5; }

.mini-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mini-icon {
  width: 22px; height: 22px; border-radius: 50%; background: var(--ink);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
}
.mini-icon.inverse { background: #fff; color: var(--ink); }
.mini-title { font-size: 12.5px; font-weight: 700; color: var(--heading); letter-spacing: -0.01em; }
.mini-card.oxblood .mini-title { color: #fff; }
.mini-count { font-size: 10px; color: var(--muted); font-weight: 600; }

.mini-row {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 0; font-size: 11px; color: var(--body);
  border-bottom: 1px solid var(--hairline);
}
.mini-row:last-child { border-bottom: none; }
.mini-card.oxblood .mini-row { color: rgba(255,255,255,0.92); border-color: rgba(255,255,255,0.14); }
.mini-card.oxblood .mini-sub { color: rgba(255,255,255,0.55); }
.mini-name { font-weight: 700; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-sub { font-size: 10px; color: var(--muted); font-weight: 500; }
.mini-amt { font-weight: 800; color: var(--heading); font-variant-numeric: tabular-nums; }

.orb {
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 7.5px; font-weight: 800; flex-shrink: 0; letter-spacing: -0.02em;
}

.spill { font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }

/* pipeline table inside the shot */
.mini-table { width: 100%; border-collapse: collapse; font-size: 10.5px; }
.mini-table th {
  text-align: left; font-size: 9.5px; font-weight: 600; color: var(--secondary);
  background: var(--surface); padding: 6px 8px; border-bottom: 1px solid var(--hairline);
  white-space: nowrap;
}
.mini-table td { padding: 7px 8px; border-bottom: 1px solid var(--hairline); color: var(--body); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mini-table tr:last-child td { border-bottom: none; }

/* donut */
.donut-flex { display: flex; align-items: center; gap: 16px; }
.donut { flex-shrink: 0; }
.donut circle.seg {
  fill: none; stroke-width: 14; stroke-linecap: round;
  transform: rotate(-90deg); transform-origin: 50% 50%;
}
.donut-center { font-size: 15px; font-weight: 800; fill: var(--heading); font-family: var(--font); }
.donut-center-sub { font-size: 6.5px; font-weight: 700; fill: var(--muted); letter-spacing: 0.08em; }
.legend { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.legend-row { display: flex; align-items: center; gap: 7px; font-size: 10px; color: var(--body); }
.legend-dot { width: 8px; height: 8px; border-radius: 3px; flex-shrink: 0; }
.legend-row b { margin-left: auto; color: var(--heading); font-variant-numeric: tabular-nums; }

.updates-new { background: #fff; border-radius: 6px; }

/* ── Stat band ─────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--hairline); }
.stat { padding: 34px 26px; border-right: 1px solid var(--hairline); }
.stat:last-child { border-right: none; }
.stat-num { font-size: 40px; font-weight: 900; color: var(--heading); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.stat-num .accent { color: var(--red); }
.stat-label { font-size: 13px; color: var(--secondary); margin-top: 8px; font-weight: 500; }

/* ── Hub-card feature grid (the Actions hub, verbatim) ─────────────── */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature {
  position: relative; background: #fff; border: 1px solid var(--card-line);
  border-radius: 8px; box-shadow: var(--shadow-card); padding: 24px;
  min-height: 170px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.feature:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: var(--shadow-lift); }
.feature:hover .corner-arrow { border-color: var(--ink); }
.feature .icon {
  width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  font-size: 15px; font-weight: 700;
}
.feature .icon svg { width: 17px; height: 17px; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: 13.5px; line-height: 1.55; }
.feature p a { color: var(--red); font-weight: 600; }
.corner-arrow {
  position: absolute; top: 18px; right: 18px; width: 28px; height: 28px;
  border-radius: 50%; border: 1px solid var(--card-line); background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 160ms ease;
}

/* ── Split sections ────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse > div:first-child { order: 2; }
.split ul { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.split li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--body); }
.check {
  width: 22px; height: 22px; border-radius: 50%; background: var(--red-soft); color: var(--red);
  font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}

/* comparison card */
.mock {
  background: #fff; border: 1px solid var(--card-line); border-radius: 8px;
  box-shadow: var(--shadow-card); padding: 20px;
}
.mock h5 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--secondary); margin-bottom: 12px;
}
.mock .row {
  display: flex; align-items: center; gap: 10px; padding: 10px 4px;
  border-bottom: 1px solid var(--hairline);
}
.mock .row:last-of-type { border-bottom: none; }
.mock .avatar {
  width: 28px; height: 28px; border-radius: 50%; background: #E4E7EC; color: #475467;
  font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mock .avatar.bolt { background: var(--ink); color: #fff; }
.mock .name { flex: 1; font-size: 13.5px; font-weight: 600; color: var(--body); }
.tag { font-size: 10.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tag.gray  { background: #F1F5F9; color: #475569; }
.tag.amber { background: #FEFCE8; color: #A16207; }
.tag.green { background: #ECFDF5; color: #0D9488; }
.tag.red   { background: var(--red-soft); color: var(--red); }

/* ── iMessage mock ─────────────────────────────────────────────────── */
.msg-mock {
  background: #fff; border: 1px solid var(--card-line); border-radius: 8px;
  box-shadow: var(--shadow-card); padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.msg-mock .meta { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }
.bubble {
  max-width: 78%; padding: 10px 15px; border-radius: 18px; font-size: 14px; line-height: 1.45;
}
.bubble.them { background: var(--surface); border: 1px solid var(--hairline); color: var(--body); align-self: flex-start; border-bottom-left-radius: 5px; }
.bubble.me   { background: #1B8FFF; color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }

.reveal .bubble { opacity: 0; transform: translateY(10px); }
.reveal.in .bubble { opacity: 1; transform: none; transition: opacity 0.45s ease, transform 0.45s ease; }
.reveal.in .bubble:nth-of-type(2) { transition-delay: 0.12s; }
.reveal.in .bubble:nth-of-type(3) { transition-delay: 0.55s; }
.reveal.in .bubble:nth-of-type(4) { transition-delay: 1.0s; }
.reveal.in .bubble:nth-of-type(5) { transition-delay: 1.45s; }

/* ── Oxblood CTA band ──────────────────────────────────────────────── */
.cta-band {
  background: var(--oxblood); color: #fff; border-radius: 14px;
  padding: 72px 56px; text-align: center; position: relative; overflow: clip;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 90% at 50% -20%, rgba(239,68,68,0.28), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 20ch; margin: 0 auto; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 60ch; margin: 18px auto 0; font-size: 16px; }
.cta-band .hero-ctas { justify-content: center; margin-top: 32px; }
.cta-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 24px;
}

/* ── Page head (inner pages) ───────────────────────────────────────── */
.page-head { padding: 84px 0 30px; text-align: left; }
.page-head h1 { font-size: clamp(36px, 5vw, 60px); max-width: 18ch; }
.page-head .lead { margin-top: 20px; }

/* ── Pricing ───────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--card-line); border-radius: 8px;
  box-shadow: var(--shadow-card); padding: 30px 28px; display: flex; flex-direction: column;
  position: relative;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.price-card:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: var(--shadow-lift); }
.price-card.founding { background: var(--ink); border-color: var(--ink); }
.price-card.founding h3, .price-card.founding .price { color: #fff; }
.price-card.founding p, .price-card.founding li { color: rgba(255,255,255,0.75); }
.price-card.founding .check { background: rgba(239,68,68,0.22); }
.founding-badge {
  position: absolute; top: -13px; left: 24px;
  background: var(--red); color: #fff; font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 15px; }
.price { font-size: 46px; font-weight: 900; color: var(--heading); letter-spacing: -0.03em; margin: 14px 0 2px; font-variant-numeric: tabular-nums; }
.price small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card .was { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.price-card ul { list-style: none; margin: 20px 0 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-card li { display: flex; gap: 10px; font-size: 13.5px; color: var(--body); align-items: flex-start; }
.price-card .btn { width: 100%; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 4px; font-size: 16px; font-weight: 700; color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; color: var(--red); font-weight: 400; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 20px; font-size: 14.5px; max-width: 66ch; }

/* ── Footer ────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--hairline); padding: 64px 0 32px; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 13.5px; margin-top: 14px; max-width: 30ch; }
.footer h5 { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer ul a { font-size: 13.5px; color: var(--secondary); font-weight: 500; }
.footer ul a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--hairline); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted);
}
.soc { display: flex; gap: 18px; }
.soc a { color: var(--muted); font-weight: 600; }
.soc a:hover { color: var(--red); }

/* ── Scroll reveal ─────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .reveal .bubble { opacity: 1; } }

/* donut draw-in */
.donut circle.seg { stroke-dasharray: 0 999; transition: stroke-dasharray 1.1s cubic-bezier(0.22, 1, 0.36, 1); }

/* ── Forms (the app's input theme) ─────────────────────────────────── */
.form-field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--secondary); font-weight: 700; }
.form-field input, .form-field select, .form-field textarea {
  padding: 11px 14px; border: 1px solid var(--input-line); border-radius: 10px;
  background: var(--surface); font-size: 14px; color: var(--body); font-family: var(--font);
  outline: none; transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  background: #fff; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18,20,23,0.08);
}
.form-field input::placeholder { color: var(--muted); }

/* ── Focus visibility ──────────────────────────────────────────────── */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px;
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse > div:first-child { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--hairline); }
  .shot-row.cols-3, .shot-row.cols-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-cta .btn-secondary { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--hairline); padding: 12px 20px 18px; gap: 2px;
  }
  .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--hairline); }
  .stat:last-child { border-bottom: none; }
  .shot-row.cols-3, .shot-row.cols-2 { grid-template-columns: 1fr; }
  .shot { transform: none; }
  .cta-band { padding: 52px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 56px; }
}

/* ── Inner-page compat (pricing .plan family, about .section-sm) ───── */
.section-sm { padding: 56px 0; }
.plan {
  background: #fff; border: 1px solid var(--card-line); border-radius: 8px;
  box-shadow: var(--shadow-card); padding: 30px 28px; display: flex; flex-direction: column;
  position: relative;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.plan:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: var(--shadow-lift); }
.plan h3 { font-size: 15px; }
.plan .desc { font-size: 13.5px; margin-top: 8px; }
.plan .price { margin: 16px 0 4px; }
.plan .amt { font-size: 46px; font-weight: 900; color: var(--heading); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan .per { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.plan ul { list-style: none; margin: 18px 0 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 13.5px; color: var(--body); align-items: flex-start; }
.plan .btn { width: 100%; }
.plan .badge {
  position: absolute; top: -13px; left: 24px;
  background: var(--red); color: #fff; font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px;
}
.plan.featured { background: var(--ink); border-color: var(--ink); }
.plan.featured h3, .plan.featured .amt { color: #fff; }
.plan.featured .desc, .plan.featured li, .plan.featured .per { color: rgba(255,255,255,0.75); }
.plan.featured .check { background: rgba(239,68,68,0.22); }

/* ═══ Polish pass ═══════════════════════════════════════════════════ */

/* faint blueprint dot-grid behind the hero shot */
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(18,20,23,0.07) 1px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(62% 52% at 50% 80%, black, transparent 76%);
  mask-image: radial-gradient(62% 52% at 50% 80%, black, transparent 76%);
  pointer-events: none;
}

/* browser chrome on the product shot */
.shot-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--hairline);
}
.shot-chrome .cdot { width: 10px; height: 10px; border-radius: 50%; }
.chrome-url {
  margin: 0 auto; display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 999px;
  font-size: 11px; font-weight: 600; color: var(--muted); padding: 4px 46px;
}
.chrome-url svg { flex-shrink: 0; }

/* the app's left icon rail */
.shot-flex { display: flex; align-items: stretch; }
.shot-rail {
  width: 48px; flex-shrink: 0; background: #fff; border-right: 1px solid var(--hairline);
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0;
}
.rail-dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--muted);
}
.rail-dot.active { background: var(--red); color: #fff; }
.shot-main { flex: 1; min-width: 0; }

/* app-authentic hovers inside the shot: rows wash gray, names go red */
.mini-table tbody tr { transition: background 0.12s ease; }
.mini-table tbody tr:hover td { background: var(--surface); }
.mini-table tbody tr:hover td b { color: var(--red); }
.mini-row { transition: background 0.12s ease; }
.mini-card:not(.oxblood) .mini-row:hover { background: var(--surface); }
.mini-card:not(.oxblood) .mini-row:hover .mini-name { color: var(--red); }
.mini-card.oxblood .mini-row:hover .mini-name { color: #fff; }

/* bento hierarchy in the feature grid */
.feature.wide {
  grid-column: span 2;
  display: flex; gap: 28px; align-items: center;
}
.feature.wide .fw-text { flex: 1.1; min-width: 0; }
.feature.wide .fw-visual { flex: 1; min-width: 0; }
.feature.ghost {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: transparent; border: 1.5px dashed var(--card-line); box-shadow: none;
  color: var(--heading); font-weight: 700; font-size: 15px; min-height: 150px;
}
.feature.ghost:hover { border-color: var(--ink); border-style: solid; background: #fff; }

/* status-flow strip (Arive sync visual) */
.flow { display: flex; flex-direction: column; gap: 10px; }
.flow-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.flow-arrow { color: var(--muted); font-size: 12px; }
.synced-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #ECFDF5; color: #0D9488; font-size: 11px; font-weight: 700;
  border-radius: 999px; padding: 4px 12px; width: fit-content;
}
.synced-chip .tick {
  width: 14px; height: 14px; border-radius: 50%; background: #0D9488; color: #fff;
  font-size: 9px; display: inline-flex; align-items: center; justify-content: center;
}

/* home-report mini (retention visual) */
.hr-mini {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 8px;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 8px;
}
.hr-mini .hr-top { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--heading); }
.hr-mini .hr-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; }
.hr-mini .hr-val { font-size: 24px; font-weight: 900; color: var(--heading); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hr-mini .hr-val small { font-size: 12px; font-weight: 700; color: #15803D; margin-left: 8px; }
.hr-mini .hr-sub { font-size: 11px; color: var(--muted); font-weight: 600; }

/* CTA seat dots */
.seats { display: flex; gap: 5px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.seat { width: 9px; height: 9px; border-radius: 2.5px; border: 1px solid rgba(255,255,255,0.4); }
.seat.hot { background: var(--red); border-color: var(--red); animation: pulse 2s infinite; }
.seats-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 12px; }

/* button arrow nudge */
.btn .arr { display: inline-block; transition: transform 0.18s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* featured pricing card stands proud */
.plan.featured { transform: scale(1.02); box-shadow: 0 12px 32px rgba(16,24,40,0.12); }
.plan.featured:hover { transform: scale(1.02) translateY(-2px); }

@media (max-width: 1080px) {
  .feature.wide { grid-column: span 2; flex-direction: column; align-items: stretch; }
}
@media (max-width: 760px) {
  .feature.wide { grid-column: span 1; }
  .shot-rail { display: none; }
  .plan.featured { transform: none; }
}
