/* =========================================================================
   explainmyrepo — landing
   Aesthetic: dark, cinematic, developer-luxury. Prism/refraction motif.
   Display: Clash Display · Body: General Sans · Mono: JetBrains Mono
   ========================================================================= */

:root {
  --bg:        #07080c;
  --bg-2:      #0a0c13;
  --bg-3:      #0e111b;
  --ink:       #eceef7;
  --ink-2:     #c3c8da;
  --ink-dim:   #9097ad;
  --ink-faint: #5b6178;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);
  --card:      rgba(255,255,255,.026);
  --card-2:    rgba(255,255,255,.045);

  --mint:   #3df2c7;
  --mint-d: #25c9a3;
  --violet: #8b7dff;
  --blue:   #5b8bff;
  --lime:   #9ff06a;
  --coral:  #ff7aa2;
  --gold:   #ffc857;

  --spectrum: linear-gradient(90deg,#8b7dff 0%,#5b8bff 28%,#3df2c7 54%,#9ff06a 76%,#ff7aa2 100%);

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 56px);
  --radius: 18px;

  --font-display: "Clash Display", "General Sans", ui-sans-serif, sans-serif;
  --font-body: "General Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
strong, b { font-weight: 600; color: var(--ink); }
em { font-style: italic; color: var(--ink-2); }
code { font-family: var(--font-mono); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.skip-link {
  position: absolute; left: 14px; top: -60px; z-index: 200;
  background: var(--mint); color: #04130f; font-weight: 600;
  padding: 10px 16px; border-radius: 10px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

/* content sits in its own layer above the z-index:-1 atmosphere (avoids any
   stacking/capture ambiguity that could let the background overpaint the footer) */
.site-head { position: sticky; }
main, .site-foot { position: relative; z-index: 1; }

/* ===================== ATMOSPHERE ===================== */
.atmosphere { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .5; will-change: transform;
}
.aurora.a1 {
  width: 60vw; height: 60vw; left: -12vw; top: -16vw;
  background: radial-gradient(circle at 50% 50%, rgba(139,125,255,.55), transparent 65%);
  animation: drift1 26s ease-in-out infinite;
}
.aurora.a2 {
  width: 52vw; height: 52vw; right: -10vw; top: 6vh;
  background: radial-gradient(circle at 50% 50%, rgba(61,242,199,.42), transparent 64%);
  animation: drift2 32s ease-in-out infinite;
}
.aurora.a3 {
  width: 46vw; height: 46vw; left: 28vw; bottom: -18vw;
  background: radial-gradient(circle at 50% 50%, rgba(255,122,162,.3), transparent 66%);
  animation: drift3 38s ease-in-out infinite;
}
@keyframes drift1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(6vw,4vh) scale(1.12)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-5vw,6vh) scale(1.08)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0) scale(1.05)} 50%{transform:translate(4vw,-5vh) scale(.92)} }

.grain {
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .035; mix-blend-mode: overlay;
}
.vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% -10%, transparent 40%, rgba(0,0,0,.5) 100%),
    radial-gradient(100% 100% at 50% 120%, transparent 55%, rgba(0,0,0,.6) 100%);
}

/* ===================== HEADER ===================== */
.site-head {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(to bottom, rgba(7,8,12,.82), rgba(7,8,12,.5));
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 32px; height: 32px; display: inline-block; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--ink-2); }
.brand-name b { color: var(--ink); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14.5px; color: var(--ink-dim); font-weight: 500; transition: color .2s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--ink) !important; background: var(--card-2);
  transition: border-color .2s var(--ease), background .2s var(--ease) !important;
}
.nav-cta:hover { border-color: rgba(61,242,199,.5); background: rgba(61,242,199,.08); }

/* ===================== SHARED ===================== */
.band { position: relative; padding-block: clamp(52px, 6vw, 86px); }
/* subtle chapter dividers give the long page rhythm without more cards */
.band::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(1100px, 88%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.09), transparent);
}
.section-head { max-width: 740px; margin-bottom: clamp(30px, 4vw, 48px); }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 20px;
}
.kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.section-head h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 4.6vw, 50px); line-height: 1.08; letter-spacing: -0.011em; word-spacing: 0.03em; color: var(--ink);
}
.section-head .sub { margin-top: 18px; font-size: clamp(16px, 1.6vw, 18.5px); color: var(--ink-dim); max-width: 640px; }

