
:root {
    --bg: #f5f9fc;
    --bg-soft: #eaf2f9;
    --surface: #ffffff;
    --surface-raised: #ffffff;
    --border: #d7e4f0;
    --border-soft: #e1ebf4;
    --cyan: #0891b2;
    --blue: #0284c7;
    --text: #1b2a3d;
    --text-dim: #55677e;
    --text-faint: #64778f;
    --error: #dc2626;
    --btn-text: #ffffff;
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
}

body {
    background: var(--bg);
    background-image: radial-gradient(ellipse 800px 500px at 15% -5%, rgba(34,211,238,0.07), transparent 60%), radial-gradient(ellipse 600px 400px at 100% 10%, rgba(56,189,248,0.05), transparent 60%);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

nav[aria-label="Breadcrumb"] a:hover {
    color: var(--text-dim);
}
/* ── HERO ── */
.hero {
    padding: 28px 0 60px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--cyan);
    background: rgba(34,211,238,0.08);
    border: 1px solid rgba(34,211,238,0.25);
    border-radius: 100px;
    padding: 6px 14px;
    margin-bottom: 20px;
}

    .eyebrow::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--cyan);
        box-shadow: 0 0 8px var(--cyan);
    }

.hero h1 {
    color: var(--text);
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 700;
    max-width: 780px;
    margin-bottom: 16px;
}

    .hero h1 .accent {
        color: var(--cyan);
    }

.hero .lead {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
    max-width: 580px;
}

/* ── GENERATOR CARD ── */
.checker {
    background: linear-gradient(160deg, var(--surface-raised), var(--surface));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    margin-top: 36px;
    position: relative;
    overflow: hidden;
}

    .checker::before {
        content: '';
        position: absolute;
        top: -1px;
        left: 36px;
        right: 36px;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--cyan), transparent);
        opacity: 0.5;
    }

.checker-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.reco-hint {
    display: block;
    font-size: 12.5px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--text-dim);
    margin-top: 4px;
    text-transform: none;
    letter-spacing: 0;
}

    .reco-hint.is-reco {
        color: var(--cyan);
        font-weight: 600;
    }

    .reco-hint .reco-reset {
        background: none;
        border: none;
        padding: 0;
        margin-left: 4px;
        cursor: pointer;
        color: var(--cyan);
        font-weight: 600;
        font-size: 12px;
        text-decoration: underline;
    }

