/* ============================================================
   Novato — site styles. Imports tokens, adds layout + components.
   ============================================================ */
@import url('novato-tokens.css');

:root {
  --novato-blue: #0066FF;
  --novato-blue-hover: #005AE0;
  --novato-blue-press: #0048B3;

  /* per-site accent. Studios pages set --accent to red, Labs pages to blue. */
  --accent: var(--novato-red);
  --accent-hover: var(--novato-red-hover);
  --accent-press: var(--novato-red-press);
  --accent-fg: #ffffff;

  /* mint accent for "free" badges */
  --mint: #B6F5D8;
  --mint-ink: #0B3A23;

  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
}

html, body { background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* === HEADER ===================================================== */
.nv-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  background: var(--paper);
  border-bottom: var(--border-hair);
}
.nv-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  background: var(--accent);
  color: #fff;
  min-height: 64px;
  border-right: var(--border-hair);
  transition: background 120ms ease;
}
.nv-brand:hover { background: var(--accent-hover); }
.nv-brand-mark {
  width: 28px; height: 28px;
  display: inline-block;
  object-fit: contain;
  transition: transform 600ms cubic-bezier(.2,.8,.2,1);
}
.nv-brand:hover .nv-brand-mark { transform: rotate(180deg) scale(1.08); }
body.hdr-minimal .nv-brand-mark { filter: invert(1); }
@keyframes nv-mark-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.nv-brand-word {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 14px;
}
.nv-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  padding: 0;
}
.nv-nav a {
  display: flex; align-items: center; height: 64px;
  padding: 0 20px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border-left: var(--border-hair);
  transition: color 120ms ease, background 120ms ease;
}
.nv-nav a:hover { color: var(--accent); }
.nv-nav a.is-active { color: var(--accent); }
.nv-nav a.nv-nav-cta {
  background: var(--ink);
  color: #fff;
}
.nv-nav a.nv-nav-cta:hover { background: var(--accent); color: #fff; }

/* === LANGUAGE SWITCHER =========================================== */
.nv-lang { position: relative; display: flex; align-items: stretch; border-left: var(--border-hair); }
.nv-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 64px;
  padding: 0 18px;
  background: var(--paper);
  color: var(--ink);
  border: 0;
  cursor: pointer;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 120ms ease, background 120ms ease;
}
.nv-lang-btn:hover { color: var(--accent); }
.nv-lang-btn svg { transition: transform 200ms ease; }
.nv-lang.open .nv-lang-btn { color: var(--accent); }
.nv-lang.open .nv-lang-btn svg { transform: rotate(180deg); }
.nv-lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--paper);
  border: var(--border-hair);
  border-top: 0;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 60;
}
.nv-lang.open .nv-lang-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nv-lang-menu li { display: block; }
.nv-lang-menu li + li { border-top: 1px solid rgba(0,0,0,0.08); }
.nv-lang-menu button {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-mono);
  text-align: left;
  color: var(--ink);
  transition: background 120ms ease, color 120ms ease;
}
.nv-lang-menu button:hover { background: var(--paper-dim); color: var(--accent); }
.nv-lang-menu button.active { color: var(--accent); }
.nv-lang-menu button.active::before {
  content: "→";
  position: absolute;
  margin-left: -14px;
  font-weight: 700;
}
.nv-lang-menu .code { font-weight: 700; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; min-width: 24px; }
.nv-lang-menu .name { font-size: 13px; opacity: 0.75; font-family: var(--font-sans); }

/* minimal header style (tweak) */
body.hdr-minimal .nv-brand { background: var(--paper); color: var(--ink); border-right: 1px solid var(--ink); }
body.hdr-minimal .nv-brand:hover { background: var(--paper-dim); }

/* === LAYOUT WRAPPERS ============================================ */
.nv-section { padding: clamp(56px, 8vw, 112px) var(--gutter); position: relative; }
.nv-section + .nv-section { border-top: var(--border-hair); }
.nv-eyebrow {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--ink);
}
.nv-eyebrow::before { content: "→ "; }

/* === HERO — DEFAULT (RED WEDGE) ================================= */
.nv-hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border-bottom: var(--border-hair);
  min-height: clamp(520px, 78vh, 820px);
  display: flex;
  align-items: center;
  padding: clamp(40px, 6vw, 96px) var(--gutter);
}
.nv-hero-wedge {
  position: absolute;
  inset: 0;
  background: var(--accent);
  clip-path: polygon(48% 0, 100% 0, 100% 100%, 28% 100%);
  z-index: 1;
}
.nv-hero-inner { position: relative; z-index: 2; max-width: var(--maxw); width: 100%; margin: 0 auto; }
.nv-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 13vw, 200px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink);
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 8px 24px 16px;
}
.nv-hero-title.span-multi { padding: 0; background: transparent; color: var(--ink); }
.nv-hero-title.span-multi span {
  display: block;
  background: var(--ink);
  color: #fff;
  padding: 4px 24px 12px;
  margin-bottom: 6px;
  width: fit-content;
}
.nv-hero-sub {
  margin: 32px 0 32px;
  max-width: 540px;
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}

