:root {
  color-scheme: light;
  --bg: #f7f6f2;
  --panel: #ffffff;
  --text: #1f2933;
  --muted: #687386;
  --line: #dedbd2;
  --accent: #275efe;
  --accent-dark: #183fc0;
}

* {
  box-sizing: border-box;
}

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

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

a:hover {
  text-decoration: underline;
}

.shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
}

.hero {
  padding: 72px 0 48px;
}

.eyebrow {
  color: var(--accent-dark);
  font-weight: 700;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
  margin: 0;
  max-width: 820px;
}

.lead {
  color: var(--muted);
  font-size: 19px;
  max-width: 680px;
  margin: 24px 0 0;
}

.section {
  padding: 34px 0;
}

.section-title {
  font-size: 22px;
  margin: 0 0 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.card h2,
.card h3 {
  margin: 0 0 8px;
}

.card p {
  color: var(--muted);
  margin: 0 0 14px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--text);
  background: #fff;
  font-weight: 700;
  font-size: 14px;
}

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

.doc {
  max-width: 780px;
  padding: 42px 0 64px;
}

.doc h1 {
  font-size: clamp(34px, 6vw, 56px);
}

.doc h2 {
  margin-top: 34px;
  font-size: 22px;
}

.doc p,
.doc li {
  color: var(--muted);
}

.notice {
  background: #fff8e5;
  border: 1px solid #ead59a;
  border-radius: 8px;
  padding: 14px 16px;
  color: #6b5212;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 24px 0 36px;
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero {
    padding-top: 44px;
  }
}
