@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=IBM+Plex+Mono:wght@400;600&family=Inter:wght@400;500;600&display=swap');

/* ============================================================
   BOTMATRIX — RESET & BASE
   Naming: semantic kebab-case (block--element pattern)
   Layout: CSS Grid primary, Flex secondary
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #F5F2EB;
  color: #111010;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --ink:        #111010;
  --ivory:      #F5F2EB;
  --ivory-dark: #EAE6DC;
  --ivory-mid:  #DDD8CC;
  --red:        #D42B2B;
  --red-dark:   #A81F1F;
  --steel:      #3D6B9E;
  --steel-dark: #2B5080;
  --steel-light:#EBF1F8;
  --rule:       #C8C2B4;
  --muted:      #5A5650;
  --white:      #FDFCF9;

  --sp-1:  clamp(0.25rem, 0.5vw, 0.5rem);
  --sp-2:  clamp(0.5rem,  1vw,   0.75rem);
  --sp-3:  clamp(0.75rem, 1.5vw, 1rem);
  --sp-4:  clamp(1rem,    2vw,   1.5rem);
  --sp-5:  clamp(1.5rem,  3vw,   2rem);
  --sp-6:  clamp(2rem,    4vw,   3rem);
  --sp-7:  clamp(3rem,    6vw,   4.5rem);
  --sp-8:  clamp(4rem,    8vw,   6rem);

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

  --shadow-sm:  0 1px 3px rgba(17,16,16,0.10), 0 1px 2px rgba(17,16,16,0.06);
  --shadow-md:  0 4px 12px rgba(17,16,16,0.10), 0 2px 6px rgba(17,16,16,0.06);
  --shadow-lg:  0 12px 32px rgba(17,16,16,0.12), 0 4px 12px rgba(17,16,16,0.08);

  --border:     1px solid var(--rule);
  --border-ink: 2px solid var(--ink);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 900; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
h4 { font-size: clamp(1rem, 1.8vw, 1.2rem); }

p {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  color: var(--muted);
  max-width: 68ch;
}

p.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink);
  font-weight: 500;
  max-width: 60ch;
}

a {
  color: var(--steel);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}

a:hover { color: var(--red); }

strong { font-weight: 600; color: var(--ink); }

code, .mono {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 0.875em;
  background: var(--ivory-dark);
  padding: 0.1em 0.4em;
  border-radius: var(--radius-sm);
  color: var(--ink);
}

/* ============================================================
   LAYOUT — CONTAINER
   ============================================================ */
.wrap {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left:  clamp(1.25rem, 5vw, 3rem);
  padding-right: clamp(1.25rem, 5vw, 3rem);
  width: 100%;
}

/* ============================================================
   HORIZONTAL RULE / DIVIDERS
   ============================================================ */
.rule-thick {
  border: none;
  border-top: var(--border-ink);
  margin: var(--sp-5) 0;
}

.rule-thin {
  border: none;
  border-top: var(--border);
  margin: var(--sp-4) 0;
}

/* ============================================================
   SITE HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-bottom 0.3s ease;
}

.site-header.scrolled {
  background: rgba(245, 242, 235, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-3);
  padding-bottom: var(--sp-3);
  gap: var(--sp-4);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  flex-shrink: 0;
}

.site-header__logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.site-header__wordmark {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.site-header__wordmark span {
  color: var(--red);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  list-style: none;
}

.site-nav__link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.18s ease;
  position: relative;
  padding-bottom: 2px;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.22s ease;
}

.site-nav__link:hover,
.site-nav__link.active {
  color: var(--red);
}

.site-nav__link:hover::after,
.site-nav__link.active::after {
  width: 100%;
}

.site-header__cta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 36px;
  height: 36px;
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.65em 1.4em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

.btn--primary:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.btn--red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--ivory);
}

.btn--ghost-light {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(245,242,235,0.5);
}

.btn--ghost-light:hover {
  background: rgba(245,242,235,0.15);
  border-color: var(--ivory);
  color: var(--ivory);
}

.btn--steel {
  background: var(--steel);
  color: #fff;
  border-color: var(--steel);
}

.btn--steel:hover {
  background: var(--steel-dark);
  border-color: var(--steel-dark);
  box-shadow: var(--shadow-md);
}

.btn--lg {
  font-size: 0.9rem;
  padding: 0.85em 2em;
}

/* ============================================================
   EYEBROW LABELS
   ============================================================ */