.field select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: var(--bg-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%2355677e" stroke-width="2.5"><polyline points="6 9 12 15 18 9"/></svg>') no-repeat right 16px center;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    padding: 14px 42px 14px 16px;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}

    .field select option {
        background: #ffffff;
    }

    .field select:hover {
        border-color: #a9c2da;
    }

    .field select:focus {
        outline: none;
        border-color: var(--cyan);
        box-shadow: 0 0 0 3px rgba(34,211,238,0.14);
    }

    .field select.error {
        border-color: var(--error);
        box-shadow: 0 0 0 3px rgba(248,113,113,0.14);
    }

    .field select:disabled {
        opacity: 0.45;
        cursor: not-allowed;
    }

.field-error {
    font-size: 13px;
    color: var(--error);
    margin-top: 6px;
    display: none;
}

.field.has-error .field-error {
    display: block;
}

.btn-check-req {
    margin-top: 22px;
    width: 100%;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    border: none;
    border-radius: 12px;
    color: var(--btn-text);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    padding: 16px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

    .btn-check-req:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 28px rgba(34,211,238,0.3);
    }

    .btn-check-req:active {
        transform: translateY(0);
    }

/* ── RESULT ── */
.result {
    margin-top: 28px;
    display: none;
    border-top: 1px solid var(--border-soft);
    padding-top: 28px;
    scroll-margin-top: 90px;
}

    .result.show {
        display: block;
        animation: fadeUp 0.35s ease;
    }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-headline {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.result-band {
    font-family: var(--font-display);
    font-size: clamp(40px, 10vw, 60px);
    font-weight: 700;
    color: var(--cyan);
    line-height: 1;
}

.result-meta {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.55;
}

    .result-meta strong {
        color: var(--text);
        font-weight: 600;
        display: block;
        font-size: 16.5px;
        margin-bottom: 2px;
    }

/* ── PHASE TIMELINE ── */
.phase-timeline {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.phase-card {
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 20px 20px 22px;
    position: relative;
}

    .phase-card .phase-weeks {
        font-family: var(--font-display);
        font-size: 12.5px;
        font-weight: 700;
        color: var(--cyan);
        text-transform: uppercase;
        letter-spacing: 0.06em;
        margin-bottom: 8px;
    }

    .phase-card .phase-title {
        font-family: var(--font-display);
        font-size: 16.5px;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 8px;
    }

    .phase-card p {
        font-size: 14.5px;
        line-height: 1.7;
        color: var(--text-dim);
    }

    .phase-card + .phase-card::before {
        content: '';
        position: absolute;
        left: -8px;
        top: 24px;
        width: 0;
        height: 0;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 6px solid var(--border);
        display: none;
    }

@media (min-width: 721px) {
    .phase-card:not(:first-child)::before {
        display: block;
    }
}

/* ── SKILL HOUR ALLOCATION ── */
.skill-bars {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.skill-bar {
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 16px 16px 18px;
}

    .skill-bar.weak {
        border-color: rgba(34,211,238,0.4);
        background: linear-gradient(160deg, rgba(34,211,238,0.08), var(--bg-soft));
    }

    .skill-bar .name {
        font-size: 11.5px;
        font-weight: 700;
        color: var(--text-dim);
        text-transform: uppercase;
        letter-spacing: 0.07em;
        margin-bottom: 9px;
    }

    .skill-bar .val {
        font-family: var(--font-display);
        font-size: 22px;
        font-weight: 700;
        color: var(--text);
    }

        .skill-bar .val span {
            font-size: 12.5px;
            font-weight: 600;
            color: var(--text-dim);
        }

.gauge-track {
    height: 4px;
    background: var(--border-soft);
    border-radius: 2px;
    margin-top: 10px;
    overflow: hidden;
}

.gauge-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    border-radius: 2px;
    transition: width 0.7s cubic-bezier(0.16,1,0.3,1);
}

.result-note {
    background: rgba(34,211,238,0.06);
    border: 1px solid rgba(34,211,238,0.18);
    border-radius: 12px;
    padding: 17px 20px;
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--text);
}

    .result-note strong {
        color: var(--cyan);
        font-weight: 600;
    }

.provisional-banner {
    display: none;
    align-items: flex-start;
    gap: 10px;
    background: rgba(248,113,113,0.07);
    border: 1px solid rgba(248,113,113,0.25);
    border-radius: 12px;
    padding: 15px 18px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
}

    .provisional-banner.show {
        display: flex;
    }

    .provisional-banner strong {
        color: var(--error);
    }

.skill-task-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 20px;
}

.skill-task-item {
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-left: 3px solid var(--border-soft);
    border-radius: 10px;
    padding: 13px 17px;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--text-dim);
}

    .skill-task-item strong {
        color: var(--text);
        font-family: var(--font-display);
        font-size: 13.5px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .skill-task-item.weak {
        border-left-color: var(--cyan);
        background: linear-gradient(160deg, rgba(34,211,238,0.08), var(--bg-soft));
    }

.provisional-tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    background: var(--border-soft);
    border-radius: 999px;
    padding: 3px 9px;
    margin-left: 8px;
}

