/* ============================================================
   Kitsune AI — Shared site chrome & page components
   Nav · footer · buttons · reveal · page-hero · prose ·
   feature rows · accordion · stat strips · media slots · CTA band
   Built on the DS tokens (colors_and_type.css).
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; background: var(--kit-site); }
img { display: block; max-width: 100%; }
::selection { background: var(--kit-fox-500); color: #fff; }

/* ---------- LAYOUT PRIMITIVES ---------- */
.section {
  position: relative;
  padding: clamp(72px, 11vw, 168px) clamp(24px, 6vw, 96px);
  max-width: 1440px;
  margin: 0 auto;
}
.section--tight { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.section__head { max-width: 1248px; margin: 0 auto clamp(40px, 5vw, 72px); }
.section__head--center { text-align: center; }
.section__head--center .section__lede { margin-left: auto; margin-right: auto; }
.wrap { max-width: 1248px; margin: 0 auto; }
.eyebrow { display: inline-block; margin-bottom: 22px; }
.section__title { letter-spacing: -0.025em; }
.section__lede {
  margin-top: 22px; max-width: 60ch;
  font-size: var(--fs-body-lg); color: var(--fg-2); line-height: 1.55;
}

/* ---------- REVEAL (only hides once JS marks the doc) ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(20px); }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1 !important; transform: none !important; }
}
.js-reveal .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease-kinetic), transform .7s var(--ease-kinetic);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-terminal {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-weight: 500;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: var(--kit-fox-500);
  padding: 12px 22px; border-radius: var(--r-pill);
  text-decoration: none; white-space: nowrap; border: 0; cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn-terminal:hover { background: var(--kit-fox-700); box-shadow: var(--shadow-glow-fox); transform: translateY(-1px); text-decoration: none; }
.btn-terminal:active { transform: scale(0.98); }
.btn-terminal--lg { font-size: 15px; padding: 16px 30px; }
.btn-terminal--xl { font-size: 17px; padding: 20px 40px; letter-spacing: 0.08em; }
.btn-terminal .caret { animation: blink 1.1s steps(1) infinite; margin-left: -2px; }
@keyframes blink { 50% { opacity: 0; } }

.btn-ghost {
  display: inline-flex; align-items: center;
  font-family: var(--font-sans); font-weight: 500; font-size: 15px;
  color: var(--fg-1); text-decoration: none; padding: 14px 6px;
  position: relative; background: none; border: 0; cursor: pointer;
}
.btn-ghost::after {
  content: ""; position: absolute; left: 6px; right: 6px; bottom: 8px; height: 2px;
  background: var(--kit-fox-500); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.btn-ghost:hover { text-decoration: none; }
.btn-ghost:hover::after { transform: scaleX(1); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-weight: 500; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-1); background: transparent;
  padding: 12px 22px; border-radius: var(--r-pill);
  border: 1px solid var(--border-strong); text-decoration: none; cursor: pointer;
  transition: border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.btn-outline:hover { border-color: var(--kit-ink); background: var(--kit-ink); color: #fff; text-decoration: none; }
.kit-dark .btn-outline { color: #fff; border-color: #353a4a; }
.kit-dark .btn-outline:hover { background: #fff; color: var(--kit-ink); border-color: #fff; }

/* ============================================================
   NAV (shared)
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  transition: padding var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding-top: 11px; padding-bottom: 11px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.nav__brand { margin-right: auto; display: flex; align-items: center; }
.nav__brand img { height: 42px; width: auto; transition: height var(--dur-base) var(--ease-out); }
.nav.is-scrolled .nav__brand img { height: 36px; }

/* on-dark nav theme: transparent nav over a dark hero (reverts to default once scrolled into the white bar) */
.nav__logo--light { display: none; }
.nav--on-dark:not(.is-scrolled) .nav__logo--dark { display: none; }
.nav--on-dark:not(.is-scrolled) .nav__logo--light { display: block; }
.nav--on-dark:not(.is-scrolled) .nav__link { color: rgba(255,255,255,0.82); }
.nav--on-dark:not(.is-scrolled) .nav__item:hover .nav__link,
.nav--on-dark:not(.is-scrolled) .nav__link:focus-visible,
.nav--on-dark:not(.is-scrolled) .nav__link.is-active { color: #fff; }
.nav--on-dark:not(.is-scrolled) .nav__burger span { background: #fff; }

.nav__menu { display: flex; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 500;
  color: var(--fg-2); background: none; border: 0; cursor: pointer;
  padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav__item:hover .nav__link, .nav__link:focus-visible, .nav__link.is-active { color: var(--fg-1); }
.nav__caret {
  width: 6px; height: 6px; border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-1px);
  transition: transform var(--dur-base) var(--ease-out); opacity: .65;
}
.nav__item:hover .nav__caret { transform: rotate(225deg) translateY(-2px); }

.nav__drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 268px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              visibility var(--dur-base);
}
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__drop a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 14px; border-radius: var(--r-md); text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out);
}
.nav__drop a:hover { background: var(--bg-sunken); text-decoration: none; }
.nav__drop-t { font-size: 14.5px; font-weight: 600; color: var(--fg-1); }
.nav__drop-s { font-size: 12.5px; color: var(--fg-3); }

