/* MailCheck brand (blueprint §23). Dark theme, orange CTA, cyan accents. */

:root {
    --bg: #080A0F;
    --bg-elev: #11151E;
    --bg-card: #161B27;
    --text: #E6E9EF;
    --text-muted: #9AA3B3;
    --border: #222836;
    --orange: #F26522;
    --orange-hover: #D95719;
    --cyan: #59CBE8;
    --cyan-dim: #3FAFCD;
    --success: #4ADE80;
    --warn: #FBBF24;
    --danger: #F87171;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

h1, h2, h3, h4 {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin: 0 0 16px;
    color: var(--text);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-dim); text-decoration: underline; }

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-header {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg-elev);
}

.site-header .brand {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 2rem;
    color: var(--orange);
    letter-spacing: 0.04em;
}

.hero {
    padding: 64px 0 32px;
    text-align: center;
}

.hero .tagline {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 640px;
    margin: 0 auto 24px;
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin: 32px 0;
}
@media (max-width: 1000px) { .tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .tier-grid { grid-template-columns: 1fr; } }

.tier-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.15s;
}
.tier-card:hover { border-color: var(--cyan-dim); transform: translateY(-2px); }
.tier-card.selected { border-color: var(--orange); background: #1A1F2B; }
.tier-card .tier-name { font-family: 'Bebas Neue', Impact, sans-serif; font-size: 1.5rem; letter-spacing: 0.03em; }
.tier-card .tier-price { color: var(--orange); font-size: 2rem; font-family: 'Bebas Neue', Impact, sans-serif; margin: 8px 0; }
.tier-card .tier-price .cents { font-size: 1rem; color: var(--text-muted); }
.tier-card ul { list-style: none; padding: 0; margin: 16px 0 0; flex: 1; }
.tier-card ul li { color: var(--text-muted); padding: 4px 0; font-size: 0.875rem; }
.tier-card ul li.on::before { content: '✓ '; color: var(--cyan); }
.tier-card ul li.off::before { content: '— '; }

.tier-comparison {
    margin: 48px 0;
    overflow-x: auto;
}
.tier-comparison table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
}
.tier-comparison th,
.tier-comparison td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.tier-comparison th { font-family: 'Bebas Neue', Impact, sans-serif; font-size: 1rem; color: var(--cyan); }
.tier-comparison td:not(:first-child) { text-align: center; }

.payment-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px;
    max-width: 560px;
    margin: 0 auto;
}

.form-field { margin-bottom: 16px; }
.form-field label {
    display: block;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
}
.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--cyan-dim);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--orange);
    color: #fff;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: background 0.15s;
}
.btn-primary:hover { background: var(--orange-hover); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-secondary {
    display: inline-flex;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--cyan-dim);
    color: var(--cyan);
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Bebas Neue', Impact, sans-serif;
    letter-spacing: 0.04em;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 16px;
}

.countdown {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 2rem;
    color: var(--cyan);
    letter-spacing: 0.04em;
}

.test-address {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 1.125rem;
    background: var(--bg);
    border: 1px dashed var(--cyan-dim);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--cyan);
    user-select: all;
}

.feature-locked {
    position: relative;
    opacity: 0.5;
    pointer-events: none;
}
.feature-locked .lock-icon { margin-right: 4px; }

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}
.alert-error { background: rgba(248, 113, 113, 0.1); border: 1px solid var(--danger); color: var(--danger); }
.alert-success { background: rgba(74, 222, 128, 0.1); border: 1px solid var(--success); color: var(--success); }

.site-footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    text-align: center;
    font-size: 0.875rem;
    margin-top: 80px;
}
