/* palette: bg=#0D1117 fg=#E6EDF3 accent=#3FE07C */
/* fonts: display="JetBrains Mono" body="IBM Plex Mono" mono="JetBrains Mono" */

:root {
  --bg: #0D1117;         /* dominant terminal background */
  --bg-alt: #161B22;     /* alternating panel background */
  --bg-deep: #010409;    /* deepest inverted band */
  --fg: #E6EDF3;         /* primary phosphor-white text */
  --fg-soft: #C9D1D9;    /* softened foreground */
  --muted: #7D8590;      /* secondary / meta text */
  --accent: #3FE07C;     /* phosphor green accent */
  --accent-deep: #2CB563;/* darker green for hover states */
  --amber: #E3B341;      /* secondary terminal amber */
  --border: rgba(139, 148, 158, 0.20);
  --border-soft: rgba(139, 148, 158, 0.12);
  --glow: 0 0 0 1px rgba(63, 224, 124, 0.35), 0 0 24px -6px rgba(63, 224, 124, 0.45);

  --serif: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --sans: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 32px);
  --section-y: clamp(80px, 12vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "liga" 0;
}

/* faint terminal scan grid over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(139, 148, 158, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 148, 158, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 30%, transparent 85%);
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: rgba(63, 224, 124, 0.28); color: #fff; }

/* ---------------------------------------------------------------- layout */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 1;
}
main { position: relative; z-index: 1; }
section { position: relative; }

/* ---------------------------------------------------------------- type */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "$";
  color: var(--muted);
  font-weight: 400;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; }

.h-display {
  font-size: clamp(3.1rem, 9.4vw, 8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 300;
}
.h-section {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 300;
}
.h-sub {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  font-weight: 400;
}
em { font-style: italic; color: var(--accent); }

p { margin: 0 0 1.15em; }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.22rem); line-height: 1.72; color: var(--fg-soft); }
.muted { color: var(--muted); }

.cursor {
  display: inline-block;
  width: 0.56em;
  height: 0.9em;
  margin-left: 0.12em;
  background: var(--accent);
  vertical-align: -0.02em;
  animation: blink 1.15s steps(1) infinite;
  box-shadow: 0 0 12px rgba(63, 224, 124, 0.7);
}
@keyframes blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--fg);
  background: transparent;
  transition: transform .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), background .35s var(--ease);
  will-change: transform;
}
.btn .dot {
  width: 26px; height: 26px;
  border-radius: 999px;
  display: inline-grid; place-items: center;
  border: 1px solid var(--border);
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); border-color: rgba(63,224,124,0.5); color: #fff; }
.btn:hover .dot { background: var(--accent); color: #05140a; transform: rotate(45deg); }

.btn--solid {
  background: var(--accent);
  color: #05140a;
  border-color: var(--accent);
  font-weight: 600;
}
.btn--solid:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #05140a; box-shadow: var(--glow); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.arrow-link::after { content: "›"; font-size: 1.25em; transition: transform .3s var(--ease); }
.arrow-link:hover { color: #fff; gap: 0.85em; }
.arrow-link:hover::after { transform: translateX(3px); }

/* ---------------------------------------------------------------- ticker */
.ticker {
  position: relative;
  z-index: 101;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  padding: 8px 0;
  animation: ticker 34s linear infinite;
}
.ticker__track span { display: inline-flex; align-items: center; gap: 2.5rem; }
.ticker__track b { color: var(--accent); font-weight: 500; }
.ticker__track i { color: var(--border); font-style: normal; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border-soft);
  box-shadow: 0 14px 40px -24px rgba(0,0,0,0.9);
  background: rgba(13, 17, 23, 0.9);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.brand__mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  display: inline-grid; place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  background: rgba(63, 224, 124, 0.08);
  box-shadow: inset 0 0 12px -6px rgba(63,224,124,0.6);
}
.brand b { font-weight: 500; }

.nav {
  display: none;
  align-items: center;
  gap: 30px;
}
.nav a {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--fg-soft);
  position: relative;
  padding: 4px 0;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.header__cta { display: none; }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--fg);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg-deep);
  padding: 90px var(--pad) 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.mobile-menu[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--fg-soft);
  transition: color .25s var(--ease), padding-left .3s var(--ease);
}
.mobile-menu a:hover { color: var(--accent); padding-left: 10px; }
.mobile-menu a span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.mobile-menu .btn { margin-top: 26px; align-self: flex-start; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.22;
  animation: heroZoom 9s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 80% 20%, rgba(63,224,124,0.10), transparent 55%),
    linear-gradient(180deg, rgba(13,17,23,0.55) 0%, rgba(13,17,23,0.82) 62%, var(--bg) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 130px 0 70px;
}
.hero__grid { display: grid; gap: 42px; }
.hero h1 { max-width: 14ch; }
.hero__side { max-width: 46ch; }
.hero__side .lead { margin-bottom: 26px; }
.hero__rule {
  display: inline-block;
  width: clamp(60px, 14vw, 200px);
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin: 0 0.3em 0.25em;
  box-shadow: 0 0 14px rgba(63,224,124,0.6);
}
.hero__meta {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.hero__meta div b { display: block; color: var(--fg); font-size: 22px; font-weight: 500; margin-bottom: 2px; }
.hero__meta div b .u { color: var(--accent); }

/* ---------------------------------------------------------------- tech strip */
.strip {
  padding: 44px 0;
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-deep);
}
.strip__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 26px;
}
.strip__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 40px;
}
.strip__row span {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  font-weight: 400;
  color: var(--fg-soft);
  opacity: 0.66;
  transition: opacity .3s var(--ease), color .3s var(--ease);
}
.strip__row span:hover { opacity: 1; color: var(--accent); }

