:root {
  color-scheme: light dark;
  --bg: #f7f4ef;
  --text: #151716;
  --muted: #5d625f;
  --panel: #fffdfa;
  --line: #ded8ce;
  --accent: #1b7f6b;
  --accent-strong: #115848;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101312;
    --text: #f5f1e9;
    --muted: #b8b1a7;
    --panel: #191d1b;
    --line: #303632;
    --accent: #63d6bd;
    --accent-strong: #8de6d3;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: var(--accent-strong);
}

.shell {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0;
}

.hero {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

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

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.legal h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

h2 {
  margin: 40px 0 8px;
  font-size: 1.1rem;
}

p {
  max-width: 720px;
  margin: 0 0 16px;
}

.lead {
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  background: var(--panel);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.panel {
  padding: 32px 0 0;
}

.back {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.legal {
  max-width: 800px;
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 28px, 920px);
    padding: 34px 0;
  }

  .hero {
    min-height: 64vh;
  }

  .button {
    width: 100%;
    justify-content: center;
  }
}
