/* ============================================================
   MetalAlert homepage
   B2B, trust-forward, with a modern "AI" surface treatment.
   Light-only palette (matches the product app's color-scheme).
   ============================================================ */

:root {
  color-scheme: light;

  --brand:        #1d4ed8;
  --brand-dark:   #1e40af;
  --brand-2:      #06b6d4;
  --grad:         linear-gradient(120deg, #1d4ed8 0%, #2563eb 40%, #06b6d4 100%);

  --ink:          #0b1220;
  --ink-1:        #1f2a3d;
  --ink-soft:     #475467;
  --ink-mute:     #667085;

  --bg:           #ffffff;
  --bg-alt:       #f5f8fc;
  --bg-dark:      #070b16;
  --line:         #e4e7ec;
  --line-soft:    #eef1f5;

  --copper:       #c2703d;
  --aluminum:     #64748b;
  --zinc:         #0e9bb5;
  --up:           #16a34a;
  --down:         #dc2626;

  --radius:       16px;
  --radius-sm:    10px;
  --radius-lg:    24px;
  --shadow-sm:    0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.06);
  --shadow-md:    0 4px 12px rgba(16,24,40,.06), 0 12px 32px rgba(16,24,40,.08);
  --shadow-lg:    0 20px 48px rgba(11,18,32,.14), 0 8px 20px rgba(11,18,32,.08);

  --font:         "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:         "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --maxw:         1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-1);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; }