/* hamburger */
.nav__burger {
  display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px;
  align-items: center; justify-content: center; background: none; border: 0; cursor: pointer;
  margin-left: 4px;
}
.nav__burger span { width: 22px; height: 2px; background: var(--kit-ink); transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: #fff;
  padding: 96px clamp(24px, 6vw, 48px) 40px; overflow-y: auto;
  transform: translateY(-100%); transition: transform var(--dur-slow) var(--ease-out);
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu__group { border-bottom: 1px solid var(--border); padding: 18px 0; }
.mobile-menu__group h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 12px; }
.mobile-menu__group a { display: block; font-size: 19px; font-weight: 600; color: var(--fg-1); padding: 9px 0; text-decoration: none; }
.mobile-menu__group a span { display: block; font-size: 13px; font-weight: 400; color: var(--fg-3); }
.mobile-menu .btn-terminal { margin-top: 28px; width: 100%; justify-content: center; }

/* ============================================================
   PAGE HERO (sub-pages)
   ============================================================ */
.phero {
  position: relative; overflow: hidden;
  padding: clamp(150px, 18vw, 220px) clamp(24px, 6vw, 96px) clamp(60px, 8vw, 110px);
  background: var(--kit-site);
}
/* drifting brand aurora behind sub-page heroes (ambient motion) */
.phero::before {
  content: ""; position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 50% at 22% 30%, rgba(238,77,31,.16), transparent 70%),
    radial-gradient(42% 55% at 78% 28%, rgba(35,55,241,.18), transparent 72%),
    radial-gradient(40% 50% at 60% 80%, rgba(75,53,200,.14), transparent 72%);
  opacity: .9;
}
@media (prefers-reduced-motion: no-preference) {
  .phero::before { animation: pheroaura 20s var(--ease-in-out) infinite alternate; }
}
@keyframes pheroaura {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1); }
  100% { transform: translate3d(4%, 3%, 0) scale(1.12); }
}
.phero--dark::before { opacity: .5; }
.phero__grid {
  position: absolute; inset: -8%; z-index: 0;
  background-image:
    linear-gradient(to right, var(--kit-slate-200) 1px, transparent 1px),
    linear-gradient(to bottom, var(--kit-slate-200) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 28% 30%, #000 0%, transparent 76%);
          mask-image: radial-gradient(ellipse 85% 80% at 28% 30%, #000 0%, transparent 76%);
  opacity: .5;
}
@media (prefers-reduced-motion: no-preference) {
  .phero__grid { animation: griddrift2 24s linear infinite; }
}
@keyframes griddrift2 { to { background-position: 72px 72px; } }
.phero__inner { position: relative; z-index: 2; max-width: 1248px; margin: 0 auto; width: 100%; }
.phero .hero__trail, .phero__trail { position: absolute; top: 0; left: 0; right: 0; height: 100%; z-index: 1; pointer-events: none; }
.phero__breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 26px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; color: var(--fg-3); }
.phero__breadcrumb a { color: var(--fg-3); text-decoration: none; }
.phero__breadcrumb a:hover { color: var(--kit-fox-500); text-decoration: none; }
.phero__breadcrumb i { width: 12px; height: 1px; background: var(--border-strong); display: inline-block; }
.phero__title { max-width: 16ch; margin-top: 4px; }
.phero__title em { font-style: italic; }
.phero__lede { margin-top: 26px; max-width: 56ch; font-size: clamp(17px, 1.6vw, 21px); color: var(--fg-2); line-height: 1.55; }
.phero__cta { margin-top: 36px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.phero--dark { background: var(--kit-ink); }
.phero--dark .phero__grid {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
}

/* ============================================================
   PROSE (long-form: story / vision / blog post)
   ============================================================ */
.prose { max-width: 70ch; margin: 0 auto; }
.prose p { font-size: var(--fs-body-lg); line-height: 1.72; color: var(--fg-2); margin-bottom: 1.5em; }
.prose p:first-child { margin-top: 0; }
.prose h2 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); line-height: 1.05; margin: 1.6em 0 0.6em; color: var(--fg-1); }
.prose h3 { font-size: 22px; margin: 1.5em 0 0.5em; color: var(--fg-1); }
.prose strong { color: var(--fg-1); font-weight: 600; }
.prose .lead { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; color: var(--fg-1); margin-bottom: 1em; }
.prose blockquote {
  margin: 1.8em 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--kit-fox-500);
  font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.32; color: var(--fg-1);
}
.prose ul { margin: 0 0 1.5em 1.1em; }
.prose li { font-size: var(--fs-body-lg); line-height: 1.6; color: var(--fg-2); margin-bottom: 0.5em; }

