:root {
  color-scheme: dark;
  --background: #090909;
  --surface: #151515;
  --surface-border: #2b2b2b;
  --text: #f7f7f7;
  --muted: #aaa;
  --accent: #dc2e2e;
}

* { box-sizing: border-box; }

html { background: var(--background); }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 0%, rgba(220, 46, 46, .16), transparent 32rem),
    var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: #ff7373; }

.container {
  width: min(100% - 32px, 860px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 64px 0 28px;
}

header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0 48px;
}

h1, h2 { line-height: 1.2; }
h1 { margin: 4px 0 10px; font-size: clamp(2.2rem, 7vw, 4.2rem); }
h2 { margin: 32px 0 8px; font-size: 1.15rem; }
p { margin: 8px 0 16px; }

.eyebrow {
  margin: 0;
  color: #ff6868;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.lead, .updated { color: var(--muted); }

.app-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 116px;
  aspect-ratio: 1;
  border: 3px solid white;
  border-radius: 27%;
  background: var(--accent);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.06em;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .4);
}

nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

nav a, .button {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  color: var(--text);
  background: var(--surface);
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

.button {
  display: inline-block;
  border-color: #bd2525;
  background: var(--accent);
}

.card {
  margin: 16px 0;
  padding: clamp(22px, 5vw, 42px);
  border: 1px solid var(--surface-border);
  border-radius: 22px;
  background: rgba(21, 21, 21, .92);
}

.legal { padding-top: 32px; }
.legal h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
.back { display: inline-block; margin: 0 0 18px; color: var(--muted); text-decoration: none; }
.english { margin-top: 28px; }

footer {
  padding: 28px 0 8px;
  color: #777;
  font-size: .85rem;
  text-align: center;
}

@media (max-width: 600px) {
  .container { padding-top: 28px; }
  header { align-items: flex-start; padding-bottom: 32px; }
  .app-mark { width: 84px; border-radius: 22%; font-size: 1.45rem; }
  nav { grid-template-columns: 1fr; }
}
