/* ============================================================
   HOOKUIDITY - bright, pastel, illustrative fantasy
   ============================================================ */

:root {
  /* surfaces - creamy pastel base */
  --bg: #fffdf7;
  --surface: #fff9f0;
  --surface-cutout: rgba(0,0,0,0.05);
  --surface-plate: #ffffff;
  --surface-inset: #faf5ec;
  --border-subtle: rgba(0,0,0,0.06);

  /* text */
  --text-primary: #2a2438;
  --text-secondary: #6b6280;
  --text-muted: #a99fba;

  /* pastels */
  --pink: #ff8ec4;
  --mint: #7ddfb8;
  --lavender: #b8a5ff;
  --sky: #7cc8ff;
  --peach: #ffb088;
  --lemon: #ffe47a;
  --bubble: #ff6baa;

  /* fonts */
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Inter', sans-serif;

  /* radii - rounder for the bubbly feel */
  --radius-panel: 20px;
  --radius-card: 16px;
  --radius-button: 12px;

  /* shadows - soft colored shadows */
  --shadow-down-1: inset 0 2px 4px rgba(0,0,0,0.04);
  --shadow-down-2: inset 0 2px 8px rgba(0,0,0,0.06);
  --shadow-up-1: 0 2px 8px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.03);
  --shadow-up-soft: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-up-nav: 0 4px 24px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-pink: 0 4px 24px rgba(255,142,196,0.15);
  --shadow-mint: 0 4px 24px rgba(125,223,184,0.15);
  --shadow-lavender: 0 4px 24px rgba(184,165,255,0.15);

  /* spacing */
  --content-width: 1120px;
  --section-pad: clamp(6rem, 12vh, 10rem);
  --gap-module: clamp(1.5rem, 2.5vw, 2.5rem);

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

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overscroll-behavior-x: none; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}
a { color: inherit; text-decoration: none; }

/* scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #ff6baa; }
html { scrollbar-color: var(--pink) var(--bg); scrollbar-width: thin; }

/* === LAYOUT === */
.content-width {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

/* === PLATE-CUTOUT PATTERN === */
.plate-cutout {
  padding: var(--cutout-pad, 1px);
  background: var(--surface-cutout);
  border-radius: var(--radius-panel);
  transition: box-shadow 0.3s ease;
}
.plate-cutout:hover {
  box-shadow: var(--shadow-pink);
}
.plate {
  background: var(--surface-plate);
  border-radius: calc(var(--radius-panel) - 1px);
  box-shadow: var(--shadow-up-1);
}

/* === KICKER === */
.kicker {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 0.75rem;
}
.kicker-accent { color: var(--mint); }

/* === PLACEHOLDER === */
.placeholder {
  border: 2.5px dashed rgba(0,0,0,0.08);
  background: var(--surface-inset);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  user-select: none;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: clamp(0.5rem, 1.5vw, 1rem);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-100% - 2rem));
  transition: opacity 0.24s ease, transform 0.6s var(--ease-out);
}
.nav[data-visible="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-content {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1.25rem;
  background: rgba(255,253,247,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-card);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-up-nav);
}
.nav-logo {
  font-family: 'Lilita One', cursive;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  position: relative;
  top: -1px;
}
.nav-links { display: flex; gap: 1.75rem; }
.nav-link {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.18s ease;
}
.nav-link:hover { color: var(--text-primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--bg);
}
.hero-backdrop {
  position: absolute;
  inset: -50px;
  border-radius: 0;
  border: none;
  background: url('hero-bg.png') center center / cover no-repeat;
  filter: blur(8px);
  will-change: transform, opacity;
  animation: hero-drift 25s ease-in-out infinite;
}
@keyframes hero-drift {
  0%   { transform: scale(1.04) translate(0, 0) rotate(0deg); }
  20%  { transform: scale(1.07) translate(12px, -6px) rotate(0.8deg); }
  40%  { transform: scale(1.05) translate(-10px, 8px) rotate(-0.5deg); }
  60%  { transform: scale(1.08) translate(6px, 12px) rotate(1deg); }
  80%  { transform: scale(1.06) translate(-8px, -5px) rotate(-0.7deg); }
  100% { transform: scale(1.04) translate(0, 0) rotate(0deg); }
}
.hero-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, transparent 50%, var(--bg) 100%);
}
.hero-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}
.hero-inner {
  max-width: 720px;
  text-align: center;
}
.hero-headline {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
  color: #fff;
  -webkit-text-stroke: 2.5px rgba(0,0,0,0.4);
  paint-order: stroke fill;
  text-shadow: 
    0 0 20px rgba(0,0,0,0.6),
    0 0 40px rgba(0,0,0,0.3),
    0 3px 0 var(--pink),
    0 6px 0 rgba(255,142,196,0.3);
}
.hero-sub {
  position: relative;
  color: var(--text-primary);
  margin: 0 auto;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,253,247,0.85);
  display: inline-block;
  padding: 0.45rem 1.25rem;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}
