/* ==========================================================================
   CommonCircuits — landing page
   Black/white academic aesthetic with a single blue accent reserved for
   inline emphasis. No italics, no decorative motion. Structured grid,
   generous whitespace, mono labels, weight contrast for emphasis.
   ========================================================================== */

:root {
  --bg: #ffffff;        /* white */
  --bg-alt: #f6f7f9;    /* very light cool gray */
  --surface: #ffffff;
  --ink: #0a0a0a;       /* near-black, cool */
  --ink-2: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --line-soft: #eef0f3;

  /* blue accent — used sparingly for inline emphasis only */
  --blue: #1d4ed8;
  --blue-ink: #1e40af;

  /* legacy accent slots, retargeted to the monochrome palette so the
     existing rule set keeps working. */
  --accent: var(--ink);
  --accent-ink: var(--ink);
  --accent-soft: var(--bg-alt);

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);

  --radius: 0;
  --radius-sm: 2px;

  --t-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --t-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;

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

@media (prefers-color-scheme: dark) {
  :root {
    /* keep light: AI lab pages are intentionally light. */
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--t-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

::selection { background: var(--blue); color: #fff; }

.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--bg);
  z-index: 100;
  font-family: var(--t-mono);
  font-size: 12px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--t-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ==========================================================================
   NAV
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand__mark {
  color: var(--ink);
}

.brand__name {
  font-family: var(--t-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 13px;
  color: var(--ink-2);
}
.nav__links a { position: relative; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__meta {
  justify-self: end;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  text-transform: uppercase;
}
.badge--inline { padding: 4px 8px; font-size: 10px; }
.badge__dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 0;
}

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: auto 1fr; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn--primary svg path { stroke: currentColor; }
.btn--lg { padding: 14px 22px; font-size: 15px; }

/* ==========================================================================
   HERO — single centered stage, image as backdrop with content overlaid
   inside the empty middle of the device ring.
   ========================================================================== */

.hero {
  position: relative;
  padding: clamp(32px, 4vw, 56px) var(--gutter);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: center;
}

.hero__stage {
  position: relative;
  width: 100%;
  max-width: min(96vh, 1200px);
  aspect-ratio: 1 / 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  /* inscribed in the inner empty area of the device ring; the ring is
     slightly oblong (phone/drone protrude vertically), so we use slightly
     larger top/bottom inset than left/right. */
  inset: 30% 25%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(6px, 0.8vw, 12px);
  pointer-events: none;
}
.hero__overlay > * { pointer-events: auto; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
}
.kicker__index {
  font-family: var(--t-mono);
  font-size: clamp(8px, 0.65vw, 10px);
  letter-spacing: 0.14em;
  color: var(--blue);
  border: 1px solid var(--blue);
  padding: 2px 6px;
  background: var(--bg);
}
.kicker__label {
  font-family: var(--t-mono);
  font-size: clamp(8px, 0.65vw, 10px);
  letter-spacing: 0.14em;
  color: var(--ink-2);
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  font-family: var(--t-sans);
  font-weight: 500;
  font-size: clamp(15px, 1.85vw, 24px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 18ch;
}
.hero__title-line { display: block; }
.hero__title-line--accent {
  font-weight: 400;
  color: var(--ink-2);
}

.hero__sub {
  margin: 0;
  font-size: clamp(10px, 0.85vw, 13px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 34ch;
}

.hero__cta {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 6px;
  margin: clamp(2px, 0.4vw, 6px) 0;
}
.hero__cta .btn {
  padding: 7px 11px;
  font-size: clamp(10px, 0.82vw, 12px);
  white-space: nowrap;
  gap: 6px;
}
.hero__cta .btn svg { width: 12px; height: 12px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 1vw, 14px);
  margin: 0;
  padding-top: clamp(6px, 0.7vw, 10px);
  border-top: 1px solid var(--line);
  width: min(100%, 320px);
  background: var(--bg);
}
.hero__stats > div { margin: 0; }
.hero__stats dt {
  font-family: var(--t-mono);
  font-size: clamp(7px, 0.6vw, 9px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
  white-space: nowrap;
}
.hero__stats dd {
  margin: 0;
  font-family: var(--t-sans);
  font-weight: 500;
  font-size: clamp(11px, 0.95vw, 14px);
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}

/* Narrow viewports — drop the inscribed-overlay model and stack the
   image above normal-flow hero content. Below ~720px the inner ring is
   too small to host text and stay readable. */
@media (max-width: 720px) {
  .hero {
    padding: clamp(28px, 6vw, 48px) var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: clamp(24px, 5vw, 40px);
  }
  .hero__stage {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 5vw, 32px);
    aspect-ratio: auto;
    max-width: 100%;
  }
  .hero__bg {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .hero__overlay {
    position: static;
    inset: auto;
    text-align: left;
    align-items: flex-start;
    gap: 18px;
    max-width: 60ch;
    margin: 0 auto;
  }
  .hero__title {
    max-width: none;
    font-size: clamp(28px, 7.5vw, 40px);
  }
  .hero__sub {
    max-width: none;
    font-size: 16px;
    line-height: 1.55;
  }
  .hero__cta {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .hero__cta .btn {
    padding: 12px 18px;
    font-size: 14px;
  }
  .hero__cta .btn svg { width: 14px; height: 14px; }
  .hero__stats {
    width: 100%;
    max-width: 480px;
    gap: 20px;
  }
  .hero__stats dt { font-size: 11px; }
  .hero__stats dd { font-size: 20px; }
}

/* ==========================================================================
   GENERIC SECTION
   ========================================================================== */

.section {
  padding: clamp(56px, 9vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}
.section--alt { background: var(--bg-alt); }

.section__head {
  margin-bottom: 56px;
  max-width: 720px;
}
.section__head--row {
  display: grid;
  grid-template-columns: 90px minmax(220px, auto) 1fr;
  align-items: baseline;
  gap: 24px 32px;
  max-width: none;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) {
  .section__head--row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.section__index {
  color: var(--muted);
}
.section__title {
  margin: 0;
  font-family: var(--t-sans);
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.section__lead {
  margin: 0;
  font-family: var(--t-sans);
  font-weight: 400;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
  justify-self: end;
}
@media (max-width: 760px) {
  .section__lead { justify-self: start; }
}

/* ==========================================================================
   PROSE
   ========================================================================== */

.prose { max-width: 62ch; }
.prose p { margin: 0 0 18px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.prose .lede { font-size: 21px; line-height: 1.45; color: var(--ink); margin-bottom: 22px; }
.prose__emph {
  font-weight: 600;
  color: var(--blue);
}
.prose--wide { max-width: 84ch; margin-block: 0 36px; }
.prose--muted p { color: var(--muted); }

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 64px;
}
@media (max-width: 820px) {
  .intro__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   I/O TABLE
   ========================================================================== */

.iotable {
  margin-top: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.iotable__head,
.iotable__row {
  display: grid;
  grid-template-columns: 1fr 80px 1.2fr;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.iotable__head {
  background: var(--bg-alt);
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.iotable__row:last-child { border-bottom: none; }
.iotable__row {
  font-size: 15px;
  transition: background 0.2s var(--ease);
}
.iotable__row:hover { background: var(--bg); }
.iotable__arrow {
  text-align: center;
  font-family: var(--t-mono);
  color: var(--muted);
  font-size: 16px;
}
.iotable code {
  font-family: var(--t-mono);
  font-size: 13px;
  background: var(--bg-alt);
  padding: 1px 6px;
}
@media (max-width: 720px) {
  .iotable__head, .iotable__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 18px;
  }
  .iotable__arrow { display: none; }
  .iotable__head { display: none; }
  .iotable__row > div:first-child {
    font-family: var(--t-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
  }
}

/* ==========================================================================
   CODE BLOCK
   ========================================================================== */

.block { margin-top: 56px; }
.block__caption {
  color: var(--muted);
  margin: 0 0 12px;
}
.codeblock {
  margin: 0;
  padding: 24px 28px;
  background: var(--ink);
  color: #e5e7eb;
  font-family: var(--t-mono);
  font-size: 13.5px;
  line-height: 1.7;
  overflow-x: auto;
  border: 1px solid var(--ink);
}

/* ==========================================================================
   FLOW (why-now)
   ========================================================================== */

.flow {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 48px;
}
.flow__node {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 140px;
}
.flow__node--end {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.flow__tag {
  font-family: var(--t-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}
.flow__node--end .flow__tag { color: var(--bg-alt); }
.flow__name {
  font-family: var(--t-sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.flow__arrow {
  align-self: center;
  font-family: var(--t-mono);
  color: var(--ink);
  font-size: 20px;
}
@media (max-width: 760px) {
  .flow {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .flow__arrow { transform: rotate(90deg); justify-self: center; }
}

/* ==========================================================================
   STATS
   ========================================================================== */

.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--surface);
}
.stats__item {
  padding: 28px 22px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stats__item:last-child { border-right: none; }
.stats__item--accent {
  background: var(--ink);
  color: var(--bg);
}
.stats__item--accent .stats__num,
.stats__item--accent .stats__label,
.stats__item--accent .stats__desc { color: var(--bg); }
.stats__item--accent .stats__num span { color: var(--bg-alt); }
.stats__item--accent .stats__label { color: var(--bg-alt); }

.stats__num {
  margin: 0;
  font-family: var(--t-sans);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stats__num span {
  color: var(--muted);
  font-size: 0.7em;
  font-weight: 400;
  margin-left: 2px;
}
.stats__label {
  margin: 0;
  color: var(--muted);
}
.stats__desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
}
@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__item { border-right: none; border-bottom: 1px solid var(--line); }
  .stats__item:nth-child(odd) { border-right: 1px solid var(--line); }
  .stats__item:last-child { border-bottom: none; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .stats__item { border-right: none !important; }
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}
.card {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  position: relative;
  transition: background 0.25s var(--ease);
}
.card:hover { background: var(--bg-alt); }
.card:nth-child(4) { border-right: none; }
.card--wide {
  grid-column: 1 / -1;
  border-right: none;
  border-bottom: none;
  background: var(--bg-alt);
}
.card--wide .card__body { max-width: 60ch; }
.card__index {
  color: var(--muted);
}
.card__title {
  margin: 0;
  font-family: var(--t-sans);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.card__body {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { border-right: 1px solid var(--line); }
  .card:nth-child(2n) { border-right: none; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .card { border-right: none; }
}

/* ==========================================================================
   DEDUP
   ========================================================================== */

.dedup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}
.dedup__col {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
}
.dedup__col:last-child { border-right: none; }
.dedup__label { color: var(--muted); margin-bottom: 14px; }
.dedup__title {
  margin: 0 0 22px;
  font-family: var(--t-sans);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-family: var(--t-mono);
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.ticks li {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: baseline;
}
.tick {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 760px) {
  .dedup { grid-template-columns: 1fr; }
  .dedup__col { border-right: none; border-bottom: 1px solid var(--line); }
  .dedup__col:last-child { border-bottom: none; }
}

/* ==========================================================================
   PIPELINE
   ========================================================================== */

.pipeline {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--surface);
}
.pipeline li {
  padding: 22px 14px;
  border-right: 1px solid var(--line);
  font-family: var(--t-sans);
  font-size: 14px;
  color: var(--ink);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: background 0.25s var(--ease);
}
.pipeline li:last-child { border-right: none; }
.pipeline li:hover { background: var(--bg-alt); }
.pipeline__step {
  color: var(--muted);
}
@media (max-width: 1000px) {
  .pipeline { grid-template-columns: repeat(3, 1fr); }
  .pipeline li {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .pipeline li:nth-child(3n) { border-right: none; }
  .pipeline li:nth-last-child(-n+3) { border-bottom: none; }
}
@media (max-width: 520px) {
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipeline li:nth-child(3n) { border-right: 1px solid var(--line); }
  .pipeline li:nth-child(2n) { border-right: none; }
  .pipeline li:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .pipeline li:nth-last-child(-n+2) { border-bottom: none; }
}

.pullquote {
  margin: 0;
  padding: 36px 0 0;
  border-top: 1px solid var(--line);
  max-width: 76ch;
}
.pullquote p {
  margin: 0;
  font-family: var(--t-sans);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.pullquote__hl {
  color: var(--ink);
  font-weight: 600;
}

/* ==========================================================================
   POSITIONING
   ========================================================================== */

.section--positioning {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(64px, 10vw, 140px) 0;
  border-bottom: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.section--positioning::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.positioning__kicker {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.55);
  position: relative;
}
.positioning__line {
  position: relative;
  margin: 0 0 24px;
  font-family: var(--t-sans);
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 22ch;
  color: var(--bg);
}
.positioning__hl {
  font-weight: 600;
  color: var(--bg);
}
.positioning__sub {
  position: relative;
  margin: 0;
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

/* ==========================================================================
   ASK
   ========================================================================== */

.ask__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 64px;
  align-items: start;
}
@media (max-width: 880px) {
  .ask__grid { grid-template-columns: 1fr; gap: 32px; }
}

.ask__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  grid-column: 2;
}
@media (max-width: 880px) {
  .ask__list { grid-column: 1; }
}
.ask__list li {
  padding: 18px 24px;
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink-2);
  transition: background 0.2s var(--ease);
}
.ask__list li:last-child { border-bottom: none; }
.ask__list li:hover { background: var(--bg-alt); color: var(--ink); }
.ask__tag {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 3px 8px;
  text-align: center;
  justify-self: start;
}

.ask__cta {
  grid-column: 2;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
@media (max-width: 880px) { .ask__cta { grid-column: 1; } }
.ask__note {
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}

/* ==========================================================================
   PITCH STRIP
   ========================================================================== */

.pitch {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.pitch__label {
  margin: 0 0 16px;
  color: var(--muted);
}
.pitch__line {
  margin: 0;
  max-width: 32ch;
  font-family: var(--t-sans);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.pitch__hl {
  font-weight: 600;
  color: var(--blue);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.foot {
  background: var(--bg);
  padding: 56px 0 28px;
}
.foot__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
  padding-block: 0;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.foot__brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.foot__sub { color: var(--muted); }
.foot__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.foot__head {
  margin: 0 0 14px;
  color: var(--muted);
}
.foot__cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.foot__cols a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot__small { color: var(--muted); }
.foot__base {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 760px) {
  .foot__inner { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   ENTRANCE ANIMATION (intersection-observer driven)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}
