:root {
    color-scheme: light;
    --paper: #f3ecdf;
    --card: #fffdf8;
    --ink: #1c2430;
    --muted: #3e4a5c;
    --line: #d9d0c1;
    --header: #172033;
    --header-text: #f6f1e7;
    --accent: #9a3412;
    --accent-text: #fffaf6;
    --peach: #f0a07a;
    --good: #1f6a45;
    --focus: #ffbf47;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 1.05rem;
    line-height: 1.5;
}

h1, h2, h3 {
    font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
    line-height: 1.15;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.03em; margin: 0 0 0.6rem; }
h1:focus,
h1:focus-visible { outline: none; }
h2 { font-size: 1.7rem; margin: 0 0 0.6rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.35rem; }
p { margin: 0 0 0.8rem; }

a { color: var(--accent); }
a:visited { color: #7d2c10; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

.skip {
    position: absolute;
    left: 0.5rem;
    top: -3rem;
    background: var(--accent);
    color: var(--accent-text);
    padding: 0.4rem 0.7rem;
    z-index: 5;
}

.skip:focus { top: 0.5rem; color: var(--accent-text); }

.site-header { background: var(--header); color: var(--header-text); }
.header-inner, .footer-inner, main {
    width: min(68rem, calc(100% - 2rem));
    margin-inline: auto;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    align-items: center;
    padding: 0.95rem 0;
    flex-wrap: wrap;
}
.site-header a, .site-header a:visited { color: var(--header-text); text-decoration-thickness: 1px; }
.brand {
    font-family: Palatino, "Palatino Linotype", Georgia, serif;
    font-size: 1.55rem;
    text-decoration: none;
    letter-spacing: -0.02em;
}
.brand span { color: var(--peach); font-style: italic; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
.site-header nav a[aria-current="page"] { text-decoration-thickness: 3px; text-underline-offset: 0.25rem; }

main { padding: 1.6rem 0 3rem; }

.site-footer { border-top: 1px solid var(--line); padding: 1.4rem 0 2.4rem; }
.footer-inner .disclaimer { margin-bottom: 0.8rem; }
.built { margin: 0.4rem 0 0; }
.foot-links { margin: 0; }

.hero {
    background: var(--header);
    color: var(--header-text);
    border-radius: 18px;
    padding: clamp(1.4rem, 3vw, 2.4rem);
    margin-bottom: 1.4rem;
}
.hero h1, .hero p { color: var(--header-text); }
.hero a, .hero a:visited { color: var(--peach); }
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    margin: 0 0 0.45rem;
    color: var(--accent);
}
.hero .eyebrow { color: var(--peach); }
.lede { max-width: 42rem; font-size: 1.12rem; }

.search-panel, .panel, .review-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem;
}
.hero .search-panel { color: var(--ink); margin: 1rem 0; }
.hero .search-panel a { color: var(--accent); }
.panel { margin: 1rem 0; padding: 1.15rem 1.2rem; }
.panel h2 { margin-top: 0.2rem; }

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 0.75rem;
    align-items: end;
}
.finder { grid-template-columns: 1fr auto; margin-bottom: 1rem; }

.field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.85rem; }
.search-form .field { margin-bottom: 0; }
label, legend { font-weight: 650; }
.hint { color: var(--muted); font-size: 0.92rem; }

input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="password"], select, textarea, .token {
    font: inherit;
    color: var(--ink);
    background: white;
    border: 1px solid #b7ad9d;
    border-radius: 8px;
    padding: 0.55rem 0.65rem;
    width: 100%;
}
textarea { min-height: 6.5rem; resize: vertical; }

button, .button {
    display: inline-block;
    background: var(--accent);
    color: var(--accent-text);
    border: 0;
    border-radius: 999px;
    padding: 0.7rem 1.15rem;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
button:visited, .button:visited, a.button { color: var(--accent-text); }
button.secondary, .secondary {
    background: transparent;
    color: var(--ink);
    border: 1px solid #b7ad9d;
}
a.button.secondary { color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; align-items: center; }
.actions form { margin: 0; }

.disclaimer {
    border-left: 4px solid var(--accent);
    padding: 0.15rem 0 0.15rem 0.8rem;
    color: var(--muted);
    margin: 1rem 0;
}
.disclaimer p { margin: 0; overflow-wrap: anywhere; }
.hero .disclaimer { color: var(--header-text); border-left-color: var(--peach); }

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    padding: 0;
    margin: 0 0 1rem;
    list-style: none;
}
.steps li {
    background: var(--paper);
    border-radius: 12px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.listing {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.4rem 1rem;
    margin: 0 0 0.85rem;
}
.airport {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    margin: 0;
}
.where, .make-line { color: var(--muted); }
.notes { white-space: pre-wrap; }
.badges, .make-links, .state-grid, .match-list, .token-list, .signup-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.8rem;
}
.badges { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.badges li, .make-links a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.1rem 0.55rem;
    font-size: 0.88rem;
}
.badges .ia, .badges .open { background: var(--good); color: white; border-color: var(--good); }
.badges .closed { background: #efe6d4; }
.contact { display: grid; gap: 0.25rem; margin: 0.4rem 0 0; }
.contact div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.4rem; }
.contact dt { font-weight: 700; }
.contact dd { margin: 0; }

.state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
    gap: 0.45rem;
}
.state-grid a {
    display: block;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.5rem 0.7rem;
    text-decoration: none;
    color: var(--ink);
}
.make-links { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.make-links a { text-decoration: none; color: var(--ink); background: var(--card); }

.crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: 0.92rem; margin-bottom: 0.8rem; color: var(--muted); }
.empty {
    background: #fff8ee;
    border: 1px dashed #c8b79a;
    border-radius: 12px;
    padding: 0.9rem 1rem;
}
.errors {
    background: #fde8e2;
    border: 1px solid #e2b2a4;
    border-radius: 10px;
    padding: 0.7rem 1rem 0.7rem 1.4rem;
}
.banner {
    background: #e5f2ea;
    border: 1px solid #b7d7c4;
    border-radius: 10px;
    padding: 0.8rem 1rem;
}

fieldset {
    border: 1px solid var(--line);
    border-radius: 12px;
    margin: 0 0 1rem;
    padding: 0.8rem 1rem 0.2rem;
    background: var(--card);
}
legend { padding: 0 0.3rem; font-family: Palatino, Georgia, serif; }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.8rem; }
.check-row, .makes { display: flex; flex-wrap: wrap; gap: 0.45rem 1rem; }
.makes { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); }
.check-row label, .makes label { font-weight: 500; display: flex; gap: 0.4rem; align-items: center; }
.stack { display: block; }
.narrow { max-width: 28rem; }

.match-list li, .token-list li, .signup-list li {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.8rem;
    justify-content: space-between;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--line);
}
.review-card { margin-bottom: 0.8rem; }
.review-card .actions form { display: inline; }

.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.95em; }

@media (max-width: 760px) {
    .search-form, .steps, .split, .listing { grid-template-columns: 1fr; }
    .airport { margin-top: 0.2rem; }
}
