/* ==========================================================================
   CirqlWorks — design tokens
   ========================================================================== */
:root {
  --navy: #003366;
  --teal: #00cccc;
  --pink: #ff3399;
  --crm-purple: #5b5bff;
  --white: #ffffff;
  --ink: #001a33;
  --ink-2: #36465a;
  --ink-3: #6b7889;
  --paper: #ffffff;
  --paper-2: #f7f9fc;
  --paper-3: #e8edf3;

  --rule: rgba(0, 26, 51, 0.1);
  --rule-strong: rgba(0, 26, 51, 0.2);

  --stage-bg: #07101e;
  --stage-bg-2: #0d1830;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --bar-h: 8px;
  --header-h: 96px;
  --radius: 14px;
  --radius-sm: 8px;
  --max-w: 1320px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01" on, "cv11" on;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0;
}
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   Type
   ========================================================================== */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font);
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-weight: 700;
  color: var(--ink);
}
h2 {
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  letter-spacing: -0.03em;
}
h3 {
  font-size: 1.35rem;
  letter-spacing: -0.018em;
}
h4 {
  font-size: 1.15rem;
}
p {
  margin: 0;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(
    to right,
    var(--navy) 0 50%,
    var(--teal) 50% 75%,
    var(--pink) 75% 100%
  );
}
.eyebrow--on-dark {
  color: var(--teal);
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.sec-head {
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  max-width: 760px;
  text-align: center;
}
.sec-head .eyebrow {
  justify-content: center;
}
.sec-head--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 720px;
}
.sec-head--left .eyebrow {
  justify-content: flex-start;
}
.sec-head__copy {
  color: var(--ink-2);
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* ==========================================================================
   Brand bar
   ========================================================================== */
.brand-bar {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  height: var(--bar-h);
}
.brand-bar__navy {
  background: var(--navy);
}
.brand-bar__teal {
  background: var(--teal);
}
.brand-bar__pink {
  background: var(--pink);
}

/* ==========================================================================
   Hero (brand + carousel) — fills the viewport, no white before fold
   ========================================================================== */
.hero {
  background: var(--stage-bg);
  min-height: calc(100vh - var(--bar-h));
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 1100px 600px at 50% 110%, rgba(0, 204, 204, 0.1), transparent 60%),
    radial-gradient(ellipse 800px 500px at 10% 0%, rgba(255, 51, 153, 0.06), transparent 60%),
    radial-gradient(ellipse 800px 500px at 90% 0%, rgba(0, 204, 204, 0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-brand,
.stage {
  position: relative;
  z-index: 1;
}
.hero-brand {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.5rem, 1vw, 1rem) 0;
}
.hero-brand__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.5rem, 0.9vw, 0.85rem);
}
.hero-brand__ring {
  width: clamp(100px, 11vw, 150px);
  height: clamp(100px, 11vw, 150px);
  flex-shrink: 0;
}
.hero-brand__wordmark {
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0;
}
.hero-brand__wordmark strong {
  font-weight: 800;
  color: var(--white);
}
.hero-brand__wordmark em {
  font-style: normal;
  font-weight: 300;
  color: var(--teal);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  letter-spacing: -0.005em;
  transition: background 200ms var(--ease), color 200ms,
    border-color 200ms, transform 200ms var(--ease),
    box-shadow 240ms var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--teal {
  background: var(--teal);
  color: var(--navy);
}
.btn--teal:hover {
  box-shadow: 0 8px 30px -8px rgba(0, 204, 204, 0.55);
}
.btn--solid {
  background: var(--navy);
  color: var(--white);
}
.btn--solid:hover {
  background: var(--ink);
}
.btn--pink {
  background: var(--pink);
  color: var(--white);
}
.btn--pink:hover {
  box-shadow: 0 8px 30px -8px rgba(255, 51, 153, 0.55);
}
.btn--white {
  background: var(--white);
  color: var(--ink);
}
.btn--white:hover {
  box-shadow: 0 8px 30px -8px rgba(255, 255, 255, 0.35);
}
.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}
.btn--ghost-light:hover {
  border-color: var(--white);
}
.btn--ghost-dark {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}
.btn--ghost-dark:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   ============ HERO STAGE — 3-card deck ============
   ========================================================================== */
.stage {
  background: transparent;
  color: var(--white);
  flex: 0 0 auto;
  height: clamp(560px, 68vh, 700px);
  position: relative;
}

.stage__viewport {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 1600px;
}

/* ---------- Cards ---------- */
.card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(880px, 72vw);
  padding: clamp(1rem, 1.8vw, 1.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.55rem, 1vw, 0.85rem);
  text-align: center;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 24, 48, 0.78), rgba(7, 16, 30, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transform-origin: center center;
  transition:
    transform 760ms var(--ease),
    opacity 540ms var(--ease),
    filter 540ms var(--ease);
  will-change: transform, opacity, filter;
}

