/* ==========================================================================
   Plinda · landing
   ========================================================================== */

:root {
  --bg: #F4F2EC;
  --card: #FFFFFF;
  --ink: #14201C;
  --ink-70: rgba(20, 32, 28, .70);
  --ink-50: rgba(20, 32, 28, .50);
  --ink-35: rgba(20, 32, 28, .35);
  --line: rgba(20, 32, 28, .10);
  --line-strong: rgba(20, 32, 28, .16);
  --primary: #1F5C4F;
  --accent: #5FD3B0;
  --neutral: #A9B3AD;
  --dark: #0C1412;
  --soft: #FBFAF7;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --maxw: 1200px;
  --edge: 12px;               /* distance from viewport to rails on small screens */
  --pad: 48px;                /* inner padding of the framed column */
  --section: 140px;
  --radius: 20px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --rail-x: max(var(--edge), calc(50% - var(--maxw) / 2));
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative; /* containing block for the rails */
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
svg { display: block; }

.mono { font-family: var(--mono); }
.sq { display: inline-block; width: 6px; height: 6px; background: var(--accent); flex: none; }

/* ----- Frame ------------------------------------------------------------ */

/* Absolute on the body, not fixed: fixed layers get re-composited per viewport
   and can repeat the top of the page in tall full-page captures. */
.rails {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.rails::before, .rails::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
}
.rails::before { left: var(--rail-x); }
.rails::after { right: var(--rail-x); }

main, .footer, .nav { position: relative; z-index: 1; }

.container {
  width: min(var(--maxw), calc(100% - var(--edge) * 2));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  position: relative;
  border-top: 1px solid var(--line);
  scroll-margin-top: 64px;
}
/* small square marks where dividers meet the rails */
.section::before, .section::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 7px; height: 7px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  z-index: 2;
}
.section::before { left: calc(var(--rail-x) - 3px); }
.section::after { right: calc(var(--rail-x) - 3px); }

.section-pad { padding-block: var(--section); }

/* ----- Type ------------------------------------------------------------- */

.h1, .h2 {
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}
/* capped a bit under 104px so "A vos, no a tu competencia." holds one line in the 1200 column */
.h1 { font-size: clamp(48px, 6.4vw, 96px); }
.h2 { font-size: clamp(36px, 4.4vw, 60px); }
.h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; }
.h1 .line { display: block; }
.muted { color: var(--neutral); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: currentColor;
}

.lead { color: var(--ink-70); font-size: 17px; max-width: 460px; }
.link { color: var(--ink); border-bottom: 1px solid var(--line-strong); transition: border-color .2s; }
.link:hover { border-color: var(--ink); }

/* split words */
/* top padding keeps accents (í, ó, á) inside the clip box */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em .04em .14em; margin: -.16em -.04em -.14em; }
.wi { display: inline-block; will-change: transform; }

/* ----- Buttons ---------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #24342F; }
.btn-secondary { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-secondary:hover { box-shadow: inset 0 0 0 1px rgba(20, 32, 28, .32); }
.btn-accent { background: var(--accent); color: var(--dark); }
.btn-accent:hover { background: #7ADDBF; }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }

.show-sm { display: none; }

/* ----- Logo ------------------------------------------------------------- */

.logo {
  display: inline-flex;
  align-items: baseline;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.logo-i { position: relative; display: inline-block; }
.logo-sq {
  position: absolute;
  left: 50%;
  top: .08em;
  width: .17em;
  height: .17em;
  transform: translateX(-50%);
  background: var(--accent);
}

/* ----- Nav -------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(244, 242, 236, .78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; height: 64px; gap: 40px; }
.nav-links { display: flex; gap: 32px; font-size: 15px; color: var(--ink-70); }
.nav-links a, .nav-login { transition: color .2s; }
.nav-links a:hover, .nav-login:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav-login { font-size: 15px; color: var(--ink-70); }

/* ----- Hero ------------------------------------------------------------- */

.hero { position: relative; padding-top: 104px; }
.hero-copy { text-align: center; position: relative; z-index: 2; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
}
.hero .h1 { margin: 32px auto 0; }
.hero-sub {
  margin: 32px auto 0;
  max-width: 600px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-70);
}
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }

