/* Iridex homepage — page-specific components (site-header, hero, footer,
   feature grid). Design tokens and generic components live in base.css. */

body { overflow-x: hidden; }

/* ---- Header login state (see assets/js/auth-nav.js) ----
   Identical to the dashboard's — same component (user-menu.js), same look,
   since it's the same session. */
.user-menu { position: relative; }
.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 4px 4px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  background: none;
  color: var(--text);
  font: inherit;
  font-size: var(--text-md);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s var(--ease-out), border-color 0.15s var(--ease-out);
}
.user-menu-trigger:hover { background: var(--surface-alt); border-color: var(--border); }
.user-menu-trigger img { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); }
.user-menu-trigger svg { width: 14px; height: 14px; color: var(--text-dim); transition: transform 0.18s var(--ease-out); }
.user-menu-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.user-menu-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 70;
  min-width: 150px;
  padding: 6px;
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  box-shadow: var(--shadow-lg);
}
.user-menu-dropdown a {
  display: block;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: var(--text-md);
  text-decoration: none;
  transition: background-color 0.15s var(--ease-out);
}
.user-menu-dropdown a:hover { background: var(--surface-alt); }

/* Fixed engineering-grid backdrop, masked to a soft glow near the top of the
   page — the same trick aboutcapy.dev uses so the grid never competes with
   content lower down. Sits behind everything, never eats clicks. */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--grid-lines);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 20%, transparent 78%);
}
.bg-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% -8%, rgba(255, 255, 255, 0.05), transparent 70%);
}
main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ================= SITE HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: 0.85rem var(--space-6);
  background: rgba(8, 8, 10, 0.82);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  transition: background-color 0.2s var(--ease-out);
}
:root[data-theme="light"] .site-header { background: rgba(247, 247, 246, 0.86); }

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-bright);
  text-decoration: none;
  white-space: nowrap;
}
.logo-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0b0b0c;
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-badge img { width: 14px; }

.site-header .nav-links { margin-right: auto; margin-left: var(--space-6); gap: var(--space-5); }
.site-header .nav-links a { font-size: var(--text-md); }

/* ================= TYPE / KICKER OVERRIDES ================= */
.brand-font { font-family: var(--font-display); font-weight: 700; }

