/* ══════════════════════════════════════════════════════
   Smarter Dev — Design Framework
   Variables, reset, base typography, layout utilities
   ══════════════════════════════════════════════════════ */

/* ── Reset ── */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

/* ── Design Tokens ── */
:root {
  /* Colors */
  --bg: #020408;
  --surface: #080c14;
  --cyan: #00d4ff;
  --green: #22c55e;
  --amber: #eab308;
  --rose: #ef4444;
  --gray: #5a7a96;
  --mid: #4a6078;
  --light: #8098b0;
  --white: #d4e0ec;

  /* Typography */
  --display: 'Bungee Hairline', sans-serif;
  --heading: 'Bruno Ace SC', sans-serif;
  --body: 'Inter', Arial, sans-serif;
  --mono: 'Courier New', monospace;

  /* Borders */
  --border-subtle: 1px solid rgba(0,212,255,.06);
  --border-hover: 1px solid rgba(0,212,255,.15);
  --border-active: 1px solid var(--cyan);

  /* Shadows */
  --glow-sm: 0 0 15px rgba(0,212,255,.15);
  --glow-md: 0 0 30px rgba(0,212,255,.03);
  --inset-glow: inset 0 0 20px rgba(0,212,255,.05);
}

/* ── Base ── */
html { scroll-behavior: smooth }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--light);
  /* `clip` keeps horizontal overflow hidden without making body a scroll
     container — required so `position: sticky` works for in-page nav. */
  overflow-x: clip;
  line-height: 1.7;
}

/* ── Typography ── */
.code-label {
  font-family: var(--heading);
  font-size: .65rem;
  color: var(--cyan);
  margin-bottom: 1rem;
  opacity: .75;
  letter-spacing: .08em;
}

.sec-h {
  font-family: var(--heading);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: .5rem;
  letter-spacing: .02em;
}

