/* Kynd Agent — kyndagent.com
   The journey build: dark, one blue-violet gradient family (the heart's own),
   italic serif display accents, scenes that reveal on scroll.
   No libraries; the heart animation is ported verbatim from the app. */

:root {
  --bg:        #08090c;
  --bg-raised: #0f1117;
  --line:      rgba(255,255,255,.09);
  --line-soft: rgba(255,255,255,.055);
  --ink:       #ecedf1;
  --ink-dim:   #9aa0ab;
  --ink-faint: #6d7480;

  /* The heart's gradient, lifted from the app: violet → blue → cyan */
  --g1: #7a5cf8;
  --g2: #3b82f7;
  --g3: #14b4f9;
  --accent: var(--g2);
  --accent-rgb: 59,130,247;
  /* Warm counterpoint, used only where the copy turns on "big AI" */
  --w1: #f97a5c;
  --w2: #f75c9b;

  --grad: linear-gradient(100deg, var(--g1), var(--g2) 55%, var(--g3));
  --grad-warm: linear-gradient(100deg, var(--w1), var(--w2));

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --serif: "New York", ui-serif, Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;

  --gut: clamp(20px, 5vw, 64px);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── Reveal system ────────────────────────────────────────── */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,.6,.2,1), transform .7s cubic-bezier(.22,.6,.2,1);
  transition-delay: 0ms; /* journey.js staggers siblings */
}
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  max-width: var(--max); margin: 0 auto;
  padding: 20px var(--gut);
  position: relative; z-index: 5;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 620; letter-spacing: -.01em; text-decoration: none;
}
.brand-heart { width: 26px; height: 26px; display: inline-block; }
.brand-heart .cmhl { width: 100%; height: 100%; display: block; }
.nav nav { display: flex; align-items: center; gap: 26px; }
.nav nav a {
  color: var(--ink-dim); text-decoration: none; font-size: 15px;
  transition: color .15s;
}
.nav nav a:hover { color: var(--ink); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: #1c2030;
  color: #fff;
  text-decoration: none;
  font-weight: 560; font-size: 16px;
  padding: 13px 26px;
  border-radius: 99px;
  border: 1px solid var(--line);
  transition: transform .12s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.12); }
