/* ============================================================
   VHAGAR MARKET STATUS — "Dragon's Ledger" theme
   Light editorial design: warm paper, serif display, ember accent
   ============================================================ */

:root {
  --paper: #f6f1e7;
  --paper-2: #efe8d8;
  --card: #fffdf7;
  --ink: #221c15;
  --ink-soft: #4a4238;
  --muted: #7d7264;
  --line: #e3dac6;
  --line-bright: #d4c9ae;
  --ember: #c2410c;
  --ember-deep: #9a3412;
  --gold: #a16207;
  --gold-soft: #fef3c7;
  --green: #15803d;
  --green-soft: #dcfce7;
  --red: #b91c1c;
  --red-soft: #fee2e2;
  --blue-soft: #dbeafe;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(34,28,21,0.05), 0 8px 24px rgba(34,28,21,0.06);
  --shadow-lg: 0 2px 4px rgba(34,28,21,0.06), 0 16px 48px rgba(34,28,21,0.10);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* subtle paper texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(162,98,7,0.035) 1px, transparent 1px);
  background-size: 22px 22px;
}

.wrap { position: relative; z-index: 1; }

/* ============ STATUS BAR ============ */
.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.42rem 1.5rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.status-bar .sb-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.status-bar .sb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.status-bar b { color: var(--green); font-weight: 700; }
.status-bar .live-stamp { color: var(--ink-soft); font-weight: 400; text-transform: none; letter-spacing: 0.02em; }
.status-bar .sb-right { color: var(--muted); white-space: nowrap; }

/* ============ TOP NAV ============ */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246,241,231,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand .flame {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ember), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #fff;
  box-shadow: var(--shadow);
  flex-shrink: 0;
  overflow: hidden;
}

.brand .flame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand .wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand .wordmark small {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  transition: all 0.18s;
}

.nav-links a:hover { color: var(--ember-deep); background: var(--paper-2); }
.nav-links a.active { color: var(--ember-deep); font-weight: 600; }

/* ============ NAV DROPDOWN ============ */
.nav-links > li { position: relative; }

.nav-links .drop {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 300px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem;
  z-index: 200;
}

.nav-links li.has-drop:hover .drop,
.nav-links li.has-drop:focus-within .drop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem;
}

.drop a {
  display: block;
  padding: 0.5rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 7px;
  white-space: nowrap;
  transition: all 0.15s;
}

.drop a:hover { background: var(--paper-2); color: var(--ember-deep); }
.drop a.drop-head { font-weight: 700; color: var(--ember-deep); grid-column: 1 / -1; border-bottom: 1px solid var(--line); border-radius: 0 0 0 0; margin-bottom: 0.3rem; padding-bottom: 0.6rem; }

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper) !important;
  transition: all 0.18s;
}

.nav-cta:hover { background: var(--ember-deep) !important; transform: translateY(-1px); }

.menu-btn {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-bright);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--ink);
}

/* ============ HERO ============ */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember-deep);
  background: var(--gold-soft);
  border: 1px solid #ecd9a8;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.hero .eyebrow .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(21,128,61,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(21,128,61,0); }
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--ember);
  font-weight: 500;
}

.hero .lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.btn-primary:hover { background: var(--ember-deep); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line-bright);
  box-shadow: var(--shadow);
}

.btn-ghost:hover { border-color: var(--ember); color: var(--ember-deep); transform: translateY(-2px); }

.btn-sm { padding: 0.5rem 0.95rem; font-size: 0.8rem; }

/* ============ STATUS CARD (hero right) ============ */
.status-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.status-card .sc-head {
  padding: 1rem 1.3rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper-2);
}

.status-card .sc-head .t {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.sc-body { padding: 1.3rem; }

.onion-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  margin-bottom: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  word-break: break-all;
}

.onion-row .copy-btn {
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  border: 1px solid var(--line-bright);
  background: var(--card);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s;
}

.onion-row .copy-btn:hover { border-color: var(--ember); color: var(--ember-deep); }
.onion-row .copy-btn.copied { background: var(--green-soft); border-color: var(--green); color: var(--green); }

.sc-meta {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  font-size: 0.78rem;
}

.sc-meta .cell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
}

.sc-meta .cell b {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

/* ============ SECTIONS ============ */
section.block {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.sec-head { margin-bottom: 2rem; max-width: 46rem; }

.sec-head .kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 0.5rem;
  display: block;
}

.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.7rem;
}

.sec-head p { color: var(--ink-soft); font-size: 1rem; }

/* ============ STATS STRIP ============ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0 auto 3.5rem;
  max-width: 1180px;
  padding: 0 1.5rem;
}

.stat-cell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-cell b {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ember-deep);
  display: block;
  line-height: 1;
}

.stat-cell span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ============ GUIDE CARDS ============ */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.guide-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: all 0.22s;
  position: relative;
  overflow: hidden;
}

