:root {
    --shotune-navy: #102A43;
    --shotune-deep-navy: #163A5F;
    --shotune-white: #FFFFFF;
    --shotune-ivory: #F7F5EF;
    --shotune-gold: #A8843D;
    --shotune-ink: #17202A;
    --shotune-slate: #5C6F7D;
    --shotune-mist: #EEF3F7;
    --shotune-border: #D9E1E8;
    --shotune-clear: #2D6A57;
    --shotune-hidden: #9A6A18;
    --shotune-material: #A04E2B;
    --shotune-critical: #8A2633;
}

.shotune-result-experience {
    max-width: 1180px;
    margin: 48px auto 72px;
    padding: 0 22px;
    color: var(--shotune-ink);
    font-family: Inter, Arial, sans-serif;
}

.shotune-result-report {
    overflow: hidden;
    background: var(--shotune-white);
    border: 1px solid var(--shotune-border);
    border-top: 8px solid var(--shotune-navy);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(16, 42, 67, 0.08);
}

.shotune-result-report--clear { border-top-color: var(--shotune-clear); }
.shotune-result-report--hidden { border-top-color: var(--shotune-hidden); }
.shotune-result-report--material { border-top-color: var(--shotune-material); }
.shotune-result-report--critical { border-top-color: var(--shotune-critical); }

.shotune-result-header,
.shotune-result-summary,
.shotune-result-primary,
.shotune-result-section,
.shotune-result-next-step,
.shotune-result-disclaimer {
    padding-left: clamp(24px, 5vw, 64px);
    padding-right: clamp(24px, 5vw, 64px);
}

.shotune-result-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: end;
    padding-top: clamp(34px, 6vw, 72px);
    padding-bottom: 34px;
}

