:root {
    --atamai-primary: #473728;
    --atamai-accent: #2F6F68;
    --atamai-bg: #F7F3ED;
    --atamai-text: #241A13;
    --atamai-secondary: #D9C7B2;
    --atamai-card: #FFFFFF;
    --koa: var(--atamai-primary);
    --koa-dark: var(--atamai-text);
    --sand: var(--atamai-bg);
    --coconut: var(--atamai-card);
    --charcoal: var(--atamai-text);
    --muted: #6f6258;
    --teal: var(--atamai-accent);
    --teal-dark: #255a54;
    --gold: var(--atamai-secondary);
    --gold-dark: #b8a187;
    --line: var(--atamai-secondary);
    --soft-line: rgba(71, 55, 40, 0.12);
    --shadow: 0 24px 70px rgba(71, 55, 40, 0.13);
    --shadow-hover: 0 30px 90px rgba(71, 55, 40, 0.2);
    --radius: 18px;
    --radius-small: 10px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 200;
    padding: 8px 16px;
    background: var(--teal);
    color: #fff;
    border-radius: var(--radius-small);
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--charcoal);
    background:
        radial-gradient(circle at 12% 8%, rgba(217, 199, 178, 0.18), transparent 28rem),
        radial-gradient(circle at 86% 18%, rgba(47, 111, 104, 0.12), transparent 24rem),
        var(--sand);
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.34;
    background-image:
        linear-gradient(135deg, transparent 0 48%, rgba(71, 55, 40, 0.06) 49%, transparent 50%),
        radial-gradient(ellipse at center, transparent 0 64%, rgba(47, 111, 104, 0.06) 65%, transparent 68%);
    background-size: 42px 42px, 180px 46px;
    pointer-events: none;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    padding: 0 6vw;
    color: var(--koa);
    background: rgba(247, 243, 237, 0.78);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px);
    transition: background-color 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.scrolled,
.site-header:focus-within {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(71, 55, 40, 0.1);
    box-shadow: 0 12px 34px rgba(71, 55, 40, 0.1);
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--koa);
    font-weight: 800;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--coconut);
    background: linear-gradient(135deg, var(--koa), var(--teal));
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(71, 55, 40, 0.24);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.94rem;
    font-weight: 700;
}

.site-nav a {
    position: relative;
    color: rgba(36, 26, 19, 0.76);
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--koa);
}

.site-nav a:hover::after,
.site-nav a.active::after {
    transform: scaleX(1);
}

.site-nav .nav-cta {
    min-height: 42px;
    padding: 10px 16px;
    color: var(--coconut);
    background: var(--teal);
    border-radius: var(--radius-small);
    box-shadow: 0 12px 28px rgba(47, 111, 104, 0.22);
}

.site-nav .nav-cta:hover {
    color: var(--coconut);
    background: var(--teal-dark);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--coconut);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--koa);
    transition: transform 180ms ease, opacity 180ms ease;
}

.hero,
.page-hero,
.section {
    width: min(1160px, 88vw);
    margin: 0 auto;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.82fr);
    gap: clamp(34px, 6vw, 78px);
    align-items: center;
    min-height: calc(100vh - 78px);
    padding: 84px 0 96px;
}

.hero::after,
.assessment-feature::before,
.demo-section::before {
    content: "";
    position: absolute;
    pointer-events: none;
    opacity: 0.42;
    background:
        radial-gradient(circle, rgba(47, 111, 104, 0.18) 0 2px, transparent 3px),
        linear-gradient(115deg, transparent 0 45%, rgba(217, 199, 178, 0.28) 46%, transparent 48%);
    background-size: 36px 36px, 100% 100%;
}

.hero::after {
    right: -7vw;
    bottom: 4vw;
    width: 260px;
    height: 160px;
    border-radius: 50%;
}

.hero h1,
.page-hero h1 {
    margin: 0;
    max-width: 880px;
    color: var(--koa-dark);
    font-size: clamp(3rem, 7vw, 6.35rem);
    line-height: 0.94;
    letter-spacing: 0;
}

.hero-copy,
.page-hero p,
.section-heading p,
.split p {
    max-width: 700px;
    color: var(--muted);
    font-size: 1.08rem;
}

.hero-copy,
.page-hero p {
    margin: 24px 0 0;
    font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-actions.centered {
    justify-content: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 21px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    color: var(--coconut);
    background: var(--teal);
    box-shadow: 0 16px 34px rgba(47, 111, 104, 0.24);
}

.button.primary:hover {
    background: var(--teal-dark);
    box-shadow: 0 20px 44px rgba(47, 111, 104, 0.32);
}

.button.secondary {
    color: var(--koa);
    background: rgba(255, 255, 255, 0.84);
    border-color: var(--line);
}

.button.secondary:hover {
    border-color: rgba(47, 111, 104, 0.32);
    box-shadow: 0 16px 34px rgba(71, 55, 40, 0.12);
}

.button.gold {
    color: var(--koa-dark);
    background: var(--gold);
    box-shadow: 0 16px 34px rgba(217, 199, 178, 0.26);
}

.button.gold:hover {
    background: var(--gold-dark);
    box-shadow: 0 20px 44px rgba(217, 199, 178, 0.32);
}

.assessment-report-page {
    padding: clamp(34px, 5vw, 72px) 18px;
    color: var(--koa-dark);
    background:
        radial-gradient(circle at 12% 4%, rgba(217, 199, 178, 0.34), transparent 28%),
        var(--sand);
}

.report-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    width: min(100%, 1040px);
    margin: 0 auto 18px;
}

.report-document {
    width: min(100%, 1040px);
    margin: 0 auto;
    padding: clamp(28px, 5vw, 60px);
    background: var(--coconut);
    border: 1px solid rgba(217, 199, 178, 0.72);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(36, 26, 19, 0.12);
}

.report-cover {
    display: grid;
    align-content: center;
    min-height: 720px;
    gap: 26px;
    padding: clamp(28px, 6vw, 72px);
    color: var(--coconut);
    background:
        linear-gradient(135deg, rgba(71, 55, 40, 0.97), rgba(36, 26, 19, 0.94)),
        var(--koa);
    border-radius: 14px;
    break-after: page;
    page-break-after: always;
}

.report-cover.compact {
    min-height: 420px;
    color: var(--koa-dark);
    background: var(--coconut);
    border: 1px solid var(--line);
}

.report-kicker {
    margin: 0;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.report-cover h1 {
    max-width: 760px;
    margin: 0;
    color: inherit;
    font-size: clamp(2.6rem, 7vw, 5rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.report-cover-rule {
    width: 112px;
    height: 4px;
    background: var(--teal);
    border-radius: 999px;
}

.report-cover dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 760px;
    margin: 18px 0 0;
}

.report-cover dl div {
    padding-top: 14px;
    border-top: 1px solid rgba(247, 243, 237, 0.24);
}

.report-cover dt {
    color: rgba(247, 243, 237, 0.72);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.report-cover dd {
    margin: 5px 0 0;
    color: var(--coconut);
    font-size: 1.08rem;
    font-weight: 750;
}

.report-toc {
    padding: 36px 0 44px;
    border-bottom: 1px solid var(--line);
    break-after: page;
    page-break-after: always;
}

.report-toc h2,
.report-section-title h2 {
    margin: 0;
    color: var(--koa);
}

.report-toc ol {
    columns: 2;
    column-gap: 48px;
    margin: 22px 0 0;
    padding-left: 24px;
}

.report-toc li {
    break-inside: avoid;
    margin-bottom: 10px;
    color: var(--koa-dark);
    font-weight: 650;
}

.report-section {
    padding: 44px 0;
    border-bottom: 1px solid var(--line);
    break-before: page;
    page-break-before: always;
}

.report-section:last-child {
    border-bottom: 0;
}

.report-section-title {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 28px;
}

.report-section-title span {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--coconut);
    background: var(--teal);
    border-radius: 12px;
    font-weight: 900;
}

.report-section-title h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.02;
}

.report-section-title p {
    grid-column: 2;
    max-width: 760px;
    margin: -8px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.report-callout,
.report-copy-block,
.report-finding,
.report-solution,
.report-path-step,
.report-metric,
.report-quadrant-block {
    border: 1px solid rgba(217, 199, 178, 0.72);
    border-radius: 12px;
    background: rgba(247, 243, 237, 0.56);
}

.report-callout,
.report-copy-block {
    padding: 18px;
}

.report-callout.soft {
    background: rgba(255, 255, 255, 0.72);
}

.report-callout.appointment {
    background: rgba(47, 111, 104, 0.08);
    border-color: rgba(47, 111, 104, 0.22);
}

.report-callout h3,
.report-callout h4,
.report-copy-block h4,
.report-finding h3,
.report-finding h5,
.report-solution h3,
.report-path-step h3,
.report-quadrant-block h4 {
    margin: 0 0 10px;
    color: var(--koa);
}

.report-callout p,
.report-copy-block p,
.report-finding p,
.report-solution p,
.report-path-step p,
.report-quadrant-block p {
    margin: 0;
    color: var(--koa-dark);
    line-height: 1.7;
}

.report-two-column,
.report-metric-grid,
.report-matrix-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 0;
}

.report-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.report-metric {
    padding: 16px;
    background: var(--coconut);
}

.report-metric span {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.report-metric strong {
    display: block;
    margin-top: 8px;
    color: var(--koa);
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    line-height: 1.15;
}

.report-metric small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
}

.report-table {
    width: 100%;
    margin: 18px 0;
    overflow: hidden;
    background: var(--coconut);
    border: 1px solid var(--line);
    border-radius: 12px;
    border-collapse: separate;
    border-spacing: 0;
}

.report-table th,
.report-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.report-table th {
    width: 28%;
    color: var(--koa);
    background: rgba(217, 199, 178, 0.18);
    font-weight: 850;
}

.report-table tr:last-child th,
.report-table tr:last-child td {
    border-bottom: 0;
}

.report-table.compact th,
.report-table.compact td {
    padding: 9px 12px;
}

.report-list {
    display: grid;
    gap: 9px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.report-list li {
    position: relative;
    padding-left: 20px;
    color: var(--koa-dark);
    line-height: 1.6;
}

.report-list li::before {
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 7px;
    height: 7px;
    content: "";
    background: var(--teal);
    border-radius: 50%;
}

.report-list li strong,
.report-list li span {
    display: block;
}

.report-list li strong {
    color: var(--koa);
}

.report-list li span {
    color: var(--muted);
}

.report-score-summary {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: rgba(47, 111, 104, 0.08);
    border: 1px solid rgba(47, 111, 104, 0.22);
    border-radius: 16px;
}

.report-score-summary > strong {
    display: grid;
    place-items: center;
    width: 128px;
    height: 128px;
    color: var(--teal);
    background: var(--coconut);
    border: 10px solid rgba(47, 111, 104, 0.22);
    border-radius: 50%;
    font-size: 2.4rem;
    line-height: 1;
}

.report-score-summary small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
}

.report-findings-list,
.report-path {
    display: grid;
    gap: 16px;
}

.report-finding,
.report-solution,
.report-path-step {
    padding: 20px;
    break-inside: avoid;
}

.report-finding.compact {
    padding: 14px;
    background: var(--coconut);
}

.report-finding h3,
.report-solution h3,
.report-path-step h3 {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
}

.report-finding h3 span,
.report-solution h3 span,
.report-path-step h3 span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--coconut);
    background: var(--koa);
    border-radius: 10px;
    font-size: 0.9rem;
}