/* HERO — LIGHT VARIANT (no wedge, calmer) */
body.hero-light .nv-hero-wedge { display: none; }
body.hero-light .nv-hero { background: var(--paper); }
body.hero-light .nv-hero-title.span-multi span { background: transparent; color: var(--ink); padding: 0; margin-bottom: 0; }
body.hero-light .nv-hero-title { background: transparent; color: var(--ink); padding: 0; }
body.hero-light .nv-hero-title.span-multi span:nth-child(2) { color: var(--accent); }

/* HERO — DARK VARIANT */
.nv-hero.dark { background: var(--ink); color: #fff; border-bottom: 0; }
.nv-hero.dark .nv-hero-title { background: transparent; color: #fff; padding: 0; }
.nv-hero.dark .nv-hero-title.span-multi span { background: transparent; color: #fff; padding: 0; margin-bottom: 0; }
.nv-hero.dark .nv-hero-title .accent { color: var(--accent); }
.nv-hero.dark .nv-hero-sub { color: #ddd; }
.nv-hero.dark .nv-hero-wedge { display: none; }

/* === BUTTONS ==================================================== */
.nv-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, transform 60ms ease;
  border-radius: 0;
}
.nv-btn:hover { background: #1f1f1f; }
.nv-btn:active { transform: translate(1px, 1px); }
.nv-btn .arr { transition: transform 120ms ease; }
.nv-btn:hover .arr { transform: translateX(4px); }
.nv-btn.outline { background: transparent; color: var(--ink); }
.nv-btn.outline:hover { background: var(--ink); color: #fff; }
.nv-btn.accent { background: var(--accent); border-color: var(--accent); }
.nv-btn.accent:hover { background: var(--accent-hover); }
.nv-btn.mint { background: var(--mint); color: var(--mint-ink); border-color: var(--mint-ink); }
.nv-btn.mint:hover { background: #9aeac4; }
.nv-btn.on-dark { background: #fff; color: var(--ink); border-color: #fff; }
.nv-btn.on-dark:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.nv-btn.on-red { background: #fff; color: var(--ink); border-color: #fff; }
.nv-btn.on-red:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* === PILL BADGES ================================================ */
.nv-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--mint);
  color: var(--mint-ink);
  border: 1px solid var(--mint-ink);
}
.nv-pill.red { background: var(--accent); color: #fff; border-color: var(--accent); }
.nv-pill.dot::before {
  content: "";
  width: 6px; height: 6px; border-radius: 999px;
  background: currentColor;
  display: inline-block;
}

/* === GRID — 3-UP CARDS ========================================== */
.nv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--border-hair);
  border-left: var(--border-hair);
}
.nv-grid > * {
  border-right: var(--border-hair);
  border-bottom: var(--border-hair);
  padding: 32px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  min-height: 360px;
  transition: background 120ms ease;
}
.nv-grid > a:hover { background: var(--paper-dim); }
.nv-grid > a:hover .nv-card-icon { background: var(--accent); }
@media (max-width: 1024px) { .nv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .nv-grid { grid-template-columns: 1fr; } }

.nv-card-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  color: var(--grey-300);
  letter-spacing: -0.01em;
}
.nv-card-icon {
  position: absolute;
  top: 32px; right: 32px;
  width: 40px; height: 40px;
  background: var(--ink);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 120ms ease;
}
.nv-card-icon svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.5; }
.nv-card-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0;
}
.nv-card-desc {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--grey-500);
  margin: 0;
  flex: 1;
}
.nv-card-cta {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  transition: background 120ms ease;
  border-radius: 0;
}
.nv-grid > a:hover .nv-card-cta { background: var(--accent); }
.nv-card-cta.mint { background: var(--mint); color: var(--mint-ink); }
.nv-grid > a:hover .nv-card-cta.mint { background: var(--accent); color: #fff; }

/* === FEATURE STRIP (used on service pages) ====================== */
.nv-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: var(--border-hair);
  border-left: var(--border-hair);
}
.nv-features > div {
  padding: 32px;
  border-right: var(--border-hair);
  border-bottom: var(--border-hair);
  display: flex; flex-direction: column; gap: 12px;
}
.nv-features h3 {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nv-features p { font-size: 13px; color: var(--grey-500); margin: 0; line-height: 1.6; }
.nv-features .num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent);
  font-weight: 700;
}
@media (max-width: 1024px) { .nv-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .nv-features { grid-template-columns: 1fr; } }

/* === PROCESS TIMELINE =========================================== */
.nv-process { display: grid; grid-template-columns: 200px 1fr; gap: 0; }
.nv-process-step {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-top: var(--border-hair);
  padding: 32px 0;
  gap: 32px;
}
.nv-process-step:last-child { border-bottom: var(--border-hair); }
.nv-process-step .step-num {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  font-weight: 700;
  color: var(--accent);
}
.nv-process-step h3 {
  font-family: var(--font-mono); font-weight: 700; font-size: 18px;
  text-transform: uppercase; margin: 0 0 8px;
}
.nv-process-step p { font-size: 14px; color: var(--grey-500); line-height: 1.7; max-width: 640px; }
.nv-process { display: block; }
@media (max-width: 640px) {
  .nv-process-step { grid-template-columns: 80px 1fr; gap: 16px; }
  .nv-process-step .step-num { font-size: 36px; }
}

