/* ============ Evercontact — Design System ============ */
:root {
  /* Type */
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  /* Color — light */
  --bg: oklch(98.5% 0.003 90);
  --bg-elev: oklch(100% 0 0);
  --bg-soft: oklch(96% 0.004 90);
  --bg-card: oklch(99% 0.002 90);
  --fg: oklch(16% 0.012 250);
  --fg-muted: oklch(48% 0.015 250);
  --fg-subtle: oklch(64% 0.012 250);
  --line: oklch(91% 0.006 250);
  --line-strong: oklch(82% 0.01 250);
  --accent: oklch(58% 0.19 270);
  --accent-soft: oklch(94% 0.04 270);
  --accent-fg: oklch(100% 0 0);
  --signal: oklch(72% 0.16 65);
  --good: oklch(62% 0.14 155);

  /* Spacing rhythm */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(80px, 10vw, 144px);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-xs: 0 1px 0 oklch(0% 0 0 / 0.04);
  --shadow-sm: 0 1px 2px oklch(0% 0 0 / 0.06), 0 1px 1px oklch(0% 0 0 / 0.04);
  --shadow-md: 0 8px 24px oklch(0% 0 0 / 0.07), 0 2px 6px oklch(0% 0 0 / 0.04);
  --shadow-lg: 0 24px 60px oklch(0% 0 0 / 0.10), 0 6px 16px oklch(0% 0 0 / 0.05);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-theme="dark"] {
  --bg: oklch(14% 0.015 250);
  --bg-elev: oklch(18% 0.018 250);
  --bg-soft: oklch(17% 0.016 250);
  --bg-card: oklch(20% 0.018 250);
  --fg: oklch(97% 0.005 250);
  --fg-muted: oklch(72% 0.012 250);
  --fg-subtle: oklch(55% 0.012 250);
  --line: oklch(28% 0.018 250);
  --line-strong: oklch(38% 0.02 250);
  --accent-soft: oklch(28% 0.08 270);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "ss03", "cv11";
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
::selection { background: var(--accent); color: var(--accent-fg); }

/* ============ Layout primitives ============ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding-block: var(--section-y);
}
.section--tight { padding-block: clamp(56px, 7vw, 96px); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
h1 { font-size: clamp(48px, 7.2vw, 104px); letter-spacing: -0.035em; font-weight: 500; }
h2 { font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -0.028em; }
h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.018em; }
p  { margin: 0; }

.lede { font-size: clamp(18px, 1.4vw, 22px); color: var(--fg-muted); line-height: 1.45; max-width: 60ch; }

.serif-italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--fg);
  color: var(--bg);
  box-shadow: 0 1px 0 oklch(100% 0 0 / 0.15) inset, var(--shadow-sm);
}
.btn--primary:hover { background: var(--accent); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { background: var(--bg-soft); }
.btn--sm { padding: 9px 14px; font-size: 13.5px; }
.btn--lg { padding: 16px 24px; font-size: 16px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 60%, transparent);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 17px;
}
.brand__mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 30%, oklch(100% 0 0 / 0.85), transparent 45%),
    linear-gradient(135deg, var(--accent), oklch(40% 0.16 290));
  position: relative;
}
.brand__mark::after {
  content: "";
  position: absolute; inset: 4px;
  border-radius: 3px;
  border: 1.5px solid oklch(100% 0 0 / 0.55);
}
.nav__links { display: flex; gap: 4px; margin-left: 8px; }
.nav__link {
  padding: 8px 12px;
  font-size: 14.5px;
  color: var(--fg-muted);
  border-radius: 8px;
  transition: color .2s var(--ease), background .2s var(--ease);
  display: inline-flex; align-items: center; gap: 6px;
}
.nav__link:hover { color: var(--fg); background: var(--bg-soft); }
.nav__cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }

/* Mobile nav */
.nav__burger {
  display: none;
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav__burger span {
  display: block;
  width: 15px; height: 1.6px;
  background: var(--fg);
  border-radius: 2px;
}
@media (max-width: 880px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 12px var(--gutter) 18px;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav__links--open { display: flex; }
  .nav__link { padding: 12px 8px; font-size: 16px; }
  .nav__burger { display: flex; }
  .nav__signin { display: none; }
}
@media (min-width: 881px) {
  .nav__burger { display: none; }
}

/* ============ Hero ============ */
.hero {
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(48px, 6vw, 96px);
  position: relative;
  overflow: clip;
}
.hero__inner { display: grid; gap: 56px; }
.hero__headline {
  max-width: 18ch;
}
.hero__headline .accent-word {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.hero__sub { margin-top: 28px; max-width: 56ch; }
.hero__ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero__meta {
  margin-top: 18px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-subtle);
}
.hero__meta .dot { width: 4px; height: 4px; border-radius: 999px; background: var(--fg-subtle); }
.hero__bg {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(900px 400px at 80% -10%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 60%),
    radial-gradient(700px 320px at 0% 10%, color-mix(in oklab, var(--signal) 10%, transparent), transparent 60%);
  filter: blur(2px);
}

/* ============ Product preview ============ */
.preview {
  position: relative;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.preview::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 28%, transparent), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.preview__chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 8px 12px;
}
.preview__dots { display: flex; gap: 6px; }
.preview__dots i { width: 10px; height: 10px; border-radius: 999px; background: var(--line-strong); display: block; }
.preview__title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--fg-subtle);
  margin-left: 8px;
}
.preview__body {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 14px;
  background: var(--bg-soft);
  border-radius: 20px;
  padding: 18px;
  min-height: 460px;
}
@media (max-width: 760px) { .preview__body { grid-template-columns: 1fr; min-height: 0; } }

