/* shipreel — launch site */

:root {
  --hue: 35;

  --hero-bg: oklch(64% 0.22 var(--hue));
  --hero-ink: oklch(16% 0.06 var(--hue));
  /* 23%, not 28%: at 28% the 13-20px text on orange measures 4.01:1, under the 4.5 floor. */
  --hero-ink-soft: oklch(23% 0.06 var(--hue));
  --hero-tint: oklch(96% 0.02 var(--hue));

  --dark-bg: oklch(14% 0.03 var(--hue));
  --dark-bg-elev: oklch(18% 0.04 var(--hue));
  --dark-ink: oklch(96% 0.02 var(--hue));
  --dark-ink-soft: oklch(72% 0.04 var(--hue));
  --dark-rule: oklch(26% 0.03 var(--hue));
  --dark-accent: oklch(72% 0.22 var(--hue));

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --max-line: 64ch;
  --max-page: 1480px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { color-scheme: light dark; }
body {
  font-family: var(--font-body);
  font-feature-settings: "ss01", "ss03", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.4;
  background: var(--hero-bg);
  color: var(--hero-ink);
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: var(--hero-ink);
  color: var(--hero-tint);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 13px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

/* === Hero === */
.hero {
  min-height: 100svh;
  background: var(--hero-bg);
  color: var(--hero-ink);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(20px, 3vw, 40px);
  gap: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}

.topbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: -0.005em;
  z-index: 2;
}
.topbar .mark {
  font-weight: 700;
  letter-spacing: -0.01em;
}
.topbar nav { display: flex; gap: 22px; }
.topbar nav a {
  color: var(--hero-ink);
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 180ms var(--ease-out);
}
.topbar nav a:hover,
.topbar nav a:focus-visible { opacity: 1; }
.topbar nav a:focus-visible { outline: 2px solid var(--hero-ink); outline-offset: 4px; border-radius: 3px; }

.hero-main {
  align-self: center;
  max-width: var(--max-page);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 22vw, 320px);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-main {
    grid-template-columns: 1fr;
    gap: clamp(28px, 6vw, 48px);
  }
}
.hero-body { min-width: 0; }
.hero-headline {
  /* Sized so "you shipped it." stays on one line in the hero column (662px per 100px of type). */
  font-size: clamp(50px, 9.5vw, 137px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 900;
  margin: 0;
  text-transform: lowercase;
}
.hero-headline .emph {
  font-style: italic;
  background: var(--hero-ink);
  color: var(--hero-bg);
  /* inline-block with its own tight line-height keeps the plate hugging the words, so the
     descenders on the line above ("shipped") never sit inside it. */
  display: inline-block;
  line-height: 0.82;
  padding: 0.1em 0.06em 0.06em;
}
.hero-sub {
  margin: clamp(28px, 3vw, 44px) 0 0;
  max-width: 38ch;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--hero-ink-soft);
}
.hero-sub strong { color: var(--hero-ink); font-weight: 600; }

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  z-index: 2;
}
.install {
  font-family: "Geist Mono", ui-monospace, monospace;
  background: var(--hero-ink);
  color: var(--hero-tint);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  font-size: clamp(13px, 1.15vw, 16px);
  line-height: 1.7;
  display: inline-grid;
  gap: 4px;
  margin: 0;
  position: relative;
  max-width: 100%;
  grid-template-columns: minmax(0, 1fr);
}
/* The <code> scrolls, not the <pre> — so the copy button stays glued to the frame. */
.install code {
  display: block;
  min-width: 0;
  overflow-x: auto;
}
.install .prompt { color: oklch(72% 0.18 var(--hue)); }
.install .copy {
  position: absolute;
  top: 10px;
  right: 10px;
  background: oklch(28% 0.06 var(--hue));
  color: var(--hero-tint);
  border: none;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 180ms var(--ease-out), background 180ms var(--ease-out);
}
.install .copy:hover,
.install .copy:focus-visible { opacity: 1; background: oklch(38% 0.08 var(--hue)); outline: none; }
.install .copy[data-state="copied"] { background: oklch(58% 0.18 145); color: oklch(15% 0.05 145); }

.install-stack {
  display: grid;
  gap: 8px;
  justify-items: start;
  min-width: 0;
  max-width: 100%;
}
.install-label {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hero-ink-soft);
  margin-top: 2px;
}
.install-stack .install-label:first-child { margin-top: 0; }

