:root {
    /* Palette matched to electro-jam.com (near-black grayscale) */
    --bg: #111111;          /* rgb(17,17,17) */
    --panel: #1b1b1b;       /* rgb(27,27,27) */
    --text: #e2e2e2;        /* rgb(226,226,226) */
    --muted: #919191;       /* rgb(145,145,145) */
    --border: #303030;      /* rgb(48,48,48) */
    --accent: #BB55FF;      /* established brand accent */
    --accent-text: #ffffff;
    --success: #5fcf80;
    --error: #ff6b6b;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
}

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

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
}

.logo { font-weight: 700; font-size: 1.2rem; color: var(--text); }
.site-header nav a { margin-left: 1rem; color: var(--muted); }

.product {
    max-width: 720px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.product-hero h1 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem;
    color: var(--accent);
}

.tagline {
    font-size: 1.1rem;
    color: var(--muted);
    margin: 0 0 1.5rem;
}

.spec-strip {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.spec-strip li {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.spec-strip strong {
    color: var(--accent);
    font-weight: 600;
    margin-right: 0.25rem;
}

.status-row {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--muted);
}

.price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
}

.price-label {
    color: var(--muted);
}

.preorder-form {
    background: var(--panel);
    border: 1px solid var(--accent);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 0 0 1px rgba(187, 85, 255, 0.15), 0 8px 28px rgba(187, 85, 255, 0.08);
}

.preorder-form label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.preorder-form input {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.7rem 0.9rem;
    color: var(--text);
    font-size: 1rem;
}

.preorder-form input:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

.preorder-form small {
    min-height: 1.1em;
    font-size: 0.85rem;
}

.preorder-form small.ok { color: var(--success); }
.preorder-form small.error { color: var(--error); }

.form-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.form-section:last-of-type { border-bottom: 0; }

.form-section h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.form-error {
    color: var(--error);
    font-size: 0.9rem;
    min-height: 1.1em;
}

button {
    background: var(--accent);
    color: var(--accent-text);
    border: 0;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
}

button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.cta-row {
    margin: 2rem 0 1rem;
}

.btn-link {
    display: inline-block;
    background: var(--accent);
    color: var(--accent-text);
    border: 0;
    border-radius: 8px;
    padding: 1rem 1.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
}

.btn-link:hover,
.btn-link:focus {
    outline: 3px solid var(--accent-text);
    outline-offset: 2px;
    text-decoration: none;
}

.form-hint {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
}

.terms {
    margin-top: 3rem;
}

.terms h2 { margin-top: 0; }
.terms h3 { margin-top: 1.5rem; color: var(--accent); }
.terms p, .terms ol { color: var(--muted); }
.terms strong { color: var(--text); }

.site-footer {
    margin-top: 4rem;
    padding: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}
