:root {
  color-scheme: dark;
  --bg: #08120e;
  --surface: #101c17;
  --surface-2: #16271f;
  --line: #2b4738;
  --text: #fbfaf2;
  --muted: #b8c3b8;
  --gold: #d8b55d;
  --gold-strong: #f2d991;
  --green: #71d49d;
  --red: #e36b5d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 18, 14, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--gold-strong);
}

.hero {
  min-height: 82vh;
  display: grid;
  align-items: center;
  padding: clamp(44px, 7vw, 88px) clamp(18px, 5vw, 64px);
  background:
    radial-gradient(circle at 82% 18%, rgba(216, 181, 93, 0.16), transparent 28%),
    linear-gradient(135deg, #08120e 0%, #14251c 50%, #090f0c 100%);
}

.legal-hero {
  padding: clamp(44px, 7vw, 82px) clamp(18px, 5vw, 64px);
  background:
    radial-gradient(circle at 76% 20%, rgba(216, 181, 93, 0.15), transparent 30%),
    linear-gradient(135deg, #08120e 0%, #13241c 52%, #090f0c 100%);
}

.hero-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.72fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
}

.legal-inner {
  width: min(880px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-strong);
  font-weight: 800;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 630px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

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

.actions,
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  background: var(--gold);
  color: #171207;
}

.button.disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

span.button.disabled {
  user-select: none;
}

.phone-preview {
  width: min(360px, 76vw);
  justify-self: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: #050807;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
}

.phone-preview img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

.section {
  padding: clamp(48px, 7vw, 86px) clamp(18px, 5vw, 64px);
}

.alt-section {
  background: #0d1914;
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section-lead {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.cards,
.download-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.download-grid,
.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.download-card,
.legal-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.card p,
.download-card p,
.legal-card p,
.legal-card li,
.legal-card dd {
  color: var(--muted);
}

.platform-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 800;
}

.download-card .button {
  margin-top: 14px;
}

.legal-card {
  margin-top: 16px;
}

.legal-card a {
  color: var(--gold-strong);
}

.legal-list {
  margin: 18px 0 0;
}

.legal-list dt {
  margin-top: 16px;
  color: var(--text);
  font-weight: 800;
}

.legal-list dd {
  margin: 6px 0 0;
}

.support-list {
  margin: 16px 0 0 22px;
  padding: 0;
}

.english-summary {
  border-color: rgba(113, 212, 157, 0.42);
}

.site-footer {
  padding: 28px clamp(18px, 5vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #070d0a;
}

.footer-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner a {
  color: var(--text);
  text-decoration: none;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .cards,
  .download-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .phone-preview {
    width: min(320px, 84vw);
  }
}
