/* ahealthyday.com — public "domain for sale" landing page.
   Self-contained: system fonts, no external assets, no inline styles
   (CSP-clean: served under style-src 'self'). */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #f5f6f8;
    --card: #ffffff;
    --ink: #1a2230;
    --muted: #5b6675;
    --line: #e3e7ee;
    --accent: #1f7a4d;
    --accent-ink: #ffffff;
    --shadow: 0 1px 3px rgba(20, 30, 45, 0.06), 0 8px 24px rgba(20, 30, 45, 0.06);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0e1420;
        --card: #161d2b;
        --ink: #eef1f6;
        --muted: #9aa6b6;
        --line: #26303f;
        --accent: #3fae72;
        --accent-ink: #06130c;
        --shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.35);
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    padding: 24px;
    min-height: 100vh;
}

.wrap {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px 0 40px;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 32px;
}

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.domain {
    font-size: clamp(30px, 7vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    word-break: break-word;
}

.tagline {
    color: var(--muted);
    font-size: 16px;
    margin-top: 12px;
    max-width: 46ch;
}

.price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin: 24px 0 20px;
    padding: 18px 20px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.amount {
    font-size: clamp(26px, 6vw, 34px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.price-note {
    font-size: 14px;
    color: var(--muted);
}

.points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.points li {
    position: relative;
    padding-left: 26px;
    font-size: 14.5px;
    color: var(--ink);
}

.points li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

h2 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.lede {
    color: var(--muted);
    font-size: 14.5px;
    margin: 6px 0 22px;
}

/* Form */
.field { margin-bottom: 16px; }

.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.field .opt {
    font-weight: 400;
    color: var(--muted);
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 11px 13px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(31, 122, 77, 0.15);
}

textarea { resize: vertical; min-height: 96px; }

/* Off-screen honeypot */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cf-turnstile { margin: 4px 0 18px; }

button[type="submit"] {
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-ink);
    background: var(--accent);
    border: none;
    border-radius: 8px;
    padding: 12px 22px;
    cursor: pointer;
    transition: filter 0.15s, opacity 0.15s;
}

button[type="submit"]:hover { filter: brightness(1.06); }
button[type="submit"]:disabled { opacity: 0.6; cursor: default; }

.formmsg {
    margin-top: 14px;
    font-size: 14px;
    min-height: 1.2em;
}
.formmsg.ok  { color: var(--accent); }
.formmsg.err { color: #c0392b; }

@media (prefers-color-scheme: dark) {
    .formmsg.err { color: #ff8a7a; }
}