/* === PLAN TIERS ================================================= */
.nv-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--border-hair);
  border-left: var(--border-hair);
}
.nv-plan {
  padding: 40px 32px;
  border-right: var(--border-hair);
  border-bottom: var(--border-hair);
  display: flex; flex-direction: column; gap: 24px;
  background: var(--paper);
  position: relative;
}
.nv-plan.featured { background: var(--ink); color: #fff; }
.nv-plan.featured .nv-plan-name { color: #fff; }
.nv-plan.featured .nv-plan-price { color: #fff; }
.nv-plan.featured .nv-plan-price .currency, .nv-plan.featured .nv-plan-price .per { color: var(--accent); }
.nv-plan.featured ul li { color: #ddd; }
.nv-plan.featured .nv-plan-tag { background: var(--accent); color: #fff; border-color: var(--accent); }
.nv-plan-tag {
  position: absolute; top: 0; right: 0;
  font-family: var(--font-mono); font-weight: 700; font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--ink); color: #fff;
  padding: 6px 12px;
}
.nv-plan-name {
  font-family: var(--font-mono); font-weight: 700; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
}
.nv-plan-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 0.9;
  letter-spacing: -0.01em;
  display: flex; align-items: baseline; gap: 4px;
}
.nv-plan-price .currency { font-size: 24px; color: var(--grey-500); }
.nv-plan-price .per { font-size: 14px; color: var(--grey-500); font-family: var(--font-mono); margin-left: 8px; }
.nv-plan-blurb { font-size: 13px; color: var(--grey-500); line-height: 1.6; min-height: 60px; }
.nv-plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nv-plan ul li {
  font-family: var(--font-mono); font-size: 13px; line-height: 1.5;
  padding-left: 20px; position: relative;
}
.nv-plan ul li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
@media (max-width: 1024px) { .nv-plans { grid-template-columns: 1fr; } }

/* === FAQ ======================================================== */
.nv-faq { border-top: var(--border-hair); }
.nv-faq details {
  border-bottom: var(--border-hair);
  padding: 24px 0;
}
.nv-faq summary {
  cursor: pointer;
  font-family: var(--font-mono); font-weight: 700; font-size: 16px;
  text-transform: uppercase; letter-spacing: 0.02em;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.nv-faq summary::-webkit-details-marker { display: none; }
.nv-faq summary::after { content: "+"; font-size: 24px; color: var(--accent); transition: transform 200ms ease; }
.nv-faq details[open] summary::after { content: "−"; }
.nv-faq details p { margin-top: 16px; color: var(--grey-500); font-size: 14px; line-height: 1.7; max-width: 760px; }

/* === EXAMPLES (case strip) ===================================== */
.nv-examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: var(--border-hair); border-left: var(--border-hair); }
.nv-examples > div { padding: 0; border-right: var(--border-hair); border-bottom: var(--border-hair); }
.nv-examples .img { aspect-ratio: 4/3; background: var(--grey-100); border-bottom: var(--border-hair); position: relative; overflow: hidden; }
.nv-examples .img.r { background: var(--accent); }
.nv-examples .img.k { background: var(--ink); }
.nv-examples .meta { padding: 20px 24px; }
.nv-examples h3 { font-family: var(--font-mono); font-weight: 700; font-size: 14px; text-transform: uppercase; margin: 0 0 4px; }
.nv-examples p { font-size: 12px; color: var(--grey-500); margin: 0; }
@media (max-width: 1024px) { .nv-examples { grid-template-columns: 1fr; } }

/* placeholder graphics inside examples */
.ex-graphic { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ex-graphic svg { width: 60%; height: 60%; }

/* === CTA STRIP ================================================== */
.nv-cta-strip {
  background: var(--ink);
  color: #fff;
  padding: clamp(48px, 7vw, 96px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
.nv-cta-strip h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}
.nv-cta-strip h2 .accent { color: var(--accent); }
@media (max-width: 720px) { .nv-cta-strip { grid-template-columns: 1fr; } }

/* === FOOTER ===================================================== */
.nv-footer {
  background: var(--ink);
  color: #fff;
  padding: 48px var(--gutter) 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  border-top: var(--border-hair);
}
.nv-footer h4 {
  font-family: var(--font-mono); font-weight: 700; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--grey-300); margin: 0 0 16px;
}
.nv-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nv-footer a {
  color: #fff;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 120ms ease;
}
.nv-footer a:hover { color: var(--accent); }
.nv-footer-brand img { width: 140px; }
.nv-footer-brand p { color: var(--grey-300); margin-top: 16px; font-size: 12px; max-width: 280px; line-height: 1.6; }
.nv-footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid #2a2a2a;
  padding-top: 24px;
  margin-top: 24px;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--grey-300);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 720px) { .nv-footer { grid-template-columns: 1fr 1fr; } .nv-footer-bottom { flex-direction: column; gap: 12px; } }

/* === BREADCRUMB ================================================ */
.nv-crumbs {
  padding: 16px var(--gutter);
  border-bottom: var(--border-hair);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--grey-400);
  display: flex; gap: 8px; align-items: center;
}
.nv-crumbs a { color: var(--ink); }
.nv-crumbs a:hover { color: var(--accent); }
.nv-crumbs .sep { color: var(--grey-300); }

/* === LABS-SPECIFIC ============================================== */
body.is-labs {
  --accent: var(--novato-blue);
  --accent-hover: var(--novato-blue-hover);
  --accent-press: var(--novato-blue-press);
}

/* === GO-TO-LABS BUTTON in header ================================ */
.nv-labs-cta {
  background: var(--novato-blue) !important;
  color: #fff !important;
}
.nv-labs-cta:hover { background: var(--novato-blue-press) !important; color: #fff !important; }
body.is-labs .nv-labs-cta { background: var(--novato-red) !important; }
body.is-labs .nv-labs-cta:hover { background: var(--novato-red-hover) !important; }

/* === CONTAINER ================================================== */
.nv-container { max-width: var(--maxw); margin: 0 auto; }

/* === HERO LOCKUP MEASUREMENTS =================================== */
@media (max-width: 720px) {
  .nv-hero-wedge { clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%); opacity: 0.18; }
  .nv-hero-title.span-multi span { background: var(--ink); color: #fff; padding: 4px 16px 10px; }
}

/* === SPLIT HERO (used on service pages) ========================= */
.nv-split-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border-bottom: var(--border-hair);
  min-height: 480px;
}
.nv-split-hero .left {
  padding: clamp(48px, 6vw, 96px) var(--gutter);
  display: flex; flex-direction: column; justify-content: center;
  gap: 24px;
}
.nv-split-hero .right {
  background: var(--ink);
  color: #fff;
  padding: clamp(48px, 6vw, 96px) var(--gutter);
  display: flex; flex-direction: column; justify-content: center;
  gap: 16px;
  border-left: var(--border-hair);
  position: relative;
  overflow: hidden;
}
.nv-split-hero .right.red { background: var(--accent); }
.nv-split-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}
.nv-split-hero h1 .accent { color: var(--accent); }
.nv-split-hero .right h1 { color: #fff; }
.nv-split-hero .right h1 .accent { color: var(--ink); }
.nv-split-hero p { max-width: 480px; line-height: 1.6; font-size: 16px; }
.nv-split-hero .right p { color: rgba(255,255,255,0.85); }
.nv-split-hero .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 24px; }
.nv-split-hero .stats > div {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 24px 0;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.nv-split-hero .stats > div:nth-child(odd) { padding-right: 16px; }
.nv-split-hero .stats > div:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255,255,255,0.2); }
.nv-split-hero .stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 6px;
}
@media (max-width: 900px) {
  .nv-split-hero { grid-template-columns: 1fr; }
  .nv-split-hero .right { border-left: 0; border-top: var(--border-hair); }
}