.btn:active { transform: translateY(0); }
.btn-grad {
  background: var(--grad);
  border: 0;
  box-shadow: 0 8px 30px -10px rgba(var(--accent-rgb), .55);
}
.btn-grad:hover { box-shadow: 0 12px 38px -10px rgba(var(--accent-rgb), .7); }
.btn-sm { padding: 8px 17px; font-size: 14.5px; }
.nav .btn-sm { color: #fff; background: var(--grad); border: 0; }
/* Secondary action sitting beside a gradient one. Outlined rather than filled,
   so "Buy" never competes with the free trial for the eye. */
.btn-ghost { background: transparent; color: var(--ink-dim); }
.btn-ghost:hover { background: #1c2030; color: var(--ink); }
/* A <button class="btn"> inherits neither the page font nor a pointer cursor,
   so without this it sits half a size off the anchor next to it. */
button.btn { font-family: inherit; line-height: inherit; cursor: pointer; appearance: none; }
/* Disabled wins over .btn:hover on specificity, so a busy button stays still. */
button.btn[disabled] { opacity: .55; cursor: default; transform: none; filter: none; }

/* Inline failure notice under an action. No display of its own — and no global
   [hidden] rule in this sheet — so el.hidden = true is honoured either way. */
.form-error { color: var(--w1); font-size: 14.5px; margin: 14px 0 0; }
.form-error[hidden] { display: none; }

/* ── Type ─────────────────────────────────────────────────── */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 18px;
}
.eyebrow i { width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }

h1, h2, h3 { letter-spacing: -.035em; font-weight: 640; line-height: 1.06; margin: 0; }
h1 { font-size: clamp(44px, 6.5vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 24px; }
p  { margin: 0 0 18px; }
.quiet { color: var(--ink-faint); font-size: 15px; line-height: 1.6; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Gradient serif accents — the lightvision trick, in Kynd's colours */
h1 em, h2 em, .display-line em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 560;
  letter-spacing: -.01em;
}
em.grad, .display-line em {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
em.grad-warm {
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.display-line {
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.15;
  margin: 6px 0 22px;
}
.lede { color: var(--ink-dim); font-size: 18.5px; max-width: 60ch; }
.section-lede {
  color: var(--ink-dim); font-size: 18px; max-width: 64ch; margin: -6px 0 34px;
}
.specs {
  font-family: var(--mono);
  font-size: 12.5px; color: var(--ink-faint);
  line-height: 1.75;
}

/* ── Layout primitives ────────────────────────────────────── */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 130px) var(--gut);
  border-top: 1px solid var(--line-soft);
  position: relative;
}
.scene-copy { max-width: 62ch; }
.scene-copy p { color: var(--ink-dim); font-size: 18px; }
.scene-copy.center { margin: 0 auto; text-align: center; }

/* ── Scene 1 · opening ────────────────────────────────────── */
.opening {
  min-height: calc(100svh - 70px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 20px var(--gut) 90px;
  position: relative;
}
/* A soft aurora behind the heart — pure gradient, no image */
.opening::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 34% at 50% 30%, rgba(122,92,248,.16), transparent 70%),
    radial-gradient(30% 26% at 62% 24%, rgba(20,180,249,.10), transparent 70%);
}
.opening-inner { position: relative; max-width: 760px; }
.opening-heart {
  width: clamp(120px, 16vw, 170px);
  height: clamp(120px, 16vw, 170px);
  margin: 0 auto 30px;
  animation: cmhl-float 6s ease-in-out infinite;
}
.opening-heart .cmhl {
  width: 100%; height: 100%;
  filter: drop-shadow(0 14px 44px rgba(var(--accent-rgb), .5));
}
.opening .lede { margin: 18px auto 30px; }
.cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta.center { justify-content: center; }
.cta-note { color: var(--ink-faint); font-size: 14.5px; }
.cta-note.left { display: block; margin-top: 14px; }
.opening .specs { margin-top: 30px; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--line);
  border-radius: 14px; display: block;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; width: 3px; height: 8px;
  margin-left: -1.5px; border-radius: 3px; background: var(--ink-faint);
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  55% { transform: translateY(12px); opacity: 0; }
  56% { transform: translateY(0); opacity: 0; }
}

/* ── Scene 2 · rented intelligence ────────────────────────── */
.drift {
  display: flex; flex-wrap: wrap; gap: 10px 12px;
  margin-top: 38px; max-width: 640px;
}
.drift span {
  font-family: var(--mono); font-size: 12.5px;
  color: var(--ink-faint);
  border: 1px solid var(--line-soft);
  padding: 7px 14px; border-radius: 99px;
}
.drift span:nth-child(odd) { transform: rotate(-.6deg); }
.drift span:nth-child(even) { transform: rotate(.5deg); }

/* ── Scene 3 · the turn ───────────────────────────────────── */
.turn { text-align: center; }
.turn::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(36% 30% at 50% 22%, rgba(122,92,248,.10), transparent 70%);
}
.turn-heart {
  width: 74px; height: 74px; margin: 0 auto 26px;
  position: relative;
}
.turn-heart .cmhl {
  width: 100%; height: 100%;
  filter: drop-shadow(0 10px 30px rgba(var(--accent-rgb), .45));
}
.pillrow {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 12px;
  margin-top: 34px;
}
.pillrow span {
  font-family: var(--mono); font-size: 12.5px;
  color: var(--ink);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--grad) border-box;
  padding: 8px 16px; border-radius: 99px;
}

/* ── Feature rows ─────────────────────────────────────────── */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 44%);
  gap: clamp(28px, 4.5vw, 68px);
  align-items: center;
}
.feature-row.reverse { grid-template-columns: minmax(0, 44%) minmax(0, 1fr); }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-shot,
.feature-row.reverse .notice-wrap { order: 1; }
.feature-copy p { color: var(--ink-dim); }
.feature-copy .quiet { color: var(--ink-faint); }
.feature-shot { margin: 0; }
.feature-shot img {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.9);
}
.feature-shot.wide { margin: 44px 0 0; }
.feature-shot.wide figcaption { margin-top: 12px; }

