/* ==========================================================================
   Fishbrain — historical lineage site
   Preserves the original Fishbrain palette: near-black surfaces, mid-tone
   Fishbrain green, warm gold from the illustrations, cream editorial type.
   ========================================================================== */

:root {
  --ink:          #070d0b;
  --ink-2:        #0a1310;
  --ink-3:        #0e1a16;
  --surface:      #101d18;
  --surface-2:    #142520;
  --line:         #1e332b;
  --line-bright:  #2a473c;

  --green:        #2fb673;
  --green-light:  #4bc485;
  --green-dim:    #1d7a4c;

  --gold:         #e3bb72;
  --gold-soft:    #f0d6a3;

  --cream:        #f4f1e6;
  --text:         #c3d1c9;
  --text-dim:     #8fa79b;

  --radius:       18px;
  --radius-lg:    26px;

  --shell:        1180px;
  --gutter:       clamp(1.15rem, 4vw, 2.5rem);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --step-h1: clamp(2.3rem, 5vw, 3.85rem);
  --step-h2: clamp(1.85rem, 4.1vw, 3rem);
  --step-h3: clamp(1.08rem, 1.6vw, 1.22rem);
  --step-lede: clamp(1.02rem, 1.65vw, 1.2rem);
}

/* ------------------------------ reset ---------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Keep anchored sections clear of the sticky header, which measures 110px on
     desktop. 6rem (96px) left #status — the target of /pricing, /login, /start
     and six other historical redirects — tucked under the header. */
  scroll-padding-top: 8rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Guard against any wide child creating a horizontal scrollbar. */
  overflow-x: hidden;
}

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

h1, h2, h3 {
  color: var(--cream);
  font-weight: 800;
  letter-spacing: -0.024em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--step-h1); }
h2 { font-size: var(--step-h2); line-height: 1.12; }
h3 { font-size: var(--step-h3); letter-spacing: -0.012em; line-height: 1.35; }

h1 em, h2 em {
  display: block;
  font-style: normal;
  color: var(--green-light);
}

p { margin: 0 0 1.05rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-light); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-soft); }

ul, ol { margin: 0; padding: 0; list-style: none; }

/* --------------------------- accessibility ----------------------------- */

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -140%);
  z-index: 200;
  background: var(--green);
  color: #05100b;
  font-weight: 700;
  padding: 0.7rem 1.3rem;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  transition: transform 160ms ease;
}
.skip-link:focus-visible { transform: translate(-50%, 0); color: #05100b; }

.anchor-alias {
  display: block;
  position: relative;
  top: -6rem;
  height: 0;
}

/* ------------------------------ layout --------------------------------- */

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

.band { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.band-alt { background: var(--ink-2); border-block: 1px solid var(--line); }

.centered { max-width: 46rem; margin-inline: auto; text-align: center; }

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.735rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-sub {
  margin-top: 1.15rem;
  font-size: var(--step-lede);
  color: var(--text-dim);
  max-width: 40rem;
}
.section-sub-center { margin-inline: auto; }

.prose-narrow {
  max-width: 44rem;
  margin: clamp(2.25rem, 4vw, 3rem) auto 0;
  font-size: 1.03rem;
}

/* ------------------------------ buttons -------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.86rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.955rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease,
              border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.btn-primary {
  background: var(--green);
  color: #04120a;
  box-shadow: 0 10px 30px -12px rgba(47, 182, 115, 0.75);
}
.btn-primary:hover {
  background: var(--green-light);
  color: #04120a;
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -14px rgba(75, 196, 133, 0.85);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-bright);
  color: var(--cream);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--cream);
  background: rgba(47, 182, 115, 0.09);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.62rem 1.15rem; font-size: 0.875rem; }
.btn-lg { padding: 1.02rem 2rem; font-size: 1.03rem; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* ------------------------------ header --------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 13, 11, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.3rem;
}

.wordmark { flex-shrink: 0; line-height: 0; }
.wordmark img { width: 164px; height: auto; }

.nav-desktop {
  display: flex;
  gap: 1.85rem;
  margin-inline: auto;
}
.nav-desktop a {
  color: var(--text);
  font-size: 0.925rem;
  font-weight: 600;
  text-decoration: none;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
}
.nav-desktop a:hover { color: var(--cream); border-bottom-color: var(--green); }

/* Mobile menu is a <details> element, so it works with zero JavaScript. */
.nav-mobile { display: none; margin-left: auto; position: relative; }

.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  width: 2.85rem;
  height: 2.85rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-bright);
  border-radius: 12px;
  background: var(--surface);
}
.nav-mobile summary::-webkit-details-marker { display: none; }