/* === LABS-VARIANT FOR HERO COLORS =============================== */
body.is-labs .nv-hero-wedge { background: var(--novato-blue); }

/* === FORM (contact) ============================================= */
.nv-form { display: grid; gap: 20px; max-width: 520px; }
.nv-form .field { display: flex; flex-direction: column; gap: 6px; }
.nv-form label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-400); }
.nv-form input, .nv-form textarea {
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 15px;
  padding: 8px 0;
  color: var(--ink);
  border-radius: 0;
  outline: 0;
}
.nv-form input:focus, .nv-form textarea:focus { border-bottom-width: 2px; }
.nv-form textarea { min-height: 100px; resize: vertical; }

/* === MARQUEE TICKER ============================================= */
.nv-ticker {
  border-top: var(--border-hair);
  border-bottom: var(--border-hair);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 14px 0;
}
.nv-ticker .track {
  display: flex; gap: 48px;
  white-space: nowrap;
  animation: nv-ticker 40s linear infinite;
  font-family: var(--font-mono); font-weight: 700;
  font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
}
.nv-ticker .track span { display: inline-flex; align-items: center; gap: 14px; }
.nv-ticker .track span::after { content: "✱"; color: var(--accent); }
@keyframes nv-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === RIGHT-RAIL META BLOCK on services ========================== */
.nv-twocol {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
}
.nv-twocol .meta {
  border-left: var(--border-hair);
  padding-left: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.nv-twocol .meta dt { color: var(--grey-400); text-transform: uppercase; margin-top: 20px; }
.nv-twocol .meta dt:first-child { margin-top: 0; }
.nv-twocol .meta dd { margin: 4px 0 0; font-weight: 700; }
@media (max-width: 900px) {
  .nv-twocol { grid-template-columns: 1fr; }
  .nv-twocol .meta { border-left: 0; border-top: var(--border-hair); padding-left: 0; padding-top: 24px; }
}

/* === LABS HERO TYPOGRAPHIC TWEAKS =============================== */
.nv-hero h1 .accent, .nv-split-hero .accent { color: var(--accent); }

/* === LABS CARD (numbered, with bigger number) =================== */
.nv-product-card {
  display: flex; flex-direction: column; gap: 24px;
  padding: 40px 32px;
  border-right: var(--border-hair);
  border-bottom: var(--border-hair);
  position: relative;
  background: var(--paper);
  transition: background 120ms ease;
}
.nv-product-card:hover { background: var(--paper-dim); }
.nv-product-card.featured:hover { background: var(--ink); color: #fff; }
.nv-product-card.featured { background: var(--ink); color: #fff; grid-column: span 3; flex-direction: row; gap: 48px; padding: 56px 48px; align-items: center; }
.nv-product-card.featured .preview { flex: 1; aspect-ratio: 16/9; background: var(--accent); position: relative; overflow: hidden; }
.nv-product-card.featured .meta { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.nv-product-card.featured .nv-card-num { color: rgba(255,255,255,0.18); }
.nv-product-card.featured .nv-card-desc { color: rgba(255,255,255,0.75); }
.nv-product-card.featured .nv-card-icon { background: #fff; color: var(--ink); }
.nv-product-card.featured .nv-card-icon svg { stroke: var(--ink); }
@media (max-width: 900px) { .nv-product-card.featured { flex-direction: column; grid-column: span 2; } }
@media (max-width: 640px) { .nv-product-card.featured { grid-column: span 1; } }

/* === BIG MANIFESTO TEXT ========================================= */
.nv-manifesto {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 1200px;
}
.nv-manifesto .accent { color: var(--accent); }
.nv-manifesto .strike { text-decoration: line-through; text-decoration-thickness: 0.08em; color: var(--grey-300); }

/* === BIG NUMERIC STATS BLOCK =================================== */
.nv-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: var(--border-hair); border-left: var(--border-hair);
}
.nv-stats > div {
  padding: 32px;
  border-right: var(--border-hair);
  border-bottom: var(--border-hair);
}
.nv-stats strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.95;
  display: block;
  margin-bottom: 8px;
}
.nv-stats span {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-500);
}
@media (max-width: 720px) { .nv-stats { grid-template-columns: repeat(2, 1fr); } }

/* === TOXIC MOCK =============================================== */
.toxic-card {
  border: 1px solid var(--ink);
  padding: 24px;
  background: #fff;
  font-family: var(--font-mono);
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px;
  align-items: center;
}
.toxic-score {
  font-family: var(--font-display); font-weight: 700;
  font-size: 56px; line-height: 1;
}
.toxic-score.bad { color: #C82D0D; }
.toxic-score.ok { color: #B89800; }
.toxic-score.good { color: #1B7A3A; }
.toxic-card h3 { font-size: 16px; text-transform: uppercase; margin: 0 0 4px; }
.toxic-card .sub { font-size: 12px; color: var(--grey-500); }
.toxic-card .reviews { font-family: var(--font-mono); font-size: 12px; color: var(--grey-500); text-align: right; }

/* === UTILS ==================================================== */
.flex { display: flex; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.muted { color: var(--grey-500); }
.center { text-align: center; }

/* === SCROLLBAR ================================================ */
::selection { background: var(--accent); color: #fff; }

/* === TWEAKS PANEL CUSTOM STYLES =============================== */
#nv-tweaks {
  position: fixed;
  bottom: 16px; right: 16px;
  z-index: 100;
  background: var(--paper);
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  width: 280px;
  display: none;
}
#nv-tweaks.open { display: block; }
#nv-tweaks header {
  background: var(--ink); color: #fff;
  padding: 10px 12px;
  display: flex; justify-content: space-between; align-items: center;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
}
#nv-tweaks header button {
  background: transparent; border: 0; color: #fff;
  cursor: pointer; font-family: inherit; font-weight: 700;
}
#nv-tweaks .body { padding: 16px 14px; display: grid; gap: 14px; }
#nv-tweaks label { display: block; color: var(--grey-500); margin-bottom: 6px; letter-spacing: 0.06em; text-transform: uppercase; font-size: 10px; }
#nv-tweaks .row { display: grid; gap: 6px; }
#nv-tweaks input[type="color"] {
  width: 100%; height: 36px;
  border: 1px solid var(--ink); padding: 0; cursor: pointer; background: #fff;
}
#nv-tweaks .seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
#nv-tweaks .seg button {
  background: #fff; border: 0; padding: 8px;
  font-family: inherit; font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; cursor: pointer;
}
#nv-tweaks .seg button + button { border-left: 1px solid var(--ink); }
#nv-tweaks .seg button.active { background: var(--ink); color: #fff; }

/* ============================================================
   ANIMATIONS — page load, scroll reveals, hover micro-interactions
   ============================================================ */

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

/* HERO entrance — staggered slabs */
.nv-hero-title.span-multi span {
  animation: nv-slab-in 700ms cubic-bezier(.2,.8,.2,1) both;
}
.nv-hero-title.span-multi span:nth-child(1) { animation-delay: 80ms; }
.nv-hero-title.span-multi span:nth-child(2) { animation-delay: 220ms; }
.nv-hero-title.span-multi span:nth-child(3) { animation-delay: 360ms; }
@keyframes nv-slab-in {
  from { transform: translateX(-32px) skewX(-6deg); opacity: 0; }
  to { transform: translateX(0) skewX(0); opacity: 1; }
}

.nv-hero-wedge {
  animation: nv-wedge-in 1100ms cubic-bezier(.2,.8,.2,1) both;
  animation-delay: 80ms;
}
@keyframes nv-wedge-in {
  from { clip-path: polygon(110% 0, 110% 0, 110% 100%, 110% 100%); }
  to {}
}

.nv-hero-sub { animation: nv-fade-up 700ms ease-out both; animation-delay: 480ms; }
.nv-hero .flex.gap-4 { animation: nv-fade-up 700ms ease-out both; animation-delay: 600ms; }
@keyframes nv-fade-up {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* HEADER drop-in */
.nv-header { animation: nv-header-in 500ms ease-out both; }
@keyframes nv-header-in {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* SCROLL-REVEAL utility — set by JS observer */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.2,.8,.2,1), transform 700ms cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: translateY(0); }
[data-reveal][data-reveal="left"] { transform: translateX(-32px); }
[data-reveal][data-reveal="left"].is-in { transform: translateX(0); }
[data-reveal][data-reveal="right"] { transform: translateX(32px); }
[data-reveal][data-reveal="right"].is-in { transform: translateX(0); }
[data-reveal][data-reveal="scale"] { transform: scale(.96); }
[data-reveal][data-reveal="scale"].is-in { transform: scale(1); }

/* Stagger children when parent has data-stagger */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease-out, transform 600ms cubic-bezier(.2,.8,.2,1);
}
[data-stagger].is-in > * { opacity: 1; transform: translateY(0); }
[data-stagger].is-in > *:nth-child(1) { transition-delay: 0ms; }
[data-stagger].is-in > *:nth-child(2) { transition-delay: 80ms; }
[data-stagger].is-in > *:nth-child(3) { transition-delay: 160ms; }
[data-stagger].is-in > *:nth-child(4) { transition-delay: 240ms; }
[data-stagger].is-in > *:nth-child(5) { transition-delay: 320ms; }
[data-stagger].is-in > *:nth-child(6) { transition-delay: 400ms; }

/* CARD HOVER — lift the icon, slide the CTA arrow, pulse the number */
.nv-grid > a { transition: background 200ms ease, transform 200ms ease; }
.nv-grid > a:hover { transform: translateY(-2px); }
.nv-grid > a .nv-card-icon { transition: background 200ms ease, transform 200ms ease; }
.nv-grid > a:hover .nv-card-icon { transform: rotate(-8deg) scale(1.08); }
.nv-grid > a .nv-card-num { transition: color 300ms ease, transform 300ms ease; }
.nv-grid > a:hover .nv-card-num { color: var(--accent); transform: translateY(-2px); }
.nv-grid > a .arr { display: inline-block; transition: transform 200ms ease; }
.nv-grid > a:hover .arr { transform: translateX(6px); }

/* BUTTON micro-interaction — accent ring expand */
.nv-btn { position: relative; overflow: hidden; isolation: isolate; }
.nv-btn::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform 350ms cubic-bezier(.7,0,.3,1);
  z-index: -1;
}
.nv-btn > * { position: relative; z-index: 1; }
.nv-btn:hover::after { transform: translateX(0); }
.nv-btn.accent::after { background: var(--ink); }
.nv-btn.outline::after { background: var(--ink); }
.nv-btn.on-dark::after { background: var(--accent); }
.nv-btn.on-red::after { background: var(--ink); }
.nv-btn.mint::after { background: var(--mint-ink); }
.nv-btn.mint:hover { color: var(--mint); }