/* ── Panels: voices / templates ───────────────────────────── */
.tabs {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 26px 14px;
}
.tabs .eyebrow { margin-bottom: 10px; }
.tabs ul { list-style: none; margin: 0; padding: 0; }
.tabs li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--ink);
}
.tabs li:last-child { border-bottom: 0; }
.tabs li span {
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--ink-faint);
  margin-left: auto;
  text-align: right;
  max-width: 62%;
  line-height: 1.45;
}

/* ── Notice / research log mock ───────────────────────────── */
.notice-wrap { margin: 0; }
.notice {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px 18px;
  box-shadow: 0 18px 50px -30px rgba(0,0,0,.9);
  max-width: 440px;
}
.notice-head {
  font-size: 15.5px; font-weight: 590; letter-spacing: -.01em;
  margin: 0 0 12px; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.notice-head::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--g3); box-shadow: 0 0 10px var(--g3);
}
.log-line {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--mono); font-size: 12.5px;
  color: var(--ink-dim); line-height: 1.5;
  margin: 0 0 9px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.log-line span {
  flex: 0 0 52px;
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint);
}
.log-line.dim { color: var(--ink-faint); }
.log-line.dim span { color: var(--g3); }
.notice-cap { margin: 18px 0 0; max-width: 420px; }

/* ── Scene 7 · calculator ─────────────────────────────────── */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 42%);
  gap: clamp(26px, 4vw, 60px);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 44px);
}
.calc-label {
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); margin: 0 0 12px;
}
.calc-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
}
.calc-head .calc-label { margin-bottom: 12px; }
#calcCurrency {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-dim);
  font-family: var(--mono); font-size: 12px;
  padding: 5px 26px 5px 10px;
  cursor: pointer;
  /* Chevron drawn inline so the control needs no image request */
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-faint) 50%),
                    linear-gradient(135deg, var(--ink-faint) 50%, transparent 50%);
  background-position: right 12px center, right 7px center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
#calcCurrency:hover { color: var(--ink); border-color: var(--ink-faint); }

/* Two columns so thirteen plans stay compact instead of becoming a scroll */
.calc-subs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 30px;
}
.calc-group {
  grid-column: 1 / -1;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint);
  margin: 10px 0 0;
}
.calc-group:first-child { margin-top: 0; }
.calc-fx { display: block; margin-top: 10px; color: var(--ink-faint); }
@media (max-width: 1080px) {
  .calc-subs { grid-template-columns: 1fr; }
}
.calc-subs label {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 15px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  font-size: 15.5px;
}
.calc-subs label:hover { border-color: var(--line); background: rgba(255,255,255,.02); }
.calc-subs label:has(input:checked) {
  border-color: transparent;
  background:
    linear-gradient(var(--bg-raised), var(--bg-raised)) padding-box,
    var(--grad) border-box;
}
.calc-subs input {
  appearance: none; width: 17px; height: 17px; margin: 0;
  border: 1.5px solid var(--ink-faint); border-radius: 5px;
  display: grid; place-content: center;
  cursor: pointer; flex: none;
}
.calc-subs input:checked { border-color: var(--g2); background: var(--g2); }
.calc-subs input:checked::before {
  content: ""; width: 9px; height: 9px;
  clip-path: polygon(14% 44%, 0 61%, 40% 100%, 100% 16%, 84% 3%, 39% 70%);
  background: #fff;
}
.calc-subs em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 12.5px; color: var(--ink-faint); }

.calc-years { display: flex; align-items: center; gap: 18px; }
.calc-years input[type=range] {
  flex: 1; appearance: none; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--g1), var(--g3));
  outline: none;
}
.calc-years input::-webkit-slider-thumb {
  appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.5);
  cursor: grab;
}
.calc-years output { font-family: var(--mono); font-size: 13.5px; color: var(--ink); min-width: 64px; text-align: right; }