/* ============================================================
   FEATURE ROWS (alternating media / text)
   ============================================================ */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; max-width: 1248px; margin: 0 auto; }
.frow + .frow { margin-top: clamp(64px, 8vw, 120px); }
.frow--flip .frow__media { order: 2; }
.frow__kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--kit-fox-500); margin-bottom: 16px; display: inline-block; }
.frow__title { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.04; letter-spacing: -0.02em; color: var(--fg-1); }
.frow__body { margin-top: 20px; font-size: var(--fs-body-lg); line-height: 1.62; color: var(--fg-2); }
.frow__body p + p { margin-top: 1em; }
.frow__list { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.frow__list-item { display: flex; gap: 14px; align-items: flex-start; }
.frow__list-item .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--kit-fox-500); margin-top: 8px; }
.frow__list-item div strong { display: block; font-size: 16px; color: var(--fg-1); font-weight: 600; }
.frow__list-item div span { font-size: 14.5px; color: var(--fg-3); }

/* ============================================================
   MEDIA SLOT (image placeholder, brand striped)
   ============================================================ */
.media-slot {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, var(--kit-slate-100) 0 14px, var(--kit-slate-50) 14px 28px);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3;
}
.media-slot__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--fg-3); text-align: center; padding: 16px; max-width: 80%; }
.media-slot__label b { display: block; color: var(--fg-2); font-weight: 600; margin-bottom: 4px; }
.media-slot--photo { background: var(--kit-slate-100); }
.media-slot img { width: 100%; height: 100%; object-fit: cover; }
.media-slot--tall { aspect-ratio: 3 / 4; }
.media-slot--wide { aspect-ratio: 16 / 9; }

/* ============================================================
   STAT STRIP
   ============================================================ */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; max-width: 1248px; margin: 0 auto; }
