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

:root {
  --bg: #08060F;
  --surface: #13101F;
  --surface-raised: #1C1730;
  --border: #2A2243;
  --text: #F4EEFF;
  --text-secondary: #9683B4;
  --crimson: #FF1F5A;
  --mint: #7DF9B0;
  --crimson-glow: rgba(255, 31, 90, 0.35);
  --mint-glow: rgba(125, 249, 176, 0.30);
  --grad-a: #08060F;
  --grad-b: #1A0A22;

  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.40);
  --shadow-card-hover: 0 16px 32px rgba(0, 0, 0, 0.55), 0 0 24px rgba(255, 31, 90, 0.18);
  --shadow-button-primary: 0 0 28px rgba(255, 31, 90, 0.45);
  --shadow-hero-text: 0 2px 24px rgba(0, 0, 0, 0.6);
  --shadow-modal: 0 24px 60px rgba(0, 0, 0, 0.7);

  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-card: 12px;
  --radius-btn: 8px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
    line-height: 1.55;
  }
}

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

a {
  color: var(--text);
  text-decoration: none;
  transition: color 200ms ease-out;
}

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

/* ----- Typography ----- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.1;
  font-weight: 700;
}

h1 {
  font-size: 64px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h2 {
  font-size: 44px;
  letter-spacing: -0.015em;
  font-weight: 600;
}

h3 {
  font-size: 28px;
  letter-spacing: -0.01em;
  font-weight: 600;
}

@media (max-width: 720px) {
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  h3 { font-size: 22px; }
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: inline-block;
}

.eyebrow.mint { color: var(--mint); }
.eyebrow.crimson { color: var(--crimson); }

.meta, small {
  font-size: 14px;
  color: var(--text-secondary);
}

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

p {
  color: var(--text-secondary);
}

p.lead {
  font-size: 19px;
  color: var(--text);
  line-height: 1.55;
}

@media (max-width: 720px) {
  p.lead { font-size: 17px; }
}

/* ----- Layout ----- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
  position: relative;
}

section.tight {
  padding: 64px 0;
}

@media (max-width: 720px) {
  section { padding: 64px 0; }
  section.tight { padding: 48px 0; }
}

.section-seam {
  background: linear-gradient(180deg, #08060F 0%, #0C0814 100%);
}

/* ----- Nav ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 6, 15, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand:hover { color: var(--text); }

.brand img {
  height: 32px;
  width: auto;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.brand-mark .accent {
  color: var(--crimson);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 200ms ease-out;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-cta {
  margin-left: 8px;
}

.nav-links .nav-cta a.btn-primary,
.nav-links .nav-cta a.btn-primary:hover,
.nav-links .nav-cta a.btn-primary.active {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  color: var(--text);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: border-color 200ms ease-out, background-color 200ms ease-out;
}

.nav-toggle:hover { border-color: rgba(255, 31, 90, 0.5); }

.nav-toggle.open {
  border-color: rgba(255, 31, 90, 0.55);
  background: rgba(255, 31, 90, 0.08);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  margin: 3px 0;
  transition: transform 240ms var(--ease-out-soft), opacity 200ms ease-out;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-4.5px) rotate(-45deg);
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; position: relative; z-index: 110; }

  .brand { position: relative; z-index: 110; }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background:
      radial-gradient(ellipse 90% 65% at 85% -5%, rgba(255, 31, 90, 0.22) 0%, transparent 55%),
      radial-gradient(ellipse 80% 55% at 5% 105%, rgba(125, 249, 176, 0.16) 0%, transparent 55%),
      rgba(8, 6, 15, 0.97);
    backdrop-filter: blur(22px) saturate(135%);
    -webkit-backdrop-filter: blur(22px) saturate(135%);
    border-bottom: none;
    padding: 104px 28px 56px;
    transform: translateY(-14px) scale(1.015);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 380ms var(--ease-out-soft),
      opacity 260ms ease-out,
      visibility 0s linear 380ms;
    z-index: 95;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav-links.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 420ms var(--ease-out-soft),
      opacity 280ms ease-out,
      visibility 0s linear 0s;
  }

  .nav-links::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(244, 238, 255, 0.05) 1px, transparent 1px);
    background-size: 4px 4px;
    pointer-events: none;
    opacity: 0.4;
    z-index: 0;
  }

  .nav-links::after {
    content: "MENU";
    position: absolute;
    top: 96px;
    right: 28px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.32em;
    color: var(--text-secondary);
    opacity: 0;
    transition: opacity 320ms var(--ease-out-soft) 200ms;
    pointer-events: none;
    z-index: 1;
  }

  .nav-links.open::after { opacity: 0.7; }

  .nav-links li {
    width: 100%;
    list-style: none;
    border-bottom: 1px solid rgba(42, 34, 67, 0.5);
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 380ms var(--ease-out-soft),
      transform 420ms var(--ease-out-soft);
    position: relative;
    z-index: 1;
  }

  .nav-links li:last-child { border-bottom: none; }

  .nav-links.open li { opacity: 1; transform: translateY(0); }

  .nav-links.open li:nth-child(1) { transition-delay: 120ms; }
  .nav-links.open li:nth-child(2) { transition-delay: 175ms; }
  .nav-links.open li:nth-child(3) { transition-delay: 230ms; }
  .nav-links.open li:nth-child(4) { transition-delay: 285ms; }
  .nav-links.open li:nth-child(5) { transition-delay: 340ms; }
  .nav-links.open li:nth-child(6) { transition-delay: 395ms; }

  .nav-links a {
    display: flex;
    align-items: center;
    padding: 22px 4px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 26px;
    letter-spacing: -0.01em;
    color: var(--text);
    border-bottom: none;
    text-align: left;
    position: relative;
    transition:
      color 200ms ease-out,
      padding-left 280ms var(--ease-out-soft);
  }

  .nav-links a::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--crimson);
    transform: translateY(-50%);
    transition: width 320ms var(--ease-out-soft);
    box-shadow: 0 0 14px var(--crimson-glow);
    border-radius: 1px;
  }

  .nav-links a:hover,
  .nav-links a:active,
  .nav-links a:focus-visible {
    color: var(--crimson);
    padding-left: 18px;
  }

  .nav-links a:hover::before,
  .nav-links a:active::before,
  .nav-links a:focus-visible::before { width: 22px; }

  .nav-links .nav-cta {
    margin: 28px 0 0;
    border-bottom: none;
    text-align: center;
  }

  .nav-links .nav-cta a.btn-primary {
    display: inline-flex;
    width: 100%;
    padding: 18px 28px;
    font-size: 16px;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
    font-weight: 600;
  }

  .nav-links .nav-cta a.btn-primary::before { display: none; }
  .nav-links .nav-cta a.btn-primary:hover { padding-left: 28px; }

  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition:
    background-color 200ms ease-out,
    color 200ms ease-out,
    border-color 200ms ease-out,
    box-shadow 200ms ease-out,
    transform 250ms var(--ease-out-soft);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--crimson);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-button-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--mint);
  border-color: var(--mint);
}

.btn-secondary:hover {
  background: var(--mint);
  color: #08060F;
  transform: translateY(-1px);
  box-shadow: 0 0 22px var(--mint-glow);
}

.btn-tertiary {
  background: transparent;
  color: var(--mint);
  padding: 8px 0;
  border-radius: 0;
  position: relative;
}

.btn-tertiary::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 1px;
  background: var(--mint);
  transition: width 250ms var(--ease-out-soft);
}

.btn-tertiary:hover {
  color: var(--mint);
}

.btn-tertiary:hover::after { width: 100%; }

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    background-attachment: fixed;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 6, 15, 0.45) 0%, rgba(8, 6, 15, 0.85) 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(244, 238, 255, 0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero h1 {
  margin: 14px 0 22px;
  text-shadow: var(--shadow-hero-text);
}

.hero p.lead {
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
}

.hero-stats .version-tag {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--mint);
  background: rgba(8, 6, 15, 0.55);
}

.hero-stats .stat-strip {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text);
}

.hero-stats .stat-strip span {
  color: var(--text-secondary);
  margin: 0 6px;
}

/* ----- Compact header band (privacy) ----- */
.legal-header {
  background: #0C0814;
  padding: 96px 0 48px;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 { font-size: 48px; }

@media (max-width: 720px) {
  .legal-header h1 { font-size: 32px; }
}

/* ----- Cards / Pillars ----- */
.section-title-block {
  text-align: center;
  margin-bottom: 56px;
}

.section-title-block h2 { margin: 12px 0 12px; }

.section-title-block p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-secondary);
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
  align-items: start;
}

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