.hero-sub-wrap {
  position: relative;
  display: inline-block;
}
.hero-sub-wrap::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink), 0 0 16px var(--pink);
  offset-path: inset(0 round 6px);
  animation: dot-orbit 4s linear infinite, dot-color 4s linear infinite;
  z-index: 3;
}
.hero-sub-wrap::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  background: linear-gradient(rgba(255,253,247,0.85), rgba(255,253,247,0.85)) padding-box,
              conic-gradient(from var(--dot-angle, 0deg), transparent 0%, var(--pink) 10%, transparent 20%) border-box;
  animation: border-rotate 4s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes dot-orbit {
  0%   { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}
@keyframes dot-color {
  0%   { background: var(--pink); box-shadow: 0 0 8px var(--pink); }
  25%  { background: var(--mint); box-shadow: 0 0 8px var(--mint); }
  50%  { background: var(--lavender); box-shadow: 0 0 8px var(--lavender); }
  75%  { background: var(--sky); box-shadow: 0 0 8px var(--sky); }
  100% { background: var(--pink); box-shadow: 0 0 8px var(--pink); }
}
@property --dot-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes border-rotate {
  0%   { --dot-angle: 0deg; }
  100% { --dot-angle: 360deg; }
}

/* scroll arrow */
.hero-scroll-arrow {
  position: absolute;
  bottom: clamp(2rem, 6vh, 4rem);
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: scroll-bob 2.4s ease-in-out infinite;
}
@keyframes scroll-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* ============================================================
   STORY SECTIONS
   ============================================================ */
.story-section {
  padding: var(--section-pad) 0;
}
.story-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 6rem);
}
.story-panel-reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
.story-panel-reverse .story-copy { order: 2; }
.story-panel-reverse .story-demo { order: 1; }

.story-copy {
  display: flex;
  flex-direction: column;
}
.story-heading {
  font-family: 'Lilita One', cursive;
  font-weight: 400;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.story-body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 420px;
}
.story-demo { min-width: 0; }