.report-solution {
    margin-bottom: 24px;
}

.report-subtitle {
    margin: -4px 0 14px;
    color: var(--muted);
    font-style: italic;
}

.report-quadrant-block {
    padding: 18px;
    background: var(--coconut);
    break-inside: avoid;
}

.report-disclaimer {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    font-style: italic;
    line-height: 1.6;
}

.report-debug {
    width: min(100%, 1040px);
    margin: 0 auto 18px;
    padding: 14px 16px;
    background: var(--coconut);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.report-debug span {
    display: block;
    margin-top: 4px;
}

/* Document report polish: intentionally more like printed pages than dashboard cards. */
.assessment-report-page {
    background: #e9dfd2;
}

.report-document {
    width: min(100%, 980px);
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.report-page {
    position: relative;
    min-height: 1040px;
    margin: 0 auto 34px;
    padding: 58px 64px 76px;
    background: var(--coconut);
    border: 1px solid rgba(217, 199, 178, 0.72);
    box-shadow: 0 14px 36px rgba(36, 26, 19, 0.08);
}

.report-cover,
.report-front-matter-page,
.report-toc,
.report-section {
    break-after: page;
    page-break-after: always;
}

.report-cover {
    align-content: center;
    color: var(--koa-dark);
    background:
        linear-gradient(90deg, rgba(47, 111, 104, 0.08), transparent 34%),
        var(--coconut);
    border-radius: 0;
}

.report-cover::before,
.report-front-matter-page::before,
.report-toc::before,
.report-section::before {
    display: block;
    width: 92px;
    height: 3px;
    margin-bottom: 30px;
    content: "";
    background: var(--teal);
}

.report-cover h1 {
    max-width: 700px;
    color: var(--koa);
    font-size: clamp(2.7rem, 6vw, 4.6rem);
}

.report-cover dl {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.report-logo {
    max-width: 190px;
    max-height: 70px;
    margin-bottom: 22px;
}

.report-cover dl div {
    border-top: 0;
}

.report-cover dt {
    color: var(--muted);
}

.report-cover dd {
    color: var(--koa-dark);
}

.report-front-matter-page h2,
.report-toc h2 {
    margin: 0 0 22px;
    color: var(--koa);
    font-size: clamp(2rem, 4vw, 3rem);
}

.report-toc {
    padding: 52px 64px 64px;
    border-bottom: 1px solid rgba(217, 199, 178, 0.72);
}

.report-toc > p {
    max-width: 680px;
    margin: 0 0 26px;
    color: var(--koa-dark);
    font-size: 1.02rem;
    line-height: 1.72;
}

.report-toc ol {
    columns: 1;
    max-width: 700px;
    margin-top: 22px;
    padding: 0;
    list-style: none;
}

.report-toc li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
    padding: 11px 0;
    border-bottom: 1px solid rgba(217, 199, 178, 0.58);
    font-size: 1.02rem;
}

.report-toc li::after {
    display: none;
}

.report-toc li span {
    display: flex;
    gap: 12px;
    align-items: end;
    color: var(--koa-dark);
}

.report-toc li span::after {
    flex: 1;
    content: "";
    border-bottom: 1px dotted rgba(71, 55, 40, 0.34);
    transform: translateY(-0.32em);
}

.report-toc li b {
    color: var(--teal);
    font-weight: 850;
}

.report-section {
    border-bottom: 1px solid rgba(217, 199, 178, 0.72);
}

.report-section-title {
    display: block;
    margin-bottom: 28px;
    padding-bottom: 0;
    border-bottom: 0;
}

.report-section-title span {
    display: block;
    width: auto;
    height: auto;
    margin-bottom: 10px;
    color: var(--teal);
    background: transparent;
    border-radius: 0;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.report-section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.report-section-title p {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--muted);
}

.report-executive-score {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 18px;
    align-items: center;
    margin: 18px 0 22px;
    padding: 16px 0 16px 20px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 4px solid var(--teal);
}

.report-executive-score > span {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.report-executive-score strong {
    color: var(--koa);
    font-size: clamp(2.8rem, 6vw, 4.4rem);
    line-height: 0.9;
}

.report-executive-score small {
    margin-left: 6px;
    color: var(--muted);
    font-size: 1rem;
}

.report-executive-score p {
    margin: 0;
    color: var(--koa-dark);
    line-height: 1.6;
}

.report-callout,
.report-copy-block,
.report-finding,
.report-solution,
.report-path-step,
.report-metric,
.report-quadrant-block,
.report-score-summary {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.report-callout,
.report-copy-block {
    padding: 0;
}

.report-callout {
    padding-left: 18px;
    border-left: 3px solid var(--teal);
}

.report-callout.soft {
    padding-top: 12px;
    background: transparent;
    border-top: 1px solid var(--line);
    border-left: 0;
}

.report-note,
.report-callout.appointment {
    margin-top: 18px;
    padding: 18px 20px;
    background: rgba(247, 243, 237, 0.62);
    border: 1px solid var(--line);
    border-radius: 0;
}

.report-note h3 {
    margin: 0 0 8px;
    color: var(--koa);
}

.report-note p {
    margin: 0;
    line-height: 1.7;
}

.report-two-column,
.report-metric-grid,
.report-matrix-summary {
    gap: 22px 28px;
}

.report-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.report-metric {
    padding: 16px 0;
    border-bottom: 1px solid rgba(217, 199, 178, 0.58);
}

.report-metric:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.report-metric-grid .report-metric {
    align-content: start;
    min-height: 0;
}

.report-table {
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
}

.report-table thead tr {
    border-bottom: 2px solid rgba(71, 55, 40, 0.22);
}

.report-table thead th {
    border-bottom: 2px solid rgba(71, 55, 40, 0.22);
}

.report-table th,
.report-table td {
    padding: 11px 0;
    background: transparent;
}

.report-table th {
    padding-right: 18px;
    color: var(--koa);
    background: transparent;
}

.report-score-summary {
    grid-template-columns: 120px 1fr;
    padding: 14px 0 20px 18px;
    border-bottom: 1px solid var(--line);
    border-left: 4px solid var(--teal);
}

.report-score-summary > strong {
    display: block;
    width: auto;
    height: auto;
    color: var(--koa);
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: clamp(2.8rem, 6vw, 4rem);
    text-align: left;
}

.report-score-summary > strong small {
    display: inline;
    margin-left: 5px;
    font-size: 1rem;
}

.report-snapshot-lists {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.report-snapshot-lists section {
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.report-snapshot-lists h3 {
    margin: 0 0 8px;
    color: var(--koa);
}

.report-quadrant-tags {
    display: inline-block;
    margin: -4px 0 10px;
    color: var(--teal);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.report-finding.compact h5 {
    display: grid;
    grid-template-columns: 9px 1fr;
    gap: 10px;
    align-items: start;
}

.report-finding.compact h5 span {
    width: 7px;
    height: 7px;
    margin-top: 0.56em;
    background: var(--teal);
    border-radius: 50%;
}

.report-finding,
.report-solution,
.report-path-step {
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.report-finding h3,
.report-solution h3,
.report-path-step h3 {
    grid-template-columns: 36px 1fr;
}

.report-finding h3 span,
.report-solution h3 span,
.report-path-step h3 span {
    width: 28px;
    height: 28px;
    color: var(--teal);
    background: transparent;
    border: 1px solid var(--teal);
    border-radius: 50%;
}

.report-quadrant-block {
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.report-page-footer {
    position: absolute;
    right: 64px;
    bottom: 28px;
    left: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.report-executive-score {
    grid-template-columns: 168px 1fr;
    gap: 22px;
    margin: 14px 0 16px;
    padding: 14px 0 14px 20px;
}

.report-executive-score strong {
    font-size: clamp(3.1rem, 6vw, 4.6rem);
    letter-spacing: -0.01em;
}

.report-executive-score small {
    font-size: 1em;
}

.report-executive-score p {
    color: var(--teal);
    font-size: clamp(1.15rem, 2.1vw, 1.55rem);
    font-weight: 850;
    line-height: 1.35;
}

.report-score-summary {
    grid-template-columns: 150px 1fr;
    gap: 16px;
    align-items: center;
    margin: 0 0 12px;
    padding: 8px 0 10px 16px;
}

.report-score-summary > strong {
    font-size: clamp(2.85rem, 5.2vw, 4rem);
    line-height: 1;
    white-space: nowrap;
}

.report-score-summary > strong small {
    color: inherit;
    font-size: 1em;
    font-weight: inherit;
    letter-spacing: inherit;
}

.report-score-kicker {
    display: block;
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.report-score-summary h3 {
    margin-bottom: 4px;
    color: var(--teal);
    font-size: clamp(1.25rem, 2vw, 1.62rem);
}

.report-score-note {
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.9rem;
    font-style: italic;
}

.report-score-summary p {
    line-height: 1.55;
}

.report-scorecard-section .report-metric-grid {
    align-items: start;
    gap: 10px 28px;
    margin-top: 8px;
    border-top: 0;
    border-bottom: 0;
}

.report-scorecard-section .report-metric {
    padding-top: 6px;
    padding-bottom: 6px;
    border-bottom: 0;
}

.report-scorecard-section h3 {
    margin-top: 12px;
}

.report-scorecard-section .report-table {
    margin-top: 8px;
}

.report-findings-list .report-finding {
    padding: 14px 0 16px;
}

.report-findings-list .report-finding h3 {
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: start;
    margin-bottom: 6px;
    line-height: 1.28;
}

.report-findings-list .report-list.compact,
.report-findings-list .report-copy-block {
    margin-left: 48px;
}

.report-findings-list .report-list.compact {
    gap: 5px;
    margin-top: 4px;
    margin-bottom: 6px;
}

.report-findings-list .report-copy-block {
    padding-top: 7px;
    border-top: 1px solid rgba(217, 199, 178, 0.42);
}

.report-findings-list .report-copy-block h4 {
    margin-bottom: 3px;
    color: var(--teal);
    font-size: 0.76rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.report-findings-list .report-copy-block p {
    line-height: 1.58;
}

.report-solutions-section {
    min-height: 1040px;
}

.report-solutions-section .report-section-title {
    margin-bottom: 20px;
}

.report-solution {
    position: relative;
    margin: 0;
    padding: 28px 0 30px;
    border-top: 3px solid rgba(71, 55, 40, 0.22);
}

.report-solution:first-of-type {
    border-top-color: var(--teal);
}

.report-solution + .report-solution {
    margin-top: 12px;
}

.report-solution h3 {
    grid-template-columns: 34px 1fr;
    gap: 14px;
    margin-bottom: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(217, 199, 178, 0.66);
}

.report-solution h3 span {
    margin-top: 1px;
}

.report-subtitle {
    margin: 0 0 14px 48px;
}

.report-solution .report-table.compact {
    margin: 12px 0 16px 48px;
    width: calc(100% - 48px);
}

.report-solution > .report-copy-block,
.report-solution > .report-callout,
.report-solution > .report-two-column {
    margin-left: 48px;
}

.report-solution > .report-copy-block {
    padding: 12px 0;
    border-top: 1px solid rgba(217, 199, 178, 0.5);
}

.report-solution > .report-copy-block h4 {
    margin-bottom: 5px;
    color: var(--teal);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.report-solution .report-two-column {
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(217, 199, 178, 0.58);
    border-bottom: 1px solid rgba(217, 199, 178, 0.58);
}

.report-solution .report-callout.soft {
    margin-top: 10px;
    padding-top: 10px;
}

.report-matrix-summary {
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.report-quadrant-block {
    padding: 18px;
    border-top: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.report-quadrant-block h4 {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(217, 199, 178, 0.68);
}

.report-quadrant-tags {
    display: block;
    margin: 0 0 14px;
    padding-top: 8px;
}

.report-quadrant-block .report-finding.compact {
    padding: 12px 0;
    border-top: 2px solid rgba(217, 199, 178, 0.72);
}

.report-quadrant-block .report-finding.compact:first-of-type {
    border-top-color: rgba(71, 55, 40, 0.22);
}

.report-money-section .report-metric-grid {
    align-items: stretch;
    gap: 8px 28px;
    margin-top: 8px;
}

.report-money-section .report-metric {
    display: grid;
    align-content: center;
    min-height: 76px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.report-money-section .report-metric:nth-child(3),
.report-money-section .report-metric:nth-child(4) {
    padding-top: 2px;
}

.report-money-section .report-metric strong {
    margin-top: 5px;
}

.report-value-breakdown {
    margin: 18px 0 24px;
    border-top: 1px solid var(--line);
}

.report-value-breakdown > h3 {
    margin: 16px 0 8px;
    color: var(--koa);
}

.report-value-breakdown-item {
    padding: 16px 0 18px;
    border-top: 2px solid rgba(217, 199, 178, 0.72);
}

.report-value-breakdown-item h4 {
    margin: 0 0 10px;
    color: var(--koa);
    font-size: 1.05rem;
}

.report-best-first-step {
    margin-bottom: 18px;
    border-top-color: var(--teal);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.hero-proof span,
.status-pill,
.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 5px 11px;
    color: var(--teal-dark);
    background: rgba(47, 111, 104, 0.1);
    border: 1px solid rgba(47, 111, 104, 0.12);
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 850;
}

.hero-visual {
    position: relative;
    min-height: 540px;
}

.dashboard-card,
.preview-window,
.slide-stack,
.metric-card,
.card,
.service-card,
.process-step,
.contact-form,
.contact-card,
.assessment-shell {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(71, 55, 40, 0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.dashboard-card {
    position: relative;
    display: grid;
    gap: 22px;
    padding: clamp(24px, 4vw, 34px);
    overflow: hidden;
    transform: translateY(0);
    animation: floatCard 6s ease-in-out infinite;
}

.dashboard-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(47, 111, 104, 0.14), transparent 18rem),
        linear-gradient(160deg, rgba(217, 199, 178, 0.12), transparent 52%);
    pointer-events: none;
}

.dashboard-card > * {
    position: relative;
}

.dashboard-top,
.assessment-topbar,
.assessment-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.mini-label {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.dashboard-top strong {
    display: block;
    color: var(--koa-dark);
    font-size: 2.4rem;
    line-height: 1;
}

.score-ring {
    display: grid;
    place-items: center;
    width: 148px;
    height: 148px;
    margin: 0 auto;
    color: var(--koa);
    background:
        radial-gradient(circle at center, var(--coconut) 0 55%, transparent 56%),
        conic-gradient(var(--teal) 0 72%, rgba(47, 111, 104, 0.14) 72% 100%);
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(47, 111, 104, 0.08);
}

.score-ring span {
    font-size: 2.2rem;
    font-weight: 900;
}

.workflow-path {
    display: grid;
    grid-template-columns: 1fr 28px 1fr 28px 1fr;
    gap: 8px;
    align-items: center;
}

.workflow-path span,
.mini-grid div,
.preview-list span,
.slide-stack span {
    padding: 12px;
    background: rgba(247, 243, 237, 0.72);
    border: 1px solid rgba(71, 55, 40, 0.08);
    border-radius: 12px;
}

.workflow-path i {
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--teal));
}

.mini-grid {
    display: grid;
    gap: 12px;
}

.mini-grid b,
.mini-grid small {
    display: block;
}

.mini-grid small {
    color: var(--muted);
}

.floating-node {
    position: absolute;
    z-index: 2;
    width: 15px;
    height: 15px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 0 10px rgba(217, 199, 178, 0.12);
    animation: floatNode 5s ease-in-out infinite;
}

.node-one {
    top: 58px;
    right: 12%;
}

.node-two {
    bottom: 76px;
    left: 4%;
    background: var(--teal);
    box-shadow: 0 0 0 10px rgba(47, 111, 104, 0.12);
    animation-delay: 1.2s;
}

.section {
    position: relative;
    padding: 84px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.section-heading.centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section h2,
.page-hero h1 {
    color: var(--koa-dark);
}

.section h2 {
    margin: 0;
    font-size: clamp(2.15rem, 4vw, 3.6rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.section-heading p {
    margin: 18px 0 0;
}

.card-grid,
.process-grid,
.service-card-grid {
    display: grid;
    gap: 18px;
}

.card-grid.three,
.process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.service-card,
.process-step {
    padding: 28px;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.assessment-process-grid .card {
    min-height: 255px;
    padding: 30px;
}

.assessment-process-grid .card p {
    font-size: 0.98rem;
    line-height: 1.55;
}

.card:hover,
.service-card:hover,
.process-step:hover,
.metric-card:hover,
.service-item:hover,
.insight-box:hover {
    transform: translateY(-6px);
    border-color: rgba(47, 111, 104, 0.22);
    box-shadow: var(--shadow-hover);
}

.card h2,
.card h3,
.service-card h3,
.service-item h2,
.contact-card h2,
.process-step h3 {
    margin: 0 0 10px;
    color: var(--koa-dark);
    line-height: 1.15;
}

.card p,
.service-card p,
.service-item p,
.contact-card p,
.process-step p,
.metric-card p {
    color: var(--muted);
}

.card-marker,
.service-card span,
.metric-card span,
.service-item span,
.step,
.process-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    color: var(--koa);
    background: rgba(217, 199, 178, 0.18);
    border: 1px solid rgba(217, 199, 178, 0.22);
    border-radius: 12px;
    font-weight: 900;
}

.problem-section .card:nth-child(even) .card-marker,
.service-card:nth-child(even) span {
    color: var(--teal-dark);
    background: rgba(47, 111, 104, 0.11);
    border-color: rgba(47, 111, 104, 0.16);
}

.assessment-feature,
.demo-section {
    width: 100%;
    max-width: none;
    padding: 96px 6vw;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(247, 243, 237, 0.78));
}

.assessment-feature::before {
    left: -70px;
    bottom: 40px;
    width: 280px;
    height: 160px;
    border-radius: 50%;
}

.assessment-feature .split,
.demo-section .split,
.band .split {
    width: min(1160px, 100%);
    margin: 0 auto;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: clamp(34px, 6vw, 70px);
    align-items: start;
}

.split.align-center {
    align-items: center;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 24px 0 28px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--muted);
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 13px;
    height: 7px;
    border-bottom: 2px solid var(--teal);
    border-left: 2px solid var(--teal);
    transform: rotate(-45deg);
}

.assessment-preview {
    position: relative;
}

.preview-window {
    overflow: hidden;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: var(--koa);
    color: var(--coconut);
}

.preview-header span {
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
}

.preview-header strong {
    margin-left: auto;
    font-size: 0.82rem;
}

.preview-body {
    display: grid;
    gap: 18px;
    padding: 24px;
}

.preview-score {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    color: var(--coconut);
    background: linear-gradient(135deg, var(--teal), var(--koa));
    border-radius: 14px;
}

.preview-score small,
.preview-score b {
    display: block;
}

.preview-score b {
    font-size: 3rem;
    line-height: 0.95;
}

.preview-list {
    display: grid;
    gap: 10px;
}

.service-card-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-card a {
    display: inline-flex;
    margin-top: 6px;
    color: var(--teal);
    font-weight: 850;
    text-decoration: none;
}

.service-card a:hover {
    color: var(--teal-dark);
}

.process-section {
    overflow: hidden;
}

.process-line {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.process-line::before {
    content: "";
    position: absolute;
    top: 52px;
    right: 8%;
    left: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--teal), transparent);
}

.process-step {
    position: relative;
}

.demo-section {
    background: var(--koa);
    color: var(--coconut);
}

.demo-section::before {
    right: -80px;
    top: 70px;
    width: 310px;
    height: 180px;
}

.demo-section h2,
.demo-section p,
.demo-section .eyebrow {
    color: var(--coconut);
}

.demo-section .button.secondary {
    color: var(--koa);
}

.slide-stack {
    display: grid;
    gap: 10px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.slide-stack span {
    color: var(--coconut);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
    transition: transform 180ms ease, background-color 180ms ease;
}

.slide-stack span:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateX(5px);
}

.final-cta {
    width: min(980px, 88vw);
    margin-bottom: 84px;
    padding: clamp(34px, 6vw, 70px);
    text-align: center;
    background:
        linear-gradient(135deg, rgba(71, 55, 40, 0.92), rgba(47, 111, 104, 0.92)),
        var(--koa);
    border-radius: 26px;
    box-shadow: var(--shadow-hover);
}

.final-cta h2,
.final-cta p,
.final-cta .eyebrow {
    color: var(--coconut);
}

.final-cta p {
    max-width: 650px;
    margin: 16px auto 28px;
}

.band {
    width: 100%;
    max-width: none;
    padding: 86px 6vw;
    color: var(--coconut);
    background: var(--koa);
}

.band h2,
.band p,
.band .text-link,
.band .check-list,
.band .check-list li {
    color: var(--coconut);
}

.text-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--teal);
    font-weight: 850;
}

.cta-section {
    text-align: center;
}

.cta-section p {
    max-width: 660px;
    margin: 18px auto 0;
    color: var(--muted);
}

.page-hero {
    padding: 94px 0 34px;
}

.page-hero.compact {
    min-height: 380px;
}

.service-list {
    display: grid;
    gap: 18px;
}

.service-item {
    display: grid;
    grid-template-columns: 66px 1fr;
    gap: 22px;
    padding: 30px;
    background: var(--coconut);
    border: 1px solid var(--soft-line);
    border-radius: var(--radius);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.62fr);
    gap: 24px;
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: 30px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--koa-dark);
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 15px;
    color: var(--charcoal);
    background: var(--coconut);
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 0;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(47, 111, 104, 0.12);
}

.contact-card {
    padding: 30px;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr) minmax(220px, 0.8fr);
    gap: 34px;
    padding: 52px 6vw;
    color: var(--coconut);
    background: var(--koa);
}

.footer-brand {
    color: var(--coconut);
}

.site-footer p,
.site-footer a,
.site-footer small {
    color: rgba(255, 255, 255, 0.78);
}

.site-footer p {
    max-width: 420px;
    margin: 12px 0 0;
}

.footer-links,
.footer-contact {
    display: grid;
    gap: 10px;
    align-content: start;
    font-weight: 750;
}

.footer-links a,
.footer-contact a {
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold);
    transform: translateX(3px);
}

.footer-contact span {
    color: var(--gold);
    font-weight: 900;
}

/* ==========================================================================
   Atamai Solutions Insight Report — Warm-Dark Pitch-Deck Style
   Atamai × Archivr hybrid: dark warm backgrounds, cream text, teal accent
   ========================================================================== */

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */
/* New dark-theme variables scoped to .assessment-page so they don't leak to homepage */
.assessment-page {
    --bg-dark: #0f0c09;
    --bg-card: #1a1511;
    --bg-card-hover: #221c16;
    --bg-alt: #16120e;
    --border-subtle: rgba(217, 199, 178, 0.08);
    --border-accent: rgba(47, 111, 104, 0.35);
    --text-primary: #d9c7b2;
    --text-secondary: #a08e7a;
    --text-muted: #6b5d4f;
    --accent: #2f6f68;
    --accent-light: #3d8a80;
    --accent-glow: rgba(47, 111, 104, 0.2);
    --white: #f7f3ed;
    --red-muted: #c47060;
    --gold-muted: #c4a050;
    --green-muted: #5ca478;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.18);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.28);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.35);
    --radius: 14px;
    --radius-sm: 8px;
    --radius-pill: 999px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: 220ms ease;
}

/* -------------------------------------------------------------------------- */
/* Base resets already handled by global site CSS — only assessment overrides below */

/* Assessment page scoped body override for dark theme */
.assessment-page {
    background: var(--bg-dark);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.assessment-page a {
    color: inherit;
}

.assessment-page button,
.assessment-page input,
.assessment-page textarea {
    font: inherit;
}

/* --------------------------------------------------------------------------
   Skip Link
   -------------------------------------------------------------------------- */
/* Skip link styles already in global CSS — no duplication needed */

/* -------------------------------------------------------------------------- */
/* Eyebrow (ALL CAPS section label)
   -------------------------------------------------------------------------- */
.eyebrow {
    margin: 0 0 12px;
    color: var(--accent-light);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Headings inside slides
   -------------------------------------------------------------------------- */
.slide h1,
.slide h2,
.prezi-slide h1,
.prezi-slide h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: clamp(1.65rem, 3.5vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
}

.slide h2:not(:first-of-type),
.prezi-slide > h2:not(:first-of-type) {
    margin-top: 28px;
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
}

/* --------------------------------------------------------------------------
   Shared: Prezi Lede (subtitle paragraph)
   -------------------------------------------------------------------------- */
.prezi-lede,
.prezi-greeting {
    max-width: 720px;
    margin: 0 0 20px;
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Prezi Disclaimer
   -------------------------------------------------------------------------- */
.prezi-disclaimer {
    margin: 14px 0 0;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-style: italic;
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition);
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    color: var(--white);
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow), 0 8px 24px rgba(0,0,0,0.3);
}

.button.primary:hover {
    background: var(--accent-light);
    box-shadow: 0 0 28px rgba(47, 111, 104, 0.35), 0 12px 32px rgba(0,0,0,0.35);
}

.button.secondary {
    color: var(--text-primary);
    background: var(--bg-card);
    border-color: var(--border-subtle);
}

.button.secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-sm);
}

.button.gold {
    color: var(--bg-dark);
    background: var(--gold-muted);
    box-shadow: 0 8px 20px rgba(196, 160, 80, 0.18);
}

.button.gold:hover {
    filter: brightness(1.1);
}

/* --------------------------------------------------------------------------
   Pill Badges
   -------------------------------------------------------------------------- */
.pill {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(47, 111, 104, 0.15);
    color: var(--accent-light);
    border: 1px solid rgba(47, 111, 104, 0.25);
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Status Pills
   -------------------------------------------------------------------------- */
.prezi-status-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.status-high,
.status-high.severity-high {
    color: var(--red-muted);
    background: rgba(196, 112, 96, 0.12);
    border: 1px solid rgba(196, 112, 96, 0.22);
}

.status-medium,
.status-medium.severity-medium {
    color: var(--gold-muted);
    background: rgba(196, 160, 80, 0.12);
    border: 1px solid rgba(196, 160, 80, 0.22);
}

.status-low,
.status-low.severity-low {
    color: var(--green-muted);
    background: rgba(92, 164, 120, 0.12);
    border: 1px solid rgba(92, 164, 120, 0.22);
}

.status-neutral {
    color: var(--text-secondary);
    background: rgba(160, 142, 122, 0.1);
    border: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   Assessment Page Shell
   -------------------------------------------------------------------------- */
.assessment-page {
    min-height: 100vh;
    padding: 0;
    background: var(--bg-dark);
}

.assessment-page-prezi {
    min-height: 100vh;
    padding: 0;
    background: var(--bg-dark);
}

.assessment-page-v2 {
    min-height: 100vh;
    padding: 0;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    --report-sticky-top: 78px;
}

/* --------------------------------------------------------------------------
   Assessment Shell
   -------------------------------------------------------------------------- */
.assessment-shell {
    width: min(960px, 94vw);
    margin: 0 auto;
    overflow: hidden;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.assessment-shell-prezi {
    width: min(960px, 94vw);
    margin: 0 auto;
    overflow: visible;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.assessment-shell-v2 {
    width: min(960px, 94vw);
    margin: 0 auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ═══════════════════════════════════════════════
   Report Scale — V02: 20% proportional zoom
   ═══════════════════════════════════════════════ */
.report-scaler {
    width: 100%;
    overflow: visible;
    display: flex;
    justify-content: center;
}

.assessment-shell-v2 {
    transform-origin: top center;
    transform: scale(1.1);
}

/* Prevent clipped edges */
.report-scaler:has(.assessment-shell-v2) {
    padding-bottom: 100px;
}

/* Mobile fallback */
@media (max-width: 1100px) {
    .assessment-shell-v2 {
        transform: none;
    }
    .report-scaler:has(.assessment-shell-v2) {
        padding-bottom: 0;
    }
}

/* --------------------------------------------------------------------------
   Assessment Topbar
   -------------------------------------------------------------------------- */
.prezi-sticky-head {
    position: sticky;
    top: var(--report-sticky-top, 78px);
    z-index: 70;
    background: rgba(15, 12, 9, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.assessment-topbar {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    padding: 12px 40px;
    background: transparent;
    border-bottom: 1px solid var(--border-subtle);
}

.assessment-title-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
}

.assessment-title-lockup span {
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 700;
}

.assessment-title-lockup small {
    display: inline-block;
    padding: 3px 10px;
    color: var(--accent-light);
    background: rgba(47, 111, 104, 0.1);
    border: 1px solid rgba(47, 111, 104, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.assessment-top-logo {
    max-width: 110px;
    max-height: 36px;
    width: auto;
    height: auto;
    filter: brightness(0) invert(1) sepia(0.2) saturate(0.4) hue-rotate(10deg);
    opacity: 0.85;
}

.assessment-top-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
}

.assessment-top-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.assessment-icon-button {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.assessment-icon-button svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.assessment-icon-button:hover,
.assessment-icon-button:focus-visible {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 16px var(--accent-glow);
    transform: translateY(-1px);
}

.assessment-icon-button.is-copied {
    color: var(--white);
    background: var(--green-muted);
    border-color: var(--green-muted);
}

[data-slide-counter] {
    padding: 5px 12px;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    transition: color var(--transition), background-color var(--transition), transform var(--transition);
}

[data-slide-counter].is-changing {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Progress Track & Bar
   -------------------------------------------------------------------------- */
.progress-track {
    height: 2px;
    background: rgba(217, 199, 178, 0.08);
}

.prezi-sticky-head .progress-track {
    position: relative;
    z-index: 1;
}

.progress-bar {
    width: 0;
    height: 100%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
    transition: width 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Slides
   -------------------------------------------------------------------------- */
.slide {
    display: none;
    min-height: 400px;
    padding: 48px 40px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.slide.active {
    display: grid;
    align-content: start;
    opacity: 1;
    transform: translateY(0);
}

.slide p {
    max-width: 720px;
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Slide type modifiers
   -------------------------------------------------------------------------- */
.prezi-slide {
    width: 100%;
}

.cinematic-dark {
    background: var(--bg-dark);
}

.cinematic-alt {
    background: var(--bg-alt);
}

/* --------------------------------------------------------------------------
   Prezi-Slide Specific Overrides
   -------------------------------------------------------------------------- */
.assessment-shell-prezi .slide,
.assessment-shell-v2 .slide {
    min-height: auto;
    padding: 48px 40px;
}

.assessment-shell-prezi .slide.active,
.assessment-shell-v2 .slide.active {
    display: grid;
    align-content: start;
}

.assessment-page-v2 .slide {
    align-content: start;
}

.assessment-shell-prezi .prezi-slide > .eyebrow,
.assessment-shell-v2 .prezi-slide > .eyebrow {
    display: block;
    margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   Assessment Actions / Bottom Bar
   -------------------------------------------------------------------------- */
.assessment-actions {
    position: sticky;
    bottom: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    background: rgba(15, 12, 9, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-subtle);
}

.assessment-shell-v2 > .assessment-actions {
    position: relative;
    bottom: auto;
    z-index: 20;
}

.assessment-actions div {
    display: flex;
    gap: 10px;
    align-items: center;
}

.prezi-slide-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    background: transparent;
    border-top: none;
}

.prezi-controls-top {
    position: relative;
    bottom: auto;
    z-index: 1;
    border-top: none;
    border-bottom: 1px solid var(--border-subtle);
}

.prezi-controls-top div {
    width: 100%;
    justify-content: flex-end;
}

[data-action="previous"],
[data-action="next"],
[data-action="print"],
[data-action="share"] {
    /* covered by .button.primary / .button.secondary above */
}

.button:disabled,
.button[disabled] {
    cursor: not-allowed;
    color: var(--text-muted);
    background: rgba(217, 199, 178, 0.1);
    border-color: rgba(217, 199, 178, 0.14);
    box-shadow: none;
    opacity: 0.58;
}

.button:disabled:hover,
.button[disabled]:hover {
    transform: none;
    box-shadow: none;
}

/* --------------------------------------------------------------------------
   Cinematic Reveal Animation
   -------------------------------------------------------------------------- */
.prezi-cinematic-reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.prezi-cinematic-reveal.cinematic-visible {
    opacity: 1;
    transform: translateY(0);
}

.prezi-cinematic-reveal-d1 { transition-delay: 0.08s; }
.prezi-cinematic-reveal-d2 { transition-delay: 0.16s; }
.prezi-cinematic-reveal-d3 { transition-delay: 0.24s; }

/* --------------------------------------------------------------------------
   Slide Grid / Insight Box (generic card shared class)
   -------------------------------------------------------------------------- */
.slide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.prezi-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.insight-box {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.insight-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-accent);
}

.insight-box strong {
    display: block;
    margin-bottom: 6px;
    color: var(--white);
}

.prezi-text-block {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 20px;
    border-radius: var(--radius);
}

.prezi-metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
}

.hero-proof {
    margin-top: 18px;
}

.prezi-context-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.context-label-title {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-right: 4px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.check-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.55;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-light);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Prezi Context Label (inline tag)
   -------------------------------------------------------------------------- */
.prezi-context-label {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(47, 111, 104, 0.1);
    color: var(--accent-light);
    border: 1px solid rgba(47, 111, 104, 0.18);
    border-radius: var(--radius-pill);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Prezi Solution Field (label + value row)
   -------------------------------------------------------------------------- */
.prezi-solution-field {
    margin-bottom: 10px;
}

.prezi-solution-field strong,
.prezi-solution-field .label {
    display: block;
    margin-bottom: 2px;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.prezi-solution-field p,
.prezi-solution-field .value {
    color: var(--text-primary);
    font-size: 0.88rem;
    margin: 0;
}

/* --------------------------------------------------------------------------
   ═══════════════════════════════════════════════════════════════════════
   SCORECARD — Slide 1
   ═══════════════════════════════════════════════════════════════════════
   -------------------------------------------------------------------------- */
.prezi-v2-scorecard {
    /* inherits .slide and .cinematic-dark */
}

.prezi-v2-score-top {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-top: 20px;
}

/* ---------- Score Panel (left: ring + kicker) ---------- */
.prezi-v2-score-panel {
    flex: 0 0 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* ---------- Score Meter Ring ---------- */
.prezi-score-meter[data-score-meter] {
    position: relative;
    display: grid;
    place-items: center;
    width: 180px;
    height: 180px;
}

.score-meter-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        var(--accent) var(--score-angle, 0deg),
        rgba(47, 111, 104, 0.12) var(--score-angle, 0deg)
    );
    -webkit-mask: radial-gradient(circle, transparent 58%, #000 59%);
    mask: radial-gradient(circle, transparent 58%, #000 59%);
    box-shadow: 0 0 40px var(--accent-glow);
}

.prezi-score-meter[data-score-value],
.prezi-score-meter [data-score-value] {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1;
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
}

[data-score-value] {
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
}

.score-max-label {
    position: absolute;
    left: 50%;
    top: calc(50% + 26px);
    transform: translateX(-50%);
    z-index: 1;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}
.prezi-score-kicker {
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 650;
    text-align: center;
    letter-spacing: 0.02em;
}

.prezi-score-helper {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
    max-width: 220px;
}

/* ---------- Stat Stack (C1 icon-left cards) ---------- */
.prezi-v2-stat-stack {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
}

.prezi-v2-stat-row {
    margin-top: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.prezi-v2-stat-card {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px 10px;
    align-items: start;
    padding: 16px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    min-height: 154px;
    min-width: 0;
    overflow: hidden;
}

.prezi-v2-stat-card:hover {
    transform: translateY(-1px);
    border-color: var(--border-accent);
    box-shadow: 0 0 16px var(--accent-glow);
}

.prezi-v2-stat-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: var(--accent-light);
    background: rgba(217, 199, 178, 0.045);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1;
}

.prezi-v2-stat-content {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.prezi-v2-stat-card .label,
.prezi-v2-stat-card strong,
.prezi-v2-stat-card .stat-label {
    display: block;
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.35;
    max-width: 22ch;
}

.prezi-v2-stat-card .value,
.prezi-v2-stat-card .secondary-value,
.prezi-v2-stat-card .stat-value {
    display: block;
    color: var(--white);
    font-size: clamp(0.9rem, 1.35vw, 1.1rem);
    font-weight: 860;
    line-height: 1.12;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.stat-minmax-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 2px;
    padding-top: 8px;
    border-top: 1px solid var(--border-subtle);
}

.stat-minmax-row span {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
    color: var(--text-primary);
    font-size: 0.68rem;
    font-weight: 750;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.stat-minmax-row b {
    color: var(--text-muted) !important;
    font-size: 0.58rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.prezi-v2-stat-card .secondary-count {
    display: block;
    color: var(--accent-light);
    font-size: 1.05rem;
    font-weight: 780;
    line-height: 1.18;
}

.prezi-v2-stat-card .count-line {
    margin-top: 0;
}

.prezi-v2-stat-card .secondary-count-line {
    margin-top: 4px;
    padding-top: 6px;
    border-top: 1px solid var(--border-subtle);
}

.prezi-v2-stat-card .stat-support-line {
    display: block;
    margin-top: 2px;
    color: var(--text-secondary);
    font-size: 0.7rem;
    line-height: 1.35;
}

.prezi-v2-stat-card .stat-support-line b {
    font-weight: 700;
    color: var(--text-secondary);
}

.prezi-v2-count-card {
    /* inherits card styles from .prezi-v2-stat-card */
}

.secondary-count {
    color: var(--accent-light);
    font-size: 1.1rem;
    font-weight: 750;
}

[data-count-value] {
    color: var(--accent-light);
    font-weight: 750;
}

.prezi-v2-stat-disclaimer {
    grid-column: 1 / -1;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-style: italic;
    line-height: 1.5;
}

/* ---------- Summary Strip ---------- */
.prezi-v2-summary-strip {
    margin-top: 0;
    padding: 18px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
}

.prezi-v2-summary-strip .prezi-v2-field {
    margin-bottom: 8px;
}

.prezi-v2-summary-strip .prezi-v2-field:last-child {
    margin-bottom: 0;
}

.prezi-v2-summary-strip strong {
    color: var(--white);
    font-size: 1rem;
}

.prezi-v2-summary-strip p {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

/* ---------- Score Breakdown ---------- */
.prezi-v2-score-rows {
    margin-top: 20px;
}

.cinematic-score-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.cinematic-score-row:last-child {
    border-bottom: none;
}

.prezi-score-breakdown {
    margin-top: 16px;
}

.prezi-v2-score-breakdown {
    margin-top: 16px;
}

.prezi-v2-subsection-title {
    margin: 20px 0 10px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.prezi-score-row {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.prezi-score-row:last-child {
    border-bottom: none;
}

.prezi-score-rating {
    flex-shrink: 0;
}

.prezi-score-rating .pill {
    --row-score-percent: 0%;
}

.prezi-score-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.prezi-score-copy > strong {
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.25;
}

.prezi-score-copy > p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.45;
}

/* ---------- Breakdown table helpers ---------- */
.prezi-v2-breakdown-table {
    margin-top: 16px;
}

/* Value areas table (old schema) */
.prezi-value-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-top: 16px;
}

.prezi-value-table thead th {
    text-align: left;
    padding: 10px 12px;
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-accent);
}

.prezi-value-table tbody td {
    padding: 10px 12px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-subtle);
}

.prezi-value-table tbody tr:last-child td {
    border-bottom: none;
}

.prezi-value-table.compact {
    font-size: 0.8rem;
}

.prezi-v2-breakdown-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.prezi-v2-breakdown-row:last-child {
    border-bottom: none;
}

.prezi-v2-breakdown-meta {
    flex: 1;
}

.prezi-v2-breakdown-list {
    margin-top: 12px;
}

.prezi-v2-breakdown-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

.prezi-v2-breakdown-item span[aria-hidden] {
    flex-shrink: 0;
    font-size: 1rem;
}

.prezi-v2-breakdown-item p {
    margin: 0;
}

.prezi-v2-field {
    margin-bottom: 10px;
}

.prezi-v2-field strong,
.prezi-v2-field .field-label {
    display: block;
    margin-bottom: 2px;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   ═══════════════════════════════════════════════════════════════════════
   LEAKS — Slide 2
   ═══════════════════════════════════════════════════════════════════════
   -------------------------------------------------------------------------- */
.prezi-v2-leaks {
    /* inherits slide */
}

.prezi-v2-leak-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

.prezi-v2-leak-more {
    margin-top: 6px;
    padding: 10px 12px;
    background: rgba(26, 21, 17, 0.72);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
}

.prezi-v2-leak-more summary {
    cursor: pointer;
    color: var(--accent-light);
    font-size: 0.78rem;
    font-weight: 700;
}

.prezi-v2-leak-more-list {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.prezi-v2-leak-more-item strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.82rem;
    margin-bottom: 2px;
}

.prezi-v2-leak-more-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.45;
}

.prezi-v2-leak-row.cinematic-leak {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    border-left: 4px solid var(--border-subtle);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.prezi-v2-leak-row.cinematic-leak:hover {
    border-color: var(--border-accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Impact left-border colors */
.impact-high {
    border-left-color: var(--red-muted) !important;
}

.impact-medium {
    border-left-color: var(--gold-muted) !important;
}

.impact-low {
    border-left-color: var(--green-muted) !important;
}

.prezi-v2-leak-rank {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
}

.prezi-v2-leak-rank .prezi-rank-badge {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    box-shadow: none;
    background: rgba(47, 111, 104, 0.18);
    border: 1px solid rgba(47, 111, 104, 0.34);
    color: var(--accent-light);
}

.prezi-v2-leak-body {
    flex: 1;
    min-width: 0;
}

.prezi-v2-leak-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.prezi-v2-leak-body > .cinematic-data-points,
.prezi-v2-leak-body > .prezi-v2-field,
.prezi-v2-leak-body > .cinematic-context-labels {
    border-top: 1px solid rgba(217, 199, 178, 0.12);
    margin-top: 12px;
    padding-top: 12px;
}

.prezi-v2-leak-body > .prezi-v2-field {
    margin-bottom: 0;
}

.prezi-v2-leak-body > .prezi-v2-field strong {
    margin-bottom: 5px;
}

.prezi-v2-leak-body > .prezi-v2-field p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.5;
}

.prezi-v2-leak-heading h3,
.prezi-v2-leak-heading strong {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 750;
}

/* ---------- Inline Badges ---------- */
.cinematic-inline-badges {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.cinematic-inline-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 9px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.badge-high {
    color: var(--red-muted);
    background: rgba(196, 112, 96, 0.12);
    border: 1px solid rgba(196, 112, 96, 0.22);
}

.badge-medium {
    color: var(--gold-muted);
    background: rgba(196, 160, 80, 0.12);
    border: 1px solid rgba(196, 160, 80, 0.22);
}

.badge-low {
    color: var(--green-muted);
    background: rgba(92, 164, 120, 0.12);
    border: 1px solid rgba(92, 164, 120, 0.22);
}

.badge-cost {
    color: var(--accent-light);
    background: rgba(47, 111, 104, 0.1);
    border: 1px solid rgba(47, 111, 104, 0.2);
}

/* ---------- Data Points (ul arrow list) ---------- */
.cinematic-data-points {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.cinematic-data-points li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 4px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.55;
}

.cinematic-data-points li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-light);
    font-weight: 700;
}

/* ---------- Context Labels (tag pills) ---------- */
.cinematic-context-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.cinematic-context-label {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(47, 111, 104, 0.08);
    color: var(--accent-light);
    border: 1px solid rgba(47, 111, 104, 0.16);
    border-radius: var(--radius-pill);
    font-size: 0.66rem;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   ═══════════════════════════════════════════════════════════════════════
   MATRIX / MAP — Slide 3
   ═══════════════════════════════════════════════════════════════════════
   -------------------------------------------------------------------------- */
.prezi-v2-map {
    /* inherits slide & .cinematic-alt */
}

.prezi-v2-simple-matrix {
    margin-top: 20px;
}

/* ---------- Opportunity Graph (2×2 Matrix) ---------- */
.prezi-opportunity-graph,
.prezi-v2-opportunity-graph {
    --map-pad-top: 56px;
    --map-pad-right: 56px;
    --map-pad-bottom: 56px;
    --map-pad-left: 60px;
    --map-axis-left: 46px;
    --map-axis-bottom: 40px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
    margin-top: 20px;
    padding: var(--map-pad-top) var(--map-pad-right) var(--map-pad-bottom) var(--map-pad-left);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 28px;
    min-height: 420px;
    overflow: visible;
}

.prezi-opportunity-graph::before,
.prezi-v2-opportunity-graph::before {
    content: "";
    position: absolute;
    inset: var(--map-pad-top) var(--map-pad-right) var(--map-pad-bottom) var(--map-pad-left);
    background:
        linear-gradient(to right, transparent calc(50% - 0.75px), var(--border-subtle) calc(50% - 0.75px), var(--border-subtle) calc(50% + 0.75px), transparent calc(50% + 0.75px)),
        linear-gradient(to bottom, transparent calc(50% - 0.75px), var(--border-subtle) calc(50% - 0.75px), var(--border-subtle) calc(50% + 0.75px), transparent calc(50% + 0.75px)),
        rgba(26, 21, 17, 0.5);
    pointer-events: none;
}

.prezi-opportunity-graph::after,
.prezi-v2-opportunity-graph::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, var(--border-subtle), var(--border-subtle)) var(--map-axis-left) var(--map-pad-top) / 1px calc(100% - var(--map-pad-top) - var(--map-axis-bottom)) no-repeat,
        linear-gradient(to right, var(--border-subtle), var(--border-subtle)) var(--map-pad-left) calc(100% - var(--map-axis-bottom)) / calc(100% - var(--map-pad-left) - 52px) 1px no-repeat;
    pointer-events: none;
}

/* Axis labels */
.axis-label {
    position: absolute;
    z-index: 2;
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    color: var(--text-muted);
    pointer-events: none;
}

.y-axis.high {
    top: calc(var(--map-pad-top) + 6px);
    left: 18px;
    transform: rotate(-90deg);
    transform-origin: left top;
}

.y-axis.high::after {
    content: "↑";
    position: absolute;
    right: -18px;
    top: -1px;
    font-size: 0.88rem;
    font-weight: 600;
}

.y-axis.low {
    bottom: calc(var(--map-axis-bottom) + 10px);
    left: 18px;
    transform: rotate(-90deg);
    transform-origin: left bottom;
}

.x-axis.low  { bottom: 16px; left: calc(var(--map-pad-left) + 2px); writing-mode: horizontal-tb; transform: none; }
.x-axis.high { bottom: 16px; right: 20px; writing-mode: horizontal-tb; transform: none; }
.x-axis.high::after {
    content: "→";
    position: absolute;
    right: 0;
    top: -26px;
    font-size: 0.92rem;
    font-weight: 600;
}

.graph-grid,
.prezi-v2-matrix-grid {
    display: contents;
}

.graph-quadrant,
.prezi-v2-quadrant {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: 24px 38px 22px;
    border-radius: 0;
    background: transparent;
    transition: none;
}

.graph-quadrant > .quadrant-heading,
.prezi-v2-quadrant > strong {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.2;
}

.graph-quadrant strong i,
.prezi-v2-quadrant strong i {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-right: 0;
    font-style: normal;
    font-size: 0.92rem;
}

/* Hover detail tooltips use the report's existing warm-dark hover treatment. */
.graph-quadrant::after,
.prezi-v2-quadrant::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 18px;
    z-index: 4;
    padding: 10px 12px;
    color: var(--text-primary);
    background: rgba(15, 12, 9, 0.95);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.35;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
}

.graph-quadrant:hover::after,
.prezi-v2-quadrant:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.graph-quadrant:hover,
.prezi-v2-quadrant:hover {
    background: rgba(30, 25, 20, 0.72);
    box-shadow: inset 0 0 0 1px rgba(217, 199, 178, 0.12);
}

/* Quadrants should read as chart regions, not colored cards. */
.quadrant-quick,
.quadrant-quick_wins,
.matrix-quadrant-quick-wins,
.quadrant-strategic,
.quadrant-strategic_projects,
.matrix-quadrant-strategic,
.quadrant-nice,
.quadrant-nice_to_have_improvements,
.matrix-quadrant-nice-to-have,
.quadrant-future,
.quadrant-future_considerations,
.matrix-quadrant-future {
    border: 0;
    background: transparent;
}

.quadrant-items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.quadrant-opportunity {
    display: block;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    padding: 12px 14px;
    background: rgba(47, 111, 104, 0.08);
    border: 1px solid rgba(217, 199, 178, 0.08);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

.quadrant-opportunity-title {
    display: block;
    margin-bottom: 0;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1.25;
}

.quadrant-opportunity small {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    color: var(--text-muted);
    font-size: 0.66rem;
    line-height: 1.25;
}

.quadrant-opportunity small span {
    display: inline-flex;
    gap: 3px;
}

.quadrant-opportunity small b {
    color: var(--text-secondary);
    font-weight: 800;
}

.quadrant-opportunity small strong {
    color: var(--text-primary);
}

.quadrant-empty {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.quadrant-detail-inline {
    margin-top: 8px;
}

.quadrant-detail-inline .check-list {
    margin-top: 4px;
}

.quadrant-detail-inline .check-list li {
    font-size: 0.78rem;
    padding-left: 16px;
}

.quadrant-detail-inline .check-list li::before {
    color: var(--accent-light);
}

.quadrant-detail {
    margin-top: 8px;
}

/* ---------- Quadrant Carousel ---------- */
.prezi-quadrant-carousel {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 20px;
}

.prezi-quadrant-track {
    display: flex;
    overflow: hidden;
    flex: 1;
}

.prezi-quadrant-slide {
    display: none;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    min-width: 100%;
}

.prezi-quadrant-slide.active {
    display: block;
}

/* --------------------------------------------------------------------------
   ═══════════════════════════════════════════════════════════════════════
   SOLUTIONS — Slide 4
   ═══════════════════════════════════════════════════════════════════════
   -------------------------------------------------------------------------- */
.prezi-v2-solutions {
    /* inherits slide */
}

.prezi-solution-carousel,
.prezi-v2-solutions-carousel {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 18px;
}

.prezi-solution-track {
    display: flex;
    overflow: hidden;
    flex: 1;
}

.prezi-v2-solution-card,
.prezi-solution-card {
    display: none;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    min-width: 100%;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.prezi-v2-solution-card.active,
.prezi-solution-card.active {
    display: block;
}

.prezi-solution-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.prezi-rank-badge {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--white);
    background: var(--accent);
    border-radius: 50%;
    font-size: 0.82rem;
    font-weight: 900;
    box-shadow: 0 0 16px var(--accent-glow);
}

.prezi-solution-heading h3,
.prezi-solution-heading strong {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 750;
}

.prezi-solution-heading .pill {
    margin-left: auto;
}

/* ---------- Timeline items ---------- */
.cinematic-tl,
.cinematic-timeline {
    position: relative;
    margin-top: 16px;
}

.cinematic-tl-item {
    position: relative;
    padding-left: 44px;
    margin-bottom: 16px;
}

.cinematic-tl-dot {
    position: absolute;
    left: 0;
    top: 4px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    background: rgba(47, 111, 104, 0.12);
    border: 2px solid var(--accent);
    border-radius: 50%;
    color: var(--accent-light);
    font-size: 0.72rem;
    font-weight: 800;
}

.cinematic-tl-body {
    min-width: 0;
}

.cinematic-tl-teaser {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 2px;
}

.prezi-v2-solution-body {
    margin-top: 14px;
    padding: 2px 6px 8px 2px;
}

.prezi-v2-solution-card {
    cursor: pointer;
}

.prezi-v2-solution-card .prezi-solution-heading {
    align-items: flex-start;
    justify-content: space-between;
}

.solution-expand-toggle {
    margin-left: auto;
    margin-top: -2px;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 50%;
    font-size: 0.95rem;
    line-height: 1;
}

/* ---------- Before/After Cards ---------- */
.cinematic-before-after {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
    margin-top: 14px;
}

.cinematic-ba-card {
    min-width: 0;
    height: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
}

.cinematic-ba-card.ba-before {
    background: rgba(196, 112, 96, 0.12);
    border: 1px solid rgba(196, 112, 96, 0.28);
}

.cinematic-ba-card.ba-after {
    background: rgba(92, 164, 120, 0.12);
    border: 1px solid rgba(92, 164, 120, 0.28);
}

.cinematic-ba-arrow {
    display: grid;
    place-items: center;
    align-self: center;
    width: 42px;
    height: 42px;
    color: var(--accent-light);
    background: rgba(47, 111, 104, 0.14);
    border: 1px solid rgba(47, 111, 104, 0.3);
    border-radius: 999px;
    font-size: 1.15rem;
    font-weight: 900;
}

.cinematic-ba-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ba-before strong {
    color: var(--red-muted);
}

.ba-after strong {
    color: var(--green-muted);
}

.cinematic-ba-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.55;
}

.cinematic-toggle-expand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    padding: 6px 14px;
    background: transparent;
    color: var(--accent-light);
    border: 1px solid rgba(47, 111, 104, 0.25);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
}

.cinematic-toggle-expand:hover {
    background: rgba(47, 111, 104, 0.08);
    border-color: var(--accent);
}

.cinematic-tl-details {
    max-height: 0;
    overflow: hidden;
    margin-top: 10px;
    padding: 0 16px;
    background: rgba(15, 12, 9, 0.5);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
}

.cinematic-tl-details.details-open {
    opacity: 1;
    padding: 14px 16px;
}

.cinematic-tl-details p {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.55;
}

/* ---------- Carousel Controls ---------- */
.carousel-arrow {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    align-self: center;
    transition: color var(--transition), background var(--transition), border-color var(--transition);
    flex-shrink: 0;
}

.carousel-arrow:hover {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.carousel-prev {
    margin-right: 8px;
}

.carousel-next {
    margin-left: 8px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    background: var(--border-subtle);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition);
}

.carousel-dot.active {
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}

/* Quadrant carousel specific */
.quadrant-prev { margin-right: 8px; }
.quadrant-next { margin-left: 8px; }

/* --------------------------------------------------------------------------
   ═══════════════════════════════════════════════════════════════════════
   MONEY — Slide 5
   ═══════════════════════════════════════════════════════════════════════
   -------------------------------------------------------------------------- */
.prezi-v2-money {
    /* inherits slide & .cinematic-alt */
}

.cinematic-metric-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.cinematic-metric-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.cinematic-metric-card:hover {
    border-color: var(--border-accent);
    box-shadow: 0 0 16px var(--accent-glow);
}

.cinematic-metric-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--accent-light);
    background: rgba(47, 111, 104, 0.1);
    border: 1px solid rgba(47, 111, 104, 0.2);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
}

.icon-dollar {
    color: var(--green-muted);
    background: rgba(92, 164, 120, 0.1);
    border-color: rgba(92, 164, 120, 0.2);
}

.icon-clock {
    color: var(--gold-muted);
    background: rgba(196, 160, 80, 0.1);
    border-color: rgba(196, 160, 80, 0.2);
}

.icon-opp {
    color: var(--accent-light);
    background: rgba(47, 111, 104, 0.1);
    border-color: rgba(47, 111, 104, 0.2);
}

.icon-roi {
    color: var(--red-muted);
    background: rgba(196, 112, 96, 0.1);
    border-color: rgba(196, 112, 96, 0.2);
}

.cinematic-metric-info {
    flex: 1;
    min-width: 96px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cinematic-metric-info strong {
    display: block;
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cinematic-metric-value {
    margin-left: auto;
    align-self: center;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 820;
    line-height: 1.2;
    text-align: right;
    max-width: 180px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.metric-sub {
    display: block;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 500;
    margin-top: 2px;
    line-height: 1.35;
}

/* ---------- Money Grid (subsections) ---------- */
.prezi-v2-money-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 22px;
}

.prezi-subsection {
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
}

.prezi-subsection h3,
.prezi-subsection strong {
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 750;
    margin-bottom: 8px;
}

.prezi-revenue-section {
    /* inherits .prezi-subsection */
}

.prezi-time-section {
    /* inherits .prezi-subsection */
}

.prezi-v2-money-item {
    margin-bottom: 10px;
}

.prezi-v2-money-item:last-child {
    margin-bottom: 0;
}

.prezi-v2-money-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.prezi-v2-money-row:last-child {
    border-bottom: none;
}

.prezi-v2-money .prezi-v2-bottom-summary {
    margin-top: 34px;
    margin-bottom: 28px;
}

.prezi-v2-money .prezi-v2-bottom-summary .prezi-v2-field {
    padding: 18px 20px;
    background: rgba(15, 12, 9, 0.32);
    border: 1px solid rgba(217, 199, 178, 0.12);
    border-radius: var(--radius-sm);
}

.prezi-v2-money .prezi-v2-bottom-summary .prezi-v2-field strong {
    display: block;
    margin-bottom: 8px;
}

.prezi-v2-money .prezi-v2-bottom-summary .prezi-v2-field p {
    margin: 0;
}

.prezi-v2-money-grid {
    margin-top: 0;
}

.prezi-v2-money .prezi-subsection h2 {
    margin: 0 0 12px;
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 800;
}

.prezi-v2-money .prezi-v2-breakdown-list {
    display: grid;
    gap: 12px;
}

.prezi-v2-money .prezi-v2-breakdown-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    padding: 12px 0;
    border-top: 1px solid rgba(217, 199, 178, 0.1);
}

.prezi-v2-money .prezi-v2-breakdown-item:first-child {
    padding-top: 0;
    border-top: 0;
}

.prezi-v2-money .prezi-v2-breakdown-item > span[aria-hidden="true"] {
    display: grid;
    place-items: center;
    margin-top: 2px;
    width: 34px;
    height: 34px;
    color: var(--accent-light);
    background: rgba(47, 111, 104, 0.1);
    border: 1px solid rgba(47, 111, 104, 0.2);
    border-radius: 9px;
    font-weight: 800;
}

.prezi-v2-money .prezi-v2-breakdown-item strong {
    display: block;
    margin: 0 0 5px;
    color: var(--white);
    font-size: 0.86rem;
}

.prezi-v2-money .prezi-v2-breakdown-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.45;
}

.prezi-v2-money .money-metric-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-top: 9px;
    padding: 5px 8px;
    color: var(--accent-light);
    background: rgba(47, 111, 104, 0.14);
    border: 1px solid rgba(47, 111, 104, 0.24);
    border-radius: 7px;
    font-size: 0.72rem;
    font-weight: 760;
    line-height: 1.2;
}

.prezi-v2-money .money-metric-chip-icon {
    display: inline-grid;
    place-items: center;
    width: 12px;
    height: 12px;
    color: var(--accent-light);
    background: rgba(47, 111, 104, 0.18);
    border-radius: 3px;
    font-size: 8px;
    line-height: 1;
    flex: 0 0 12px;
    transform: translateY(-2px) scale(0.72);
    transform-origin: center;
}

.prezi-v2-money .money-metric-chip-text {
    display: inline-block;
    line-height: 1.2;
    transform: translateY(2px);
}

/* --------------------------------------------------------------------------
   ═══════════════════════════════════════════════════════════════════════
   NEXT STEPS — Slide 6
   ═══════════════════════════════════════════════════════════════════════
   -------------------------------------------------------------------------- */
.prezi-v2-next-steps {
    /* inherits slide */
}

.prezi-v2-best-step {
    padding: 20px 24px;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: 0 0 24px var(--accent-glow);
    margin-bottom: 16px;
}

.prezi-v2-best-step h3,
.prezi-v2-best-step strong {
    color: var(--white);
    font-size: 1rem;
    font-weight: 800;
}

.prezi-v2-best-step p {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.prezi-v2-step-card {
    display: none;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    min-width: 100%;
}

.prezi-v2-step-card.active {
    display: block;
}

.prezi-v2-step-carousel {
    position: relative;
    display: flex;
    align-items: stretch;
    margin-top: 18px;
}

/* --------------------------------------------------------------------------
   ═══════════════════════════════════════════════════════════════════════
   CTA / FINAL — Slide 7
   ═══════════════════════════════════════════════════════════════════════
   -------------------------------------------------------------------------- */
.prezi-v2-final {
    /* inherits slide & .cinematic-dark */
}

.prezi-v2-final h2 {
    color: var(--white);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-actions.centered {
    justify-content: center;
}

.prezi-v2-bullet-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.prezi-v2-bullet-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

.prezi-v2-bullet-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-light);
    font-weight: 700;
}

.prezi-v2-plain-section {
    margin-top: 16px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   Prezi Opportunity List (fallback from matrix)
   -------------------------------------------------------------------------- */
.prezi-opportunity-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
}

.prezi-opportunity-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
}

.opportunity-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    background: rgba(47, 111, 104, 0.1);
    color: var(--accent-light);
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 800;
}

.prezi-row-meta {
    flex: 1;
    min-width: 0;
}

/* --------------------------------------------------------------------------
   Atamai Logo (in top bar context)
   -------------------------------------------------------------------------- */
.atamai-logo {
    display: block;
    width: auto;
    max-width: 180px;
    height: auto;
}

/* --------------------------------------------------------------------------
   Error Box
   -------------------------------------------------------------------------- */
.error-box {
    width: min(760px, 90vw);
    margin: 90px auto;
    padding: 34px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   Assessment Debug Panel
   -------------------------------------------------------------------------- */
.assessment-debug-panel {
    padding: 24px;
    background: var(--bg-card);
}

/* --------------------------------------------------------------------------
   Responsive — collapse below 640px
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
    .assessment-page-v2 {
        --report-sticky-top: 70px;
    }

    .assessment-topbar {
        flex-wrap: wrap;
        padding: 12px 20px;
        gap: 8px;
    }

    .assessment-title-lockup {
        flex-wrap: wrap;
        gap: 6px;
    }

    .assessment-top-meta {
        width: 100%;
        justify-content: space-between;
    }

    .assessment-shell,
    .assessment-shell-prezi,
    .assessment-shell-v2 {
        width: 100%;
    }

    .slide,
    .assessment-shell-prezi .slide,
    .assessment-shell-v2 .slide {
        padding: 32px 20px;
    }

    .prezi-v2-score-top {
        grid-template-columns: 1fr;
    }

    .prezi-v2-score-panel {
        align-items: center;
    }

    .prezi-v2-stat-stack,
    .prezi-v2-stat-row {
        grid-template-columns: 1fr;
    }

    .prezi-score-meter[data-score-meter] {
        width: 140px;
        height: 140px;
    }

    [data-score-value] {
        font-size: 2.2rem;
    }

    .cinematic-before-after {
        grid-template-columns: 1fr;
    }

    .prezi-v2-money-grid {
        grid-template-columns: 1fr;
    }

    .cinematic-metric-stack {
        grid-template-columns: 1fr;
    }

    .slide-grid,
    .prezi-card-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .prezi-v2-leak-row.cinematic-leak {
        flex-direction: column;
        gap: 10px;
    }

    .prezi-opportunity-graph,
    .prezi-v2-opportunity-graph {
        --map-pad-top: 44px;
        --map-pad-right: 18px;
        --map-pad-bottom: 46px;
        --map-pad-left: 44px;
        --map-axis-left: 28px;
        --map-axis-bottom: 34px;
        min-height: 460px;
        border-radius: 20px;
    }

    .graph-quadrant,
    .prezi-v2-quadrant {
        padding: 18px 14px;
    }

    .graph-quadrant > .quadrant-heading,
    .prezi-v2-quadrant > strong {
        font-size: 0.82rem;
    }

    .quadrant-opportunity {
        padding: 10px 12px;
    }

    .quadrant-opportunity-title {
        font-size: 0.74rem;
    }

    .y-axis.high,
    .y-axis.low {
        left: 10px;
    }

    .assessment-actions,
    .prezi-slide-controls {
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .assessment-top-logo {
        max-width: 80px;
    }

    .assessment-title-lockup span {
        font-size: 0.82rem;
    }

    .prezi-v2-scorecard-layout {
        flex-direction: column;
    }

    .cinematic-metric-card {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* ---------- Solutions Stack (attached accordion layout, replaces carousel) ---------- */
.prezi-v2-solutions-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 18px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
}

.prezi-v2-solutions-stack .cinematic-tl-item {
    border-left: none;
    margin: 0;
    padding: 0;
}

.prezi-v2-solutions-stack .cinematic-tl-dot {
    display: none;
}

.prezi-v2-solutions-stack .cinematic-tl-body {
    width: 100%;
}

.prezi-v2-solutions-stack .prezi-v2-solution-card {
    display: block !important;
    min-width: 0;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--border-subtle);
    border-radius: 0;
    padding: 0;
    background: transparent;
    cursor: default;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.prezi-v2-solutions-stack .prezi-v2-solution-card:last-child {
    border-bottom: none;
}

.prezi-v2-solutions-stack .prezi-v2-solution-card:hover {
    background: transparent;
    border-color: var(--border-subtle);
    box-shadow: none;
}

.prezi-v2-solutions-stack .prezi-solution-heading {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    margin: 0;
    padding: 18px 20px;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
}

.prezi-v2-solutions-stack .prezi-solution-heading:hover,
.prezi-v2-solutions-stack .prezi-solution-heading:focus-visible {
    background: rgba(47, 111, 104, 0.06);
}

.prezi-v2-solutions-stack .prezi-rank-badge {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    box-shadow: none;
    background: rgba(47, 111, 104, 0.18);
    border: 1px solid rgba(47, 111, 104, 0.34);
    color: var(--accent-light);
}

.prezi-v2-solutions-stack .solution-expand-toggle {
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    display: grid;
    place-items: center;
    justify-self: end;
    align-self: center;
    border-radius: 8px;
    color: var(--accent-light);
    background: rgba(47, 111, 104, 0.1);
    border: 1px solid rgba(47, 111, 104, 0.28);
    line-height: 1;
}

.prezi-v2-solutions-stack .solution-expand-toggle span {
    display: block;
    width: 11px;
    height: 11px;
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    transform-origin: center;
    line-height: 1;
}

.prezi-v2-solutions-stack .solution-expand-toggle.is-open span {
    transform: rotate(225deg) translate(-2px, -2px);
}

.prezi-v2-solutions-stack .prezi-v2-solution-body {
    margin: 0;
    padding: 0 20px 0 70px;
    border-top: 1px solid rgba(217, 199, 178, 0.12);
}

.prezi-v2-solutions-stack .prezi-v2-solution-body > .prezi-v2-field {
    margin: 0;
    padding: 12px 0 0;
    border-top: 1px solid rgba(217, 199, 178, 0.12);
}

.prezi-v2-solutions-stack .prezi-v2-solution-body > .prezi-v2-field p {
    margin: 0;
}

.prezi-v2-solutions-stack .cinematic-tl-details {
    margin-top: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.prezi-v2-solutions-stack .cinematic-tl-details.details-open {
    padding: 0;
}

.prezi-v2-solutions-stack .cinematic-tl-details > .prezi-v2-field,
.prezi-v2-solutions-stack .cinematic-tl-details > .cinematic-before-after {
    margin: 0;
    padding: 12px 0;
    border-top: 1px solid rgba(217, 199, 178, 0.12);
}

.prezi-v2-solutions-stack .cinematic-tl-details > .prezi-v2-field p {
    margin: 0;
}

.prezi-v2-solutions-stack .check-list {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
}

.prezi-v2-solutions-stack .check-list li {
    padding-left: 22px;
    margin-bottom: 5px;
}

/* ---------- Solutions grouped detail panels ---------- */
.prezi-v2-solutions-stack .solution-detail-group {
    margin: 0 0 14px;
    padding: 14px 16px;
    background: rgba(15, 12, 9, 0.34);
    border: 1px solid rgba(217, 199, 178, 0.1);
    border-radius: var(--radius-sm);
}

.prezi-v2-solutions-stack .solution-detail-group:first-child {
    margin-top: 12px;
}

.prezi-v2-solutions-stack .solution-detail-group h3 {
    margin: 0 0 10px;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.prezi-v2-solutions-stack .solution-detail-group .prezi-v2-field {
    margin: 0;
    padding: 10px 0;
    border-top: 1px solid rgba(217, 199, 178, 0.1);
}

.prezi-v2-solutions-stack .solution-detail-group .prezi-v2-field:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.prezi-v2-solutions-stack .solution-detail-group .prezi-v2-field:last-child {
    padding-bottom: 0;
}

.prezi-v2-solutions-stack .solution-detail-group .prezi-v2-field p {
    margin: 0;
}

.prezi-v2-solutions-stack .solution-detail-group-before-after {
    background: rgba(47, 111, 104, 0.06);
}

.prezi-v2-solutions-stack .cinematic-before-after {
    margin-top: 0;
}

.prezi-v2-solutions-stack .cinematic-ba-arrow {
    width: 46px;
    height: 46px;
    font-size: 1.55rem;
    font-weight: 1000;
    line-height: 1;
    text-align: center;
}

.prezi-v2-solutions-stack .tool-icon-list {
    display: grid;
    gap: 8px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.prezi-v2-solutions-stack .tool-icon-list li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 0;
    color: var(--text-secondary);
    font-size: 0.84rem;
    line-height: 1.45;
}

.prezi-v2-solutions-stack .tool-icon-list li::before {
    content: none;
}

.prezi-v2-solutions-stack .tool-icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: var(--accent-light);
    background: rgba(47, 111, 104, 0.12);
    border: 1px solid rgba(47, 111, 104, 0.22);
    border-radius: 6px;
    font-size: 0.78rem;
    line-height: 1;
}

.prezi-v2-solutions-stack .check-list li {
    padding-left: 20px;
}

.prezi-v2-solutions-stack .check-list li::before {
    content: "";
    left: 3px;
    top: 0.72em;
    width: 6px;
    height: 6px;
    background: var(--accent-light);
    border-radius: 999px;
    transform: translateY(-50%);
    line-height: 1;
}

/* ---------- Roadmap (vertical timeline, replaces next-steps carousel) ---------- */
.prezi-v2-roadmap {
    --roadmap-line-left: 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    margin-top: 18px;
}

.prezi-v2-roadmap::before {
    content: "";
    position: absolute;
    left: var(--roadmap-line-left);
    top: 18px;
    bottom: 54px;
    width: 3px;
    background: linear-gradient(180deg, rgba(47, 111, 104, 0.88), rgba(196, 160, 80, 0.72));
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(47, 111, 104, 0.18);
}

.prezi-v2-roadmap .cinematic-tl-item {
    position: relative;
    margin: 0;
    padding: 0 0 20px 78px;
    border-left: 0 !important;
}

.prezi-v2-roadmap .cinematic-tl-item:last-of-type {
    padding-bottom: 22px;
}

.prezi-v2-roadmap .cinematic-tl-dot {
    position: absolute;
    left: calc(var(--roadmap-line-left) - 18px);
    top: 18px;
    z-index: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--accent-light);
    border: 2px solid var(--accent);
    display: grid;
    place-items: center;
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1;
    box-shadow: 0 0 0 6px var(--bg-dark), 0 0 16px var(--accent-glow);
}

.prezi-v2-roadmap .prezi-v2-best-step .cinematic-tl-dot {
    width: 40px;
    height: 40px;
    left: calc(var(--roadmap-line-left) - 20px);
    top: 16px;
    color: var(--bg-dark);
    background: var(--accent-light);
    box-shadow: 0 0 0 6px var(--bg-dark), 0 0 22px var(--accent-glow);
}

.prezi-v2-roadmap .prezi-v2-best-step {
    padding: 0 0 20px 78px;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.prezi-v2-roadmap .prezi-v2-step-card {
    display: block !important;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0 0 20px 78px;
    transition: none;
}

.prezi-v2-roadmap .cinematic-tl-body {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 16px 20px;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.prezi-v2-roadmap .prezi-solution-heading {
    min-height: 34px;
    margin: 0 0 8px;
    align-items: center;
}

.prezi-v2-roadmap .prezi-v2-solution-body {
    padding: 0;
}

.prezi-v2-roadmap .prezi-v2-step-card:hover .cinematic-tl-body {
    border-color: var(--border-accent);
    box-shadow: 0 0 12px var(--accent-glow);
    transform: translateX(2px);
}

.roadmap-finish {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin: 0 0 0 2px;
    padding: 8px 0 0 0;
}

.roadmap-finish-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 52px;
    height: 46px;
    color: var(--bg-dark);
    background: linear-gradient(180deg, var(--gold-muted), #a9822f);
    border: 2px solid rgba(247, 243, 237, 0.18);
    border-radius: 12px 12px 14px 14px;
    font-size: 1.15rem;
    font-weight: 950;
    box-shadow: 0 0 0 6px var(--bg-dark), 0 0 24px rgba(196, 160, 80, 0.22);
}

.roadmap-finish-icon::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    width: 24px;
    height: 18px;
    border: 3px solid rgba(196, 160, 80, 0.92);
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    transform: translateX(-50%);
}

.roadmap-finish > div {
    padding: 14px 18px;
    background: rgba(196, 160, 80, 0.08);
    border: 1px solid rgba(196, 160, 80, 0.24);
    border-radius: var(--radius);
}

.roadmap-finish strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 850;
}

.roadmap-finish p {
    margin: 5px 0 0;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Insight Report Footer
   -------------------------------------------------------------------------- */
.insight-report-footer {
    --bg-dark: #0f0c09;
    --bg-alt: #16120e;
    --text-primary: #d9c7b2;
    --text-secondary: #a08e7a;
    --accent: #2f6f68;
    --accent-light: #3d8a80;
    --white: #f7f3ed;
    --transition: 220ms ease;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(170px, 0.45fr) minmax(210px, 0.55fr);
    gap: 28px;
    align-items: start;
    padding: 38px min(6vw, 72px);
    color: var(--text-primary);
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-dark) 100%);
    border-top: 1px solid rgba(47, 111, 104, 0.28);
    box-shadow: inset 0 1px 0 rgba(217, 199, 178, 0.05);
}

.insight-report-footer .footer-brand {
    color: var(--white);
    letter-spacing: -0.01em;
}

.insight-report-footer p {
    max-width: 620px;
    margin: 10px 0 18px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

.insight-report-footer-cta {
    width: fit-content;
    min-height: 40px;
    padding: 9px 16px;
    font-size: 0.82rem;
}

.insight-report-footer-links,
.insight-report-footer-contact {
    gap: 9px;
    color: var(--text-secondary);
    font-size: 0.86rem;
}

.insight-report-footer a,
.insight-report-footer small {
    color: var(--text-secondary);
}

.insight-report-footer .footer-brand,
.insight-report-footer-cta {
    color: var(--white);
}

.insight-report-footer-contact span {
    color: var(--accent-light);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.insight-report-footer-links a,
.insight-report-footer-contact a {
    width: fit-content;
    text-decoration: none;
    transition: color var(--transition), transform var(--transition);
}

.insight-report-footer-links a:hover,
.insight-report-footer-contact a:hover {
    color: var(--accent-light);
    transform: translateX(3px);
}

@media (max-width: 760px) {
    .insight-report-footer {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 32px 24px;
    }
}

/* --------------------------------------------------------------------------
   Header — Dark Theme Override (for Insight Report pages)
   -------------------------------------------------------------------------- */
body.assessment-page .site-header {
    color: var(--text-primary);
    background: rgba(15, 12, 9, 0.88);
    border-bottom-color: var(--border-subtle);
    backdrop-filter: blur(22px) saturate(1.2);
    -webkit-backdrop-filter: blur(22px) saturate(1.2);
}

body.assessment-page .site-header.scrolled,
body.assessment-page .site-header:focus-within {
    background: rgba(26, 21, 17, 0.96);
    border-bottom-color: rgba(217, 199, 178, 0.10);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

body.assessment-page .brand,
body.assessment-page .brand-mark {
    color: var(--white);
}

body.assessment-page .brand-mark {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

body.assessment-page .site-nav a {
    color: rgba(217, 199, 178, 0.76);
}

body.assessment-page .site-nav a:hover,
body.assessment-page .site-nav a.active {
    color: var(--text-primary);
}

body.assessment-page .site-nav a:not(.nav-cta)::after {
    background: var(--accent-light);
}

body.assessment-page .nav-cta {
    color: var(--white) !important;
    border-color: var(--accent-light);
    background: var(--accent);
    box-shadow: 0 6px 20px var(--accent-glow);
}

body.assessment-page .nav-cta:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    box-shadow: 0 6px 24px var(--accent-glow);
}

body.assessment-page .nav-toggle span {
    background: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Footer — Dark Theme Override (for Insight Report pages)
   -------------------------------------------------------------------------- */
body.assessment-page footer,
body.assessment-page .footer-links a {
    color: var(--text-muted);
}

body.assessment-page .footer-links a:hover {
    color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Skip Link — Dark Theme Accent
   -------------------------------------------------------------------------- */
body.assessment-page .skip-link:focus {
    background: var(--accent);
    color: var(--white);
    outline-color: var(--accent-light);
}


/* --------------------------------------------------------------------------
   Slide Subtitle Typewriter
   -------------------------------------------------------------------------- */
.slide-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 440px;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
    min-height: 1.4em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.subtitle-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    margin-right: 6px;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
}

.subtitle-text {
    display: inline;
}

.subtitle-cursor {
    display: inline-block;
    width: 1px;
    height: 1em;
    vertical-align: text-bottom;
    background: var(--accent-light);
    margin-left: 1px;
    animation: subtitle-cursor-blink 1s step-end infinite;
}

.is-typing .subtitle-cursor {
    animation: none;
}

@keyframes subtitle-cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .subtitle-cursor { display: none; }
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
    .assessment-topbar,
    .assessment-actions,
    .prezi-slide-controls,
    .progress-track,
    .carousel-arrow,
    .carousel-dots {
        display: none !important;
    }

    .slide {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
        page-break-after: always;
        min-height: auto;
        padding: 20px;
    }

    .slide.active {
        display: block !important;
    }

    body {
        background: #fff;
        color: #241a13;
    }

    .assessment-shell,
    .assessment-shell-prezi,
    .assessment-shell-v2 {
        width: 100%;
    }
}

/* Link copied toast popup (screen only, NOT inside print media query) */
.link-copied-toast {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--ad-accent, #2f6f68);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 90;
}

.link-copied-toast::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--ad-accent, #2f6f68);
}

.link-copied-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Toast parent needs relative positioning */
.assessment-top-meta,
.hero-actions {
    position: relative;
}

/* ==========================================================================
   Insight Summary Card — Last Slide (V07)
   ========================================================================== */
.prezi-v2-insight-summary-card {
    margin-top: 24px;
    padding: 22px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.prezi-v2-insight-summary-card h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-light);
    letter-spacing: 0.3px;
}

.prezi-v2-insight-summary-card > p {
    margin: 0 0 14px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.insight-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
}

.insight-summary-grid > div {
    padding: 10px 12px;
    background: var(--bg-alt);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
}

.insight-summary-grid > div strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent);
    margin-bottom: 4px;
}

.insight-summary-grid > div p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--text-primary);
}

@media (max-width: 640px) {
    .insight-summary-grid {
        grid-template-columns: 1fr;
    }
    .prezi-v2-insight-summary-card {
        padding: 16px 18px;
    }
}

/* Hide toast during print */
@media print {
    .link-copied-toast {
        display: none !important;
    }
}