.shotune-result-eyebrow,
.shotune-result-section-label {
    margin: 0 0 10px;
    color: var(--shotune-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.shotune-result-header h2,
.shotune-result-section h3,
.shotune-result-primary h3,
.shotune-result-next-step h3 {
    color: var(--shotune-navy);
    font-family: "Source Serif 4", Georgia, serif;
}

.shotune-result-header h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.02em;
}

.shotune-result-intro {
    max-width: 700px;
    margin: 18px 0 0;
    color: var(--shotune-slate);
    font-size: 18px;
    line-height: 1.6;
}

.shotune-result-meta {
    display: grid;
    gap: 7px;
    color: var(--shotune-slate);
    font-size: 13px;
    text-align: right;
}

.shotune-result-summary {
    display: grid;
    grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
    gap: clamp(28px, 6vw, 78px);
    align-items: center;
    padding-top: 42px;
    padding-bottom: 42px;
    background: var(--shotune-ivory);
    border-top: 1px solid var(--shotune-border);
    border-bottom: 1px solid var(--shotune-border);
}

.shotune-result-score {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.shotune-result-score__number {
    color: var(--shotune-navy);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(72px, 10vw, 118px);
    font-weight: 600;
    line-height: 0.82;
}

.shotune-result-score__maximum {
    color: var(--shotune-slate);
    font-size: 15px;
}

.shotune-result-band__label {
    display: block;
    margin-bottom: 6px;
    color: var(--shotune-slate);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shotune-result-band strong {
    color: var(--shotune-navy);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
}

.shotune-result-band p {
    max-width: 760px;
    margin: 14px 0 0;
    font-size: 17px;
    line-height: 1.65;
}

.shotune-result-primary {
    padding-top: 42px;
    padding-bottom: 42px;
    background: var(--shotune-navy);
    color: var(--shotune-white);
}

.shotune-result-primary .shotune-result-section-label { color: #E1C987; }
.shotune-result-primary h3 {
    margin: 0;
    color: var(--shotune-white);
    font-size: clamp(29px, 4vw, 44px);
}

.shotune-result-primary p:last-child {
    max-width: 900px;
    margin: 14px 0 0;
    color: #DCE6EF;
    line-height: 1.65;
}

.shotune-result-section {
    padding-top: 54px;
    padding-bottom: 54px;
}

.shotune-result-section + .shotune-result-section {
    border-top: 1px solid var(--shotune-border);
}

.shotune-result-section-heading {
    max-width: 780px;
    margin-bottom: 30px;
}

.shotune-result-section h3 {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
}

.shotune-result-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.shotune-result-category {
    padding: 24px;
    background: var(--shotune-white);
    border: 1px solid var(--shotune-border);
    border-radius: 6px;
}

.shotune-result-category__topline {
    display: flex;
    gap: 18px;
    justify-content: space-between;
    align-items: baseline;
}

.shotune-result-category h4 {
    margin: 0;
    color: var(--shotune-navy);
    font-size: 17px;
}

.shotune-result-category__topline strong {
    color: var(--shotune-navy);
    white-space: nowrap;
}

.shotune-result-meter {
    height: 8px;
    margin: 16px 0;
    overflow: hidden;
    background: var(--shotune-mist);
    border-radius: 999px;
}

.shotune-result-meter span {
    display: block;
    height: 100%;
    background: var(--shotune-gold);
    border-radius: inherit;
}

.shotune-result-category p {
    margin: 0;
    color: var(--shotune-slate);
    font-size: 14px;
    line-height: 1.55;
}

.shotune-result-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--shotune-border);
}

.shotune-result-two-column .shotune-result-section + .shotune-result-section {
    border-top: 0;
    border-left: 1px solid var(--shotune-border);
}

.shotune-result-list {
    display: grid;
    gap: 16px;
    margin: 25px 0 0;
    padding-left: 24px;
}

.shotune-result-list li {
    padding-left: 8px;
    line-height: 1.6;
}

.shotune-result-list li::marker {
    color: var(--shotune-gold);
    font-weight: 700;
}

.shotune-result-next-step {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 50px;
    background: var(--shotune-mist);
    border-top: 1px solid var(--shotune-border);
}

.shotune-result-next-step h3 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
}

.shotune-result-next-step p:last-child {
    max-width: 760px;
    margin: 14px 0 0;
    color: var(--shotune-slate);
    line-height: 1.6;
}

.shotune-result-disclaimer {
    padding-top: 22px;
    padding-bottom: 22px;
    color: var(--shotune-slate);
    font-size: 13px;
    line-height: 1.55;
    border-top: 1px solid var(--shotune-border);
}

.shotune-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.shotune-result-button,
.shotune-result-actions .gravitypdf-download-link {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid var(--shotune-navy);
    border-radius: 5px;
    font: 700 15px/1.2 Inter, Arial, sans-serif;
    text-decoration: none;
    cursor: pointer;
}

.shotune-result-button--primary {
    color: var(--shotune-white) !important;
    background: var(--shotune-navy);
}

.shotune-result-button--primary:hover,
.shotune-result-button--primary:focus {
    color: var(--shotune-white) !important;
    background: var(--shotune-deep-navy);
}

.shotune-result-button--secondary,
.shotune-result-actions .gravitypdf-download-link {
    color: var(--shotune-navy) !important;
    background: var(--shotune-white);
}

.shotune-result-button--secondary:hover,
.shotune-result-button--secondary:focus,
.shotune-result-actions .gravitypdf-download-link:hover,
.shotune-result-actions .gravitypdf-download-link:focus {
    background: var(--shotune-ivory);
}

.shotune-result-button:focus-visible,
.shotune-result-actions .gravitypdf-download-link:focus-visible {
    outline: 3px solid var(--shotune-gold);
    outline-offset: 3px;
}

@media (max-width: 820px) {
    .shotune-result-header,
    .shotune-result-summary,
    .shotune-result-next-step,
    .shotune-result-two-column,
    .shotune-result-categories {
        grid-template-columns: 1fr;
    }

    .shotune-result-meta { text-align: left; }
    .shotune-result-two-column .shotune-result-section + .shotune-result-section {
        border-left: 0;
        border-top: 1px solid var(--shotune-border);
    }
    .shotune-result-next-step .shotune-result-button { width: 100%; }
}

@media print {
    body.shotune-printing-result * {
        visibility: hidden !important;
    }

    body.shotune-printing-result #shotune-result-report,
    body.shotune-printing-result #shotune-result-report * {
        visibility: visible !important;
    }

    body.shotune-printing-result #shotune-result-report {
        position: absolute !important;
        inset: 0 auto auto 0 !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        border: 0 !important;
        border-top: 6px solid #102A43 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #FFFFFF !important;
    }

    body.shotune-printing-result .shotune-result-experience {
        margin: 0 !important;
        padding: 0 !important;
        max-width: none !important;
    }

    body.shotune-printing-result .shotune-no-print,
    body.shotune-printing-result .shotune-result-next-step .shotune-result-button {
        display: none !important;
    }

    body.shotune-printing-result .shotune-result-header,
    body.shotune-printing-result .shotune-result-summary,
    body.shotune-printing-result .shotune-result-primary,
    body.shotune-printing-result .shotune-result-section,
    body.shotune-printing-result .shotune-result-next-step,
    body.shotune-printing-result .shotune-result-disclaimer {
        break-inside: avoid;
        padding-left: 0.35in !important;
        padding-right: 0.35in !important;
    }

    body.shotune-printing-result .shotune-result-category,
    body.shotune-printing-result .shotune-result-two-column,
    body.shotune-printing-result .shotune-result-section {
        break-inside: avoid;
    }

    @page {
        size: letter;
        margin: 0.35in;
    }
}