.eyebrow {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  padding: 0.3em 0.8em;
  border: 1px solid var(--red);
  border-radius: var(--radius-sm);
  margin-bottom: var(--sp-3);
  background: transparent;
}

.eyebrow--steel {
  color: var(--steel);
  border-color: var(--steel);
}

.eyebrow--ink {
  color: var(--ink);
  border-color: var(--ink);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 47px,
      rgba(245,242,235,0.03) 47px,
      rgba(245,242,235,0.03) 48px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 47px,
      rgba(245,242,235,0.03) 47px,
      rgba(245,242,235,0.03) 48px
    );
  padding-top: clamp(7rem, 14vw, 10rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,43,43,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(61,107,158,0.10) 0%, transparent 65%);
  pointer-events: none;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
}

.hero-content h1 {
  color: var(--ivory);
  line-height: 1.08;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(245,242,235,0.7);
  max-width: 52ch;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
  margin-top: var(--sp-2);
}

.hero-meta {
  display: flex;
  gap: var(--sp-4);
  margin-top: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(245,242,235,0.12);
}

.hero-meta__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-meta__number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--ivory);
}

.hero-meta__label {
  font-size: 0.72rem;
  color: rgba(245,242,235,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'IBM Plex Mono', monospace;
}

.hero-image-slot {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(245,242,235,0.12);
  aspect-ratio: 4/3;
  background: rgba(245,242,235,0.04);
}

.hero-image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

.hero-image-slot__badge {
  position: absolute;
  bottom: var(--sp-3);
  left: var(--sp-3);
  background: var(--red);
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3em 0.7em;
  border-radius: var(--radius-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Ticker / headline band */
.hero-ticker {
  border-top: 1px solid rgba(245,242,235,0.12);
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
}

.hero-ticker__list {
  display: flex;
  gap: var(--sp-5);
  list-style: none;
  overflow: hidden;
  flex-wrap: wrap;
}

.hero-ticker__item {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: rgba(245,242,235,0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.hero-ticker__item::before {
  content: '//';
  color: var(--red);
  font-weight: 600;
}

/* ============================================================
   GENERIC CONTENT SECTION
   ============================================================ */
.content-section {
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-8);
  background: var(--ivory);
}

.content-section--alt {
  background: var(--white);
}

.content-section--dark {
  background: var(--ink);
}

.content-section--dark h2,
.content-section--dark h3,
.content-section--dark h4,
.content-section--dark strong {
  color: var(--ivory);
}

.content-section--dark p {
  color: rgba(245,242,235,0.65);
}

.content-section--dark p.lead {
  color: rgba(245,242,235,0.9);
}

.section-header {
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-5);
  border-bottom: var(--border);
}

.section-header--dark {
  border-bottom-color: rgba(245,242,235,0.12);
}

.section-header__kicker {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}

.section-header__rule {
  flex: 1;
  max-width: 80px;
  height: 2px;
  background: var(--red);
}

.section-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.section-body--single {
  grid-template-columns: 1fr;
  max-width: 72ch;
}

.section-body p + p { margin-top: var(--sp-3); }

/* ============================================================
   FEATURE CARDS GRID
   ============================================================ */
.cards-section {
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-8);
  background: var(--ivory);
}

.cards-section--alt {
  background: var(--white);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

.feature-card {
  background: var(--white);
  border: var(--border);
  border-top: 3px solid var(--ink);
  padding: var(--sp-5);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-top-color 0.22s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ink);
  transition: background 0.22s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.feature-card:hover::before {
  background: var(--red);
}

.feature-card__number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.1em;
}

.feature-card__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.feature-card__body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: none;
}

.feature-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--sp-2);
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-section {
  padding-top: var(--sp-7);
  padding-bottom: var(--sp-7);
  background: var(--ink);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-5);
  border-left: 2px solid rgba(245,242,235,0.12);
  position: relative;
}

.stat-item:first-child {
  border-left: 2px solid var(--red);
}

.stat-item__number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--ivory);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-item__suffix {
  color: var(--red);
}

.stat-item__label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: rgba(245,242,235,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-item__desc {
  font-size: 0.82rem;
  color: rgba(245,242,235,0.4);
  max-width: none;
  line-height: 1.5;
  margin-top: var(--sp-1);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-section {
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-8);
  background: var(--red);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: 'BOTMATRIX';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  font-size: clamp(5rem, 18vw, 18rem);
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.04em;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-5);
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  max-width: 18ch;
}