.sec-p {
  font-size: .9rem;
  color: var(--mid);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

/* ── Pitch Row ── */
.pitch-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.pitch-text .sec-p:last-child {
  margin-bottom: 0;
}
.pitch-term {
  width: 100%;
}
@media (max-width: 768px) {
  .pitch-row {
    grid-template-columns: 1fr;
  }
}

/* ── Layout Utilities ── */
section {
  position: relative;
  z-index: 1;
  padding: clamp(50px, 7vw, 90px) clamp(2rem, 6vw, 8rem);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
}

/* ── Footer ── */
.foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
  font-family: var(--heading);
  font-size: .55rem;
  color: var(--gray);
  border-top: 1px solid rgba(0,212,255,.04);
  position: relative;
  z-index: 1;
  letter-spacing: .06em;
  flex-wrap: wrap;
}
.foot a {
  color: var(--mid);
  text-decoration: none;
  transition: color .2s;
}
.foot a:hover {
  color: var(--cyan);
}
.foot-col {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.foot-col-meta {
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.foot-heading {
  color: var(--cyan);
  letter-spacing: .12em;
}
@media (max-width: 600px) {
  .foot { flex-direction: column; align-items: flex-start; gap: 1.5rem }
}

/* ── Responsive Breakpoints ── */
@media (max-width: 900px) {
  /* Tablet adjustments handled per-component */
}
@media (max-width: 600px) {
  /* Small tablet */
}
@media (max-width: 520px) {
  /* Mobile */
}
@media (max-width: 480px) {
  /* Small mobile */
}

/* ── Founder announcement banner + end-of-post CTA card ── */
.founder-banner {
  /* Clear the fixed .site-nav so the banner isn't tucked under it. */
  margin-top: 60px;
  /* Sit above the fixed #bg canvas (z-index:0) so the link is clickable. */
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 16px;
  padding: 13px clamp(2rem, 6vw, 4rem);
  background: linear-gradient(90deg, rgba(239,68,68,.14), rgba(239,68,68,.06) 60%, rgba(239,68,68,.1));
  border-top: 2px solid var(--rose);
  border-bottom: 1px solid rgba(239,68,68,.22);
  box-shadow: inset 0 12px 32px -16px rgba(239,68,68,.45);
  text-decoration: none;
  transition: background .25s, box-shadow .25s;
}
.founder-banner:hover {
  background: linear-gradient(90deg, rgba(239,68,68,.2), rgba(239,68,68,.1) 60%, rgba(239,68,68,.16));
  box-shadow: inset 0 12px 32px -14px rgba(239,68,68,.6);
}
.founder-banner .fb-pulse {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--rose); box-shadow: 0 0 12px var(--rose), 0 0 4px var(--rose);
  animation: pulse 2s infinite;
}
.founder-banner .fb-msg {
  font-family: var(--body); font-size: .86rem; color: var(--white);
  letter-spacing: .01em; line-height: 1.5;
}
.founder-banner .fb-msg b { color: #fff; font-weight: 700; }
.founder-banner .fb-cta {
  margin-left: auto; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 4px;
  border: 1px solid var(--rose);
  background: rgba(239,68,68,.12);
  font-family: var(--heading); font-size: .62rem; letter-spacing: .12em;
  color: #ff8a8a; white-space: nowrap; text-transform: uppercase;
  transition: background .25s, color .25s, box-shadow .25s;
}
.founder-banner .fb-cta .arr { transition: transform .25s; }
.founder-banner:hover .fb-cta {
  background: var(--rose); color: #fff;
  box-shadow: 0 0 18px rgba(239,68,68,.5);
}
.founder-banner:hover .fb-cta .arr { transform: translateX(4px); }

.founder-cta {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(239,68,68,.18);
  border-top: 2px solid var(--rose);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  box-shadow: inset 0 0 40px rgba(239,68,68,.03);
}
.founder-cta .fc-left { padding: 34px 36px 36px; }
.founder-cta .fc-right {
  border-left: 1px solid rgba(239,68,68,.12);
  padding: 30px 30px;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  background: rgba(239,68,68,.025);
}
.founder-cta .fc-eyebrow {
  display: flex; align-items: center; gap: 9px; margin-bottom: 20px;
}
.founder-cta .fc-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rose); box-shadow: 0 0 8px var(--rose);
}
.founder-cta .fc-eyebrow span:last-child {
  font-family: var(--heading); font-size: .55rem; letter-spacing: .14em; color: var(--rose);
}
.founder-cta .fc-head {
  font-family: var(--heading); font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--white); letter-spacing: .02em; line-height: 1.4;
  margin-bottom: 16px; text-wrap: pretty;
}
.founder-cta .fc-body {
  font-size: .86rem; color: var(--light); line-height: 1.75;
  margin-bottom: 26px; max-width: 460px;
}
.founder-cta .fc-left .btn-glow {
  color: var(--rose); border-color: var(--rose);
  box-shadow: 0 0 20px rgba(239,68,68,.2), inset 0 0 18px rgba(239,68,68,.06);
  padding: 13px 26px; font-size: .72rem;
}
.founder-cta .fc-left .btn-glow:hover {
  background: var(--rose); color: #fff;
  box-shadow: 0 0 30px rgba(239,68,68,.4);
}
.founder-cta .fc-prompt {
  font-family: var(--mono); font-size: .7rem; color: var(--gray); margin-bottom: 6px;
}
.founder-cta .fc-perm {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--mono); font-size: .76rem;
  white-space: nowrap;
}
.founder-cta .fc-perm .glyph {
  padding: 2px 9px; letter-spacing: .05em; flex-shrink: 0;
  border: 1px solid rgba(90,122,150,.3);
  color: var(--gray); background: rgba(90,122,150,.06);
}
.founder-cta .fc-perm.fc-hero .glyph {
  border-color: var(--rose); color: var(--rose);
  background: rgba(239,68,68,.1); box-shadow: 0 0 8px rgba(239,68,68,.25);
}
.founder-cta .fc-perm .lbl {
  font-family: var(--heading); font-size: .52rem; letter-spacing: .1em; color: var(--gray);
  white-space: nowrap;
}
.founder-cta .fc-perm .price {
  margin-left: auto; font-family: var(--mono); font-size: .72rem; color: var(--mid);
  white-space: nowrap;
}
.founder-cta .fc-perm.fc-hero .lbl { color: var(--white); }
.founder-cta .fc-perm.fc-hero .price { color: var(--rose); }
@media (max-width: 720px) {
  .founder-cta { grid-template-columns: 1fr; }
  .founder-cta .fc-right { border-left: none; border-top: 1px solid rgba(239,68,68,.12); }
  .founder-banner { flex-wrap: wrap; gap: 10px; }
  .founder-banner .fb-cta { margin-left: 0; }
}