/* ---------------------------------------------------------------- intro / manifesto split */
.intro { padding: var(--section-y) 0; background: var(--bg); }
.intro__grid { display: grid; gap: 48px; }
.intro__head .btn { margin-top: 34px; }
.intro__body p { color: var(--fg-soft); }
.intro__body strong { color: var(--fg); font-weight: 500; }
.intro__body .reg { color: var(--accent); font-weight: 500; }

/* ---------------------------------------------------------------- chapters (numbered) */
.chapter { padding: var(--section-y) 0; border-top: 1px solid var(--border-soft); }
.chapter--alt { background: var(--bg-alt); }
.chapter__grid { display: grid; gap: 44px; align-items: center; }
.chapter__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  display: inline-block;
  margin-bottom: 26px;
}
.chapter__text p { color: var(--fg-soft); }
.chapter__list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.chapter__list li {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--fg-soft);
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.chapter__list li::before { content: "▸"; color: var(--accent); }
.chapter__text .arrow-link { margin-top: 30px; }

/* terminal window frame for imagery */
.tframe {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.9);
}
.tframe__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.02);
}
.tframe__bar i { width: 11px; height: 11px; border-radius: 999px; background: var(--border); display: inline-block; }
.tframe__bar i:nth-child(1) { background: #E36049; }
.tframe__bar i:nth-child(2) { background: var(--amber); }
.tframe__bar i:nth-child(3) { background: var(--accent); }
.tframe__bar em {
  margin-left: 10px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.tframe__media { aspect-ratio: 4 / 3; overflow: hidden; }
.tframe__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }

/* code-style caption block */
.tcode {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.9;
  padding: 22px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-deep);
  color: var(--fg-soft);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.9);
}
.tcode .k { color: var(--accent); }
.tcode .a { color: var(--amber); }
.tcode .c { color: var(--muted); }
.tcode .l { display: block; padding-left: 1.6em; text-indent: -1.6em; }

/* ---------------------------------------------------------------- pull quote band */
.band {
  padding: clamp(90px, 14vw, 180px) 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 50% 40%, rgba(63,224,124,0.08), transparent 70%);
}
.band__mark {
  font-family: var(--serif);
  color: var(--accent);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.5;
  display: block;
  margin-bottom: 6px;
  opacity: 0.55;
}
.band blockquote {
  margin: 0 auto;
  max-width: 20ch;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.band figcaption {
  margin-top: 34px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------------------------------------------------------------- stats */
.stats { padding: var(--section-y) 0; }
.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
}
.stats__cell {
  background: var(--bg);
  padding: clamp(28px, 5vw, 46px) clamp(22px, 4vw, 36px);
}
.stats__cell b {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.02em;
  display: block;
  line-height: 1;
}
.stats__cell b .u { color: var(--accent); }
.stats__cell span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: block;
  margin-top: 14px;
}

/* ---------------------------------------------------------------- testimonials */
.quotes { padding: var(--section-y) 0; background: var(--bg-alt); border-top: 1px solid var(--border-soft); }
.quotes__grid { display: grid; gap: 24px; margin-top: 52px; }
.qcard {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 30px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.qcard p { font-size: 16px; line-height: 1.7; color: var(--fg-soft); margin: 0; }
.qcard__who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: inline-grid; place-items: center;
  font-family: var(--serif);
  font-size: 15px;
  color: #05140a;
  flex-shrink: 0;
}
.qcard__who b { display: block; font-family: var(--mono); font-size: 13px; color: var(--fg); font-weight: 500; }
.qcard__who span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.badge-ph {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 3px 8px;
  align-self: flex-start;
}