.measured {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.measured-label { font-size: 14px; color: var(--ink-50); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chips li {
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-70);
}

.field {
  position: relative;
  z-index: 1;
  height: 500px;
  margin-top: -24px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 26%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 26%, #000 78%, transparent 100%);
  pointer-events: none;
}
.field canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s var(--ease); }
.field canvas.is-ready { opacity: 1; }

.product-wrap { position: relative; z-index: 2; margin-top: -128px; padding-bottom: 96px; }

/* logo wall */
.logos { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.logos-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-50); }
.logos-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  border-block: 1px solid var(--line);
}
.lw {
  display: grid;
  place-items: center;
  height: 72px;
  color: var(--neutral);
  font-size: 21px;
  line-height: 1;
  white-space: nowrap;
}
.lw + .lw { border-left: 1px solid var(--line); }
.lw-1 { font-weight: 600; letter-spacing: -0.05em; font-size: 23px; }
.lw-2 { font-weight: 400; letter-spacing: -0.02em; font-size: 18px; }
.lw-3 { font-weight: 300; letter-spacing: .32em; font-size: 16px; padding-left: .32em; }
.lw-4 { font-weight: 500; letter-spacing: -0.03em; }
.lw-5 { font-weight: 300; letter-spacing: -0.04em; font-size: 24px; }
.lw-6 { font-family: var(--mono); font-weight: 500; letter-spacing: -0.02em; font-size: 18px; }

/* ----- Product demo ----------------------------------------------------- */

.product {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(20, 32, 28, .04), 0 32px 64px -40px rgba(20, 32, 28, .22);
  overflow: hidden;
}
.product-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.tabs {
  display: flex;
  padding: 4px;
  gap: 4px;
  background: var(--bg);
  border-radius: 12px;
}
.tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--ink-50);
  overflow: hidden;
  transition: color .25s, background-color .25s, box-shadow .25s;
}
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(20, 32, 28, .06); }
.tab-progress {
  position: absolute;
  left: 12px; right: 12px; bottom: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
}
.tab.is-active .tab-progress { opacity: 1; }

.mark { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--ink); flex: none; }
.mark-1 { background: var(--primary); }
.mark-2 { background: var(--neutral); }

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 8px;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.live { display: inline-block; width: 6px; height: 6px; background: var(--accent); animation: blink 2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }

.product-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }

.chat { padding: 40px 48px 24px; min-height: 480px; display: flex; flex-direction: column; }
.chat-q-row { display: flex; justify-content: flex-end; }
.chat-q {
  max-width: 82%;
  padding: 12px 18px;
  border-radius: 18px 18px 4px 18px;
  background: var(--bg);
  font-size: 15px;
  line-height: 1.45;
  min-height: 46px;
}
.chat-q:empty { visibility: hidden; } /* keeps its space, no empty bubble before JS fills it */
.chat-a { margin-top: 32px; }
.chat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 12px;
}
.chat-text { font-size: 18px; line-height: 1.6; letter-spacing: -0.01em; color: var(--ink); }

/* Tokens are laid out from the start and fade in, so typing never reflows. */
.tok { opacity: 0; transition: opacity .35s var(--ease); }
.tok.is-shown { opacity: 1; }

/* ranked comparison */
.cmp { margin-top: 16px; display: grid; gap: 4px; }
.cmp-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 8px 12px;
  margin-inline: -12px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-50);
}
/* the highlight box only appears with its content, never as an empty placeholder */
.cmp-row.is-top { color: var(--ink-70); transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.cmp-row.is-top.is-in { background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.cmp-rank {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  align-self: center;
  border-radius: 6px;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-50);
}
.is-top .cmp-rank { background: var(--primary); color: #fff; }
.cmp-name { font-weight: 400; color: var(--ink-50); }
.is-top .cmp-name { font-weight: 500; color: var(--ink); }

.brand { position: relative; font-weight: 500; white-space: nowrap; z-index: 0; }
.brand::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px;
  bottom: .08em;
  height: .36em;
  background: var(--accent);
  opacity: .55;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease);
}
.brand.is-on::after { transform: scaleX(1); }

