:root {
  --shell-max: 1240px;
  --docs-shell-max: 1480px;
  --bg: #0b1018;
  --bg-top: #111c2f;
  --ink: #e8f1ff;
  --muted: #9fb0c4;
  --panel: #111927;
  --line: #273a58;
  --accent: #3ba4ff;
  --accent-2: #00f0ff;
  --accent-dark: #8a5cff;
  --ok: #37d084;
  --card: #131d2d;
  --card-strong: #0f1724;
  --warning-bg-start: #292015;
  --warning-bg-end: #201911;
  --warning-border: #715438;
  --coming-bg-start: #141d2b;
  --coming-bg-end: #101726;
  --coming-border: #2e4366;
  --soon-border: #334d73;
  --soon-bg: #121b2b;
  --chip-bg: #131f32;
  --chip-border: #2f466c;
  --select-border: #385481;
  --select-bg-from: #1a263d;
  --select-bg-to: #111a2a;
  --select-arrow: #9bc9ff;
  --focus-ring: #3ba4ff3a;
  --glow-left: #00f0ff30;
  --glow-right: #8a5cff2f;
}

html[data-theme="light"] {
  --bg: #f7f3e9;
  --bg-top: #fff8e2;
  --ink: #1a1816;
  --muted: #5e564e;
  --panel: #fffaf0;
  --line: #dfd4c2;
  --accent: #cc3f17;
  --accent-2: #f29f05;
  --accent-dark: #8f2610;
  --ok: #1f7a4d;
  --card: #fff;
  --card-strong: #fff;
  --warning-bg-start: #fff0ce;
  --warning-bg-end: #ffe8b9;
  --warning-border: #efcf85;
  --coming-bg-start: #fff6e8;
  --coming-bg-end: #fff0d6;
  --coming-border: #ebc98b;
  --soon-border: #e0c18a;
  --soon-bg: #fffdf7;
  --chip-bg: #ffffff99;
  --chip-border: #dfd4c2;
  --select-border: #d9c5a8;
  --select-bg-from: #fffdf8;
  --select-bg-to: #fff4e8;
  --select-arrow: #8f2610;
  --focus-ring: #cc3f1722;
  --glow-left: #f29f0566;
  --glow-right: #cc3f173f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: radial-gradient(circle at 20% 0%, var(--bg-top) 0%, var(--bg) 55%);
  font-family: "Space Grotesk", sans-serif;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  width: 44vw;
  height: 44vw;
  filter: blur(56px);
  opacity: 0.45;
  z-index: -1;
  pointer-events: none;
}

.bg-glow-left {
  background: var(--glow-left);
  top: -20vw;
  left: -12vw;
}

.bg-glow-right {
  background: var(--glow-right);
  bottom: -20vw;
  right: -12vw;
}

.topbar {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 18px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: relative;
}

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

.brand-logo {
  width: 36px;
  height: 36px;
  display: block;
  filter: drop-shadow(0 5px 12px #cc3f1730);
}

.brand-text {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 1px;
  line-height: 1;
}

.top-links {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-nav-toggle {
  display: none;
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 9px 13px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  align-items: center;
  gap: 10px;
}

.top-nav-toggle-label {
  line-height: 1;
}

.top-nav-toggle-icon {
  position: relative;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  display: inline-block;
}

.top-nav-toggle-icon::before,
.top-nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease;
}

.top-nav-toggle-icon::before {
  top: -5px;
}

.top-nav-toggle-icon::after {
  top: 5px;
}

.top-portal {
  border-style: dashed;
}

.top-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  font: inherit;
  text-decoration: none;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  transition: transform 200ms ease, background-color 200ms ease;
}

.top-cta:hover {
  transform: translateY(-1px);
  background: var(--card);
}

.top-theme-toggle {
  min-width: 118px;
}

main {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 16px 20px 42px;
}

.hero {
  padding: 42px 0 20px;
  animation: revealUp 620ms ease both;
}

.kicker {
  margin: 0;
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  margin: 0 0 10px;
  line-height: 1.05;
}

h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 8vw, 6.8rem);
  letter-spacing: 0.5px;
  margin-top: 6px;
}

h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.3px;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.subhead {
  max-width: 760px;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-cta-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 13px 20px;
  transition: transform 180ms ease, box-shadow 200ms ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 18px #cc3f1730;
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border: 2px solid var(--ink);
}