.hero-meta {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  text-align: right;
  letter-spacing: -0.005em;
  color: var(--hero-ink-soft);
  max-width: 36ch;
  justify-self: end;
  line-height: 1.5;
}
.hero-meta .dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--hero-ink);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
  animation: pulse 2.4s infinite ease-in-out;
}
@keyframes pulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Hero video slot — the video shipreel made about itself (made by /shipreel itself) */
.hero-video {
  position: relative;
  aspect-ratio: 9 / 16;
  width: 100%;
  border-radius: var(--radius-md);
  background: var(--hero-ink);
  color: var(--hero-tint);
  transform: rotate(2.5deg);
  box-shadow: 0 30px 80px -20px oklch(20% 0.08 var(--hue) / 0.45);
  overflow: hidden;
  justify-self: end;
}
.hero-video-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Video controls, lower-right of the hero tile */
.hero-controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-control {
  display: inline-flex;
  align-items: center;
  background: oklch(15% 0.05 var(--hue) / 0.78);
  backdrop-filter: blur(8px);
  color: var(--hero-tint);
  border: 1px solid oklch(96% 0.02 var(--hue) / 0.18);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 220ms var(--ease-out), background 220ms var(--ease-out);
}
.hero-mute {
  gap: 8px;
  border-radius: 999px;
  padding: 8px 14px 8px 10px;
}
.hero-playback {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
}
.hero-control:hover,
.hero-control:focus-visible {
  background: oklch(20% 0.06 var(--hue) / 0.92);
  transform: translateY(-2px);
  outline: none;
}
.hero-control:focus-visible { box-shadow: 0 0 0 3px var(--hero-tint); }
.hero-control svg { width: 16px; height: 16px; }
.hero-playback .icon-play,
.hero-mute .icon-sound { display: none; }
.hero-playback[data-mode="play"] .icon-play { display: inline-block; }
.hero-playback[data-mode="play"] .icon-pause { display: none; }
.hero-mute[aria-pressed="false"] .icon-muted { display: none; }
.hero-mute[aria-pressed="false"] .icon-sound { display: inline-block; }
.hero-mute[aria-pressed="false"] .hero-mute-label::after { content: "sound on"; }
.hero-mute[aria-pressed="false"] .hero-mute-label { font-size: 0; line-height: 0; }
.hero-mute[aria-pressed="false"] .hero-mute-label::after {
  content: "sound on";
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.06em;
}
.hero-video::after {
  /* subtle scanline overlay on top of the video for site-cohesion with the placeholder treatment */
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 3px,
      oklch(100% 0 0 / 0.04) 3px,
      oklch(100% 0 0 / 0.04) 4px
    );
  pointer-events: none;
  z-index: 2;
}
.hero-video-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
}
.hero-video-top,
.hero-video-bot {
  display: flex;
  justify-content: space-between;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(72% 0.04 var(--hue));
}
.hero-video-top .rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hero-bg);
}
.hero-video-top .rec::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--hero-bg);
  border-radius: 50%;
  animation: pulse 1.4s infinite ease-in-out;
}
.hero-video-mid {
  align-self: center;
  text-align: center;
  display: grid;
  gap: 10px;
}
.hero-video-tag {
  font-family: var(--font-body);
  text-transform: lowercase;
  letter-spacing: -0.02em;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
  font-weight: 600;
  color: var(--hero-tint);
  margin: 0;
  font-style: italic;
}
.hero-video-state {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(72% 0.04 var(--hue));
  margin: 0;
}
.hero-video-state .dots::after {
  content: "...";
  display: inline-block;
  animation: ellipsis 1.6s infinite steps(4, end);
  width: 1em;
  letter-spacing: 0;
  overflow: hidden;
  vertical-align: bottom;
}
@media (max-width: 900px) {
  .hero-video {
    width: clamp(180px, 48vw, 240px);
    justify-self: center;
    transform: none;
  }
}

/* === Gallery section === */
.gallery {
  background: var(--dark-bg);
  color: var(--dark-ink);
  padding: clamp(60px, 8vw, 120px) clamp(20px, 3vw, 40px);
  position: relative;
}
.gallery::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--dark-rule), transparent);
}

.gallery-head {
  max-width: var(--max-page);
  margin: 0 auto clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}
.gallery-eyebrow {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-accent);
  margin: 0 0 16px;
}
.gallery-title {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0;
  max-width: 14ch;
  text-transform: lowercase;
}
.gallery-title em {
  font-style: italic;
  color: var(--dark-accent);
}
.gallery-note {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.6;
  color: var(--dark-ink-soft);
  max-width: 32ch;
  text-align: right;
}

.grid {
  max-width: var(--max-page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 1.8vw, 26px);
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-head { grid-template-columns: 1fr; gap: 18px; }
  .gallery-note { text-align: left; max-width: 52ch; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

.card {
  display: grid;
  grid-template-rows: auto auto;
  gap: 12px;
  position: relative;
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--dark-bg-elev);
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--dark-rule);
  transition: transform 320ms var(--ease-out), border-color 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}
.card:hover .card-media,
.card:focus-within .card-media {
  border-color: var(--dark-accent);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -24px oklch(15% 0.04 var(--hue) / 0.8);
}
.card-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--dark-bg);
  color: transparent; /* hide poster alt before load */
}
/* used by the hero "rendering" dots */
@keyframes ellipsis {
  0% { width: 0; }
  100% { width: 1em; }
}