.stat-strip--3 { grid-template-columns: repeat(3, 1fr); }
.stat { background: #fff; padding: clamp(24px, 3vw, 38px); }
.stat__num { font-family: var(--font-display); font-size: clamp(38px, 4vw, 56px); line-height: 1; letter-spacing: -0.02em; color: var(--fg-1); }
.stat__num small { font-size: 0.4em; color: var(--fg-3); font-family: var(--font-sans); }
.stat__label { margin-top: 12px; font-size: 14px; color: var(--fg-3); line-height: 1.45; }
.stat-strip.kit-dark { background: #232734; border-color: #232734; }
.stat-strip.kit-dark .stat { background: var(--kit-ink); }
.stat-strip.kit-dark .stat__num { color: #fff; }
.stat-strip.kit-dark .stat__label { color: var(--kit-slate-400); }

/* ============================================================
   GENERIC CARD GRID
   ============================================================ */
.cardgrid { display: grid; gap: 20px; max-width: 1248px; margin: 0 auto; }
.cardgrid--3 { grid-template-columns: repeat(3, 1fr); }
.cardgrid--2 { grid-template-columns: repeat(2, 1fr); }
.gcard {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 32px 30px; display: flex; flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.gcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gcard__num { font-family: var(--font-mono); font-size: 12px; color: var(--fg-mute); letter-spacing: 0.1em; }
.gcard__icon { width: 44px; height: 44px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; background: var(--kit-fox-50); color: var(--kit-fox-500); margin-bottom: 18px; }
.gcard__icon svg { width: 22px; height: 22px; }
.gcard__title { margin-top: 12px; font-size: 21px; line-height: 1.18; color: var(--fg-1); }
.gcard p { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--fg-2); flex: 1; }
.gcard__tag { margin-top: 20px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; color: var(--fg-3); text-transform: uppercase; }

/* ============================================================
   ACCORDION (FAQ)
   ============================================================ */
.accordion { max-width: 880px; margin: 0 auto; }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 4px; font-family: var(--font-sans); font-size: clamp(17px, 1.7vw, 21px); font-weight: 600;
  color: var(--fg-1); transition: color var(--dur-fast);
}
.acc-q:hover { color: var(--kit-fox-500); }
.acc-icon { flex: none; width: 22px; height: 22px; position: relative; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; background: var(--kit-fox-500); border-radius: 2px; transition: transform var(--dur-base) var(--ease-out); }
.acc-icon::before { left: 0; top: 10px; width: 22px; height: 2px; }
.acc-icon::after { left: 10px; top: 0; width: 2px; height: 22px; }
.acc-item.is-open .acc-icon::after { transform: scaleY(0); }
.acc-a { overflow: hidden; max-height: 0; transition: max-height var(--dur-slow) var(--ease-out); }
.acc-a__inner { padding: 0 4px 28px; max-width: 70ch; }
.acc-a__inner p { font-size: 16px; line-height: 1.66; color: var(--fg-2); }
.acc-a__inner p + p { margin-top: 1em; }

/* ============================================================
   PROCESS STEPS (numbered, connected)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 1248px; margin: 0 auto; border-top: 1px solid var(--border); }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 32px 28px 36px; border-right: 1px solid var(--border); }
.step:last-child { border-right: 0; }
.step__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--kit-fox-500); }
.step__bar { height: 2px; background: var(--border); margin: 18px 0 22px; position: relative; overflow: hidden; }
.step__bar::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--kit-fox-500); transition: width 1s var(--ease-out); }
.step.reveal.is-in .step__bar::after { width: 40%; }
.step h3 { font-size: 19px; line-height: 1.2; color: var(--fg-1); }
.step p { margin-top: 12px; font-size: 14.5px; line-height: 1.55; color: var(--fg-2); }

/* ============================================================
   PULL STATEMENT
   ============================================================ */
.pull { max-width: 1100px; margin: 0 auto; }
.pull__big { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -0.02em; color: var(--fg-1); max-width: 18ch; }
.pull__big em { font-style: italic; }
.pull__sub { margin-top: 28px; max-width: 56ch; font-size: var(--fs-body-lg); line-height: 1.62; color: var(--fg-2); }

/* ============================================================
   SPLIT (two facing panels)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1248px; margin: 0 auto; }
.panel { border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(28px, 3vw, 44px); background: #fff; }
.panel--dark { background: var(--kit-ink); border-color: var(--kit-ink); color: #fff; }
.panel__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--kit-fox-500); }
.panel--dark .panel__tag { color: var(--kit-fox-300); }
.panel h3 { margin-top: 14px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.12; color: inherit; }
.panel--dark h3 { color: #fff; }
.panel p { margin-top: 16px; font-size: 15.5px; line-height: 1.6; color: var(--fg-2); }
.panel--dark p { color: var(--kit-slate-300); }
.panel__list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.panel__list li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--fg-2); }
.panel--dark .panel__list li { color: var(--kit-slate-300); }
.panel__list li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--kit-fox-500); margin-top: 7px; }

/* ============================================================
   CHIP ROW
   ============================================================ */
.chiprow { display: flex; flex-wrap: wrap; gap: 12px; max-width: 1000px; margin: 0 auto; justify-content: center; }
.chiprow--left { justify-content: flex-start; margin-left: 0; }
.chip-lg { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.02em; color: var(--fg-1); background: #fff; border: 1px solid var(--border); padding: 12px 20px; border-radius: var(--r-pill); transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.chip-lg:hover { border-color: var(--kit-fox-500); transform: translateY(-2px); }

/* ============================================================
   CTA BAND (dark, shared bottom of pages)
   ============================================================ */
.ctaband { position: relative; overflow: hidden; background: var(--kit-ink); color: #fff; padding: clamp(72px, 9vw, 130px) clamp(24px, 6vw, 96px); text-align: center; }
.ctaband__grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 35%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 50% 35%, #000, transparent 75%);
}
.ctaband__inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.ctaband .eyebrow { color: var(--kit-fox-300); }
.ctaband__title { font-family: var(--font-display); font-size: clamp(34px, 5vw, 68px); line-height: 1; letter-spacing: -0.02em; color: #fff; margin-top: 14px; }
.ctaband__title em { font-style: italic; }
.ctaband__sub { margin: 26px auto 38px; max-width: 52ch; font-size: clamp(16px, 1.6vw, 19px); color: var(--kit-slate-300); line-height: 1.55; }
.ctaband__actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   PILL / TAG / CHIP
   ============================================================ */
.chip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-2); background: var(--bg-sunken); border: 1px solid var(--border); padding: 7px 13px; border-radius: var(--r-pill); }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--kit-fox-500); }
.chip--live i { animation: livedot 2s var(--ease-out) infinite; box-shadow: 0 0 0 0 var(--kit-fox-500); }
@keyframes livedot { 0% { box-shadow: 0 0 0 0 rgba(238,77,31,.6); } 70%,100% { box-shadow: 0 0 0 7px rgba(238,77,31,0); } }

