/* ============================================
   Breach Monitor — Design System
   ============================================ */

:root {
  /* Brand */
  --brand: #06A4DB;
  --brand-bright: #1AB8EF;
  --brand-deep: #057AA3;
  --brand-glow: rgba(6, 164, 219, 0.15);

  /* Surfaces — dark mode */
  --bg: oklch(0.16 0.015 240);
  --bg-elev: oklch(0.20 0.018 240);
  --bg-elev-2: oklch(0.235 0.02 240);
  --bg-inset: oklch(0.13 0.015 240);

  /* Text */
  --fg: oklch(0.97 0.005 240);
  --fg-muted: oklch(0.72 0.015 240);
  --fg-dim: oklch(0.52 0.015 240);

  /* Borders */
  --border: oklch(0.28 0.02 240);
  --border-strong: oklch(0.36 0.02 240);
  --border-soft: oklch(0.24 0.018 240);

  /* Accent (threat amber, used very sparingly) */
  --threat: oklch(0.78 0.15 65);
  --threat-deep: oklch(0.55 0.16 50);

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Radii */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
  --r-xl: 14px;

  /* Container */
  --container: 1200px;
  --container-narrow: 880px;
}

[data-theme="light"] {
  --bg: oklch(0.99 0.003 240);
  --bg-elev: oklch(0.97 0.005 240);
  --bg-elev-2: oklch(0.94 0.008 240);
  --bg-inset: oklch(0.96 0.005 240);
  --fg: oklch(0.18 0.015 240);
  --fg-muted: oklch(0.42 0.015 240);
  --fg-dim: oklch(0.58 0.015 240);
  --border: oklch(0.88 0.01 240);
  --border-strong: oklch(0.78 0.012 240);
  --border-soft: oklch(0.92 0.008 240);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

::selection { background: var(--brand); color: white; }

/* Faint grid background (very subtle) */
.grid-bg {
  background-image:
    linear-gradient(to right, var(--border-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
}

/* ============================================
   Layout primitives
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

section { padding: var(--space-9) 0; }

@media (max-width: 720px) {
  section { padding: var(--space-7) 0; }
}

/* ============================================
   Type
   ============================================ */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--brand);
}

.eyebrow.no-rule::before { display: none; }

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
}

h3 {
  font-size: 22px;
  line-height: 1.25;
}

.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 620px;
  text-wrap: pretty;
}

.mono { font-family: var(--font-mono); }

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: white;
}
.btn-primary:hover {
  background: var(--brand-bright);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--fg-muted);
  background: var(--bg-elev);
}

.btn-link {
  background: transparent;
  color: var(--fg);
  padding: 8px 0;
  border: 0;
  font-weight: 500;
}
.btn-link:hover { color: var(--brand); }

.btn-sm { padding: 9px 14px; font-size: 13px; }
.btn-lg { padding: 17px 28px; font-size: 16px; }

.btn-arrow::after {
  content: "→";
  transition: transform 0.15s ease;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ============================================
   Header / Nav
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 17px;
}

.logo-mark img { height: 24px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
  position: relative;
}
.nav a:hover { color: var(--fg); }
.nav a.active { color: var(--fg); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -22px;
  height: 1px;
  background: var(--brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  width: 40px; height: 40px;
  color: var(--fg);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 880px) {
  .nav, .nav-actions .btn-ghost { display: none; }
  .mobile-toggle { display: inline-flex; }
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--border-soft);
  background: var(--bg);
}
.mobile-drawer.open { display: block; }
.mobile-drawer a {
  display: block;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--fg);
  font-weight: 500;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background:
    radial-gradient(circle at 80% 0%, var(--brand-glow), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(6, 164, 219, 0.06), transparent 60%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-8);
  align-items: center;
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-7); }
}

.hero h1 .hl {
  color: var(--brand);
  position: relative;
}

.hero__sub {
  margin-top: var(--space-5);
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.55;
}

.hero__cta {
  margin-top: var(--space-6);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__meta {
  margin-top: var(--space-7);
  display: flex;
  gap: var(--space-6);
  align-items: center;
  flex-wrap: wrap;
  color: var(--fg-dim);
  font-size: 13px;
}
.hero__meta .check { color: var(--brand); }

/* Hero visual: terminal/alert mock */
.hero__visual {
  position: relative;
}

.terminal {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  font-family: var(--font-mono);
  font-size: 13px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 30px 80px -20px rgba(0,0,0,0.5);
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
}
.terminal__dots {
  display: inline-flex;
  gap: 6px;
}
.terminal__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}
.terminal__title {
  font-size: 12px;
  color: var(--fg-dim);
  margin-left: auto;
}

.terminal__body {
  padding: 18px 20px;
  color: var(--fg-muted);
  line-height: 1.7;
}
.terminal__body .prompt { color: var(--fg-dim); }
.terminal__body .ok { color: var(--brand); }
.terminal__body .alert { color: var(--threat); }
.terminal__body .dim { color: var(--fg-dim); }
.terminal__body .strong { color: var(--fg); }

