:root {
  --navy: #123047;
  --navy-2: #0b1e2d;
  --teal: #1f7a74;
  --amber: #f2a541;
  --cream: #f5f0e8;
  --paper: #fffdf9;
  --text: #18252f;
  --muted: #52616c;
  --line: rgba(18, 48, 71, 0.13);
}

* { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.62;
}

a { color: var(--teal); font-weight: 700; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; border-radius: 4px; }

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

header, main, footer {
  background: var(--paper);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

header {
  border-radius: 24px 24px 0 0;
  border-top: 1px solid var(--line);
  padding: 24px clamp(22px, 5vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand { color: var(--navy); text-decoration: none; font-size: 20px; letter-spacing: -0.02em; }
nav { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
nav a { font-size: 14px; }
nav a[aria-current="page"] { color: var(--navy); text-decoration-thickness: 2px; }

.site-link,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  color: #fff;
  background: var(--navy);
  text-decoration: none;
}

.site-link { min-height: 38px; padding-inline: 13px; font-size: 13px; }
.button-link:hover, .site-link:hover { background: var(--teal); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }

main { padding: clamp(30px, 6vw, 58px); }

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--teal);
  background: rgba(31, 122, 116, 0.1);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1, h2, h3 { color: var(--navy); line-height: 1.18; }
h1 { margin: 0 0 18px; font-size: clamp(34px, 7vw, 56px); letter-spacing: -0.045em; }
h2 { margin: 38px 0 12px; font-size: 25px; letter-spacing: -0.02em; }
h3 { margin: 24px 0 8px; font-size: 18px; }
p, li { color: var(--muted); }
p { margin: 0 0 16px; }
ul { padding-left: 22px; }
li + li { margin-top: 8px; }

.lead { font-size: 19px; max-width: 720px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 30px; }
.card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--cream); }
.card h2 { margin-top: 0; font-size: 20px; }
.notice { margin: 26px 0; padding: 18px 20px; border-left: 4px solid var(--amber); background: #fff7e9; border-radius: 10px; }
.meta { color: #72808a; font-size: 14px; }

footer {
  border-radius: 0 0 24px 24px;
  border-bottom: 1px solid var(--line);
  padding: 22px clamp(22px, 5vw, 52px);
  color: #72808a;
  font-size: 13px;
}

@media (max-width: 680px) {
  header { align-items: flex-start; flex-direction: column; }
  nav { justify-content: flex-start; }
}
