:root {
  color-scheme: light;
  --bg: #f4f4f2;
  --surface: #ffffff;
  --text: #222222;
  --muted: #666666;
  --line: #dddddd;
  --accent: #315c8c;
  --accent-dark: #244668;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

.page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 18px;
}

.panel,
article {
  width: min(100%, 760px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.panel {
  padding: clamp(26px, 5vw, 44px);
}

.document {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 28px 18px 56px;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.topbar a:first-child {
  color: var(--text);
  font-weight: 700;
}

article {
  padding: clamp(24px, 5vw, 42px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3rem);
}

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

p {
  margin: 0 0 14px;
}

.lead {
  max-width: 620px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.02rem;
}

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

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  padding: 10px 16px;
}

.button:hover {
  background: var(--accent-dark);
  text-decoration: none;
}

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

.button.secondary:hover {
  background: #eef3f8;
}

@media (max-width: 520px) {
  .button,
  .actions {
    width: 100%;
  }
}