/* Email card */
.email {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg);
  position: relative;
  box-shadow: var(--shadow-xs);
}
.email__from { display:flex; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px dashed var(--line); margin-bottom: 12px; }
.email__avatar {
  width: 30px; height: 30px; border-radius: 999px;
  background: linear-gradient(135deg, oklch(72% 0.12 30), oklch(58% 0.12 350));
  color: white; display: grid; place-items: center; font-size: 12px; font-weight: 600;
}
.email__meta { font-size: 12px; color: var(--fg-muted); }
.email__meta b { color: var(--fg); font-weight: 500; }
.email p { margin: 8px 0; }
.email .hl {
  background: linear-gradient(transparent 65%, color-mix(in oklab, var(--accent) 25%, transparent) 65%);
  border-radius: 2px;
  padding: 0 2px;
  transition: background .6s var(--ease);
}
.email .hl[data-active="true"] {
  background: linear-gradient(transparent 0%, color-mix(in oklab, var(--accent) 28%, transparent) 0%);
}
/* Message body — de-emphasised: Evercontact does NOT parse it */
.email__body { color: var(--fg-subtle); }
.email__body p { margin: 8px 0; }
.email__ignore {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.02em;
  color: var(--fg-subtle);
}
.email__ignore::before {
  content: ""; width: 12px; height: 1px; background: var(--line-strong);
}

/* Signature — the ONLY thing Evercontact extracts from */
.email__sig {
  position: relative;
  margin-top: 16px; padding: 16px 14px 14px;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 12px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--fg-muted); line-height: 1.95;
  overflow: hidden;
}
.email__sig::before {
  content: "Signature detected";
  position: absolute; top: -8px; left: 12px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); background: var(--bg-elev);
  padding: 2px 8px; border: 1px solid var(--accent); border-radius: 999px;
}
.email__sig::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26px;
  background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--accent) 22%, transparent), transparent);
  animation: sigscan 3.4s var(--ease) infinite;
  pointer-events: none;
}
@keyframes sigscan {
  0% { top: 0; opacity: 0; }
  12% { opacity: 1; }
  50% { top: calc(100% - 26px); }
  88% { opacity: 1; }
  100% { top: 0; opacity: 0; }
}

/* Parsed-field breakdown in the stream */
.sig-parse {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 14px;
  font-family: var(--font-mono); font-size: 11.5px;
}
.sig-parse__row {
  display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: baseline;
  padding: 7px 0; border-bottom: 1px dashed var(--line);
  opacity: 0; transform: translateY(4px);
  animation: card-in .5s var(--ease) forwards;
}
.sig-parse__row:last-child { border-bottom: 0; }
.sig-parse__row .k { color: var(--fg-subtle); text-transform: uppercase; letter-spacing: 0.05em; font-size: 10px; }
.sig-parse__row .v { color: var(--fg); }
.sig-parse__row:nth-child(1) { animation-delay: .5s; }
.sig-parse__row:nth-child(2) { animation-delay: .68s; }
.sig-parse__row:nth-child(3) { animation-delay: .86s; }
.sig-parse__row:nth-child(4) { animation-delay: 1.04s; }
.sig-parse__row:nth-child(5) { animation-delay: 1.22s; }
.sig-parse__row:nth-child(6) { animation-delay: 1.4s; }

/* Extraction stream */
.stream { display: flex; flex-direction: column; gap: 10px; }
.stream__head {
  display:flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--fg-subtle);
  text-transform: uppercase;
}
.stream__live { display: inline-flex; align-items: center; gap: 6px; color: var(--good); }
.stream__live::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--good);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(0.75); }
}