.card-cap {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 2px;
}
.site-link {
  flex: 0 0 auto;
  width: 58px;
  height: 34px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--dark-rule);
  background: var(--dark-bg-elev);
  display: block;
  position: relative;
  transition: border-color 250ms var(--ease-out);
}
.site-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.site-link::after {
  content: "\2197";
  position: absolute;
  top: 2px;
  right: 3px;
  font-size: 11px;
  line-height: 1;
  color: var(--dark-ink);
  opacity: 0;
  text-shadow: 0 1px 3px oklch(0% 0 0 / 0.7);
  transition: opacity 200ms var(--ease-out);
}
.site-link:hover,
.site-link:focus-visible { border-color: var(--dark-accent); outline: none; }
.site-link:hover::after,
.site-link:focus-visible::after { opacity: 1; }
.cap-text {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
}
.cap-text .num {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--dark-accent);
}
.card-name {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.15;
  letter-spacing: -0.012em;
  font-weight: 600;
  margin: 0;
  text-transform: lowercase;
}
.cap-cat {
  margin-left: auto;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-ink-soft);
  white-space: nowrap;
}

/* CTA card — "your project here" */
.card.is-cta .card-media {
  background: var(--dark-accent);
  border-color: transparent;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.card.is-cta .card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent 0,
      transparent 28px,
      oklch(15% 0.06 var(--hue) / 0.08) 28px,
      oklch(15% 0.06 var(--hue) / 0.08) 30px
    );
}
.card.is-cta:hover .card-media,
.card.is-cta:focus-within .card-media {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -24px oklch(50% 0.15 var(--hue) / 0.6);
}
.cta-word {
  position: relative;
  z-index: 1;
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: lowercase;
  color: var(--hero-ink);
  text-align: center;
}
.card.is-cta .site-link {
  display: grid;
  place-items: center;
  background: var(--dark-bg-elev);
}
.card.is-cta .site-link span {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 8px;
  line-height: 1.05;
  text-align: center;
  color: var(--dark-ink-soft);
}
.card.is-cta .cap-cat { color: var(--dark-accent); }

/* === Outro === */
.outro {
  background: var(--hero-bg);
  color: var(--hero-ink);
  padding: clamp(80px, 12vw, 180px) clamp(20px, 3vw, 40px) clamp(40px, 5vw, 60px);
  display: grid;
  gap: clamp(40px, 5vw, 64px);
}
.outro-inner {
  max-width: var(--max-page);
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: clamp(40px, 5vw, 64px);
}
.outro-headline {
  font-size: clamp(56px, 13vw, 200px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  font-weight: 900;
  margin: 0;
  text-transform: lowercase;
  max-width: 12ch;
}
.outro-headline em {
  font-style: italic;
  background: var(--hero-ink);
  color: var(--hero-bg);
  padding: 0 0.06em;
}
.outro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.outro-meta {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 32ch;
}
.outro-meta a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--hero-ink);
  transition: text-decoration-color 180ms var(--ease-out);
}
.outro-meta a:hover,
.outro-meta a:focus-visible {
  text-decoration-color: var(--hero-bg);
  outline: 2px solid var(--hero-ink);
  outline-offset: 4px;
  border-radius: 2px;
}
.outro-actions { display: grid; gap: 14px; justify-items: end; }

.colophon {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: -0.005em;
  color: var(--hero-ink-soft);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid oklch(28% 0.08 var(--hue) / 0.4);
  padding-top: 20px;
}

@media (max-width: 720px) {
  .topbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-meta { text-align: left; justify-self: start; }
  .gallery-head { grid-template-columns: 1fr; }
  .gallery-note { text-align: left; }
  .outro-grid { grid-template-columns: 1fr; }
  .outro-actions { justify-items: start; }
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .card:hover { transform: none; }
}

/* ===================================================================== sales
   The product checks its own renders, so the page speaks in its vernacular:
   a safe-zone overlay on the video, and the real verification report as the
   one loud element. Everything else stays quiet. */

/* Hero carries a CTA under the headline, so the type runs smaller than the
   launch site's — the button has to clear the fold at 1440x900. */