.terminal__line { display: block; }

.cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--brand);
  vertical-align: -2px;
  animation: blink 1s steps(2) infinite;
  margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

/* ============================================
   Stats
   ============================================ */

.stats {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

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

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

.stat {
  padding: var(--space-7) var(--space-6);
  border-right: 1px solid var(--border-soft);
}
.stat:last-child { border-right: 0; }

@media (max-width: 720px) {
  .stat { border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .stat:last-child { border-bottom: 0; }
}

.stat__num {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
  font-feature-settings: "tnum";
}
.stat__num .unit { color: var(--brand); margin-left: 4px; }

.stat__label {
  margin-top: 14px;
  font-size: 14px;
  color: var(--fg-muted);
  max-width: 260px;
}

.stat__src {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================
   Section header
   ============================================ */

.section-header {
  max-width: 720px;
  margin-bottom: var(--space-7);
}
.section-header h2 { margin-top: 14px; }
.section-header p {
  margin-top: 18px;
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.6;
  text-wrap: pretty;
}

/* ============================================
   Attack Chain
   ============================================ */

.chain-wrap {
  position: relative;
  padding: var(--space-7);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg-elev);
  overflow: hidden;
}

.chain-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 880px) {
  .chain-grid { grid-template-columns: 1fr; gap: var(--space-3); }
}

.chain-step {
  padding: var(--space-5);
  border-right: 1px dashed var(--border);
  position: relative;
  cursor: default;
  transition: background 0.2s ease;
}
.chain-step:last-child { border-right: 0; }

@media (max-width: 880px) {
  .chain-step { border-right: 0; border-bottom: 1px dashed var(--border); }
}

.chain-step__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
}

.chain-step__title {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
}

.chain-step__desc {
  margin-top: 8px;
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.chain-step__icon {
  margin-bottom: 18px;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--bg-inset);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  transition: all 0.3s ease;
}

.chain-step.active .chain-step__icon {
  background: var(--brand-glow);
  border-color: var(--brand);
  color: var(--brand);
}

.chain-step.active .chain-step__title { color: var(--brand); }

.chain-step.shield .chain-step__icon {
  background: color-mix(in oklab, var(--brand) 25%, transparent);
  border-color: var(--brand);
  color: var(--brand);
}

/* Pulse line connecting steps */
.chain-pulse {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  background-size: 30% 100%;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 1;
  animation: pulseLine 4s linear infinite;
}
@keyframes pulseLine {
  0% { background-position: -30% 0; }
  100% { background-position: 130% 0; }
}

@media (max-width: 880px) {
  .chain-pulse { display: none; }
}

/* ============================================
   Feature grid
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 880px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
  padding: var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--brand-glow);
  color: var(--brand);
  margin-bottom: var(--space-4);
}

.feature-card h3 { font-size: 18px; }
.feature-card p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ============================================
   Why Us / Split
   ============================================ */

.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 880px) {
  .why { grid-template-columns: 1fr; gap: var(--space-6); }
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.why-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: flex-start;
}
.why-list li:last-child { border-bottom: 0; }

.why-list .num {
  font-family: var(--font-mono);
  color: var(--fg-dim);
  font-size: 12px;
  min-width: 32px;
  padding-top: 3px;
}

.why-list .body strong {
  display: block;
  font-size: 16px;
  color: var(--fg);
  font-weight: 600;
}
.why-list .body span {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
  margin-top: 4px;
  display: block;
}

/* ============================================
   Comparison Table
   ============================================ */

.compare {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-elev);
}
.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare th, .compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}
.compare th {
  font-weight: 600;
  color: var(--fg);
  background: var(--bg-elev-2);
  font-size: 13px;
}
.compare th.brand-col { color: var(--brand); }
.compare td.center, .compare th.center { text-align: center; }
.compare tr:last-child td { border-bottom: 0; }
.compare td .check { color: var(--brand); }
.compare td .x { color: var(--fg-dim); }
.compare td .label { color: var(--fg-muted); }

/* ============================================
   FAQ
   ============================================ */

.faq-list {
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 24px 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  color: var(--fg);
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-q:hover { color: var(--brand); }

.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  color: var(--fg-muted);
}
.faq-item.open .faq-toggle {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 0 24px 0;
}
.faq-a p { margin: 0; max-width: 700px; }

/* ============================================
   Pricing
   ============================================ */