.result-cta {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 20px 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.result-cta-text {
    flex: 1;
    min-width: 200px;
}

    .result-cta-text strong {
        font-family: var(--font-display);
        font-size: 16px;
        font-weight: 600;
        color: var(--text);
        display: block;
        margin-bottom: 4px;
    }

    .result-cta-text p {
        font-size: 14.5px;
        line-height: 1.65;
        color: var(--text);
    }

.btn-outline {
    border: 1.5px solid var(--cyan);
    color: var(--cyan);
    background: transparent;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

    .btn-outline:hover {
        background: rgba(34,211,238,0.1);
    }

/* ── SECTIONS ── */
.section {
    padding: 64px 0;
}

.section-head {
    margin-bottom: 32px;
    max-width: 680px;
}

    .section-head .eyebrow {
        margin-bottom: 14px;
    }

    .section-head h2 {
        font-size: clamp(22px, 2.8vw, 30px);
        font-weight: 700;
        margin-bottom: 12px;
    }

    .section-head p {
        font-size: 16px;
        line-height: 1.8;
        color: var(--text);
    }

        .section-head p + p {
            margin-top: 12px;
        }

/* ── TABLE ── */
.table-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

#prepTimeTable {
    min-width: 680px;
}

thead th {
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft);
}

tbody td {
    padding: 16px 20px;
    font-size: 15px;
    line-height: 1.5;
    border-bottom: 1px solid var(--border-soft);
    color: var(--text);
    vertical-align: middle;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: rgba(34,211,238,0.03);
}

td.band {
    color: var(--cyan);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
}

#prepTimeTable tr.prep-row-active {
    background: rgba(34,211,238,0.05);
    transition: background 0.4s ease;
}

#prepTimeTable td.prep-cell-active {
    position: relative;
    border-radius: 8px;
    box-shadow: inset 0 0 0 2px var(--cyan);
    background: rgba(34,211,238,0.1);
}

/* ── FAQ ── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.15s;
}

    .faq-item.open {
        border-color: rgba(34,211,238,0.4);
    }

.faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.45;
}

    .faq-q:focus-visible {
        outline: 2px solid var(--cyan);
        outline-offset: -2px;
    }

.plus {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    position: relative;
}

    .plus::before, .plus::after {
        content: '';
        position: absolute;
        background: var(--cyan);
        border-radius: 2px;
        transition: transform 0.2s, opacity 0.2s;
    }

    .plus::before {
        width: 14px;
        height: 2px;
        top: 10px;
        left: 4px;
    }

    .plus::after {
        width: 2px;
        height: 14px;
        left: 10px;
        top: 4px;
    }

.faq-item.open .plus::after {
    opacity: 0;
    transform: rotate(90deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-a {
    max-height: 360px;
}

.faq-a p {
    padding: 0 24px 22px;
    color: var(--text);
    font-size: 15.5px;
    line-height: 1.8;
}

/* ── RELATED TOOLS ── */
.tool-feature {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 26px 28px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.15s;
    margin-bottom: 14px;
}

    .tool-feature:hover {
        border-color: rgba(34,211,238,0.45);
        background: var(--surface-raised);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(15,40,70,0.1);
    }

.tool-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(34,211,238,0.14), rgba(56,189,248,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 20px;
}

.tool-feature-body {
    flex: 1;
    min-width: 0;
}

    .tool-feature-body strong {
        font-family: var(--font-display);
        font-size: 17px;
        font-weight: 600;
        display: block;
        margin-bottom: 4px;
    }

    .tool-feature-body p {
        color: var(--text-dim);
        font-size: 14.5px;
        line-height: 1.6;
    }

.tool-feature-arrow {
    flex-shrink: 0;
    color: var(--cyan);
    font-size: 20px;
}

@media (max-width: 560px) {
    .tool-feature {
        flex-wrap: wrap;
    }

    .tool-feature-arrow {
        display: none;
    }
}

/* ── FINAL CTA ── */
.final-cta {
    background: linear-gradient(135deg, var(--surface-raised), var(--surface));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 56px 48px;
    text-align: center;
    margin: 40px 0 80px;
}

    .final-cta h2 {
        font-size: clamp(22px, 3vw, 30px);
        margin-bottom: 14px;
    }

    .final-cta p {
        font-size: 16px;
        line-height: 1.75;
        color: var(--text);
        max-width: 460px;
        margin: 0 auto 28px;
    }