.hero-headline { font-size: clamp(40px, 7.4vw, 104px); }
.hero-cta { margin-top: clamp(26px, 3vw, 38px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.cta-note { max-width: 34ch; font-size: clamp(13px, 1.2vw, 15px); line-height: 1.35; color: var(--hero-ink-soft); }

.buy {
  display: inline-block; padding: 17px 28px; border-radius: var(--radius-md);
  background: var(--hero-ink); color: var(--hero-tint);
  font-size: clamp(16px, 1.5vw, 19px); font-weight: 700; letter-spacing: -0.01em; text-decoration: none;
  transition: transform 0.18s var(--ease-out), opacity 0.18s var(--ease-out);
}
.buy:hover, .buy:focus-visible { transform: translateY(-2px); opacity: 0.92; }
.buy--ghost { background: transparent; color: var(--dark-ink); box-shadow: inset 0 0 0 2px var(--dark-rule); }

/* Safe-zone overlay: the rectangle the tool keeps text inside on a 9:16 render. */
.safe-overlay { position: absolute; inset: 0; pointer-events: none; }
.safe-rect {
  position: absolute; left: 6%; right: 14%; top: 13%; bottom: 25%;
  border: 1px dashed color-mix(in oklch, var(--hero-ink) 55%, transparent); border-radius: 4px;
}
.safe-tag {
  position: absolute; right: 8%; font-family: "Geist Mono", ui-monospace, monospace;
  font-size: clamp(9px, 0.85vw, 11px); letter-spacing: 0.04em;
  color: color-mix(in oklch, var(--hero-ink) 70%, transparent);
}
.safe-tag--top { top: 5%; }
.safe-tag--bottom { bottom: 9%; }

/* ------------------------------------------------------------- dark sections */
.report, .recurring, .platforms, .specs, .pricing, .faq { background: var(--dark-bg); color: var(--dark-ink); }
.recurring, .pricing { background: var(--dark-bg-elev); }
.section-inner { max-width: var(--max-page); margin: 0 auto; padding: clamp(68px, 8vw, 128px) clamp(20px, 5vw, 72px); }
.section-title { margin: 0 0 26px; font-size: clamp(36px, 5.4vw, 80px); font-weight: 900; line-height: 1.02; letter-spacing: -0.035em; text-transform: lowercase; }
.section-lede { margin: 0 0 32px; max-width: 58ch; font-size: clamp(17px, 1.7vw, 23px); line-height: 1.45; color: var(--dark-ink-soft); }
.section-foot { margin: 32px 0 0; max-width: 62ch; font-size: clamp(14px, 1.35vw, 17px); line-height: 1.5; color: var(--dark-ink-soft); }
.section-foot a, .faq a { color: var(--dark-accent); }

/* ------------------------------------------------------------ verify report */
.report-inner {
  max-width: var(--max-page); margin: 0 auto; padding: clamp(68px, 8vw, 128px) clamp(20px, 5vw, 72px);
  display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center;
}
.report-copy .section-foot { margin-top: 24px; }
.verify {
  margin: 0; border-radius: var(--radius-lg); background: var(--dark-bg-elev);
  box-shadow: inset 0 0 0 1px var(--dark-rule), 0 40px 80px -40px rgb(0 0 0 / 0.8); overflow: hidden;
}
.verify-head { padding: 16px 22px; border-bottom: 1px solid var(--dark-rule); background: color-mix(in oklch, var(--dark-bg) 70%, transparent); }
.verify-cmd { font-family: "Geist Mono", ui-monospace, monospace; font-size: clamp(12px, 1.2vw, 15px); color: var(--dark-ink-soft); }
.verify-cmd::before { content: "$ "; color: var(--dark-accent); }
.verify-rows { margin: 0; padding: 10px 0; list-style: none; counter-reset: none; }
.verify-rows li {
  display: grid; grid-template-columns: 1fr auto auto; gap: 10px 18px; align-items: baseline;
  padding: 11px clamp(18px, 2vw, 26px);
  font-family: "Geist Mono", ui-monospace, monospace; font-size: clamp(12px, 1.15vw, 15px);
}
.vk { color: var(--dark-ink-soft); }
.vv { color: var(--dark-ink); font-weight: 500; }
.vs { color: var(--dark-accent); white-space: nowrap; }
.vs::after {
  content: "✓"; display: inline-block; margin-left: 10px; width: 1em;
  opacity: 0; transform: scale(0.6);
}
.verify.is-in .vs::after { animation: tick 0.32s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes tick { to { opacity: 1; transform: scale(1); } }

/* ------------------------------------------------------- panels and snippets */
.two-up { display: grid; gap: clamp(24px, 3.5vw, 48px); grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.two-up h3 { margin: 0 0 12px; font-size: clamp(20px, 2vw, 27px); font-weight: 700; letter-spacing: -0.02em; }
.two-up p { margin: 0; max-width: 54ch; font-size: clamp(15px, 1.45vw, 18px); line-height: 1.5; color: var(--dark-ink-soft); }
.panel { padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius-lg); background: var(--dark-bg); box-shadow: inset 0 0 0 1px var(--dark-rule); }
.snippet {
  margin: 22px 0 0; padding: 18px 20px; border-radius: var(--radius-md); overflow-x: auto;
  background: color-mix(in oklch, var(--dark-bg-elev) 80%, black); box-shadow: inset 0 0 0 1px var(--dark-rule);
  font-family: "Geist Mono", ui-monospace, monospace; font-size: clamp(11.5px, 1.1vw, 14px); line-height: 1.7; color: var(--dark-ink-soft);
}
.snippet .ok { color: var(--dark-accent); }

.plain-list { margin: 0; padding-left: 1.1em; display: grid; gap: 9px; max-width: 52ch; font-size: clamp(14.5px, 1.4vw, 17px); line-height: 1.45; color: var(--dark-ink-soft); }
.plain-list code, .faq code { font-family: "Geist Mono", ui-monospace, monospace; font-size: 0.92em; color: var(--dark-ink); }
.aside-note { margin-top: 22px; padding: 18px 20px; max-width: 46ch; border-radius: var(--radius-md); background: var(--dark-bg-elev); box-shadow: inset 0 0 0 1px var(--dark-rule); font-size: clamp(14px, 1.35vw, 16px); line-height: 1.5; color: var(--dark-ink-soft); }

/* ------------------------------------------------------------------ marquee */
.platforms-inner { padding-bottom: clamp(28px, 3vw, 44px); }
.marquee { overflow: hidden; padding: 6px 0 clamp(60px, 7vw, 110px); mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 64s linear infinite; }
.marquee-track span {
  padding: 11px 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--dark-rule);
  font-size: clamp(14px, 1.3vw, 17px); color: var(--dark-ink-soft); white-space: nowrap;
}
@keyframes slide { to { transform: translateX(-50%); } }
.marquee-fallback { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ------------------------------------------------------------------ pricing */
.invoice { max-width: 860px; border-radius: var(--radius-lg); background: var(--dark-bg); box-shadow: inset 0 0 0 1px var(--dark-rule); }
.invoice-row { display: grid; grid-template-columns: 1fr auto auto; gap: 18px clamp(20px, 3vw, 44px); align-items: center; padding: clamp(24px, 2.8vw, 36px); }
.invoice-row + .invoice-row { border-top: 1px solid var(--dark-rule); }
.invoice-what h3 { margin: 0 0 6px; font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -0.02em; }
.invoice-what p { margin: 0; max-width: 46ch; font-size: clamp(14px, 1.35vw, 17px); line-height: 1.45; color: var(--dark-ink-soft); }
.price { margin: 0; font-size: clamp(32px, 3.4vw, 46px); font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.invoice .buy { background: var(--dark-accent); color: var(--dark-bg); }
/* Invoice line items: what the one price covers, set like the body of an invoice. */
.invoice-included {
  margin: 0;
  padding: clamp(20px, 2.4vw, 28px) clamp(24px, 2.8vw, 36px);
  border-top: 1px solid var(--dark-rule);
  list-style: none;
  display: grid;
  gap: 0;
}
.invoice-included li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 11px 0;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.45;
  color: var(--dark-ink-soft);
}
.invoice-included li + li { border-top: 1px solid color-mix(in oklab, var(--dark-rule) 55%, transparent); }
/* The amount column of an invoice, where every line reads the same. */
.invoice-included li::after {
  content: "included";
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.74em;
  letter-spacing: 0.04em;
  color: var(--dark-accent);
}
.invoice .buy--ghost { background: transparent; color: var(--dark-ink); }

/* ---------------------------------------------------------------------- faq */
.faq-list { display: grid; gap: 12px; max-width: 920px; }
.faq details { border-radius: var(--radius-md); background: var(--dark-bg-elev); box-shadow: inset 0 0 0 1px var(--dark-rule); }
.faq summary { padding: 20px 24px; cursor: pointer; font-size: clamp(15px, 1.5vw, 19px); font-weight: 600; letter-spacing: -0.01em; }
.faq summary::marker { color: var(--dark-accent); }
.faq details[open] summary { padding-bottom: 6px; }
.faq details p { margin: 0; padding: 0 24px 22px; max-width: 70ch; font-size: clamp(14.5px, 1.4vw, 17px); line-height: 1.55; color: var(--dark-ink-soft); }

.outro-actions .buy { background: var(--hero-ink); color: var(--hero-tint); }

@media (max-width: 900px) {
  .report-inner { grid-template-columns: 1fr; }
  .invoice-row { grid-template-columns: 1fr auto; }
  .invoice-row .buy { grid-column: 1 / -1; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .buy { transition: none; }
  .buy:hover { transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .verify.is-in .vs::after { animation: none; opacity: 1; transform: none; }
  .vs::after { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------- type system
   Mono is for things you could type or measure — commands, the report, data.
   Everything a person reads as prose is Geist, at a size they can read. */
.topbar { font-size: 15px; }
.topbar .mark { font-family: "Geist Mono", ui-monospace, monospace; font-size: 14px; }
/* 0.72 opacity composited 13px ink over orange to ~3.6:1. Full strength, underline on hover. */
.topbar nav { gap: 26px; }
.topbar nav a { opacity: 1; font-weight: 500; text-underline-offset: 4px; }
.topbar nav a:hover, .topbar nav a:focus-visible { text-decoration: underline; }

.hero-sub { line-height: 1.25; max-width: 34ch; }
.cta-note { font-size: clamp(14px, 1.25vw, 15px); line-height: 1.4; }
.section-lede { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.5; }
.section-foot { font-size: clamp(15px, 1.35vw, 17px); }
.two-up p { font-size: clamp(16px, 1.45vw, 18px); line-height: 1.55; }
.plain-list { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; gap: 11px; }
.aside-note { font-size: clamp(15px, 1.35vw, 17px); line-height: 1.55; }
.invoice-what p { font-size: clamp(15px, 1.35vw, 17px); line-height: 1.5; }
.faq summary { font-size: clamp(16px, 1.5vw, 19px); }
.faq details p { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; }
.marquee-track span { font-size: clamp(15px, 1.3vw, 17px); }
/* Tighter tracking as display type grows; loose type at 80px reads as a default. */
.section-title { letter-spacing: -0.04em; }
.hero-headline { letter-spacing: -0.045em; }

/* ------------------------------------------------------------- open source */
/* The hero CTA is now an install line plus a star, not a price. */
.hero-cta .install-stack { flex: 1 1 100%; }
/* Every install box on this page puts the copy button beside the command, never on top of it. */
.install:has(.copy) { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; }
.install:has(.copy) .copy { position: static; }
.buy--star { background: transparent; color: var(--hero-ink); box-shadow: inset 0 0 0 2px var(--hero-ink); }
.outro .buy--star { color: var(--dark-ink); box-shadow: inset 0 0 0 2px var(--dark-rule); }

/* Install rows reuse the invoice frame: what it is on the left, the command on the right. */
.invoice-row--install { grid-template-columns: minmax(0, 1fr) minmax(0, auto); }
.invoice-row--install .install-label { color: var(--dark-ink-soft); }
.invoice-what code, .section-foot code { font-family: "Geist Mono", ui-monospace, monospace; font-size: 0.92em; }
.invoice-included li::after { content: "free"; }
@media (max-width: 760px) {
  .invoice-row--install { grid-template-columns: minmax(0, 1fr); }
}

/* Where to follow the author: the audience this page exists to build. */
.outro-meta p { margin: 0 0 14px; }
.follow-label { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
.follow { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.follow a {
  display: inline-block; padding: 9px 14px; border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px currentColor; color: inherit; text-decoration: none;
  font-family: "Geist Mono", ui-monospace, monospace; font-size: 13px; letter-spacing: 0.02em;
  transition: transform 0.18s var(--ease-out), opacity 0.18s var(--ease-out);
}
.follow a:hover, .follow a:focus-visible { transform: translateY(-2px); opacity: 0.85; }
/* The install line is long; it scrolls inside its frame rather than widening the hero. */
.hero-body, .hero-cta, .hero-cta .install-stack { min-width: 0; max-width: 100%; }
.hero-cta .install, .invoice .install, .outro .install { display: grid; width: 100%; max-width: 100%; }
.invoice-row--install .install-stack { width: 100%; }
@media (max-width: 560px) {
  .hero-cta .install { font-size: 12px; padding: 14px 14px; }
}

/* ===================== living field + launch console + faq board ===================== */
:root { --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif; }
body { font-family: var(--font-body); }
h1, h2, .section-title, .hero-headline, .outro-headline, .perk-n, .globe-word, .mark { font-family: "Geist", ui-sans-serif, system-ui, sans-serif; }

canvas.field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 0; }
.hero > :not(.field), .launch > .section-inner, .faq > .section-inner { position: relative; z-index: 1; }
.launch, .faq { position: relative; overflow: hidden; }
.launch { background: var(--dark-bg); }
.kicker { margin: 0 0 18px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dark-accent); }
.section-title em { font-style: italic; color: var(--dark-accent); }
.sparks { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 60; }

.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.launch-title { font-size: clamp(48px, 7vw, 112px); line-height: 0.94; letter-spacing: -0.045em; margin-bottom: 0; }
.launch-sub { margin: 22px 0 32px; max-width: 44ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; color: var(--dark-ink-soft); }

.console { border-radius: var(--radius-lg); background: var(--dark-bg-elev); box-shadow: inset 0 0 0 1px var(--dark-rule), 0 40px 80px -30px rgba(0, 0, 0, 0.7); overflow: hidden; }
.console-tabs { display: flex; gap: 4px; padding: 10px 10px 0; border-bottom: 1px solid var(--dark-rule); overflow-x: auto; scrollbar-width: none; }
.console-tabs button { position: relative; font: 500 14px "Geist Mono", ui-monospace, monospace; background: transparent; color: var(--dark-ink-soft); border: 0; padding: 12px 16px; border-radius: 10px 10px 0 0; white-space: nowrap; transition: color 0.2s, background 0.2s; }
.console-tabs button:hover { color: var(--dark-ink); }
.console-tabs button[aria-selected="true"] { color: var(--dark-ink); background: oklch(21% 0.045 var(--hue)); }
.console-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px; background: var(--dark-accent); }
.console-body { padding: 24px; background: oklch(21% 0.045 var(--hue)); min-height: 214px; }
.launch .console-line { margin: 0; background: var(--dark-bg); box-shadow: inset 0 0 0 1px var(--dark-rule); }
.console-line code { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caret { display: inline-block; width: 0.55em; height: 1.1em; margin-left: 2px; vertical-align: -0.18em; background: var(--dark-accent); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.console-out { min-height: 3.6em; margin-top: 16px; font: 400 14px/1.75 "Geist Mono", ui-monospace, monospace; color: var(--dark-ink-soft); }
.console-out .ok { color: var(--dark-accent); }
.console-note { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--dark-ink-soft); }
.console-note code { font-size: 13px; color: var(--dark-ink); background: oklch(96% 0.02 var(--hue) / 0.06); padding: 2px 6px; border-radius: 5px; }

.globe { position: relative; width: 100%; max-width: 680px; aspect-ratio: 1; justify-self: center; }
.globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.globe canvas:active { cursor: grabbing; }
.globe-word { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; font-weight: 900; font-style: italic; font-size: clamp(26px, 3.4vw, 48px); letter-spacing: -0.05em; color: var(--dark-ink); text-shadow: 0 0 40px oklch(64% 0.22 var(--hue) / 0.7); }
.orbit { position: absolute; transform: translate(-50%, -50%); pointer-events: none; white-space: nowrap; font: 500 12px "Geist Mono", ui-monospace, monospace; letter-spacing: 0.03em; padding: 5px 10px; border-radius: 999px; background: var(--dark-bg-elev); box-shadow: inset 0 0 0 1px var(--dark-rule); color: var(--dark-ink-soft); transition: color 0.3s, background 0.3s, box-shadow 0.3s; }
.orbit.is-hit { color: var(--hero-ink); background: var(--dark-accent); box-shadow: 0 0 24px oklch(72% 0.22 var(--hue) / 0.6); }

.perks { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: var(--radius-lg); overflow: hidden; background: var(--dark-rule); box-shadow: inset 0 0 0 1px var(--dark-rule); }
.perks li { display: grid; gap: 6px; align-content: start; padding: 22px; background: oklch(14% 0.03 var(--hue) / 0.92); }
.perk-n { font-weight: 900; font-size: clamp(32px, 3.2vw, 44px); letter-spacing: -0.04em; line-height: 1; color: var(--dark-ink); }
.perks li > span:last-child { font-size: 14px; line-height: 1.45; color: var(--dark-ink-soft); }
.launch-foot { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; margin-top: 32px; }
.launch-foot p { margin: 0; max-width: 70ch; font-size: 15px; line-height: 1.55; color: var(--dark-ink-soft); }
.launch-foot a:not(.buy) { color: var(--dark-ink); }
.buy--star { transition: transform 0.35s var(--ease-out); will-change: transform; }
.buy--star b { margin-left: 8px; font: 500 12px "Geist Mono", ui-monospace, monospace; padding: 3px 9px; border-radius: 999px; background: var(--hero-ink); color: var(--hero-tint); }
.launch .buy--star { background: var(--dark-ink); color: var(--hero-ink); }

.faq { background: var(--dark-bg); }
.faq-list[hidden] { display: none; }
.faq-board { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: 40px; }
.faq-index { display: grid; gap: 2px; }
.faq-index button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 40px 1fr 20px; gap: 10px; align-items: center; padding: 17px 16px; border-radius: 12px; font-size: clamp(16px, 1.4vw, 19px); font-weight: 600; letter-spacing: -0.01em; color: var(--dark-ink-soft); transition: background 0.25s, color 0.25s; }
.faq-index button:hover { color: var(--dark-ink); background: oklch(96% 0.02 var(--hue) / 0.03); }
.faq-index button:focus-visible { outline: 2px solid var(--dark-accent); outline-offset: 2px; }
.faq-index button[aria-selected="true"] { color: var(--dark-ink); background: var(--dark-bg-elev); box-shadow: inset 0 0 0 1px var(--dark-rule); }
.faq-i { font: 500 13px "Geist Mono", ui-monospace, monospace; color: oklch(45% 0.05 var(--hue)); }
.faq-index button[aria-selected="true"] .faq-i { color: var(--dark-accent); }
.faq-arr { color: var(--dark-accent); opacity: 0; transform: translateX(-6px); transition: 0.3s var(--ease-out); }
.faq-index button[aria-selected="true"] .faq-arr { opacity: 1; transform: none; }
.faq-panel { position: sticky; top: 32px; min-height: 360px; padding: clamp(24px, 2.6vw, 34px); border-radius: 20px; background: oklch(18% 0.04 var(--hue) / 0.94); box-shadow: inset 0 0 0 1px var(--dark-rule), 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.faq-cmd { margin: 0 0 18px; font: 500 13px "Geist Mono", ui-monospace, monospace; color: var(--dark-ink-soft); }
.faq-cmd span { color: var(--dark-accent); }
.faq-panel h3 { margin: 0 0 14px; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.12; letter-spacing: -0.025em; }
.faq-answer p { margin: 0; font-size: 17px; line-height: 1.62; color: oklch(88% 0.03 var(--hue)); }
.faq-answer a { color: var(--dark-accent); }

@media (max-width: 899px) {
  .launch-grid { grid-template-columns: minmax(0, 1fr); }
  .orbit { font-size: 11px; padding: 4px 8px; }
  .globe { max-width: 520px; }
  .orbit:nth-child(even) { display: none; }
  .perks { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }

/* ------------------------------------------------------------- floating pill nav */
.topbar { height: 52px; display: block; }
.pill {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 16px; max-width: calc(100vw - 24px);
  border-radius: 999px; background: oklch(16% 0.06 var(--hue) / 0.78); color: var(--hero-tint);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px oklch(96% 0.02 var(--hue) / 0.1), 0 18px 50px -18px oklch(10% 0.05 var(--hue) / 0.7);
  font-family: var(--font-body); font-size: 15px; white-space: nowrap;
  transition: padding 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.pill.is-scrolled { box-shadow: inset 0 0 0 1px oklch(96% 0.02 var(--hue) / 0.14), 0 22px 60px -16px rgba(0, 0, 0, 0.75); }
.pill a { color: inherit; text-decoration: none; }
.pill .mark { display: inline-flex; align-items: center; gap: 9px; margin-right: 8px; font-family: "Geist Mono", ui-monospace, monospace; font-weight: 700; font-size: 14px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--dark-accent); box-shadow: 0 0 0 0 oklch(72% 0.22 var(--hue) / 0.7); animation: rec 2s var(--ease-out) infinite; }
@keyframes rec { 0% { box-shadow: 0 0 0 0 oklch(72% 0.22 var(--hue) / 0.7); } 70%, 100% { box-shadow: 0 0 0 8px oklch(72% 0.22 var(--hue) / 0); } }
.pill-links { position: relative; display: flex; }
.pill-links a { position: relative; z-index: 1; padding: 9px 14px; border-radius: 999px; font-weight: 500; color: oklch(86% 0.03 var(--hue)); transition: color 0.25s; }
.pill-links a:hover, .pill-links a.is-on { color: var(--hero-ink); }
.pill-links a:focus-visible { outline: 2px solid var(--dark-accent); outline-offset: 2px; }
.lamp { position: absolute; z-index: 0; top: 0; bottom: 0; left: 0; width: 0; border-radius: 999px; background: var(--dark-accent); opacity: 0; box-shadow: 0 0 22px oklch(72% 0.22 var(--hue) / 0.55); transition: left 0.45s var(--ease-out), width 0.45s var(--ease-out), opacity 0.25s; }
.pill-tc { padding: 0 12px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: oklch(70% 0.04 var(--hue)); font-variant-numeric: tabular-nums; }
.pill-tc span { color: var(--hero-tint); }
.pill-gh { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--hero-tint); color: var(--hero-ink) !important; font-weight: 600; transition: transform 0.3s var(--ease-out), background 0.2s; }
.pill-gh:hover { transform: translateY(-1px); background: #fff; }
.pill-gh b { font-family: "Geist Mono", ui-monospace, monospace; font-weight: 500; font-size: 12px; padding: 2px 7px; border-radius: 999px; background: var(--hero-ink); color: var(--hero-tint); }
@media (max-width: 1100px) { .pill-tc { display: none; } }
@media (max-width: 760px) {
  .topbar { height: 56px; }
  .pill { top: 10px; gap: 2px; padding-left: 12px; font-size: 14px; }
  .pill-links a:not([href="#install"]) { display: none; }
  .pill .mark { margin-right: 2px; }
}
@media (prefers-reduced-motion: reduce) { .rec { animation: none; } .lamp { transition: none; } }
/* Beat the old .topbar nav a rules. */
.topbar .pill a { opacity: 1; text-decoration: none; }
.topbar .pill .mark { color: var(--hero-tint); }
.topbar .pill-links a { color: oklch(86% 0.03 var(--hue)); }
.topbar .pill-links a:hover, .topbar .pill-links a.is-on { color: var(--hero-ink); }
.topbar .pill { gap: 6px; }
.topbar .pill a, .topbar .pill a:hover, .topbar .pill a:focus-visible { text-decoration: none; }
.topbar .pill-links a:hover, .topbar .pill-links a.is-on { color: #fff; }
/* The pill lives inside the hero's topbar; lift the topbar above every section so nothing scrolls over it. */
.hero > .topbar { z-index: 100; }

/* ------------------------------------------------------------- my projects gallery */
.work-grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); grid-template-areas: "feature tall" "wide tall"; align-items: stretch; }
.work-card[data-place="feature"] { grid-area: feature; }
.work-card[data-place="wide"] { grid-area: wide; }
.work-card[data-place="tall"] { grid-area: tall; grid-template-rows: 1fr auto; }
.work-card[data-place="tall"] .card-media { aspect-ratio: auto; height: 100%; min-height: 420px; }
.work-cap { display: grid; gap: 6px; padding: 0 2px; }
.work-line { margin: 0; max-width: 52ch; font-size: 15px; line-height: 1.45; color: var(--dark-ink-soft); }
.case { justify-self: start; display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; padding: 7px 12px; border-radius: 999px; font: 500 13px "Geist Mono", ui-monospace, monospace; color: var(--dark-ink); text-decoration: none; box-shadow: inset 0 0 0 1px var(--dark-rule); transition: color 0.2s, box-shadow 0.2s, background 0.2s; }
.case:hover, .case:focus-visible { color: var(--hero-ink); background: var(--dark-accent); box-shadow: none; outline: none; }
.gallery-note a { color: var(--dark-accent); }
@media (max-width: 900px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "feature" "tall" "wide"; }
  .work-card[data-place="tall"] .card-media { aspect-ratio: 9 / 16; height: auto; min-height: 0; max-width: 420px; }
}
.gallery { overflow: hidden; }
.gallery > :not(.field) { position: relative; z-index: 1; }
/* Column split chosen so two 16:9 cards plus captions match one 9:16 card plus caption. */
.work-grid { grid-template-columns: minmax(0, 1.37fr) minmax(0, 1fr); align-items: start; }
.work-card[data-place="tall"] { grid-template-rows: auto auto; }
.work-card[data-place="tall"] .card-media { aspect-ratio: 9 / 16; height: auto; min-height: 0; }
@media (max-width: 900px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-card[data-place="tall"] .card-media { max-width: 420px; }
}
.work-row { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(28px, 3vw, 44px); align-items: start; }
@media (max-width: 900px) { .work-row { grid-template-columns: minmax(0, 1fr); } }