.calc-result {
  border-left: 1px solid var(--line);
  padding-left: clamp(22px, 3vw, 44px);
  display: flex; flex-direction: column; justify-content: center;
  /* Nineteen plans make a long list — keep the running total in view while
     the reader ticks their way down it. */
  align-self: start;
  position: sticky;
  top: 90px;
}
@media (max-width: 900px) {
  .calc-result { position: static; }
}
.calc-big {
  font-size: clamp(46px, 5.5vw, 68px);
  font-weight: 650; letter-spacing: -.045em; line-height: 1;
  margin: 0 0 6px;
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-variant-numeric: tabular-nums;
}
.calc-big-label { color: var(--ink-faint); font-size: 14.5px; margin: 0 0 26px; }
.calc-vs { display: flex; gap: 34px; margin-bottom: 24px; }
.calc-vs span {
  display: block; font-size: 26px; font-weight: 640; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.calc-vs .keep span {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.calc-vs small { color: var(--ink-faint); font-size: 13px; }
.calc-foot { margin: 0; }

/* ── Lists ────────────────────────────────────────────────── */
.plain-list { list-style: none; padding: 0; margin: 0; max-width: 68ch; }
.plain-list li {
  color: var(--ink-dim);
  padding: 13px 0 13px 26px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.plain-list li:last-child { border-bottom: 0; }
.plain-list li::before {
  content: ""; position: absolute; left: 2px; top: 25px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad);
}
.plain-list.tight li { padding: 9px 0 9px 26px; border-bottom: 0; }
.plain-list.tight li::before { top: 21px; }

/* ── Tier table ───────────────────────────────────────────── */
.table-scroll { overflow-x: auto; margin-bottom: 44px; }
table.tiers { width: 100%; min-width: 560px; border-collapse: collapse; }
table.tiers thead th {
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 400;
  text-align: left;
  padding: 0 18px 12px 0;
  border-bottom: 1px solid var(--line);
}
table.tiers thead th:last-child { color: var(--g2); }
table.tiers tbody th {
  text-align: left; font-weight: 450; color: var(--ink);
  padding: 15px 24px 15px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 16px;
}
table.tiers td {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-dim);
  padding: 15px 18px 15px 0;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  width: 26%;
}
table.tiers td.n { color: var(--ink-faint); }
table.tiers td.y { color: var(--ink); }
table.tiers tbody tr td:last-child { color: var(--ink); }
table.tiers thead th:last-child,
table.tiers tbody td:last-child {
  background: rgba(var(--accent-rgb), .05);
  padding-left: 16px;
  border-left: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}

/* ── Pricing card ─────────────────────────────────────────── */
.price-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(24px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-raised);
  padding: clamp(26px, 4vw, 46px);
  margin-top: 6px;
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  background: radial-gradient(46% 60% at 0% 0%, rgba(122,92,248,.09), transparent 70%);
}
.founding-tag {
  display: inline-block;
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .12em; text-transform: uppercase;
  color: #fff;
  background: var(--grad-warm);
  padding: 5px 13px; border-radius: 99px;
  margin: 0 0 14px;
}
.price {
  font-size: clamp(52px, 7vw, 74px);
  letter-spacing: -.05em; font-weight: 650; line-height: 1;
  margin: 0 0 8px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.price-was { color: var(--ink-faint); font-size: 15px; margin: 0 0 26px; }
.price-was s { color: var(--ink-faint); }
.price-main { position: relative; }
.price-main .btn { margin-top: 26px; }
/* Two buttons in a row: hang the 26px off the row, not off each button, or the
   pair stacks on a narrow screen with the margin added to the flex gap. */
.price-main .cta { margin-top: 26px; }
.price-main .cta .btn { margin-top: 0; }
.price-compare {
  position: relative;
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 3vw, 40px);
}
.price-compare table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.price-compare th {
  text-align: left; font-weight: 500; color: var(--ink);
  padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px;
}
.price-compare td {
  text-align: right; color: var(--ink-dim);
  font-family: var(--mono); font-size: 13.5px;
  padding: 11px 0; border-bottom: 1px solid var(--line-soft);
}
.price-compare tr:first-child th,
.price-compare tr:first-child td { color: var(--ink); }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { max-width: 78ch; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer; padding: 20px 0; font-size: 17.5px;
  font-weight: 560; letter-spacing: -.015em;
  list-style: none; position: relative; padding-right: 32px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 18px;
  color: var(--ink-faint); font-family: var(--mono); font-size: 19px;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-dim); margin: 0 0 22px; max-width: 70ch; }

