:root {
  font-family: Inter, system-ui, sans-serif;
  color: #202124;
  background: #fff;
  --muted: #565d69;
  --border: #e3e7ee;
  --blue: #174ea6;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
.top, footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px clamp(18px, 4vw, 56px); font-size: 13px; color: var(--muted); }
.top { min-height: 70px; }
.top-label { display: flex; align-items: center; gap: 9px; font-weight: 650; color: #353b45; }
.dot { width: 8px; height: 8px; background: #4285f4; border-radius: 50%; }
main { flex: 1; }
.hero { width: min(100% - 36px, 660px); margin: clamp(70px, 16vh, 180px) auto 50px; text-align: center; }
.wordmark { display: inline-block; font-size: clamp(64px, 13vw, 104px); line-height: 1.05; font-weight: 630; letter-spacing: -.085em; padding-right: .085em; margin-bottom: 32px; }
.wordmark:hover { text-decoration: none; }
.wordmark span:nth-child(1), .wordmark span:nth-child(4) { color: #4285f4; }
.wordmark span:nth-child(2), .wordmark span:nth-child(6) { color: #ea4335; }
.wordmark span:nth-child(3) { color: #c88900; }
.wordmark span:nth-child(5) { color: #238443; }
.searchbox { display: flex; align-items: center; gap: 16px; padding: 7px 7px 7px 22px; min-height: 61px; border: 1px solid var(--border); border-radius: 34px; box-shadow: 0 4px 20px #2021240c; }
.searchbox:focus-within { border-color: #93b7f3; box-shadow: 0 0 0 3px #4285f426; }
.magnifier { width: 15px; height: 15px; border: 2px solid #68717e; border-radius: 50%; position: relative; flex: none; }
.magnifier::after { content: ''; position: absolute; width: 7px; height: 2px; background: #68717e; transform: rotate(45deg); top: 11px; left: 9px; }
input, button { font: inherit; }
input { min-width: 0; flex: 1; width: 100%; border: 0; padding: 8px 0; background: transparent; color: inherit; outline: none; }
button { border: 0; border-radius: 24px; padding: 12px 16px; background: #edf3ff; color: #174ea6; font-size: 14px; font-weight: 650; cursor: pointer; white-space: nowrap; }
button:hover { background: #dce9ff; }
button span { margin-left: 5px; }
.examples { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 25px; color: var(--muted); font-size: 12px; }
.examples a { padding: 8px 11px; border: 1px solid var(--border); border-radius: 20px; }
.examples a:hover { background: #f5f8fd; }
.results { display: none; }
.has-query .hero { width: min(100% - 36px, 820px); margin: 16px auto 28px; display: flex; align-items: center; gap: 24px; text-align: left; }
.has-query .wordmark { font-size: 38px; margin: 0; }
.has-query form { flex: 1; min-width: 0; }
.has-query .examples { display: none; }
.has-query .results { display: block; width: min(100% - 36px, 820px); margin: 0 auto 50px; }
.results h1 { font-size: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
#status { font-size: 13px; color: var(--muted); }
article { max-width: 660px; margin: 25px 0; }
article h2 { font-size: 20px; font-weight: 550; color: var(--blue); margin: 6px 0; overflow-wrap: anywhere; }
article p { font-size: 14px; color: #454b55; line-height: 1.55; margin: 0; overflow-wrap: anywhere; }
article .source { font-size: 12px; color: #555f6e; }
#pages:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 16px; }
#pages button { background: #fff; border: 1px solid var(--border); }
#pages button:hover, #pages button[aria-current] { background: #edf3ff; }
#pages button:disabled { color: var(--muted); cursor: default; }
footer { background: #f7f8fa; border-top: 1px solid var(--border); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 540px) {
  .has-query .hero { flex-direction: column; align-items: stretch; gap: 14px; }
  .searchbox { padding-left: 16px; gap: 11px; }
  button { padding-inline: 12px; }
  footer { flex-wrap: wrap; }
}