.cite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 4px;
  border-radius: 5px;
  background: var(--primary);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  vertical-align: 2px;
}
.cite.tok { transform: translateY(4px) scale(.85); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.cite.tok.is-shown { transform: none; }
.cite-soft { background: var(--bg); color: var(--ink-70); box-shadow: inset 0 0 0 1px var(--line); }

/* zero-width so moving it between tokens never reflows the line */
.caret { position: relative; display: inline-block; width: 0; height: 1em; vertical-align: -2px; }
.caret::after {
  content: "";
  position: absolute;
  left: 3px; top: 0;
  width: 8px; height: 1.05em;
  background: var(--primary);
  opacity: .7;
  animation: blink 1s steps(1) infinite;
}

.chat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 24px; /* bottom half doubles as the minimum gap above the input bar */
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-70);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.chat-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.chat-meta b { font-weight: 500; color: var(--ink); }
.chat-meta.is-hidden { opacity: 0; transform: translateY(6px); }

.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  height: 48px;
  padding: 0 8px 0 18px;
  border-radius: 14px;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px;
  color: var(--ink-35);
}
.chat-send {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-50);
}

.sources {
  border-left: 1px solid var(--line);
  background: var(--soft);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.sources-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 16px;
}
.sources-list { display: grid; gap: 8px; }
.source {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  opacity: 0;
  transform: translateX(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .4s;
}
.source.is-in { opacity: 1; transform: none; }
.source.is-match { box-shadow: inset 0 0 0 1px rgba(31, 92, 79, .45); }
.source-idx {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 6px;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-70);
}
.source.is-match .source-idx { background: var(--primary); color: #fff; }
.source-title { font-size: 14px; line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; }
.source-domain { margin-top: 4px; font-family: var(--mono); font-size: 11px; color: var(--ink-50); }

.sources-foot { margin-top: auto; padding-top: 24px; }
.meter-row { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-50); margin-bottom: 8px; }
.meter-row span:last-child { color: var(--ink); }
.meter { height: 6px; border-radius: 3px; background: #ECEEEA; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width 1.2s var(--ease); }

/* ----- Stats ------------------------------------------------------------ */

.stats-section .container { padding-inline: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 56px 40px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num {
  font-size: clamp(44px, 4.6vw, 64px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  margin-top: 16px;
  max-width: 200px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-50);
}

/* ----- Cards / split layout -------------------------------------------- */

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line);
}
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; }
.split-copy .h2 { margin-bottom: 24px; }

.spec { margin-top: 40px; border-top: 1px solid var(--line); max-width: 460px; }
.spec div { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-50); }
.spec dd { font-size: 15px; }

.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.card-title { font-size: 17px; font-weight: 500; letter-spacing: -0.015em; }
.card-sub { margin-top: 4px; font-size: 12px; color: var(--ink-50); }
.pill-live {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-70);
}

/* ----- Share of voice --------------------------------------------------- */

.sov { padding: 32px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 8px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-70); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 8px; height: 8px; border-radius: 2px; }