.btn-primary-lg {
    display: inline-block;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: var(--btn-text);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

    .btn-primary-lg:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 28px rgba(34,211,238,0.28);
    }

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
    .checker {
        padding: 24px 20px;
    }

    .checker-grid {
        grid-template-columns: 1fr;
    }

    .phase-timeline {
        grid-template-columns: 1fr;
    }

    .skill-bars {
        grid-template-columns: repeat(2,1fr);
    }

    .result-cta {
        flex-direction: column;
    }

    .tool-feature {
        padding: 20px;
    }

    .final-cta {
        padding: 36px 24px;
    }

    table {
        font-size: 13.5px;
    }

    thead th, tbody td {
        padding: 12px 14px;
    }
}

@media (max-width: 480px) {
    .wrap {
        padding: 0 16px;
    }

    .eyebrow {
        font-size: 11.5px;
        padding: 6px 12px;
    }

    .hero .lead {
        font-size: 15px;
    }

    .checker {
        padding: 20px 16px;
        margin-top: 28px;
    }

        .checker::before {
            left: 20px;
            right: 20px;
        }

    .skill-bars {
        grid-template-columns: repeat(2,1fr);
        gap: 8px;
    }

    .result-headline {
        gap: 8px;
    }

    .btn-share {
        margin-left: 0;
    }

    .final-cta {
        padding: 28px 18px;
        margin: 32px 0 56px;
    }

        .final-cta p {
            max-width: 100%;
        }

    .btn-primary-lg {
        width: 100%;
        text-align: center;
        padding: 16px 20px;
    }

    .tool-feature {
        padding: 18px;
        gap: 14px;
    }

    .tool-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .tool-feature-body strong {
        font-size: 15.5px;
    }

    .tool-feature-body p {
        font-size: 13.5px;
    }

    .section-head h2 {
        font-size: 21px;
    }

    .faq-q {
        padding: 16px 18px;
        font-size: 14.5px;
    }
}

/* ── DARK HERO BAND ── */
.dark-hero-wrap {
    --bg: #0a1628;
    --bg-soft: #0d1f38;
    --surface: #112240;
    --surface-raised: #152b50;
    --border: #1e3a60;
    --border-soft: #182f52;
    --cyan: #22d3ee;
    --blue: #38bdf8;
    --text: #cdd8e8;
    --text-dim: #8fa8c4;
    --text-faint: #7290b0;
    --error: #f87171;
    --btn-text: #04141f;
    background: var(--bg);
    background-image: radial-gradient(ellipse 800px 500px at 15% -5%, rgba(34,211,238,0.07), transparent 60%), radial-gradient(ellipse 600px 400px at 100% 10%, rgba(56,189,248,0.05), transparent 60%);
    padding-bottom: 8px;
    border-radius: 0 0 32px 32px;
}

    .dark-hero-wrap .field select {
        background: var(--bg-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%237a9ab8" stroke-width="2.5"><polyline points="6 9 12 15 18 9"/></svg>') no-repeat right 16px center;
    }

        .dark-hero-wrap .field select option {
            background: #0f1e35;
        }

        .dark-hero-wrap .field select:hover {
            border-color: #2c4a78;
        }

    /* Result cards need to sit visibly above the dark checker card, not blend
     into it — bg-soft alone is too close in tone to the surrounding surface. */
    .dark-hero-wrap .phase-card,
    .dark-hero-wrap .skill-bar,
    .dark-hero-wrap .skill-task-item {
        background: rgba(255,255,255,0.035);
        border-color: rgba(255,255,255,0.09);
    }

        .dark-hero-wrap .skill-bar.weak,
        .dark-hero-wrap .skill-task-item.weak {
            background: linear-gradient(160deg, rgba(34,211,238,0.12), rgba(255,255,255,0.035));
        }

    .dark-hero-wrap .gauge-track {
        background: rgba(255,255,255,0.08);
    }
