/* Parked -- one screen, no external requests.
   Colours are tokens on :root so the accent can be swapped inline per domain. */

:root {
    --accent: #3d5afe;
    --bg: #fbfbfa;
    --card: #ffffff;
    --ink: #16181d;
    --ink-soft: #5c626e;
    --line: #e6e7ea;
    --shadow: 0 1px 2px rgba(16, 18, 24, .04), 0 12px 32px rgba(16, 18, 24, .06);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0e0f13;
        --card: #16181d;
        --ink: #f2f3f5;
        --ink-soft: #9aa0ad;
        --line: #24272f;
        --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .35);
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.parked {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 2rem 1.25rem;
}

.parked__card {
    width: 100%;
    max-width: 34rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: clamp(1.75rem, 5vw, 3rem);
    text-align: center;
}

.parked__domain {
    margin: 0;
    font-size: clamp(1.6rem, 6vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -.022em;
    line-height: 1.15;
    /* Long domains must not force the card to scroll sideways. */
    overflow-wrap: anywhere;
}

/* The accent reads as a deliberate mark rather than decoration. */
.parked__domain::after {
    content: "";
    display: block;
    width: 2.5rem;
    height: 3px;
    margin: 1.15rem auto 0;
    border-radius: 2px;
    background: var(--accent);
}

.parked__tagline {
    margin: 1.35rem 0 0;
    font-size: clamp(1rem, 2.4vw, 1.125rem);
    color: var(--ink);
}

.parked__status {
    margin: .9rem 0 0;
    font-size: .9375rem;
    color: var(--ink-soft);
}

.parked__actions { margin: 2rem 0 0; }

.parked__cta {
    display: inline-block;
    padding: .7rem 1.4rem;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-size: .9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform .12s ease, filter .12s ease;
}

.parked__cta:hover { filter: brightness(1.08); }
.parked__cta:active { transform: translateY(1px); }

.parked__cta:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .parked__cta { transition: none; }
}

/* ---- Enquiry form ---------------------------------------------------- */

.parked__form { margin: 2rem 0 0; text-align: left; }

.parked__field { margin: 0 0 1rem; }

.parked__field label {
    display: block;
    margin-bottom: .35rem;
    font-size: .8125rem;
    font-weight: 500;
    color: var(--ink-soft);
    letter-spacing: .01em;
}

.parked__field input,
.parked__field textarea {
    width: 100%;
    padding: .6rem .75rem;
    font: inherit;
    font-size: .9375rem;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: border-color .12s ease, box-shadow .12s ease;
}

.parked__field textarea { resize: vertical; min-height: 6rem; }

.parked__field input:focus,
.parked__field textarea:focus {
    outline: none;
    border-color: var(--accent);
    /* colour-mix keeps the focus ring tied to the per-domain accent without
       needing a second variable for every domain. */
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

.parked__form .parked__cta {
    width: 100%;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

/* The honeypot must be unreachable for people but present in the DOM.
   Offscreen rather than display:none, which some bots specifically skip. */
.parked__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.parked__notice {
    margin: 1.5rem 0 0;
    padding: .7rem .9rem;
    border-radius: 8px;
    font-size: .9375rem;
    text-align: left;
    border: 1px solid var(--line);
}

.parked__notice--ok {
    color: #0f5132;
    background: #d7f5e3;
    border-color: #a8e6c3;
}

.parked__notice--error {
    color: #842029;
    background: #fbe0e3;
    border-color: #f2b8bf;
}

@media (prefers-color-scheme: dark) {
    .parked__notice--ok    { color: #7ee2ab; background: #0e2a1c; border-color: #1c4a33; }
    .parked__notice--error { color: #f5a3ac; background: #2c1114; border-color: #542228; }
}

@media (prefers-reduced-motion: reduce) {
    .parked__field input,
    .parked__field textarea { transition: none; }
}