.root-danger-btn {
  color: #fff;
  border: 2px solid #ca4a3f;
  background: linear-gradient(120deg, #8b251f, #c53c2f);
  box-shadow: 0 10px 18px #7e1d1a40;
}

.hero-stats {
  margin-top: 18px;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 500;
}

.hero-stats li {
  border: 1px solid var(--line);
  background: var(--chip-bg);
  border-radius: 999px;
  padding: 7px 12px;
}

.panel {
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 20px;
  padding: 24px;
  animation: revealUp 620ms ease both;
}

.panel:nth-of-type(2) {
  animation-delay: 90ms;
}

.panel:nth-of-type(3) {
  animation-delay: 140ms;
}

.panel:nth-of-type(4) {
  animation-delay: 190ms;
}

.panel-lead {
  margin-top: 0;
  color: var(--muted);
}

.trigger-game-pills {
  margin: 12px 0 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.trigger-pill {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.trigger-pill:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.trigger-pill:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.trigger-pill.active {
  border-color: var(--accent);
  background: linear-gradient(120deg, #16243b, #1e3452);
  color: #e8f5ff;
}

.event-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.event-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: var(--card);
}

.event-grid p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.checklist,
.warning-card ul {
  margin: 0;
  padding-left: 22px;
  line-height: 1.5;
}

.warning-card {
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(
    180deg,
    var(--warning-bg-start) 0%,
    var(--warning-bg-end) 100%
  );
  border: 1px solid var(--warning-border);
}

.compat-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.coming-soon {
  background: linear-gradient(
    180deg,
    var(--coming-bg-start) 0%,
    var(--coming-bg-end) 100%
  );
  border-color: var(--coming-border);
}

.soon-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.soon-card {
  border: 1px solid var(--soon-border);
  background: var(--soon-bg);
  border-radius: 14px;
  padding: 12px;
}

.soon-list {
  margin: 0;
  padding-left: 20px;
  line-height: 1.45;
}

.buy {
  text-align: center;
}

.price {
  margin: 6px 0 8px;
  font-size: 1.15rem;
}

.price span {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1;
}

.buy-actions {
  max-width: 660px;
  margin: 14px auto 0;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  padding: 16px;
  text-align: left;
}

.price-card .btn {
  width: 100%;
}

.price-note {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.45;
}

.price-card .paypal-wrap {
  margin: 10px 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.paypal-wrap {
  min-height: 48px;
  display: grid;
  gap: 10px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.paypal-slot {
  width: 100%;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.paypal-slot-host {
  width: 100%;
  min-height: 50px;
  background: transparent;
  box-shadow: none;
}

.paypal-slot-paypal {
  border-radius: 999px;
}

.paypal-slot-paylater {
  border-radius: 12px;
}

.paypal-wrap iframe {
  display: block;
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.monthly-row {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.monthly-row input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--card-strong);
}

.monthly-row select,
.crypto-row select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid var(--select-border);
  border-radius: 999px;
  padding: 11px 44px 11px 14px;
  font: inherit;
  color: var(--ink);
  background-color: var(--card-strong);
  background-image:
    linear-gradient(180deg, var(--select-bg-from) 0%, var(--select-bg-to) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.75L10 12.25L15 7.75' stroke='%239bc9ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 100%, 18px 18px;
  background-position: 0 0, right 14px center;
  box-shadow: inset 0 1px 0 #ffffff1f;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.monthly-row select:hover,
.crypto-row select:hover {
  border-color: var(--accent);
}

.monthly-row select:focus,
.crypto-row select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

select::-ms-expand {
  display: none;
}

.crypto-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.crypto-stack {
  grid-template-columns: 1fr;
}

.crypto-row input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--card-strong);
}

.status {
  margin: 12px 0 0;
  font-weight: 600;
  min-height: 1.4em;
}

.status.ok {
  color: var(--ok);
}

.status.err {
  color: var(--accent-dark);
}

.hidden {
  display: none;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}

.faq details:first-of-type {
  border-top: 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  color: var(--muted);
  margin: 8px 0 0;
}

.footer {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 8px 20px 24px;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
}

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

.footer-links a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  font-weight: 700;
  opacity: 0.92;
}

.footer-links a:hover {
  border-bottom-color: var(--ink);
  opacity: 1;
}

.legal-main {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 16px 20px 42px;
}

.legal-content {
  display: grid;
  gap: 14px;
}

.legal-content h1 {
  font-size: clamp(2.3rem, 6vw, 4.5rem);
}

.legal-content h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin: 8px 0 0;
}

.legal-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.legal-content strong {
  color: var(--ink);
}

.legal-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.legal-list li {
  margin: 0 0 7px;
}

.legal-callout {
  margin: 4px 0 2px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: 12px 14px;
  color: var(--ink);
}

.portal-main {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 16px 20px 42px;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.demo-access {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: 14px;
}

.form-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--card-strong);
}

.form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--card-strong);
  resize: vertical;
}

