/* Hedgestone Magnet Base Stylesheet
   Shared design system for all interactive lead magnets.
   Modeled after buyer-calculator: clean, modern, friendly SaaS feel
   (Inter sans-serif, soft blue-gray bg, white rounded cards, gold + navy accents). */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
    --navy:        #1a2a3a;
    --navy-deep:   #0f1c28;
    --navy-soft:   #2d4a5e;
    --gold:        #c9a84c;
    --gold-deep:   #a7872e;
    --gold-soft:   #f5f0e6;
    --cream:       #faf8f4;
    --paper:       #f7f9fc;
    --paper-deep:  #edf2f7;
    --text:        #2d3748;
    --text-soft:   #718096;
    --text-mute:   #a0aec0;
    --border:      #e2e8f0;
    --border-soft: #edf2f7;
    --white:       #ffffff;
    --green:       #38a169;
    --green-soft:  #d4edda;
    --red:         #d04848;
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.04);
    --shadow-md:   0 10px 40px rgba(0,0,0,0.06);
    --shadow-lg:   0 20px 60px rgba(0,0,0,0.08);
    --shadow-gold: 0 4px 16px rgba(201, 168, 76, 0.15);
}

html { background: var(--paper); }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: linear-gradient(135deg, var(--paper) 0%, var(--paper-deep) 100%);
    min-height: 100vh;
    padding: 40px 24px 60px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

/* ========== MASTHEAD ========== */
.masthead {
    text-align: center;
    margin-bottom: 12px;
    animation: fadeInDown 0.5s ease-out;
}
.masthead .brand {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.masthead .brand em {
    display: block;
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.4px;
    text-transform: none;
    font-size: 11px;
    margin-top: 2px;
}
.masthead .volume {
    display: inline-block;
    margin-top: 6px;
    font-size: 10px;
    color: var(--text-mute);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}
.rule-thin { display: none; }

/* ========== TITLE BLOCK (hero) ========== */
.title-block {
    text-align: center;
    margin-bottom: 32px;
    animation: fadeInDown 0.6s ease-out 0.1s both;
}
.eyebrow-num {
    display: inline-block;
    padding: 6px 14px;
    background: var(--gold-soft);
    color: var(--gold-deep);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.eyebrow-label { display: none; }
.title-body h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.15;
}
.title-body h1 em {
    font-style: italic;
    font-weight: 700;
    color: var(--gold-deep);
}
.title-body .deck {
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-soft);
    max-width: 520px;
    margin: 0 auto;
    font-weight: 400;
    font-style: normal;
}

/* ========== THESIS (intro block) ========== */
.thesis {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 28px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--gold);
    animation: fadeIn 0.7s ease-out 0.2s both;
}
.thesis .side {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 10px;
}
.thesis p {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 12px;
}
.thesis p:last-child { margin-bottom: 0; }
.thesis p strong { font-weight: 700; color: var(--navy); }

/* ========== PROGRESS BAR ========== */
.progress-wrap {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: fadeIn 0.7s ease-out 0.3s both;
}
.progress-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold-deep);
    text-transform: uppercase;
    white-space: nowrap;
}
.progress-track {
    flex: 1;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}
.progress-fill {
    position: absolute;
    inset: 0 auto 0 0;
    background: linear-gradient(90deg, var(--gold), #e0c06a);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.progress-meta {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-soft);
    white-space: nowrap;
}

/* ========== QUESTION/STEP CONTAINER ========== */
.question-container { margin-bottom: 24px; }
.step, .question-card {
    background: var(--white);
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: var(--shadow-md);
    animation: slideIn 0.5s ease-out;
    transition: box-shadow 0.3s ease;
}
.step:hover, .question-card:hover { box-shadow: var(--shadow-lg); }

.step-number, .question-number {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold-deep);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.step-text, .question-text {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.step-helper {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--text-soft);
    margin-bottom: 28px;
    font-style: normal;
}

/* ========== INPUTS ========== */
.input-wrap {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.input-wrap label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--navy);
    text-transform: none;
}
.input-wrap input, .input-wrap textarea, .input-wrap select {
    width: 100%;
    background: #fafbfc;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    padding: 14px 16px;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.input-wrap input:focus, .input-wrap textarea:focus, .input-wrap select:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.1);
}
.input-wrap input::placeholder, .input-wrap textarea::placeholder { color: var(--text-mute); font-weight: 400; }
.input-wrap input::-webkit-outer-spin-button,
.input-wrap input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input-wrap input[type=number] { -moz-appearance: textfield; }

/* ========== CHOICES / OPTIONS ========== */
.choices, .options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    margin-top: 6px;
}
.choice, .option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #fafbfc;
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 500;
    color: var(--text);
    text-align: left;
    line-height: 1.4;
    width: 100%;
}
.choice:hover, .option:hover {
    border-color: var(--gold);
    background: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}
