﻿:root {
  --bg: #050b14;
  --page-bg-image: url("assets/backgrounds/magic-theme-background.jpg"), url("assets/backgrounds/cardtrade-global-background.jpg");
  --page-bg-overlay: linear-gradient(180deg, rgba(2, 8, 18, 0.34) 0%, rgba(2, 8, 18, 0.5) 52%, rgba(2, 8, 18, 0.6) 100%);
  --surface: #ffffff;
  --surface-soft: #f3f7ff;
  --text: #121f33;
  --text-soft: #5a6d85;
  --brand: #1f8fff;
  --brand-soft: #e8f1ff;
  --accent: #2f86e0;
  --danger: #c45046;
  --ok: #2f8a65;
  --border: #d5e0f0;
  --shadow: 0 16px 42px rgba(19, 35, 66, 0.14);
  --logo-filter: none;
  --logo-border: rgba(31, 115, 204, 0.28);
  --logo-shadow: 0 8px 20px rgba(15, 61, 124, 0.24);
  --radius: 18px;
}

:root[data-theme-schema="pokemon"] {
  --page-bg-image: url("assets/backgrounds/pokemon-theme-background.jpg"), url("assets/backgrounds/cardtrade-global-background.jpg");
  --page-bg-overlay: linear-gradient(180deg, rgba(6, 16, 38, 0.38) 0%, rgba(8, 22, 52, 0.52) 52%, rgba(7, 20, 48, 0.64) 100%);
  --surface: #fffdf1;
  --surface-soft: #fff4bf;
  --text: #17233f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image: var(--page-bg-overlay), var(--page-bg-image);
  background-position: center top, center 22%;
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-attachment: fixed, fixed;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  position: relative;
  overflow-x: hidden;
}





.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.bg-orb {
  display: none;
}

