:root {
  color-scheme: dark;
  --bg: #0f0d0a;
  --surface: #19150f;
  --surface-2: #211a12;
  --text: #f1e8d6;
  --muted: #bdb09c;
  --line: #463827;
  --accent: #ef6b2e;
  --accent-soft: #2d1b11;
  --ok: #91c58d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% -10%, #2d1a0d 0, transparent 28rem),
    var(--bg);
  color: var(--text);
  font: 16px/1.65 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: #ff9a68;
}

a:hover,
a:focus-visible {
  color: #ffc2a4;
}

.shell {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 28px 20px 72px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

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

.brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: 0.12em;
}

.brand small {
  color: var(--muted);
}

.language {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.language button {
  min-width: 44px;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.language button[aria-pressed="true"] {
  background: var(--accent);
  color: #160c07;
}

.card {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 20px 60px rgb(0 0 0 / 28%);
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 7vw, 48px);
  letter-spacing: -0.02em;
}

h2 {
  margin: 34px 0 10px;
  font-size: 21px;
}

p,
ul {
  margin: 10px 0;
}

ul {
  padding-left: 22px;
}

.effective,
.lead,
.company,
.notice {
  color: var(--muted);
}

.lead {
  font-size: 18px;
}

.company,
.notice {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}

.notice {
  border-color: #7b4b2d;
  background: var(--accent-soft);
}

.ok {
  color: var(--ok);
  font-weight: 700;
}

.legal-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.legal-nav a {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

.legal-nav a[aria-current="page"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.doc[hidden] {
  display: none;
}

footer {
  margin-top: 28px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

@media (max-width: 620px) {
  .brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-nav {
    grid-template-columns: 1fr;
  }
}