.guide-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ember), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-bright); }
.guide-card:hover::after { transform: scaleX(1); }

.guide-card .g-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.guide-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.guide-card p {
  font-size: 0.88rem;
  color: var(--muted);
  flex: 1;
}

.guide-card .g-tag {
  margin-top: 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember-deep);
}

/* ============ ARTICLE / PROSE ============ */
.article-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.crumb {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--ember-deep); }
.crumb .sep { color: var(--line-bright); }

.article-wrap h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 0.6rem;
}

.article-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 2.2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.prose h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.6rem 0 0.9rem;
  letter-spacing: -0.01em;
}

.prose h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.8rem 0 0.6rem;
  color: var(--ink);
}

.prose p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1.1rem 1.4rem; color: var(--ink-soft); }
.prose li { margin-bottom: 0.45rem; }
.prose a { color: var(--ember-deep); }

/* step flow */
.steps { margin: 1.4rem 0 2rem; counter-reset: step; }

.step {
  display: flex;
  gap: 1.1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.step:last-child { border-bottom: none; }

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--line-bright);
  flex-shrink: 0;
  width: 2.2rem;
  line-height: 1.2;
}

.step .s-body h3 { margin-top: 0; }
.step .s-body p { margin-bottom: 0; }

/* callouts */
.callout {
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin: 1.6rem 0;
  font-size: 0.92rem;
  border: 1px solid;
}

.callout.warn {
  background: var(--gold-soft);
  border-color: #ecd9a8;
  color: #713f12;
}

.callout.danger {
  background: var(--red-soft);
  border-color: #fecaca;
  color: #7f1d1d;
}

.callout.info {
  background: var(--blue-soft);
  border-color: #bfdbfe;
  color: #1e40af;
}

.callout b { display: block; margin-bottom: 0.3rem; }

/* tables */
.tbl-wrap { overflow-x: auto; margin: 1.4rem 0 2rem; }

table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

table.spec th {
  text-align: left;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 0.8rem 1rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

table.spec td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}

table.spec tr:last-child td { border-bottom: none; }

/* pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.pill.online { background: var(--green-soft); color: var(--green); }
.pill.offline { background: var(--red-soft); color: var(--red); }
.pill.warn { background: var(--gold-soft); color: var(--gold); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ============ FAQ ============ */
.faq-list { max-width: 780px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.15rem 1.4rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--ember);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-a { max-height: 500px; }

.faq-a-inner {
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding: 3rem 1.5rem 2rem;
  position: relative;
  z-index: 1;
}

.foot-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.foot-brand .brand { margin-bottom: 1rem; }
.foot-brand p { font-size: 0.85rem; color: var(--muted); max-width: 20rem; }

.foot-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.foot-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.3rem 0;
  transition: color 0.15s;
}

.foot-col a:hover { color: var(--ember-deep); }

.foot-bottom {
  max-width: 1180px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.foot-bottom a { color: var(--muted); text-decoration: none; margin-left: 1.2rem; }
.foot-bottom a:hover { color: var(--ember-deep); }

/* ============ SCREENSHOTS & FIGURES ============ */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.6rem 0 2rem;
}

.shot {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.22s, box-shadow 0.22s;
}

.shot:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.shot img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.shot figcaption {
  padding: 0.7rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

.shot-single {
  margin: 1.8rem 0 2rem;
}

.shot-single img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: block;
}

.shot-single figcaption {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-family: var(--mono);
}

/* ============ PGP KEY BLOCK ============ */
.key-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin: 1.6rem 0 2rem;
}

.key-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.2rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.key-head .t {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.key-block {
  font-family: var(--mono);
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--ink-soft);
  padding: 1.2rem;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 480px;
  overflow-y: auto;
  background: var(--paper);
}

.key-actions {
  padding: 0.9rem 1.2rem;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 3rem; gap: 2.5rem; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .foot-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    align-items: stretch;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.8rem 1rem; }

  .nav-links .drop {
    display: block;
    position: static;
    transform: none;
    min-width: 0;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--line);
    border-radius: 0;
    margin: 0.3rem 0 0.3rem 0.8rem;
    padding: 0 0 0 0.6rem;
    grid-template-columns: 1fr;
  }

  .drop a { white-space: normal; }
  .drop a.drop-head { display: none; }

  .menu-btn { display: block; }
  .nav-cta { display: none; }

  .guide-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .foot-inner { grid-template-columns: 1fr; gap: 1.8rem; }

  .hero-actions .btn { flex: 1; justify-content: center; }

  .status-bar { padding: 0.42rem 1rem; font-size: 0.62rem; }
  .status-bar .sb-right { display: none; }
}