.bars { display: grid; gap: 5px; }
.bars i {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--cream);
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-mobile[open] .bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile[open] .bars i:nth-child(2) { opacity: 0; }
.nav-mobile[open] .bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.7rem);
  min-width: min(17rem, calc(100vw - 2.4rem));
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem;
  background: var(--surface);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  box-shadow: 0 26px 60px -20px rgba(0, 0, 0, 0.85);
}
.nav-mobile-panel a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  padding: 0.72rem 0.85rem;
  border-radius: 12px;
}
.nav-mobile-panel a:hover { background: rgba(47, 182, 115, 0.12); }
.nav-mobile-panel .mobile-cta {
  margin-top: 0.35rem;
  background: var(--green);
  color: #04120a;
  text-align: center;
}
.nav-mobile-panel .mobile-cta:hover { background: var(--green-light); }

/* -------------------------------- hero --------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(3.25rem, 7vw, 6.25rem) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

/* Soft green aurora behind the hero — pure CSS, no image weight. */
.hero::before {
  content: "";
  position: absolute;
  inset: -35% -12% auto -12%;
  height: 78%;
  background:
    radial-gradient(58% 62% at 26% 34%, rgba(47, 182, 115, 0.20), transparent 68%),
    radial-gradient(46% 54% at 76% 22%, rgba(227, 187, 114, 0.13), transparent 70%);
  filter: blur(14px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero h1 { margin-bottom: 1.5rem; }

.lede {
  font-size: var(--step-lede);
  max-width: 34rem;
  color: var(--text);
}
.lede-muted { color: var(--text-dim); }

.status-card {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 1.9rem;
  padding: 0.95rem 1.2rem;
  background: linear-gradient(180deg, rgba(20, 37, 32, 0.9), rgba(16, 29, 24, 0.9));
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  max-width: 27rem;
}
.status-card strong {
  display: block;
  color: var(--cream);
  font-size: 0.945rem;
  font-weight: 700;
  letter-spacing: -0.008em;
}
.status-card span:not(.status-dot) {
  display: block;
  font-size: 0.875rem;
  color: var(--text-dim);
}
.status-dot {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(227, 187, 114, 0.16);
}

.hero-art { position: relative; justify-self: center; }
.hero-art img {
  width: min(420px, 78vw);
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-bright);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.95),
              0 0 0 1px rgba(47, 182, 115, 0.10);
}

/* ------------------------------ splits --------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split-tight { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
.split-reverse .split-art { order: 2; }

.split-art img {
  width: min(440px, 100%);
  margin-inline: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 34px 70px -38px rgba(0, 0, 0, 0.9);
}

.split-copy h2 { margin-bottom: 1.35rem; }

.question-intro { margin-top: 1.6rem; color: var(--cream); font-weight: 600; }

.question-list { display: grid; gap: 0.6rem; margin-top: 0.4rem; }
.question-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text);
}
.question-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

/* --------------------------- what we built ----------------------------- */

.section-head { margin-bottom: clamp(2.5rem, 5vw, 3.75rem); align-items: center; }
.section-head-art img {
  width: min(290px, 58vw);
  margin-inline: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 30px 62px -36px rgba(0, 0, 0, 0.9);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.1rem;
  counter-reset: card;
}

.card {
  position: relative;
  padding: 1.65rem 1.5rem 1.55rem;
  background: linear-gradient(180deg, var(--surface), var(--ink-3));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-bright);
  box-shadow: 0 26px 50px -30px rgba(0, 0, 0, 0.9);
}
.card::after {
  content: "";
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 182, 115, 0.55), transparent);
  opacity: 0;
  transition: opacity 200ms ease;
}
.card:hover::after { opacity: 1; }

