/* Shared styles for the Aurus legal pages (/terms, /policy).
   Mirrors the beta.aur.us landing design system (tokens.css / Navbar / FooterSection). */

:root {
  --color-bg-dark: #090909;
  --color-bg-card: #161618;
  --color-card-border: #202021;
  --color-text-primary: #EDEDEF;
  --color-text-muted: #706F79;
  --color-accent-gold: #FDD33F;
  --color-white-17: rgba(255, 255, 255, 0.17);
  --font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --section-padding-x: clamp(20px, 5vw, 80px);
  --section-max-width: 1280px;
  --page-width: 1440px;
  --radius-pill: 100px;
  --transition-fast: 200ms ease;
  --transition-medium: 300ms ease;
  --transition-slow: 500ms ease;
  --ease-out-ui: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  font-size: 16px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg-dark);
  color: var(--color-text-primary);
  line-height: 1.6;
  /* No overflow-x here: html { overflow-x: clip } already prevents horizontal
     scroll, and an overflow value on body would make it the scroll container
     for position: sticky (breaking the sticky navbar + article sidebar). */
}

/* Lock scrolling on html only. An overflow value on body would make it the
   scroll container for position: sticky and send the navbar to the top of
   the document — off-screen on any scrolled page — the moment the menu opens. */
html.nav-lock { overflow: hidden; }

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

/* ───────────────────────── Navbar (mirrors Navbar.module.css) ───────────── */

.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #090909;
  border-bottom: 1px solid transparent;
  color: var(--color-text-primary);
  /* Clip on x only: the closed mobile sheet sits at translateX(100%) and
     would otherwise widen the page (iOS Safari lets the user pan into it).
     y stays visible for the sheet and dropdown; clip is not a scroll
     container, so sticky still works. */
  overflow-x: clip;
  overflow-y: visible;
  transition: background-color 180ms var(--ease-out-ui),
              border-color 180ms var(--ease-out-ui),
              backdrop-filter 180ms var(--ease-out-ui);
}

.navbar-wrapper.is-scrolled,
.navbar-wrapper.is-menu-open {
  background: rgba(9, 9, 9, 0.76);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
}

.navbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  min-height: 76px;
  padding: 16px var(--section-padding-x);
}

.nav-logo { display: flex; align-items: center; gap: 8px; }

.logo-img { height: 24px; width: auto; }

.nav-start,
.nav-primary,
.nav-actions,
.nav-item,
.nav-mobile-downloads {
  display: flex;
  align-items: center;
}

.nav-start { gap: 48px; min-width: 0; }

/* Figma node 1892:1002: X and Discord beside Download — 42px outline pills
   (12px around an 18px glyph), matching the download pill's height and its
   0.5px --color-white-17 border. */
.nav-icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 0.5px solid var(--color-white-17);
  border-radius: var(--radius-pill);
  color: #ededef;
  transition: background-color var(--transition-fast),
              border-color var(--transition-fast),
              transform 140ms var(--ease-out-ui);
}

.nav-icon-btn svg { display: block; }

.nav-mobile-socials { display: flex; gap: 6px; }

.nav-primary { gap: 8px; }

.nav-dropdown { position: relative; }

.nav-link,
.nav-item {
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ededef;
  font: 500 16px/20px var(--font-family);
  letter-spacing: -0.16px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, transform 140ms var(--ease-out-ui);
}

.nav-item { gap: 4px; }

.nav-link[aria-current='page'] { color: var(--color-accent-gold); }

.nav-chevron {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 180ms var(--ease-out-ui);
}

.navbar-wrapper.is-features-open .nav-chevron { transform: rotate(180deg); }

/* Features mega-menu (Figma "Navbar expanded"): item list + contextual preview card */
.nav-features-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 747px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 32px;
  background: #090909;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px) scale(0.98);
  transform-origin: top left;
  transition: opacity 150ms var(--ease-out-ui), transform 180ms var(--ease-out-ui), visibility 180ms;
}