/* ============================================================
   FOOTER (shared)
   ============================================================ */
.footer { background: var(--kit-ink); color: var(--kit-slate-300); padding: clamp(56px, 7vw, 88px) clamp(24px, 6vw, 96px) 40px; border-top: 1px solid #1a1d25; }
.footer__top { max-width: 1248px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid #1a1d25; }
.wordmark { display: flex; align-items: center; gap: 10px; font-family: var(--font-sans); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; color: #fff; text-decoration: none; }
.wordmark:hover { text-decoration: none; }
.wordmark em { font-style: normal; font-weight: 700; }
.wordmark__spark { width: 20px; height: 20px; color: var(--kit-fox-500); }
.wordmark__mark { width: 30px; height: 30px; border-radius: 7px; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.wordmark__ai { background: linear-gradient(95deg, #ff6a2b 0%, #8a6bff 50%, #2e9bff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: saturate(1.25) brightness(1.12); }
.footer__brand p { margin-top: 16px; max-width: 38ch; font-size: 14px; line-height: 1.6; color: var(--kit-slate-400); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer__cols h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--kit-slate-500); margin-bottom: 16px; font-weight: 500; }
.footer__cols a { display: block; font-size: 14.5px; color: var(--kit-slate-300); text-decoration: none; padding: 6px 0; transition: color var(--dur-fast) var(--ease-out); }
.footer__cols a:hover { color: #fff; text-decoration: none; }
.footer__social .soc { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--kit-slate-300); padding: 6px 0; text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.footer__social .soc:hover { color: #fff; text-decoration: none; }
.footer__social .soc svg { width: 15px; height: 15px; flex: none; color: var(--kit-slate-500); transition: color var(--dur-fast) var(--ease-out); }
.footer__social .soc:hover svg { color: var(--kit-fox-400); }
.footer__social .soc__soon { margin-top: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--kit-slate-600); }
.footer__base { max-width: 1248px; margin: 28px auto 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; color: var(--kit-slate-500); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav__menu, .nav > .btn-terminal { display: none; }
  .nav__burger { display: flex; }
  .cardgrid--3 { grid-template-columns: 1fr; }
  .cardgrid--2 { grid-template-columns: 1fr; }
  .stat-strip, .stat-strip--3 { grid-template-columns: repeat(2, 1fr); }
  .frow { grid-template-columns: 1fr; gap: 32px; }
  .frow--flip .frow__media { order: 0; }
  .steps, .steps--3 { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2n) { border-right: 0; }
  .step { border-bottom: 1px solid var(--border); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps, .steps--3 { grid-template-columns: 1fr; }
  .step { border-right: 0; }
}
@media (max-width: 720px) {
  .stat-strip, .stat-strip--3 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .phero__title em { display: inline; }
}
