:root {
  color-scheme: light;
  --ink: #15204a;
  --muted: #65709a;
  --line: #dfe5f5;
  --blue: #2d4ed6;
  --blue-dark: #18359d;
  --paper: #ffffff;
  --bg: #f7f8fc;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, #e7ecff 0, transparent 34rem),
    var(--bg);
  line-height: 1.75;
}

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

.site-header,
.site-footer,
main {
  width: min(100% - 32px, 960px);
  margin-inline: auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  line-height: 1.3;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 12px;
  color: white;
  background: linear-gradient(145deg, #5271ed, var(--blue-dark));
  box-shadow: 0 8px 20px #2d4ed62b;
  font-size: 15px;
}

nav { display: flex; gap: 20px; }
nav a { color: var(--muted); text-decoration: none; font-weight: 650; }
nav a[aria-current="page"] { color: var(--blue); }

.hero {
  padding: 56px clamp(24px, 6vw, 64px);
  margin: 24px 0 28px;
  border-radius: 28px;
  color: white;
  background: linear-gradient(135deg, #213da8, #5574ed);
  box-shadow: 0 24px 60px #213da826;
}

.hero.legal {
  color: var(--ink);
  background: linear-gradient(135deg, #eef1ff, #fbfcff);
  border: 1px solid var(--line);
  box-shadow: none;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
}

h1 { margin: 0; font-size: clamp(30px, 6vw, 48px); line-height: 1.25; }
.hero p:last-child { margin-bottom: 0; }

.card {
  margin: 18px 0;
  padding: clamp(22px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 12px 36px #15204a0a;
}

h2 { margin-top: 0; font-size: 23px; line-height: 1.4; }
h3 { margin: 30px 0 6px; font-size: 18px; }
ul { padding-left: 1.4em; }
.contact-link { font-size: clamp(18px, 4vw, 25px); font-weight: 750; overflow-wrap: anywhere; }
.updated { color: var(--muted); }

details { padding: 18px 0; border-top: 1px solid var(--line); }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; font-weight: 750; }
details p { color: #414c75; }

.site-footer {
  padding: 40px 0 52px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

@media (max-width: 640px) {
  .site-header { align-items: flex-start; padding: 16px 0; flex-direction: column; }
  nav { width: 100%; justify-content: flex-start; }
  .hero { margin-top: 8px; border-radius: 22px; }
}