.prism-text {
  background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px;
  padding: 14px 24px; border-radius: 13px; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary {
  color: #04130f;
  background: linear-gradient(135deg, #5ff7d6, var(--mint) 55%, #46d6f0);
  box-shadow: 0 8px 30px -8px rgba(61,242,199,.55), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(61,242,199,.7), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-ghost { color: var(--ink); background: var(--card-2); border: 1px solid var(--line-2); }
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.07); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-row.center { justify-content: center; }

/* command well */
.cmd {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--line-2); border-radius: 14px;
  padding: 13px 13px 13px 18px; font-family: var(--font-mono); font-size: 14.5px;
  position: relative; overflow: hidden;
}
.cmd .prompt { color: var(--mint); font-weight: 700; flex-shrink: 0; }
.cmd code { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.cmd .tok { color: var(--ink); }
.cmd .arg { color: var(--violet); }
.copy-btn {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--ink-2);
  background: var(--card-2); border: 1px solid var(--line-2); border-radius: 9px;
  padding: 7px 12px; cursor: pointer; transition: all .2s var(--ease);
}
.copy-btn svg { width: 15px; height: 15px; }
.copy-btn:hover { color: var(--ink); border-color: rgba(61,242,199,.5); background: rgba(61,242,199,.1); }
.copy-btn.copied { color: var(--mint); border-color: rgba(61,242,199,.6); }

/* generic cards */
.card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.card-glow {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 20% 0%, rgba(61,242,199,.14), transparent 60%);
  transition: opacity .35s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: rgba(61,242,199,.34); background: var(--card-2); }
.card:hover .card-glow { opacity: 1; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ===================== HERO ===================== */
.hero { position: relative; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(44px, 6vw, 80px); }
.hero-grid {
  display: grid; grid-template-columns: 1.04fr 0.96fr; grid-template-rows: auto auto;
  column-gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero-lead { grid-column: 1; grid-row: 1; align-self: center; }
.hero-actions { grid-column: 1; grid-row: 2; align-self: start; }
.hero-art { grid-column: 2; grid-row: 1; align-self: center; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--ink-2);
  background: var(--card-2); border: 1px solid var(--line-2); border-radius: 100px; padding: 7px 16px;
  margin-bottom: 26px;
}
.badge i { color: var(--ink-faint); font-style: normal; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: pulse-dot 2.4s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1; transform:scale(1)} 50%{opacity:.45; transform:scale(.82)} }

.hero-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(38px, 6.2vw, 76px); line-height: 1.04; letter-spacing: -0.012em; word-spacing: 0.04em; color: var(--ink);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }

.lede {
  margin-top: 26px; font-size: clamp(16.5px, 1.85vw, 20px); line-height: 1.62; color: var(--ink-2); max-width: 560px;
}
.lede strong { color: var(--ink); }

.hero-actions { margin-top: 30px; }
.hero-actions .cta-row { margin-top: 0; }
.hero-cmd { margin-top: 24px; max-width: 540px; }
.hero-cmd .caret {
  display: inline-block; width: 8px; height: 1.05em; margin-left: 2px; vertical-align: -2px;
  background: var(--mint); animation: blink 1.1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
/* typing shimmer sweep over the command */
.hero-cmd::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(61,242,199,.16) 50%, transparent 65%);
  transform: translateX(-120%); animation: shimmer 4.5s ease-in-out infinite 1.5s;
}
@keyframes shimmer { 0%{transform:translateX(-120%)} 40%,100%{transform:translateX(120%)} }

.hero-chips {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px;
  font-size: 14.5px; color: var(--ink-dim);
}
.hero-chips li { display: inline-flex; align-items: center; gap: 9px; }
.chip-ico { width: 16px; height: 16px; border-radius: 5px; background: var(--spectrum); opacity: .9; flex-shrink: 0; box-shadow: 0 0 10px rgba(61,242,199,.3); }

/* hero art — a deck of real explainer pages it produced */
.hero-art { position: relative; }
.hero-art .show-aura { position: absolute; inset: -16% -10% -12% -10%; z-index: 0; background: radial-gradient(60% 58% at 62% 44%, rgba(61,242,199,.22), rgba(124,108,255,.15) 46%, transparent 74%); filter: blur(42px); pointer-events: none; }

