/* noctra — dark exchange terminal · amber + emerald */

:root {
  --bg: #070a0f;
  --bg-elevated: #0c111a;
  --surface: #111827;
  --surface-2: #161f2e;
  --surface-3: #1c2738;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);

  --text: #e8edf5;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-light: rgba(245, 158, 11, 0.14);
  --accent-glow: rgba(245, 158, 11, 0.22);

  --emerald: #10b981;
  --emerald-dim: rgba(16, 185, 129, 0.16);
  --danger: #f87171;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 40px rgba(0,0,0,0.35);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.45);

  --font: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --container: 1120px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(245, 158, 11, 0.08), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(16, 185, 129, 0.06), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

h1, h2, h3, h4, p { margin: 0; }

h1 {
  font-size: clamp(2.35rem, 5.2vw, 3.65rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.35; }

.lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--emerald);
  box-shadow: 0 0 0 3px var(--emerald-dim);
}

.text-accent { color: var(--accent); }
.text-emerald { color: var(--emerald); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border: none;
  border-radius: 9px;
  font-weight: 650;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(180deg, #fbbf24 0%, var(--accent) 100%);
  color: #111827;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 6px 16px rgba(245, 158, 11, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #f59e0b 0%, var(--accent-hover) 100%);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost { background: transparent; color: var(--text-muted); padding: 0.5rem 0.75rem; }
.btn-ghost:hover { color: var(--accent); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 15, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.25rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.logo-mark { color: var(--accent); flex-shrink: 0; }
.nav-desktop { display: none; align-items: center; gap: 1.75rem; }
.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-desktop a:hover,
.nav-desktop a.is-active { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 1px;
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a {
  padding: 0.75rem 0.5rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
}
.nav-mobile a:hover { color: var(--accent); background: var(--accent-light); }
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
}

/* Tape / ticker strip */
.market-tape {
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
}
.market-tape-inner {
  display: flex;
  gap: 2rem;
  padding: 0.55rem 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.tape-item { display: inline-flex; gap: 0.55rem; align-items: center; }
.tape-item strong { color: var(--text); font-weight: 600; }
.tape-up { color: var(--emerald); }
.tape-down { color: var(--danger); }

/* Hero — terminal board */
.hero-terminal {
  padding: 3.25rem 0 4rem;
  position: relative;
}
.hero-terminal-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 960px) {
  .hero-terminal-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: 2.5rem;
  }
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}
.hero-kicker .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px var(--emerald-dim);
}
.hero-terminal h1 { margin-bottom: 1rem; }
.hero-terminal .lead { max-width: 38rem; margin-bottom: 1.35rem; }
.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  max-width: 36rem;
}
.hero-badge {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.65);
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.35;
}
.hero-badge svg {
  width: 16px;
  height: 16px;
  margin-top: 0.1rem;
  flex-shrink: 0;
  color: var(--emerald);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0.5rem; }

.board-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-elevated) 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
  align-self: start;
}
.board-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.board-card-head span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--emerald);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}
.live-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}
.board-card-body { padding: 1.15rem; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-sm { padding: 3rem 0; }
.section-header { margin-bottom: 2rem; max-width: 40rem; }
.section-header.centered { text-align: center; margin-inline: auto; }
.section-header .lead { margin-top: 0.85rem; }

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.split {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }
}

/* Markets table */
.markets-block {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}
.exchange-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.exchange-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface-2);
}
.live-dot { color: var(--emerald); }
.ticker-list { display: flex; flex-direction: column; }
.ticker-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.ticker-row:last-child { border-bottom: none; }
.ticker-symbol { font-weight: 700; letter-spacing: -0.02em; }
.ticker-pair { font-size: 0.75rem; color: var(--text-subtle); font-family: var(--font-mono); }
.ticker-price { font-family: var(--font-mono); font-weight: 600; }
.ticker-change { font-family: var(--font-mono); font-size: 0.85rem; min-width: 4.5rem; text-align: right; }
.ticker-change.up { color: var(--emerald); }
.ticker-change.down { color: var(--danger); }

/* Platform */
.platform-section { padding: 4.5rem 0; }
.platform-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 960px) {
  .platform-layout { grid-template-columns: 0.95fr 1.05fr; }
}
.platform-points {
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.platform-points li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--text-muted);
}
.platform-points li::before {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

/* Feature rail — different from default cards grid */
.feature-rail {
  display: grid;
  gap: 0.75rem;
}
.feature-rail-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s, background 0.2s;
}
.feature-rail-item:hover {
  border-color: rgba(245, 158, 11, 0.35);
  background: var(--surface-2);
}
.feature-rail-item .idx {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  padding-top: 0.15rem;
}
.feature-rail-item p { margin-top: 0.35rem; color: var(--text-muted); font-size: 0.95rem; }

.features-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-card {
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.feature-card p { margin-top: 0.45rem; color: var(--text-muted); font-size: 0.95rem; }

/* Timeline steps */
.timeline {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.timeline-step {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid var(--border);
}
.timeline-step:last-child { border-bottom: none; }
.timeline-step .num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}
.timeline-step p { margin-top: 0.35rem; color: var(--text-muted); }

.steps {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(5, 1fr); }
}
.step-card {
  position: relative;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  counter-increment: step;
}
.step-card::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.65rem;
}
.steps { counter-reset: step; }
.step-card p { margin-top: 0.4rem; color: var(--text-muted); font-size: 0.9rem; }