@media (max-width: 880px) {
  .grid-3, .grid-feature { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 48px; }
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  transition:
    background-color 200ms ease-out,
    border-color 200ms ease-out,
    box-shadow 200ms ease-out,
    transform 250ms var(--ease-out-soft);
  box-shadow: var(--shadow-card);
}

.card:hover {
  background: var(--surface-raised);
  border-color: rgba(255, 31, 90, 0.55);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.pillar-num {
  font-family: var(--font-mono);
  color: var(--crimson);
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  display: inline-block;
}

.card h3 {
  margin-bottom: 14px;
}

.card p {
  font-size: 15.5px;
  color: var(--text-secondary);
}

/* ----- Loop (steps) ----- */
.loop-band {
  background: linear-gradient(180deg, #0A0716 0%, #08060F 100%);
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
  position: relative;
}

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

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

.loop-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  position: relative;
  transition: border-color 200ms ease-out, transform 250ms var(--ease-out-soft);
}

.loop-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 31, 90, 0.45);
}

.loop-card.is-final {
  border-color: rgba(125, 249, 176, 0.45);
  box-shadow: 0 0 24px rgba(125, 249, 176, 0.10);
}

.loop-card.is-final:hover {
  border-color: var(--mint);
  box-shadow: 0 0 30px var(--mint-glow);
}