/* ── Closing ──────────────────────────────────────────────── */
.closing { text-align: center; }
.closing::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 34% at 50% 40%, rgba(122,92,248,.12), transparent 70%);
}
.closing-heart {
  width: 92px; height: 92px; margin: 0 auto 28px;
  animation: cmhl-float 6s ease-in-out infinite;
  position: relative;
}
.closing-heart .cmhl {
  width: 100%; height: 100%;
  filter: drop-shadow(0 12px 36px rgba(var(--accent-rgb), .5));
}
.closing .section-lede { margin-bottom: 30px; }

/* ── Comparison pages ─────────────────────────────────────── */
.cmp-hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(40px, 6vw, 76px) var(--gut) clamp(30px, 4vw, 50px);
  position: relative;
}
.cmp-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 60% at 10% 0%, rgba(122,92,248,.10), transparent 70%);
}
.cmp-hero > * { position: relative; }
.cmp-hero h1 { font-size: clamp(34px, 4.6vw, 56px); max-width: 20ch; }
.cmp-hero .lede { margin-top: 22px; font-size: 19px; max-width: 64ch; }

.crumb {
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-faint);
  margin: 0 0 20px;
}
.crumb a { color: var(--ink-faint); text-decoration: none; }
.crumb a:hover { color: var(--ink); }

/* Date stamp — these pages describe fast-moving products, so every one says
   out loud when it was last checked. */
.verified {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-faint);
  border: 1px solid var(--line-soft); border-radius: 99px;
  padding: 6px 15px; margin-top: 26px;
}
.verified::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green, #4ec98a); box-shadow: 0 0 8px rgba(78,201,138,.7);
}

/* The short answer, up top — including who should not buy Kynd */
.verdict {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-image: var(--grad) 1;
  border-radius: 0 14px 14px 0;
  padding: 24px 28px;
  margin: 0 0 8px;
  max-width: 74ch;
}
.verdict p { margin: 0 0 14px; color: var(--ink-dim); font-size: 17px; }
.verdict p:last-child { margin-bottom: 0; }
.verdict strong { color: var(--ink); font-weight: 600; }

/* "Use them instead" — the section that makes the page worth citing */
.instead {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 28px;
  background: rgba(249,122,92,.035);
  max-width: 74ch;
}
.instead h3 { margin-bottom: 14px; }
.instead ul { list-style: none; margin: 0; padding: 0; }
.instead li {
  color: var(--ink-dim); padding: 11px 0 11px 24px; position: relative;
  border-bottom: 1px solid var(--line-soft);
}
.instead li:last-child { border-bottom: 0; }
.instead li::before {
  content: "→"; position: absolute; left: 0; top: 11px;
  color: var(--w1); font-family: var(--mono);
}
.instead li strong { color: var(--ink); font-weight: 600; }

/* Comparison table — same skeleton as the tier table, wider first column */
table.cmp { width: 100%; min-width: 680px; border-collapse: collapse; }
/* Six to eight columns need more room than the 2-3 column tables, or every
   cell wraps to a word per line. Both scroll horizontally inside .table-scroll. */
