/* ============================================================
   ADAMANTINE — surface technology brand site
   Plain CSS, no framework. Dark, crystalline, premium.
   ============================================================ */

:root {
  --bg: #07090d;
  --bg-2: #0b0e14;
  --bg-3: #10141c;
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.05);
  --text: #eceff4;
  --muted: #9aa3b0;
  --faint: #6b7380;
  --ice: #8fd8ff;
  --ice-deep: #4f9df7;
  --gold: #d8b56d;
  --grad: linear-gradient(100deg, #bfe9ff 0%, #8fd8ff 35%, #6aa8ff 70%, #a5b4fc 100%);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-strong: rgba(255, 255, 255, 0.06);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container: 1180px;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle grain + glow backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(79, 157, 247, 0.14), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(216, 181, 109, 0.05), transparent 60%);
}

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

a { color: var(--ice); text-decoration: none; }
a:hover { color: #bfe9ff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

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

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ice);
  margin: 0 0 18px;
}

.section-title {
  font-size: clamp(34px, 4.6vw, 56px);
  max-width: 16ch;
}

.section-lede {
  color: var(--muted);
  font-size: 19px;
  max-width: 62ch;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(7, 9, 13, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text);
  text-transform: uppercase;
}
.wordmark:hover { color: var(--text); }
.wordmark svg { flex: none; }

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

.main-nav a {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--text); }

.nav-cta {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text) !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav-cta:hover { border-color: rgba(143, 216, 255, 0.5); background: rgba(143, 216, 255, 0.07); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
  color: var(--text);
}

/* ---------- Hero ---------- */

.hero {
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 170px 0 0;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  opacity: 0.5;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 13, 0.72) 0%, rgba(7, 9, 13, 0.35) 40%, rgba(7, 9, 13, 0.94) 82%, var(--bg) 100%),
    radial-gradient(1000px 500px at 70% 110%, rgba(79, 157, 247, 0.22), transparent 60%);
}

.hero .container { padding-bottom: 84px; }

.hero h1 {
  font-size: clamp(46px, 7.4vw, 96px);
  max-width: 12ch;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  color: #c6cdd8;
  max-width: 58ch;
  margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 72px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  color: #06121f;
  background: var(--grad);
  box-shadow: 0 10px 34px rgba(79, 157, 247, 0.35);
}
.btn-primary:hover { color: #06121f; transform: translateY(-2px); box-shadow: 0 16px 44px rgba(79, 157, 247, 0.45); }

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { color: var(--text); border-color: rgba(143, 216, 255, 0.5); background: rgba(143, 216, 255, 0.07); }

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  background: rgba(10, 12, 18, 0.82);
  backdrop-filter: blur(8px);
  padding: 26px 24px;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}
.stat span { font-size: 13.5px; color: var(--muted); letter-spacing: 0.02em; }

/* ---------- Mark strip (ingredient brand) ---------- */

.marks {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-2);
  padding: 64px 0;
  text-align: center;
}

.marks p {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto;
}
.marks p strong { color: var(--text); font-weight: 600; }
.marks small {
  display: block;
  margin-top: 22px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.04em;
}

/* ---------- Technology ---------- */

.tech-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

/* CSS layer-stack diagram */
.layer-stack { display: flex; flex-direction: column; gap: 10px; }

.layer {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px 18px 24px;
  background: var(--glass);
  overflow: hidden;
}
.layer::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--layer-accent, var(--line));
}
.layer b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.layer span { font-size: 13.5px; color: var(--muted); line-height: 1.5; display: block; }

.layer-1 { --layer-accent: var(--grad); background: linear-gradient(100deg, rgba(143,216,255,0.10), rgba(165,180,252,0.05)); border-color: rgba(143, 216, 255, 0.35); box-shadow: 0 0 40px rgba(79, 157, 247, 0.12); }
.layer-1 b { color: var(--ice); }
.layer-2 { --layer-accent: #6aa8ff; }
.layer-3 { --layer-accent: var(--gold); }
.layer-4 { --layer-accent: #7d8aa0; }
.layer-5 { --layer-accent: #4a5261; }

.layer-tag {
  position: absolute;
  top: 14px; right: 16px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.layer-1 .layer-tag { color: var(--ice); }

.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 64px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  padding: 30px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 216, 255, 0.32);
  background: var(--glass-strong);
}
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); margin: 0; }

.card .icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 20px;
  background: rgba(143, 216, 255, 0.09);
  border: 1px solid rgba(143, 216, 255, 0.22);
  color: var(--ice);
}

/* ---------- Applications ---------- */

.apps { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

.app-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px 40px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  overflow: hidden;
}
.app-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px 260px at 90% -10%, rgba(143, 216, 255, 0.10), transparent 65%);
}
.app-panel:nth-child(2)::after {
  background: radial-gradient(420px 260px at 90% -10%, rgba(216, 181, 109, 0.10), transparent 65%);
}

.app-panel .kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.app-panel:first-child .kicker { color: var(--ice); }

.app-panel h3 { font-size: clamp(26px, 2.6vw, 34px); }
.app-panel p { color: var(--muted); font-size: 15.5px; }
.app-panel ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-panel li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: #c6cdd8;
}
.app-panel li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--ice);
  border-bottom: 2px solid var(--ice);
  transform: rotate(-45deg);
}

/* ---------- Comparison ---------- */

