/* ============================================================
   kord — shared design system
   Used by index.html and all subpages. Keep one source of truth.
   ============================================================ */

:root {
  --bg: #ffffff;
  --ink: #0a0a0b;
  --ink-soft: #6b6b70;
  --ink-soft-deep: #54545a;
  --ink-faint: #a7a7ad;
  --line: #ececee;
  --pill-bg: #f4f4f5;
  --pill-bg-hover: #ececee;
  --footer-bg: #0c0c0d;
  --footer-ink: #f5f5f6;
  --footer-soft: #8a8a90;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --maxw: 1180px;
  --accent: #c8642a;
  --head-weight: 800;
  --head-tracking: -0.035em;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }

/* ---------- BACKGROUND LAYER ---------- */
#bg-layer {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(115% 70% at 50% -8%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 60%),
    radial-gradient(120% 90% at 50% 0%, rgba(0,0,0,0) 58%, rgba(0,0,0,0.022) 100%);
}
#bg-layer::after {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNDAnIGhlaWdodD0nMTQwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC44NScgbnVtT2N0YXZlcz0nMicgc3RpdGNoVGlsZXM9J3N0aXRjaCcvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPScxMDAlJyBoZWlnaHQ9JzEwMCUnIGZpbHRlcj0ndXJsKCNuKScvPjwvc3ZnPg==");
  background-size: 140px 140px;
}
/* Dot matrix — faint data points, fading downward */
#bg-layer::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(10,10,11,0.10) 1px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(125% 95% at 50% 0%, #000 32%, transparent 78%);
          mask-image: radial-gradient(125% 95% at 50% 0%, #000 32%, transparent 78%);
}

/* ---------- NAV ---------- */
.nav-wrap {
  position: sticky;
  top: 20px;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: 100%;
  max-width: 860px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px 13px 24px;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav-wrap.scrolled .nav {
  background: color-mix(in srgb, #ffffff 72%, transparent);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.nav-links a {
  position: relative;
  color: var(--ink-soft-deep);
  transition: color .18s ease;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.nav-right { display: flex; align-items: center; gap: 18px; }

/* Mobile menu toggle (hamburger) — hidden on desktop */
.nav { position: relative; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border: none; background: transparent; cursor: pointer; padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform .22s ease, opacity .18s ease;
}
.nav-wrap.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-wrap.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-wrap.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .16s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.14), 0 10px 24px -6px color-mix(in srgb, var(--accent) 45%, transparent);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0,0,0,0.16), 0 18px 38px -8px color-mix(in srgb, var(--accent) 58%, transparent); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: var(--pill-bg);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--pill-bg-hover); transform: translateY(-1px); }
.nav-cta {
  padding: 7px 20px;
  font-size: 14px;
  line-height: 1.1;
}

/* ---------- HERO (subpage) ---------- */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 24px 0;
  max-width: var(--maxw);
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
h1.headline {
  font-family: var(--font);
  font-size: clamp(40px, 6vw, 78px);
  font-weight: var(--head-weight);
  line-height: 1.0;
  letter-spacing: var(--head-tracking);
  max-width: 15ch;
  margin: 0 auto;
  text-wrap: balance;
}
.headline .ev { color: var(--accent); }
.subtitle {
  margin: 28px auto 0;
  max-width: 620px;
  font-size: clamp(16px, 1.35vw, 17.5px);
  line-height: 1.5;
  color: var(--ink-soft-deep);
  font-weight: 400;
  letter-spacing: -0.008em;
  text-wrap: pretty;
}
.cta-row {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- GENERIC CONTENT SECTIONS ---------- */
.section {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px 24px 0;
}
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-head {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-tracking);
  line-height: 1.04;
  max-width: 18ch;
  text-wrap: balance;
}
.section-lead {
  margin-top: 20px;
  max-width: 60ch;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.55;
  color: var(--ink-soft-deep);
  letter-spacing: -0.006em;
  text-wrap: pretty;
}