.card-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 0.7rem;
}
.card h3 { margin-bottom: 0.55rem; }
.card p { font-size: 0.945rem; color: var(--text-dim); }

/* ----------------------------- pipeline -------------------------------- */

.pipeline {
  display: grid;
  gap: 0.55rem;
  max-width: 40rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
}

.pipe-step {
  position: relative;
  display: grid;
  grid-template-columns: 6.2rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

/* Connector between steps, drawn with CSS rather than baked into an image so
   it stays crisp and readable at every width. */
.pipe-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 3.1rem;
  top: calc(100% + 1px);
  width: 9px;
  height: 9px;
  transform: translateX(-4px) rotate(45deg);
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  opacity: 0.75;
}

.pipe-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.pipe-title {
  color: var(--cream);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.pipe-in { border-color: var(--line-bright); }

/* Durable memory is the point of the whole pipeline, so it carries the weight. */
.pipe-core {
  background: linear-gradient(120deg, rgba(47, 182, 115, 0.22), rgba(20, 37, 32, 0.95));
  border-color: rgba(47, 182, 115, 0.62);
  box-shadow: 0 0 0 1px rgba(47, 182, 115, 0.18),
              0 16px 34px -20px rgba(47, 182, 115, 0.7);
}
.pipe-core .pipe-label { color: var(--green-light); }
.pipe-core .pipe-title { font-size: 1.09rem; }

.pipe-out {
  background: linear-gradient(120deg, rgba(227, 187, 114, 0.18), rgba(20, 37, 32, 0.95));
  border-color: rgba(227, 187, 114, 0.55);
}
.pipe-out .pipe-title { color: var(--gold-soft); }

/* -------------------------- what happened ------------------------------ */

.transition-art {
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  max-width: 640px;
}
.transition-art img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 34px 70px -40px rgba(0, 0, 0, 0.9);
}

.versus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr);
  align-items: center;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.versus-card {
  padding: 1.75rem 1.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  height: 100%;
}
.versus-past { opacity: 0.94; }
.versus-now {
  border-color: rgba(47, 182, 115, 0.4);
  background: linear-gradient(150deg, rgba(47, 182, 115, 0.13), var(--surface) 62%);
}

.versus-who {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.versus-now .versus-who { color: var(--green-light); }

.versus-q {
  margin: 0;
  color: var(--cream);
  font-size: clamp(1.08rem, 1.9vw, 1.34rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.versus-arrow {
  font-size: 1.7rem;
  color: var(--green);
  text-align: center;
}

/* the acquisition aside */
.aside-faq {
  max-width: 44rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding: 1.6rem 1.75rem;
  border: 1px dashed var(--line-bright);
  border-radius: var(--radius);
  background: rgba(16, 29, 24, 0.55);
}
.faq-q {
  margin: 0 0 0.65rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}
.faq-a { margin: 0 0 0.5rem; color: var(--cream); }
.faq-a-muted { margin: 0; color: var(--text-dim); font-size: 0.945rem; }

/* ------------------------------- chips --------------------------------- */

.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; align-content: flex-start; }
.chips li {
  padding: 0.58rem 0.95rem;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.885rem;
  font-weight: 500;
}

/* ------------------------------ timeline ------------------------------- */

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1.1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.timeline li {
  position: relative;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.timeline li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 1.5rem;
  width: 2.4rem;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.tl-year {
  display: block;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}
.timeline p { margin: 0; font-size: 0.95rem; color: var(--text-dim); }

/* -------------------------------- coda --------------------------------- */

.coda {
  text-align: center;
  background:
    radial-gradient(64% 78% at 50% 8%, rgba(47, 182, 115, 0.13), transparent 66%),
    var(--ink);
  border-top: 1px solid var(--line);
}
.coda-inner { max-width: 44rem; }

/* The fish artwork has a near-black outline, which vanishes against the page
   background. A lit plate behind it restores the silhouette. */
.coda-badge {
  width: 232px;
  height: 232px;
  margin: 0 auto 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(47, 182, 115, 0.3);
  background:
    radial-gradient(circle at 50% 42%, rgba(75, 196, 133, 0.30), rgba(47, 182, 115, 0.10) 58%, transparent 72%),
    rgba(20, 37, 32, 0.72);
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.9);
}
.coda-fish {
  width: 172px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5));
}
.coda-copy {
  margin-top: 1.25rem;
  font-size: var(--step-lede);
  color: var(--text-dim);
}

