:root {
    --ink: #0c1f1a;
    --moss: #1b4d3e;
    --lime: #c6f54e;
    --fog: #e8f0ea;
    --paper: #f4f7f2;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
    background: var(--paper);
    color: var(--ink);
    font-family: "Palatino Linotype", Palatino, "Book Antiqua", "Iowan Old Style", Georgia, serif;
}

.wash {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(90vw 60vh at 10% -10%, rgba(198, 245, 78, 0.28), transparent 55%),
        radial-gradient(70vw 50vh at 110% 10%, rgba(27, 77, 62, 0.35), transparent 50%),
        linear-gradient(165deg, #eef4ee 0%, #d7e4d8 48%, #c3d4c6 100%);
    animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
    to { filter: hue-rotate(8deg) saturate(1.08); }
}

.top, main { position: relative; z-index: 1; }

.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 6vw;
}

.brand {
    font-size: clamp(2rem, 5vw, 3.4rem);
    letter-spacing: -0.04em;
    color: var(--ink);
    text-decoration: none;
}

.cta {
    background: var(--ink);
    color: var(--lime);
    text-decoration: none;
    padding: 0.7rem 1.1rem;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.9rem;
}

.hero {
    padding: 4vh 6vw 2vh;
    max-width: 52rem;
}

.mark {
    display: none;
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.15;
    font-weight: 600;
    margin: 0 0 1rem;
}

.lede {
    font-size: 1.15rem;
    max-width: 38rem;
}

.steps {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
}

.steps li {
    font-family: "Segoe UI", sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.steps span {
    width: 1.6rem;
    height: 1.6rem;
    border: 1px solid var(--moss);
    display: grid;
    place-items: center;
    font-size: 0.8rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 2rem 6vw;
}

.stats article {
    padding: 1rem 0;
    border-top: 1px solid var(--moss);
    animation: rise 0.7s ease both;
}

.stats article:nth-child(2) { animation-delay: 0.12s; }
.stats article:nth-child(3) { animation-delay: 0.24s; }

@keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

.stat-label {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.stat-value {
    margin: 0.3rem 0 0;
    font-size: clamp(2rem, 5vw, 3.4rem);
    letter-spacing: -0.04em;
}

.faq {
    padding: 1rem 6vw 2rem;
    max-width: 48rem;
}

.faq h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
}

.faq dt {
    margin-top: 1.1rem;
    font-weight: 600;
}

.faq dd {
    margin: 0.3rem 0 0;
}

.search {
    padding: 1rem 6vw 6rem;
    max-width: 48rem;
}

.tabs { display: flex; gap: 0.5rem; }

.tab {
    border: 0;
    background: transparent;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    font: inherit;
    cursor: pointer;
}

.tab.is-on { border-color: var(--ink); }

#search-form {
    display: grid;
    gap: 0.6rem;
    margin-top: 1rem;
}

#q, .place input {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--moss);
    background: transparent;
    padding: 0.7rem 0;
    font: inherit;
}

.place { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

#search-form button {
    justify-self: start;
    background: var(--lime);
    color: var(--ink);
    border: 0;
    padding: 0.6rem 1.2rem;
    font-family: "Segoe UI", sans-serif;
    cursor: pointer;
}

.hint { font-family: "Segoe UI", sans-serif; font-size: 0.9rem; }

.results { list-style: none; padding: 0; }

.results li {
    padding: 1rem 0;
    border-top: 1px solid rgba(12, 31, 26, 0.2);
}

.results strong { display: block; }
.meta { font-family: "Segoe UI", sans-serif; font-size: 0.85rem; opacity: 0.75; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

@media (max-width: 720px) {
    .stats { grid-template-columns: 1fr; }
    .place { grid-template-columns: 1fr; }
}

.legal {
    position: relative;
    z-index: 1;
    max-width: 40rem;
    margin: 0 auto;
    padding: 2rem 6vw 4rem;
}

.legal h1 { font-size: 2.4rem; letter-spacing: -0.03em; }
.legal h2 { font-size: 1.25rem; margin-top: 1.6rem; }
.legal a { color: var(--moss); }