/* the deck of real explainer pages (the "after" proof) */
.show-deck { position: relative; z-index: 1; padding: 16px 10px 6px 26px; }
/* a faint surface so the dark screenshots lift off the dark page instead of dissolving */
.show-deck::before { content: ""; position: absolute; inset: 6px 0 -2px 18px; z-index: 0; border-radius: 16px;
  background: linear-gradient(160deg, rgba(61,242,199,.05), rgba(124,108,255,.05)); border: 1px solid rgba(255,255,255,.05); }
.deck-card { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); background: #0c0f16; }
.deck-card img { display: block; width: 100%; height: auto; }
.deck-front { position: relative; z-index: 3; margin: 0; animation: float-art 9s ease-in-out infinite;
  box-shadow: 0 40px 90px rgba(0,0,0,.7), 0 0 0 1px rgba(61,242,199,.14), 0 0 60px rgba(61,242,199,.08); }
.deck-front .show-img { border-radius: 0; box-shadow: none; }
.deck-back { position: absolute; top: -2%; right: -5%; width: 84%; z-index: 1; transform: rotate(3.4deg); transform-origin: top right; opacity: .58; filter: saturate(.82) brightness(.78); box-shadow: 0 30px 70px rgba(0,0,0,.6); }

/* mac-style browser chrome on the front card */
.frame-bar { display: flex; align-items: center; padding: 9px 13px; background: rgba(17,21,30,.97); border-bottom: 1px solid rgba(255,255,255,.06); }
.frame-bar .d { width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; }
.frame-bar .d.r { background: #ff5f57; } .frame-bar .d.y { background: #febc2e; } .frame-bar .d.g { background: #28c840; }
.frame-bar .frame-url { margin-left: 10px; font: 600 11px/1 var(--font-mono); letter-spacing: .02em; color: #8b93a7; }

/* the dull repo it started from (the "before") — in the dark gutter beside the deck, clear of all text */
.repo-before { position: absolute; left: -17%; bottom: 17%; z-index: 4; width: 150px; padding: 12px 14px 14px; border-radius: 10px;
  background: rgba(14,16,21,.98); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 48px rgba(0,0,0,.66); filter: grayscale(1); }
.repo-before .rb-bar { display: flex; align-items: center; gap: 8px; font: 600 11px/1 var(--font-mono); color: #b3b9c7; }
.repo-before .rb-dot { width: 13px; height: 13px; border-radius: 3px; background: #444a57; flex-shrink: 0; }
.repo-before .rb-lines { display: block; margin-top: 11px; }
.repo-before .rb-lines i { display: block; height: 5px; border-radius: 3px; background: #353b46; margin-top: 6px; }
.repo-before .rb-lines i:nth-child(1){width:96%} .repo-before .rb-lines i:nth-child(2){width:74%} .repo-before .rb-lines i:nth-child(3){width:90%} .repo-before .rb-lines i:nth-child(4){width:62%} .repo-before .rb-lines i:nth-child(5){width:80%}
.repo-before .rb-tag { display: block; margin-top: 13px; font: 600 9px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #7a8090; }

/* the beam: visibly connects "before" (gutter) -> "after" deck (up-right) */
.beam { position: absolute; left: -2%; bottom: 28%; z-index: 6; width: 17%; height: 2.5px;
  background: linear-gradient(90deg, transparent, rgba(61,242,199,.5) 30%, var(--mint)); box-shadow: 0 0 18px rgba(61,242,199,.75);
  transform: rotate(-26deg); transform-origin: left center; }
.beam::after { content: ""; position: absolute; right: -3px; top: -4px; border-left: 10px solid var(--mint); border-top: 5px solid transparent; border-bottom: 5px solid transparent; filter: drop-shadow(0 0 8px var(--mint)); }
/* names the mechanism, in the dark gutter (clear of the page): repo --[npx explainmyrepo]--> explainer */
.beam-tag { position: absolute; left: -16%; bottom: 42%; z-index: 7;
  font: 700 10.5px/1 var(--font-mono); letter-spacing: .02em; color: #04130f;
  background: linear-gradient(135deg, #5ff7d6, var(--mint)); padding: .5em .72em; border-radius: 7px;
  box-shadow: 0 6px 18px rgba(61,242,199,.32); white-space: nowrap; }
@media (max-width: 900px) { .beam-tag { display: none; } }

/* reach badges + caption */
.hero-art .hero-reach { position: absolute; right: 1%; top: 0; z-index: 5; display: flex; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.hero-art .hero-reach li { font: 600 11px/1 var(--font-mono); letter-spacing: .02em; padding: .45em .75em; border-radius: 999px; color: #d6dbe8; background: rgba(12,15,22,.8); border: 1px solid rgba(255,255,255,.15); box-shadow: 0 6px 20px rgba(0,0,0,.45); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.hero-art figcaption { position: relative; z-index: 1; margin-top: 18px; text-align: center; font: 500 12.5px/1.5 var(--font-mono); color: var(--ink-dim); }
.hero-art .live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); margin-right: 7px; vertical-align: 1px; }
@media (max-width: 900px) {
  .repo-before { left: 0; width: 140px; }
  .beam { display: none; }
  .hero-art .hero-reach { right: 2%; }
}
@keyframes float-art { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
.ha-deck {
  position: relative; width: 100%; max-width: 500px; margin-inline: auto;
  aspect-ratio: 1 / 0.84; animation: float-art 9s ease-in-out infinite;
}
.ha-deck-glow {
  position: absolute; inset: 8% 6%; z-index: 0; border-radius: 50%;
  background: radial-gradient(58% 56% at 62% 42%, rgba(61,242,199,.26), rgba(139,125,255,.12) 55%, transparent 72%);
  filter: blur(22px);
}
.ha-peek {
  position: absolute; width: 52%; z-index: 1; border-radius: 11px; overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: 0 30px 60px -32px rgba(0,0,0,.9);
}
.ha-peek img { display: block; width: 100%; height: auto; aspect-ratio: 1120 / 760; object-fit: cover; object-position: top center; }
.ha-peek-a { top: 4%; right: -5%; transform: rotate(3deg); }       /* cream — clearly different */
.ha-peek-b { bottom: 4%; left: -5%; z-index: 2; transform: rotate(-3deg); }

.ha-window {
  position: absolute; left: 8%; right: 8%; top: 16%; z-index: 3;
  border-radius: 13px; overflow: hidden; background: #0f1320; border: 1px solid var(--line-2);
  box-shadow: 0 48px 96px -34px rgba(0,0,0,.92), 0 0 0 1px rgba(61,242,199,.07);
}
.ha-bar { display: flex; align-items: center; gap: 10px; padding: 9px 13px; background: #151a29; border-bottom: 1px solid rgba(255,255,255,.06); }
.ha-dots { display: inline-flex; gap: 5px; flex-shrink: 0; }
.ha-dots i { width: 8px; height: 8px; border-radius: 50%; background: #2c3550; }
.ha-url { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; color: #7e93b4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ha-live { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: var(--lime); box-shadow: 0 0 9px var(--lime); animation: ha-pulse 1.9s ease-in-out infinite; }
@keyframes ha-pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.ha-shot { display: block; width: 100%; height: auto; aspect-ratio: 1120 / 720; object-fit: cover; object-position: top center; }

.ha-origin {
  position: absolute; top: 7%; left: -1%; z-index: 4; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-2);
  background: rgba(10,12,20,.82); border: 1px solid var(--line-2); border-radius: 100px; padding: 7px 13px;
  backdrop-filter: blur(5px); box-shadow: 0 10px 24px -12px rgba(0,0,0,.8);
}
.ha-origin-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--spectrum); box-shadow: 0 0 8px rgba(61,242,199,.4); }
.ha-badges { position: absolute; bottom: -3%; right: 1%; z-index: 4; display: flex; gap: 7px; list-style: none; }
.ha-badges li {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .02em; padding: 6px 11px; border-radius: 100px;
  backdrop-filter: blur(5px); animation: chip-lit 4.2s ease-in-out infinite;
}
.ha-badges .b-a { color: #7af0d4; background: rgba(7,12,14,.7); border: 1px solid rgba(61,242,199,.42); }
.ha-badges .b-b { color: #b3a8ff; background: rgba(10,9,18,.7); border: 1px solid rgba(139,125,255,.46); animation-delay: .5s; }
.ha-badges .b-c { color: #ff9bb7; background: rgba(16,8,12,.7); border: 1px solid rgba(255,122,162,.42); animation-delay: 1s; }
@keyframes chip-lit { 0%,72%,100%{ filter:none } 24%{ filter:drop-shadow(0 0 7px currentColor) } }

/* ===================== PROBLEM ===================== */
.problem .wrap { max-width: 980px; }
.big-quote {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(27px, 3.8vw, 46px); line-height: 1.14; letter-spacing: -0.011em; word-spacing: 0.03em; color: var(--ink);
}
.problem-foot { margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: 30px; }
.problem-foot > p { font-size: clamp(16px,1.7vw,19px); color: var(--ink-dim); max-width: 760px; }
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.twin-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-left: 2px solid rgba(255,122,162,.5);
  border-radius: 14px; padding: 22px 24px;
}
.twin-card p { font-size: 15.5px; color: var(--ink-2); }
.twin-ico { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--coral); background: rgba(255,122,162,.1); border: 1px solid rgba(255,122,162,.25); }
.twin-ico svg { width: 20px; height: 20px; }

/* ===================== KEEP CARDS ===================== */
.keep-card .card-ico, .seen-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  color: var(--mint); background: rgba(61,242,199,.08); border: 1px solid rgba(61,242,199,.22);
}
.keep-card .card-ico svg { width: 24px; height: 24px; }
.keep-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; margin-bottom: 11px; }
.keep-card p { font-size: 15.5px; color: var(--ink-dim); }
.keep-card code { background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 5px; font-size: .9em; color: var(--mint); }
.card-tag {
  display: inline-block; margin-top: 20px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-dim); border: 1px solid var(--line-2); border-radius: 100px; padding: 5px 12px;
}

/* ===================== PROCESS ===================== */
.pipeline {
  margin-bottom: 44px; padding: 30px clamp(8px,2vw,28px); background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.pipeline-svg { width: 100%; height: auto; display: block; overflow: visible; }
.pipe-energy { stroke-dasharray: 150 1100; stroke-dashoffset: 0; animation: pipe-run 4.5s linear infinite; opacity: .95; }
@keyframes pipe-run { to { stroke-dashoffset: -1250; } }
.pipe-station circle { fill: #11141f; stroke: var(--line-2); stroke-width: 2; animation: station-lit 4.2s ease-in-out infinite; animation-delay: calc(var(--i) * .5s); }
@keyframes station-lit { 0%,100%{ fill:#11141f; stroke:rgba(255,255,255,.18) } 22%{ fill:#0c2a26; stroke:#3df2c7; filter:drop-shadow(0 0 8px rgba(61,242,199,.7)) } }
.pipe-station.ship circle { stroke: var(--lime); fill: #16240f; }
.pipe-station.gate circle { stroke: var(--coral); }
.pst { font-family: var(--font-mono); font-size: 12px; fill: var(--ink-faint); }
.psl { font-family: var(--font-body); font-weight: 600; font-size: 15px; fill: var(--ink-2); letter-spacing: -0.01em; }
.pipe-station.ship .psl { fill: var(--lime); }
.pipe-station.gate .psl { fill: var(--coral); }
.pipe-loop { animation: dash-flow 1.2s linear infinite; }
@keyframes dash-flow { to { stroke-dashoffset: -22; } }
.pipe-looptext { font-style: italic; }

.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; max-width: 1000px; }
.steps li {
  position: relative; padding-left: 30px; font-size: 15.5px; color: var(--ink-dim); line-height: 1.5;
}
.steps li::before {
  counter-increment: s; content: counter(s); position: absolute; left: 0; top: 1px;
  font-family: var(--font-mono); font-size: 11px; color: var(--mint);
  width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid rgba(61,242,199,.3); border-radius: 6px;
}
.steps li b { color: var(--ink); }

/* ===================== GATE ===================== */
.gate-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(28px,4vw,56px); align-items: center; }
.gate-art {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.gate-svg { width: 100%; height: auto; display: block; overflow: visible; }
.g-label { letter-spacing: .04em; }
.g-flow { stroke-dasharray: 4 5; animation: dash-flow 1s linear infinite; }
.g-step.ship rect { animation: ship-glow 2.6s ease-in-out infinite; }
@keyframes ship-glow { 0%,100%{ filter: drop-shadow(0 0 4px rgba(159,240,106,.4)) } 50%{ filter: drop-shadow(0 0 14px rgba(159,240,106,.8)) } }
.g-checks .gc { animation: check-pop 4s ease-in-out infinite; }
.g-checks .c2 { animation-delay: .3s; } .g-checks .c3 { animation-delay: .6s; }
.g-checks .c4 { animation-delay: .9s; } .g-checks .c5 { animation-delay: 1.2s; }
@keyframes check-pop { 0%,70%,100%{ filter:none } 18%{ filter: drop-shadow(0 0 7px rgba(61,242,199,.9)) } }
.g-refine { animation: dash-flow 1.4s linear infinite; }

.gate-questions .gq-lead { font-size: 16px; color: var(--ink-dim); margin-bottom: 24px; }
.gate-questions .gq-lead strong { color: var(--mint); }
.questions { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.questions li {
  display: flex; gap: 16px; align-items: center;
  background: linear-gradient(100deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid var(--line); border-radius: 13px; padding: 16px 20px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.questions li:hover { border-color: rgba(61,242,199,.34); transform: translateX(4px); background: rgba(61,242,199,.04); }
.q-no {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #04130f;
  background: linear-gradient(135deg, var(--mint), var(--mint-d));
}
.q-text { font-size: 16px; color: var(--ink); font-weight: 500; }

.bar-strip {
  margin-top: 26px; display: flex; gap: 22px; align-items: center;
  background: rgba(61,242,199,.05); border: 1px solid rgba(61,242,199,.2); border-radius: 14px; padding: 22px 24px;
}
.bar-num {
  flex-shrink: 0; font-family: var(--font-display); font-weight: 700; font-size: 50px; line-height: 1;
  color: var(--mint); display: flex; flex-direction: column;
}
.bar-num small { font-family: var(--font-mono); font-weight: 400; font-size: 11px; color: var(--ink-dim); letter-spacing: .04em; margin-top: 6px; }
.bar-strip p { font-size: 14.5px; color: var(--ink-dim); }

/* ===================== GET SEEN ===================== */
.seen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,4vw,56px); align-items: center; }
.seen-points { display: flex; flex-direction: column; gap: 22px; }
.seen-pt { display: flex; gap: 18px; align-items: flex-start; }
.seen-ico { flex-shrink: 0; margin-bottom: 0; }
.seen-ico svg { width: 22px; height: 22px; }
.seen-pt h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; margin-bottom: 6px; }
.seen-pt p { font-size: 15px; color: var(--ink-dim); }
.seen-pt code { background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 5px; font-size: .85em; color: var(--mint); }

.seen-art { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.lb-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); display: block; margin-bottom: 9px; }
.lb-label.good { color: var(--mint); }
.link-bare {
  background: var(--bg-2); border: 1px dashed var(--line-2); border-radius: 12px; padding: 16px 18px;
}
.lb-link { font-family: var(--font-mono); font-size: 14px; color: var(--ink-faint); text-decoration: underline; text-decoration-color: rgba(255,255,255,.18); }
.link-arrow { display: grid; place-items: center; color: var(--ink-faint); }
.link-arrow svg { width: 22px; height: 22px; }
.link-rich .rich-card {
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 50px -18px rgba(0,0,0,.7), 0 0 0 1px rgba(61,242,199,.08);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.link-rich:hover .rich-card { transform: translateY(-4px); box-shadow: 0 28px 60px -18px rgba(0,0,0,.8), 0 0 0 1px rgba(61,242,199,.25); }
.rich-thumb svg { width: 100%; height: auto; display: block; }
.rich-meta { display: flex; gap: 13px; padding: 16px 18px; align-items: flex-start; }
.rich-fav { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; background: #0b0d14; border: 1px solid var(--line-2); display: grid; place-items: center; }
.rich-fav svg { width: 17px; height: 17px; }
.rich-title { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; color: var(--ink); line-height: 1.25; }
.rich-desc { font-size: 13px; color: var(--ink-dim); margin-top: 4px; line-height: 1.4; }
.rich-domain { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); margin-top: 8px; text-transform: uppercase; letter-spacing: .04em; }

/* ===================== DOORS ===================== */
.door-card { padding-top: 34px; }
.door-num { font-family: var(--font-mono); font-size: 12px; color: var(--mint); letter-spacing: .1em; }
.door-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin: 10px 0 10px; letter-spacing: -0.01em; }
.door-card p { font-size: 15px; color: var(--ink-dim); margin-bottom: 18px; }
.door-mono { display: block; font-size: 13px; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: 9px; padding: 10px 13px; }

/* ===================== EXAMPLES ===================== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ex-card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.ex-card:hover { transform: translateY(-6px); border-color: rgba(61,242,199,.34); box-shadow: 0 24px 50px -22px rgba(0,0,0,.8); }
.ex-swatch {
  display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border-bottom: 1px solid var(--line); background: #0a0c12;
}
.ex-swatch img {
  width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center;
  transition: transform .6s var(--ease), filter .4s var(--ease); filter: saturate(1.02);
}
/* soft top fade so the live page's own nav blends into the card */
.ex-swatch::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), inset 0 -40px 50px -30px rgba(7,8,12,.7);
}
.ex-card:hover .ex-swatch img { transform: scale(1.045); filter: saturate(1.12) brightness(1.04); }
.ex-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.ex-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.ex-name .src { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 11.5px; color: var(--ink-faint); margin-top: 4px; letter-spacing: 0; }
.ex-pitch { font-size: 14.5px; color: var(--ink-dim); margin: 13px 0 18px; flex: 1; }
.ex-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--mint); }
.ex-link .arr { transition: transform .25s var(--ease); }
.ex-card:hover .ex-link .arr { transform: translate(2px,-2px); }

/* ===================== GET STARTED ===================== */
.gs-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px,3.5vw,44px); align-items: start; }
.gs-doors { display: flex; flex-direction: column; gap: 20px; }
.cmd-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.cmd-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; flex-wrap: wrap; }
.door-tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #04130f; background: var(--mint); border-radius: 100px; padding: 4px 11px; font-weight: 700; }
.door-tag.alt { background: var(--violet); color: #0a0814; }
.cmd-card-top h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.cmd-sub { font-size: 14.5px; color: var(--ink-dim); margin-bottom: 16px; }
.cmd-card .cmd { font-size: 13.5px; }
.cmd-eg { font-size: 13px; color: var(--ink-faint); margin-top: 12px; }
.cmd-eg code { color: var(--ink-dim); }

.gs-side { display: flex; flex-direction: column; gap: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.gs-row .gs-h { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-bottom: 7px; }
.gs-row p { font-size: 14.5px; color: var(--ink-dim); }

.honest-note {
  display: flex; gap: 13px; align-items: flex-start; margin-top: 30px;
  background: rgba(255,200,87,.05); border: 1px solid rgba(255,200,87,.22); border-radius: 13px; padding: 18px 22px;
  font-size: 14px; color: var(--ink-dim); max-width: 920px;
}
.honest-note strong { color: var(--gold); }
.honest-note code { color: var(--ink-2); background: rgba(255,255,255,.06); padding: 1px 5px; border-radius: 4px; font-size: .9em; }
.hn-dot { flex-shrink: 0; margin-top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

/* ===================== FINAL CTA ===================== */
.final-card {
  position: relative; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, rgba(61,242,199,.06), rgba(139,125,255,.05));
  border: 1px solid var(--line-2); border-radius: 26px; padding: clamp(44px,6vw,72px) clamp(24px,5vw,64px);
}
.final-glow { position: absolute; inset: -40% 20% auto; height: 70%; background: radial-gradient(60% 60% at 50% 0%, rgba(61,242,199,.22), transparent 70%); pointer-events: none; }
.final-card h2 { position: relative; font-family: var(--font-display); font-weight: 600; font-size: clamp(28px,4.4vw,50px); line-height: 1.08; letter-spacing: -0.011em; word-spacing: 0.03em; }
.final-card > p { position: relative; max-width: 620px; margin: 18px auto 0; font-size: clamp(16px,1.7vw,18.5px); color: var(--ink-2); }
.final-card .hero-cmd { position: relative; margin: 30px auto 26px; max-width: 540px; text-align: left; }

/* ===================== FOOTER ===================== */
.site-foot { border-top: 1px solid var(--line); padding-block: 48px; background: rgba(7,8,12,.6); }
.foot-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand .brand-name { font-size: 18px; }
.foot-tag { font-size: 13px; color: var(--ink-faint); margin-top: 2px; }
.foot-credit { font-size: 14.5px; color: var(--ink-dim); text-align: right; max-width: 460px; }
.foot-credit strong { color: var(--ink); }
.foot-credit a { color: var(--mint); border-bottom: 1px solid rgba(61,242,199,.3); transition: border-color .2s var(--ease); }
.foot-credit a:hover { border-color: var(--mint); }
.foot-fine { display: block; margin-top: 8px; font-size: 12.5px; color: var(--ink-faint); }
.foot-fine a { color: var(--ink-dim); border: none; }
.foot-fine a:hover { color: var(--mint); }

/* ===================== REVEAL ANIMATIONS ===================== */
.js .reveal-up { opacity: 0; transform: translateY(20px); transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal-up.in { opacity: 1; transform: none; }
.js .hero-title .reveal-line { display: inline-block; transform: translateY(108%); transition: transform .95s cubic-bezier(.16,.84,.18,1); transition-delay: var(--d, 0s); }
.js .hero-title .reveal-line.in { transform: translateY(0); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 28px; column-gap: 0; }
  .hero-lead, .hero-actions, .hero-art { grid-column: 1; grid-row: auto; align-self: stretch; }
  .hero-art { max-width: 540px; margin-inline: auto; }
  .hero-actions { margin-top: 6px; }
  .gate-grid, .seen-grid { grid-template-columns: 1fr; }
  .gs-grid { grid-template-columns: 1fr; }
  .grid-3, .gallery { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .twin { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  /* purpose-built mobile pacing: tighter, consistent rhythm — no cavernous gaps */
  .band { padding-block: 50px; }
  .hero { padding-top: 26px; padding-bottom: 40px; }
  .section-head { margin-bottom: 26px; }
  .section-head .sub { font-size: 16px; }

  .grid-3, .gallery { grid-template-columns: 1fr; gap: 16px; }
  .grid-3 { gap: 14px; }

  /* lift the small body copy out of "microscopic" territory */
  .card { padding: 24px 22px; }
  .keep-card p, .door-card p, .seen-pt p, .twin-card p, .gs-row p,
  .ex-pitch, .steps li, .bar-strip p, .cmd-sub, .gate-questions .gq-lead { font-size: 15.5px; }
  .q-text { font-size: 15.5px; }
  .keep-card h3, .door-card h3 { font-size: 20px; }

  .bar-strip { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cmd { font-size: 12.5px; padding-left: 14px; gap: 9px; align-items: flex-start; }
  /* let the command wrap (keeps <github-url> visible) instead of ellipsis-clipping it */
  .cmd code { white-space: normal; overflow-wrap: break-word; overflow: visible; text-overflow: clip; line-height: 1.55; }
  .copy-btn .copy-label { display: none; }
  .copy-btn { padding: 8px; margin-top: 1px; }

  .foot-inner { flex-direction: column; }
  .foot-credit { text-align: left; }
  .hero-chips { gap: 8px 16px; }
  /* trim the header + badge so they don't eat above-the-fold space */
  .head-inner { height: 56px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-name { font-size: 16px; }
  .nav-cta { padding: 7px 13px; font-size: 13.5px; }
  .badge { font-size: 11.5px; padding: 6px 13px; margin-bottom: 20px; }
  .lede { font-size: 16px; line-height: 1.58; }

  /* keep the wide pipeline legible: a swipeable strip rather than a squashed sliver */
  .pipeline { padding: 20px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pipeline-svg { min-width: 660px; }
  .twin { gap: 14px; }
  .steps { gap: 12px; }
  .problem-foot { margin-top: 28px; gap: 22px; }
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .js .reveal-up, .js .hero-title .reveal-line { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-cmd::after, .ha-in .ph { display: none; }
  .ha-fan .fan { opacity: .8; }
}
