:root {
  color-scheme: light;
  --bg: #f4f8ff;
  --surface: #ffffff;
  --ink: #07111f;
  --muted: #5c6879;
  --line: rgba(7, 17, 31, 0.12);
  --blue: #2191fb;
  --blue-dark: #0b6fd8;
  --blue-soft: #eaf5ff;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", sans-serif;
  --font-rounded: "SF Pro Rounded", ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-dark); font-weight: 700; }
a:focus-visible { outline: 3px solid rgba(33, 145, 251, 0.42); outline-offset: 3px; border-radius: 5px; }

.shell { width: min(940px, calc(100% - 36px)); margin: 0 auto; padding: 26px 0 54px; }

.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-header { padding-bottom: 38px; }
.brand, h1, h2, h3, .eyebrow, .resource-title, .button, .pill, .site-nav a { font-family: var(--font-rounded); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); text-decoration: none; font-size: 23px; font-weight: 900; letter-spacing: -0.045em; }
.brand-logo { width: 50px; height: 50px; margin: -8px; object-fit: contain; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 18px; }
.site-nav a { font-size: 13px; font-weight: 800; text-decoration: none; }

.eyebrow { margin: 0 0 10px; color: var(--blue-dark); font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 0; font-size: clamp(38px, 7vw, 64px); font-weight: 900; line-height: 0.98; letter-spacing: -0.06em; }
h2 { margin: 0 0 11px; font-size: 21px; font-weight: 850; line-height: 1.18; letter-spacing: -0.025em; }
h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; line-height: 1.25; }
p, li { color: var(--muted); }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding-left: 22px; }
li + li { margin-top: 7px; }

.intro { max-width: 690px; margin-top: 19px; color: var(--muted); font-size: 17px; }
.updated { margin-top: 12px; color: var(--muted); font-size: 14px; }
.notice { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: start; margin: 30px 0; padding: 19px 21px; border: 1px solid rgba(33, 145, 251, 0.24); border-radius: 18px; background: var(--blue-soft); }
.notice-mark { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; color: #fff; background: var(--blue); font-family: var(--font-rounded); font-size: 14px; font-weight: 900; }
.notice p { color: #3b5069; font-size: 14px; }

.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.resource, .section { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 12px 28px rgba(7, 17, 31, 0.045); }
.resource { display: flex; min-height: 156px; flex-direction: column; justify-content: space-between; padding: 22px; color: inherit; text-decoration: none; transition: border-color 160ms ease, transform 160ms ease; }
.resource:hover { border-color: rgba(33, 145, 251, 0.64); transform: translateY(-2px); }
.resource-title { color: var(--ink); font-size: 18px; font-weight: 850; letter-spacing: -0.025em; }
.resource p { margin: 10px 0 0; font-size: 14px; line-height: 1.55; }
.resource-arrow { margin-top: 14px; color: var(--blue-dark); font-family: var(--font-rounded); font-size: 20px; font-weight: 900; }

.content { display: grid; gap: 15px; margin-top: 32px; }
.section { padding: 26px; }
.section p, .section li { font-size: 15px; }
.section strong { color: var(--ink); }
.inline-links { display: flex; flex-wrap: wrap; gap: 9px 16px; margin-top: 18px; }
.button { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border-radius: 12px; color: #fff; background: var(--blue); font-size: 14px; font-weight: 850; text-decoration: none; }
.pill { display: inline-flex; align-items: center; min-height: 31px; margin: 3px 7px 3px 0; padding: 4px 10px; border-radius: 999px; color: var(--blue-dark); background: var(--blue-soft); font-size: 13px; font-weight: 800; }

.site-footer { margin-top: 46px; padding-top: 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer p { margin: 0; font-size: inherit; }

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 940px); padding-top: 20px; }
  .site-header, .site-footer { align-items: flex-start; flex-direction: column; }
  .site-header { gap: 18px; padding-bottom: 30px; }
  .site-nav { justify-content: flex-start; }
  .resource-grid { grid-template-columns: 1fr; }
  .section { padding: 21px 18px; }
  .notice { padding: 16px; }
}