/* Invisible bridge over the 8px gap between trigger and panel, so hovering
   from one to the other never drops the hover state. */
.nav-features-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  right: 0;
  left: 0;
  height: 10px;
}

.navbar-wrapper.is-features-open .nav-features-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.nav-feature-list {
  display: flex;
  flex-direction: column;
  width: 353px;
  flex: none;
}

.nav-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 16px 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 150ms ease, transform 140ms var(--ease-out-ui);
}

.nav-feature-item.is-active { background: #101012; }

/* Unpublished destinations: inert, with a "Coming soon" pill on hover/focus. */
.nav-feature-item[aria-disabled='true'],
.nav-link.is-soon { cursor: default; }

/* Figma "Coming soon" pill (nodes 1841:10461 dropdown / 1841:10458 nav link). */
.nav-soon-pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: #1c1c1f;
  color: #706f79;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.24px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms var(--ease-out-ui);
}

/* Dropdown rows: pill floats over the row end so it never steals width from
   the description (which would truncate it even while the pill is hidden). */
.nav-feature-item { position: relative; }

/* Sits at the row end, clear of the title. Overlaying the words made the pill
   read as a label on the feature itself — as if the feature were unreleased —
   and "Details coming soon" is too wide to sit over them anyway. */
.nav-feature-item .nav-soon-pill {
  position: absolute;
  top: 50%;
  right: 16px;
  background: rgba(28, 28, 31, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: inset 0 0.27px 0.54px rgba(13, 13, 13, 0.4);
  color: #ededef;
  transform: translateY(-50%) rotate(-3.43deg);
}

.nav-feature-item:hover .nav-soon-pill,
.nav-feature-item:focus-visible .nav-soon-pill { opacity: 1; }

/* Top-level link: pill covers the label. */
.nav-link.is-soon { position: relative; }

.nav-link.is-soon .nav-soon-pill {
  position: absolute;
  top: 50%;
  left: calc(50% + 1.93px);
  padding: 1.5px 6px;
  background: rgba(28, 28, 31, 0.9);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  font-size: 9px;
  letter-spacing: -0.18px;
  transform: translate(-50%, -50%) rotate(-5.23deg);
}

.nav-link.is-soon:hover .nav-soon-pill { opacity: 1; }

/* Icon tile: background = tile, color = stroke. Active/hover flips to gold + #090909. */
.nav-feature-icon {
  width: 32px;
  height: 32px;
  flex: none;
  display: block;
  border-radius: 8px;
  background: #1c1c1f;
  color: #ededef;
  transition: background-color 150ms ease, color 150ms ease;
}

.nav-feature-item.is-active .nav-feature-icon {
  background: var(--color-accent-gold);
  color: #090909;
}

/* Pure image slot: the exported artwork includes its own background + phone.
   Export at 370x392 (or 2x: 740x784); the box clips it to the 24px radius. */
.nav-feature-preview {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 392px;
  border-radius: 24px;
  background: transparent;
  overflow: hidden;
}

/* Same fade as the homepage feature slider: opacity + settle from scale(1.04) */
.nav-feature-preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.nav-feature-preview-img.is-active { opacity: 1; transform: scale(1); }

.nav-feature-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.nav-feature-title {
  color: #ededef;
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: -0.32px;
}

.nav-feature-description {
  overflow: hidden;
  color: #706f79;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 6px, per Figma 1892:1002 — tighter than the rest of the bar so Download,
   X and Discord read as one group. */
.nav-actions { gap: 6px; }

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 0.5px solid var(--color-white-17);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.14px;
  color: inherit;
  text-decoration: none;
  transition: border-color var(--transition-fast),
              background-color var(--transition-fast),
              transform 140ms var(--ease-out-ui);
  white-space: nowrap;
}

.nav-mobile-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0.5px solid var(--color-white-17);
  border-radius: 999px;
  background: transparent;
  color: #ededef;
  cursor: pointer;
}