.choice.selected, .option.selected {
    background: linear-gradient(135deg, var(--gold-soft), #fff);
    border-color: var(--gold);
    color: var(--navy);
    box-shadow: var(--shadow-gold);
}
.option .option-text { font-size: 15px; font-weight: 600; }
.option .option-marker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-mute);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.option.selected .option-text { color: var(--navy); }
.option.selected .option-marker { color: var(--gold-deep); border-color: var(--gold); background: var(--gold-soft); }

/* ========== SLIDERS ========== */
.slider-wrap { margin-bottom: 22px; }
.slider-wrap .slider-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
    letter-spacing: 0.2px;
    text-transform: none;
}
.slider-wrap .slider-label .value {
    font-weight: 700;
    font-size: 18px;
    color: var(--gold-deep);
    letter-spacing: -0.2px;
}
.slider-wrap input[type=range] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    height: 32px;
}
.slider-wrap input[type=range]::-webkit-slider-runnable-track {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
}
.slider-wrap input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px; height: 22px;
    background: var(--gold);
    border-radius: 50%;
    margin-top: -9px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.4);
    transition: transform 0.15s ease;
}
.slider-wrap input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.1); }
.slider-wrap input[type=range]::-moz-range-track { height: 4px; background: var(--border); border-radius: 2px; }
.slider-wrap input[type=range]::-moz-range-thumb {
    width: 22px; height: 22px;
    background: var(--gold);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.4);
}

/* ========== NAV BUTTONS ========== */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-soft);
}
.nav-btn {
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 14px 26px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: none;
}
.nav-btn.back {
    color: var(--text-soft);
    background: transparent;
    border: 2px solid var(--border);
}
.nav-btn.back:hover:not(:disabled) {
    color: var(--navy);
    border-color: var(--navy);
    background: var(--white);
}
.nav-btn.next {
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    color: var(--white);
    margin-left: auto;
    box-shadow: 0 4px 14px rgba(26, 42, 58, 0.2);
}
.nav-btn.next:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 42, 58, 0.3);
}
.nav-btn.next:active:not(:disabled) { transform: translateY(0); }
.nav-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ========== CAPTURE FORM ========== */
.data-capture-form { display: none; animation: slideIn 0.5s ease-out; }
.data-capture-form.active { display: block; }

.form-card {
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    color: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.form-card::before {
    content: '';
    position: absolute;
    top: 0; left: 28px; right: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), #e0c06a);
    border-radius: 0 0 3px 3px;
}
.form-card .form-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.form-card h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.4px;
}
.form-card h3 em { color: var(--gold); font-style: italic; font-weight: 700; }
.form-card .form-deck {
    font-size: 14.5px;
    color: rgba(255,255,255,0.72);
    margin-bottom: 28px;
    line-height: 1.55;
    font-style: normal;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 6px;
    text-transform: none;
}
.form-group input {
    width: 100%;
    padding: 13px 14px;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s ease;
}
.form-group input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
}
.form-group input::placeholder { color: rgba(255,255,255,0.4); }

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255,255,255,0.72);
}
.consent-row input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; }

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--gold), #e0c06a);
    color: var(--navy-deep);
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(201, 168, 76, 0.3);
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4); }
.submit-btn:active { transform: translateY(0); }

/* ========== RESULTS ========== */
.results { display: none; animation: scaleIn 0.5s ease-out; }
.results.active { display: block; }

.score-plate, .valuation-card {
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    color: var(--white);
    padding: 40px 32px 36px;
    border-radius: 20px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.score-plate::before, .valuation-card::before {
    content: '';
    position: absolute;
    top: 0; left: 32px; right: 32px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), #e0c06a);
    border-radius: 0 0 3px 3px;
}
.score-eyebrow, .valuation-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.score-display {
    display: flex;
    align-items: baseline;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.score-number {
    font-size: 88px;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -3px;
    color: var(--gold);
    font-family: inherit;
}
.score-band { padding-top: 6px; }
.score-band-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.score-band-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.3px;
}
.score-diagnostic {
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(255,255,255,0.82);
    padding-top: 22px;
    border-top: 1px solid rgba(201, 168, 76, 0.25);
}

.valuation-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
}
.valuation-col { padding-right: 16px; border-right: 1px solid rgba(201, 168, 76, 0.2); }
.valuation-col:nth-child(2) { padding: 0 16px; }
.valuation-col:last-child { padding: 0 0 0 16px; border-right: none; text-align: right; }
.valuation-col .name {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.valuation-col .figure {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -1px;
    line-height: 1;
}
.valuation-col.accent .name { color: var(--gold); }
.valuation-col.accent .figure { color: var(--gold); }

.section-scores {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--white);
    border-radius: 16px;
    padding: 8px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}
.section-score {
    padding: 18px 14px;
    border-right: 1px solid var(--border-soft);
    text-align: center;
}
.section-score:last-child { border-right: none; }
.section-score .name {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--gold-deep);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.section-score .pct {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -1px;
}

