:root {
  --ink: #142033;
  --muted: #4b5870;
  --line: #d7deea;
  --bg: #f4f6fa;
  --card: #fff;
  --accent: #1f4e79;
  --accent-2: #163a5a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  background: #fff;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem; }
.wrap { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; }
.site-header, .site-footer { border-bottom: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); border-bottom: 0; margin-top: 3rem; }
.site-header .wrap, .site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}
nav { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
nav a, .site-footer a { color: var(--ink); text-decoration: none; }
nav a:hover, .site-footer a:hover { text-decoration: underline; }
.logo { font-weight: 700; color: var(--accent-2); text-decoration: none; }
.hero, .cta, .alt { background: var(--bg); }
section { padding: 2.5rem 0; }
h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; margin: 0 0 1rem; }
h2 { font-size: 1.35rem; }
h3 { margin-bottom: .4rem; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none !important;
  padding: .7rem 1rem;
  border-radius: 4px;
  border: 0;
  font: inherit;
  cursor: pointer;
}
.btn-secondary { background: transparent; color: var(--accent) !important; border: 1px solid var(--accent); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
}
.cards li, .note {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1rem;
}
form { display: grid; gap: .8rem; max-width: 720px; }
label { display: grid; gap: .3rem; font-weight: 600; }
input, select, textarea {
  font: inherit;
  padding: .55rem .6rem;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.hp { position: absolute; left: -9999px; }
.notice { padding: .8rem 1rem; border: 1px solid var(--line); background: #fff8e8; }
@media (max-width: 720px) {
  .site-header .wrap { align-items: flex-start; }
  nav { width: 100%; }
}
