:root {
  color-scheme: dark;
  --bg: #08111f;
  --bg-soft: #101c2e;
  --panel: rgba(16, 28, 46, 0.88);
  --panel-strong: rgba(20, 34, 55, 0.96);
  --line: rgba(255, 220, 139, 0.22);
  --gold: #f4c861;
  --gold-strong: #ffd66f;
  --ink: #f8fafc;
  --muted: #b9c3d1;
  --soft: #7f8da0;
  --shadow: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(244, 200, 97, 0.13), transparent 28rem),
    radial-gradient(circle at 90% 18%, rgba(72, 103, 160, 0.20), transparent 24rem),
    linear-gradient(180deg, #0b1424 0%, var(--bg) 55%, #050a13 100%);
  line-height: 1.65;
}

a {
  color: var(--gold-strong);
  font-weight: 700;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.site-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 64px;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0 34px;
}

.brand-logo {
  width: clamp(62px, 18vw, 96px);
  height: clamp(62px, 18vw, 96px);
  object-fit: contain;
  filter: drop-shadow(0 12px 28px var(--shadow));
}

.wordmark {
  margin: 0;
  font-size: clamp(2rem, 8vw, 4.9rem);
  line-height: 0.94;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.studio-subtitle,
.hero-copy,
.muted {
  color: var(--muted);
}

.studio-subtitle {
  margin: 8px 0 0;
  font-size: clamp(1rem, 2.8vw, 1.2rem);
}

.hero {
  padding: clamp(22px, 6vw, 46px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 214, 111, 0.10), transparent 42%),
    var(--panel);
  box-shadow: 0 22px 70px var(--shadow);
}

.app-card,
.legal-card {
  margin-top: 22px;
  padding: clamp(22px, 5vw, 40px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel-strong);
  box-shadow: 0 18px 54px var(--shadow);
}

.app-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

h1,
h2,
h3 {
  color: var(--ink);
}

h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 5vw, 2.15rem);
  line-height: 1.12;
}

h3 {
  margin: 30px 0 8px;
  font-size: 1.18rem;
}

p,
li {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 214, 111, 0.38);
  border-radius: 999px;
  background: rgba(244, 200, 97, 0.10);
  color: var(--gold-strong);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.button:hover,
.button:focus-visible {
  background: rgba(244, 200, 97, 0.17);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.store-badge {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 178px;
  min-height: 58px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.store-badge.disabled {
  cursor: default;
  opacity: 0.76;
}

.store-kicker {
  font-size: 0.76rem;
  color: var(--soft);
  line-height: 1.1;
}

.store-name {
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.2;
}

.back-link {
  display: inline-flex;
  margin: 0 0 18px;
  color: var(--gold);
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1.08;
}

.meta {
  margin-bottom: 28px;
  color: var(--soft);
}

footer {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--soft);
  font-size: 0.94rem;
}

@media (max-width: 640px) {
  .brand-header {
    align-items: flex-start;
  }

  .actions,
  .store-row {
    flex-direction: column;
  }

  .button,
  .store-badge {
    width: 100%;
  }
}