/* Same sweep for in-card CTAs (which also hold text + an arrow span) */
.nv-card-cta, .nv-product-card .nv-card-cta {
  position: relative; overflow: hidden; isolation: isolate;
}
.nv-card-cta::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform 350ms cubic-bezier(.7,0,.3,1);
  z-index: -1;
}
.nv-grid > a:hover .nv-card-cta::after,
.nv-product-card:hover .nv-card-cta::after { transform: translateX(0); }
.nv-card-cta.mint::after { background: var(--mint-ink); }
.nv-grid > a:hover .nv-card-cta.mint { color: var(--mint); }

/* Pill pulse for "coming soon" */
.nv-pill .dot { animation: nv-pulse 1.6s ease-in-out infinite; }
@keyframes nv-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.6); }
}

/* TICKER speeds up on hover */
.nv-ticker:hover .track { animation-duration: 12s; }

/* FAQ summary chevron rotates smoothly */
.nv-faq summary::after { transition: transform 250ms ease, content 0s; }
.nv-faq details[open] summary::after { transform: rotate(180deg); }

/* Plan featured — subtle hover lift */
.nv-plan { transition: transform 250ms ease, box-shadow 250ms ease; }
.nv-plan:hover { transform: translateY(-4px); }
.nv-plan.featured:hover { transform: translateY(-6px); }