.loop-step {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--crimson);
  display: block;
  margin-bottom: 10px;
}

.loop-card.is-final .loop-step { color: var(--mint); }

.loop-card h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.loop-card p {
  font-size: 14.5px;
  line-height: 1.55;
}

/* ----- Snapshot ----- */
.snapshot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 880px) {
  .snapshot-grid { grid-template-columns: 1fr; gap: 36px; }
}

.snapshot-img {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  background: var(--surface);
}

.snapshot-img img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 18px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 200ms ease-out, background 200ms ease-out;
}

.feature-list li:hover {
  border-color: rgba(125, 249, 176, 0.4);
  background: var(--surface-raised);
}

.feature-list .icon {
  flex-shrink: 0;
  color: var(--mint);
  margin-top: 2px;
}

.feature-list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 2px;
}

.feature-list span {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ----- Built on Suroi credit ----- */
.credit-band {
  background: linear-gradient(180deg, #0C0814 0%, #08060F 100%);
}

.credit-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.credit-block .eyebrow { color: var(--mint); }

.credit-block h2 { margin: 12px 0 24px; }

.credit-quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--text);
  border-left: 2px solid var(--mint);
  padding: 6px 0 6px 22px;
  text-align: left;
  margin: 28px auto 28px;
  max-width: 560px;
}

@media (max-width: 720px) {
  .credit-quote { font-size: 18px; }
}

.credit-link a {
  color: var(--mint);
  font-weight: 500;
  font-size: 15px;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease-out;
}

.credit-link a:hover {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

/* ----- Final CTA band ----- */
.cta-band {
  position: relative;
  background:
    radial-gradient(ellipse at center top, rgba(255, 31, 90, 0.18) 0%, rgba(8, 6, 15, 0.0) 60%),
    linear-gradient(180deg, #100716 0%, #08060F 100%);
  padding: 112px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-band h2 {
  max-width: 720px;
  margin: 0 auto 28px;
}

@media (max-width: 720px) {
  .cta-band { padding: 80px 0; }
}

/* ----- About page ----- */
.origin-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 880px) {
  .origin-grid { grid-template-columns: 1fr; gap: 36px; }
}

.origin-text h2 { margin-bottom: 18px; }

.origin-text p + p { margin-top: 16px; }

.origin-text p { color: var(--text-secondary); }

.stat-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  font-family: var(--font-mono);
  font-size: 14px;
  display: grid;
  gap: 18px;
}

.stat-list dt {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.stat-list dd {
  color: var(--text);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.stat-list dd .unit {
  color: var(--text-secondary);
  font-size: 13px;
  margin-left: 6px;
}

.feature-grid-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  transition:
    background-color 200ms ease-out,
    border-color 200ms ease-out,
    transform 250ms var(--ease-out-soft);
}

.feature-grid-card:hover {
  background: var(--surface-raised);
  border-color: rgba(125, 249, 176, 0.4);
  transform: translateY(-3px);
}

.feature-grid-card .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(125, 249, 176, 0.06);
  color: var(--mint);
}

.feature-grid-card.alt .icon {
  color: var(--crimson);
  background: rgba(255, 31, 90, 0.07);
  border-color: rgba(255, 31, 90, 0.25);
}

.feature-grid-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.feature-grid-card p {
  font-size: 14.5px;
  line-height: 1.55;
}

.opensource-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--mint);
  border-radius: var(--radius-card);
  padding: 40px;
}