/* ---------------------------------------------------------------- FAQ */
.faq { padding: var(--section-y) 0; }
.faq__grid { display: grid; gap: 40px; }
.faq__list { display: grid; gap: 0; border-top: 1px solid var(--border-soft); }
.faq__item { border-bottom: 1px solid var(--border-soft); }
.faq__q {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 400;
  color: var(--fg);
  transition: color .25s var(--ease);
}
.faq__q:hover { color: var(--accent); }
.faq__q .sign {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 22px;
  flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.faq__item[data-open="true"] .faq__q .sign { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq__a p { padding: 0 0 26px; color: var(--fg-soft); max-width: 62ch; }

/* ---------------------------------------------------------------- CTA */
.cta { padding: var(--section-y) 0; }
.cta__box {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(40px, 7vw, 80px);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(63,224,124,0.10), transparent 60%),
    var(--bg-alt);
  text-align: center;
}
.cta__box .eyebrow { justify-content: center; }
.cta__box h2 { max-width: 18ch; margin: 0 auto 20px; }
.cta__box .lead { max-width: 52ch; margin: 0 auto 34px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------------------------------------------------------------- form */
.formwrap { padding: var(--section-y) 0; }
.formwrap__grid { display: grid; gap: 48px; }
.contactinfo dl { margin: 30px 0 0; display: grid; gap: 22px; }
.contactinfo dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}
.contactinfo dd { margin: 0; color: var(--fg-soft); font-size: 15px; line-height: 1.6; }

.form {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(26px, 4vw, 40px);
  background: var(--bg-alt);
  display: grid;
  gap: 18px;
}
.form .field { display: grid; gap: 8px; }
.form label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.form label .req { color: var(--accent); }
.form input, .form textarea, .form select {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--fg);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 15px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  width: 100%;
}
.form input::placeholder, .form textarea::placeholder { color: var(--muted); opacity: 0.7; }
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(63,224,124,0.14);
}
.form textarea { resize: vertical; min-height: 130px; }
.form .row { display: grid; gap: 18px; }
.form__note { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.form__note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.form .btn { justify-self: start; }

/* ---------------------------------------------------------------- footer */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-soft);
  padding: clamp(60px, 9vw, 100px) 0 40px;
}
.footer__top { display: grid; gap: 44px; }
.footer__brand { max-width: 34ch; }
.footer__brand .brand { font-size: 20px; margin-bottom: 20px; }
.footer__brand p { color: var(--muted); font-size: 15px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer__col a, .footer__col span {
  display: block;
  font-size: 14px;
  color: var(--fg-soft);
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.footer__bottom a:hover { color: var(--accent); }
.footer__status { display: inline-flex; align-items: center; gap: 8px; }
.footer__status i {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------------------------------------------------------------- page hero (inner pages) */
.pagehero { padding: clamp(120px, 18vw, 190px) 0 clamp(50px, 8vw, 90px); border-bottom: 1px solid var(--border-soft); }
.pagehero h1 { max-width: 18ch; }
.pagehero .lead { max-width: 60ch; margin-top: 26px; }

/* prose (legal) */
.prose { padding: clamp(50px, 8vw, 90px) 0 var(--section-y); }
.prose__inner { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 400; margin: 46px 0 16px; letter-spacing: -0.01em; }
.prose h3 { font-family: var(--mono); font-size: 1rem; color: var(--accent); margin: 30px 0 10px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 16px; line-height: 1.8; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }

/* thanks page */
.thanks { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 140px 0 90px; }
.thanks__inner { max-width: 620px; }
.thanks__icon {
  width: 74px; height: 74px;
  margin: 0 auto 30px;
  border: 1px solid var(--accent);
  border-radius: 16px;
  display: grid; place-items: center;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 30px;
  box-shadow: var(--glow);
}
.thanks .btn { margin-top: 32px; }

/* ---------------------------------------------------------------- reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track, .hero__bg img, .cursor, .footer__status i { animation: none; }
}

/* ---------------------------------------------------------------- cookie popup */
.cookie-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 30px 32px;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.9);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.cookie-popup__card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin: 0 0 10px; }
.cookie-popup__card p { font-size: 14px; line-height: 1.65; color: var(--fg-soft); margin: 0; }
.cookie-popup__card p a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 11px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg);
  transition: border-color .25s var(--ease), background .25s var(--ease);
  flex: 1;
}
.cookie-popup__actions button:first-child:hover { border-color: var(--fg-soft); }
.cookie-popup__actions button:last-child {
  background: var(--accent);
  color: #05140a;
  border-color: var(--accent);
  font-weight: 600;
}
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

/* ---------------------------------------------------------------- responsive */
@media (min-width: 620px) {
  .hero__meta div b { font-size: 26px; }
  .form .row { grid-template-columns: 1fr 1fr; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  body { font-size: 18px; }
  .hero__grid { grid-template-columns: 1.35fr 1fr; align-items: end; gap: 56px; }
  .intro__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .chapter__grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  .chapter--flip .chapter__media { order: -1; }
  .quotes__grid { grid-template-columns: repeat(3, 1fr); }
  .faq__grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .formwrap__grid { grid-template-columns: 0.85fr 1.15fr; }
  .footer__top { grid-template-columns: 1.2fr 2fr; }
}
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .menu-toggle { display: none; }
}