.contact-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(8px);
  animation: card-in .7s var(--ease) forwards;
}
.contact-card:nth-child(1) { animation-delay: .3s; }
.contact-card:nth-child(2) { animation-delay: 1.2s; }
.contact-card:nth-child(3) { animation-delay: 2.1s; }
.contact-card:nth-child(4) { animation-delay: 3.0s; }
@keyframes card-in {
  to { opacity: 1; transform: translateY(0); }
}
.contact-card__avatar {
  width: 36px; height: 36px; border-radius: 999px;
  display: grid; place-items: center; color: white; font-weight: 600; font-size: 13px;
}
.contact-card__name { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; }
.contact-card__role { font-size: 12px; color: var(--fg-muted); font-family: var(--font-mono); }
.contact-card__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 8px; border-radius: 999px;
  text-transform: uppercase;
}
.contact-card__tag[data-kind="updated"] { color: var(--signal); background: color-mix(in oklab, var(--signal) 18%, transparent); }
.contact-card__tag[data-kind="new"] { color: var(--good); background: color-mix(in oklab, var(--good) 16%, transparent); }

.stream__footer {
  margin-top: auto;
  padding-top: 12px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-subtle);
  border-top: 1px dashed var(--line);
}

/* ============ Logos marquee ============ */
.logos {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 36px;
  background: var(--bg);
  overflow: hidden;
}
.logos__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 24px;
}
.marquee {
  display: flex;
  gap: 64px;
  align-items: center;
  animation: scroll 38s linear infinite;
  width: max-content;
}
.marquee__item {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--fg-muted);
  white-space: nowrap;
  opacity: .8;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ============ Sections shared ============ */
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head h2 { margin-top: 16px; }
.section__head p { margin-top: 18px; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px 28px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}
.step__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-subtle);
  letter-spacing: 0.08em;
}
.step__title { font-size: 20px; letter-spacing: -0.02em; font-weight: 500; }
.step__body { font-size: 14.5px; color: var(--fg-muted); line-height: 1.55; }
.step__viz {
  margin-top: auto;
  height: 64px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.step__viz svg { width: 100%; height: 100%; }

/* AI capabilities grid */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.cap {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.cap--lg { grid-column: span 4; min-height: 320px; }
.cap--sm { grid-column: span 2; min-height: 320px; }
.cap--mid { grid-column: span 3; min-height: 280px; }
@media (max-width: 980px) {
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .cap--lg, .cap--sm, .cap--mid { grid-column: span 2; }
}
@media (max-width: 600px) {
  .cap-grid { grid-template-columns: 1fr; }
  .cap--lg, .cap--sm, .cap--mid { grid-column: span 1; }
}
.cap h3 { font-size: 22px; letter-spacing: -0.02em; }
.cap p { font-size: 14.5px; color: var(--fg-muted); line-height: 1.55; max-width: 44ch; }
.cap__viz { margin-top: auto; }

/* Integrations */
.int-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 800px) { .int-grid { grid-template-columns: repeat(3, 1fr); } }
.int {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--fg-muted);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.int:hover { transform: translateY(-2px); border-color: var(--line-strong); color: var(--fg); }
.int__icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 14px; font-weight: 600;
  color: var(--fg);
}

/* Security */
.sec {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .sec { grid-template-columns: 1fr; } }
.sec__badges {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.sec__badge {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex; gap: 12px; align-items: center;
  font-size: 13.5px;
}
.sec__badge b { font-weight: 500; font-size: 14px; }
.sec__badge i {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--bg-soft);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  color: var(--accent);
  border: 1px solid var(--line);
}
.sec__visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--line);
  aspect-ratio: 5 / 4;
  padding: 28px;
  overflow: hidden;
}

/* Enterprise band */
.ent {
  background: var(--fg);
  color: var(--bg);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) { .ent { grid-template-columns: 1fr; } }
.ent::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 240px at 100% 0%, color-mix(in oklab, var(--accent) 35%, transparent), transparent 65%);
  pointer-events: none;
}
.ent h2 { color: var(--bg); position: relative; }
.ent p { color: color-mix(in oklab, var(--bg) 70%, transparent); position: relative; }
.ent .eyebrow { color: color-mix(in oklab, var(--bg) 70%, transparent); position: relative; }
.ent .eyebrow::before { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 30%, transparent); }
.ent__metrics {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: color-mix(in oklab, var(--bg) 14%, transparent);
  border-radius: 16px;
  overflow: hidden;
}
.ent__metric {
  background: var(--fg);
  padding: 22px;
}
.ent__metric .num {
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
  font-weight: 400;
  font-family: var(--font-serif);
  font-style: italic;
}
.ent__metric .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: color-mix(in oklab, var(--bg) 60%, transparent);
  text-transform: uppercase;
}
.ent .btn--primary {
  background: var(--bg); color: var(--fg);
}
.ent .btn--primary:hover { background: var(--accent); color: var(--accent-fg); }
.ent .btn--ghost { border-color: color-mix(in oklab, var(--bg) 25%, transparent); color: var(--bg); }
.ent .btn--ghost:hover { background: color-mix(in oklab, var(--bg) 10%, transparent); }