/* Stats numbers — count-up entrance via blur */
.nv-stats strong, .nv-split-hero .stats strong {
  animation: nv-stat-in 800ms cubic-bezier(.2,.8,.2,1) both;
}
@keyframes nv-stat-in {
  from { filter: blur(6px); opacity: 0; transform: translateY(12px); }
  to { filter: blur(0); opacity: 1; transform: translateY(0); }
}

/* Toxic score cards — shimmer on the score numbers */
.toxic-score {
  background: linear-gradient(90deg, currentColor 0%, currentColor 40%, rgba(255,255,255,.6) 50%, currentColor 60%, currentColor 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: nv-shimmer 4s linear infinite;
}
@keyframes nv-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* Hero variant-specific motion: dark heroes get an accent underline draw on the .accent word */
.nv-cta-strip h2 .accent, .nv-split-hero h1 .accent {
  position: relative;
  display: inline-block;
}
.nv-cta-strip h2 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.06em;
  height: .12em; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  animation: nv-underline 900ms cubic-bezier(.2,.8,.2,1) 800ms both;
}
@keyframes nv-underline {
  to { transform: scaleX(1); }
}

/* Split-hero panel fade-in */
.nv-split-hero .right { animation: nv-fade-right 800ms cubic-bezier(.2,.8,.2,1) both; animation-delay: 200ms; }
@keyframes nv-fade-right {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Manifesto strikethrough draws across */
.nv-manifesto .strike {
  position: relative;
  text-decoration: none;
  color: var(--grey-300);
}
.nv-manifesto .strike::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: .08em; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 700ms cubic-bezier(.2,.8,.2,1);
}
.nv-manifesto.is-in .strike::after { transform: scaleX(1); }
.nv-manifesto.is-in .strike:nth-child(2)::after { transition-delay: 200ms; }
.nv-manifesto.is-in .strike:nth-child(3)::after { transition-delay: 400ms; }
.nv-manifesto.is-in .strike:nth-child(4)::after { transition-delay: 600ms; }