.pricing-toggle {
  display: inline-flex;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: var(--space-7);
}
.pricing-toggle button {
  background: transparent;
  border: 0;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pricing-toggle button.active {
  background: var(--bg);
  color: var(--fg);
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.pricing-toggle .save-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--brand-glow);
  color: var(--brand);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.pricing-grid--4 {
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
}
.pricing-grid--4 > .reveal { height: 100%; }
.pricing-grid--4 .plan { height: 100%; }
@media (max-width: 1200px) {
  .pricing-grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1080px) {
  .pricing-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid--4 { grid-template-columns: 1fr; }
}

.plan {
  padding: var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: left;
}
.plan.popular {
  border-color: var(--brand);
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-elev) 60%, color-mix(in oklab, var(--brand) 8%, var(--bg-elev)));
}
.plan__badge {
  position: absolute;
  top: -10px; left: 24px;
  background: var(--brand);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.plan__name {
  font-size: 13px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}
.plan__price {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 60px;
}
.plan__price .amount {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-feature-settings: "tnum";
  line-height: 1.05;
}
.plan__price .period {
  color: var(--fg-dim);
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}
.plan__desc {
  margin-top: 12px;
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.55;
  min-height: 66px;
}
.plan__cta {
  margin-top: var(--space-5);
}
.plan__features {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: var(--space-5) 0 0;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--fg-muted);
  flex: 1 1 auto;
}
.plan__features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.plan__features .check {
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   CTA
   ============================================ */

.cta-banner {
  position: relative;
  padding: var(--space-9) var(--space-7);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  text-align: center;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, var(--brand-glow), transparent 70%);
  opacity: 0.6;
}
.cta-banner > * { position: relative; }

.cta-banner h2 {
  max-width: 720px;
  margin: 14px auto 0;
}
.cta-banner p {
  margin: 18px auto 0;
  max-width: 520px;
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.55;
}
.cta-banner .actions {
  margin-top: var(--space-6);
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: var(--space-8) 0 var(--space-6);
  margin-top: var(--space-9);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-6);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  margin-bottom: var(--space-4);
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--fg-muted);
  font-size: 14px;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--fg); }

.footer-tag {
  margin-top: var(--space-4);
  font-size: 13px;
  color: var(--fg-muted);
  max-width: 320px;
  line-height: 1.55;
}

.footer-bottom {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--fg-dim);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .mono { font-family: var(--font-mono); }

/* ============================================
   About / Contact / Generic
   ============================================ */

.page-hero {
  padding: var(--space-8) 0 var(--space-7);
  border-bottom: 1px solid var(--border-soft);
}
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); }
.page-hero p {
  margin-top: 20px;
  max-width: 640px;
  font-size: 19px;
  color: var(--fg-muted);
  line-height: 1.55;
}

.prose {
  max-width: 720px;
}
.prose h2 { margin-top: var(--space-7); }
.prose h3 { margin-top: var(--space-6); font-size: 20px; }
.prose p {
  margin-top: 16px;
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.7;
}
.prose strong { color: var(--fg); }

/* Team / Founders */
.founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
@media (max-width: 720px) {
  .founders { grid-template-columns: 1fr; }
}
.founder {
  padding: var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
}
.founder__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-bright));
  display: grid; place-items: center;
  color: white;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}
.founder__name { font-size: 18px; font-weight: 600; }
.founder__role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-top: 4px;
}
.founder__bio {
  margin-top: 14px;
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.contact-info .item {
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
}
.contact-info .item h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 8px;
  font-weight: 500;
}
.contact-info .item p {
  margin: 0;
  font-size: 15px;
  color: var(--fg);
}
.contact-info .item p + p { margin-top: 4px; color: var(--fg-muted); font-size: 14px; }

.form {
  padding: var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  font-weight: 500;
}
.form-row input, .form-row textarea, .form-row select {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 12px 14px;
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 15px;
  width: 100%;
  transition: border-color 0.15s ease;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: 0;
  border-color: var(--brand);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-error, .form-success {
  font-size: 13px;
  padding: 10px 12px;
  border-radius: var(--r-md);
}
.form-error {
  background: color-mix(in oklab, var(--threat) 15%, var(--bg-inset));
  color: var(--threat);
  border: 1px solid color-mix(in oklab, var(--threat) 40%, transparent);
}
.form-success {
  background: color-mix(in oklab, var(--brand) 15%, var(--bg-inset));
  color: var(--brand);
  border: 1px solid color-mix(in oklab, var(--brand) 40%, transparent);
}

/* Domain check widget */
.domain-check {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-inset);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.domain-check input {
  flex: 1;
  min-width: 220px;
  background: transparent;
  border: 0;
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 8px;
  outline: 0;
}
.domain-check input::placeholder { color: var(--fg-dim); }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utility */
.hide-mobile { }
@media (max-width: 720px) { .hide-mobile { display: none; } }

.text-center { text-align: center; }
.flex { display: flex; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 32px; }

/* Code dots for terminal */
.dot-r { background: #ff5f56; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #27c93f; }
.terminal__dot.dot-r,
.terminal__dot.dot-y,
.terminal__dot.dot-g { background-color: var(--c, var(--border-strong)); }
