/* hopfinch.com. Sixgrid brand: brand/round3/brand-guide.pdf. Fonts are OFL and served from this site. */

@font-face { font-family: "Sora"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/sora-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/sora-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/lexend-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/lexend-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --slate: #3A5A92;
  --slate-dark: #2F4B7C;
  --rose: #E1627B;
  --marigold: #F2A93B;
  --lilac: #B9A8E8;
  --cream: #FBF5EA;
  --card: #FFFDF8;
  --ink: #16213A;
  --muted: #545D78;
  --line: rgba(22, 33, 58, 0.12);
  --display: "Sora", system-ui, sans-serif;
  --body: "Lexend", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--slate); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; text-decoration-color: var(--rose); }
a:hover { color: var(--slate-dark); text-decoration-thickness: 0.14em; }
:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.2; margin: 0 0 0.6em; }
h1 { color: var(--slate); font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.25rem); letter-spacing: -0.015em; }
h2 { color: var(--slate); font-weight: 700; font-size: 1.45rem; margin-top: 2.2em; }
h3 { color: var(--ink); font-weight: 600; font-size: 1.12rem; }
p, ul { margin: 0 0 1em; }
strong { font-weight: 500; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 12px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: inline-block; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.site-header nav a { font-weight: 500; text-decoration: none; padding: 8px 4px; }
.site-header nav a:hover { text-decoration: underline; text-decoration-color: var(--rose); }

/* home */
.hero { padding: 72px 0 56px; }
.hero h1 { max-width: 17ch; }
.lede { font-size: 1.2rem; color: var(--ink); max-width: 38em; }
.band { background: var(--ink); overflow: hidden; }
.band img { width: 100%; height: 120px; object-fit: cover; }
.principles h2, .tools h2 { margin-top: 64px; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: 1fr; }
.cards li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px 24px 12px; position: relative; overflow: hidden; }
.cards li::before { content: ""; display: block; width: 24px; height: 24px; margin-bottom: 16px; background: var(--slate); border-radius: 0 0 0 24px; }
.cards li:nth-child(2)::before { background: var(--rose); border-radius: 0 24px 0 0; }
.cards li:nth-child(3)::before { background: var(--lilac); border-radius: 24px 0 0 0; }
.tools { padding-bottom: 72px; }
.tools p { color: var(--muted); }

/* documents */
.prose { padding-top: 56px; padding-bottom: 80px; }
.prose > * { max-width: 46rem; }
.prose h2 { font-size: 1.3rem; margin-top: 1.9em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--rose); }
.meta { color: var(--muted); font-size: 0.95rem; margin-top: -0.3em; }
.big { font-size: 1.2rem; }

/* footer */
.site-footer { background: var(--ink); color: var(--cream); font-size: 0.95rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--cream); text-decoration-color: var(--marigold); }
.site-footer a:hover { color: #FFFFFF; }
.site-footer :focus-visible { outline-color: var(--marigold); }

@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 48px 0 40px; }
  .brand img { height: 44px; }
  .band img { height: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