.cta-inner p {
  color: rgba(255,255,255,0.8);
  max-width: 48ch;
  margin-top: var(--sp-3);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: flex-start;
  flex-shrink: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-8);
  background: var(--ivory);
}

.faq-list {
  margin-top: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: var(--border-ink);
}

.faq-item {
  border-bottom: var(--border);
  padding: var(--sp-4) 0;
}

.faq-item__question {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-3);
  user-select: none;
}

.faq-item__toggle {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.2rem;
  color: var(--red);
  font-weight: 400;
  flex-shrink: 0;
  line-height: 1.15;
}

.faq-item__answer {
  margin-top: var(--sp-3);
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 72ch;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  padding-top: var(--sp-8);
  border-top: 3px solid var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(245,242,235,0.12);
}

.footer-brand__tagline {
  font-size: 0.9rem;
  color: rgba(245,242,235,0.55);
  margin-top: var(--sp-3);
  max-width: 36ch;
  line-height: 1.6;
}

.footer-brand__mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: rgba(245,242,235,0.3);
  margin-top: var(--sp-4);
  letter-spacing: 0.06em;
}

.footer-col__heading {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,235,0.4);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid rgba(245,242,235,0.1);
}

.footer-col__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-col__links a {
  font-size: 0.9rem;
  color: rgba(245,242,235,0.65);
  text-decoration: none;
  transition: color 0.18s ease;
  font-family: 'Inter', sans-serif;
}

.footer-col__links a:hover {
  color: var(--ivory);
}

.footer-bottom {
  padding-top: var(--sp-4);
  padding-bottom: var(--sp-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.footer-bottom__copy {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: rgba(245,242,235,0.3);
  letter-spacing: 0.04em;
}

.footer-bottom__links {
  display: flex;
  gap: var(--sp-4);
  list-style: none;
}

.footer-bottom__links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  color: rgba(245,242,235,0.3);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.18s ease;
}

.footer-bottom__links a:hover {
  color: rgba(245,242,235,0.7);
}

.footer-wordmark {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ivory);
  letter-spacing: -0.03em;
  text-decoration: none;
  display: inline-block;
  margin-bottom: var(--sp-2);
}

.footer-wordmark span {
  color: var(--red);
}

/* ============================================================
   IMAGES
   ============================================================ */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.img-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: var(--border);
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.form-group label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 0.65em 0.9em;
  width: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(61,107,158,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-inline {
  display: flex;
  gap: var(--sp-2);
  align-items: stretch;
  flex-wrap: wrap;
}

.form-inline input {
  flex: 1;
  min-width: 220px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding: 0.65em 1em;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s ease;
}

.form-inline input:focus {
  border-color: var(--steel);
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.text-right  { text-align: right; }

.mt-1 { margin-top: var(--sp-1); }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }

.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }

.color-red   { color: var(--red); }
.color-steel { color: var(--steel); }
.color-muted { color: var(--muted); }
.color-ivory { color: var(--ivory); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0,0,0,0);
  overflow: hidden;
  white-space: nowrap;
}

/* ============================================================
   INLINE CODE BLOCKS
   ============================================================ */
.code-block {
  background: #1A1918;
  border: 1px solid rgba(245,242,235,0.1);
  border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-5);
  overflow-x: auto;
}

.code-block pre {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  color: #C8C2B4;
  line-height: 1.7;
  white-space: pre;
}

.code-block pre .c-kw  { color: #D42B2B; }
.code-block pre .c-fn  { color: #7EB8E0; }
.code-block pre .c-str { color: #8DBF7A; }
.code-block pre .c-num { color: #E8A84C; }
.code-block pre .c-cm  { color: #5A5650; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-5);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-image-slot {
    display: none;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-body {
    grid-template-columns: 1fr;
  }

  .site-nav,
  .site-header__cta .btn--ghost {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header.nav-open .site-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ink);
    align-items: center;
    justify-content: center;
    gap: var(--sp-5);
    z-index: 99;
  }

  .site-header.nav-open .site-nav .site-nav__link {
    font-size: 1.2rem;
    color: var(--ivory);
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-meta {
    gap: var(--sp-3);
    flex-wrap: wrap;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }
} img,svg,video{max-width:100%;height:auto} *{box-sizing:border-box} 