:root {
    --bg: #f8fafc;
    --panel: #ffffff;
    --line: #e2e8f0;
    --text: #0f172a;
    --muted: #64748b;
    --brand: #0f766e;
    --brand-soft: #ccfbf1;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--text);
}

h1,
h2,
.brand-mark {
    font-family: 'Sora', sans-serif;
}

.airtable-bg {
    background:
        radial-gradient(1200px 600px at 10% -10%, #dbeafe 0%, transparent 45%),
        radial-gradient(1200px 700px at 100% -20%, #ecfeff 0%, transparent 50%),
        var(--bg);
}

.orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(60px);
}

.orb-one {
    width: 260px;
    height: 260px;
    left: -70px;
    top: 70px;
    background: rgba(14, 165, 233, 0.18);
}

.orb-two {
    width: 320px;
    height: 320px;
    right: -120px;
    top: 180px;
    background: rgba(16, 185, 129, 0.15);
}

.brand-mark {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.eyebrow {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0f766e;
}

.hero-title {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    line-height: 1.15;
    font-weight: 700;
}

.hero-subtitle {
    margin-top: 0.55rem;
    color: var(--muted);
    max-width: 56ch;
}

.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    padding: 1.15rem;
    box-shadow: 0 12px 30px -24px rgba(15, 23, 42, 0.25);
}

.quiz-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.quiz-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 16px 34px -26px rgba(2, 132, 199, 0.3);
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.58rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0f766e;
    background: var(--brand-soft);
    border: 1px solid #99f6e4;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
}

.card-text {
    color: var(--muted);
    line-height: 1.45;
}

.field-label {
    display: inline-block;
    margin-bottom: 0.4rem;
    font-size: 0.87rem;
    font-weight: 600;
    color: #334155;
}

.field-input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    padding: 0.62rem 0.75rem;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-input:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.13);
}

.field-error {
    margin-top: 0.4rem;
    color: #b91c1c;
    font-size: 0.82rem;
}

.option-card {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    padding: 0.72rem;
    background: #fff;
}

.option-card input[type="radio"] {
    margin-top: 0.25rem;
    accent-color: #0f766e;
}

.primary-btn,
.secondary-btn,
.page-link {
    border-radius: 0.72rem;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.65rem 0.95rem;
    transition: all 0.2s ease;
}

.primary-btn {
    color: #fff;
    background: linear-gradient(135deg, #0f766e 0%, #0ea5a4 100%);
    box-shadow: 0 8px 20px -12px rgba(15, 118, 110, 0.7);
}

.primary-btn:hover {
    filter: brightness(1.03);
}

.secondary-btn {
    color: #0f172a;
    background: #fff;
    border: 1px solid var(--line);
}

.secondary-btn:hover {
    border-color: #94a3b8;
}

.result-box {
    border-radius: 1rem;
    border: 1px solid var(--line);
    background: #fff;
    padding: 1rem;
}

.score-number {
    font-family: 'Sora', sans-serif;
    font-size: 2.1rem;
    line-height: 1;
    margin-top: 0.25rem;
}

.airtable-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.airtable-table th,
.airtable-table td {
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
    padding: 0.68rem 0.6rem;
    font-size: 0.9rem;
}

.airtable-table th {
    color: #475569;
    font-weight: 700;
    background: #f8fafc;
    position: sticky;
    top: 0;
    z-index: 1;
}

.page-link {
    border: 1px solid var(--line);
    color: #334155;
    background: #fff;
}

.page-link.active {
    background: #0f766e;
    color: #fff;
    border-color: #0f766e;
}

.reveal-item {
    opacity: 0;
    transform: translateY(8px);
    animation: reveal 0.42s ease forwards;
}

.reveal-item:nth-child(2) { animation-delay: 0.05s; }
.reveal-item:nth-child(3) { animation-delay: 0.1s; }
.reveal-item:nth-child(4) { animation-delay: 0.15s; }
.reveal-item:nth-child(5) { animation-delay: 0.2s; }

@keyframes reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .panel {
        border-radius: 0.95rem;
        padding: 0.9rem;
    }

    .airtable-table {
        min-width: 760px;
    }
}
