:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #5d6678;
  --border: #dfe5ee;
  --accent: #2257d6;
  --accent-soft: #eaf0ff;
  --max: 860px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
}

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

a:focus-visible {
  outline: 3px solid #8fb0ff;
  outline-offset: 3px;
  border-radius: 4px;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner,
main,
.footer-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.01em;
}

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

nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

main {
  padding: 64px 0;
}

.hero,
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(24, 39, 75, 0.06);
}

.hero {
  padding: clamp(28px, 5vw, 56px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #173e9b;
  font-size: 0.84rem;
  font-weight: 700;
}

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

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

h2 {
  margin-top: 0;
  font-size: 1.45rem;
}

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

.lead {
  font-size: 1.12rem;
  max-width: 700px;
}

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

.button {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.button.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.card {
  padding: 26px;
}

.content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 10px 30px rgba(24, 39, 75, 0.06);
}

.content h2 {
  margin-top: 34px;
}

.content h2:first-of-type {
  margin-top: 20px;
}

.notice {
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 8px;
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner p {
  margin: 4px 0;
}

@media (max-width: 640px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  main {
    padding: 36px 0;
  }

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