/* Feature rows (alternating image + text) */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature + .feature { margin-top: 88px; }
.feature.flip .feature-media { order: 2; }
.feature-title {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.feature-body {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-soft-deep);
  letter-spacing: -0.004em;
  text-wrap: pretty;
}
.feature-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f4f4f5;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 24px 56px -22px rgba(0,0,0,0.2);
  aspect-ratio: 4 / 3;
}
.feature-media img,
.feature-media image-slot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bullet list */
.checklist { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.checklist li { list-style: none; display: flex; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--ink-soft-deep); }
.checklist li::before {
  content: "";
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c8642a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Stat band */
.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 48px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fafafa);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 24px 56px -30px rgba(0,0,0,0.18);
}
.stat-num {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.stat-num .unit { color: var(--accent); }
.stat-label {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-soft-deep);
}

/* CTA band */
.cta-band {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 110px auto 0;
  padding: 0 24px;
}
.cta-inner {
  border-radius: 28px;
  background: var(--ink);
  color: #fff;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 18ch;
  margin: 0 auto;
  text-wrap: balance;
}
.cta-inner p {
  margin: 18px auto 0;
  max-width: 54ch;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
}
.cta-inner .cta-row { margin-top: 34px; }

/* ---------- FOOTER ---------- */
footer {
  position: relative;
  z-index: 1;
  margin-top: 120px;
  background: var(--footer-bg);
  color: var(--footer-ink);
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 64px 24px 0; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-wordmark { font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: #fff; margin-bottom: 18px; }
.footer-tagline { color: #fff; font-size: 13.5px; font-weight: 400; max-width: 320px; line-height: 1.45; letter-spacing: -0.008em; }
.footer-cols { display: flex; gap: 90px; }
.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-col-title { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--footer-soft); }
.footer-col a { color: var(--footer-ink); font-size: 16px; font-weight: 500; transition: color .18s ease; }
.footer-col a:hover { color: var(--footer-soft); }
.footer-bottom {
  margin-top: 88px;
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { color: #c9c9cf; font-size: 14px; }
.footer-legal { display: flex; gap: 56px; }
.footer-legal a { color: #c9c9cf; font-size: 14px; transition: color .18s ease; }
.footer-legal a:hover { color: var(--footer-ink); }

/* ---------- REVEALS ---------- */
html.anim .reveal { opacity: 0; }
html.anim .reveal.in {
  animation: revealUp .8s cubic-bezier(.2,.7,.2,1) both;
  animation-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
@keyframes revealUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.anim .reveal { opacity: 1 !important; animation: none !important; transform: none !important; }
}
html.reveal-fallback .reveal { opacity: 1 !important; animation: none !important; transform: none !important; }

/* Accent focus + selection */
::selection { background: color-mix(in srgb, var(--accent) 22%, transparent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 5px; }

/* Section header alignment helpers */
.section.center { text-align: center; }
.section.center .section-head,
.section.center .section-lead { margin-left: auto; margin-right: auto; }
.section-head.lg { max-width: 22ch; }

/* Framed screenshot (browser chrome) */
.shot {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f4f4f5;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 30px 70px -28px rgba(0,0,0,0.28);
}
.shot-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  background: #fafafa;
  border-bottom: 1px solid var(--line);
}
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d6d6d9; }
.shot-body { display: block; }
.shot-body image-slot,
.shot-body img { display: block; width: 100%; height: 100%; }
.shot-hero { max-width: 1000px; margin: 56px auto 0; }
.shot-hero .shot-body { aspect-ratio: 16 / 9; }

/* Problem question cards */
.q-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.q-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 168px;
}
.q-mark {
  font-family: var(--font);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}
.q-text {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: pretty;
}

/* Feature grid (label + description cards) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.fitem {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.fitem-label {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
}
.fitem-label .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 9px;
  vertical-align: middle;
}
.fitem-desc {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft-deep);
  letter-spacing: -0.004em;
}

/* Numbered steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 52px;
}
.step { position: relative; }
.step-num {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}
.step-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.25;
}
.step-body {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft-deep);
  letter-spacing: -0.004em;
  text-wrap: pretty;
}

/* Two-column checklist for capability / benefit lists */
.checklist.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
}

/* Friction / problem list (neutral minus marker) */
.x-list { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.x-list li {
  list-style: none; display: flex; gap: 12px;
  font-size: 16px; line-height: 1.5; color: var(--ink-soft-deep);
}
.x-list li::before {
  content: ""; flex: 0 0 auto;
  width: 20px; height: 20px; margin-top: 1px;
  border-radius: 50%;
  background: #f0f0f1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8a90' stroke-width='3.5' stroke-linecap='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 18px; font-size: 15px; font-weight: 600; color: var(--ink);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* Chat mock (guided discovery) */
.chat {
  max-width: 660px; margin: 48px auto 0;
  display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--line); border-radius: 24px;
  padding: 30px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 30px 70px -30px rgba(0,0,0,0.24);
  text-align: left;
}
.bubble {
  max-width: 82%; padding: 14px 18px;
  font-size: 15.5px; line-height: 1.45; letter-spacing: -0.004em;
}
.bubble.user {
  align-self: flex-end; background: var(--ink); color: #fff;
  border-radius: 18px 18px 6px 18px;
}
.bubble.zoe {
  align-self: flex-start; background: var(--pill-bg); color: var(--ink);
  border-radius: 18px 18px 18px 6px;
}
.bubble.zoe .who {
  display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 700; color: var(--accent); margin-bottom: 5px;
}
/* Soft user bubble — very light grey with black text */
.bubble.user.soft { background: var(--pill-bg); color: var(--ink); }

/* ---- Rich Zoe result: summary bubble + inline filters ---- */
.z-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
  background: radial-gradient(120% 120% at 30% 20%, color-mix(in srgb, var(--accent) 45%, #fff), var(--accent));
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 12px; letter-spacing: 0.02em;
  box-shadow: 0 2px 6px -1px color-mix(in srgb, var(--accent) 45%, transparent);
}
.z-result {
  position: relative; align-self: flex-start; max-width: 88%;
  background: var(--ink); color: #fff;
  border-radius: 18px 18px 18px 6px;
  padding: 16px 19px;
  font-size: 15.5px; line-height: 1.5; letter-spacing: -0.004em;
}
.z-result .z-avatar { position: absolute; top: 12px; right: 12px; }
.z-result .txt { display: block; padding-right: 40px; }
.z-result b { color: #fff; font-weight: 700; }
.z-filters { align-self: stretch; margin-top: 4px; }

.z-field-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--ink-soft-deep); margin-bottom: 7px;
}
.z-select {
  appearance: none; width: 100%;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  padding: 13px 40px 13px 15px;
  font-family: var(--font); font-size: 14.5px; font-weight: 500;
  color: var(--ink); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2354545a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.z-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.z-select.placeholder { color: var(--ink-faint); }
.z-or {
  display: flex; align-items: center; gap: 12px; margin: 16px 0;
  font-size: 12px; font-weight: 600; color: var(--ink-faint); letter-spacing: 0.02em;
}
.z-or::before, .z-or::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.z-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.z-chip {
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  padding: 9px 18px;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  color: var(--ink); cursor: pointer;
  transition: all .15s ease;
}
.z-chip:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.z-chip.on {
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  border-color: var(--accent); color: var(--accent);
}

/* Tool / calculator cards */
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.tool-card {
  border: 1px solid var(--line); border-radius: 18px; padding: 26px;
  background: #fff; display: flex; gap: 18px; align-items: flex-start;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.tool-ico {
  width: 48px; height: 48px; border-radius: 13px; flex: 0 0 auto;
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  display: grid; place-items: center; font-size: 24px; line-height: 1;
}
.tool-title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.tool-desc { font-size: 14.5px; line-height: 1.5; color: var(--ink-soft-deep); letter-spacing: -0.004em; }

/* Companion promo card */
.promo {
  display: flex; align-items: center; gap: 22px;
  margin-top: 24px;
  border: 1px solid var(--line); border-radius: 18px;
  padding: 24px 28px;
  background: linear-gradient(180deg, #fff, #fafafa);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  color: inherit;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.promo:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  box-shadow: 0 18px 42px -22px rgba(0,0,0,0.24);
}
.promo-ico {
  width: 52px; height: 52px; border-radius: 14px; flex: 0 0 auto;
  background: color-mix(in srgb, var(--accent) 13%, #fff);
  display: grid; place-items: center;
}
.promo-ico svg { display: block; }
.promo-main { flex: 1; }
.promo-title { font-size: 18px; font-weight: 700; letter-spacing: -0.012em; }
.promo-desc { margin-top: 5px; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft-deep); letter-spacing: -0.004em; }
.promo-arrow { font-size: 22px; color: var(--accent); flex: 0 0 auto; transition: transform .2s ease; }
.promo:hover .promo-arrow { transform: translateX(4px); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .q-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .feature-media { order: 0; }
  .stat-band { grid-template-columns: 1fr; gap: 28px; padding: 36px; }
  .checklist.two-col { grid-template-columns: 1fr; }
  .x-list { grid-template-columns: 1fr; }
  .promo { gap: 16px; padding: 20px; }
  .promo-arrow { display: none; }
}
@media (max-width: 560px) {
  .q-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { padding: 11px 12px 11px 18px; }
  .nav-links { display: none; }
  .hero { padding-top: 92px; }
  .footer-cols { gap: 56px; }
  .footer-legal { gap: 28px; }

  /* Mobile menu */
  .nav-toggle { display: inline-flex; }
  .nav-wrap.menu-open .nav {
    background: color-mix(in srgb, #ffffff 88%, transparent);
    backdrop-filter: blur(14px) saturate(1.25);
    -webkit-backdrop-filter: blur(14px) saturate(1.25);
    border-color: var(--line);
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  }
  .nav-wrap.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 24px 50px -22px rgba(0,0,0,0.28);
  }
  .nav-wrap.menu-open .nav-links a {
    padding: 13px 14px;
    border-radius: 11px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
  }
  .nav-wrap.menu-open .nav-links a:hover { background: var(--pill-bg); }
  .nav-wrap.menu-open .nav-links a.active::after { display: none; }
}
@media (max-width: 520px) {
  .footer-top { flex-direction: column; }
}

/* ============================================================
   LEGAL / PROSE PAGES (Privacy, Terms)
   ============================================================ */
.legal-head {
  position: relative; z-index: 1;
  max-width: 820px; margin: 0 auto;
  padding: 104px 24px 0; text-align: left;
}
.legal-title {
  font-family: var(--font);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: var(--head-weight);
  line-height: 1.02; letter-spacing: var(--head-tracking);
  margin: 14px 0 0;
}
.legal-meta {
  margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 13.5px; color: var(--ink-soft); letter-spacing: -0.004em;
}
.legal-meta .sep { color: var(--ink-faint); }
.legal-lead {
  margin-top: 26px; max-width: 70ch;
  font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6;
  color: var(--ink-soft-deep); text-wrap: pretty;
}
.legal-rule {
  max-width: 820px; margin: 44px auto 0; padding: 0 24px;
}
.legal-rule hr { border: none; border-top: 1px solid var(--line); margin: 0; }

.legal-body {
  position: relative; z-index: 1;
  max-width: 820px; margin: 0 auto;
  padding: 44px 24px 0;
}
.legal-section { padding-top: 40px; scroll-margin-top: 100px; }
.legal-section:first-child { padding-top: 0; }
.legal-section h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700; letter-spacing: -0.022em; line-height: 1.2;
  margin-bottom: 16px;
}
.legal-section h2 .num {
  color: var(--accent); font-variant-numeric: tabular-nums;
  margin-right: 12px; font-weight: 800;
}
.legal-section h3 {
  font-size: 17.5px; font-weight: 700; letter-spacing: -0.012em;
  margin: 28px 0 10px;
}
.legal-body p {
  font-size: 16px; line-height: 1.7; color: var(--ink-soft-deep);
  letter-spacing: -0.004em; margin-bottom: 16px; max-width: 72ch; text-wrap: pretty;
}
.legal-body p strong { color: var(--ink); font-weight: 700; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-body ul, .legal-body ol {
  margin: 0 0 18px; padding-left: 22px; max-width: 72ch;
}
.legal-body li {
  font-size: 16px; line-height: 1.7; color: var(--ink-soft-deep);
  letter-spacing: -0.004em; margin-bottom: 9px; padding-left: 4px;
}
.legal-body li::marker { color: var(--accent); }
.legal-callout {
  margin: 22px 0; padding: 20px 22px;
  background: var(--pill-bg); border: 1px solid var(--line); border-radius: 14px;
  font-size: 15px; line-height: 1.6; color: var(--ink-soft-deep);
}
.legal-placeholder {
  margin-top: 8px; padding: 40px 28px; text-align: center;
  background: color-mix(in srgb, var(--accent) 5%, #fff);
  border: 1px dashed color-mix(in srgb, var(--accent) 40%, var(--line));
  border-radius: 16px;
  color: var(--ink-soft); font-size: 14.5px; line-height: 1.6;
}
.legal-placeholder strong { color: var(--ink); font-weight: 700; }
@media (max-width: 720px) {
  .legal-head { padding-top: 84px; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-body {
  position: relative; z-index: 1;
  max-width: 1040px; margin: 0 auto;
  padding: 44px 24px 0;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px;
  align-items: start;
}
/* Email-only (no form) layout */
.contact-body.solo {
  display: flex; flex-direction: column; gap: 18px;
  max-width: 720px;
}
.contact-email {
  border: 1px solid var(--line); border-radius: 20px;
  padding: 40px 36px;
  background: linear-gradient(180deg, #fff, #fcfcfc);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 30px 70px -40px rgba(0,0,0,0.22);
}
.contact-email .label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.contact-email-addr {
  display: inline-block;
  font-size: clamp(28px, 4vw, 40px); font-weight: 800;
  letter-spacing: -0.03em; color: var(--ink); text-decoration: none;
}
.contact-email-addr:hover { color: var(--accent); }
.contact-email .sub {
  margin-top: 14px; max-width: 48ch;
  font-size: 15px; line-height: 1.6; color: var(--ink-soft-deep);
}
.contact-email .btn-primary { margin-top: 26px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.005em; color: var(--ink-soft-deep);
}
.field-label .req { color: var(--accent); margin-left: 2px; }
.input, .textarea, .select-native {
  width: 100%;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  padding: 13px 15px;
  font-family: var(--font); font-size: 15px; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-faint); }
.input:focus, .textarea:focus, .select-native:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
}
.textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.select-native {
  appearance: none; cursor: pointer; color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2354545a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.contact-form .btn-primary { align-self: flex-start; margin-top: 4px; border: none; cursor: pointer; }
.form-note { font-size: 12.5px; color: var(--ink-faint); line-height: 1.5; }
.form-success {
  display: none;
  padding: 16px 18px; border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  font-size: 14.5px; color: var(--ink); line-height: 1.5;
}
.form-success.show { display: block; }

.contact-aside { display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }
.contact-card {
  border: 1px solid var(--line); border-radius: 16px; padding: 22px;
  background: linear-gradient(180deg, #fff, #fcfcfc);
}
.contact-card .label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.contact-card .value { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.contact-card .value a { color: var(--ink); text-decoration: none; }
.contact-card .value a:hover { color: var(--accent); }
.contact-card .sub { margin-top: 6px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 860px) {
  .contact-body { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .field.row2 { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; }
}