/* Testimonials */
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .t-grid { grid-template-columns: 1fr; } }
.t {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 22px;
  min-height: 280px;
}
.t__quote {
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  flex: 1;
}
.t__quote::first-letter { font-family: var(--font-serif); font-style: italic; font-size: 1.4em; line-height: 0; }
.t__who { display: flex; align-items: center; gap: 12px; }
.t__avatar {
  width: 36px; height: 36px; border-radius: 999px;
  background: linear-gradient(135deg, oklch(70% 0.1 var(--h, 260)), oklch(50% 0.12 var(--h, 260)));
  color: white; display:grid; place-items: center; font-size: 12px; font-weight: 600;
}
.t__name { font-size: 14px; font-weight: 500; }
.t__role { font-size: 12.5px; color: var(--fg-muted); font-family: var(--font-mono); }

/* ROI */
.roi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}
@media (max-width: 900px) { .roi { grid-template-columns: repeat(2, 1fr); } }
.roi__item {
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.roi__item:last-child { border-right: 0; }
@media (max-width: 900px) {
  .roi__item:nth-child(2) { border-right: 0; }
  .roi__item:nth-child(3), .roi__item:nth-child(4) { border-bottom: 0; }
}
@media (min-width: 901px) { .roi__item { border-bottom: 0; } }
.roi__num {
  font-size: clamp(40px, 5vw, 64px);
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 14px;
}
.roi__lbl { font-size: 13.5px; color: var(--fg-muted); max-width: 28ch; }

/* ContactRescue spotlight */
.rescue {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .rescue { grid-template-columns: 1fr; } }
.rescue__visual {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.rescue__bar {
  height: 8px; border-radius: 999px; background: var(--bg-soft);
  position: relative; margin-block: 8px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.rescue__bar i {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--accent), var(--signal));
  border-radius: inherit;
  width: var(--w, 50%);
  transition: width 1.4s var(--ease);
}
.rescue__bar-row {
  display: grid;
  grid-template-columns: 130px 1fr 60px;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  padding-block: 4px;
}

/* FAQ */
.faq__list { 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;
  padding: 24px 4px;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-align: left;
  font-weight: 500;
  color: var(--fg);
}
.faq__q .ic {
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 18px; line-height: 1;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.faq__item[open] .ic { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.faq__a {
  padding: 0 4px 24px;
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 70ch;
}

/* Final CTA */
.final {
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: clamp(56px, 7vw, 120px) clamp(32px, 5vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 320px at 50% 0%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 60%),
    radial-gradient(800px 400px at 50% 110%, color-mix(in oklab, var(--signal) 14%, transparent), transparent 60%);
  pointer-events: none;
}
.final h2 {
  position: relative;
  font-size: clamp(44px, 6vw, 88px);
  letter-spacing: -0.035em;
}
.final p { position: relative; margin-top: 18px; margin-inline: auto; }
.final__ctas { position: relative; margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 36px;
  color: var(--fg-muted);
}
.footer__top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
.footer__col h4 {
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  font-weight: 500;
  margin-bottom: 14px;
}
.footer__col a { display: block; padding: 4px 0; font-size: 14px; color: var(--fg-muted); }
.footer__col a:hover { color: var(--fg); }
.footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: var(--fg-subtle);
  font-family: var(--font-mono);
}

/* Big wordmark in footer */
.bigmark {
  font-size: clamp(72px, 16vw, 220px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: .85;
  color: var(--fg);
  margin-top: 64px;
  text-align: center;
  overflow: clip;
  font-family: var(--font-sans);
}
.bigmark .it { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent); }

/* Misc helpers */
.kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--fg-muted);
}
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.fade-in { opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.fade-in.in { opacity: 1; transform: translateY(0); }

/* AI viz — common */
.flow-svg path { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.flow-svg .live { stroke: var(--accent); stroke-dasharray: 6 4; animation: dash 4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -200; } }

/* Language chips with flag icons */
.lang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lang-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 7px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg);
}
.lang-chip .flag {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", system-ui;
  font-size: 14px;
  line-height: 1;
  display: inline-block;
}
.lang-chip--more {
  color: var(--fg-muted);
  padding-left: 10px;
}

