:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5d6975;
  --line: #e5e8ec;
  --teal: #14b8a6;
  --coral: #ff6f61;
  --mint: #d9fbef;
  --paper: #fffaf7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #fffaf7 0%, #eefbf8 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.topbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.brand {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.lang-switch {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 2px;
  padding: 3px;
}

.lang-switch button {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  min-width: 42px;
  padding: 8px 10px;
}

.lang-switch button.active {
  background: var(--ink);
  color: white;
}

.shell {
  display: grid;
  min-height: calc(100vh - 136px);
  place-items: center;
  padding: 32px 20px;
}

.hero {
  width: min(920px, 100%);
  padding: 48px 0;
}

.eyebrow {
  color: var(--coral);
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(44px, 8vw, 96px);
  line-height: 0.95;
  margin: 0 0 22px;
}

.lead {
  color: var(--muted);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.35;
  max-width: 760px;
}

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

.actions a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 13px 18px;
  font-weight: 700;
  text-decoration: none;
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  min-height: 72px;
  padding: 20px;
}

footer a,
.back {
  font-weight: 700;
  text-decoration: none;
}

.document {
  background: white;
  margin: 0 auto;
  max-width: 860px;
  min-height: calc(100vh - 82px);
  padding: 44px 22px 72px;
}

.document-topbar {
  background: white;
  border-bottom: 1px solid var(--line);
  margin: 0 auto;
  max-width: 860px;
}

.document h1 {
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1;
  margin-top: 28px;
}

.document h2 {
  border-top: 1px solid var(--line);
  font-size: 22px;
  margin: 34px 0 12px;
  padding-top: 24px;
}

.document p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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