:root {
  color-scheme: light;
  --ink: #152e37;
  --muted: #4b6268;
  --accent: #f5c15c;
  --line: #ccd7d5;
  --paper: #fafbf8;
  --deep: #102c36;
  --mono: ui-monospace, Menlo, Consolas, monospace;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #087096; outline-offset: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.section-heading, .app-links, .footer {
  display: flex; align-items: center;
}
.section-heading a, .app-links a, .footer a { font-size: .88rem; font-weight: 600; }
.section-heading a, .footer a { text-decoration: none; }
.section-heading a:hover, .footer a:hover { text-decoration: underline; }
.app-intro img { border-radius: 22%; display: block; }
.hero {
  position: relative; isolation: isolate; z-index: 2; color: white;
  border-radius: .8rem; background: var(--deep);
}
.hero-photo, .hero-photo img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; }
.hero-photo { z-index: -2; overflow: hidden; }
.hero-photo img { object-fit: cover; object-position: center 53%; }
.hero::after {
  content: ""; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgb(8 28 43 / 94%), rgb(8 31 47 / 81%) 33%, rgb(9 31 43 / 30%) 57%, transparent 80%);
}
.hero-copy { padding: clamp(2.6rem, 5.4vw, 5rem); max-width: 41rem; }
h1, h2, p, ul, dl, dd { margin: 0; }
.hero h1 { font-size: clamp(3.25rem, 6.5vw, 6.4rem); line-height: .97; letter-spacing: -.06em; font-weight: 650; }
.hero h1 em { font: italic 1.03em/1.03 "Iowan Old Style", Baskerville, Georgia, serif; letter-spacing: -.055em; color: #ffe2a6; }
.hero-copy > p { max-width: 24rem; margin: 1.25rem 0 1.7rem; color: #f2f5f5; font-size: 1.04rem; }
.station-form { position: relative; max-width: 36rem; }
.field-line {
  display: flex; align-items: center; gap: .65rem; padding: .3rem;
  border: 1px solid #b1bfbd; border-radius: .5rem; background: #fff; color: var(--ink);
}
.field-line:focus-within { outline: 3px solid #72acc1; outline-offset: 2px; }
.magnifier { position: relative; flex: 0 0 1rem; height: 1rem; border: 1.8px solid #526970; border-radius: 50%; margin: 0 .15rem 0 .65rem; }
.magnifier::after { content: ""; position: absolute; width: .5rem; height: 2px; right: -.38rem; bottom: -.17rem; transform: rotate(45deg); background: #526970; }
.field-line input, .field-line button { font: inherit; }
.field-line input { width: 0; min-width: 0; flex: 1; height: 2.7rem; border: 0; outline: none; color: var(--ink); background: white; }
.field-line input::placeholder { color: #56686d; opacity: 1; }
.field-line button {
  min-height: 2.8rem; padding: 0 1.05rem; border: 0; border-radius: .3rem;
  background: var(--accent); color: #1b2928; font-weight: 690; cursor: pointer;
}
.field-line button:hover { background: #ffd27b; }
.field-line button span { margin-left: .3rem; }
.suggestions {
  position: absolute; z-index: 3; inset: calc(100% + .35rem) 0 auto;
  list-style: none; padding: .25rem; border: 1px solid var(--line); border-radius: .5rem;
  background: white; color: var(--ink); box-shadow: 0 .6rem 1.8rem #122f3929;
  max-height: min(18rem, 43vh); overflow: auto;
}
.suggestions li { display: flex; align-items: center; gap: .8rem; padding: .6rem .65rem; font-size: .86rem; cursor: pointer; }
.suggestions li:hover, .suggestions li[aria-selected=true] { background: #eaf2f1; }
.suggestions strong, .station-grid strong, .result-code { font-family: var(--mono); }
.shortcuts { padding-block: clamp(2rem, 3.5vw, 3.5rem); }
.section-heading { justify-content: space-between; gap: .6rem; margin-bottom: 1rem; }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); letter-spacing: -.045em; line-height: 1.15; font-weight: 670; }
.section-heading a { color: var(--muted); }
.section-heading a span, .store-link span { margin-left: .15rem; }
.station-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0;
  border: 1px solid var(--line); background: white; border-radius: .55rem; overflow: hidden;
}
.station-grid li + li { border-left: 1px solid var(--line); }
.station-grid a { display: grid; gap: .23rem; position: relative; padding: 1.1rem 1.35rem; text-decoration: none; }
.station-grid a::after, .result-link::after { content: "↗" / ""; position: absolute; right: 1.2rem; top: 1.05rem; color: #587174; }
.station-grid strong { font-size: 1.3rem; color: #20575b; letter-spacing: .035em; }
.station-grid span { color: var(--muted); font-size: .88rem; }
.station-grid a:hover, .result-link:hover { background: #eff5f3; }
.station-grid a:focus-visible, .result-link:focus-visible { outline-offset: -3px; }
.apple-app {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  padding: clamp(1.5rem, 3.5vw, 3.4rem); background: #e7eeea; border-radius: .75rem;
}
.app-intro h2 { margin: .9rem 0 1.1rem; }
.app-links { gap: 1.15rem; flex-wrap: wrap; }
.store-link { display: inline-block; padding: .65rem .95rem; border-radius: .35rem; color: white; background: var(--deep); text-decoration: none; }
.devices { display: grid; }
.devices div { padding-block: .7rem; }
.devices div + div { border-top: 1px solid #c6d4ce; }
.devices dt { font-weight: 680; font-size: .96rem; }
.devices dd { color: var(--muted); font-size: .92rem; }
.footer { justify-content: space-between; gap: .75rem; padding-block: 1.6rem; color: var(--muted); font-size: .8rem; }
.footer span a { font-size: inherit; font-weight: inherit; }
.directory { padding: clamp(1.5rem, 4vw, 3.5rem) 0; border-top: 1px solid var(--line); min-height: 66vh; }
.directory-heading { max-width: 52rem; }
.directory h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -.055em; }
.directory-heading p { color: var(--muted); margin: .7rem 0 1.2rem; }
.results { max-width: 58rem; margin-top: 2.2rem; }
.results h2 { font-size: 1.35rem; overflow-wrap: anywhere; }
.results .station-grid { margin-top: 1rem; }
.results p { color: var(--muted); margin-top: .5rem; }
.result-list { padding: 0; margin-top: 1rem; list-style: none; border-top: 1px solid var(--line); }
.result-link { display: grid; grid-template-columns: 5rem 1fr; position: relative; gap: .65rem; padding: .9rem 2.6rem .9rem .6rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.result-code { color: #20575b; font-weight: 700; }
.result-label { overflow-wrap: anywhere; }
.result-label small { display: block; color: var(--muted); font-size: .85rem; }
.pages { display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem; margin: 1.3rem 0 0; font-size: .92rem; }
.pages a { padding: .4rem 0; }
@media (max-width: 760px) {
  .station-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .station-grid li:nth-child(3) { border-left: 0; }
  .station-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .apple-app { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 600px) {
  .hero-photo { height: 12rem; border-radius: .8rem .8rem 0 0; }
  .hero-photo img { object-position: center 51%; }
  .hero::after { background: linear-gradient(to bottom, transparent 5rem, var(--deep) 12rem); }
  .hero-copy { padding: 9rem 1.2rem 1.5rem; }
  .hero h1 { font-size: clamp(2.8rem, 10.7vw, 4rem); }
  .hero-copy > p { margin: .8rem 0 1.1rem; font-size: .96rem; }
  .field-line { gap: .42rem; }
  .field-line button { padding: 0 .7rem; }
  .field-line button span { display: none; }
  .magnifier { margin-left: .35rem; }
  .section-heading a { font-size: .78rem; }
  .station-grid a { padding: .8rem .85rem; }
  .station-grid a::after { right: .75rem; top: .75rem; }
  .station-grid span { font-size: .8rem; }
  .footer { flex-wrap: wrap; }
}
@media (max-width: 375px) {
  .hero-copy { padding-inline: .85rem; }
  .hero h1 { font-size: 2.45rem; }
  .section-heading { align-items: baseline; flex-wrap: wrap; }
  .magnifier { display: none; }
  .field-line input { padding-left: .4rem; }
}
