@font-face {
  font-family: Quicksand;
  src: url('/quicksand.ttf') format('truetype');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf9f6;
  --ink: #242421;
  --muted: #65655f;
  --line: #e5e3dc;
  --red: #ba2516;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
.page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.container { width: 100%; max-width: 848px; margin: 0 auto; padding: 0 32px; }
main.container { flex: 1; padding-bottom: 48px; }
.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner { display: flex; align-items: center; min-height: 80px; }
.masthead img { display: block; width: 139px; height: auto; }
.intro { padding: 40px 0 28px; }
.intro p { margin: 10px 0 0; color: #72726b; font-size: 14px; line-height: 1.6; }
h1 { font-family: Quicksand, sans-serif; font-weight: 600; font-size: clamp(26px, 3.4vw, 30px); letter-spacing: -.035em; line-height: 1.2; margin: 0; }
h2 { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; margin: 0 0 16px; }
ul { list-style: none; padding: 0; margin: 0; }
.tool-list li:not(:last-child) { border-bottom: 1px solid var(--line); }
.tool-link { display: flex; align-items: center; gap: 20px; min-height: 102px; padding: 22px 12px 22px 0; text-decoration: none; }
.tool-icon { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--red); }
.tool-icon svg { width: 22px; height: 22px; transition: transform 180ms ease; }
.tool-copy { flex: 1; min-width: 0; }
.tool-name { display: block; color: #484842; font-size: 16px; font-weight: 600; line-height: 1.5; transition: color 180ms ease; }
.tool-description { display: block; color: #72726b; font-size: 14px; line-height: 1.6; margin-top: 3px; }
.arrow { flex-shrink: 0; width: 19px; height: 19px; color: var(--muted); transition: transform 180ms ease, color 180ms ease; }
.arrow svg { display: block; width: 100%; height: 100%; }
.tool-link:focus-visible .tool-icon svg { transform: scale(1.12); }
.tool-link:focus-visible .tool-name { color: var(--ink); }
.tool-link:focus-visible .arrow, .resource-link:focus-visible .arrow { color: var(--red); transform: translate(2px, -2px); }
@media (hover: hover) and (pointer: fine) {
  .tool-link:hover .tool-name { color: var(--ink); }
  .tool-link:hover .tool-icon svg { transform: scale(1.12); }
  .tool-link:hover .arrow, .resource-link:hover .arrow { color: var(--red); transform: translate(2px, -2px); }
}
.resources { margin-top: 40px; }
.resource-link { display: flex; align-items: center; gap: 16px; padding: 12px 0; text-decoration: none; }
.resource-link .tool-copy { flex: 1; }
.resource-link .tool-name { font-size: 14px; }
.resource-link .tool-description { font-size: 13px; }
footer { border-top: 1px solid var(--line); padding: 24px 0 28px; font-size: 12px; color: var(--muted); }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; border-radius: 3px; }
.skip-link { position: absolute; top: -100px; left: 16px; background: white; padding: 12px; z-index: 1; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 520px) {
  .container { padding-left: 22px; padding-right: 22px; }
  .masthead-inner { min-height: 72px; }
  .intro { padding: 32px 0 24px; }
  .tool-link { gap: 14px; padding: 20px 0; }
  .tool-icon { width: 42px; height: 42px; border-radius: 10px; }
  .tool-description { font-size: 13px; }
  .arrow { width: 17px; height: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .tool-link .tool-icon svg, .tool-link .arrow, .resource-link .arrow { transform: none !important; }
}