/* === FEATURE CARDS === */
.feature-cards {
  display: flex;
  flex-direction: column;
}
.feature-card {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.feature-card:last-child { border-bottom: none; }
.dot-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.3rem;
}
.dot-mint { background: var(--mint); box-shadow: 0 0 12px rgba(125,223,184,0.4); }
.dot-pink { background: var(--pink); box-shadow: 0 0 12px rgba(255,142,196,0.4); }
.dot-gold { background: var(--lemon); box-shadow: 0 0 12px rgba(255,228,122,0.4); }
.feature-card-text { min-width: 0; }
.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.35rem;
}
.feature-card:nth-child(1) .feature-title { color: var(--mint); }
.feature-card:nth-child(2) .feature-title { color: var(--pink); }
.feature-card:nth-child(3) .feature-title { color: var(--lemon); text-shadow: 0 0 0 transparent; /* lemon on white needs help */ color: #d4a017; }
.feature-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* === MATH SECTION === */
.math-plate {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Flow Diagram */
.flow-diagram {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1.5rem;
  border-radius: var(--radius-card);
  background: var(--surface-inset);
  box-shadow: var(--shadow-down-1);
}
.flow-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}
.flow-row-result {
  justify-content: center;
  padding-top: 0.5rem;
}
.flow-divider {
  height: 1px;
  background: rgba(0,0,0,0.06);
}
.flow-node-action {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  min-width: 3.5rem;
  text-align: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-button);
  background: var(--surface-plate);
  box-shadow: var(--shadow-up-1);
}
.flow-arrow {
  font-size: 1.25rem;
  color: var(--text-muted);
  flex-shrink: 0;
}
.flow-node-split {
  display: flex;
  gap: 0.75rem;
  flex: 1;
}
.flow-split-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-button);
  flex: 1;
}
.flow-split-pool {
  background: rgba(125,223,184,0.12);
  border: 1.5px solid rgba(125,223,184,0.25);
}
.flow-split-vault {
  background: rgba(255,107,170,0.1);
  border: 1.5px solid rgba(255,107,170,0.2);
}
.flow-split-swap {
  background: var(--surface-plate);
  border: 1.5px solid rgba(0,0,0,0.05);
}
.flow-pct {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-primary);
}
.flow-split-pool .flow-pct { color: var(--mint); }
.flow-split-vault .flow-pct { color: var(--bubble); }
.flow-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.flow-result {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: rgba(125,223,184,0.1);
  border: 1.5px solid rgba(125,223,184,0.2);
}
.flow-result-icon {
  font-size: 1rem;
  color: var(--mint);
}
.flow-result-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--mint);
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.comparison-card-inset {
  padding: 1.25rem;
  border-radius: var(--radius-card);
  background: var(--surface-inset);
  box-shadow: var(--shadow-down-1);
  height: 100%;
  border-top: 3px solid rgba(0,0,0,0.04);
}
.comparison-card:last-child .comparison-card-inset {
  border-top-color: var(--mint);
  background: linear-gradient(180deg, rgba(125,223,184,0.06) 0%, var(--surface-inset) 100%);
}
.comparison-body {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.math-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* === FEES SECTION === */
.fees-cutout { margin-top: 0.5rem; }
.fee-table {
  display: flex;
  flex-direction: column;
}
.fee-row {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.125rem 1.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.fee-row:last-child { border-bottom: none; }
.fee-header { padding-bottom: 0.75rem; }
.fee-header .fee-cell {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.fee-cell-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}
.fee-cell-pct {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  text-align: center;
}
.fee-cell-dest {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: right;
}
.fee-accent { color: var(--mint); font-weight: 500; }
.fee-accent-pink { color: var(--bubble); font-weight: 500; }
.fee-muted { color: var(--text-muted); }

.section-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  line-height: 1.5;
}

/* === BUILDERS SECTION === */
.builders-hero {
  position: relative;
  margin-bottom: var(--gap-module);
  border-radius: var(--radius-panel);
  overflow: hidden;
}

.builders-hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3rem);
  min-height: clamp(240px, 30vw, 340px);
  overflow: hidden;
}
.builders-hero-img {
  position: absolute;
  right: 20px;
  top: 50%;
  translate: 0 -50%;
  height: 85%;
  width: auto;
  object-fit: contain;
  opacity: 0;
  transform-origin: center center;
}
.builders-hero-img.wiggle {
  animation: hat-wiggle 2.8s ease-in-out infinite;
}
@keyframes hat-wiggle {
  0%, 100% { rotate: 0deg; }
  50% { rotate: 3deg; }
}
.builders-hero-content .story-heading { margin-bottom: 1rem; }
.builders-hero-content .story-body { max-width: 520px; }
.builder-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.builder-card { padding: 1.75rem; }

/* ============================================================
   BOTTOM BG - lives behind builders + footer
   ============================================================ */