.nav-mobile-toggle svg { width: 18px; height: 18px; }

.nav-mobile-downloads { display: none; }

.nav-backdrop { display: none; }

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover,
  .nav-item:hover { background: rgba(255, 255, 255, 0.05); }

  .nav-link.is-soon:hover { background: transparent; }

  .nav-feature-item:hover { background: #101012; }
  .nav-feature-item:hover .nav-feature-icon { background: var(--color-accent-gold); color: #090909; }

  .download-btn:hover,
  .nav-mobile-toggle:hover { background-color: rgba(255, 255, 255, 0.05); }

  .nav-icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.28);
  }

  /* Re-assert the gold: the generic .download-btn:hover above would otherwise
     tint it white. Hover darkens the gold rather than adding a glow. */
  .download-btn.is-primary:hover {
    background-color: #e9c23a;
  }
}

.nav-link:not(.is-soon):active,
.nav-item:active,
.nav-feature-item:not([aria-disabled='true']):active,
.download-btn:active,
.nav-icon-btn:active,
.nav-mobile-toggle:active { transform: scale(0.97); }

.nav-link:focus-visible,
.nav-item:focus-visible,
.nav-feature-item:focus-visible,
.download-btn:focus-visible,
.nav-icon-btn:focus-visible,
.nav-mobile-toggle:focus-visible {
  outline: 2px solid var(--color-accent-gold);
  outline-offset: 2px;
}