.sov-rows { display: grid; }
.sov-row {
  display: grid;
  grid-template-columns: 96px 1fr 52px;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.sov-model { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.sov-track { display: flex; height: 12px; gap: 2px; border-radius: 4px; overflow: hidden; transform-origin: left; }
.sov-seg { height: 100%; transition: width 1.4s var(--ease); }
.sov-seg:first-child { border-radius: 4px 0 0 4px; }
.sov-seg:last-child { border-radius: 0 4px 4px 0; }
.sov-val { font-family: var(--mono); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }

.sov-axis {
  display: flex;
  justify-content: space-between;
  margin-left: 112px;
  margin-right: 68px;
  padding-top: 8px;
  font-size: 10px;
  color: var(--ink-35);
}
.sov-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.sov-foot > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.sov-foot .mono { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-50); }
.sov-foot strong { font-size: 32px; font-weight: 400; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.delta { display: inline-flex; align-items: center; gap: 8px; color: var(--primary) !important; }

/* ----- Section heads ---------------------------------------------------- */

.section-head { margin-bottom: 64px; max-width: 760px; }
.section-head-split {
  max-width: none;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 80px;
  align-items: end;
}
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .h2 { margin-bottom: 24px; }
.section-head-center .lead { margin-inline: auto; }

/* ----- Steps ------------------------------------------------------------ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-inline: calc(var(--pad) * -1);
}
.step { padding: 40px var(--pad) 48px; }
.step + .step { border-left: 1px solid var(--line); }
.step-viz {
  height: 176px;
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line);
  margin-bottom: 32px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.step-viz svg { width: 100%; height: 100%; max-width: 320px; }
.step-num { display: block; font-size: 12px; letter-spacing: .08em; color: var(--primary); margin-bottom: 12px; }
.step .h3 { margin-bottom: 12px; }
.step p { font-size: 16px; color: var(--ink-70); max-width: 340px; }

.viz-scan { animation: scan 3.6s var(--ease) infinite alternate; }
@keyframes scan { from { transform: translateY(6px); } to { transform: translateY(128px); } }

.viz-links path { stroke-dasharray: 1; stroke-dashoffset: 0; animation: link 4.8s var(--ease) infinite; }
.viz-links path:nth-child(2) { animation-delay: .25s; }
.viz-links path:nth-child(3) { animation-delay: .5s; }
.viz-links path:nth-child(4) { animation-delay: .75s; }
.viz-links path:nth-child(5) { animation-delay: 1s; }
@keyframes link {
  0% { stroke-dashoffset: 1; }
  30%, 80% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1; }
}

.viz-spark { stroke-dasharray: 1; stroke-dashoffset: 0; animation: spark 5s var(--ease) infinite; }
@keyframes spark {
  0% { stroke-dashoffset: 1; }
  45%, 90% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.viz-end { transform-box: fill-box; transform-origin: center; animation: endPop 5s var(--ease) infinite; }
@keyframes endPop { 0%, 40% { transform: scale(0); } 50%, 90% { transform: scale(1); } 100% { transform: scale(0); } }
.viz-label { font-family: var(--mono); font-size: 11px; fill: var(--primary); }

/* ----- Graph ------------------------------------------------------------ */

.graph-card { overflow: hidden; }
.graph {
  width: 100%;
  height: auto;
  background-image: radial-gradient(rgba(20, 32, 28, .08) 1px, transparent 1px);
  background-size: 16px 16px;
  background-position: 8px 8px;
}
.graph text { font-family: var(--font); }
.graph .g-label { font-size: 13px; fill: var(--ink); letter-spacing: -0.01em; }
.graph .g-col { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; fill: var(--ink-50); text-transform: uppercase; }
.graph .g-brand { font-size: 15px; font-weight: 500; fill: var(--ink); }
.graph .g-sub { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; fill: var(--ink-50); }
.graph.is-vertical .g-label { font-size: 14px; }
.graph.is-vertical .g-brand { font-size: 16px; }

.graph-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.graph-foot > div { padding: 24px 32px; display: flex; align-items: baseline; gap: 12px; }
.graph-foot > div + div { border-left: 1px solid var(--line); }
.graph-foot strong { font-size: 28px; font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.graph-foot .mono { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-50); }

/* ----- Ticker ----------------------------------------------------------- */

.ticker-card { overflow: hidden; }
.ticker-head, .t-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 140px 150px;
  gap: 24px;
  align-items: center;
  padding: 0 32px;
}
.ticker-head {
  height: 48px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.ticker-head span:last-child { text-align: right; }
.ticker {
  height: 456px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}
.ticker-track { animation: tick 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateY(-50%); } }
.t-row { height: 64px; border-bottom: 1px solid var(--line); }
.t-ind {
  justify-self: start;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-70);
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.t-prompt { font-family: var(--mono); font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-model { font-size: 14px; color: var(--ink-70); display: flex; align-items: center; gap: 8px; }
.t-pos { justify-self: end; display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 14px; }
.t-from { color: var(--ink-35); }
.t-to { color: var(--primary); font-weight: 500; }
.t-up { color: var(--primary); }

/* ----- Pricing ---------------------------------------------------------- */

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line);
}
.price-featured { box-shadow: 0 0 0 1px rgba(20, 32, 28, .5), 0 32px 64px -44px rgba(20, 32, 28, .3); }
.price-top { display: flex; justify-content: space-between; align-items: center; }
.price-name { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-70);
  padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line);
}
.price-amount { margin-top: 32px; font-size: 44px; letter-spacing: -0.04em; line-height: 1; font-weight: 400; }
.price-amount small { font-size: 16px; letter-spacing: -0.01em; color: var(--ink-50); }
.price-desc { margin-top: 16px; font-size: 15px; color: var(--ink-70); min-height: 48px; }
.price-list { margin: 24px 0 32px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 15px; }
.price-list li { display: flex; align-items: center; gap: 12px; }
.price-list li::before { content: ""; width: 6px; height: 6px; background: var(--neutral); flex: none; }
.price-featured .price-list li::before { background: var(--primary); }
.price .btn { margin-top: auto; }