.bg-orb-left {
  width: 420px;
  height: 420px;
  left: -190px;
  top: -140px;
  background: radial-gradient(circle at center, #fff6de 0%, rgba(255, 246, 222, 0.25) 55%, transparent 80%);
}

.bg-orb-right {
  width: 420px;
  height: 420px;
  right: -160px;
  top: 120px;
  background: radial-gradient(circle at center, #d6ebe6 0%, rgba(214, 235, 230, 0.24) 55%, transparent 80%);
}

.split-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.site-header {
  padding: 22px 0 18px;
}

.site-header.split-row {
  flex-wrap: wrap;
  justify-content: center;
}

.site-header .brand {
  display: inline-flex;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 9px;
  max-width: min(760px, 100%);
  margin: 0 auto;
  padding: 5px 2px 7px;
  overflow: visible;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 41px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(129, 108, 58, 0.22);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  text-decoration: none;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.15;
  box-shadow: 0 2px 7px rgba(31, 42, 54, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  border-color: rgba(14, 102, 85, 0.42);
  color: #173c34;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 5px 12px rgba(31, 42, 54, 0.1);
  transform: translateY(-1px);
}

.nav-link[aria-current="page"] {
  background: #ffffff;
  border-color: var(--accent);
  color: #173c34;
  box-shadow: 0 6px 14px rgba(31, 42, 54, 0.11);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.1px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: contain;
  padding: 2px;
  border: 1px solid var(--logo-border);
  box-shadow: var(--logo-shadow);
  filter: var(--logo-filter);
  transition: filter 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.brand-name {
  font-size: 1.05rem;
}

.hero {
  background: linear-gradient(140deg, rgba(6, 20, 38, 0.9) 0%, rgba(11, 47, 82, 0.82) 45%, rgba(12, 66, 90, 0.78) 100%);
  border: 1px solid rgba(115, 179, 255, 0.28);
  border-radius: calc(var(--radius) + 6px);
  color: #f4f8ff;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow);
  text-align: center;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero-home {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: clamp(18px, 2.6vw, 26px);
}

.hero-home-banner-wrap {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 16px;
  padding: 6px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 18px rgba(4, 14, 30, 0.2);
}

.hero-home-banner {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(20vw, 160px);
  object-fit: contain;
  border-radius: 14px;
}

.hero-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.hero-brand-logo {
  width: clamp(46px, 7vw, 68px);
  height: clamp(46px, 7vw, 68px);
  flex: 0 0 auto;
  border-radius: 16px;
  object-fit: contain;
  background: rgba(12, 24, 36, 0.34);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 10px 22px rgba(6, 19, 29, 0.22), var(--logo-shadow);
  filter: var(--logo-filter);
  transition: filter 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.hero-brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.hero-brand-title {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.1;
  font-weight: 800;
}

.hero-brand-subtitle {
  color: #d9e9f6;
  font-size: 0.92rem;
  line-height: 1.35;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #bfe6db;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero-home h1 {
  font-size: clamp(1.25rem, 2.05vw, 1.8rem);
  line-height: 1.12;
}

.hero-home p {
  max-width: 520px;
  font-size: 0.9rem;
}

.hero-home h1,
.hero-home p,
.hero-home .hero-brand-lockup,
.hero-home .beta-notice,
.hero-home .button-row,
.hero-home .hero-tags,
.hero-home .hero-privacy-note,
.hero-home .hero-eyebrow {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.hero-home .hero-brand-lockup {
  margin-bottom: 14px;
  width: 100%;
  justify-content: center;
}

.hero-home .hero-tags {
  margin-top: 14px;
}

.hero-home .button-row {
  margin-top: 18px;
}

.hero-home .beta-notice {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
}

.hero p {
  margin: 14px 0 0;
  max-width: 720px;
  color: #d9e9f6;
  line-height: 1.6;
}

.beta-notice {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  max-width: 780px;
  border: 1px solid rgba(255, 219, 139, 0.82);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 205, 95, 0.28), rgba(255, 255, 255, 0.15) 46%, rgba(255, 148, 73, 0.2));
  color: #fffaf0;
  padding: 16px 18px;
  line-height: 1.5;
  font-size: 1rem;
  box-shadow: 0 18px 44px rgba(255, 169, 58, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  overflow: hidden;
  animation: beta-notice-pulse 4.2s ease-in-out infinite;
  text-align: center;
}

.beta-notice::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -40%;
  bottom: -40%;
  left: -45%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: translateX(-120%) rotate(14deg);
  animation: beta-notice-sweep 5.8s ease-in-out infinite;
}

.beta-notice-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  min-height: 38px;
  border-radius: 999px;
  background: #ffca58;
  color: #173848;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: 0 8px 22px rgba(255, 181, 61, 0.34);
}

.beta-notice-text {
  min-width: 0;
}

.beta-notice strong {
  color: #ffe9ad;
}

@keyframes beta-notice-pulse {
  0%, 100% {
    border-color: rgba(255, 219, 139, 0.72);
    box-shadow: 0 18px 44px rgba(255, 169, 58, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }

  50% {
    border-color: rgba(255, 239, 178, 0.98);
    box-shadow: 0 22px 58px rgba(255, 190, 76, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  }
}

@keyframes beta-notice-sweep {
  0%, 42% {
    transform: translateX(-130%) rotate(14deg);
  }

  68%, 100% {
    transform: translateX(430%) rotate(14deg);
  }
}

.hero-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #e6f6ff;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.08);
}

.hero-privacy-note {
  margin-top: 18px;
  font-size: 0.82rem;
  color: rgba(230, 246, 255, 0.72);
  text-align: center;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.button-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #22190a;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #edf8ff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost {
  color: #2d3b4f;
  background: rgba(255, 255, 255, 0.7);
  border-color: #d8e1ec;
}

.is-hidden {
  display: none;
}

.section {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: clamp(18px, 2.2vw, 30px);
  text-align: center;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.section-hint-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  padding: 2px 8px 2px 0;
}

.section-hint-trigger::after {
  content: "Info";
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #e6f0ec;
  border: 1px solid #c7ddd4;
  color: #235d4f;
  border-radius: 999px;
  padding: 4px 9px;
}

.section-hint-trigger[aria-expanded="true"]::after {
  content: "Schlie\0000DFen";
  background: #f3e8cb;
  border-color: #e2cd8a;
  color: #6c4d12;
}

.section-hint-trigger:hover {
  background: rgba(16, 102, 85, 0.07);
}

.section-hint-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 102, 85, 0.3);
  background: rgba(16, 102, 85, 0.1);
}

.section-hint-card {
  margin: 10px 0 6px;
  border-radius: 14px;
  border: 1px solid #cfe1da;
  background: linear-gradient(125deg, #f8fbfa 0%, #f2f8f5 46%, #edf5f8 100%);
  padding: 14px 16px;
  text-align: left;
}

.section-hint-card-label {
  margin: 0;
  color: #20594e;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.section-hint-card-text {
  margin: 8px 0 0;
  color: #1f2a36;
  line-height: 1.55;
}

.section-hint-card-how {
  margin: 8px 0 0;
  color: #445567;
  line-height: 1.55;
}

.section h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.section p {
  margin: 0;
  line-height: 1.6;
}

.section-kicker {
  margin: 0 0 8px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand);
}

.topic-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.topic-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 250, 252, 0.88) 100%);
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.topic-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.topic-card p {
  margin: 0;
  font-size: 0.94rem;
}

.topic-card ul {
  margin: 0;
  padding-left: 0;
  list-style-position: inside;
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 0.93rem;
}

.topic-card li + li {
  margin-top: 6px;
}

.topic-card .btn {
  margin-top: auto;
  align-self: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: #18453b;
  font-size: 0.84rem;
  font-weight: 800;
}

.status-pill.is-pending {
  background: #f3e8cb;
  color: #6c4d12;
}

.feature-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.stat-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.stat-card h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.stat-card p {
  margin: 0;
  font-size: 0.94rem;
}

.feature-card {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.93rem;
}

.screenshot-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.shot-card {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  padding: 8px;
  box-shadow: 0 10px 26px rgba(31, 42, 54, 0.08);
}

.shot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #eef2f7;
  border: 1px solid rgba(63, 85, 108, 0.16);
  border-radius: 12px;
}