@media (max-width: 1180px) {
  .navbar {
    min-height: 64px;
    padding: 10px var(--section-padding-x);
  }

  .nav-start { gap: 0; }

  .nav-actions {
    display: flex;
    margin-right: 12px;
    margin-left: auto;
  }

  .nav-actions .download-btn:nth-child(n + 2),
  .nav-actions .nav-icon-btn { display: none; }

  .nav-mobile-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
  }

  .nav-mobile-toggle svg { display: none; }

  .nav-mobile-toggle::before,
  .nav-mobile-toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    content: '';
    transition: transform 180ms var(--ease-out-ui), box-shadow 180ms var(--ease-out-ui);
  }

  .nav-mobile-toggle::before {
    box-shadow: 0 4px 0 currentColor;
    transform: translate(-50%, -50%) translateY(-4px);
  }

  .nav-mobile-toggle::after { transform: translate(-50%, -50%) translateY(4px); }

  .navbar-wrapper.is-menu-open .nav-mobile-toggle::before {
    box-shadow: none;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .navbar-wrapper.is-menu-open .nav-mobile-toggle::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .nav-backdrop {
    position: absolute;
    z-index: 1;
    top: 100%;
    right: 0;
    left: 0;
    display: block;
    width: 100%;
    height: calc(100dvh - 64px);
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: default;
    transition: opacity 180ms var(--ease-out-ui), visibility 220ms;
  }

  .navbar-wrapper.is-menu-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-primary {
    position: absolute;
    z-index: 2;
    top: 100%;
    right: 0;
    bottom: auto;
    left: auto;
    display: flex;
    width: min(80vw, 760px);
    height: calc(100dvh - 64px);
    max-height: none;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-left: 1px solid #202021;
    border-radius: 0;
    background: #101011;
    box-shadow: -24px 0 64px rgba(0, 0, 0, 0.28);
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 220ms var(--ease-out-ui), visibility 220ms;
  }

  .navbar-wrapper.is-menu-open .nav-primary {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .nav-dropdown { width: 100%; }

  .nav-link,
  .nav-item {
    width: 100%;
    min-height: 64px;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #202021;
    border-radius: 0;
  }

  .nav-features-menu {
    position: static;
    display: block;
    width: 100%;
    max-height: 0;
    margin: 0;
    padding: 0 16px;
    overflow: hidden;
    border: 0;
    border-bottom: 0 solid #202021;
    border-radius: 0;
    background: #0c0c0d;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 200ms var(--ease-out-ui), padding 200ms var(--ease-out-ui), border-width 200ms var(--ease-out-ui);
  }

  .navbar-wrapper.is-features-open .nav-features-menu {
    max-height: 420px;
    margin: 0;
    padding: 8px 16px;
    border-bottom-width: 1px;
    transform: none;
  }

  .nav-feature-list { width: 100%; }

  .nav-feature-item { width: 100%; }

  /* No hover on touch — show the pill permanently in the drawer. */
  .nav-soon-pill { opacity: 1; }

  .nav-link.is-soon .nav-soon-pill,
  .nav-feature-item .nav-soon-pill {
    position: static;
    transform: none;
    margin-left: auto;
  }

  .nav-feature-item .nav-soon-pill {
    background: #1c1c1f;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    color: #706f79;
  }

  .nav-link.is-soon .nav-soon-pill {
    padding: 2px 8px;
    background: #1c1c1f;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-size: 12px;
    letter-spacing: -0.24px;
  }

  .nav-features-menu::before { display: none; }

  .nav-feature-preview { display: none; }

  .nav-mobile-downloads {
    display: flex;
    margin-top: auto;
    padding: 24px;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #202021;
    background: #101011;
  }

  .nav-mobile-downloads .download-btn {
    width: 100%;
    min-width: 0;
    padding-inline: 20px;
  }

  /* The sheet stacks full-width, so centre the social pair under the CTA. */
  .nav-mobile-socials { justify-content: center; }
}

@media (max-width: 600px) {
  .nav-primary { width: 100vw; }

  .nav-actions .download-btn { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .navbar-wrapper,
  .nav-primary,
  .nav-features-menu,
  .nav-chevron,
  .nav-link,
  .nav-item,
  .nav-feature-item,
  .download-btn,
  .nav-mobile-toggle { transition-duration: 0.01ms !important; }
}

/* ───────────────────────── Page header ──────────────────────────────────── */

.page {
  max-width: var(--section-max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

.page-header { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(24px, 4vw, 48px); }

.page-header h1 {
  font-size: clamp(2.5rem, 6vw, 4.056rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #EDEEF0;
  margin-bottom: 16px;
}

.page-header h1 .dim { color: #706F79; }

.page-meta {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.page-meta strong { color: var(--color-text-primary); font-weight: 600; }

.page-lede {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.5;
  max-width: 680px;
  margin-top: 20px;
}

/* ───────────────────────── Layout: content + sticky TOC ─────────────────── */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding-bottom: clamp(64px, 8vw, 128px);
}

/* Table of contents */
.toc {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 128px);
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-card-border) transparent;
}

.toc-title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-card-border);
}

.toc ol {
  list-style: decimal;
  padding-left: 22px;
}

.toc li {
  margin: 8px 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.toc li::marker { color: var(--color-text-muted); }

.toc a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.toc a:hover { color: var(--color-text-primary); }

.toc a.active { color: var(--color-accent-gold); font-weight: 600; }

.toc li:has(a.active) { color: var(--color-accent-gold); font-weight: 600; }

.toc li:has(a.active)::marker { color: var(--color-accent-gold); }

/* Content */
.content { max-width: 720px; }

.content section {
  padding: clamp(28px, 4vw, 40px) 0;
  border-top: 1px solid var(--color-card-border);
}

.content section:first-of-type { border-top: none; padding-top: 0; }

.content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.content h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 20px 0 8px;
}

.content p { margin: 10px 0; }

.content .muted, .content small { color: var(--color-text-muted); }

.content a {
  color: var(--color-text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.content a:hover { color: var(--color-accent-gold); text-decoration-color: var(--color-accent-gold); }

/* Anchor elements styled as controls must never inherit editorial link underlines. */
.content a.download-btn,
.content a.asset-btn,
.content a.brand-download-all,
a[role='button'] {
  text-decoration: none;
  text-decoration-line: none;
}

.content ul { margin: 10px 0 10px 20px; padding: 0; list-style: disc; }

.content li { margin: 6px 0; }

.content li::marker { color: var(--color-text-muted); }

.content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-card-border);
}

@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; gap: 0; }
  .toc {
    position: static;
    max-height: none;
    overflow: visible;
    order: -1;
    margin-bottom: clamp(28px, 5vw, 48px);
    padding-bottom: clamp(28px, 5vw, 48px);
    border-bottom: 1px solid var(--color-card-border);
  }
}