.formula {
  margin-top: 16px;
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line);
}
.formula-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .55);
  box-shadow: inset 0 0 0 1px var(--line);
}
.formula-item .mono { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.formula-item span:last-child { font-size: 15px; }
.formula-total { background: var(--card); box-shadow: inset 0 0 0 1px rgba(20, 32, 28, .4); }
.formula-op { align-self: center; font-family: var(--mono); font-size: 18px; color: var(--ink-35); }

/* ----- FAQ -------------------------------------------------------------- */

.faq-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.faq-wrap .h2 { margin-bottom: 24px; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.plus { position: relative; width: 14px; height: 14px; flex: none; }
.plus::before, .plus::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1.4px;
  margin-top: -.7px;
  background: var(--ink);
  transition: transform .35s var(--ease);
}
.plus::after { transform: rotate(90deg); }
.faq-item.is-open .plus::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 48px 28px 0; color: var(--ink-70); font-size: 16px; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ----- CTA -------------------------------------------------------------- */

.cta-wrap { padding-block: 80px; }
.cta {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--dark);
  color: #fff;
  padding: 128px 64px;
  text-align: center;
}
.cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-inner { position: relative; max-width: 820px; margin-inline: auto; }
.eyebrow-dark { color: var(--accent); }
.cta .h2 { font-size: clamp(36px, 5vw, 68px); }
.cta p { margin: 24px auto 0; max-width: 520px; color: rgba(255, 255, 255, .62); }
.cta-actions { display: flex; justify-content: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }

/* ----- Footer ----------------------------------------------------------- */

.footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-top { display: flex; justify-content: space-between; gap: 64px; padding-block: 88px 72px; }
.footer-brand { max-width: 300px; }
.footer-brand .logo { font-size: 28px; }
.footer-brand p { margin-top: 20px; font-size: 15px; line-height: 1.5; color: var(--ink-70); }
.footer-status {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-70);
}
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(140px, auto)); gap: 64px; }
.footer-cols h4 { font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-50); margin-bottom: 16px; }
.footer-cols a { display: block; font-size: 15px; color: var(--ink-70); padding: 4px 0; transition: color .2s; }
.footer-cols a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px 40px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--ink-50);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { transition: color .2s; }
.footer-legal a:hover { color: var(--ink); }