.shot-card figcaption {
  padding: 10px 12px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.db-listing-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.live-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  padding: 10px;
  box-shadow: 0 10px 26px rgba(31, 42, 54, 0.08);
}

.live-card-media {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  display: block;
  background: linear-gradient(180deg, #f7fafc 0%, #eaf0f6 100%);
  border: 1px solid rgba(63, 85, 108, 0.16);
  border-radius: 12px;
}

.live-card-body {
  padding: 12px;
}

.live-card-game {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #3f556c;
}

.live-card h3 {
  margin: 6px 0 0;
  font-size: 1.15rem;
}

.live-card-set {
  margin-top: 6px;
  font-size: 0.95rem;
}

.live-card-meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.live-card-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #385167;
  background: #eef4fa;
}

.live-card-price {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 800;
  color: #123650;
}

.db-fallback {
  border: 1px dashed #c8d6e4;
  border-radius: 14px;
  padding: 16px;
  background: #f8fbff;
}

.db-fallback h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.db-fallback p {
  margin: 0;
}

.cta-panel {
  background: linear-gradient(130deg, #fcfbf7 0%, #f3f8fb 100%);
}

.install-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.install-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.install-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.install-card ol {
  margin: 0;
  padding-left: 20px;
  color: var(--text-soft);
  line-height: 1.55;
  font-size: 0.92rem;
}

.install-card li + li {
  margin-top: 5px;
}

.privacy-section {
  background: linear-gradient(140deg, #f7fbf9 0%, #eef6fb 100%);
}

.privacy-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.privacy-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  background: #ffffff;
}

.privacy-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.privacy-card p {
  margin: 0;
  font-size: 0.93rem;
}

.privacy-note {
  margin-top: 12px;
  font-size: 0.93rem;
}

.resource-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-list li + li {
  margin-top: 0.5rem;
}

.form-wrap {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

label {
  font-size: 0.9rem;
  font-weight: 700;
}

input {
  width: 100%;
  border: 1px solid #cdd7e2;
  border-radius: 12px;
  background: #fff;
  padding: 11px 13px;
  font-size: 0.95rem;
}

input:focus {
  outline: none;
  border-color: #67a397;
  box-shadow: 0 0 0 3px rgba(15, 102, 85, 0.12);
}

.message {
  margin-top: 10px;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 0.92rem;
  border: 1px solid transparent;
}

.message.info {
  color: #2d4f71;
  background: #e7f1fb;
  border-color: #9ec2e4;
}

.message.error {
  color: #6f2c2a;
  background: #f8e7e5;
  border-color: #d9a8a5;
}

.message.success {
  color: #1e5b3f;
  background: #e4f4ea;
  border-color: #a9d6bc;
}

.auth-hint {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.inline-link {
  color: #234f79;
  font-weight: 700;
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

.site-footer {
  width: fit-content;
  max-width: min(92vw, 720px);
  margin: 26px auto 34px;
  padding: 10px 18px 12px;
  border-radius: 14px;
  border: 1px solid rgba(41, 79, 118, 0.16);
  background: rgba(255, 255, 255, 0.58);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  color: var(--text-soft);
  text-align: center;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  width: auto;
  text-align: center;
}

.legal-links a {
  color: #294f76;
  text-decoration: none;
  font-weight: 600;
}

.legal-links a:hover {
  text-decoration: underline;
}

.legal-page {
  padding-bottom: 8px;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
}

.legal-hero p {
  margin-top: 8px;
}

.legal-hero-neutral {
  background: linear-gradient(140deg, #0f5b50 0%, #205f6a 45%, #2e5877 100%);
  color: #f4f8ff;
}

.legal-hero-neutral p {
  color: #d9e9f6;
}

.legal-hero-danger {
  background: linear-gradient(140deg, #6a3f3b 0%, #8e4740 100%);
  color: #fff3f2;
}

.legal-hero-danger p {
  color: #f4dddb;
}

.legal-eyebrow {
  margin: 0 0 8px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.legal-section ul {
  margin: 6px 0 0;
  padding-left: 20px;
  color: var(--text-soft);
  line-height: 1.6;
}

.legal-section li + li {
  margin-top: 4px;
}
















@media (max-width: 720px) {
  .split-row {
    flex-direction: column;
    align-items: center;
  }

  .site-header .brand {
    display: inline-flex;
    order: -1;
    margin-bottom: 10px;
  }

  .primary-nav {
    width: 100%;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    padding-bottom: 10px;
  }

  .nav-link {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.84rem;
  }

  .hero {
    padding: 24px;
  }

  .hero-home {
    max-width: 100%;
    padding: 18px;
  }

  .hero-home-banner-wrap {
    margin-bottom: 12px;
    padding: 6px;
    border-radius: 16px;
  }

  .hero-home-banner {
    max-height: 120px;
    border-radius: 12px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-home h1 {
    font-size: 1.3rem;
  }

  .hero-home .beta-notice {
    padding: 12px;
  }

  .hero-brand-lockup {
    gap: 12px;
  }

  .hero-brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    padding: 6px;
  }

  .hero-brand-subtitle {
    font-size: 0.84rem;
  }

  .beta-notice {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 15px;
  }

  .beta-notice-badge {
    justify-self: flex-start;
  }

  .legal-links {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .beta-notice,
  .beta-notice::before {
    animation: none;
  }
}

h1,
h2,
h3,
.section h2,
.hero h1,
.hero-home h1,
.topic-card h3,
.feature-card h3,
.live-card h3,
.db-fallback h3,
.install-card h3,
.privacy-card h3,
.legal-hero h1,
.stat-card h2 {
  color: #ffffff;
}