/* ───────────────────────── Footer (mirrors FooterSection.module.css) ────── */

.site-footer {
  background-color: #090909;
  padding: 0 var(--section-padding-x);
  position: relative;
  overflow: hidden;
}

.footer-container {
  max-width: var(--section-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(40px, 9vw, 130px);
}

.cta-section {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding-top: clamp(48px, 8vw, 101px);
  z-index: 2;
}

.footer-logo { height: 24px; width: auto; }

.text-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-heading {
  font-size: clamp(1.75rem, 4vw, 4.056rem);
  font-weight: 700;
  line-height: 0.897;
  letter-spacing: -0.04em;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
  max-width: 940px;
}

.heading-gray { color: #706f79; }

.heading-light { color: #edeef0; }

.footer-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.025em;
  color: #706f79;
  text-align: center;
  margin-top: 0;
  align-self: stretch;
}

.download-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.download-buttons .download-btn {
  padding: 10px 20px;
  color: var(--color-text-primary);
  background: transparent;
}

/* Single gold CTA (Figma node 1851:371). Placed after the transparent
   .download-buttons override so it wins the specificity tie. */
.download-btn.is-primary {
  min-height: 42px;
  padding: 11px 24px;
  border: 0;
  background: var(--color-accent-gold);
  color: #090909;
  font-weight: 600;
}

.coin-wrapper {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(300px, 45vw, 550px);
  height: 230px;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, black 40%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, black 40%, transparent 72%);
}

.coin-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  mix-blend-mode: screen;
}

.yellow-glow {
  position: absolute;
  width: 371px;
  height: 750px;
  left: 50%;
  bottom: -574px;
  transform: translateX(-50%) rotate(85.264deg);
  background: rgba(253, 211, 63, 0.8);
  filter: blur(80px);
  pointer-events: none;
  z-index: 3;
}

.black-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 110px;
  background: linear-gradient(180deg, #090909 0%, rgba(9, 9, 9, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.bottom-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: none;
  flex-wrap: wrap;
  row-gap: 24px;
  z-index: 2;
  position: relative;
}

.bottom-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, #323138 0%, rgba(50, 49, 56, 0.00) 33%, rgba(50, 49, 56, 0.00) 66%, #323138 100%);
}

.copyright { font-size: 1rem; color: #ededef; }

.footer-links { display: flex; align-items: center; gap: 8px; }

.footer-link {
  font-size: 1rem;
  color: #706f79;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover { color: var(--color-text-primary); }

.separator { font-size: 1rem; color: #706f79; }

@media (max-width: 768px) {
  .footer-container { align-items: flex-start; }
  .cta-section { align-items: flex-start; gap: 24px; }
  .text-frame { align-items: flex-start; }
  .footer-heading { text-align: left; }
  .footer-subtitle { font-size: 1rem; text-align: left; }
  .coin-wrapper {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
    align-self: center;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 70%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 70%);
  }
  .coin-media { height: auto; }
  .bottom-bar { flex-direction: column; align-items: flex-start; gap: 12px; text-align: left; }
  .separator { display: none; }
  .footer-links { gap: 16px; }
}

@media (max-width: 480px) {
  .download-buttons { width: 100%; }
  .download-buttons .download-btn { flex: 1; justify-content: center; }
}