.bottom-bg-img {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 500px;
  background: url('og-image.png') center center / cover no-repeat;
  filter: blur(8px);
  z-index: -1;
  opacity: 0;
  transform: scale(1.3);
  will-change: opacity, transform;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 40%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 40%, black 100%);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 2.5rem 0;
  margin-top: 0;
  background: rgba(255,253,247,0.5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.footer-logo {
  font-family: 'Lilita One', cursive;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-link {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.18s ease;
}
.footer-link:hover { color: var(--text-primary); }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: right;
  letter-spacing: 0.04em;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.anim {
  opacity: 0;
  transform: translateY(32px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .story-panel,
  .story-panel-reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .story-panel-reverse .story-copy { order: 0; }
  .story-panel-reverse .story-demo { order: 0; }
  .story-body { max-width: none; }

  /* builders image: smaller, below text on tablet */
  .builders-hero-content {
    background-size: 40%;
    background-position: right bottom;
    min-height: 200px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: clamp(4rem, 10vh, 6rem);
  }

  .nav-links { display: none; }

  /* hero */
  .hero-headline {
    font-size: clamp(3rem, 13vw, 4.5rem);
    line-height: 1.05;
  }
  .hero-stage {
    padding-bottom: 4rem;
  }
  .hero-sub {
    font-size: 0.7rem;
    padding: 0.5rem 0.7rem;
  }

  /* story panels */
  .story-heading {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }
  .story-body {
    font-size: 0.95rem;
  }

  /* cards */
  .comparison-grid { grid-template-columns: 1fr; }
  .builder-cards { grid-template-columns: 1fr; }

  /* fees */
  .fee-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding: 0.875rem 1.25rem;
  }
  .fee-cell-pct { text-align: left; font-size: 1rem; }
  .fee-cell-dest { text-align: left; }
  .fee-header { display: none; }

  /* footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.75rem;
  }
  .footer-links { justify-content: center; }
  .footer-copy { text-align: center; }

  /* builders image behind text */
  .builders-hero-content {
    background-size: 35%;
    background-position: right center;
    min-height: 180px;
    padding: 1.5rem;
  }
  .builders-hero-img {
    height: 65%;
    right: 10px;
  }

  /* flow diagram */
  .flow-row { flex-wrap: wrap; gap: 0.5rem; }
  .flow-arrow { display: none; }
  .flow-node-split { flex-direction: column; }
  .flow-node-action { min-width: auto; align-self: flex-start; font-size: 1rem; padding: 0.4rem 0.75rem; }
  .flow-diagram { padding: 1rem; }
  .flow-pct { font-size: 0.9rem; }
  .flow-label { font-size: 0.75rem; }
  .flow-result { padding: 0.4rem 1rem; }
  .flow-result-text { font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .content-width { padding: 0 0.875rem; }

  .hero-headline {
    font-size: clamp(2.8rem, 12vw, 3.5rem);
    -webkit-text-stroke: 1.5px rgba(0,0,0,0.3);
    text-shadow:
      0 0 24px rgba(0,0,0,0.7),
      0 0 48px rgba(0,0,0,0.4),
      0 3px 0 var(--pink),
      0 6px 0 rgba(255,142,196,0.3);
  }
  .hero-sub {
    font-size: 0.6rem;
    padding: 0.45rem 0.6rem;
  }
  .hero-inner { padding: 0 0.5rem; }

  .feature-card {
    grid-template-columns: 10px 1fr;
    gap: 0.625rem;
    padding: 0.875rem 1rem;
  }
  .dot-icon { width: 10px; height: 10px; }
  .feature-title { font-size: 1rem; }
  .feature-desc { font-size: 0.85rem; }

  .math-plate { padding: 1rem; }
  .builder-card { padding: 1.25rem; }
  .comparison-card-inset { padding: 1rem; }
  .comparison-body { font-size: 0.85rem; }

  .story-heading { font-size: clamp(1.5rem, 7vw, 2rem); }
  .story-body { font-size: 0.875rem; }
  .kicker { font-size: 0.75rem; }

  /* builders: stack image below */
  .builders-hero {
    margin-bottom: 1rem;
  }
  .builders-hero-content {
    background: none;
    min-height: auto;
    padding: 1rem;
  }
  .builders-hero-img {
    position: relative;
    right: auto;
    top: auto;
    translate: none;
    height: auto;
    width: 50%;
    margin: 0.5rem auto 0;
    display: block;
  }
  .builders-hero-img.wiggle {
    animation: hat-wiggle 2.8s ease-in-out infinite;
  }

  .section-note { margin-top: 0.75rem; }
  .builders-section { padding-top: 2rem; }

  .section-note { font-size: 0.8rem; }
  .footer { padding: 1.5rem 0; }
}