.account-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.docs-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.docs-library-actions {
  margin: 8px 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.docs-library-actions .btn {
  width: 100%;
  max-width: 360px;
  flex: 1 1 280px;
}

.download-meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.root-tools {
  margin: 10px 0 12px;
}

.root-tools .account-actions .btn {
  flex: 1 1 180px;
  min-width: 0;
}

.root-release {
  margin: 10px 0 12px;
}

.root-release-meta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.root-release-summary {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  padding: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.root-release-summary strong {
  color: var(--ink);
}

.root-metrics {
  margin: 10px 0 14px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.root-metric-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: 11px;
  display: grid;
  gap: 4px;
  min-width: 0;
}

.root-metric-label {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.root-metric-value {
  color: var(--ink);
  font-size: 1.1rem;
  overflow-wrap: anywhere;
}

.root-account-details {
  margin: 12px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--ink);
  padding: 12px;
  display: grid;
  gap: 12px;
  min-width: 0;
}

.root-account-header {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.root-account-header h4 {
  margin: 0;
  font-size: 1rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.root-account-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.root-badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--chip-bg);
  text-transform: capitalize;
}

.root-badge-status {
  border-color: var(--line);
}

.root-badge-status.status-active,
.root-badge-status.status-lifetime {
  border-color: color-mix(in srgb, var(--ok) 35%, var(--line));
  color: var(--ok);
}

.root-badge-status.status-grace {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  color: var(--accent);
}

.root-badge-status.status-locked {
  border-color: color-mix(in srgb, var(--accent-dark) 35%, var(--line));
  color: var(--accent-dark);
}

.root-account-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.root-account-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card-strong);
  padding: 10px;
  display: grid;
  gap: 4px;
  min-width: 0;
}

.root-account-label {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.root-account-value {
  color: var(--ink);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.root-account-value.is-mono {
  font: 0.82rem/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono",
    monospace;
}

.root-recent-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.root-recent-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: 12px;
  display: grid;
  gap: 6px;
  min-width: 0;
}

.root-recent-card h4 {
  margin: 0;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.root-recent-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.root-recent-actions {
  margin-top: 2px;
}

.root-mini-btn {
  width: 100%;
  min-width: 0;
}

a.btn.is-disabled {
  opacity: 0.52;
  pointer-events: none;
}

.btn.is-disabled,
button.btn.is-disabled:disabled {
  opacity: 0.52;
  pointer-events: none;
}

.doc-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: 12px;
}

html[data-theme="light"] .monthly-row select,
html[data-theme="light"] .crypto-row select {
  background-image:
    linear-gradient(180deg, #fffdf8 0%, #fff4e8 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.75L10 12.25L15 7.75' stroke='%238f2610' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  box-shadow: inset 0 1px 0 #fff;
}

html[data-theme="light"] .trigger-pill.active {
  background: linear-gradient(120deg, #ffe2bd, #ffd095);
  border-color: #e2a04f;
  color: #4f2f16;
}

.doc-card ul {
  margin: 0;
  padding-left: 20px;
}

@keyframes revealUp {
  from {
    transform: translateY(14px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (min-width: 1400px) {
  .topbar,
  main,
  .portal-main,
  .legal-main,
  .footer {
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero {
    padding-top: 54px;
  }

  .panel {
    padding: 28px;
  }
}

@media (min-width: 2000px) {
  :root {
    --shell-max: 1480px;
    --docs-shell-max: 1760px;
  }

  h1 {
    font-size: clamp(3.5rem, 6vw, 8rem);
  }

  .panel {
    padding: 30px;
  }
}

@media (max-width: 1040px) {
  .topbar,
  main,
  .portal-main,
  .legal-main,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-top: 30px;
  }

  .panel {
    padding: 20px;
  }
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }

  .topbar {
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    overflow: visible;
  }

  .top-nav-toggle {
    display: inline-flex;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .top-links {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    overflow: hidden;
  }

  html.js .top-links[data-nav-menu] {
    display: none;
    margin-top: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    box-shadow: 0 14px 26px #00000030;
  }

  html.js .top-links[data-nav-menu].is-open {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  html.js .top-links[data-nav-menu] .top-cta {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .topbar.nav-open .top-nav-toggle-icon {
    background: transparent;
  }

  .topbar.nav-open .top-nav-toggle-icon::before {
    transform: translateY(5px) rotate(45deg);
  }

  .topbar.nav-open .top-nav-toggle-icon::after {
    transform: translateY(-5px) rotate(-45deg);
  }

  .top-cta {
    padding: 9px 12px;
    font-size: 0.9rem;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .brand-text {
    font-size: 1.75rem;
  }

  .footer {
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .hero-cta-row .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 8px;
  }

  .hero-stats li {
    width: 100%;
    text-align: center;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .account-actions .btn {
    width: 100%;
  }

  .root-account-grid {
    grid-template-columns: 1fr;
  }

  .root-release-meta-row {
    grid-template-columns: 1fr;
  }

  .footer-links {
    width: 100%;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .brand-text {
    font-size: 1.5rem;
  }

  .panel {
    padding: 18px;
    border-radius: 16px;
  }

  .crypto-row {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .top-nav-toggle {
    padding: 9px 11px;
    gap: 8px;
  }

  .top-nav-toggle-label {
    font-size: 0.85rem;
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }
}