table.cmp.wide { min-width: 1080px; }
table.cmp thead th {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-faint); font-weight: 400;
  text-align: left; padding: 0 16px 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: bottom;
}
table.cmp thead th.us { color: var(--g2); }
table.cmp tbody th {
  text-align: left; font-weight: 450; color: var(--ink);
  padding: 14px 20px 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15.5px; width: 26%;
}
table.cmp td {
  font-size: 14px; color: var(--ink-dim);
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
table.cmp td.us { color: var(--ink); background: rgba(var(--accent-rgb), .05); padding-left: 14px; }
table.cmp .y { color: var(--ink); }
table.cmp .n { color: var(--ink-faint); }

/* Per-product write-ups */
.rundown { display: grid; gap: 20px; }
.rundown article {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 24px 26px;
  background: var(--bg-raised);
}
.rundown h3 { margin-bottom: 8px; font-size: 20px; }
.rundown .meta {
  font-family: var(--mono); font-size: 12px; color: var(--ink-faint);
  margin: 0 0 14px;
}
.rundown p { color: var(--ink-dim); margin: 0 0 12px; }
.rundown p:last-child { margin-bottom: 0; }

/* Cross-links between comparison pages */
.more-cmp { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.more-cmp a {
  display: block; text-decoration: none;
  border: 1px solid var(--line-soft); border-radius: 12px;
  padding: 18px 20px; background: var(--bg-raised);
  transition: border-color .15s, transform .12s;
}
.more-cmp a:hover { border-color: var(--line); transform: translateY(-2px); }
.more-cmp b { display: block; font-weight: 570; margin-bottom: 5px; letter-spacing: -.01em; }
.more-cmp span { color: var(--ink-faint); font-size: 14px; line-height: 1.5; }

@media (max-width: 620px) {
  .verdict { border-radius: 0 12px 12px 0; padding: 20px 22px; }
}

/* ── Footer ───────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line-soft); }
.foot-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 46px var(--gut) 66px;
  display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.brand-foot {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 620; margin: 0;
}
.brand-foot .brand-heart { width: 20px; height: 20px; }
.foot-inner .quiet { margin: 0; text-align: right; }
.foot-inner a { color: var(--ink-dim); }

/* ── The heart — ported verbatim from the app ─────────────── */
.cmhl { display: block; }
.cmhl-beat {
  transform-box: fill-box; transform-origin: 50% 60%;
  animation: cmhl-beat 9s ease-in-out infinite;
}
.cmhl-open { animation: cmhl-pose-open 9s linear infinite; }
.cmhl-open .cmhl-eye {
  transform-box: fill-box; transform-origin: center;
  animation: cmhl-blink 9s ease-in-out infinite;
}
.cmhl-squint {
  opacity: 0;
  transform-box: fill-box; transform-origin: 50% 50%;
  animation: cmhl-pose-squint 9s linear infinite,
             cmhl-squint-pop 9s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}
@keyframes cmhl-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes cmhl-beat { /* "ba-bump" double pump at the top of the loop */
  0%, 13%, 100% { transform: scale(1); }
  4%  { transform: scale(1.075); }
  8%  { transform: scale(0.99); }
  11% { transform: scale(1.04); }
}
@keyframes cmhl-blink {
  0%, 30%, 34%, 52%, 56%, 100% { transform: scaleY(1); }
  31.6%, 53.6% { transform: scaleY(0.07); }
}
@keyframes cmhl-pose-open { /* open eyes + soft smile, hidden during squint */
  0%, 63%, 89.5%, 100% { opacity: 1; }
  64.5%, 88% { opacity: 0; }
}
@keyframes cmhl-pose-squint { /* the happy-squint grin window */
  0%, 63%, 89.5%, 100% { opacity: 0; }
  64.5%, 88% { opacity: 1; }
}
@keyframes cmhl-squint-pop {
  0%, 63% { transform: scale(0.55); }
  67% { transform: scale(1.14); }
  71%, 86% { transform: scale(1); }
  89.5%, 100% { transform: scale(0.55); }
}
.cmhl-static .cmhl-beat, .cmhl-static .cmhl-open,
.cmhl-static .cmhl-open .cmhl-eye, .cmhl-static .cmhl-squint { animation: none; }
.cmhl-static .cmhl-open { opacity: 0; }
.cmhl-static .cmhl-squint { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .opening-heart, .closing-heart, .cmhl-beat, .cmhl-open,
  .cmhl-open .cmhl-eye, .cmhl-squint, .scroll-cue span { animation: none; }
  .cmhl-open { opacity: 0; }
  .cmhl-squint { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .feature-row,
  .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-shot,
  .feature-row.reverse .notice-wrap { order: initial; }
  .calc { grid-template-columns: 1fr; }
  .calc-result {
    border-left: 0; border-top: 1px solid var(--line);
    padding-left: 0; padding-top: 28px;
  }
  .price-card { grid-template-columns: 1fr; }
  .price-compare { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 28px; }
  .foot-inner .quiet { text-align: left; }
}
@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .nav nav { gap: 14px; }
  .nav nav a:not(.btn) { display: none; }
  .cta { gap: 12px; }
  .drift { gap: 8px; }
}