/* ================= HERO ================= */
.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2rem, 6vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy .badge {
  margin-bottom: var(--space-5);
}
.hero h1 {
  font-size: var(--text-5xl);
  line-height: 1.03;
  margin: 0 0 var(--space-5);
}
.hero h1 .muted { color: var(--text-dim); }
.hero-sub {
  max-width: 52ch;
  margin: 0 0 var(--space-8);
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.65;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-trust {
  margin-top: var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 14px; height: 14px; color: var(--success); }

/* ---- Terminal panel: a real product shot of what /help looks like from a
   terminal's point of view. Mirrors aboutcapy.dev's terminal component. ---- */
.terminal {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--surface-solid), var(--bg-subtle));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-hi); flex: none; }
.terminal-bar i:nth-child(2) { background: var(--border); }
.terminal-bar i:nth-child(3) { background: rgba(255, 255, 255, 0.05); }
.terminal-bar span {
  margin-left: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.terminal-body {
  padding: 1.1rem 1.2rem 1.3rem;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.85;
}
.terminal-body .ln { display: flex; gap: 0.65rem; overflow-wrap: anywhere; }
.terminal-body .pr { color: var(--text-dim); flex: none; }
.terminal-body .cmd { color: var(--text-bright); }
.terminal-body .out { color: var(--text-muted); }
.terminal-body .ok { color: var(--success); }
.cursor {
  display: inline-block;
  width: 0.56ch;
  height: 1em;
  margin-left: 0.1em;
  background: var(--accent);
  vertical-align: -0.12em;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Product shot: what Iridex actually posts in-channel, shown beneath the
   terminal so the hero demonstrates both the CLI-ish feel and the real UI. */
.preview-wrap { margin-top: var(--space-5); }
.discord-preview {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #313338;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  text-align: left;
}
.dc-titlebar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #232428; border-bottom: 1px solid rgba(0, 0, 0, 0.25); }
.dc-dot { width: 10px; height: 10px; border-radius: 50%; }
.dc-dot.r { background: #ed6a5f; } .dc-dot.y { background: #f4bf50; } .dc-dot.g { background: #61c554; }
.dc-channel { margin-left: 6px; color: #949ba4; font-size: var(--text-sm); font-weight: 600; }
.dc-channel b { color: #dbdee1; font-weight: 700; }
.dc-body { padding: var(--space-4) var(--space-5) var(--space-5); }
.dc-msg { display: flex; gap: 14px; }
.dc-avatar { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; background: #0b0b0c; border: 1px solid rgba(255, 255, 255, 0.12); display: flex; align-items: center; justify-content: center; }
.dc-avatar img { width: 20px; }
.dc-msg-body { flex: 1; min-width: 0; }
.dc-author { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.dc-name { color: #f2f3f5; font-weight: 600; font-size: var(--text-md); font-family: var(--font); }
.dc-tag { background: #4e5058; color: #dbdee1; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 4px; letter-spacing: 0.02em; text-transform: uppercase; }
.dc-time { color: #949ba4; font-size: var(--text-xs); }
.dc-container { border-left: 4px solid #6b6b73; background: #2b2d31; border-radius: 4px; padding: 12px 15px; margin-top: 2px; }
.dc-container h4 { margin: 0 0 7px; color: #f2f3f5; font-size: var(--text-base); font-family: var(--font-display); }
.dc-container p { margin: 0; color: #b5bac1; font-size: var(--text-md); line-height: 1.5; }
.dc-mention { color: #d9dbe0; background: rgba(255, 255, 255, 0.09); border-radius: 3px; padding: 0 2px; font-weight: 500; }
.dc-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.dc-btn { font-family: var(--font); font-size: var(--text-sm); font-weight: 600; padding: 6px 14px; border-radius: 4px; border: none; color: #fff; }
.dc-btn.primary { background: #5865f2; }
.dc-btn.success { background: #248046; }
.dc-btn.secondary { background: #4e5058; }
.dc-btn.danger { background: #da373c; }

/* ================= SECTION SHELL ================= */
.section { padding: var(--space-20) 0; scroll-margin-top: 90px; }
.section-head { margin-bottom: var(--space-10); }
.section-head.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .kicker::after { display: none; }
.section-head.center .section-sub { text-align: center; }

/* ================= FEATURE GRID ================= */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4); }
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > *, .bento .span-3, .bento .span-4 { grid-column: span 1; }
}
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }

.feature-card { display: flex; flex-direction: column; gap: var(--space-3); min-height: 100%; }
.feature-card h3 { margin: 0; font-size: var(--text-lg); }
.feature-card p { margin: 0; color: var(--text-muted); font-size: var(--text-md); line-height: 1.6; }
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--surface-hi);
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-1);
}
.feature-icon svg { width: 20px; height: 20px; stroke: var(--text) !important; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: var(--space-3); }
.feature-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 2px 9px;
}

/* ================= STEPS ================= */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: var(--space-8); }
.step-card { text-align: center; }
.step-num {
  width: 32px; height: 32px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: var(--text-md);
  color: var(--text);
  background: var(--surface-alt);
  border: 1px solid var(--border-hi);
}
.step-card h3 { margin: 0 0 var(--space-2); font-size: var(--text-lg); }
.step-card p { color: var(--text-muted); font-size: var(--text-md); margin: 0; }
.step-card code { background: var(--surface-alt); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; color: var(--text); }

/* ================= STAT STRIP ================= */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--border);
  overflow: hidden;
}
.stat { padding: var(--space-5); background: var(--bg-subtle); text-align: left; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ================= CTA ================= */
.cta-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-16) var(--space-6);
  text-align: center;
  background: var(--surface);
}
.cta-card h2 { margin: 0 0 var(--space-3); font-size: var(--text-3xl); }
.cta-card p { color: var(--text-muted); max-width: 48ch; margin: 0 auto; }
.cta-card .hero-ctas { margin-top: var(--space-8); justify-content: center; }

/* ================= SITE FOOTER ================= */
.site-footer {
  margin-top: auto; /* sticky footer */
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.012);
}
:root[data-theme="light"] .site-footer { background: rgba(0, 0, 0, 0.012); }
.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
  padding: var(--space-10) var(--space-6) var(--space-6);
}
.footer-brand-row { display: flex; align-items: center; gap: 9px; }
.footer-brand strong { font-family: var(--font-mono); font-size: var(--text-lg); color: var(--text-bright); }
.footer-brand p { color: var(--text-muted); margin-top: var(--space-3); max-width: 34ch; font-size: var(--text-md); }
.footer-status { display: flex; align-items: center; gap: 7px; margin-top: var(--space-3); font-size: var(--text-xs); color: var(--text-dim); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-dim); flex-shrink: 0; }
.status-dot.online { background: var(--success); }
.status-dot.offline { background: var(--danger); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.footer-col h4 {
  font-family: var(--font-mono);
  margin: 0 0 var(--space-2);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 500;
}
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--text-md);
  padding: 3px 0;
  transition: color 0.16s var(--ease-out);
}
.footer-col a:hover { color: var(--text-bright); }
.footer-disclaimer {
  max-width: 1160px;
  margin: 0 auto;
  padding: var(--space-5) var(--space-6) var(--space-8);
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  border-top: 1px solid var(--border);
}

/* ================= MOBILE NAV ================= */
.nav-toggle {
  display: none;
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hi);
  background: var(--surface);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle svg { width: 17px; height: 17px; }
.nav-toggle .icon-close { display: none; }
.site-header.is-open .nav-toggle .icon-open { display: none; }
.site-header.is-open .nav-toggle .icon-close { display: block; }

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-header { position: sticky; gap: var(--space-3); }
  .nav-toggle { display: flex; }
  .site-header .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: var(--space-3);
    background: rgba(8, 8, 10, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
  }
  :root[data-theme="light"] .site-header .nav-links { background: rgba(247, 247, 246, 0.98); }
  .site-header.is-open .nav-links { display: flex; }
  .site-header .nav-links li { width: 100%; }
  .site-header .nav-links a { display: block; width: 100%; padding: 11px 10px; border-radius: var(--radius-sm); }
  .site-header .nav-links a:hover { background: var(--surface); }
  .site-header > .btn { margin-left: auto; }
}

@media (max-width: 520px) {
  .site-header > .btn { display: none; }
  /* The logged-in profile control stays (unlike the CTA buttons above) —
     logging out should still be reachable on mobile — just compacted down
     to avatar+chevron so a long username can't push the header wider than
     the viewport next to the brand and hamburger toggle. */
  .site-header .user-menu-trigger span { display: none; }
  .site-header .user-menu-trigger { padding: 4px; gap: 0; }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .bento .span-3, .bento .span-4 { grid-column: span 2; }
}
@media (max-width: 620px) {
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ================= PAGE HEAD (subpages) ================= */
/* Replaces a full hero band on secondary pages — a page title sitting
   directly on the grid backdrop, the way aboutcapy's inner pages just start
   with an <h1> rather than a promotional banner. */
.page-head {
  padding: clamp(2.5rem, 6vw, 4rem) 0 var(--space-8);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-head h1 { font-size: var(--text-4xl); margin: 0; }
.page-head > p { color: var(--text-muted); margin-top: var(--space-3); font-size: var(--text-lg); }

.category-nav { display: flex; gap: var(--space-2); justify-content: center; flex-wrap: wrap; margin-top: var(--space-6); }
.category-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  background: var(--surface);
  border: 1px solid var(--border-hi);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.category-nav a:hover { border-color: var(--accent); color: var(--text-bright); transform: translateY(-2px); }

/* ================= FEATURES PAGE ================= */
.feature-page { padding-top: var(--space-12); }
.feature-block { margin-bottom: var(--space-16); scroll-margin-top: 90px; }
.feature-block-head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
}
.feature-block-head h2 { margin: 0 0 var(--space-1); font-size: var(--text-2xl); }
.feature-block-head p { margin: 0; font-size: var(--text-md); }
.feature-block-head .feature-icon { margin-bottom: 0; flex-shrink: 0; }
.feature-detail h3 { margin: 0 0 var(--space-2); font-size: var(--text-base); font-family: var(--font-display); }
.feature-detail p { margin: 0; color: var(--text-muted); font-size: var(--text-md); }
.feature-detail code { background: var(--surface-alt); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; color: var(--text); }
.feature-detail .feature-tags { margin-top: var(--space-4); padding-top: 0; }

/* ================= WIKI / COMMANDS PAGES (mirrored onto the homepage) ================= */
.commands-page { width: 100%; padding: var(--space-12) var(--space-6) var(--space-24); max-width: 940px; margin: 0 auto; }
.category-section { margin-bottom: var(--space-16); scroll-margin-top: 90px; }
.category-section h2 {
  font-size: var(--text-2xl);
  display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.category-section h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }
.command-card { scroll-margin-top: 90px; }
.command-card h3 { margin: 0; font-family: var(--font-mono); font-size: var(--text-base); font-weight: 500; color: var(--text-bright); letter-spacing: 0; }
.command-card > p { color: var(--text-muted); margin: var(--space-2) 0 0; }
/* Wide content (the 4-column option table) scrolls inside its own
   container on narrow viewports instead of pushing the whole page wider
   than the screen. */
.table-scroll { width: 100%; overflow-x: auto; }
.opt-table { width: 100%; border-collapse: collapse; margin-top: var(--space-4); font-size: var(--text-md); }
.opt-table th, .opt-table td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--border); }
.opt-table th { color: var(--text-dim); font-weight: 700; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.07em; }
.opt-table td { color: var(--text-muted); }
.opt-table tr:last-child td { border-bottom: none; }
.opt-table code, .command-card .hint code { color: var(--text-bright); }

.wiki-page { width: 100%; padding: var(--space-12) var(--space-6) var(--space-24); max-width: 1000px; margin: 0 auto; }
.wiki-card { text-decoration: none; display: flex; flex-direction: column; gap: var(--space-2); }
.wiki-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--surface-hi);
  border: 1px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-2);
}
.wiki-icon svg { width: 21px; height: 21px; stroke: var(--text) !important; }
.wiki-card h3 { margin: 0; font-size: var(--text-lg); }
.wiki-card p { margin: 0; color: var(--text-muted); font-size: var(--text-md); }

