:root {
  color-scheme: light;
  --ink: #182437;
  --muted: #5d6b80;
  --blue: #2f6fe4;
  --pale-blue: #e8f0ff;
  --line: #d9e2ee;
  --page: #f5f8fc;
  --surface: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: #1f5ec7; text-underline-offset: 3px; }
a:hover { color: #17499e; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 3px; }

.shell { width: min(100% - 40px, 760px); margin-inline: auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--blue);
  color: white;
  font: 700 18px/1 ui-rounded, -apple-system, BlinkMacSystemFont, sans-serif;
}

.site-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-nav a { color: var(--muted); font-size: 14px; font-weight: 620; text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--blue); }

.page {
  position: relative;
  overflow: hidden;
  margin: 12px auto 30px;
  padding: clamp(26px, 6vw, 56px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 14px 42px rgba(24, 36, 55, 0.055);
}

.page::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--blue);
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--blue);
  font: 700 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1, h2 { font-family: ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -0.035em; }
h1 { margin: 0; font-size: clamp(34px, 6vw, 48px); line-height: 1.12; }
h2 { margin: 0 0 10px; font-size: 20px; line-height: 1.25; }
p { margin: 0 0 16px; }
.lead { max-width: 590px; margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.date { margin-top: 14px; color: var(--muted); font-size: 13px; }

.notice {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid #cbdcfb;
  border-radius: 14px;
  background: var(--pale-blue);
}
.notice p:last-child, section p:last-child { margin-bottom: 0; }

.content-section { padding-block: 25px; border-bottom: 1px solid var(--line); }
.content-section:last-child { padding-bottom: 0; border-bottom: 0; }
.content-section p { color: var(--muted); }

.link-cards { display: grid; gap: 12px; margin-top: 32px; }
.link-card {
  display: block;
  padding: 19px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease;
}
.link-card:hover { border-color: var(--blue); transform: translateY(-2px); color: var(--ink); }
.link-card strong { display: block; font-size: 17px; }
.link-card span { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; }

.contact-link { font-weight: 700; overflow-wrap: anywhere; }
.site-footer { padding: 0 0 35px; color: var(--muted); font-size: 13px; }

@media (max-width: 540px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .site-nav { gap: 14px; }
  .page { border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .link-card { transition: none; }
}
