:root {
  --ink: #17202a;
  --muted: #5e6973;
  --blue: #195f91;
  --blue-dark: #123d5d;
  --cream: #f7f2e9;
  --paper: #fffdf9;
  --gold: #b9823f;
  --line: #d8d1c6;
  --soft-blue: #e7f1f7;
  --warning: #8a4b13;
  --warning-bg: #fff3e5;
  --shadow: 0 18px 52px rgb(27 40 52 / 10%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 8%, rgb(25 95 145 / 14%), transparent 30rem),
    linear-gradient(180deg, #edf3f6 0, var(--cream) 46%, #fbfaf7 100%);
  font: 17px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 10;
  padding: 10px 14px;
  color: white;
  background: var(--blue-dark);
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 780;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, var(--blue), var(--blue-dark));
  border-radius: 12px;
  font: 28px/1 Georgia, serif;
  box-shadow: 0 7px 18px rgb(25 95 145 / 25%);
}

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

main {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.hero, .panel {
  margin-bottom: 20px;
  padding: clamp(24px, 5vw, 48px);
  background: rgb(255 253 249 / 94%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero { overflow: hidden; position: relative; }
.hero::after {
  position: absolute;
  width: 240px;
  height: 240px;
  right: -90px;
  bottom: -120px;
  content: "♞";
  color: rgb(25 95 145 / 8%);
  font: 220px/1 Georgia, serif;
  transform: rotate(-8deg);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.18; }
h1 { max-width: 760px; margin: 0 0 16px; font-size: clamp(2.25rem, 8vw, 4.5rem); letter-spacing: -.045em; }
h2 { margin: 0 0 14px; font-size: clamp(1.45rem, 4vw, 2rem); }
h3 { margin: 0 0 6px; font-size: 1.1rem; }
p { max-width: 760px; }
.lead { color: var(--muted); font-size: clamp(1.08rem, 2.5vw, 1.3rem); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button {
  display: inline-block;
  padding: 11px 17px;
  color: white;
  background: var(--blue);
  border-radius: 10px;
  font-weight: 750;
  text-decoration: none;
}
.button.secondary { color: var(--blue-dark); background: var(--soft-blue); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.card { padding: 18px; background: #f8fbfc; border: 1px solid #cfdee6; border-radius: 16px; }
.card p { margin-bottom: 0; color: var(--muted); }

.status-banner {
  margin-bottom: 20px;
  padding: 14px 17px;
  color: var(--warning);
  background: var(--warning-bg);
  border: 1px solid #e9c69e;
  border-left: 6px solid #c46d20;
  border-radius: 12px;
}

.meta { color: var(--muted); }
ol, ul { padding-left: 23px; }
li + li { margin-top: 8px; }

.site-footer {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: .92rem;
}

@media (max-width: 640px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  main { padding-top: 8px; }
  .hero, .panel { border-radius: 18px; }
}

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