/* Footer link slide */
.nv-footer a {
  position: relative;
  display: inline-block;
}
.nv-footer a::after {
  content: "→"; opacity: 0; margin-left: 4px;
  transition: opacity 200ms ease, margin-left 200ms ease;
  display: inline-block;
}
.nv-footer a:hover::after { opacity: 1; margin-left: 8px; }

/* Process timeline — step number lifts on hover */
.nv-process-step:hover .step-num { transform: translateX(8px); transition: transform 300ms cubic-bezier(.2,.8,.2,1); }
.nv-process-step .step-num { transition: transform 300ms cubic-bezier(.2,.8,.2,1); }

/* Smooth scroll for hash links */
html { scroll-behavior: smooth; }

/* ============================================================
   MOBILE — comprehensive responsive pass (≤900px, ≤640px)
   ============================================================ */

@media (max-width: 900px) {
  :root { --gutter: 20px; }

  /* Header — hamburger-feel: stack brand + nav, scrollable nav */
  .nv-header {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .nv-brand {
    min-height: 56px;
    padding: 0 20px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
    justify-content: flex-start;
  }
  .nv-nav {
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nv-nav::-webkit-scrollbar { display: none; }
  .nv-nav a {
    height: 52px;
    padding: 0 16px;
    font-size: 11px;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .nv-nav a:first-child { border-left: 0; }

  /* Lang switcher — fit in scrollable nav */
  .nv-lang { border-left: var(--border-hair); flex-shrink: 0; }
  .nv-lang-btn { height: 52px; padding: 0 14px; font-size: 11px; }
  .nv-lang-menu { right: auto; left: 0; min-width: 160px; }

  /* Sections — tighter padding */
  .nv-section { padding: 56px 20px; }

  /* Hero — keep slabs readable */
  .nv-hero { min-height: 70vh; padding: 48px 20px; }
  .nv-hero-title { font-size: clamp(56px, 16vw, 96px) !important; }
  .nv-hero-title.span-multi span { padding: 4px 16px 10px; }
  .nv-hero-sub { font-size: 14px; margin: 24px 0; }
  .nv-hero-wedge { clip-path: polygon(38% 0, 100% 0, 100% 100%, 12% 100%); opacity: 0.92; }

  /* Manifesto — scale down */
  .nv-manifesto { font-size: clamp(36px, 10vw, 64px); }

  /* Card grids → single column */
  .nv-grid { grid-template-columns: 1fr; }
  .nv-grid > * { min-height: auto; padding: 28px 24px; gap: 16px; }
  .nv-card-num { font-size: 48px; }
  .nv-card-icon { top: 24px; right: 24px; width: 36px; height: 36px; }
  .nv-card-title { font-size: 18px; }
  .nv-card-desc { font-size: 13px; }

  /* Featured product card — stack vertically */
  .nv-product-card.featured { flex-direction: column !important; gap: 24px !important; padding: 32px 24px !important; }
  .nv-product-card.featured .preview { width: 100%; aspect-ratio: 16/10; }

  /* Features 4-up → single column */
  .nv-features { grid-template-columns: 1fr; }
  .nv-features > div { padding: 24px; }

  /* Plans → single column, featured first visually equal */
  .nv-plans { grid-template-columns: 1fr; }
  .nv-plan { padding: 32px 24px; }
  .nv-plan-price { font-size: 44px; }

  /* Examples → single column */
  .nv-examples { grid-template-columns: 1fr; }

  /* Stats — 2 per row */
  .nv-stats { grid-template-columns: repeat(2, 1fr); }
  .nv-stats > div { padding: 24px 20px; }
  .nv-stats strong { font-size: 40px; }

  /* Split hero → stack, lighter padding */
  .nv-split-hero { grid-template-columns: 1fr; min-height: auto; }
  .nv-split-hero .left, .nv-split-hero .right { padding: 48px 20px; }
  .nv-split-hero .right { border-left: 0; border-top: var(--border-hair); }
  .nv-split-hero h1 { font-size: clamp(48px, 12vw, 80px); }
  .nv-split-hero .stats { grid-template-columns: 1fr 1fr; }
  .nv-split-hero .stats strong { font-size: 36px; }

  /* CTA strip — stack */
  .nv-cta-strip { grid-template-columns: 1fr; padding: 56px 20px; gap: 24px; }
  .nv-cta-strip h2 { font-size: clamp(36px, 9vw, 64px); }

  /* Two-column (FAQ + meta) → stack */
  .nv-twocol { grid-template-columns: 1fr; gap: 32px; }
  .nv-twocol .meta { border-left: 0; border-top: var(--border-hair); padding-left: 0; padding-top: 24px; }

  /* Footer — 2-up */
  .nv-footer { grid-template-columns: 1fr 1fr; padding: 40px 20px 24px; gap: 24px; }
  .nv-footer-brand { grid-column: 1 / -1; }
  .nv-footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
  .nv-footer-legal { grid-column: 1 / -1; display: flex; gap: 24px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-hair); }
  .nv-footer-legal a { font-family: var(--font-mono); font-size: 12px; color: var(--ink); text-decoration: none; }
  .nv-footer-legal a:hover { text-decoration: underline; }

  /* Process timeline — tighter */
  .nv-process-step { grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 0; }
  .nv-process-step .step-num { font-size: 36px; }
  .nv-process-step h3 { font-size: 16px; }
  .nv-process-step p { font-size: 13px; }

  /* Crumbs */
  .nv-crumbs { padding: 12px 20px; font-size: 11px; flex-wrap: wrap; }

  /* Toxic cards */
  .toxic-card { grid-template-columns: auto 1fr !important; gap: 16px !important; padding: 16px 20px !important; }
  .toxic-card .reviews { display: none; }
  .toxic-score { font-size: 40px !important; }
  .toxic-card h3 { font-size: 14px; }

  /* Tweaks panel — narrower, bottom-anchored full width on tiny screens */
  #nv-tweaks { width: calc(100vw - 24px); right: 12px; bottom: 12px; }

  /* Hide desktop-only ticker animation slowdown — keep marquee fast */
  .nv-ticker .track { animation-duration: 30s; gap: 32px; }

  /* Headers in sections — scale down */
  h2.nv-manifesto, .nv-section h2 { font-size: clamp(36px, 9vw, 64px) !important; line-height: 0.95 !important; }

  /* Buttons full-width when in flex containers, except inline groups */
  .nv-hero .nv-btn { width: 100%; justify-content: center; }
  .nv-cta-strip .nv-btn { width: 100%; justify-content: center; }

  /* Manifesto section flex children → stack */
  body .labs-promo, body .manifesto-grid, body .collab-grid,
  body .principles-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Section headings under eyebrows — pad less */
  .nv-eyebrow { margin-bottom: 16px; }
}

/* Smaller phones */
@media (max-width: 480px) {
  .nv-hero-title.span-multi span { padding: 4px 12px 8px; }
  .nv-stats { grid-template-columns: 1fr; }
  .nv-split-hero .stats { grid-template-columns: 1fr; }
  .nv-card-num { font-size: 40px; }
  .nv-plan-price { font-size: 36px; }
  .nv-plan-price .currency { font-size: 18px; }

  /* Toxic stub hero form — stack */
  body form.flex { flex-direction: column; }
  body form.flex input, body form.flex .nv-btn { width: 100%; }

  /* Footer single column on tiny */
  .nv-footer { grid-template-columns: 1fr; }
}

/* Touch device — disable hover sweeps that don't work without hover */
@media (hover: none) {
  .nv-btn::after, .nv-card-cta::after { display: none; }
  .nv-btn:active { background: var(--accent-press); }
}