/* Inline language with flag (used in prose) */
.inline-lang {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}
.inline-lang .flag {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", system-ui;
  font-size: 0.85em;
  line-height: 1;
  position: relative;
  top: 0.05em;
}

/* ===== ContactRescue · Use cases ===== */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .uc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .uc-grid { grid-template-columns: 1fr; } }

.uc {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 22px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 270px;
  position: relative;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.uc:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.uc__tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.uc__title {
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 500;
}
.uc__body {
  font-size: 14.5px;
  color: var(--fg-muted);
  line-height: 1.55;
}
.uc__stat {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-subtle);
}
.uc__stat b {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--fg);
}

/* ===== ContactRescue · Pricing ===== */
.section__head[style*="text-align:center"] { max-width: 760px; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr; } }

.price {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.price--featured {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
  box-shadow: 0 24px 60px oklch(0% 0 0 / 0.14), 0 6px 16px oklch(0% 0 0 / 0.06);
  transform: translateY(-6px);
}
.price--featured .price__name,
.price--featured .price__num { color: var(--bg); }
.price--featured .price__sub,
.price--featured .price__unit { color: color-mix(in oklab, var(--bg) 65%, transparent); }
.price--featured .price__feat li { color: color-mix(in oklab, var(--bg) 88%, transparent); }
.price--featured .price__feat li b { color: var(--bg); }
.price--featured .price__feat .ck {
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 30%, transparent);
}
.price--featured .price__feat li { border-color: color-mix(in oklab, var(--bg) 14%, transparent); }
.price--featured .btn--primary {
  background: var(--accent);
  color: var(--accent-fg);
}
.price--featured .btn--primary:hover { background: var(--bg); color: var(--fg); }

.price__ribbon {
  position: absolute;
  top: -10px; right: 22px;
  background: var(--accent);
  color: var(--accent-fg);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.price__kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.price--featured .price__kicker { color: color-mix(in oklab, var(--bg) 55%, transparent); }
.price__head { display: flex; flex-direction: column; gap: 6px; }
.price__name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.price__sub {
  font-size: 13.5px;
  color: var(--fg-muted);
  max-width: 36ch;
  line-height: 1.45;
}
.price__amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-block: 4px;
  border-block: 1px solid var(--line);
  padding: 18px 0;
}
.price--featured .price__amount {
  border-color: color-mix(in oklab, var(--bg) 14%, transparent);
}
.price__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 4.5vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--fg);
}
.price__unit {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}
.price__feat {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price__feat li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fg);
}
.price__feat li b { font-weight: 600; }
.price__feat .ck {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  margin-top: 1px;
}
.price__feat .ck--mute { background: var(--bg-soft); color: var(--fg-subtle); }
.price__cta { margin-top: auto; justify-content: center; }

