:root {
  --ink: #111827;
  --muted: #566174;
  --line: #e2e7ef;
  --soft: #f6f8fb;
  --white: #fff;
  --blue: #1745ae;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--white); line-height: 1.5; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, p { margin-top: 0; }
.site-header, main, footer { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }

.site-header { display: flex; min-height: 78px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; }
.brand img { width: 168px; height: auto; }
.header-link { font-size: 14px; font-weight: 700; text-decoration: none; }
.header-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero { max-width: 780px; margin-inline: auto; padding: 92px 0 70px; text-align: center; }
.eyebrow { margin-bottom: 14px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero h1 { margin-bottom: 20px; font-size: clamp(42px, 6vw, 68px); font-weight: 760; line-height: .98; letter-spacing: -.05em; }
.hero > p:last-child { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: 18px; line-height: 1.62; }

.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 8px 0 72px; }
.resource-section { min-width: 0; padding-top: 21px; border-top: 3px solid var(--ink); }
.resource-section h2 { margin-bottom: 18px; font-size: 21px; line-height: 1.2; letter-spacing: -.025em; }
.resource-list { display: grid; gap: 0; }
.resource-list a { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 610; line-height: 1.35; text-decoration: none; }
.resource-list a::after { content: "›"; flex: 0 0 auto; color: #8994a6; font-size: 22px; font-weight: 400; line-height: 1; transition: transform .15s ease, color .15s ease; }
.resource-list a:hover { color: var(--blue); }
.resource-list a:hover::after { color: var(--blue); transform: translateX(2px); }
.resource-list a:focus-visible, .header-link:focus-visible, .newsletter a:focus-visible, footer a:focus-visible { outline: 3px solid rgba(23,69,174,.24); outline-offset: 4px; }

.newsletter { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 44px; margin-bottom: 82px; padding: 36px 40px; border-radius: 20px; background: var(--soft); }
.newsletter h2 { margin-bottom: 8px; font-size: clamp(26px, 3vw, 35px); line-height: 1.1; letter-spacing: -.035em; }
.newsletter p { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 16px; }
.newsletter > a { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 22px; border-radius: 10px; color: var(--white); background: #090909; font-size: 14px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.newsletter > a:hover { background: #252525; }

footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 30px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer strong { color: var(--ink); font-size: 16px; }
footer p { margin: 4px 0 0; }
footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 820px) {
  .hero { padding: 70px 0 56px; }
  .resource-grid { grid-template-columns: 1fr; gap: 38px; }
  .newsletter { grid-template-columns: 1fr; gap: 24px; }
  .newsletter > a { justify-self: start; }
}

@media (max-width: 560px) {
  .site-header, main, footer { width: min(100% - 28px, 1080px); }
  .site-header { min-height: 68px; }
  .brand img { width: 146px; }
  .header-link { font-size: 13px; }
  .hero { padding: 54px 0 48px; text-align: left; }
  .hero h1 { font-size: 43px; }
  .hero > p:last-child { font-size: 16px; }
  .resource-grid { padding-bottom: 54px; }
  .resource-list a { min-height: 58px; font-size: 15px; }
  .newsletter { margin-bottom: 58px; padding: 28px 22px; border-radius: 16px; }
  .newsletter > a { width: 100%; }
  footer { display: grid; align-items: start; padding-bottom: 34px; }
  footer nav { justify-content: flex-start; }
}
