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

:root {
    --ink: #11203b;
    --ink-soft: #52627d;
    --line: #d8dfeb;
    --surface: rgba(255, 255, 255, 0.92);
    --canvas: linear-gradient(180deg, #f3efe5 0%, #dde7f2 100%);
    --brand: #0b6e4f;
    --brand-deep: #084c38;
    --accent: #d97706;
    --shadow: 0 20px 45px rgba(17, 32, 59, 0.08);
    --error: #b42318;
    --success: #0f766e;
    --radius: 18px;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    background: var(--canvas);
    color: var(--ink);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(17, 32, 59, 0.08);
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.nav-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.nav-links { display: flex; gap: 1rem; align-items: center; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--brand-deep); }
.nav-form { margin: 0; }
.nav-button {
    border: none;
    background: transparent;
    color: var(--ink-soft);
    font-size: 0.95rem;
    cursor: pointer;
    font-family: "Segoe UI", sans-serif;
}
.nav-button:hover { color: var(--brand-deep); }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2rem 1.5rem 2.5rem;
    width: 100%;
    flex: 1;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-family: "Segoe UI", sans-serif;
    font-weight: 700;
}

.form-card,
.voice-card,
.voice-callout {
    background: var(--surface);
    border: 1px solid rgba(17, 32, 59, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card,
.voice-card,
.voice-callout,
.voice-hero-copy {
    padding: 1.5rem;
}

.voice-page {
    display: grid;
    gap: 1.5rem;
}

.voice-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 1.5rem;
    align-items: stretch;
}

.voice-hero h1 {
    font-size: clamp(2rem, 3vw, 3.1rem);
    line-height: 1.05;
    margin-bottom: 0.85rem;
}

.voice-hero p,
.voice-card p,
.voice-callout p,
.empty-state {
    color: var(--ink-soft);
}

.callout-label {
    text-transform: uppercase;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    color: var(--accent);
    font-family: "Segoe UI", sans-serif;
    font-weight: 700;
}

.callout-number {
    font-size: clamp(1.4rem, 2vw, 2.2rem);
    font-weight: 700;
    margin: 0.35rem 0 0.6rem;
    font-family: "Segoe UI", sans-serif;
}

.voice-grid,
.admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 0.7rem;
    margin-top: 0.85rem;
}

.feature-list li {
    padding-left: 1.1rem;
    position: relative;
    color: var(--ink-soft);
}

.feature-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
    position: absolute;
    left: 0;
    top: 0.63rem;
}

.compact-list {
    margin-top: 1rem;
}

.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    font-family: "Segoe UI", sans-serif;
}

.form-group input[type="text"],
.form-group input[type="password"],
.select-input {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 0.98rem;
    background: rgba(255, 255, 255, 0.94);
    font-family: "Segoe UI", sans-serif;
}

.form-group input:focus,
.select-input:focus {
    outline: 2px solid rgba(11, 110, 79, 0.18);
    border-color: var(--brand);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease;
    font-family: "Segoe UI", sans-serif;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-block { width: 100%; }

.error-message,
.success-message {
    padding: 0.8rem 1rem;
    border-radius: 14px;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.error-message {
    background: #fff2f0;
    color: var(--error);
}

.success-message {
    background: #ecfdf5;
    color: var(--success);
}

code,
pre {
    display: block;
    background: #f4f7fb;
    color: var(--ink);
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.85rem;
    margin: 0.7rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.92rem;
}

th, td {
    text-align: left;
    padding: 0.7rem 0.6rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
}

.table-wrap {
    overflow-x: auto;
}

.footer {
    text-align: center;
    padding: 1rem 1.5rem 1.4rem;
    font-size: 0.8rem;
    color: var(--ink-soft);
}

@media (max-width: 980px) {
    .voice-hero,
    .voice-grid,
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .container { padding: 1.2rem 1rem 1.8rem; }
    .hero-card,
    .voice-card,
    .voice-callout,
    .voice-hero-copy { padding: 1.2rem; }
    .nav-container { flex-direction: column; align-items: flex-start; }
}