/* Pricing assurance row */
.price__assure {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
@media (max-width: 900px) { .price__assure { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .price__assure { grid-template-columns: 1fr; } }
.price__assure-item {
  background: var(--bg-card);
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.price__assure-item b { font-size: 14px; font-weight: 500; }
.price__assure-item span { font-size: 12.5px; color: var(--fg-muted); line-height: 1.45; }

/* Daily plans comparison row */
.price__compare {
  margin-top: 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.price__compare-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  gap: 16px;
  flex-wrap: wrap;
}
.price__compare-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.price__compare-row:last-child { border-bottom: 0; }
.price__compare-row > div:first-child {
  display: flex; flex-direction: column; gap: 4px;
}
.price__compare-row b { font-size: 15px; font-weight: 500; }
.price__compare-row span { font-size: 13px; color: var(--fg-muted); }
.price__compare-amount {
  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: -0.02em;
}
.price__compare-amount b {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 26px;
  color: var(--fg);
}
.price__compare-amount span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-style: normal;
  color: var(--fg-muted);
}
@media (max-width: 720px) {
  .price__compare-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* CTA band under pricing */
.price__cta-band {
  margin-top: 28px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ============ Theme toggle ============ */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  color: var(--fg);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.theme-toggle:hover {
  background: var(--bg-soft);
  color: var(--accent);
}
.theme-toggle__sun,
.theme-toggle__moon {
  grid-area: 1 / 1;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.theme-toggle__sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
.theme-toggle__moon { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="dark"] .theme-toggle__sun { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="dark"] .theme-toggle__moon { opacity: 0; transform: rotate(90deg) scale(.6); }

/* Theme toggle */
.theme-toggle {
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  color: var(--fg);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  position: relative;
}
.theme-toggle:hover { background: var(--bg-soft); transform: translateY(-1px); }
.theme-toggle__sun,
.theme-toggle__moon {
  position: absolute;
  transition: opacity .25s var(--ease), transform .35s var(--ease);
}
[data-theme="light"] .theme-toggle__sun { opacity: 1; transform: rotate(0deg) scale(1); }
[data-theme="light"] .theme-toggle__moon { opacity: 0; transform: rotate(-45deg) scale(.6); }
[data-theme="dark"] .theme-toggle__sun { opacity: 0; transform: rotate(45deg) scale(.6); }
[data-theme="dark"] .theme-toggle__moon { opacity: 1; transform: rotate(0deg) scale(1); }
/* Default state without explicit data-theme attribute = light */
:root:not([data-theme]) .theme-toggle__moon,
.theme-toggle__moon { opacity: 0; transform: rotate(-45deg) scale(.6); }
:root:not([data-theme]) .theme-toggle__sun,
.theme-toggle__sun { opacity: 1; transform: rotate(0deg) scale(1); }
[data-theme="dark"] .theme-toggle__sun { opacity: 0; transform: rotate(45deg) scale(.6); }
[data-theme="dark"] .theme-toggle__moon { opacity: 1; transform: rotate(0deg) scale(1); }

/* Made in NY logo */
.made-in-ny-logo {
  width: 40px;
  height: 40px;
  display: block;
  flex-shrink: 0;
}
[data-theme="dark"] .made-in-ny-logo {
  filter: invert(1);
}

/* tweaks panel slot — host renders its own */

/* ============================================================
   SUBPAGE COMPONENTS
   ============================================================ */

/* Page hero (smaller than homepage hero) */
.page-hero {
  padding-top: clamp(56px, 7vw, 104px);
  padding-bottom: clamp(40px, 5vw, 72px);
  position: relative;
  overflow: clip;
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(720px 320px at 78% -20%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 60%),
    radial-gradient(560px 280px at 5% 0%, color-mix(in oklab, var(--signal) 9%, transparent), transparent 60%);
}
.page-hero__inner { max-width: 880px; }
.page-hero h1 {
  font-size: clamp(40px, 5.4vw, 76px);
  margin-top: 22px;
}
.page-hero .lede { margin-top: 24px; font-size: clamp(18px, 1.5vw, 23px); }
.page-hero__ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__inner { margin-inline: auto; }
.page-hero--center .eyebrow { justify-content: center; }
.page-hero--center .lede { margin-inline: auto; }
.page-hero--center .page-hero__ctas { justify-content: center; }

/* Case studies */
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 800px) { .case-grid { grid-template-columns: 1fr; } }
.case {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.case:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.case--wide { grid-column: span 2; }
@media (max-width: 800px) { .case--wide { grid-column: span 1; } }
.case__logo {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.case__quote { font-size: 18px; line-height: 1.45; letter-spacing: -0.01em; }
.case__body { font-size: 14.5px; color: var(--fg-muted); line-height: 1.55; }
.case__metrics {
  margin-top: auto;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.case__metric { display: flex; flex-direction: column; gap: 2px; }
.case__metric b {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.case__metric span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.case__tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Feature comparison table */
.ftable {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 14.5px;
}
.ftable thead th {
  background: var(--bg-soft);
  text-align: left;
  padding: 18px 20px;
  font-weight: 500;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: bottom;
}
.ftable thead th .price-pin {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-top: 4px;
  color: var(--fg);
}
.ftable thead th small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--fg-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 400;
}
.ftable th.is-feat, .ftable td.is-feat { background: color-mix(in oklab, var(--accent) 5%, var(--bg-card)); }
.ftable tbody th {
  text-align: left;
  font-weight: 400;
  color: var(--fg);
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.ftable tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  text-align: center;
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 13px;
}
.ftable tbody tr:last-child th,
.ftable tbody tr:last-child td { border-bottom: 0; }
.ftable .yes { color: var(--good); font-size: 15px; }
.ftable .no { color: var(--fg-subtle); }
.ftable-wrap { overflow-x: auto; }
@media (max-width: 700px) { .ftable { min-width: 620px; } }

/* Timeline (About) */
.timeline {
  display: grid;
  gap: 0;
  border-left: 2px solid var(--line);
  margin-left: 8px;
}
.tl {
  position: relative;
  padding: 0 0 36px 32px;
}
.tl:last-child { padding-bottom: 0; }
.tl::before {
  content: "";
  position: absolute;
  left: -7px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.tl__year {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 6px;
}
.tl__title { font-size: 19px; letter-spacing: -0.02em; font-weight: 500; margin-bottom: 6px; }
.tl__body { font-size: 14.5px; color: var(--fg-muted); line-height: 1.55; max-width: 56ch; }

/* Big stat row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.stat-row__item {
  padding: 32px;
  border-right: 1px solid var(--line);
}
.stat-row__item:last-child { border-right: 0; }
@media (max-width: 760px) {
  .stat-row__item:nth-child(2n) { border-right: 0; }
  .stat-row__item:nth-child(1), .stat-row__item:nth-child(2) { border-bottom: 1px solid var(--line); }
}
.stat-row__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-row__lbl { font-size: 13.5px; color: var(--fg-muted); max-width: 22ch; }

/* Sub-processor / data table (Security) */
.dtable {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.dtable th, .dtable td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.dtable thead th {
  background: var(--bg-soft);
  font-weight: 500;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.dtable tbody tr:last-child td { border-bottom: 0; }
.dtable td b { font-weight: 500; }
.dtable td .muted { color: var(--fg-muted); font-size: 13px; }

/* Two-col feature blocks (Security / ContactRescue) */
.feature-rows { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.frow {
  background: var(--bg-card);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 28px 32px;
}
@media (max-width: 700px) { .frow { grid-template-columns: 1fr; gap: 8px; } }
.frow__k { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; display: flex; align-items: flex-start; gap: 10px; }
.frow__k i {
  flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 12px; font-style: normal; font-weight: 600;
}
.frow__v { font-size: 14.5px; color: var(--fg-muted); line-height: 1.6; }

/* Press / logo strip */
.press-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}
.press-row span {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--fg-muted);
  opacity: .85;
}

/* Inline page CTA (reusable band) */
.cta-band {
  border-radius: var(--radius-xl);
  background: var(--fg);
  color: var(--bg);
  padding: clamp(40px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(560px 240px at 100% 0%, color-mix(in oklab, var(--accent) 32%, transparent), transparent 65%);
  pointer-events: none;
}
.cta-band h2 { color: var(--bg); position: relative; font-size: clamp(28px, 3.4vw, 44px); max-width: 18ch; }
.cta-band p { color: color-mix(in oklab, var(--bg) 70%, transparent); position: relative; margin-top: 10px; max-width: 50ch; }
.cta-band__actions { position: relative; display: flex; gap: 10px; flex-wrap: wrap; }
.cta-band .btn--primary { background: var(--bg); color: var(--fg); }
.cta-band .btn--primary:hover { background: var(--accent); color: var(--accent-fg); }
.cta-band .btn--ghost { border-color: color-mix(in oklab, var(--bg) 25%, transparent); color: var(--bg); }
.cta-band .btn--ghost:hover { background: color-mix(in oklab, var(--bg) 10%, transparent); }

/* Form fields */
.efield { display: flex; flex-direction: column; gap: 6px; }
.efield > span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.efield input,
.efield select,
.efield textarea {
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--fg);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.efield textarea { resize: vertical; min-height: 70px; }
.efield input::placeholder,
.efield textarea::placeholder { color: var(--fg-subtle); }
.efield input:focus,
.efield select:focus,
.efield textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ============ Contact page ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-aside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px) { .contact-aside { grid-template-columns: 1fr; } }
.contact-channel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-channel h3 { font-size: 16px; letter-spacing: -0.01em; font-weight: 500; margin-top: 4px; }
.contact-channel p { font-size: 13px; color: var(--fg-muted); line-height: 1.5; flex: 1; }
.contact-channel a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent);
  word-break: break-word;
}
.contact-channel a:hover { text-decoration: underline; }

.contact-form {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-md);
}
.contact-form__head h2 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.02em; }
.contact-form__head p { font-size: 14px; color: var(--fg-muted); margin-top: 6px; }
.contact-form__foot {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.contact-form__foot .btn { justify-content: center; }
.contact-form__note { font-size: 12.5px; color: var(--fg-subtle); }
.contact-form__note a { color: var(--fg-muted); text-decoration: underline; }
.contact-form__note a:hover { color: var(--fg); }
.contact-form__status { margin-top: 8px; font-size: 13.5px; line-height: 1.45; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.contact-form__status.is-pending { color: var(--fg-muted); }
.contact-form__status.is-ok { color: var(--good); border-color: color-mix(in oklab, var(--good) 40%, var(--line)); background: color-mix(in oklab, var(--good) 10%, transparent); }
.contact-form__status.is-error { color: oklch(55% 0.19 25); border-color: color-mix(in oklab, oklch(55% 0.19 25) 40%, var(--line)); background: color-mix(in oklab, oklch(55% 0.19 25) 10%, transparent); }

/* ============ Legal document pages ============ */
.legal-hero {
  border-bottom: 1px solid var(--line);
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(28px, 3vw, 40px);
}
.legal-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.03em;
}
.legal-hero__meta {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-subtle);
}
.legal-hero__meta .dot { width: 4px; height: 4px; border-radius: 999px; background: var(--fg-subtle); }

.legal-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
  padding-block: clamp(40px, 5vw, 72px);
}
@media (max-width: 880px) { .legal-wrap { grid-template-columns: 1fr; gap: 28px; } }

.legal-toc {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
@media (max-width: 880px) {
  .legal-toc { position: static; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); }
}
.legal-toc__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 10px;
}
.legal-toc a {
  font-size: 13.5px;
  color: var(--fg-muted);
  padding: 6px 10px;
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.legal-toc a:hover { color: var(--fg); background: var(--bg-soft); }
.legal-toc a.is-active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-soft); }

.legal-body { max-width: 72ch; }
.legal-body .legal-intro { font-size: 17px; color: var(--fg-muted); line-height: 1.6; margin-bottom: 8px; }
.legal-section { padding-top: 36px; scroll-margin-top: 96px; }
.legal-section:first-of-type { padding-top: 8px; }
.legal-section h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.legal-section h2 .num {
  font-family: var(--font-mono);
  font-size: 0.6em;
  color: var(--accent);
  margin-right: 10px;
  vertical-align: middle;
}
.legal-section h3 { font-size: 17px; margin-top: 22px; margin-bottom: 8px; letter-spacing: -0.01em; }
.legal-section p { font-size: 15px; line-height: 1.68; color: var(--fg-muted); margin-bottom: 14px; }
.legal-section p strong { color: var(--fg); font-weight: 500; }
.legal-section ul { margin: 0 0 16px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.legal-section li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-muted);
}
.legal-section li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
}
.legal-section a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-note {
  margin-top: 8px;
  padding: 16px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-soft);
  font-size: 13px;
  color: var(--fg-subtle);
  line-height: 1.6;
}
.legal-table { width: 100%; border-collapse: collapse; margin: 4px 0 18px; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg-subtle); font-weight: 500; }
.legal-table td { color: var(--fg-muted); line-height: 1.55; }
.legal-table td:first-child { color: var(--fg); font-weight: 500; white-space: nowrap; }