/* ----- Responsive ------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav-links { gap: 24px; }
  .product-body { grid-template-columns: minmax(0, 1fr) 300px; }
  .chat { padding: 32px; }
  .split, .faq-wrap, .section-head-split { grid-template-columns: 1fr; gap: 48px; }
  .section-head-split { gap: 24px; }
  .ticker-head, .t-row { grid-template-columns: 120px minmax(0, 1fr) 110px 130px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .pricing { grid-template-columns: 1fr; }
  .product-body { grid-template-columns: 1fr; }
  .sources { border-left: 0; border-top: 1px solid var(--line); }
  .logos-row { grid-template-columns: repeat(3, 1fr); }
  .lw:nth-child(4) { border-left: 0; }
  .lw:nth-child(n + 4) { border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  :root { --pad: 20px; --section: 88px; }
  body { font-size: 16px; }
  .h1 { font-size: 44px; }
  .h2 { font-size: 36px; }
  .lead { font-size: 16px; }

  .nav-inner { height: 60px; }
  .nav-login { display: none; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .logo { font-size: 22px; }

  .hero { padding-top: 64px; }
  .hero .h1 { margin-top: 24px; }
  .hero-sub { font-size: 17px; margin-top: 24px; }
  .hero-actions { margin-top: 32px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .measured { margin-top: 32px; gap: 12px; }
  .field { height: 360px; margin-top: -16px; }
  .product-wrap { margin-top: -104px; padding-bottom: 64px; }
  .product-wrap, .cta-wrap { padding-inline: 8px; }

  .product-bar { padding: 8px; }
  .product-status { display: none; }
  .tabs { width: 100%; }
  .tab { flex: 1; justify-content: center; padding: 8px 6px; font-size: 13px; gap: 6px; }
  .chat { padding: 24px 20px 20px; min-height: 0; }
  .chat-q { font-size: 14px; max-width: 92%; }
  .chat-a { margin-top: 24px; }
  .chat-text { font-size: 16px; line-height: 1.55; }
  .cmp-row { font-size: 14px; gap: 10px; padding: 8px 10px; margin-inline: -10px; }
  .chat-meta { padding-block: 20px; }
  .chat-meta li { padding: 5px 8px; font-size: 10px; }
  .sources { padding: 20px; }

  .logos { margin-top: 40px; gap: 16px; }
  .logos-row { grid-template-columns: repeat(2, 1fr); }
  .lw { height: 60px; font-size: 18px; }
  .lw:nth-child(n) { border-left: 0; border-top: 0; }
  .lw:nth-child(even) { border-left: 1px solid var(--line); }
  .lw:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .lw-1 { font-size: 20px; } .lw-2 { font-size: 15px; } .lw-3 { font-size: 14px; } .lw-5 { font-size: 21px; } .lw-6 { font-size: 15px; }

  .stat { padding: 32px 20px; }
  .stat-label { font-size: 11px; }

  /* share of voice: model + value on one line, full-width bar below */
  .sov { padding: 24px 20px; }
  .card-head { flex-direction: column; gap: 12px; }
  .legend { gap: 8px 16px; margin-top: 20px; }
  .sov-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "model val" "track track";
    gap: 10px 12px;
    padding: 14px 0;
  }
  .sov-model { grid-area: model; font-size: 14px; }
  .sov-val { grid-area: val; font-size: 14px; }
  .sov-track { grid-area: track; height: 10px; }
  .sov-axis { display: none; }
  .sov-foot { flex-direction: column; align-items: flex-start; }

  .section-head { margin-bottom: 40px; }
  .step { padding: 32px var(--pad) 40px; }

  .graph-foot { grid-template-columns: 1fr; }
  .graph-foot > div { padding: 16px 20px; justify-content: space-between; }
  .graph-foot > div + div { border-left: 0; border-top: 1px solid var(--line); }

  .ticker-head { display: none; }
  .ticker { height: 520px; }
  .t-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "ind pos" "prompt prompt" "model model";
    gap: 10px 12px;
    height: auto;
    padding: 18px 20px;
  }
  .t-ind { grid-area: ind; font-size: 10px; }
  .t-pos { grid-area: pos; font-size: 15px; }
  .t-prompt { grid-area: prompt; white-space: normal; font-size: 14px; line-height: 1.5; }
  .t-model { grid-area: model; font-size: 13px; }

  .price { padding: 24px; }
  .formula { flex-direction: column; gap: 8px; padding: 8px; }
  .formula-op { align-self: center; line-height: 1; }

  .faq-q { font-size: 17px; padding: 20px 0; }
  .faq-a p { padding-right: 0; }

  .cta-wrap { padding-block: 48px; }
  .cta { padding: 80px 24px; border-radius: 20px; }
  .cta .h2 { font-size: 36px; }
  .cta-actions .btn { flex: 1 1 100%; }

  .footer-top { flex-direction: column; gap: 48px; padding-block: 56px 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker { overflow-y: auto; }
}

/* ?static=1: final states only, nothing moving (screenshots, QA) */
.is-static *, .is-static *::before, .is-static *::after { animation: none !important; transition: none !important; }
.is-static .tok, .is-static .source { opacity: 1; transform: none; }
.is-static .cmp-row.is-top { background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.is-static .chat-meta.is-hidden { opacity: 1; transform: none; }