p  { margin: 0; }
a  { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.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;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: inherit; font-weight: 600; font-size: .92rem;
  padding: .62rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--lg { padding: .85rem 1.5rem; font-size: .98rem; }
.btn--primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 6px 18px rgba(29,78,216,.28);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(29,78,216,.36); }
.btn--ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: #cdd5df; background: var(--bg-alt); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
@supports not (backdrop-filter: blur(10px)) {
  .nav { background: #fff; }
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 1px 0 rgba(16,24,40,.04); }
.nav__inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 68px;
}
.wordmark { display: inline-flex; align-items: center; gap: .55rem; }
.wordmark__mark {
  width: 34px; height: 34px; display: inline-grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(160deg, #eef4ff, #e0f7fb);
  border: 1px solid #dbe6f5;
}
.wordmark__text { font-weight: 700; font-size: 1.18rem; letter-spacing: -0.03em; color: var(--ink); }
.wordmark__text b { font-weight: 800; }
.wordmark__text span { color: var(--brand); }
.wordmark__text--footer { font-size: 1.25rem; }

.nav__links { display: flex; gap: .35rem; margin-left: auto; }
.nav__links a {
  font-size: .9rem; font-weight: 500; color: var(--ink-soft);
  padding: .5rem .8rem; border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}
.nav__links a:hover { color: var(--ink); background: var(--bg-alt); }
.nav__cta { display: flex; gap: .6rem; }

.nav__toggle {
  display: none; width: 42px; height: 42px; margin-left: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; padding: 0;
}
.nav__toggle span {
  display: block; width: 18px; height: 2px; margin: 3px auto;
  background: var(--ink); border-radius: 2px; transition: .2s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav__mobile {
  display: none; flex-direction: column; gap: .3rem;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.nav__mobile a { padding: .7rem .4rem; font-weight: 500; color: var(--ink-soft); }
.nav__mobile .btn { margin-top: .4rem; }
.nav__mobile.is-open { display: flex; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-dark); color: #e6ecf6; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(148,163,184,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.09) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.hero__glow--a { width: 520px; height: 520px; top: -160px; left: -80px; background: radial-gradient(circle, #1d4ed8, transparent 70%); }
.hero__glow--b { width: 480px; height: 480px; bottom: -200px; right: -60px; background: radial-gradient(circle, #06b6d4, transparent 70%); opacity: .4; }

.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: 92px 24px 104px;
}
.hero__copy { max-width: 560px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .01em;
  color: #9fb3d1;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: .4rem .8rem; border-radius: 999px;
  margin-bottom: 1.4rem;
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22d3ee; box-shadow: 0 0 0 4px rgba(34,211,238,.18);
}
.hero h1 { color: #fff; }
.hero h1 .grad { background: linear-gradient(110deg, #60a5fa, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lede { margin: 1.3rem 0 2rem; font-size: 1.08rem; color: #b8c4d8; }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero__actions .btn--ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.18); box-shadow: none; }
.hero__actions .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }

.hero__trust {
  list-style: none; padding: 0; margin: 2.4rem 0 0;
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem;
  font-size: .82rem; color: #8fa1bd; font-family: var(--mono);
}
.hero__trust li { position: relative; padding-left: 1.1rem; }
.hero__trust li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: #22d3ee;
}

/* ---------- Signal card ---------- */
.signal {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,253,.98));
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  color: var(--ink-1);
}

.signal__head { display: flex; align-items: center; justify-content: space-between; }
.signal__metal { display: flex; align-items: center; gap: .7rem; }
.signal__metal strong { display: block; font-size: 1rem; color: var(--ink); }
.signal__asof { font-size: .74rem; color: var(--ink-mute); font-family: var(--mono); }
.metal-badge {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .82rem;
  font-family: var(--mono);
}
.metal-badge--copper { background: var(--copper); }
.metal-badge--aluminum { background: var(--aluminum); }
.metal-badge--zinc { background: var(--zinc); }
.metal-badge--example { background: var(--grad); }

.signal__tag {
  flex-shrink: 0;
  font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-mute);
  background: var(--bg-alt); border: 1px solid var(--line);
  padding: .22rem .5rem; border-radius: 999px;
}

.signal__gauge { position: relative; margin: .6rem 0 .4rem; padding: 0 8px; }
.signal__gauge svg { overflow: visible; }
#gaugeArc { transition: stroke-dashoffset 1.6s cubic-bezier(.16,1,.3,1); }
.signal__gauge-num {
  position: absolute; left: 0; right: 0; bottom: 2px; text-align: center;
}
.signal__gauge-num .count {
  font-family: var(--mono); font-weight: 600; font-size: 2.6rem; color: var(--ink);
  letter-spacing: -.02em;
}
.signal__pct { font-family: var(--mono); font-weight: 600; font-size: 1.3rem; color: var(--ink-soft); }
.signal__gauge-num em {
  display: block; font-style: normal; font-size: .78rem; color: var(--ink-mute); margin-top: .1rem;
}
.signal__gauge-num em b { color: var(--brand); font-weight: 600; }

.signal__table { width: 100%; border-collapse: collapse; margin-top: .5rem; font-size: .82rem; }
.signal__table th {
  text-align: left; font-size: .66rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-mute); font-weight: 600; padding: .4rem .5rem; border-bottom: 1px solid var(--line);
}
.signal__table td { padding: .5rem .5rem; border-bottom: 1px solid var(--line-soft); font-family: var(--mono); }
.signal__table td:last-child { position: relative; white-space: nowrap; text-align: right; color: var(--ink); }
.signal__table tr.is-armed { background: #eef4ff; }
.signal__table tr.is-armed td { border-color: #dbe6fb; }
.bar {
  position: absolute; left: .5rem; bottom: 3px; height: 3px; width: var(--w);
  background: var(--grad); border-radius: 2px; opacity: .55;
}
.bar--low { background: var(--aluminum); }
.dir { font-weight: 600; }
.dir--up { color: var(--up); }
.dir--down { color: var(--down); }

.signal__foot { display: flex; align-items: center; justify-content: space-between; margin-top: .9rem; gap: .5rem; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .74rem; font-weight: 600; font-family: var(--mono);
  padding: .3rem .6rem; border-radius: 999px;
}
.chip--armed { color: var(--brand-dark); background: #e0e9ff; }
.signal__foot-note { font-size: .72rem; color: var(--ink-mute); }

/* ---------- Strip ---------- */
.usp { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.usp__inner { padding: 48px 24px; text-align: center; }
.usp__statement {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em; line-height: 1.35; max-width: 760px; margin: 0 auto 1.8rem;
}
.usp__list {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 1rem 2.4rem;
}
.usp__list li {
  position: relative; padding-left: 1.7rem; text-align: left;
  font-weight: 600; font-size: .96rem; color: var(--ink-1);
}
.usp__list li::before {
  content: ""; position: absolute; left: 0; top: .05rem;
  width: 20px; height: 20px; border-radius: 6px;
  background: linear-gradient(160deg, #eef4ff, #e0f7fb);
  border: 1px solid #dbe6f5;
}
.usp__list li::after {
  content: ""; position: absolute; left: 6px; top: .32rem;
  width: 8px; height: 5px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

.strip { border-bottom: 1px solid var(--line); background: var(--bg); }
.strip__inner {
  display: flex; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap;
  padding: 26px 24px;
}
.strip__statement {
  margin: 0; max-width: 760px;
  font-size: .98rem; font-weight: 500; color: var(--ink-1);
}

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section--dark { background: var(--bg-dark); color: #c6d1e4; }
.section--dark h2 { color: #fff; }

.section__head { max-width: 720px; margin: 0 0 48px; }
.kicker {
  display: inline-block; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--brand);
  margin-bottom: .9rem;
}
.kicker--light { color: #38bdf8; }
.section__sub { margin-top: 1rem; font-size: 1.05rem; color: var(--ink-soft); }
.section--dark .section__sub { color: #9fb0c9; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Stakes ---------- */
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.stat-card__value {
  font-family: var(--mono); font-weight: 600; font-size: 2rem; color: var(--ink);
  letter-spacing: -.02em; margin-bottom: .6rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-card p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Pillars ---------- */
.pillars { gap: 22px; }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d7e0ec; }
.pillar__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  color: var(--brand); background: linear-gradient(160deg, #eef4ff, #e0f7fb);
  border: 1px solid #dbe6f5; margin-bottom: 1rem;
}
.pillar h3 { margin-bottom: .5rem; }
.pillar p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.step__no {
  font-family: var(--mono); font-weight: 600; font-size: .9rem;
  color: var(--brand); letter-spacing: .05em;
  display: inline-block; margin-bottom: .9rem;
  padding: .2rem .55rem; border: 1px solid #dbe6fb; border-radius: 8px; background: #f2f6ff;
}
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--ink-soft); font-size: .95rem; }
.step::after {
  content: ""; position: absolute; top: 44px; right: -14px;
  width: 22px; height: 2px; background: var(--line);
}
.step:last-child::after { display: none; }

/* ---------- Features ---------- */
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature h3 { margin-bottom: .45rem; }
.feature p { color: var(--ink-soft); font-size: .93rem; }

/* ---------- ROI ---------- */
.roi { background: var(--bg); }
.roi__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.roi__copy { max-width: 480px; }
.roi__copy h2 { margin-bottom: 1rem; }
.roi__copy p { color: var(--ink-soft); margin-bottom: 1.8rem; }

.scenario {
  margin: 0; background: linear-gradient(180deg, #0b1220, #111c30);
  color: #d7e0f0; border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08);
}
.scenario figcaption {
  font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  color: #7f93b4; margin-bottom: 1rem;
}
.scenario__row {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .92rem;
}
.scenario__row span { color: #9fb0c9; }
.scenario__row b { font-family: var(--mono); font-weight: 500; color: #fff; white-space: nowrap; }
.scenario__row b.up { color: #4ade80; }
.scenario__row--total { border-bottom: none; padding-top: 1rem; font-weight: 600; }
.scenario__row--total span { color: #d7e0f0; }
.scenario__note { margin-top: 1rem; font-size: .74rem; color: #7f93b4; line-height: 1.5; }

.roi--alt { background: var(--bg-alt); }
.scenario__row--input { align-items: center; }
.scenario__row--input label { color: #9fb0c9; }
.scenario__row--input input,
.scenario__row--input select {
  font-family: var(--mono); font-size: .88rem; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px; padding: .32rem .5rem; width: 132px; flex-shrink: 0;
}
.scenario__row--input input { text-align: right; }
.scenario__row--input input:focus-visible,
.scenario__row--input select:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.scenario__row--input option { color: #0b1220; }

/* ---------- Methodology ---------- */
.method { gap: 20px; }
.method__item {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 26px;
}
.method__item h3 { color: #fff; margin-bottom: .5rem; }
.method__item p { color: #9fb0c9; font-size: .95rem; }

/* ---------- Pricing ---------- */
.pricing-card {
  display: grid; grid-template-columns: 1.3fr 1fr;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.pricing-card__body { padding: 36px; }
.pricing-card__tag {
  display: inline-block; font-family: var(--mono); font-size: .74rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--brand);
  background: #eef4ff; border: 1px solid #dbe6fb; padding: .3rem .6rem; border-radius: 8px;
  margin-bottom: 1.4rem;
}
.pricing-card__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.pricing-card__list li { position: relative; padding-left: 1.8rem; color: var(--ink-1); font-size: .98rem; }
.pricing-card__list li::before {
  content: ""; position: absolute; left: 0; top: .15rem;
  width: 20px; height: 20px; border-radius: 6px;
  background: linear-gradient(160deg, #eef4ff, #e0f7fb) no-repeat;
  border: 1px solid #dbe6f5;
}
.pricing-card__list li::after {
  content: ""; position: absolute; left: 6px; top: .42rem;
  width: 8px; height: 5px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.pricing-card__roadmap {
  margin: 1.4rem 0 0; font-size: .86rem; color: var(--ink-mute);
}
.pricing-card__cta {
  padding: 36px; background: var(--bg-alt); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .8rem; justify-content: center;
}
.pricing-card__cta p { font-size: .92rem; color: var(--ink-soft); margin-bottom: .4rem; }
.pricing-card__note {
  font-size: .82rem; color: var(--ink-mute); margin: .2rem 0 0;
  padding-top: .8rem; border-top: 1px dashed var(--line);
}

/* ---------- FAQ ---------- */
.faq__list { max-width: 820px; }
.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 18px 40px 18px 0; position: relative;
  font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.3rem; color: var(--brand); transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 40px 20px 0; color: var(--ink-soft); font-size: .96rem; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--bg-dark); color: #e6ecf6; text-align: center; padding: 96px 0; }
.cta__bg { position: absolute; inset: 0; opacity: .5; }
.cta__inner { position: relative; max-width: 680px; }
.cta h2 { color: #fff; }
.cta p { margin: 1rem auto 0; color: #aebbd0; max-width: 560px; }
.cta__form {
  display: flex; gap: .6rem; margin: 2rem auto 0; max-width: 460px;
  flex-wrap: wrap; justify-content: center;
}
.cta__form .btn--ghost {
  background: rgba(255,255,255,.06); color: #fff;
  border-color: rgba(255,255,255,.18); box-shadow: none;
}
.cta__form .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.cta__fineprint { font-size: .8rem; color: #8fa1bd; margin-top: 1rem; }

.waitlist { margin: 3rem auto 0; max-width: 460px; padding-top: 2.2rem; border-top: 1px solid rgba(255,255,255,.1); }
.waitlist__lede { margin: 0 0 1.6rem; font-size: .88rem; color: #aebbd0; }
.waitlist .btn--ghost {
  background: rgba(255,255,255,.06); color: #fff;
  border-color: rgba(255,255,255,.18); box-shadow: none;
}
.waitlist .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }

/* ---------- Footer ---------- */
.footer { background: #050810; color: #8fa1bd; padding: 64px 0 32px; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand .wordmark__text { color: #fff; }
.footer__brand .wordmark__text span { color: #38bdf8; }
.footer__brand p { margin-top: .8rem; font-size: .9rem; max-width: 280px; }
.footer__cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.footer__cols h4 { color: #cdd8ea; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .9rem; }
.footer__cols a { display: block; padding: .3rem 0; font-size: .9rem; color: #8fa1bd; transition: color .15s ease; }
.footer__cols a:hover { color: #fff; }
.footer__base { padding-top: 28px; display: flex; flex-direction: column; gap: .6rem; }
.footer__base p { font-size: .8rem; }
.footer__disc { color: #64748b; max-width: 780px; line-height: 1.5; }

/* ---------- Reveal animation ----------
   Progressive enhancement: content is visible by default. Only once JS has
   run (adding `.js` to <html>) do we hide-then-reveal on scroll, so a JS
   failure can never leave the page blank. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; padding: 72px 24px 84px; }
  .hero__copy { max-width: 640px; }
  .signal { max-width: 460px; }
  .roi__inner { grid-template-columns: 1fr; gap: 36px; }
  .grid--3, .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .pricing-card { grid-template-columns: 1fr; }
  .pricing-card__cta { border-left: none; border-top: 1px solid var(--line); }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .section { padding: 68px 0; }
  .grid--2, .grid--3, .steps { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1; }
}

/* ============================================================
   Legal pages (terms / privacy / disclosures)
   ============================================================ */
.legal-nav { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.legal-nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.legal-nav .wordmark__text { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.03em; color: var(--ink); }
.legal-nav .wordmark__text b { font-weight: 800; }
.legal-nav .wordmark__text span { color: var(--brand); }
.legal-back { font-size: .88rem; color: var(--ink-soft); }
.legal-back:hover { color: var(--ink); }

.legal.container { max-width: 760px; padding-top: 40px; padding-bottom: 64px; }
.legal h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: .35rem; letter-spacing: -0.02em; }
.legal h2 {
  font-size: 1.15rem; margin: 2.4rem 0 .7rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft); letter-spacing: -0.01em;
}
.legal h3 { font-size: 1rem; margin: 1.5rem 0 .4rem; }
.legal p, .legal li { color: var(--ink-1); line-height: 1.7; font-size: .95rem; }
.legal p { margin: 0 0 1rem; }
.legal ul, .legal ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.legal li { margin-bottom: .45rem; }
.legal a { color: var(--brand); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal address { font-style: normal; }

.legal-updated {
  color: var(--ink-mute); font-size: .82rem; font-family: var(--mono);
  margin: 0 0 2rem;
}
.legal-draft {
  background: #fff8ec; border: 1px solid #f0ce93; color: #7a4b09;
  border-radius: var(--radius-sm); padding: .95rem 1.15rem;
  font-size: .87rem; line-height: 1.65; margin-bottom: 2rem;
}
.legal-draft strong { color: #6b3f06; }
.legal-toc {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 1rem 1.35rem; margin-bottom: 2.4rem;
}
.legal-toc h2 { border: none; padding: 0; margin: 0 0 .5rem; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); }
.legal-toc ol { margin: 0; }
.legal-toc li { margin-bottom: .3rem; font-size: .9rem; }

.legal-foot {
  border-top: 1px solid var(--line); padding: 22px 24px;
  font-size: .8rem; color: var(--ink-mute); text-align: center;
}
.legal-foot a { color: var(--ink-soft); }
.legal-foot a:hover { color: var(--ink); }

/* ============================================================
   Blog (listing + posts)
   ============================================================ */
.site-nav { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.site-nav__inner {
  display: flex; align-items: center; gap: 1rem 1.4rem; flex-wrap: wrap;
  min-height: 64px; padding-top: 10px; padding-bottom: 10px;
}
.site-nav .wordmark__text { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.03em; color: var(--ink); }
.site-nav .wordmark__text b { font-weight: 800; }
.site-nav .wordmark__text span { color: var(--brand); }
.site-nav__links { display: flex; gap: .2rem; flex-wrap: wrap; }
.site-nav__links a {
  font-size: .9rem; font-weight: 500; color: var(--ink-soft);
  padding: .45rem .7rem; border-radius: 999px;
}
.site-nav__links a:hover { color: var(--ink); background: var(--bg-alt); }
.site-nav__links a[aria-current="page"] { color: var(--brand); background: var(--brand-light, #eef4ff); }
.site-nav__cta { margin-left: auto; }

/* ---- Listing ---- */
.blog.container { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.blog__head { margin-bottom: 2.4rem; }
.blog__head h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .5rem; }
.blog__head p { color: var(--ink-soft); font-size: 1.02rem; }
.post-card {
  display: block; padding: 1.5rem 0; border-top: 1px solid var(--line);
  color: inherit;
}
.post-card:first-of-type { border-top: none; }
.post-card:hover h2 { color: var(--brand); }
.post-card__meta { font-family: var(--mono); font-size: .78rem; color: var(--ink-mute); margin-bottom: .5rem; }
.post-card h2 { font-size: 1.3rem; margin-bottom: .4rem; letter-spacing: -0.01em; }
.post-card p { color: var(--ink-soft); font-size: .96rem; }
.post-card__more { display: inline-block; margin-top: .6rem; color: var(--brand); font-weight: 600; font-size: .9rem; }

/* ---- Post ---- */
.post.container { max-width: 720px; padding-top: 40px; padding-bottom: 40px; }
.post__meta { font-family: var(--mono); font-size: .8rem; color: var(--ink-mute); margin-bottom: .8rem; }
.post h1 { font-size: clamp(1.9rem, 4.2vw, 2.6rem); line-height: 1.15; margin-bottom: .7rem; }
.post__dek { font-size: 1.15rem; line-height: 1.6; color: var(--ink-soft); margin-bottom: 1.8rem; }
.post__body { }
.post__body h2 { font-size: 1.3rem; margin: 2.4rem 0 .7rem; letter-spacing: -0.01em; }
.post__body h3 { font-size: 1.05rem; margin: 1.6rem 0 .4rem; }
.post__body p { color: var(--ink-1); line-height: 1.75; font-size: 1rem; margin: 0 0 1.15rem; }
.post__body ul, .post__body ol { margin: 0 0 1.15rem; padding-left: 1.3rem; }
.post__body li { color: var(--ink-1); line-height: 1.7; margin-bottom: .5rem; }
.post__body a { color: var(--brand); }
.post__body blockquote {
  margin: 1.6rem 0; padding: .4rem 0 .4rem 1.2rem;
  border-left: 3px solid var(--brand); color: var(--ink); font-size: 1.05rem;
}
.post__body figure { margin: 1.8rem 0; }
.post__body figcaption { font-size: .82rem; color: var(--ink-mute); margin-top: .5rem; text-align: center; }

.video-embed {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line);
  background: #000;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.post-draft {
  background: #fff8ec; border: 1px solid #f0ce93; color: #7a4b09;
  border-radius: var(--radius-sm); padding: .95rem 1.15rem;
  font-size: .87rem; line-height: 1.6; margin-bottom: 2rem;
}
.post-draft strong { color: #6b3f06; }

.post-cta {
  margin: 2.6rem 0 1rem; padding: 1.8rem; border-radius: var(--radius);
  background: linear-gradient(160deg, #0b1220, #111c30); color: #d7e0f0;
  text-align: center;
}
.post-cta h3 { color: #fff; font-size: 1.2rem; margin-bottom: .5rem; }
.post-cta p { color: #9fb0c9; font-size: .95rem; margin: 0 auto 1.2rem; max-width: 44ch; }
.post-cta .btn--ghost {
  background: rgba(255,255,255,.06); color: #fff;
  border-color: rgba(255,255,255,.18); box-shadow: none;
}
.post-cta .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.post-cta__row { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }

.post-foot {
  border-top: 1px solid var(--line); margin-top: 2.4rem; padding-top: 1.4rem;
  font-size: .85rem; color: var(--ink-mute);
  display: flex; gap: 1.2rem; flex-wrap: wrap;
}
.post-foot a { color: var(--ink-soft); }
.post-foot a:hover { color: var(--ink); }

.post__note {
  margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  font-size: .85rem; line-height: 1.6; color: var(--ink-mute);
}
.post__note a { color: var(--ink-soft); }

.post__credit {
  margin: 1.8rem 0 2rem; padding: 1rem 1.2rem;
  background: var(--bg-alt); border: 1px solid var(--line);
  border-left: 3px solid var(--brand); border-radius: var(--radius-sm);
}
.post__credit p { margin: 0; font-size: .88rem; line-height: 1.65; color: var(--ink-soft); }
.post__credit strong { color: var(--ink); }
.post__credit a { color: var(--brand); }

@media print {
  .site-nav, .post-cta, .post-foot, .legal-foot, .post .post__body + .post-cta, .post figure { display: none !important; }
  .post.container { max-width: 100%; padding: 0; }
  .post__credit { border-left-color: #999; }
  .post__body h2 { break-after: avoid; }
  .post__body p, .post__body li { orphans: 3; widows: 3; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; word-break: break-all; }
}