.category-grid { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.category-pill {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: var(--text-md);
  background: var(--surface-alt);
  border: 1px solid var(--border-hi);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.category-pill:hover { border-color: var(--accent); color: var(--text-bright); transform: translateY(-2px); }

/* ================= UPDATES ================= */
.updates-list { width: 100%; padding: var(--space-12) var(--space-6) var(--space-24); max-width: 760px; margin: 0 auto; }
.update-card { margin-bottom: var(--space-5); }
.update-card time { color: var(--text-dim); font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.update-card h3 { margin: var(--space-2) 0 var(--space-3); font-size: var(--text-xl); }
.update-card > div { color: var(--text-muted); }
.update-card a { color: var(--text-bright); }

.subscribe-card {
  max-width: 520px;
  margin: 0 auto var(--space-8);
  text-align: center;
}
.subscribe-icon {
  width: 46px; height: 46px;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--surface-hi);
  border: 1px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
}
.subscribe-icon svg { width: 21px; height: 21px; stroke: var(--text) !important; }
.subscribe-card h3 { margin: 0 0 var(--space-2); font-size: var(--text-xl); }
.subscribe-card .btn { margin-top: var(--space-4); }

/* ================= LEGAL ================= */
.legal { width: 100%; padding: var(--space-10) var(--space-6) var(--space-24); max-width: 760px; margin: 0 auto; }
.legal p, .legal li { color: var(--text-muted); }
.legal h2 { margin-top: var(--space-10); font-size: var(--text-xl); color: var(--text-bright); }
.legal a { color: var(--text-bright); text-decoration-color: var(--border-hi); }
.legal code { background: var(--surface-alt); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; color: var(--text); }
.legal ul, .legal ol { padding-left: 1.2em; }
.legal li { margin-bottom: var(--space-2); }
