:root {
  color-scheme: dark;
  --ink: #eef1ec;
  --muted: #a8b1ad;
  --gold: #d9b56d;
  --sea: #4da6a1;
  --night: #050a10;
  --line: rgba(168, 177, 173, .2);
  --serif: "Iowan Old Style", "Palatino Linotype", Baskerville, Georgia, serif;
}
* { box-sizing: border-box; }
html { min-width: 280px; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(ellipse at 15% 0%, rgba(45,118,116,.17), transparent 45%), radial-gradient(ellipse at 95% 65%, rgba(181,127,53,.08), transparent 48%), var(--night);
  font: 1rem/1.6 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  min-height: 100svh;
}
a { color: inherit; text-underline-offset: .25em; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button, input, select, a { -webkit-tap-highlight-color: rgba(77,166,161,.2); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
[hidden] { display: none !important; }
.skip { position: absolute; z-index: 10; left: 1rem; top: -6rem; padding: .7rem 1rem; background: var(--night); }
.skip:focus { top: 1rem; }
.shell { max-width: 1120px; padding: 0 clamp(1.25rem, 5vw, 4rem); margin: auto; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 104px; border-bottom: 1px solid var(--line); }
.home { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font: 1.35rem var(--serif); padding: .6rem 0; }
.anchor { color: var(--gold); width: 25px; height: 30px; }
.current { font: .68rem "Courier New", monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.intro { padding: clamp(3rem, 7vw, 5.5rem) 0 2.9rem; }
.eyebrow { margin: 0 0 1.5rem; color: var(--gold); font-size: .65rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
h1 { margin: 0; font: 400 clamp(2.8rem, 7vw, 5.4rem)/1.07 var(--serif); letter-spacing: -.045em; }
h1 em { color: #a4cdc7; font-weight: 400; }
.lede { margin: 1.7rem 0 0; color: var(--muted); max-width: 38rem; font-size: 1rem; }
.filters { display: flex; align-items: end; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.field { display: grid; gap: .45rem; min-width: 0; flex: 0 1 13rem; }
.search-field { flex: 1; }
label { color: var(--muted); font-size: .75rem; }
input, select { width: 100%; border: 1px solid #44524f; border-radius: 3px; background: #0b171e; color: var(--ink); min-height: 46px; padding: .65rem .8rem; }
input::placeholder { color: #96a29e; opacity: 1; }
input:disabled, select:disabled { opacity: .6; cursor: wait; }
.results-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
#result-count { font-size: .78rem; color: var(--muted); }
#clear { min-height: 44px; background: none; color: var(--gold); border: 0; text-decoration: underline; text-underline-offset: .2em; padding: .3rem 0 .3rem .6rem; font-size: .8rem; }
.feedback { max-width: 36rem; padding: 1.7rem 0 2.5rem; color: var(--muted); }
.feedback p { margin: 0; }
.retry { min-height: 44px; margin-bottom: 2rem; padding: .5rem 1.1rem; color: var(--gold); background: transparent; border: 1px solid #81704e; border-radius: 3px; }
.group { margin: 0 0 2.5rem; }
.group-title { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: .4rem 0 .6rem; overflow-wrap: anywhere; }
.app { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 2.5rem; padding: 1.8rem 0 2rem; border-bottom: 1px solid var(--line); }
.app-title { display: flex; gap: .75rem 1rem; align-items: baseline; flex-wrap: wrap; }
h3 { margin: 0; font: 400 1.8rem/1.2 var(--serif); letter-spacing: -.02em; overflow-wrap: anywhere; }
.status { color: #b8c8c2; font: .65rem/1.5 "Courier New", monospace; text-transform: uppercase; letter-spacing: .06em; }
.status[data-status="released"] { color: #a4cdc7; }
.status[data-status="test"] { color: var(--gold); }
.summary { color: var(--muted); font-size: .9rem; margin: .85rem 0 0; overflow-wrap: anywhere; }
.app-links { list-style: none; margin: 0; padding: 0; min-width: 0; }
.app-links li + li { margin-top: 1.1rem; }
.app-link { display: inline-block; padding: .45rem 0; min-height: 44px; color: #e3d4b3; font-size: .9rem; overflow-wrap: anywhere; text-decoration-color: #756444; }
.app-link:hover { color: var(--gold); text-decoration-color: var(--gold); }
.link-meta { margin: 0; font-size: .73rem; line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; }
.access-note { margin: .25rem 0 0; color: #bbc4bf; font-size: .78rem; overflow-wrap: anywhere; }
.no-links { margin: .4rem 0; font-size: .85rem; color: var(--muted); }
footer { margin-top: 3rem; padding: 1.6rem 0 2rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; }
footer a { font-size: .78rem; padding: .7rem 0; color: var(--muted); }
.signal { margin: 0; color: #a6beb9; font: .6rem/1.5 "Courier New", monospace; letter-spacing: .12em; text-transform: uppercase; }
.signal span { color: var(--gold); }
@media (max-width: 640px) {
  .masthead { min-height: 82px; }
  .intro { padding-top: 3rem; }
  .eyebrow { max-width: 18rem; line-height: 1.8; font-size: .59rem; }
  .filters { gap: 1rem; align-items: stretch; flex-direction: column; }
  .field, .search-field { flex: auto; }
  .app { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .app-links { padding-left: 1rem; border-left: 1px solid rgba(77,166,161,.4); }
  footer { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .wide-only { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