/* Checklist / win cards */
.checklist-section, .wins-section { margin-bottom: 36px; }
.checklist-section h3, .wins-section h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--navy);
    margin-bottom: 6px;
}
.checklist-section h3 em, .wins-section h3 em { font-style: italic; color: var(--gold-deep); font-weight: 700; }
.checklist-section .intro, .wins-section .intro {
    font-size: 14.5px;
    color: var(--text-soft);
    margin-bottom: 20px;
    line-height: 1.55;
    font-style: normal;
}
#checklistContainer, #winsContainer { counter-reset: items; display: flex; flex-direction: column; gap: 12px; }
.checklist-item, .win-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 22px 22px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    align-items: start;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.checklist-item:hover, .win-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.checklist-item::before, .win-card::before {
    grid-column: 1;
    grid-row: 1 / span 2;
    counter-increment: items;
    content: "0" counter(items);
    font-size: 28px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -1px;
    background: var(--gold-soft);
    border-radius: 12px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.checklist-item .title, .win-card .title {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    grid-column: 2;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}
.checklist-item .action, .win-card .howto {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-soft);
    grid-column: 2;
}
.win-card .top {
    grid-column: 2;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.win-card .impact {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-deep);
    background: var(--gold-soft);
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 28px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--gold-soft);
}
.cta-section p {
    font-size: 16.5px;
    line-height: 1.55;
    color: var(--navy);
    margin-bottom: 22px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.cta-section p strong { font-weight: 700; }
.cta-btn {
    display: inline-block;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    color: var(--white);
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 12px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(26, 42, 58, 0.2);
}
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 42, 58, 0.3);
}
.cta-btn:active { transform: translateY(0); }

/* ========== RETAKE / CLOSING ========== */
.retake-btn {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-soft);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 12px 24px;
    cursor: pointer;
    margin: 16px auto 0;
    display: block;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.retake-btn:hover { color: var(--navy); border-color: var(--navy); background: var(--white); }

.closing-note {
    margin-top: 32px;
    padding: 24px 28px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}
.closing-note p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-soft);
    margin: 0 0 10px;
    text-align: center;
    font-style: normal;
}
.closing-note .small {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-mute);
    text-transform: uppercase;
    text-align: center;
}

/* ========== FOOTER ========== */
.footer {
    margin-top: 32px;
    padding: 24px 0 0;
    text-align: center;
}
.footer .mark {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 4px;
}
.footer .tag {
    font-size: 11px;
    color: var(--gold);
    font-style: italic;
    margin-bottom: 10px;
}
.footer .stats {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-mute);
    text-transform: uppercase;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.97); }
    to   { opacity: 1; transform: scale(1); }
}

/* ========== MOBILE ========== */
@media (max-width: 680px) {
    body { padding: 24px 16px 40px; }
    .page { max-width: 100%; }
    .title-body h1 { font-size: 26px; }
    .title-body .deck { font-size: 15px; }
    .thesis { padding: 22px 22px; }
    .thesis p { font-size: 14.5px; }
    .step, .question-card { padding: 28px 22px; }
    .step-text, .question-text { font-size: 19px; }
    .step-helper { font-size: 14px; }
    .input-wrap input, .input-wrap textarea, .input-wrap select { font-size: 15px; padding: 13px 14px; }
    .progress-wrap { gap: 10px; }
    .progress-label { display: none; }
    .form-card { padding: 32px 22px; }
    .form-card h3 { font-size: 22px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .score-plate, .valuation-card { padding: 32px 22px 28px; }
    .score-display { gap: 14px; }
    .score-number { font-size: 64px; letter-spacing: -2px; }
    .score-band-name { font-size: 18px; }
    .valuation-row { grid-template-columns: 1fr; gap: 18px; }
    .valuation-col { padding: 0 0 16px !important; border-right: none !important; border-bottom: 1px solid rgba(201, 168, 76, 0.2); text-align: left !important; }
    .valuation-col:last-child { border-bottom: none; padding-bottom: 0 !important; }
    .valuation-col .figure { font-size: 28px; }
    .section-scores { grid-template-columns: repeat(2, 1fr); padding: 6px; }
    .section-score { border-right: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
    .section-score:nth-child(2n) { border-right: none; }
    .section-score:nth-last-child(-n+2) { border-bottom: none; }
    .section-score .pct { font-size: 24px; }
    .checklist-section h3, .wins-section h3 { font-size: 19px; }
    .checklist-item, .win-card { padding: 18px; }
    .checklist-item::before, .win-card::before { font-size: 22px; height: 44px; grid-row: 1; }
    .checklist-item .title, .win-card .title, .checklist-item .action, .win-card .howto { grid-column: 2; }
    .win-card .top { flex-direction: column; gap: 4px; align-items: flex-start; }
    .cta-section { padding: 24px 20px; }
    .cta-btn { padding: 14px 28px; font-size: 13px; }
}
