:root {
  --navy:        #134481;
  --navy-deep:   #0c2f5c;
  --blue:        #2a78d4;
  --aqua:        #3fbfe3;
  --mist:        #eef4fb;
  --page:        #f7f9fc;
  --ink:         #172235;
  --ink-soft:    #3d4a5f;
  --white:       #ffffff;
  --line:        #d5e2f1;

  --font-body:    system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;

  --logo-size: 200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.4rem; font-weight: 800; margin: 0.5rem 0 0.75rem; }
h2 { font-size: 1.5rem; font-weight: 700; margin: 2.25rem 0 0.5rem; }
h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 0.35rem; }

a { color: var(--navy); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
a:focus-visible, .button:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  padding: 0.5rem 1rem;
  background: var(--navy);
  color: var(--white);
  z-index: 10;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 0.75rem 2rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 0 var(--aqua);
}
.brand {
  display: flex;
  align-items: center;
  color: var(--navy);
  text-decoration: none;
}
.brand span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.logo {
  width: var(--logo-size);
  height: var(--logo-size);
  margin: calc(var(--logo-size) * -0.17) calc(var(--logo-size) * -0.03) calc(var(--logo-size) * -0.29);
  object-fit: contain;
}

.site-header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header nav a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 3px solid transparent;
}
.site-header nav a:hover { border-bottom-color: var(--aqua); color: var(--navy); }
.site-header nav a[aria-current="page"] { border-bottom-color: var(--blue); }

main {
  max-width: 60rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.hero {
  margin: -2.5rem -1.5rem 2rem;
  padding: 3rem 1.5rem 2.5rem;
  background: linear-gradient(180deg, var(--mist) 0%, var(--page) 100%);
  border-radius: 0 0 16px 16px;
}
.hero h1 { font-size: 2.8rem; margin-top: 0; }

.lead { font-size: 1.3rem; color: var(--ink-soft); }

.coming-soon { font-size: 2.2rem; font-weight: 800; color: var(--blue); margin: 0.5rem 0 1rem; }

.button, button {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button:hover, button:hover { background: var(--blue); color: var(--white); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  padding: 0;
  list-style: none;
}
.cards li {
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  border-top: 4px solid var(--aqua);
}

input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--navy);
  vertical-align: -0.15rem;
  margin-right: 0.4rem;
}

#instructions:not(:empty) {
  margin-top: 1rem;
  padding: 0.5rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
}

.contact { padding-left: 1.25rem; }

.site-footer {
  padding: 1.25rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  border-top: 4px solid var(--aqua);
}

@media (max-width: 40rem) {
  :root { --logo-size: 160px; }
  .site-header { padding: 0.75rem 1rem; }
  h1, .hero h1 { font-size: 2rem; }
}