.card[data-pos="centre"] {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  filter: blur(0);
  z-index: 3;
}
.card[data-pos="prev"] {
  transform: translate(-50%, -50%) translateX(-62%) scale(0.6) rotateY(12deg);
  opacity: 0.45;
  filter: blur(1.5px) saturate(0.85) brightness(0.82);
  z-index: 1;
  pointer-events: auto;
  cursor: pointer;
}
.card[data-pos="next"] {
  transform: translate(-50%, -50%) translateX(62%) scale(0.6) rotateY(-12deg);
  opacity: 0.45;
  filter: blur(1.5px) saturate(0.85) brightness(0.82);
  z-index: 1;
  pointer-events: auto;
  cursor: pointer;
}
.card[data-pos="hidden"] {
  transform: translate(-50%, -50%) translateX(0) scale(0.4);
  opacity: 0;
  pointer-events: none;
  filter: blur(4px);
  z-index: 0;
}
.card[data-pos="prev"]:hover,
.card[data-pos="next"]:hover {
  opacity: 0.78;
  filter: blur(0) saturate(1) brightness(0.95);
}

.card__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- Card head: icon + wordmark together ---------- */
.card__head {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.card__icon {
  width: clamp(40px, 4.5vw, 60px);
  height: clamp(40px, 4.5vw, 60px);
  flex-shrink: 0;
}
.card__icon--png {
  object-fit: contain;
}

/* ---------- Wordmarks (slide titles) ---------- */
.wordmark {
  font-size: clamp(2.25rem, 5.4vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
}
.wordmark .wm-suf {
  font-weight: 300;
  font-size: 0.6em;
  letter-spacing: -0.02em;
  margin-left: 0.02em;
}
/* PatchBuddy: Patch (white) + Buddy (teal) + .ai (pink) */
.wordmark--pb .wm-p1 {
  color: var(--white);
}
.wordmark--pb .wm-p2 {
  color: var(--teal);
}
.wordmark--pb .wm-ai {
  color: var(--pink);
}
/* eCirql: flat white wordmark, no icon */
.wordmark--ec {
  color: var(--white);
}
/* CirqlCRM: rendered as an SVG image (mark + wordmark together) */
.wordmark--crm-img {
  width: auto;
  height: clamp(56px, 6.5vw, 96px);
  max-width: 100%;
  display: block;
  margin: 0 auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* PatchScript: PatchScript all white */
.wordmark--ps .wm-patch,
.wordmark--ps .wm-script {
  color: var(--white);
}
/* JSON Buddy: monospace, brackets-style — all white */
.wordmark--jb {
  font-family: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;
  letter-spacing: -0.02em;
}
.wordmark--jb .wm-json,
.wordmark--jb .wm-p2 {
  color: var(--white);
}

.card__tag {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 50ch;
  line-height: 1.5;
}
.card__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Mocks (shared chrome + product-specific) ---------- */
.card__mock {
  margin-top: 0.2rem;
  width: 100%;
  max-width: 600px;
  height: clamp(130px, 16vh, 180px);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8),
    0 6px 22px -8px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

/* Real product screenshot — replaces fake mock UI; fades to nothing at the bottom */
.card__shot {
  margin-top: 0.2rem;
  width: 100%;
  max-width: 720px;
  height: clamp(160px, 20vh, 240px);
  position: relative;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: transparent;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}
.card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.pb-mock__chrome,
.ec-mock__chrome,
.crm-mock__chrome {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.85rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #f1f4f8;
}
.pb-mock__chrome { background: #07101e; border-bottom-color: rgba(255,255,255,0.07); }
.crm-mock__chrome { background: #00152b; border-bottom-color: rgba(255,255,255,0.07); }
.pb-mock__dots,
.ec-mock__dots,
.crm-mock__dots {
  display: inline-flex;
  gap: 0.32rem;
}
.pb-mock__dots span,
.ec-mock__dots span,
.crm-mock__dots span {
  width: 9px; height: 9px; border-radius: 50%; background: #cfd5dd;
}
.pb-mock__dots span:nth-child(1) { background: #ff6961; }
.pb-mock__dots span:nth-child(2) { background: #ffd152; }
.pb-mock__dots span:nth-child(3) { background: #46d57c; }
.ec-mock__dots span:nth-child(1) { background: #ff6961; }
.ec-mock__dots span:nth-child(2) { background: #ffd152; }
.ec-mock__dots span:nth-child(3) { background: #46d57c; }
.crm-mock__dots span:nth-child(1) { background: #ff6961; }
.crm-mock__dots span:nth-child(2) { background: #ffd152; }
.crm-mock__dots span:nth-child(3) { background: #46d57c; }
.pb-mock__url,
.ec-mock__url,
.crm-mock__url {
  font-family: ui-monospace, monospace;
  font-size: 0.74rem;
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  margin-left: auto;
}
.ec-mock__url { background: #e3e8ef; color: var(--ink-3); }
.pb-mock__url,
.crm-mock__url { background: rgba(255, 255, 255, 0.06); color: rgba(255,255,255,0.55); }

/* PatchBuddy mock */
.pb-mock { background: #0c1422; color: var(--white); }
.pb-mock__body {
  display: grid;
  grid-template-columns: 130px 1fr 1fr;
  flex: 1;
  min-height: 0;
}
.pb-mock__sidebar {
  background: #060c18;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.7rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.pb-mock__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.76rem;
  color: var(--white);
  margin-bottom: 0.55rem;
}
.pb-mock__bdot { width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--pink)); }
.pb-mock__nav { padding: 0.35rem 0.5rem; border-radius: 6px; font-size: 0.72rem; color: rgba(255,255,255,0.55); }
.pb-mock__nav.is-active { background: rgba(0,204,204,0.12); color: var(--white); }
.pb-mock__chat { padding: 0.7rem; display: flex; flex-direction: column; gap: 0.4rem; border-right: 1px solid rgba(255,255,255,0.05); min-width: 0; }
.pb-mock__msg { font-size: 0.7rem; padding: 0.4rem 0.6rem; border-radius: 8px; line-height: 1.4; max-width: 95%; }
.pb-mock__msg--user { align-self: flex-end; background: rgba(0,204,204,0.14); border: 1px solid rgba(0,204,204,0.26); color: var(--white); }
.pb-mock__msg--bot { font-family: ui-monospace, monospace; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.65); font-size: 0.66rem; }
.pb-mock__msg--ok { background: rgba(0,204,204,0.1); border: 1px solid rgba(0,204,204,0.4); color: var(--teal); }
.pb-mock__diagram { padding: 0.7rem; display: flex; flex-direction: column; gap: 0.3rem; align-items: stretch; justify-content: center; }
.pb-mock__shape { text-align: center; padding: 0.4rem 0.5rem; border-radius: 6px; background: rgba(0,204,204,0.1); border: 1px solid rgba(0,204,204,0.32); color: var(--white); font-size: 0.7rem; font-family: ui-monospace, monospace; }
.pb-mock__shape--branch { background: rgba(255,51,153,0.08); border-color: rgba(255,51,153,0.3); }
.pb-mock__shape--end { background: rgba(0,204,204,0.18); border-color: rgba(0,204,204,0.5); }
.pb-mock__line { height: 10px; width: 2px; background: linear-gradient(to bottom, var(--teal), transparent); margin: 0 auto; }

/* eCirql mock */
.ec-mock { background: #fff; color: var(--ink); }
.ec-mock__body { padding: 1rem 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.6rem; position: relative; }
.ec-mock__bar { position: absolute; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 2fr 1fr 1fr; height: 3px; }
.ec-mock__bar-navy { background: var(--navy); }
.ec-mock__bar-teal { background: var(--teal); }
.ec-mock__bar-pink { background: var(--pink); }
.ec-mock__eyebrow { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; color: var(--teal); margin: 0.3rem 0 0; }
.ec-mock__head { font-size: clamp(1.1rem, 1.6vw, 1.5rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; margin: 0; }
.ec-mock__head em { font-style: normal; color: var(--teal); font-weight: 500; }
.ec-mock__btns { display: flex; gap: 0.4rem; margin-top: 0.1rem; }
.ec-mock__btn { font-size: 0.68rem; padding: 0.35rem 0.7rem; border-radius: 6px; border: 1px solid var(--rule-strong); color: var(--ink); }
.ec-mock__btn--pri { background: var(--navy); color: var(--white); border-color: var(--navy); }
.ec-mock__chips { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0.3rem; padding-top: 0.5rem; border-top: 1px solid var(--rule); }
.ec-mock__chips span { font-family: ui-monospace, monospace; font-size: 0.62rem; padding: 0.24rem 0.45rem; background: var(--paper-3); border-radius: 5px; color: var(--ink-2); }

/* CRM mock */
.crm-mock { background: #001f3f; color: var(--white); }
.crm-mock__body { padding: 0.7rem 0.9rem 0.9rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; min-height: 0; }
.crm-mock__head { display: flex; align-items: center; justify-content: space-between; }
.crm-mock__title { font-weight: 700; font-size: 0.86rem; }
.crm-mock__pill { font-family: ui-monospace, monospace; font-size: 0.66rem; padding: 0.2rem 0.55rem; border-radius: 999px; background: rgba(255,51,153,0.12); border: 1px solid rgba(255,51,153,0.4); color: var(--pink); }
.crm-mock__board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; flex: 1; min-height: 0; }
.crm-col { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 7px; padding: 0.45rem; display: flex; flex-direction: column; gap: 0.3rem; }
.crm-col__h { font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0 0 0.15rem; padding-bottom: 0.25rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.crm-card { background: rgba(0,204,204,0.08); border: 1px solid rgba(0,204,204,0.25); border-radius: 5px; padding: 0.35rem 0.45rem; font-size: 0.66rem; display: flex; flex-direction: column; gap: 0.08rem; }
.crm-card em { font-style: normal; color: var(--teal); font-family: ui-monospace, monospace; font-size: 0.6rem; }
.crm-card--p { background: rgba(255,51,153,0.08); border-color: rgba(255,51,153,0.35); }
.crm-card--p em { color: var(--pink); }
.crm-card--w { background: rgba(0,204,204,0.22); border-color: rgba(0,204,204,0.55); }

/* PatchScript mock — code editor */
.ps-mock { background: #0a1626; color: var(--white); }
.ps-mock__chrome { background: #050d1a; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 0.5rem 0.85rem; display: flex; align-items: center; gap: 0.7rem; }
.ps-mock__dots { display: inline-flex; gap: 0.32rem; }
.ps-mock__dots span { width: 9px; height: 9px; border-radius: 50%; }
.ps-mock__dots span:nth-child(1) { background: #ff6961; }
.ps-mock__dots span:nth-child(2) { background: #ffd152; }
.ps-mock__dots span:nth-child(3) { background: #46d57c; }
.ps-mock__url { font-family: ui-monospace, monospace; font-size: 0.74rem; padding: 0.18rem 0.55rem; border-radius: 4px; margin-left: auto; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.55); }
.ps-mock__body { display: grid; grid-template-columns: 1.45fr 1fr; flex: 1; min-height: 0; }
.ps-mock__editor { padding: 0.7rem 0.85rem; display: flex; flex-direction: column; gap: 0.15rem; background: #0a1626; border-right: 1px solid rgba(255,255,255,0.06); overflow: hidden; font-family: ui-monospace, "JetBrains Mono", monospace; }
.ps-mock__ln { font-size: 0.68rem; line-height: 1.4; color: rgba(255,255,255,0.88); margin: 0; display: flex; gap: 0.45rem; white-space: nowrap; }
.ps-mock__ln em { font-style: normal; width: 1.2rem; text-align: right; color: rgba(255,255,255,0.3); flex-shrink: 0; }
.ps-kw { color: #c084fc; }
.ps-fn { color: var(--teal); }
.ps-arg { color: #f0a070; }
.ps-var { color: #ffd152; }
.ps-key { color: var(--pink); }
.ps-mock__panel { padding: 0.85rem; display: flex; flex-direction: column; gap: 0.55rem; background: #07101e; }
.ps-mock__h { font-family: ui-monospace, monospace; font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin: 0; }
.ps-mock__msg { font-family: var(--font); font-size: 0.76rem; color: var(--white); background: rgba(0,204,204,0.08); border: 1px solid rgba(0,204,204,0.28); border-radius: 6px; padding: 0.5rem 0.6rem; margin: 0; line-height: 1.35; }
.ps-mock__msg code { font-family: ui-monospace, monospace; font-size: 0.7rem; background: rgba(0,204,204,0.18); padding: 0.04rem 0.3rem; border-radius: 3px; color: var(--teal); }
.ps-mock__btn { font-family: var(--font); font-size: 0.7rem; font-weight: 600; padding: 0.4rem 0.65rem; border-radius: 6px; background: var(--teal); color: var(--navy); text-align: center; }

/* JSONBuddy mock — formatted JSON */
.jb-mock { background: #fbfcfd; color: var(--ink); font-family: ui-monospace, "JetBrains Mono", monospace; }
.jb-mock__chrome { background: #eef2f7; border-bottom: 1px solid rgba(0,0,0,0.06); padding: 0.5rem 0.85rem; display: flex; align-items: center; gap: 0.7rem; }
.jb-mock__dots { display: inline-flex; gap: 0.32rem; }
.jb-mock__dots span { width: 9px; height: 9px; border-radius: 50%; }
.jb-mock__dots span:nth-child(1) { background: #ff6961; }
.jb-mock__dots span:nth-child(2) { background: #ffd152; }
.jb-mock__dots span:nth-child(3) { background: #46d57c; }
.jb-mock__url { font-size: 0.74rem; padding: 0.18rem 0.55rem; border-radius: 4px; margin-left: auto; background: #fff; color: var(--ink-3); border: 1px solid rgba(0,0,0,0.05); }
.jb-mock__body { padding: 0.6rem 1rem; flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 0.02rem; font-size: 0.72rem; line-height: 1.5; }
.jb-line { margin: 0; white-space: pre-wrap; position: relative; color: var(--ink-2); padding: 0.02rem 0; border-radius: 3px; }
.jb-line--hover { background: rgba(0,204,204,0.1); }
.jb-b { color: var(--ink-3); font-weight: 700; }
.jb-k { color: var(--navy); font-weight: 600; }
.jb-v--s { color: var(--pink); }
.jb-v--n { color: var(--teal); font-weight: 600; }
.jb-tip { position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%); background: var(--navy); color: var(--white); font-family: var(--font); font-size: 0.62rem; font-weight: 600; padding: 0.18rem 0.45rem; border-radius: 4px; letter-spacing: 0.01em; }

/* ---------- Stage nav arrows ---------- */
.stage__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  transition: background 220ms var(--ease), border-color 220ms, color 220ms;
}
.stage__nav:hover {
  background: rgba(0, 204, 204, 0.18);
  border-color: var(--teal);
  color: var(--white);
}
.stage__nav--prev { left: 1.5rem; }
.stage__nav--next { right: 1.5rem; }

/* ---------- Pips ---------- */
.stage__pips {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 5;
}
.stage__pips button {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 220ms var(--ease);
}
.stage__pips button span {
  font-family: ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}
.stage__pips button:hover {
  color: var(--white);
}
.stage__pips button.is-active {
  background: rgba(0, 204, 204, 0.14);
  border-color: rgba(0, 204, 204, 0.45);
  color: var(--white);
}
.stage__pips button.is-active span {
  color: var(--teal);
}

@media (max-width: 820px) {
  .stage {
    min-height: 580px;
  }
  .card { width: 88vw; padding: 1.25rem; }
  .card[data-pos="prev"],
  .card[data-pos="next"] { display: none; }
  .stage__nav { width: 42px; height: 42px; }
  .stage__nav--prev { left: 0.5rem; }
  .stage__nav--next { right: 0.5rem; }
}

/* ==========================================================================
   ============ ABOUT ============
   ========================================================================== */
.about {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: var(--paper);
}
.about__quote {
  font-size: clamp(2.5rem, 5.2vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0 0 3rem;
  max-width: 18ch;
}
.about__quote-accent {
  color: var(--teal);
  font-weight: 500;
}
.about__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 920px;
  font-size: 1.08rem;
  color: var(--ink-2);
}
.about__cols p {
  line-height: 1.6;
}
@media (max-width: 720px) {
  .about__cols {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.bignum {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}
.bignum li {
  padding: 1.5rem 0.5rem 0;
  border-right: 1px solid var(--rule);
}
.bignum li:last-child {
  border-right: 0;
}
.bignum strong {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.bignum span {
  display: block;
  margin-top: 0.6rem;
  color: var(--ink-3);
  font-size: 0.95rem;
}
@media (max-width: 720px) {
  .bignum {
    grid-template-columns: repeat(2, 1fr);
  }
  .bignum li {
    padding: 1rem 0.5rem;
    border-bottom: 1px solid var(--rule);
  }
  .bignum li:nth-child(even) {
    border-right: 0;
  }
}

/* ==========================================================================
   ============ PRODUCTS — bento with brand-bar tops ============
   ========================================================================== */
.products {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: var(--paper-2);
}
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.bento__item--ps,
.bento__item--jb {
  grid-column: span 1;
}
.bento__item--pb {
  grid-column: span 2;
}
@media (max-width: 1100px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento__item--pb { grid-column: span 2; }
}
@media (max-width: 720px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .bento__item--pb { grid-column: span 1; }
}
.bento__item {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  overflow: hidden;
  transition: border-color 220ms var(--ease), transform 220ms,
    box-shadow 240ms var(--ease);
}
.bento__item:hover {
  border-color: var(--rule-strong);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(0, 26, 51, 0.2);
}
.bento__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}
.bento__item--pb .bento__bar {
  background: var(--teal);
}
.bento__item--ec .bento__bar {
  background: linear-gradient(
    to right,
    var(--navy) 0 50%,
    var(--teal) 50% 75%,
    var(--pink) 75% 100%
  );
}
.bento__item--crm .bento__bar {
  background: var(--crm-purple);
}
.bento__item--ps .bento__bar {
  background: var(--teal);
}
.bento__item--jb .bento__bar {
  background: linear-gradient(to right, var(--navy), var(--teal));
}
.bento__tag {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  margin: 0;
}
.bento__wm {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0;
  line-height: 1;
}
.bento__item--pb .bento__wm span:nth-child(1) { color: var(--navy); }
.bento__item--pb .bento__wm span:nth-child(2) { color: var(--teal); }
.bento__item--pb .bento__wm-dot { color: var(--pink); }
.bento__item--pb .bento__wm-suf { color: var(--navy); font-weight: 300; font-size: 0.7em; }
.bento__item--ec .bento__wm-e { color: var(--teal); font-weight: 800; }
.bento__item--ec .bento__wm span:nth-child(2) { color: var(--navy); }
.bento__item--crm .bento__wm span:nth-child(1) { color: var(--navy); }
.bento__item--crm .bento__wm-crm { color: var(--crm-purple); }
.bento__item--ps .bento__wm span:nth-child(1) { color: var(--navy); }
.bento__item--ps .bento__wm-script { color: var(--navy); }
.bento__item--jb .bento__wm--mono {
  font-family: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;
  letter-spacing: -0.02em;
}
.bento__item--jb .bento__wm span:nth-child(1) { color: var(--navy); }
.bento__item--jb .bento__wm-buddy { color: var(--navy); }

.bento__item h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.bento__copy {
  color: var(--ink-2);
  font-size: 0.96rem;
}
.bento__link {
  margin-top: auto;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.96rem;
  display: inline-flex;
  gap: 0.4rem;
  transition: gap 200ms var(--ease);
}
.bento__link:hover {
  gap: 0.7rem;
}

/* ==========================================================================
   ============ R&D — numbered list ============
   ========================================================================== */
.rnd {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: var(--paper);
}
.rnd-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}
@media (max-width: 720px) {
  .rnd-list {
    grid-template-columns: 1fr;
  }
}
.rnd-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--rule);
}
.rnd-list li:nth-child(odd) {
  border-right: 1px solid var(--rule);
  padding-right: 2rem;
}
.rnd-list li:nth-child(even) {
  padding-left: 2rem;
}
@media (max-width: 720px) {
  .rnd-list li:nth-child(odd) {
    border-right: 0;
    padding-right: 0;
  }
  .rnd-list li:nth-child(even) {
    padding-left: 0;
  }
}
.rnd-list__num {
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  padding-top: 0.15rem;
}
.rnd-list h3 {
  font-size: 1.3rem;
  margin: 0.4rem 0 0.5rem;
  letter-spacing: -0.02em;
}
.rnd-list p {
  color: var(--ink-2);
  font-size: 0.98rem;
}
.rnd-list__status {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.rnd-list__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.rnd-list__status--active {
  color: var(--teal);
  background: rgba(0, 204, 204, 0.1);
}
.rnd-list__status--exploring {
  color: var(--pink);
  background: rgba(255, 51, 153, 0.08);
}
.rnd-list__status--shipped {
  color: var(--ink-3);
  background: var(--paper-3);
}

/* ==========================================================================
   ============ INVEST — dark slab ============
   ========================================================================== */
.invest {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.invest::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--navy) 0 50%,
    var(--teal) 50% 75%,
    var(--pink) 75% 100%
  );
}
.invest::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 900px 500px at 90% 100%,
      rgba(255, 51, 153, 0.1),
      transparent 60%
    );
  pointer-events: none;
}
.invest__inner {
  position: relative;
  z-index: 1;
}
.invest h2 {
  color: var(--white);
  max-width: 20ch;
}
.invest__lede {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 56ch;
}
.invest-pillars {
  margin: 3.5rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 800px) {
  .invest-pillars {
    grid-template-columns: 1fr;
  }
}
.invest-pillars li {
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.invest-pillars li:last-child {
  border-right: 0;
}
@media (max-width: 800px) {
  .invest-pillars li {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .invest-pillars li:last-child {
    border-bottom: 0;
  }
}
.invest-pillars__num {
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  color: var(--pink);
  letter-spacing: 0.1em;
}
.invest-pillars h4 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.invest-pillars p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.98rem;
  line-height: 1.55;
}
.invest__cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   ============ PARTNERS — marquee ============
   ========================================================================== */
.partners {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--paper);
  overflow: hidden;
}
.marquee {
  overflow: hidden;
  position: relative;
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  padding-right: 2.5rem;
}
.marquee__track:hover {
  animation-play-state: paused;
}
.marquee__track span:not(.marquee__sep) {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.marquee__sep {
  color: var(--pink);
  font-size: 0.7rem;
  opacity: 0.7;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   ============ CONTACT — big closing ============
   ========================================================================== */
.contact {
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(6rem, 10vw, 9rem);
  background: var(--paper);
  position: relative;
}
.contact__head {
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 1rem;
  max-width: 22ch;
}
.contact__head em {
  font-style: normal;
  color: var(--teal);
  font-weight: 500;
}
.contact__head em:nth-of-type(2) {
  color: var(--pink);
}
.contact__head em:nth-of-type(3) {
  color: var(--navy);
}
.contact__lede {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink-2);
  margin: 0 0 3rem;
}
.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 720px) {
  .contact-methods {
    grid-template-columns: 1fr;
  }
}
.contact-methods li {
  padding: 1.75rem 1rem 1.75rem 0;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  padding-right: 1.5rem;
}
.contact-methods li:last-child {
  border-right: 0;
}
.contact-methods li:nth-child(2),
.contact-methods li:nth-child(3) {
  padding-left: 1.5rem;
}
.contact-methods__label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
  margin: 0 0 0.4rem;
}
.contact-methods a {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.015em;
  transition: color 200ms;
}
.contact-methods a:hover {
  color: var(--teal);
}

/* ==========================================================================
   ============ FOOTER ============
   ========================================================================== */
.footer {
  background: var(--stage-bg);
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--navy) 0 50%,
    var(--teal) 50% 75%,
    var(--pink) 75% 100%
  );
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem 3rem;
  align-items: start;
}
@media (max-width: 720px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }
}
.footer__brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.footer__wm {
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 300;
  letter-spacing: -0.015em;
}
.footer__wm strong {
  font-weight: 800;
}
.footer__company {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}
.footer__company p { margin: 0; }
.footer__company strong {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 540px) {
  .footer__cols {
    grid-template-columns: 1fr 1fr;
  }
}
.footer__cols div {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer__h {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 700;
  margin: 0 0 0.3rem;
}
.footer__cols a,
.footer__cookie-btn {
  color: rgba(255, 255, 255, 0.78);
  transition: color 180ms;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.footer__cols a:hover,
.footer__cookie-btn:hover {
  color: var(--teal);
}

/* ==========================================================================
   ============ CONTACT DRAWER ============
   ========================================================================== */
body.drawer-open { overflow: hidden; }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
}
.drawer[hidden] { display: none; }

.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 16, 36, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 220ms var(--ease);
  cursor: pointer;
}
.drawer--open .drawer__overlay { opacity: 1; }

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(520px, 100vw);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -30px 0 80px -30px rgba(0, 0, 0, 0.55);
}
.drawer--open .drawer__panel { transform: translateX(0); }
.drawer__panel::before {
  content: "";
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--navy) 0 50%,
    var(--teal) 50% 75%,
    var(--pink) 75% 100%
  );
  margin-bottom: -4px;
  z-index: 2;
}

.drawer__header {
  padding: clamp(1.5rem, 2.5vw, 2.25rem) clamp(1.5rem, 3vw, 2.25rem) clamp(0.75rem, 1.2vw, 1rem);
  position: relative;
}
.drawer__eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.75rem;
}
.drawer__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--navy);
  margin: 0 0 0.85rem;
}
.drawer__tag {
  font-size: 0.98rem;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
}
.drawer__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: 1.4rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 1px solid var(--rule);
  transition: background 180ms var(--ease), color 180ms, border-color 180ms;
}
.drawer__close:hover {
  background: var(--paper-3);
  color: var(--ink);
  border-color: var(--rule-strong);
}

.drawer .contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding: clamp(0.5rem, 1.2vw, 1rem) clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.25rem);
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

@media (max-width: 600px) {
  .drawer__panel {
    width: 100vw;
    top: auto;
    bottom: 0;
    max-height: 92vh;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    transform: translateY(100%);
  }
  .drawer--open .drawer__panel { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .drawer__panel,
  .drawer__overlay { transition: none; }
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 620px) {
  .contact-form__row { grid-template-columns: 1fr; }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.field__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field input,
.field textarea {
  font-family: var(--font);
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  width: 100%;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 204, 204, 0.18);
}
.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--pink);
}
.contact-form__legal {
  font-size: 0.85rem;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.5;
}
.contact-form__legal a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.contact-form__legal a:hover { color: var(--navy); }
.contact-form__turnstile:empty { display: none; }
.contact-form__turnstile {
  display: flex;
  justify-content: flex-start;
  min-height: 0;
}
.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-form__submit {
  position: relative;
  min-width: 180px;
}
.contact-form__submit[data-loading="1"] .contact-form__submit-label { visibility: hidden; }
.contact-form__submit-spin {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 51, 102, 0.3);
  border-top-color: var(--navy);
  border-radius: 50%;
  margin: -9px 0 0 -9px;
  animation: contact-spin 700ms linear infinite;
}
.contact-form__submit[data-loading="1"] .contact-form__submit-spin { display: block; }
@keyframes contact-spin { to { transform: rotate(360deg); } }
.contact-form__status {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}
.contact-form__status[data-tone="ok"] { color: #2e7d32; }
.contact-form__status[data-tone="err"] { color: var(--pink); }

/* ==========================================================================
   ============ ABOUT PAGE ============
   ========================================================================== */
.about-section {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}
.about-section--alt {
  background: var(--paper-2);
}
.about-section .container--narrow {
  max-width: 800px;
}
.about-section h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 1.25rem;
  max-width: 22ch;
}
.about-section p {
  color: var(--ink-2);
  font-size: 1.08rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}
.about-section p:last-child { margin-bottom: 0; }
.about-section p a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  font-weight: 600;
  transition: color 200ms var(--ease);
}
.about-section p a:hover {
  color: var(--navy);
}

.about-list {
  list-style: none;
  margin: 1rem 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 1.02rem;
}
.about-list li {
  padding: 0.85rem 1rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  line-height: 1.5;
}
.about-section--alt .about-list li {
  background: var(--white);
}
.about-list a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
  transition: border-color 180ms var(--ease);
}
.about-list a:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.about-list strong {
  color: var(--navy);
  font-weight: 700;
}

.about-beliefs {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.about-beliefs .sec-head {
  margin-bottom: clamp(2.5rem, 4.5vw, 3.5rem);
  max-width: 720px;
  text-align: left;
}
.belief-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 720px) {
  .belief-list { grid-template-columns: 1fr; }
}
.belief-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  transition: border-color 220ms var(--ease), transform 200ms var(--ease);
}
.belief-list li:hover {
  border-color: var(--rule-strong);
  transform: translateY(-2px);
}
.belief-list__num {
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal);
  padding-top: 0.2rem;
}
.belief-list h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin: 0 0 0.45rem;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.belief-list p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ==========================================================================
   ============ COOKIE BANNER ============
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: min(680px, calc(100vw - 2rem));
  background: var(--ink);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6),
    0 8px 22px -8px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  animation: cookie-rise 380ms var(--ease);
}
.cookie-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--navy) 0 50%,
    var(--teal) 50% 75%,
    var(--pink) 75% 100%
  );
}
@keyframes cookie-rise {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}
@media (max-width: 540px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr;
  }
}
.cookie-banner__copy {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.cookie-banner__title {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  margin: 0;
}
.cookie-banner__body {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}
.cookie-banner__body a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.cookie-banner__body a:hover { color: var(--white); }
.cookie-banner__actions {
  display: flex;
}
.cookie-banner__accept {
  white-space: nowrap;
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
}

/* ==========================================================================
   ============ LEGAL PAGES ============
   ========================================================================== */
.legal-page {
  background: var(--paper);
  color: var(--ink);
  min-height: calc(100vh - var(--bar-h));
}
.legal-page .product-nav {
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.legal-page .product-nav__back {
  color: var(--ink-2);
}
.legal-page .product-nav__back:hover { color: var(--ink); }
.legal-page .product-nav__home {
  color: var(--ink);
}
.legal-page .product-nav__home em {
  color: var(--teal);
}
.legal-hero {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 4vw, 3rem);
  max-width: 920px;
  margin: 0 auto;
}
.legal-hero__crumb {
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin: 0 0 1.25rem;
}
.legal-hero__crumb a { color: var(--ink-2); }
.legal-hero__crumb a:hover { color: var(--teal); }
.legal-hero__crumb span { margin: 0 0.4rem; color: var(--rule-strong); }
.legal-hero__eyebrow {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 0.6rem;
}
.legal-hero__title {
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 1.5rem;
  color: var(--navy);
}
.legal-hero__lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  max-width: 56ch;
}
.legal-hero__lead strong { color: var(--navy); }

.legal-prose {
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) clamp(4rem, 7vw, 6rem);
  max-width: 920px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
}
.legal-prose h2 {
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.015em;
}
.legal-prose h2:first-child {
  margin-top: 0.5rem;
  padding-top: 0;
  border-top: 0;
}
.legal-prose p { margin: 0 0 1rem; }
.legal-prose ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.legal-prose li {
  margin: 0 0 0.5rem;
  padding-left: 0.25rem;
}
.legal-prose li::marker { color: var(--teal); }
.legal-prose strong { color: var(--navy); font-weight: 600; }
.legal-prose a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.legal-prose a:hover { color: var(--navy); }
.legal-prose code {
  background: var(--paper-3);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.92em;
  font-family: ui-monospace, monospace;
}
.legal-prose__btn-inline {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.legal-prose__btn-inline:hover { color: var(--navy); }
.legal-table-wrap { overflow-x: auto; margin: 1rem 0; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.legal-table th, .legal-table td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.legal-table th {
  background: var(--paper-2);
  font-weight: 700;
  color: var(--navy);
}
.legal-table code {
  background: var(--paper-3);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.88em;
  font-family: ui-monospace, monospace;
}

/* ==========================================================================
   ============ PRODUCT DETAIL PAGES ============
   ========================================================================== */
.product-page {
  background: var(--stage-bg);
  color: var(--white);
  min-height: calc(100vh - var(--bar-h));
  position: relative;
  overflow: hidden;
}
.product-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 1100px 600px at 50% -10%, rgba(0, 204, 204, 0.1), transparent 60%),
    radial-gradient(ellipse 800px 500px at 10% 100%, rgba(255, 51, 153, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.product-nav {
  position: relative;
  z-index: 2;
  padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-nav__back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 200ms var(--ease), gap 200ms var(--ease);
}
.product-nav__back:hover {
  color: var(--white);
  gap: 0.85rem;
}
.product-nav__home {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
  font-family: var(--font);
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.product-nav__home strong { font-weight: 800; }
.product-nav__home em { font-style: normal; color: var(--teal); font-weight: 300; }

.product-hero {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}
.product-hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin: 0;
}
.product-hero__mark {
  margin: 0.5rem 0;
}
.product-hero__mark img,
.product-hero__mark svg {
  height: clamp(72px, 9vw, 110px);
  width: auto;
}
.product-hero__title {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0;
  color: var(--white);
}
.product-hero__tag {
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 56ch;
  line-height: 1.5;
  margin: 0;
}
.product-hero__ctas {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.product-body {
  position: relative;
  z-index: 1;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(4rem, 7vw, 6rem) 0;
}
.product-body .container { max-width: 920px; }
.product-body h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0 0 1rem;
  letter-spacing: -0.025em;
}
.product-body h3 {
  margin: 2.5rem 0 1rem;
}
.product-body p {
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.product-features {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 720px) {
  .product-features { grid-template-columns: 1fr; }
}
.product-features li {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}
.product-features h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}
.product-features p {
  font-size: 0.95rem;
  margin: 0;
}

.product-shot {
  margin: 2.5rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: 0 30px 80px -40px rgba(0, 26, 51, 0.4);
}
.product-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.product-cta {
  background: var(--ink);
  color: var(--white);
  padding: clamp(4rem, 7vw, 6rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.product-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--navy) 0 50%,
    var(--teal) 50% 75%,
    var(--pink) 75% 100%
  );
}
.product-cta h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0 0 1.25rem;
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
}
.product-cta__buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
