:root {
    --bg: #0f0c08;
    --gold: #c9a227;
    --text: #fafaf9;
    --muted: #a8a29e;
    --border: rgba(255,255,255,0.12);
    --surface: rgba(255,255,255,0.04);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-image:
        radial-gradient(circle at top right, rgba(201, 162, 39, 0.08), transparent 40%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.03), transparent 40%);
}
.container { max-width: 720px; width: 100%; }
h1 { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 0.5rem; }
h1 span[data-brand-accent] { color: var(--gold); }
.sub { color: var(--muted); margin-bottom: 2.5rem; font-size: 1rem; line-height: 1.6; }
.panels { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
@media (max-width: 860px) { .panels { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .panels { grid-template-columns: 1fr; } }
.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.75rem;
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all 0.25s ease;
}
.panel:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201, 162, 39, 0.1); }
.panel i { font-size: 2rem; color: var(--gold); }
.panel h2 { font-size: 1.25rem; font-weight: 600; }
.panel p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

.quick-test {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}
.quick-test label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.5rem; }
.quick-test .row { display: flex; gap: 0.5rem; }
.quick-test input {
    flex: 1;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
}
.quick-test input:focus { outline: none; border-color: var(--gold); }
.quick-test button {
    background: var(--gold);
    color: var(--bg);
    border: none;
    padding: 0 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.footnote {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.6;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}
.footnote code {
    background: rgba(255,255,255,0.08);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
}
