* {
    box-sizing: border-box;
}

:root {
    --primary: #0f3d56;
    --primary-light: #2d6f8e;
    --accent: #3aa0b4;
    --sun: #f0a94f;
    --bg: #f5f8fb;
    --text: #102236;
    --muted: #5d6d7f;
    --border: #dce5ee;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    background:
        radial-gradient(circle at 8% -12%, rgba(240, 169, 79, 0.22), transparent 34%),
        radial-gradient(circle at top right, rgba(58, 160, 180, 0.16), transparent 35%),
        var(--bg);
    color: var(--text);
}

.page {
    max-width: 980px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.hero {
    background: linear-gradient(135deg, #123e56 0%, #2d6f8e 74%, #3aa0b4 100%);
    color: #f8fcff;
    border-radius: 14px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.hero .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    opacity: 0.9;
}

.hero h1 {
    margin: 0.5rem 0;
    font-size: 2rem;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(11, 39, 63, 0.08);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--muted);
}

select,
textarea {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem;
    font: inherit;
    color: var(--text);
    background: #fff;
}

.question-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    margin: 0.75rem 0;
    background: #fbfdff;
}

.question-item h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.feedback {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    background: #eef7fb;
    color: var(--text);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
}

.label {
    color: var(--muted);
    margin: 0;
    font-size: 0.85rem;
}

.value {
    margin: 0.2rem 0 0;
    font-weight: 700;
    font-size: 1.15rem;
}

.plan {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

.btn {
    border: none;
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-secondary {
    background: #e9eff5;
    color: var(--primary);
}

.btn-accent {
    background: var(--sun);
    color: #fff;
}

.btn-light {
    background: #fff;
    color: var(--primary);
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 18, 30, 0.84);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.overlay-card {
    background: #fff;
    border-radius: 14px;
    width: min(90%, 520px);
    padding: 1.5rem;
}

.overlay-actions {
    display: grid;
    gap: 0.6rem;
}

.timer-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    color: #fff;
    background: linear-gradient(135deg, #123e56 0%, #2d6f8e 100%);
}

@media (max-width: 700px) {
    .hero {
        padding: 1.4rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }
}