:root {
  color-scheme: light;
  --blue: #145c9e;
  --blue-dark: #0b3d6b;
  --gold: #f5b63d;
  --ink: #17212b;
  --muted: #4a5865;
  --soft: #edf5fb;
  --line: #cbd9e5;
  --white: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
}

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

a:focus-visible,
button:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: .7rem 1rem;
  background: var(--white);
  font-weight: 700;
}

.skip-link:focus { top: 1rem; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow { max-width: 800px; }

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

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .8rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
}

.brand img { border-radius: 14px; }

nav,
footer div div {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
}

nav a,
footer a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}

.hero {
  background: linear-gradient(135deg, #f5faff 0%, #e7f2fb 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: center;
  gap: 3rem;
  min-height: 570px;
  padding: 4.5rem 0;
}

.hero-mark { text-align: center; }

.hero-mark img {
  width: min(100%, 320px);
  height: auto;
  border-radius: 24%;
  box-shadow: 0 20px 50px rgb(11 61 107 / 18%);
}

h1,
h2,
h3 {
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin: .25rem 0 1.2rem;
  color: var(--blue-dark);
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  letter-spacing: -.035em;
}

h2 {
  margin: 0 0 1.2rem;
  color: var(--blue-dark);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

h3 {
  margin: 0 0 .6rem;
  font-size: 1.3rem;
}

p { max-width: 72ch; }

.lead {
  max-width: 690px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.25rem;
}

.eyebrow {
  margin: 0 0 .35rem;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.3rem;
  border: 2px solid var(--blue-dark);
  border-radius: 12px;
  background: var(--blue-dark);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.button:hover { background: var(--blue); }

.section { padding: 5rem 0; }

.soft {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.card p { margin-bottom: 0; }

.text-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  font-weight: 800;
}

.page-title {
  padding: 3.5rem 0 2rem;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.page-title h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); }

.content { padding: 3.5rem 0 5rem; }

.content h2 {
  margin-top: 2.5rem;
  font-size: 1.65rem;
}

.content li { margin-bottom: .55rem; }

.notice {
  padding: 1.2rem 1.4rem;
  border-left: 7px solid var(--gold);
  border-radius: 6px;
  background: #fff8e8;
}

footer {
  border-top: 1px solid var(--line);
  background: #f8fafc;
}

footer p { margin: 0; }

@media (max-width: 760px) {
  :root { font-size: 17px; }
  .header-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
  .header-inner nav { width: 100%; justify-content: space-between; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding: 3rem 0; }
  .hero-mark { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --blue: #91c9f4;
    --blue-dark: #d7ecff;
    --gold: #ffc552;
    --ink: #f4f7fa;
    --muted: #d3dce4;
    --soft: #172a3b;
    --line: #536777;
    --white: #0d1d2b;
  }
  .hero { background: linear-gradient(135deg, #10283c 0%, #173a56 100%); }
  .button { color: #102033; background: #d7ecff; }
  .notice { color: #fff; background: #433613; }
  footer { background: #10202e; }
}