.coda-quote {
  margin: 2.25rem auto;
  padding: 1.45rem 1.5rem;
  max-width: 30rem;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  background: rgba(16, 29, 24, 0.7);
}
.coda-quote p {
  margin: 0;
  font-size: clamp(1.08rem, 2.1vw, 1.32rem);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.015em;
  line-height: 1.4;
}
.coda-quote em { font-style: normal; color: var(--gold); }

/* ------------------------------- footer -------------------------------- */

.site-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.75rem;
}

.footer-brand img { width: 140px; height: auto; }
.footer-status { margin: 0.8rem 0 0; font-size: 0.9rem; color: var(--text-dim); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  align-items: center;
}
.footer-links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  /* Long email address must not push the footer wide on small screens. */
  overflow-wrap: anywhere;
}
.footer-links a:hover { color: var(--green-light); text-decoration: underline; }

.footer-fine {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.footer-fine p { margin: 0; font-size: 0.845rem; color: var(--text-dim); }
.footer-wink { margin-top: 0.45rem !important; color: #6fae8e !important; font-style: italic; }

/* ------------------------------ 404 page ------------------------------- */

.page-404 {
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(3rem, 8vw, 6rem);
}
.page-404 .coda-badge { width: 200px; height: 200px; }
.page-404 .coda-fish { width: 148px; }
.page-404 h1 { margin-bottom: 1.1rem; }

/* ---------------------------- reveal motion ---------------------------- */

/* Only applied once JS confirms it is running, so a no-JS visitor always sees
   fully rendered content. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms cubic-bezier(0.22, 0.85, 0.3, 1),
              transform 620ms cubic-bezier(0.22, 0.85, 0.3, 1);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------ responsive ----------------------------- */

@media (max-width: 1000px) {
  .nav-desktop { gap: 1.25rem; }
  .header-cta { display: none; }
}

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }

  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-art { order: -1; }
  .hero-art img { width: min(300px, 62vw); }

  .split, .split-tight { grid-template-columns: 1fr; }
  .split-reverse .split-art { order: -1; }
  .section-head-art { display: none; }

  .versus { grid-template-columns: 1fr; gap: 0.9rem; }
  .versus-arrow { transform: rotate(90deg); font-size: 1.4rem; }
}

@media (max-width: 560px) {
  .status-card { max-width: none; }
  .cta-row .btn { width: 100%; }
  .pipe-step { grid-template-columns: 1fr; gap: 0.3rem; padding: 0.95rem 1.1rem; }
  .pipe-step:not(:last-child)::after { left: 1.8rem; }
  .coda-badge { width: 184px; height: 184px; }
  .coda-fish { width: 134px; }
  .footer-inner { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 360px) {
  .wordmark img { width: 132px; }
}

/* ============================================================
   Utilities for the standalone pages (404, privacy, terms)
   ------------------------------------------------------------
   These exist as classes rather than style="" attributes because
   the production CSP sets style-src 'self'. Inline style
   attributes cannot be covered by a hash, so authoring them here
   is what keeps those pages rendering without weakening the
   policy. scripts/check-csp.mjs fails the build if they come back.
   ============================================================ */

.u-push        { margin-left: auto; }
.u-center      { justify-content: center; }
.u-mt0         { margin-top: 0; }
.u-flush       { margin-top: 0; border-top: 0; padding-top: 0; }
.u-cream       { color: var(--cream); }
.legal-title   { font-size: var(--step-h2); margin-bottom: 1.5rem; }
.legal-h2      { font-size: 1.2rem; margin-top: 2.5rem; }