.compare-wrap {
  margin-top: 52px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-2);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.compare th, .compare td {
  text-align: left;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.compare tr:last-child td { border-bottom: none; }
.compare thead th {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  background: var(--glass);
}
.compare thead th.adamantine-col { color: var(--ice); }
.compare td:first-child { color: var(--muted); font-weight: 500; width: 26%; }
.compare td.adamantine-col { color: var(--text); background: rgba(143, 216, 255, 0.045); }
.compare td.dim { color: var(--faint); }

/* ---------- Brands ---------- */

.brands { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

.brand-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px 40px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.brand-card.featured { border-color: rgba(216, 181, 109, 0.35); }

.badge-powered {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(143, 216, 255, 0.3);
  background: rgba(143, 216, 255, 0.07);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ice);
}

.brand-card h3 { font-size: clamp(26px, 2.6vw, 34px); margin: 0; }
.brand-card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.brand-card .spacer { flex: 1; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
}
.link-arrow svg { transition: transform 0.2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Journal ---------- */

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

.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
  color: var(--text);
}
.post-card:hover { transform: translateY(-4px); border-color: rgba(143, 216, 255, 0.32); color: var(--text); }

.post-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-3); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .thumb img { transform: scale(1.04); }

.post-card .body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .meta { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.post-card h3 { font-size: 19.5px; line-height: 1.3; margin: 0; }
.post-card p { font-size: 14.5px; color: var(--muted); margin: 0; flex: 1; }

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

/* ---------- FAQ ---------- */

.faq-list { margin-top: 48px; max-width: 820px; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17.5px;
  font-weight: 600;
  text-align: left;
  padding: 24px 4px;
  cursor: pointer;
}
.faq-q .chev { flex: none; transition: transform 0.25s ease; color: var(--ice); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p {
  padding: 0 4px 26px;
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 68ch;
}

/* ---------- CTA band ---------- */

.cta-band {
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 380px at 50% 120%, rgba(79, 157, 247, 0.18), transparent 65%);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(38px, 5.4vw, 68px); max-width: 16ch; margin-left: auto; margin-right: auto; }
.cta-band p { color: var(--muted); font-size: 18px; max-width: 54ch; margin: 0 auto 40px; }
.cta-band .hero-actions { justify-content: center; margin: 0; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-2);
  padding: 64px 0 40px;
}

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

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.site-footer ul a { color: var(--muted); font-size: 14.5px; }
.site-footer ul a:hover { color: var(--text); }

.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 38ch; margin-top: 16px; }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--faint);
}

/* ---------- Blog article ---------- */

.article-hero {
  padding: 170px 0 64px;
  position: relative;
}
.article-hero .meta { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 20px; }
.article-hero h1 { font-size: clamp(34px, 4.6vw, 58px); max-width: 20ch; }

.article-feature {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 56px;
}
.article-feature img { width: 100%; max-height: 480px; object-fit: cover; }

.article-body { max-width: 760px; margin: 0 auto; padding-bottom: 96px; }

.prose { font-size: 17.5px; color: #ccd2dc; }
.prose h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-top: 56px;
  color: var(--text);
}
.prose h3 { font-size: clamp(21px, 2.4vw, 26px); margin-top: 40px; color: var(--text); }
.prose p { margin-bottom: 1.4em; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.prose li { margin-bottom: 0.5em; }
.prose img { border-radius: 14px; margin: 40px auto; border: 1px solid var(--line); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(143, 216, 255, 0.4); }
.prose a:hover { text-decoration-color: currentColor; }
.prose blockquote {
  margin: 40px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--ice);
  background: var(--glass);
  border-radius: 0 12px 12px 0;
  font-style: italic;
}
.prose table { width: 100%; border-collapse: collapse; margin: 32px 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; }
.prose > ol > li > a, .prose > ul > li > a { text-decoration: none; }

.article-nav {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 0 96px;
}
.back-link { font-size: 14.5px; font-weight: 600; }

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- Launch-review fixes ---------- */

/* WCAG AA: --faint must reach 4.5:1 on --bg for small text */
:root { --faint: #7d8494; }

/* Blog-index cards use h2 (h1 precedes them); match card h3 styling */
.post-card h2 { font-size: 19.5px; line-height: 1.3; margin: 0; }

/* 404 page uses h1 inside the CTA band */
.cta-band h1 { font-size: clamp(38px, 5.4vw, 68px); max-width: 16ch; margin-left: auto; margin-right: auto; }

/* Keep anchor targets clear of the fixed 72px header */
[id] { scroll-margin-top: 84px; }

/* Visible keyboard focus */
:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Related articles on post pages */
.article-related { max-width: var(--container); margin: 0 auto; padding: 32px 0 8px; }
.article-related > h2 { font-size: clamp(24px, 3vw, 32px); }
.article-related .post-grid { margin-top: 24px; }

/* Footnote under the comparison table */
.table-note { font-size: 13px; color: var(--faint); margin: 16px 4px 0; max-width: 72ch; }

/* ---------- Guardian imagery ---------- */

.feature-figure {
  display: block;
  margin: 56px auto 0;
  max-width: 1000px;
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.tech-figure {
  display: block;
  margin-top: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* Full-bleed images at the top of panels/cards (parents have 44px/40px padding) */
.app-panel { overflow: hidden; }
.brand-card { overflow: hidden; }

.app-img, .brand-img {
  display: block;
  width: calc(100% + 80px);
  max-width: none;
  margin: -44px -40px 28px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.brand-img { aspect-ratio: 16 / 9; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .tech-grid { grid-template-columns: 1fr; gap: 48px; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  section { padding: 72px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .app-grid, .brand-grid, .post-grid { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 14px 14px; font-size: 13.5px; }
  .compare td:first-child { width: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 9, 13, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 12px 28px 24px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .main-nav a:last-child { border-bottom: none; }
  .nav-cta { text-align: center; margin-top: 12px; }
}