@media (max-width: 720px) {
  .opensource-card { padding: 28px; }
}

.opensource-card .eyebrow { color: var(--mint); }

.opensource-card h2 {
  margin: 12px 0 18px;
  font-size: 32px;
}

.opensource-card p { color: var(--text-secondary); }

.opensource-card p + p { margin-top: 14px; }

.promise-block {
  text-align: center;
}

.promise-block p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  color: var(--text);
  max-width: 720px;
  margin: 0 auto;
}

.promise-block .eyebrow {
  margin-bottom: 18px;
  display: block;
}

@media (max-width: 720px) {
  .promise-block p { font-size: 19px; }
}

/* ----- Contact ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 720px) {
  .form-card { padding: 24px; }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 16px;
  transition: border-color 200ms ease-out, box-shadow 200ms ease-out;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(255, 31, 90, 0.20);
}

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

.form-feedback {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  display: none;
  border: 1px solid var(--border);
}

.form-feedback.show { display: block; }

.form-feedback.success {
  background: rgba(125, 249, 176, 0.08);
  border-color: rgba(125, 249, 176, 0.35);
  color: var(--mint);
}

.form-feedback.error {
  background: rgba(255, 31, 90, 0.08);
  border-color: rgba(255, 31, 90, 0.35);
  color: var(--crimson);
}

.btn[disabled],
.btn.loading {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

.channels {
  display: grid;
  gap: 14px;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition:
    background-color 200ms ease-out,
    border-color 200ms ease-out,
    box-shadow 200ms ease-out,
    transform 250ms var(--ease-out-soft);
  color: var(--text);
}

.channel-card:hover {
  background: var(--surface-raised);
  border-color: rgba(255, 31, 90, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(255, 31, 90, 0.10);
  color: var(--text);
}

.channel-card .icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--mint);
}

.channel-card .channel-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  display: block;
}

.channel-card .channel-handle {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  display: block;
}

/* ----- FAQ ----- */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 200ms ease-out;
}

.faq-item.open {
  border-color: rgba(125, 249, 176, 0.35);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--mint);
  transition: transform 250ms var(--ease-out-soft);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms var(--ease-out-soft);
}

.faq-body-inner {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.65;
}

/* ----- Privacy long-form ----- */
.policy-body {
  padding: 64px 0 96px;
}

.policy-body h2 {
  font-size: 26px;
  margin: 40px 0 14px;
  color: var(--text);
}

.policy-body h2:first-child { margin-top: 0; }

.policy-body h3 {
  font-size: 19px;
  margin: 24px 0 10px;
  color: var(--text);
}

.policy-body p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 14px;
}

.policy-body ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.policy-body ul li {
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.7;
}

.policy-body a {
  color: var(--mint);
  border-bottom: 1px solid rgba(125, 249, 176, 0.4);
  transition: border-color 200ms ease-out;
}

.policy-body a:hover {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

/* ----- Footer ----- */
.footer {
  background: #06040C;
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

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

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 14.5px;
  color: var(--text-secondary);
  max-width: 360px;
  line-height: 1.6;
}

.footer h5 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-list a {
  color: var(--text-secondary);
  font-size: 14.5px;
  transition: color 200ms ease-out;
}

.footer-list a:hover {
  color: var(--mint);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-meta {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.footer-meta a {
  color: var(--text-secondary);
  border-bottom: 1px solid transparent;
}

.footer-meta a:hover {
  color: var(--mint);
}

.footer-signature {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.6;
  text-align: center;
}

.footer-signature a {
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(150, 131, 180, 0.35);
  transition: color 200ms ease-out, border-color 200ms ease-out;
}

.footer-signature a:hover {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

/* ----- Reveal animations ----- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 500ms var(--ease-out-soft),
    transform 500ms var(--ease-out-soft);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-anim {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 600ms var(--ease-out-soft),
    transform 600ms var(--ease-out-soft);
}

.hero-anim.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ----- Multi-step container pattern (build-invariant) ----- */
.funnel-page,
.quote-step,
.wizard-step,
.step-pane {
  display: none;
}
.funnel-page.active,
.quote-step.active,
.wizard-step.active,
.step-pane.active {
  display: block;
}

/* ----- Selection ----- */
::selection {
  background: var(--crimson);
  color: #fff;
}