/* Contact social links */
.contact-social {
  grid-column: 1 / -1;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-social__links { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-social__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg);
  background: var(--bg-elev);
  transition: transform .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.contact-social__links a:hover { transform: translateY(-1px); border-color: var(--line-strong); color: var(--accent); }
.contact-social__links svg { color: var(--fg-muted); transition: color .25s var(--ease); }
.contact-social__links a:hover svg { color: var(--accent); }

/* ===== Login / Start-free chooser modal (auth.js) ===== */
.ec-auth { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.ec-auth[hidden] { display: none; }
.ec-auth__backdrop {
  position: absolute; inset: 0;
  background: oklch(16% 0.012 250 / 0.5);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .2s var(--ease);
}
.ec-auth.is-open .ec-auth__backdrop { opacity: 1; }
.ec-auth__dialog {
  position: relative;
  width: 100%; max-width: 420px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px 28px 24px;
  text-align: center;
  opacity: 0; transform: translateY(10px) scale(.985);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.ec-auth.is-open .ec-auth__dialog { opacity: 1; transform: none; }
.ec-auth__x {
  position: absolute; top: 14px; right: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 999px;
  color: var(--fg-muted); background: transparent; border: 0; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.ec-auth__x:hover { background: var(--bg-soft); color: var(--fg); }
.ec-auth__title { font-family: var(--font-serif); font-size: 28px; line-height: 1.1; margin: 4px 0 0; color: var(--fg); }
.ec-auth__sub { font-size: 14px; line-height: 1.5; color: var(--fg-muted); margin: 12px auto 0; max-width: 34ch; }
.ec-auth__providers { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.ec-auth__btn {
  display: inline-flex; align-items: center; gap: 12px;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  color: var(--fg);
  font-weight: 500; font-size: 15px;
  cursor: pointer;
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.ec-auth__btn:hover { transform: translateY(-1px); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.ec-auth__btn svg { flex: 0 0 auto; }
.ec-auth__fine { font-size: 12px; color: var(--fg-subtle); margin: 18px 0 0; }
.ec-auth__consent { font-size: 12px; line-height: 1.5; color: var(--fg-subtle); margin: 10px auto 0; max-width: 32ch; }
.ec-auth__consent a { color: var(--fg-muted); text-decoration: underline; }
.ec-auth__consent a:hover { color: var(--accent); }
[aria-busy="true"].is-loading { opacity: .75; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .ec-auth__backdrop, .ec-auth__dialog { transition: none; }
  .ec-auth__dialog { transform: none; }
}
