:root {
  color-scheme: light;
  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-muted: #eef3fb;
  --text: #16304d;
  --text-soft: #5f7086;
  --line: #d8e1ee;
  --brand: #1b4d8a;
  --brand-dark: #143764;
  --shadow: 0 16px 40px rgba(22, 48, 77, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(27, 77, 138, 0.14), transparent 40%),
    var(--bg);
}

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

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

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

.site-shell--narrow {
  width: min(860px, calc(100% - 32px));
}

.hero,
.panel,
.card,
.page-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(216, 225, 238, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  padding: 36px;
  display: grid;
  gap: 24px;
}

.hero__brand {
  display: flex;
  gap: 20px;
  align-items: center;
}

.hero__icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand);
  font-weight: 700;
}

.button:hover {
  text-decoration: none;
  border-color: var(--brand);
}

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

.button--primary:hover {
  background: var(--brand-dark);
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand);
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

h3 {
  font-size: 1.05rem;
}

p,
ul {
  margin: 0;
}

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.35rem;
}

.lead {
  color: var(--text-soft);
  font-size: 1.05rem;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.card,
.panel,
.page-header {
  padding: 28px;
}

.panel {
  margin-top: 24px;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 16px;
  font-weight: 700;
}

.muted {
  margin-top: 16px;
  color: var(--text-soft);
}

.page-header {
  margin-bottom: 24px;
}

.back-link {
  display: inline-block;
  margin-bottom: 16px;
  font-weight: 700;
}

.legal-content {
  display: grid;
  gap: 20px;
}

.legal-content section {
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(216, 225, 238, 0.9);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.legal-content section > * + * {
  margin-top: 12px;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-list article + article {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer {
  margin-top: 24px;
  padding: 0 4px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-soft);
}

.footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 800px) {
  .section-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero__brand {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: calc(100% - 24px);
    padding-top: 20px;
  }

  .hero,
  .panel,
  .card,
  .page-header,
  .legal-content section {
    padding: 20px;
    border-radius: 20px;
  }
}
