@font-face {
  font-family: "DM Sans";
  src: url(/fonts/dm-sans-latin-wght-normal.woff2) format("woff2");
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212;
}
@font-face {
  font-family: "DM Sans";
  src: url(/fonts/dm-sans-latin-ext-wght-normal.woff2) format("woff2");
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0100-02BA, U+1E00-1E9F;
}
:root { --sea: #0b3b6b; --paper: #f1f7fa; --ink: #0b2a45; --muted: #47637a; --line: #d3e1ea; --link: #1659a3; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 "DM Sans", system-ui, sans-serif; }
a { color: var(--link); }
:focus-visible { outline: 3px solid #ffc400; outline-offset: 2px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--sea); color: #fff; padding: 8px max(16px, 5vw); }
header a { color: inherit; }
.brand { font-weight: 800; font-size: 1.125rem; text-decoration: none; }
header nav { display: flex; gap: 4px; }
header nav a { min-width: 44px; min-height: 44px; display: grid; place-items: center; text-decoration: none; border-radius: 4px; }
header nav a[aria-current] { background: rgb(255 255 255 / 0.16); font-weight: 700; }
main { max-width: 42rem; margin: 0 auto; padding: 24px max(16px, 5vw) 64px; }
#q { width: 100%; min-height: 48px; padding: 0 12px; font: inherit; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
#hits { list-style: none; margin: 8px 0 0; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
#hits li { padding: 6px 0; }
h1 { font-size: 2.25rem; line-height: 1.15; letter-spacing: -0.02em; margin: 32px 0 16px; }
h2 { font-size: 1.375rem; line-height: 1.25; margin: 36px 0 8px; }
.guides { list-style: none; margin: 0; padding: 0; }
.guides li { padding: 14px 0; border-top: 1px solid var(--line); }
.guides a { font-size: 1.25rem; font-weight: 700; }
.guides p { margin: 4px 0 0; color: var(--muted); }
article img { display: block; width: min(100%, 300px); height: auto; margin: 16px 0; border-radius: 12px; }