/* Reviews */
.reviews-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
.review-card {
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.review-stars { color: var(--accent); letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.review-text { color: var(--text-muted); margin-bottom: 1.1rem; }
.review-author { display: flex; gap: 0.75rem; align-items: center; }
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--emerald-dim);
  color: var(--emerald);
  font-weight: 700;
  font-size: 0.8rem;
}
.review-name { font-weight: 600; }
.review-role { font-size: 0.8rem; color: var(--text-subtle); }

/* FAQ */
.faq-list { display: grid; gap: 0.65rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-icon {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.faq-item.is-open .faq-icon { transform: rotate(-135deg); }
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-content-inner {
  padding: 0 1.15rem 1.15rem;
  color: var(--text-muted);
}

/* Specs */
.specs-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.specs-row {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
}
.specs-row:last-child { border-bottom: none; }
@media (min-width: 700px) {
  .specs-row {
    grid-template-columns: 12rem 1fr;
    align-items: center;
    gap: 1.5rem;
  }
}
.specs-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.specs-value { color: var(--text-muted); }
.specs-row-highlight { background: rgba(245, 158, 11, 0.06); }

/* Trust */
.trust-card {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(245, 158, 11, 0.06));
}
@media (min-width: 700px) {
  .trust-card {
    grid-template-columns: 1fr auto auto 1fr;
    align-items: center;
    gap: 1.5rem;
  }
}
.trust-badge {
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--emerald-dim);
  color: var(--emerald);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.trust-score { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.04em; }
.trust-stars { color: var(--accent); }
.trust-meta { color: var(--text-muted); font-size: 0.9rem; }

/* CTA */
.cta-band {
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(245, 158, 11, 0.1), transparent 60%),
    var(--bg-elevated);
}
.cta-band-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 960px) {
  .cta-band-grid {
    grid-template-columns: 1fr 0.9fr;
    align-items: start;
    gap: 2.5rem;
  }
}
.cta-band .lead { margin-top: 0.85rem; }

/* Forms */
.form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}
.form-card-accent {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: var(--shadow), 0 0 0 1px rgba(245, 158, 11, 0.08);
}
.form-heading {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.form-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 0.9rem;
}
.field-full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}
.input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.input::placeholder { color: var(--text-subtle); }
.form-legal {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: var(--text-subtle);
  line-height: 1.5;
}
.form-legal a { color: var(--accent); text-decoration: underline; }

/* Page heroes / inner pages */
.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.page-hero .lead { margin-top: 0.75rem; max-width: 36rem; }

/* Payment icons */
.payment-icons { margin-top: 1rem; }

.payment-icons-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 0.625rem;
  text-align: center;
}

.payment-icons-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.625rem 0.875rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.payment-icons-list li {
  list-style: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f6fb;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  min-height: 36px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.payment-icons-list img {
  display: block;
  height: 22px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
  opacity: 1;
  filter: none;
  transition: transform 0.15s ease;
}

.payment-icons-list li:hover img { transform: translateY(-1px); }

.payment-icons--compact { margin-top: 0.875rem; }

.payment-icons--compact .payment-icons-list {
  justify-content: center;
  gap: 0.45rem 0.5rem;
}

.payment-icons--compact .payment-icons-list li {
  padding: 0.3rem 0.4rem;
  min-height: 30px;
  border-radius: 7px;
}

.payment-icons--compact .payment-icons-list img {
  height: 18px;
  max-width: 40px;
}

.payment-section { background: var(--bg-elevated); border-block: 1px solid var(--border); }

/* Platform figure */
.platform-figure {
  margin: 0;
  text-align: center;
  background: transparent;
}

.platform-figure-media {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.platform-figure-img {
  display: block;
  width: auto;
  max-width: min(100%, 340px);
  height: auto;
  max-height: 560px;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  /* no CSS filter — drop-shadow filter re-rasterizes PNG alpha and can crush
     light UI text to near-black on dark page backgrounds */
  filter: none;
  box-shadow: none;
  transform: none;
}

.platform-figure-caption {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  color: var(--text-subtle);
  line-height: 1.5;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: #05070b;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}
.footer-nav a { color: var(--text-muted); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-risk {
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-subtle);
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  color: var(--text-subtle);
  font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--accent); }
.logo-footer .logo-mark { color: var(--accent); }

/* 404 */
.not-found {
  min-height: calc(100vh - var(--header-h) - 8rem);
  display: grid;
  place-items: center;
  padding: 4rem 0;
  text-align: center;
}
.not-found-code {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, var(--accent), var(--emerald));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.not-found .lead { margin: 0.85rem auto 1.75rem; max-width: 28rem; }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (max-width: 700px) {
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions { margin-bottom: 0; }
}
.partners-grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: #f3f6fb;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.partners-grid-item img {
  width: 100%;
  max-width: 140px;
  height: auto;
  margin-inline: auto;
  opacity: 1;
  filter: none;
  border-radius: 8px;
}
