:root {
    color-scheme: light;
    --ink: #16243a;
    --muted: #5d6b7e;
    --navy: #101b2c;
    --paper: #f5f7f9;
    --line: #e3e8ee;
    --mint: #8ce0c1;
    --mint-dark: #176e57;
    --pass: #197354;
    --warn: #a96810;
    --fail: #b63b38;
    --info: #63738a;
}

* { box-sizing: border-box; }
html { background: var(--navy); }
body { background: var(--paper); }
body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { cursor: pointer; }
.site-header {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(28px, calc((100vw - 1120px) / 2));
    color: #fff;
    background: var(--navy);
}
/* Neon terminal wordmark carried over from the original myauditlab.com page. */
.brand {
    color: #00ff00;
    font-family: "Courier New", Courier, monospace;
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 0 0 10px #00ff00;
}
.header-note, .eyebrow {
    color: #9fb0c2;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .16em;
}
.shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.hero {
    position: relative;
    overflow: hidden;
    margin: 50px 0 28px;
    padding: 52px 56px 38px;
    border-radius: 20px;
    color: #fff;
    background:
        radial-gradient(ellipse at 87% 8%, rgba(90, 174, 145, .2), transparent 32%),
        linear-gradient(135deg, #14243a, #101b2c 65%);
    box-shadow: 0 20px 55px rgba(16, 27, 44, .11);
}
.hero .eyebrow { margin: 0 0 14px; color: var(--mint); }
.hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(35px, 5vw, 57px);
    line-height: 1.08;
    letter-spacing: -.045em;
}
.hero h1 span { color: var(--mint); }
.hero-copy { max-width: 645px; margin: 19px 0 26px; color: #c1ced9; font-size: 16px; }
.audit-form { max-width: 690px; }
.audit-form label { display: block; margin-bottom: 8px; color: #e8eef2; font-size: 13px; font-weight: 650; }
.input-row { display: flex; gap: 10px; }
.input-row input, .rerun-form input {
    min-width: 0;
    flex: 1;
    height: 54px;
    padding: 0 17px;
    border: 1px solid #d9e0e7;
    border-radius: 9px;
    outline: none;
    color: var(--ink);
    background: #fff;
}
.input-row input:focus, .rerun-form input:focus { border-color: #65bd9c; box-shadow: 0 0 0 3px rgba(101, 189, 156, .2); }
.input-row button, .rerun-form button {
    display: inline-flex;
    min-width: 174px;
    height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 18px;
    border: 0;
    border-radius: 9px;
    color: #102b25;
    background: var(--mint);
    font-weight: 750;
    transition: background .15s ease, transform .15s ease;
}
.input-row button:hover, .rerun-form button:hover { transform: translateY(-1px); background: #a3ebd0; }
.input-row button:disabled, .rerun-form button:disabled { cursor: wait; opacity: .75; }
.input-row button.is-scanning, .rerun-form button.is-scanning { opacity: 1; }
.scan-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scan-step { animation: scan-step .35s ease-out; }
.scan-spinner { flex: 0 0 auto; width: 15px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: scan-spin .8s linear infinite; }
@keyframes scan-step { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes scan-spin { to { transform: rotate(360deg); } }
.form-note { margin: 9px 0 0; color: #aab9c8; font-size: 12px; }
.form-error, .rerun-panel .form-error { margin: 14px 0 0; padding: 10px 13px; border: 1px solid #ff4d4d66; border-radius: 10px; color: #ff6b6b; background: #ff3b3b17; font-size: 13px; animation: error-pulse 2.4s ease-in-out infinite; }
@keyframes error-pulse { 0%, 100% { border-color: #ff4d4d66; box-shadow: 0 0 0 0 #ff4d4d00; } 50% { border-color: #ff4d4dcc; box-shadow: 0 0 0 4px #ff4d4d24; } }
.trust-strip { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #c1ced9; font-size: 12px; }
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.card-number { color: #3c8c72; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.method-note { margin: 18px 3px 50px; color: var(--muted); font-size: 12px; }

.report-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.button-secondary {
    height: 40px;
    padding: 0 13px;
    border: 1px solid #d4dce5;
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    font-size: 12px;
    font-weight: 650;
}
.button-secondary:hover { border-color: #88bba7; }
.metric-track { height: 7px; overflow: hidden; margin-top: 7px; border-radius: 10px; background: #e9edf0; }
.metric-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: #d49a4e; transition: width .2s ease; }
.citation-track span { background: #69a88c; }
.score-method { margin: 12px 0 0; color: var(--muted); font-size: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid > div { display: grid; gap: 7px; }
.prompt-copy { flex: 0 0 auto; padding: 5px 10px; border: 1px solid #88bba7; border-radius: 6px; color: var(--mint-dark); background: #fff; font-size: 11px; font-weight: 700; }
.prompt-copy:disabled { opacity: .5; cursor: default; }
.evidence-remove { padding: 4px 7px; border: 1px solid #e4d4d4; border-radius: 5px; color: #995350; background: #fff; font-size: 10px; }
.roadmap-section { margin: 44px 0; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.roadmap-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 21px; }
.roadmap-heading .eyebrow, .roadmap-lock-heading .eyebrow, .upgrade-copy .eyebrow { margin: 0 0 5px; color: var(--mint-dark); }
.roadmap-heading h2 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.roadmap-heading p:last-child { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.roadmap-preview-badge { flex: 0 0 auto; padding: 7px 10px; border: 1px solid #c9e9dc; border-radius: 20px; color: #246d55; background: #eff8f4; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.roadmap-skills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.roadmap-skills article { min-height: 139px; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: #fafbfc; }
.roadmap-skills article > span { color: var(--mint-dark); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.roadmap-skills h3 { margin: 5px 0; font-size: 12px; line-height: 1.35; }
.roadmap-skills p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.roadmap-free-label { display: flex; align-items: center; justify-content: space-between; margin: 25px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.roadmap-free-label strong { color: var(--ink); font-size: 10px; }
.roadmap-preview-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.roadmap-week-card { padding: 18px; border: 1px solid #dce4e9; border-radius: 10px; background: #fff; }
.roadmap-week-top { display: flex; justify-content: space-between; gap: 10px; }
.roadmap-week-number { color: var(--mint-dark); font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.roadmap-days { color: var(--muted); font-size: 9px; }
.roadmap-week-card > h3 { margin: 8px 0 5px; font-size: 16px; line-height: 1.3; letter-spacing: -.02em; }
.roadmap-objective { margin: 0; color: var(--muted); font-size: 11px; }
.roadmap-skill-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.roadmap-skill-tags span { padding: 3px 7px; border-radius: 12px; color: #476576; background: #edf3f5; font-size: 9px; font-weight: 750; }
.roadmap-week-card > h4 { margin: 16px 0 7px; font-size: 11px; }
.roadmap-task-list { display: grid; gap: 8px; margin: 0; padding-left: 18px; color: #45546a; font-size: 10px; line-height: 1.5; }
.roadmap-task-list li { padding-left: 2px; }
.roadmap-task-list li::marker { color: #458a70; font-weight: 800; }
.roadmap-personalized { padding: 9px 10px; border-radius: 7px; background: #f3f7f5; list-style-position: inside; }
.roadmap-personalized > strong { color: #275e4e; }
.roadmap-personalized ul { display: grid; gap: 6px; margin: 7px 0 0; padding-left: 16px; list-style: disc; }
.roadmap-personalized ul li::marker { color: #9c6830; }
.roadmap-outcome { display: grid; gap: 6px; margin-top: 14px; padding: 11px; border-radius: 7px; background: #f5f7f9; }
.roadmap-outcome p { margin: 0; color: #5f6c7d; font-size: 10px; }
.roadmap-outcome strong { color: #2d4054; }
.roadmap-sources { margin-top: 11px; font-size: 10px; }
.roadmap-sources summary { color: #386e5e; cursor: pointer; font-weight: 700; }
.roadmap-sources ul { display: grid; gap: 5px; margin: 8px 0; padding-left: 17px; }
.roadmap-sources a, .roadmap-evidence-note a { color: #355f76; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.roadmap-lock-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 28px 0 10px; }
.roadmap-lock-heading h3 { margin: 0; font-size: 19px; }
.roadmap-lock-heading p:last-child { max-width: 620px; margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.locked-count { flex: 0 0 auto; padding: 5px 8px; border: 1px solid #e2e6eb; border-radius: 14px; color: #68788a; background: #f7f8fa; font-size: 9px; font-weight: 750; }
.roadmap-locked-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.roadmap-locked-week { display: grid; grid-template-columns: 83px 1fr auto; align-items: center; gap: 8px; min-height: 42px; padding: 7px 10px; border: 1px solid #e8ebef; border-radius: 7px; color: #929eac; background: #fafbfc; }
.roadmap-locked-week > span:first-child { font-size: 9px; }
.roadmap-locked-week > strong { color: #5f6d7c; font-size: 10px; font-weight: 650; }
.roadmap-locked-week .lock-label { font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.roadmap-upgrade { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 17px; margin-top: 19px; padding: 20px; border-radius: 10px; color: #fff; background: var(--navy); }
.upgrade-icon { display: grid; width: 51px; height: 51px; place-items: center; border: 1px solid rgba(140, 224, 193, .45); border-radius: 13px; color: var(--mint); font-size: 17px; font-weight: 850; }
.upgrade-copy .eyebrow { color: var(--mint); font-size: 9px; }
.upgrade-copy h3 { margin: 0; font-size: 15px; line-height: 1.35; }
.upgrade-copy p:last-child { max-width: 620px; margin: 5px 0 0; color: #b8c4d0; font-size: 10px; }
.upgrade-action { display: grid; justify-items: stretch; gap: 6px; }
.upgrade-action button { min-width: 142px; min-height: 38px; padding: 0 12px; border: 0; border-radius: 7px; color: #263849; background: #b8c5d0; font-size: 10px; font-weight: 750; }
.upgrade-action button:disabled { cursor: not-allowed; opacity: .86; }
.upgrade-action span { max-width: 160px; color: #aab8c5; font-size: 9px; text-align: center; }
.roadmap-evidence-note { margin-top: 14px; padding: 12px 13px; border-left: 3px solid #96b8aa; border-radius: 0 7px 7px 0; color: #5b697b; background: #eef3f1; font-size: 10px; line-height: 1.55; }
.roadmap-evidence-note > strong { color: #2d4f42; }
.roadmap-methodology { margin-top: 9px; }
.roadmap-methodology > p { margin: 7px 0 0; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 26px 0 12px; }
.section-heading h2 { margin: 0; font-size: 18px; letter-spacing: -.025em; }
.section-heading > span { color: var(--muted); font-size: 11px; }
.check-list { display: grid; gap: 9px; }
.check-card { display: grid; grid-template-columns: 132px 1fr; gap: 15px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.check-status { display: inline-flex; align-items: flex-start; gap: 7px; padding-top: 2px; font-size: 11px; font-weight: 750; }
.check-status span { width: 7px; height: 7px; flex: 0 0 auto; margin-top: 5px; border-radius: 50%; background: currentColor; }
.status-pass { color: var(--pass); }.status-warn { color: var(--warn); }.status-fail { color: var(--fail); }.status-info { color: var(--info); }
.check-body h3 { margin: 0; font-size: 14px; }
.check-body p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.check-body .recommendation { margin-top: 8px; color: #39485d; }
.recommendation strong { margin-right: 4px; color: var(--mint-dark); }
.page-section { margin-top: 39px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 11px; }
th, td { padding: 11px 12px; border-bottom: 1px solid #edf0f3; text-align: left; vertical-align: top; }
th { color: #67758a; background: #fafbfc; font-size: 10px; font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }
.url-cell { min-width: 200px; max-width: 300px; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.page-error { display: block; margin-top: 4px; color: var(--fail); font-family: inherit; }
.limits-note { margin-top: 26px; padding: 16px 18px; border-left: 3px solid #97b8ad; border-radius: 0 8px 8px 0; background: #eaf0ee; font-size: 12px; }
.limits-note strong { font-size: 12px; }
.limits-note p { margin: 4px 0 0; color: #536378; }
.rerun-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin: 30px 0 48px; padding: 22px 24px; border-radius: 12px; color: #fff; background: var(--navy); }
.rerun-panel h2 { margin: 0; font-size: 16px; }
.rerun-panel p { margin: 3px 0 0; color: #aebccc; font-size: 11px; }
.rerun-form { display: flex; gap: 8px; }
.rerun-form input { width: 220px; height: 43px; font-size: 12px; }
.rerun-form button { min-width: 128px; height: 43px; font-size: 12px; }
.rerun-panel > .form-error { flex-basis: 100%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.site-footer { display: flex; justify-content: space-between; gap: 15px; padding: 20px max(28px, calc((100vw - 1120px) / 2)); border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.site-footer span:first-child { color: var(--ink); font-weight: 800; letter-spacing: .12em; }

@media (max-width: 800px) {
    .hero { padding: 42px 34px 31px; }
}
@media (max-width: 600px) {
    .site-header { min-height: 64px; padding: 0 20px; }
    .header-note { font-size: 8px; }
    .shell { width: min(100% - 32px, 520px); }
    .hero { margin-top: 22px; padding: 31px 22px 25px; border-radius: 14px; }
    .hero h1 { font-size: 37px; }
    .hero-copy { font-size: 14px; }
    .input-row { flex-direction: column; }
    .input-row button { width: 100%; }
    .trust-strip { gap: 12px 17px; }
    .method-note { margin-bottom: 35px; }
    .roadmap-section { margin: 28px 0 34px; padding: 17px; }
    .roadmap-heading, .roadmap-lock-heading { align-items: flex-start; flex-direction: column; }
    .roadmap-skills { grid-template-columns: repeat(2, 1fr); }
    .roadmap-preview-list, .roadmap-locked-grid { grid-template-columns: 1fr; }
    .roadmap-upgrade { grid-template-columns: auto 1fr; gap: 12px; }
    .upgrade-action { grid-column: 1 / -1; justify-self: stretch; }
    .upgrade-action span { max-width: none; text-align: left; }
    .form-grid { grid-template-columns: 1fr; }
    .check-card { grid-template-columns: 1fr; gap: 4px; padding: 14px 15px; }
    .section-heading h2 { font-size: 16px; }
    .section-heading > span { font-size: 9px; text-align: right; }
    .rerun-panel { align-items: stretch; flex-direction: column; padding: 19px; }
    .rerun-form input { width: 100%; }
    .rerun-form button { min-width: 112px; }
    .site-footer { padding: 17px 20px; font-size: 9px; }
}
@media print {
    @page { margin: 15mm; }
    html, body { background: #fff; }
    .site-header, .report-actions, .rerun-panel, .site-footer { display: none !important; }
    .shell { width: 100%; }
    .report-hero, .category-row, .check-card, .table-wrap, .limits-note, .found-panel, .evidence-card, .signal-group { break-inside: avoid; box-shadow: none; }
    .found-link, .evidence-toggle, .when-open, .when-closed { display: none !important; }
    .roadmap-week-card, .roadmap-skills article, .roadmap-upgrade, .roadmap-locked-week { break-inside: avoid; }
    .roadmap-section { padding: 0; border: 0; }
    .upgrade-action button { display: none; }
    .upgrade-action span { max-width: none; color: #d0d9e2; text-align: left; }
    .check-card { grid-template-columns: 112px 1fr; }
    .page-section { break-before: auto; }
}

/* Audit scope (home) */
.scope-section { margin-bottom: 8px; }
.scope-heading { max-width: 640px; margin: 8px 3px 18px; }
.scope-heading .eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 6px; color: var(--mint-dark); }
.scope-heading .eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--mint-dark); }
.scope-heading h2 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.scope-heading p:last-child { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.scope-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.scope-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.scope-card-copy { min-width: 0; padding: 20px; }
.scope-card h3 { margin: 0 0 9px; font-size: 16px; line-height: 1.35; letter-spacing: -.01em; }
.scope-icon-heading { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 9px; padding: 22px 10px; border-right: 1px solid #e3efe7; background: #f3f9f5; }
.scope-area-number { color: #6f8c7d; font-size: 11px; font-weight: 750; line-height: 1; letter-spacing: .12em; }
.scope-icon { display: block; width: 30px; height: 30px; color: var(--mint-dark); }
.scope-card h4 { margin: 0 0 6px; color: #39485d; font-size: 13px; line-height: 1.4; font-weight: 600; }
.scope-card p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.scope-checks { margin: 15px 0 0; padding-left: 18px; color: #39485d; font-size: 12.5px; line-height: 1.55; }
.scope-checks li { padding-left: 3px; margin-top: 5px; }
.scope-checks li::marker { color: #176e57; }

/* Report summary: hero card + category overview */
.tone-high { --tone: #197354; --tone-soft: #dff5ea; --tone-line: #b7e4cc; }
.tone-mid { --tone: #d9830b; --tone-soft: #fdf1d8; --tone-line: #f3d9a4; }
.tone-low { --tone: #c9403c; --tone-soft: #fbe3e2; --tone-line: #f2c3c1; }
.tone-none { --tone: #8390a1; --tone-soft: #eef1f4; --tone-line: #dfe4ea; }
.ring-svg { display: block; }
.ring-track { stroke: #edf0f3; }
.ring-arc { stroke: var(--tone); }
.report-summary { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 22px; align-items: start; margin: 38px 0 10px; }
.report-summary-main { display: grid; gap: 18px; }
.report-hero { padding: 24px 26px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 14px 40px rgba(16, 27, 44, .07); }
.report-hero-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.report-site { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
.site-mark { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid #b7e4cc; border-radius: 9px; color: var(--mint-dark); background: #eff8f4; font-weight: 800; }
.site-mark.has-logo { overflow: hidden; padding: 3px; border-color: #dfe4ea; background: #fff; }
.site-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.report-site h1 { min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: clamp(20px, 2.6vw, 25px); letter-spacing: -.03em; }
.grade-pill { padding: 3px 10px; border-radius: 20px; color: #fff; background: var(--tone); font-size: 11px; font-weight: 800; }
.rescan-form { flex: 0 0 auto; }
.rescan-form .button-secondary { height: 34px; }
.scan-meta { display: flex; align-items: center; gap: 7px; margin: 12px 0 0; color: var(--mint-dark); font-family: ui-monospace, "Courier New", monospace; font-size: 10px; letter-spacing: .1em; }
.scan-meta i { width: 6px; height: 6px; border-radius: 50%; background: #22b573; }
.report-verdict { margin: 6px 0 0; color: #536378; font-size: 13px; }
.report-hero-body { display: grid; grid-template-columns: auto 132px minmax(0, 1fr); gap: 18px; align-items: center; margin: 18px 0 0; padding-bottom: 18px; border-bottom: 1px solid #edf0f3; }
.hero-score { position: relative; width: 150px; height: 150px; }
.hero-score-value { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-score-value strong { color: var(--tone); font-size: 44px; line-height: 1; letter-spacing: -.04em; }
.hero-score-value span { margin-top: 6px; color: #8390a1; font-size: 7.5px; font-weight: 750; letter-spacing: .12em; }
.hero-counts { display: grid; gap: 8px; }
.count-tile { display: flex; align-items: baseline; gap: 10px; padding: 8px 12px; border: 1px solid; border-radius: 8px; }
.count-tile strong { font-size: 19px; line-height: 1; }
.count-tile span { font-family: ui-monospace, "Courier New", monospace; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.count-pass { border-color: #b7e4cc; color: #197354; background: #eefaf3; }
.count-fail { border-color: #f2c3c1; color: #c9403c; background: #fdf1f0; }
.count-warn { border-color: #f3d9a4; color: #b86e06; background: #fef9ec; }
.ai-view { min-width: 0; padding: 11px 12px; border: 1px solid #dfe4ea; border-radius: 10px; background: #f8fafb; }
.ai-view-label { margin: 0 0 7px; color: #8390a1; font-size: 8.5px; font-weight: 800; letter-spacing: .12em; }
.ai-view dl { display: grid; gap: 5px; margin: 0; }
.ai-view dt { color: #8390a1; font-size: 9px; font-weight: 700; }
.ai-view dd { display: -webkit-box; margin: 0; overflow: hidden; color: var(--ink); font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.category-rings { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.category-ring { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 2px; border-radius: 10px; color: var(--ink); text-align: center; text-decoration: none; }
.category-ring:hover { background: #f5f7f9; }
.ring-wrap { position: relative; display: grid; place-items: center; margin-bottom: 4px; }
.ring-wrap b { position: absolute; color: var(--tone); font-family: ui-monospace, "Courier New", monospace; font-size: 14px; }
.category-ring strong { font-size: 10.5px; font-weight: 650; line-height: 1.25; }
.category-ring small { color: #8390a1; font-family: ui-monospace, "Courier New", monospace; font-size: 9.5px; }
.report-hero .report-actions { justify-content: flex-end; margin-top: 14px; }
.overview-intro { padding: 20px 22px; border: 1px solid #d5ead9; border-radius: 13px; background: #f0f6ec; }
.overview-intro h2 { margin: 0; font-size: 19px; letter-spacing: -.02em; }
.overview-intro p { margin: 6px 0 0; color: #536378; font-size: 13px; }
.category-rows { display: grid; gap: 12px; }
.category-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: #fff; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.category-row:hover { border-color: #b9d9cc; transform: translateY(-1px); }
.category-pill { display: grid; height: 40px; place-items: center; border: 1px solid var(--tone-line); border-radius: 22px; color: var(--tone); background: var(--tone-soft); font-size: 15px; font-weight: 800; }
.category-copy strong { display: block; font-size: 17px; line-height: 1.35; letter-spacing: -.015em; }
.category-copy em { color: var(--muted); font-size: 14px; font-style: normal; font-weight: 450; }
.category-copy > span { display: block; margin-top: 3px; color: #40516a; font-size: 13px; }
.section-question { margin-left: 6px; color: var(--muted); font-size: 13px; font-weight: 450; letter-spacing: 0; }
.check-signal { display: inline-block; margin-bottom: 5px; padding: 2px 8px; border-radius: 20px; color: #246d55; background: #eff8f4; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.findings .section-heading { scroll-margin-top: 16px; }

/* Status glyphs + bars */
.st { display: inline-grid; width: 16px; flex: 0 0 auto; place-items: center; font-style: normal; font-weight: 800; }
.st-pass { color: var(--pass); }.st-fail { color: var(--fail); }.st-warn { color: var(--warn); }.st-info { color: #a3adba; }
.bar-svg { display: block; width: 100%; height: 6px; }
.bar-track { fill: #e6f4ee; }
.bar-fill { fill: var(--tone, #1fb57a); }

/* What we found */
.found-panel { margin: 22px 0 14px; padding: 24px 26px; border: 1px solid #8ee0bf; border-radius: 16px; background: linear-gradient(160deg, #eefaf4, #fff 60%); box-shadow: 0 14px 40px rgba(16, 27, 44, .06); }
.found-panel .eyebrow { margin: 0 0 8px; color: var(--mint-dark); }
.found-panel h2 { margin: 0; overflow-wrap: anywhere; font-size: 22px; letter-spacing: -.025em; }
.found-lead { margin: 6px 0 16px; color: #536378; font-size: 13px; }
.found-lead b { color: #149a63; font-family: ui-monospace, "Courier New", monospace; }
.found-panel .bar-svg { --tone: #1fb57a; height: 7px; }
.found-list { display: grid; margin: 18px 0 0; padding: 12px 0 0; border-top: 1px solid #d9efe5; list-style: none; }
.found-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; font-weight: 600; }
.found-list li > span:nth-child(2) { flex: 1; min-width: 0; }
.found-list small { display: block; color: var(--muted); font-size: 10.5px; font-weight: 450; }
.severity { flex: 0 0 auto; padding: 2px 8px; border: 1px solid; border-radius: 20px; font-size: 10px; font-style: normal; font-weight: 700; }
.severity-critical { border-color: #f2c3c1; color: #c9403c; background: #fdf1f0; }
.severity-high { border-color: #f5d3b8; color: #c2571a; background: #fff5ed; }
.severity-medium { border-color: #f3d9a4; color: #a96810; background: #fef9ec; }
.found-more { margin: 6px 0 0; color: var(--mint-dark); font-size: 12px; font-weight: 700; }
.found-link { display: inline-flex; gap: 8px; margin-top: 16px; padding: 9px 16px; border: 1px solid #8ee0bf; border-radius: 22px; color: var(--mint-dark); background: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.found-link:hover { border-color: var(--mint-dark); }
.blocker-callout { margin: 0 0 12px; padding: 14px 17px; border: 1px solid #f2c3c1; border-radius: 12px; color: #a3302c; background: #fcefee; }
.blocker-callout strong { font-size: 13.5px; }
.blocker-callout p { margin: 4px 0 0; font-size: 13px; }
.scan-note { margin: 0 0 8px; padding: 10px 14px; border-radius: 9px; color: #536378; background: #eef1f4; font-size: 12px; }

/* Category scorecard */
.scorecard { margin: 34px 0 0; padding: 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.scorecard-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.scorecard-head .eyebrow { margin: 0 0 5px; color: #8390a1; }
.scorecard-head h2 { margin: 0; font-size: 21px; letter-spacing: -.025em; }
.scorecard-head p:last-child { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; }
.scorecard-score { flex: 0 0 auto; text-align: right; }
.scorecard-score strong { display: block; color: var(--tone); font-size: 30px; line-height: 1; }
.scorecard-score span { color: #8390a1; font-family: ui-monospace, "Courier New", monospace; font-size: 9px; letter-spacing: .1em; }
.status-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 16px 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; color: #536378; background: #fafbfc; font-size: 11px; }
.status-legend span { display: inline-flex; align-items: center; gap: 4px; }
.scorecard-cat { margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.scorecard-cat[open] { background: #fafbf8; }
.scorecard-cat > summary { display: grid; gap: 7px; padding: 14px 17px; cursor: pointer; list-style: none; }
.scorecard-cat > summary::-webkit-details-marker, .check-row > summary::-webkit-details-marker { display: none; }
.cat-line { display: flex; align-items: center; gap: 9px; }
.cat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tone); }
.cat-line strong { font-size: 14.5px; }
.rating-pill { padding: 1px 9px; border: 1px solid var(--tone-line); border-radius: 20px; color: var(--tone); background: var(--tone-soft); font-size: 10px; font-weight: 700; }
.cat-score { margin-left: auto; color: var(--tone); font-family: ui-monospace, "Courier New", monospace; font-size: 16px; }
.scorecard-cat .bar-svg { height: 5px; }
.scorecard-cat .bar-track { fill: #edf0f3; }
.cat-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: var(--muted); font-size: 11.5px; }
.cat-meta > span:last-child { color: #8390a1; font-family: ui-monospace, "Courier New", monospace; font-size: 10px; }
.cat-meta em { margin-left: 6px; color: var(--mint-dark); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-style: normal; font-weight: 700; }
.scorecard-cat .when-open, .scorecard-cat[open] .when-closed { display: none; }
.scorecard-cat[open] .when-open { display: inline; }
.cat-body { padding: 4px 17px 14px; border-top: 1px solid var(--line); }
.signal-group { margin-top: 14px; }
.signal-head { display: flex; align-items: baseline; gap: 9px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.signal-head strong { font-size: 12.5px; }
.signal-head span { flex: 1; color: #8390a1; font-size: 11px; }
.signal-head b { padding: 1px 8px; border-radius: 12px; color: #69778c; background: #eef1f4; font-family: ui-monospace, "Courier New", monospace; font-size: 10px; }
.check-rows { margin: 0; padding: 0; list-style: none; }
.check-row > summary { display: flex; align-items: center; gap: 9px; padding: 7px 2px; cursor: pointer; list-style: none; font-size: 12.5px; }
.check-row > summary:hover .check-title { color: var(--mint-dark); }
.check-title { flex: 1; min-width: 0; }
.evidence-toggle { flex: 0 0 auto; color: var(--mint-dark); font-size: 10.5px; font-weight: 700; }
.check-row[open] .evidence-toggle { color: #8390a1; }
.check-evidence { margin: 0 0 8px 25px; padding: 10px 13px; border-left: 2px solid #c9e9dc; border-radius: 0 8px 8px 0; background: #fff; }
.check-evidence p { margin: 0; color: #536378; font-size: 12px; overflow-wrap: anywhere; }
.check-evidence .recommendation { margin-top: 7px; color: #39485d; }

/* Evidence behind the score */
.evidence-section { margin: 38px 0 0; }
.evidence-section > h2 { margin: 0; font-size: 21px; letter-spacing: -.025em; }
.evidence-intro { margin: 3px 0 14px; color: var(--muted); font-size: 12.5px; }
.evidence-card { margin-top: 14px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(16, 27, 44, .05); }
.evidence-card .eyebrow { margin: 0 0 6px; color: #8390a1; }
.evidence-card h3 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.evidence-card > p { margin: 6px 0 0; color: #536378; font-size: 13px; }
.evidence-card h4 { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.evidence-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.evidence-tile { padding: 14px 15px; border: 1.5px solid #dfe4ea; border-radius: 12px; }
.evidence-tile > span { color: #69778c; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; }
.evidence-tile strong { display: block; margin: 4px 0 2px; color: var(--tone, var(--ink)); font-size: 30px; line-height: 1.1; }
.evidence-tile p { margin: 0; color: #536378; font-size: 11.5px; }
.bot-list { display: grid; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 12px; }
.bot-list li { display: flex; justify-content: space-between; gap: 8px; }
.bot-list b { font-size: 11px; }
.evidence-foot { margin-top: 14px !important; color: #8390a1 !important; font-size: 11px !important; }
.evidence-card .blocker-callout { margin-top: 16px; }
.schema-found { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 14px !important; }
.schema-found span { margin-right: 3px; color: #8390a1; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.schema-found b { padding: 2px 8px; border: 1px solid #dfe4ea; border-radius: 6px; color: #39485d; background: #fafbfc; font-family: ui-monospace, "Courier New", monospace; font-size: 11px; font-weight: 500; }
.schema-entities { margin-top: 8px !important; font-size: 12px !important; }
.needs-intro { margin-top: 2px !important; color: var(--muted) !important; font-size: 12px !important; }
.needs-list { display: grid; gap: 9px; margin-top: 12px; }
.need-item { padding: 12px 14px; border: 1px solid #f5d6d4; border-radius: 10px; background: #fdf8f8; }
.need-item.need-found { border-color: #cfeadc; background: #f6fbf8; }
.need-head { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.need-head code { font-size: 12.5px; font-weight: 700; }
.need-tier { padding: 1px 8px; border: 1px solid #dfe4ea; border-radius: 20px; color: #536378; background: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: .05em; }
.need-status { padding: 1px 8px; border: 1px solid #f2c3c1; border-radius: 20px; color: #c9403c; background: #fdf1f0; font-size: 10px; font-weight: 700; }
.need-found .need-status { border-color: #b7e4cc; color: #197354; background: #eefaf3; }
.need-item p { margin: 6px 0 0; color: #536378; font-size: 12px; }
.file-status { margin: 12px 0 0 !important; padding: 9px 13px; border-radius: 9px; background: #f3f6f8; font-size: 12.5px !important; font-weight: 600; }
.file-status.status-pass { background: #eefaf3; }
.file-status.status-warn { background: #fef9ec; }
.file-status.status-fail { background: #fdf1f0; }
.file-status.status-info { color: #536378 !important; }
.evidence-card .table-wrap { margin-top: 12px; }
.robots-table td { vertical-align: middle; }
.robots-table code { font-size: 11px; font-weight: 700; }
.robots-table small { display: block; margin-top: 2px; color: #8390a1; font-size: 10px; }
.rule-pill { display: inline-block; padding: 1px 8px; border: 1px solid; border-radius: 20px; font-size: 10.5px; font-weight: 700; }
.rule-allowed { border-color: #b7e4cc; color: #197354; background: #eefaf3; }
.rule-partial { border-color: #cfe3d8; color: #3d7a5f; background: #f3f9f5; }
.rule-blocked { border-color: #f2c3c1; color: #c9403c; background: #fdf1f0; }
.muted { color: #a3adba; }
.file-facts { margin-top: 10px !important; font-size: 12.5px !important; }
.file-grid { display: grid; gap: 8px; margin: 12px 0 0; }
.file-grid > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding-bottom: 8px; border-bottom: 1px solid #edf0f3; }
.file-grid dt { color: #8390a1; font-size: 11px; font-weight: 700; }
.file-grid dd { margin: 0; color: var(--ink); font-size: 12.5px; overflow-wrap: anywhere; }
.chip { display: inline-block; margin: 0 5px 4px 0; padding: 1px 8px; border: 1px solid #c9e9dc; border-radius: 20px; color: #246d55; background: #eff8f4; font-size: 11px; font-weight: 650; }
.raw-file { margin-top: 12px; }
.raw-file > summary { color: var(--mint-dark); cursor: pointer; font-size: 12px; font-weight: 700; }
.raw-file pre { max-height: 320px; margin: 8px 0 0; padding: 12px 14px; overflow: auto; border: 1px solid #dfe4ea; border-radius: 9px; color: #39485d; background: #fafbfc; font-size: 11px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.bot-list b .st { width: 13px; }
.review-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px; margin-top: 12px; }
.review-flags { display: grid; gap: 3px; margin-top: 8px !important; }
.review-flags span { display: inline-flex; align-items: center; gap: 4px; }
.google-compare { display: grid; gap: 9px; padding: 14px 15px; border: 1.5px dashed #b9d9cc; border-radius: 12px; background: #f7fbf9; }
.google-compare > span { color: #69778c; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; }
.google-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.google-inputs label { display: grid; gap: 4px; color: #40516a; font-size: 11px; font-weight: 700; }
.google-inputs small { color: var(--muted); font-weight: 450; }
.google-inputs input { height: 38px; padding: 0 10px; border: 1px solid #d9e0e7; border-radius: 7px; outline: none; color: var(--ink); background: #fff; font-size: 13px; }
.google-inputs input:focus { border-color: #65bd9c; box-shadow: 0 0 0 3px rgba(101, 189, 156, .16); }
.google-compare .button-secondary { justify-self: start; }
.google-result { margin: 0; color: #536378; font-size: 12px; }
.google-result.status-pass, .google-result.status-warn, .google-result.status-fail { font-weight: 600; }
.google-tile { border-color: var(--tone-line, #dfe4ea); }
.google-verdict { margin-top: 8px !important; font-weight: 600; }
.google-attribution { margin-top: 8px !important; color: #8390a1 !important; font-size: 10.5px !important; }
.google-attribution a { color: var(--mint-dark); font-weight: 700; }
.pagespeed-status { margin: 14px 0 0 !important; padding: 10px 13px; border-radius: 9px; color: #536378 !important; background: #f3f6f8; font-size: 12px !important; }
.pagespeed-status.status-warn { color: #a96810 !important; background: #fef9ec; }
.evidence-tiles.pagespeed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pagespeed-field { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fafbfc; }
.pagespeed-field strong { font-size: 12.5px; }
.pagespeed-field p { display: flex; flex-wrap: wrap; gap: 6px; margin: 7px 0 0; color: #536378; font-size: 12px; }
.pagespeed-shot { float: right; width: 150px; margin: 14px 0 8px 16px; }
.pagespeed-shot img, .hero-shot img { display: block; width: 100%; border: 1px solid #dfe4ea; border-radius: 10px; box-shadow: 0 6px 18px rgba(16, 27, 44, .08); }
.pagespeed-shot figcaption, .hero-shot figcaption { margin-top: 5px; color: #8390a1; font-size: 9px; font-weight: 750; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.pagespeed-grid { clear: none; }
#pagespeed-evidence::after { display: block; clear: both; content: ""; }
.hero-shot { margin: 0 0 9px; }
.hero-shot img { max-height: 130px; object-fit: cover; object-position: top; }
.field-chip { padding: 3px 10px; border: 1px solid var(--tone-line); border-radius: 20px; color: var(--tone); background: var(--tone-soft); font-family: ui-monospace, "Courier New", monospace; font-size: 11.5px; font-weight: 700; }

@media (max-width: 980px) {
    .report-summary { grid-template-columns: 1fr; }
    .evidence-tiles.pagespeed-grid { grid-template-columns: 1fr 1fr; }
    .pagespeed-shot { float: none; width: 60%; margin: 14px auto 0; }
}
@media (max-width: 800px) {
    .scope-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .scope-grid { grid-template-columns: 1fr; gap: 9px; }
    .scope-card { grid-template-columns: 60px minmax(0, 1fr); padding: 0; }
    .scope-icon-heading { padding: 17px 8px; gap: 8px; }
    .scope-card-copy { padding: 17px 16px; }
    .scope-icon { width: 26px; height: 26px; }
    .report-summary { margin-top: 24px; }
    .report-hero { padding: 18px 16px 16px; }
    .report-hero-body { grid-template-columns: auto minmax(0, 1fr); }
    .hero-score { width: 150px; height: 150px; }
    .ai-view { grid-column: 1 / -1; }
    .category-rings { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 12px; }
    .category-row { grid-template-columns: 70px minmax(0, 1fr); gap: 13px; padding: 15px 16px; }
    .category-copy strong { font-size: 15px; }
    .category-copy em { display: block; font-size: 12.5px; }
    .section-question { display: block; margin: 3px 0 0; }
    .found-panel, .scorecard, .evidence-card { padding: 18px 16px; }
    .found-panel h2 { font-size: 19px; }
    .scorecard-head { flex-direction: column; gap: 8px; }
    .scorecard-score { text-align: left; }
    .status-legend { justify-content: flex-start; }
    .scorecard-cat > summary, .cat-body { padding-left: 13px; padding-right: 13px; }
    .signal-head { flex-wrap: wrap; }
    .signal-head span { flex-basis: 100%; order: 3; }
    .signal-head b { margin-left: auto; }
    .check-evidence { margin-left: 0; }
    .evidence-tiles, .review-grid, .google-inputs { grid-template-columns: 1fr; }
    .file-grid > div { grid-template-columns: 1fr; gap: 2px; }
    .evidence-tiles.pagespeed-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
    .report-hero-body { grid-template-columns: 1fr; justify-items: center; }
    .hero-counts { width: 100%; grid-template-columns: repeat(3, 1fr); }
    .count-tile { flex-direction: column; align-items: center; gap: 4px; }
}
@media print {
    .report-summary { grid-template-columns: 1fr; }
    .rescan-form { display: none; }
}

/* Downloadable roadmap document: print-only, Redfern Media branded */
.roadmap-doc { display: none; }
@page roadmap {
    size: Letter;
    margin: 16mm 16mm 19mm;
    @top-right { content: "90-Day AEO Implementation Roadmap"; color: #8a9099; font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 8pt; }
    @bottom-left { content: "Redfern Media  ·  redfernmedia.com  ·  +1 512-768-9779"; color: #8a9099; font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 8pt; }
    @bottom-right { content: "Page " counter(page) " of " counter(pages); color: #8a9099; font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 8pt; }
}
@page roadmap:first {
    @top-right { content: none; }
}
@media print {
    body.print-roadmap { background: #fff; }
    body.print-roadmap > :not(.roadmap-doc) { display: none !important; }
    body.print-roadmap .roadmap-doc { display: block; }
}
.roadmap-doc {
    --rf-red: #e2392f;
    --rf-ink: #1f2329;
    --rf-text: #3a4048;
    --rf-muted: #6f7680;
    --rf-line: #e4e6ea;
    --rf-soft: #f5f6f8;
    page: roadmap;
    color: var(--rf-text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 10.5pt;
    line-height: 1.55;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}
.roadmap-doc h1, .roadmap-doc h2, .roadmap-doc h3, .roadmap-doc h4 { color: var(--rf-ink); line-height: 1.25; }
.roadmap-doc p { margin: 0; }
.roadmap-doc .doc-empty { color: var(--rf-muted); font-style: italic; }

.doc-brandbar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 3px solid var(--rf-red); }
.doc-redfern-logo { display: block; width: 170px; height: auto; }
.doc-brandbar-meta { display: grid; justify-items: end; gap: 2px; }
.doc-brandbar-meta span { color: var(--rf-muted); font-size: 7.5pt; font-weight: 700; letter-spacing: .16em; }
.doc-brandbar-meta strong { color: var(--rf-ink); font-size: 10pt; }
.doc-title-block { padding: 30px 0 22px; }
.doc-kicker { color: var(--rf-red); font-size: 9pt; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.doc-kicker .doc-empty { color: var(--rf-red); font-style: normal; }
.doc-title-block h1 { margin: 8px 0 0; font-size: 26pt; letter-spacing: -.02em; }
.doc-subtitle { max-width: 520px; margin-top: 10px !important; color: var(--rf-muted); font-size: 11.5pt; }

.doc-client { padding: 18px 20px; border: 1px solid var(--rf-line); border-left: 4px solid var(--rf-red); border-radius: 8px; background: var(--rf-soft); break-inside: avoid; }
.doc-client-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.doc-client-head h2 { margin: 0; font-size: 12pt; }
.doc-client-logo { display: flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; padding: 4px 6px; border: 1px solid var(--rf-line); border-radius: 8px; background: #fff; }
.doc-client-logo img { display: block; width: auto; height: 32px; max-width: 150px; object-fit: contain; }
.doc-client-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0; }
.doc-client-grid dt { color: var(--rf-muted); font-size: 7.5pt; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.doc-client-grid dd { margin: 2px 0 0; color: var(--rf-ink); font-size: 11pt; font-weight: 600; overflow-wrap: anywhere; }
.doc-client-wide { grid-column: 1 / -1; }

.doc-section { padding-top: 26px; }
.doc-summary { break-before: page; padding-top: 0; }
.doc-glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; break-inside: avoid; }
.doc-glance div { padding: 14px 14px 12px; border: 1px solid var(--rf-line); border-radius: 8px; }
.doc-glance span { display: block; color: var(--rf-muted); font-size: 7.5pt; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.doc-glance strong { display: block; margin-top: 4px; color: var(--tone, var(--rf-ink)); font-size: 20pt; line-height: 1.1; }
.doc-glance small { color: var(--rf-muted); font-size: 10pt; font-weight: 600; }
.doc-cover-note { margin-top: 22px !important; padding-top: 12px; border-top: 1px solid var(--rf-line); color: var(--rf-muted); font-size: 9pt; }
.doc-phase, .doc-appendix { break-before: page; padding-top: 0; }
.doc-eyebrow { color: var(--rf-red); font-size: 7.5pt; font-weight: 800; letter-spacing: .16em; }
.doc-eyebrow-spaced { margin-top: 28px !important; }
.doc-section > h2 { margin: 4px 0 14px; font-size: 18pt; letter-spacing: -.015em; }
.doc-keep { break-inside: avoid; }
.doc-h3 { break-after: avoid; }
.doc-table tbody tr:last-child th, .doc-table tbody tr:last-child td { border-bottom: 1px solid var(--rf-line); }
.doc-h3 { margin: 24px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--rf-line); font-size: 12pt; }

.doc-score-row { display: flex; align-items: flex-start; gap: 20px; break-inside: avoid; }
.doc-score { display: grid; flex: 0 0 auto; width: 108px; justify-items: center; padding: 14px 10px; border: 2px solid var(--tone, var(--rf-ink)); border-radius: 12px; text-align: center; }
.doc-score strong { color: var(--tone, var(--rf-ink)); font-size: 32pt; line-height: 1; }
.doc-score span { color: var(--rf-muted); font-size: 8pt; }
.doc-score em { margin-top: 6px; padding: 2px 10px; border-radius: 999px; color: #fff; background: var(--tone, var(--rf-ink)); font-size: 8.5pt; font-style: normal; font-weight: 700; }
.doc-summary-copy { display: grid; gap: 8px; font-size: 10.5pt; }
.doc-summary-copy strong { color: var(--rf-ink); }

.doc-table { width: 100%; border-collapse: collapse; font-size: 9.5pt; }
.doc-table th, .doc-table td { padding: 8px 10px; border-bottom: 1px solid var(--rf-line); color: var(--rf-text); background: none; font-size: 9.5pt; text-align: left; vertical-align: top; }
.doc-table thead th { color: var(--rf-muted); background: var(--rf-soft); font-size: 7.5pt; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.doc-table tbody th { color: var(--rf-ink); font-weight: 700; }
.doc-table tr { break-inside: avoid; }
.doc-pillar-score { width: 110px; }
.doc-pillar-score b { display: block; color: var(--tone, var(--rf-ink)); font-size: 12pt; }
.doc-pillar-score .bar-svg { height: 5px; margin-top: 3px; }
.roadmap-doc .bar-track { fill: #eceef1; }

.doc-priorities, .doc-findings ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.doc-priorities li, .doc-findings li { display: flex; align-items: flex-start; gap: 10px; break-inside: avoid; }
.doc-priorities strong, .doc-findings strong { color: var(--rf-ink); }
.doc-priorities p, .doc-findings p { margin-top: 1px; color: var(--rf-text); font-size: 9.5pt; }
.doc-findings small { color: var(--rf-muted); font-size: 8pt; }
.doc-severity { flex: 0 0 64px; margin-top: 2px; padding: 2px 0; border-radius: 4px; font-size: 7pt; font-weight: 800; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.doc-severity-critical { color: #fff; background: #b3261e; }
.doc-severity-high { color: #8f1f19; background: #fbe3e1; }
.doc-severity-medium { color: #7a4d0b; background: #fbeed8; }

.doc-phase-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; break-inside: avoid; }
.doc-phase-tile { padding: 12px 14px; border: 1px solid var(--rf-line); border-top: 4px solid var(--phase); border-radius: 8px; }
.doc-phase-tile span { color: var(--phase); font-size: 7pt; font-weight: 800; letter-spacing: .1em; }
.doc-phase-tile strong { display: block; margin-top: 4px; color: var(--rf-ink); font-size: 11pt; line-height: 1.3; }
.doc-phase-tile p { margin-top: 5px; color: var(--rf-muted); font-size: 9pt; line-height: 1.45; }
.doc-phase-1 { --phase: #e2392f; }
.doc-phase-2 { --phase: #3a3f47; }
.doc-phase-3 { --phase: #5b7a99; }

.doc-phase-head { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border-radius: 10px; color: #fff; background: var(--phase); break-inside: avoid; }
.doc-phase-number { display: grid; flex: 0 0 auto; width: 46px; height: 46px; place-items: center; border: 2px solid rgba(255, 255, 255, .7); border-radius: 50%; font-size: 18pt; font-weight: 800; }
.doc-phase-head .doc-eyebrow { color: rgba(255, 255, 255, .85); }
.doc-phase-head h2 { margin: 3px 0 0; color: #fff; font-size: 18pt; }
.doc-phase-goal { margin-top: 5px !important; color: rgba(255, 255, 255, .92); font-size: 10.5pt; }
.doc-phase-pillars { margin: 10px 2px 0 !important; color: var(--rf-muted); font-size: 9pt; }
.doc-phase-pillars b { color: var(--rf-ink); }
.doc-findings { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--rf-line); border-radius: 8px; background: var(--rf-soft); }
.doc-findings h3 { margin: 0 0 10px; font-size: 11pt; }
.doc-findings-none, .doc-findings-more { color: var(--rf-muted); font-size: 9.5pt; }
.doc-findings-more { margin-top: 8px !important; }

.doc-week { margin-top: 14px; padding: 14px 18px; border: 1px solid var(--rf-line); border-left: 4px solid var(--phase); border-radius: 8px; break-inside: avoid; }
.doc-week-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.doc-week-number { color: var(--phase); font-size: 8pt; font-weight: 800; letter-spacing: .12em; }
.doc-week-days { color: var(--rf-muted); font-size: 8.5pt; }
.doc-week-skills { margin-left: auto; color: var(--rf-muted); font-size: 7.5pt; font-weight: 700; letter-spacing: .08em; }
.doc-week h3 { margin: 4px 0 0; font-size: 13pt; }
.doc-week-objective { margin-top: 3px !important; color: var(--rf-muted); font-style: italic; }
.doc-week h4 { margin: 12px 0 5px; color: var(--rf-ink); font-size: 8pt; letter-spacing: .12em; text-transform: uppercase; }
.doc-tasks { display: grid; gap: 4px; font-size: 10pt; margin: 0; padding-left: 18px; }
.doc-tasks li { padding-left: 3px; }
.doc-week-outcome { display: grid; gap: 6px; margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--rf-line); }
.doc-week-outcome div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.doc-week-outcome dt { color: var(--rf-ink); font-size: 8.5pt; font-weight: 700; }
.doc-week-outcome dd { margin: 0; font-size: 9.5pt; }

.doc-note { margin: 0 0 12px !important; color: var(--rf-muted); font-size: 9.5pt; }
.doc-pages td:first-child { width: 22px; color: var(--rf-muted); }
.doc-url { font-size: 8.5pt !important; overflow-wrap: anywhere; }
.doc-url small { display: block; color: #b3261e; }
.doc-sources { display: grid; gap: 7px; margin: 10px 0 18px; padding-left: 20px; font-size: 9.5pt; }
.doc-sources strong { display: block; color: var(--rf-ink); font-weight: 600; }
.doc-sources span { color: var(--rf-muted); font-size: 8pt; overflow-wrap: anywhere; }

.doc-footer { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 20px; margin-top: 30px; padding: 18px 20px; border-top: 3px solid var(--rf-red); border-radius: 0 0 8px 8px; background: var(--rf-soft); break-inside: avoid; }
.doc-footer img { width: 120px; height: auto; }
.doc-footer-contact { display: grid; gap: 1px; font-size: 9pt; }
.doc-footer-contact strong { color: var(--rf-ink); font-size: 10.5pt; }
.doc-footer p { grid-column: 1 / -1; padding-top: 8px; border-top: 1px solid var(--rf-line); color: var(--rf-muted); font-size: 8pt; }

@media (prefers-reduced-motion: reduce) {
    .form-error, .scan-step, .scan-spinner { animation: none; }
}

/* Header: wordmark on the left, signed-in account on the right (no navigation menu). */
.site-header { gap: 16px; min-height: 64px; padding: 0 max(24px, calc((100% - 1120px) / 2)); }
.report-page .site-header { padding: 0 max(24px, calc((100% - 1460px) / 2)); }
.account { display: flex; align-items: center; gap: 12px; min-width: 0; }
.account-user { display: flex; align-items: center; gap: 9px; min-width: 0; color: #c9d4df; font-size: 12.5px; }
.account-avatar { display: grid; flex: 0 0 auto; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #0b2a1c; background: var(--mint); font-size: 12px; font-weight: 800; }
.account-name { overflow: hidden; max-width: 220px; text-overflow: ellipsis; white-space: nowrap; }
.account-signout { margin: 0; }
.account-signout button { min-height: 34px; padding: 0 14px; border: 1px solid #3a4c63; border-radius: 8px; color: #e6edf3; background: transparent; font-size: 12.5px; font-weight: 650; transition: border-color .15s ease, background .15s ease; }
.account-signout button:hover { border-color: #7f95ad; background: #ffffff0d; }
.account-signout button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }

/* Home: a light, calm hero and two equal audit cards. */
/* Homepage hero: a medium-dark green band with the binary rain behind it.
   Contrast (WCAG 2.1) on the lightest band colour #1f4d40, including where a rain digit sits behind text:
   white 9.6:1, green heading #8ef0b4 7.0:1, body #d6e6de 7.4:1 (5.5:1 over a digit), small text #c3d8cd 6.4:1 (4.8:1 over a digit). */
.home-page .shell { width: 100%; }
.home-page .audit-choices, .home-page .scope-section, .home-page .method-note { width: min(1120px, calc(100% - 48px)); margin-right: auto; margin-left: auto; }
.home-hero { position: relative; isolation: isolate; overflow: hidden; padding: 64px 0 118px; background-color: #1c4539; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px), linear-gradient(160deg, #1f4d40 0%, #163a30 100%); background-size: 48px 48px, 48px 48px, 100% 100%; }
.home-hero-inner { position: relative; z-index: 1; width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.home-hero-inner > * { max-width: 780px; }
.home-hero .eyebrow { display: inline-block; margin: 0 0 18px; padding: 6px 11px; border: 1px solid #3f7a69; border-radius: 30px; color: #b6f5cf; background: #24574a; font-size: 10px; letter-spacing: .14em; }
.home-hero h1 { margin: 0; color: #fff; font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; line-height: 1.1; letter-spacing: -.04em; }
.home-hero h1 span { color: #8ef0b4; }
.home-hero .hero-copy { max-width: 680px; margin: 20px 0 0; color: #d6e6de; font-size: 16.5px; line-height: 1.7; }
.home-hero .hero-copy strong { color: #fff; font-weight: 700; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 30px 0 0; padding: 20px 0 0; border-top: 1px solid #ffffff26; }
.hero-facts div { display: flex; align-items: baseline; gap: 8px; }
.hero-facts dt { color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.hero-facts dd { margin: 0; color: #c3d8cd; font-size: 12.5px; }
.binary-rain { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; user-select: none; mask-image: linear-gradient(transparent, #000 12%, #000 82%, transparent); }
.binary-rain span { position: absolute; top: 0; left: calc((var(--column) + .5) * 100% / 30); width: 1ch; height: 100%; overflow-wrap: anywhere; color: #00ff00; opacity: .12; font: 13px/2.2 "Courier New", monospace; }
/* Per-column values live here, not in style attributes: the CSP (style-src 'self') blocks inline styles. */
.binary-rain span:nth-child(1) { --column: 0; --duration: 16s; --delay: -4s; }
.binary-rain span:nth-child(2) { --column: 1; --duration: 23s; --delay: -7s; }
.binary-rain span:nth-child(3) { --column: 2; --duration: 17s; --delay: -10s; }
.binary-rain span:nth-child(4) { --column: 3; --duration: 24s; --delay: -13s; }
.binary-rain span:nth-child(5) { --column: 4; --duration: 18s; --delay: -16s; }
.binary-rain span:nth-child(6) { --column: 5; --duration: 25s; --delay: -19s; }
.binary-rain span:nth-child(7) { --column: 6; --duration: 19s; --delay: -22s; }
.binary-rain span:nth-child(8) { --column: 7; --duration: 26s; --delay: -25s; }
.binary-rain span:nth-child(9) { --column: 8; --duration: 20s; --delay: -28s; }
.binary-rain span:nth-child(10) { --column: 9; --duration: 27s; --delay: -31s; }
.binary-rain span:nth-child(11) { --column: 10; --duration: 21s; --delay: -34s; }
.binary-rain span:nth-child(12) { --column: 11; --duration: 28s; --delay: -37s; }
.binary-rain span:nth-child(13) { --column: 12; --duration: 22s; --delay: -40s; }
.binary-rain span:nth-child(14) { --column: 13; --duration: 16s; --delay: -43s; }
.binary-rain span:nth-child(15) { --column: 14; --duration: 23s; --delay: -46s; }
.binary-rain span:nth-child(16) { --column: 15; --duration: 17s; --delay: -49s; }
.binary-rain span:nth-child(17) { --column: 16; --duration: 24s; --delay: -52s; }
.binary-rain span:nth-child(18) { --column: 17; --duration: 18s; --delay: -55s; }
.binary-rain span:nth-child(19) { --column: 18; --duration: 25s; --delay: -58s; }
.binary-rain span:nth-child(20) { --column: 19; --duration: 19s; --delay: -61s; }
.binary-rain span:nth-child(21) { --column: 20; --duration: 26s; --delay: -64s; }
.binary-rain span:nth-child(22) { --column: 21; --duration: 20s; --delay: -67s; }
.binary-rain span:nth-child(23) { --column: 22; --duration: 27s; --delay: -70s; }
.binary-rain span:nth-child(24) { --column: 23; --duration: 21s; --delay: -73s; }
.binary-rain span:nth-child(25) { --column: 24; --duration: 28s; --delay: -76s; }
.binary-rain span:nth-child(26) { --column: 25; --duration: 22s; --delay: -79s; }
.binary-rain span:nth-child(27) { --column: 26; --duration: 16s; --delay: -82s; }
.binary-rain span:nth-child(28) { --column: 27; --duration: 23s; --delay: -85s; }
.binary-rain span:nth-child(29) { --column: 28; --duration: 17s; --delay: -88s; }
.binary-rain span:nth-child(30) { --column: 29; --duration: 24s; --delay: -91s; }
.rain-enabled .binary-rain span { top: -100%; animation: binary-fall var(--duration) var(--delay) linear infinite; }
@keyframes binary-fall { from { transform: translateY(0); } to { transform: translateY(220%); } }
.rain-paused .binary-rain span { animation-play-state: paused; }
.rain-toggle { display: block; margin: 22px 0 0; padding: 6px 0; border: 0; color: #c3d8cd; background: transparent; font: 11px "Courier New", monospace; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.rain-toggle[hidden] { display: none; }
.rain-toggle:hover { color: #fff; }
.rain-toggle:focus-visible { outline: 2px solid #8ef0b4; outline-offset: 5px; }
.home-page .audit-choices { position: relative; z-index: 2; margin-top: -70px; }
@media (prefers-reduced-motion: reduce) {
    .binary-rain span, .rain-enabled .binary-rain span { animation: none; top: 0; opacity: .06; }
    .rain-toggle { display: none; }
}

.audit-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0 0 56px; }
.audit-choice { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 1px 2px #16243a0a, 0 10px 30px #16243a0d; transition: border-color .2s ease, box-shadow .2s ease; }
.audit-choice:hover, .audit-choice:focus-within { border-color: #bcd9c8; box-shadow: 0 1px 2px #16243a0a, 0 16px 38px #16243a14; }
.choice-head { display: flex; align-items: center; gap: 14px; }
.choice-icon { display: grid; flex: 0 0 auto; width: 44px; height: 44px; place-items: center; border-radius: 12px; color: var(--mint-dark); background: #eaf5ee; }
.choice-icon svg { width: 22px; height: 22px; }
.choice-kicker { margin: 0 0 2px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .14em; }
.audit-choice h2 { margin: 0; color: var(--ink); font-size: 21px; letter-spacing: -.025em; }
.choice-question { margin: 20px 0 0; color: var(--ink); font-size: 15px; font-weight: 650; }
.choice-copy { margin: 8px 0 0; color: #536378; font-size: 14px; line-height: 1.65; }
.choice-points { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.choice-points li { position: relative; padding-left: 24px; color: #39485d; font-size: 13.5px; line-height: 1.45; }
.choice-points li::before { content: ""; position: absolute; top: 3px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #e3f2e9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='m4 7.2 2 2 4-4.4' fill='none' stroke='%23176e57' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.choice-form, .choice-action { margin-top: auto; padding-top: 24px; }
.choice-form label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 12.5px; font-weight: 700; }
.choice-form .input-row { display: flex; gap: 8px; }
.choice-form .input-row input { flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid #d4dce5; border-radius: 10px; color: var(--ink); background: #fff; font-size: 14.5px; outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.choice-form .input-row input:focus { border-color: var(--mint-dark); box-shadow: 0 0 0 3px #176e5720; }
.choice-form .input-row button, .choice-button { display: inline-flex; flex: 0 0 auto; height: 46px; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; border: 0; border-radius: 10px; color: #fff; background: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .15s ease, transform .15s ease; }
.choice-form .input-row button:hover, .choice-button:hover { background: #24395a; transform: translateY(-1px); }
.choice-form .input-row button:focus-visible, .choice-button:focus-visible { outline: 2px solid var(--mint-dark); outline-offset: 3px; }
.choice-form .input-row button:disabled { cursor: wait; opacity: .85; transform: none; }
.choice-button { width: 100%; }
.choice-note { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.choice-form .form-error { margin: 10px 0 0; color: var(--fail); font-size: 12.5px; }
.home-page .scope-section { margin-bottom: 8px; margin-top: 0; }
.home-page .method-note { margin-top: 18px; margin-bottom: 56px; padding: 0 3px; }

/* Results: the report column and a saved-audits sidebar on the right. */
.report-page .shell { width: min(1460px, calc(100% - 48px)); }
.report-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.report-main { min-width: 0; }
.saved-sidebar { position: sticky; top: 20px; display: grid; gap: 14px; margin-top: 38px; }
.saved-card { display: flex; flex-direction: column; max-height: calc(100vh - 150px); overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 1px 2px #16243a0a, 0 10px 28px #16243a0d; }
.saved-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); }
.saved-head h2 { margin: 0; color: var(--ink); font-size: 15px; letter-spacing: -.01em; }
.saved-head p { margin: 2px 0 0; color: var(--muted); font-size: 11.5px; }
.saved-new { flex: 0 0 auto; padding: 6px 10px; border: 1px solid #cfe5d8; border-radius: 8px; color: var(--mint-dark); background: #eef7f1; font-size: 11.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.saved-new:hover { border-color: var(--mint-dark); }
.saved-search { position: relative; display: block; margin: 12px 14px 4px; }
.saved-search svg { position: absolute; top: 50%; left: 10px; width: 14px; height: 14px; color: #8390a1; transform: translateY(-50%); }
.saved-search input { width: 100%; height: 34px; padding: 0 10px 0 30px; border: 1px solid #dfe5ec; border-radius: 8px; color: var(--ink); background: #f8fafb; font-size: 12.5px; outline: none; }
.saved-search input:focus { border-color: var(--mint-dark); background: #fff; }
.saved-list { flex: 1 1 auto; margin: 0; padding: 8px; overflow-y: auto; list-style: none; }
.saved-list li[hidden] { display: none; }
.saved-item { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: inherit; text-decoration: none; transition: background .15s ease; }
.saved-item:hover { background: #f4f7f9; }
.saved-item:focus-visible { outline: 2px solid var(--mint-dark); outline-offset: -2px; }
.saved-item.is-current { background: #eef7f1; box-shadow: inset 3px 0 0 var(--mint-dark); }
.saved-mark { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--tone-line); border-radius: 9px; color: var(--tone); background: var(--tone-soft); font-size: 13px; font-weight: 800; }
.saved-meta { display: grid; min-width: 0; }
.saved-meta strong { overflow: hidden; color: var(--ink); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.saved-meta small { color: var(--muted); font-size: 11px; white-space: nowrap; }
.saved-score { min-width: 34px; padding: 3px 7px; border-radius: 20px; color: var(--tone); background: var(--tone-soft); font-size: 12px; font-weight: 800; text-align: center; }
.saved-empty { margin: 0; padding: 16px 18px; color: var(--muted); font-size: 12.5px; }
.saved-crosslink { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; color: inherit; background: #fff; text-decoration: none; transition: border-color .15s ease; }
.saved-crosslink:hover { border-color: #bcd9c8; }
.saved-crosslink .choice-icon { width: 36px; height: 36px; border-radius: 10px; }
.saved-crosslink .choice-icon svg { width: 18px; height: 18px; }
.saved-crosslink strong { display: block; color: var(--ink); font-size: 13px; }
.saved-crosslink small { display: block; margin-top: 3px; color: var(--muted); font-size: 11.5px; line-height: 1.5; overflow-wrap: anywhere; }

@media (max-width: 1180px) {
    .report-layout { grid-template-columns: minmax(0, 1fr); }
    .saved-sidebar { position: static; margin: 0 0 40px; }
    .saved-card { max-height: none; }
    .saved-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 4px; }
}
@media (max-width: 860px) {
    .audit-choices { grid-template-columns: 1fr; }
    .home-hero { padding-top: 44px; }
}
@media (max-width: 600px) {
    .site-header, .report-page .site-header { padding: 0 16px; }
    .account-name { display: none; }
    .report-page .shell { width: calc(100% - 32px); }
    .home-hero { padding: 32px 0 96px; }
    .home-hero-inner { width: calc(100% - 32px); }
    .home-page .audit-choices, .home-page .scope-section, .home-page .method-note { width: calc(100% - 32px); }
    .binary-rain span:nth-child(even) { display: none; }
    .home-hero .hero-copy { font-size: 15px; }
    .hero-facts { gap: 12px 24px; }
    .hero-facts dt { font-size: 21px; }
    .audit-choice { padding: 22px 18px; }
    .choice-form .input-row { flex-direction: column; }
    .choice-form .input-row button { width: 100%; }
}
@media print {
    .saved-sidebar { display: none !important; }
    .report-layout { display: block; }
}

/* Sign-in: a centred floating card on a calm background. */
.auth-page { min-height: 100vh; margin: 0; background: radial-gradient(1200px 600px at 50% -10%, #e4f3ea 0%, transparent 60%), var(--paper); }
.auth-shell { display: flex; min-height: 100vh; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px 16px; }
.auth-card { width: min(420px, 100%); padding: 34px 34px 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 1px 2px #16243a0d, 0 24px 60px #16243a1f; text-align: center; }
.auth-brand { display: inline-flex; margin-bottom: 22px; padding: 9px 16px; border-radius: 12px; background: var(--navy); }
.auth-brand .brand { font-size: 22px; }
.auth-kicker { margin: 0; color: var(--mint-dark); font-size: 10px; font-weight: 750; letter-spacing: .16em; }
.auth-card h1 { margin: 8px 0 0; color: var(--ink); font-size: 25px; line-height: 1.2; letter-spacing: -.03em; }
.auth-lead { margin: 10px auto 26px; max-width: 320px; color: #536378; font-size: 14px; line-height: 1.6; }
.auth-google { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; gap: 12px; border: 1px solid #d4dce5; border-radius: 12px; color: var(--ink); background: #fff; font-size: 15px; font-weight: 650; text-decoration: none; box-shadow: 0 1px 2px #16243a0d; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.auth-google:hover { border-color: #9fb3c6; box-shadow: 0 6px 18px #16243a14; transform: translateY(-1px); }
.auth-google:focus-visible { outline: 2px solid var(--mint-dark); outline-offset: 3px; }
.auth-divider { position: relative; margin: 22px 0 18px; color: var(--muted); font-size: 12px; }
.auth-divider::before { content: ""; position: absolute; top: 50%; right: 0; left: 0; height: 1px; background: var(--line); }
.auth-divider span { position: relative; padding: 0 10px; background: #fff; }
.auth-form { display: grid; gap: 12px; text-align: left; }
.auth-form label { display: grid; gap: 5px; color: var(--ink); font-size: 12.5px; font-weight: 650; }
.auth-form input { height: 44px; padding: 0 13px; border: 1px solid #d4dce5; border-radius: 10px; color: var(--ink); font-size: 14.5px; outline: none; }
.auth-form input:focus { border-color: var(--mint-dark); box-shadow: 0 0 0 3px #176e5720; }
.auth-form button { height: 46px; margin-top: 4px; border: 0; border-radius: 10px; color: #fff; background: var(--ink); font-size: 14.5px; font-weight: 700; }
.auth-form button:hover { background: #24395a; }
.auth-alert { margin: 0 0 16px; padding: 10px 12px; border: 1px solid #f2c3c1; border-radius: 10px; color: #8f1f19; background: #fdf0ef; font-size: 13px; text-align: left; }
.auth-foot { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.auth-credit { margin: 0; color: #8390a1; font-size: 11.5px; }
@media (max-width: 480px) {
    .auth-card { padding: 28px 22px 22px; border-radius: 16px; }
    .auth-card h1 { font-size: 22px; }
}

/* Homepage bands: hero (dark) · audits (white) · AEO readiness (light) · AI visibility (white) · FAQ (light) · footer (dark). */
.home-page { background: #fff; }
.band { padding: 72px 0; }
.band-white { background: #fff; }
.band-light { background: #f2f7f4; border-top: 1px solid #e3ede7; border-bottom: 1px solid #e3ede7; }
.band-inner { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.band-audits { padding: 0 0 72px; }
.band-audits .audit-choices { margin-bottom: 0; }
.home-page .band-light .scope-section { margin-top: 0; }
.home-page .band-light .method-note { margin-bottom: 0; }
.section-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; color: var(--mint-dark); font-size: 10px; font-weight: 750; letter-spacing: .16em; }
.section-eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--mint-dark); }
.section-lead { margin: 14px 0 0; color: #536378; font-size: 16px; line-height: 1.7; }

/* AI Visibility overview: steps on the left, an illustrative dashboard on the right. */
.vis-showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.vis-showcase-copy h2 { margin: 0; color: var(--ink); font-size: clamp(26px, 3vw, 34px); line-height: 1.2; letter-spacing: -.03em; }
.vis-steps { display: grid; gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.vis-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; }
.vis-steps li > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; color: #fff; background: var(--mint-dark); font-size: 14px; font-weight: 800; }
.vis-steps h3 { margin: 4px 0 0; color: var(--ink); font-size: 16px; }
.vis-steps p { margin: 4px 0 0; color: #536378; font-size: 14px; line-height: 1.6; }
.showcase-button { width: auto; margin-top: 30px; }
.vis-preview { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #ffffff, #f7faf8); box-shadow: 0 2px 4px #16243a0a, 0 24px 60px #16243a1a; }
.vis-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.vis-preview-top strong { color: var(--ink); font-size: 14px; }
.vis-preview-top em { padding: 3px 9px; border-radius: 20px; color: #7a4d0b; background: #fbeed8; font-size: 10.5px; font-style: normal; font-weight: 700; }
.vis-preview-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.vis-preview-kpis div { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.vis-preview-kpis small { display: block; color: var(--muted); font-size: 11px; font-weight: 650; }
.vis-preview-kpis strong { display: block; margin-top: 4px; color: var(--tone, var(--ink)); font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.vis-preview-kpis strong span { color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: 0; }
.vis-preview-label { margin: 18px 0 8px; color: var(--ink); font-size: 12px; font-weight: 700; }
.vis-preview-bars { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.vis-preview-bars li { display: grid; grid-template-columns: 130px minmax(0, 1fr) 50px; align-items: center; gap: 10px; font-size: 12.5px; }
.vis-preview-bars li span { color: #39485d; }
.vis-preview-bars li b { color: var(--ink); font-size: 12px; text-align: right; }
.vis-preview-bars .bar-svg { height: 8px; }
.vis-preview-bars .bar-track { fill: #e9eef2; }
.vis-preview-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.vis-preview-chips em { padding: 4px 10px; border: 1px solid var(--line); border-radius: 20px; color: #39485d; background: #fff; font-size: 11.5px; font-style: normal; }
.vis-preview-chips em.is-own { border-color: #b7e4cc; color: var(--mint-dark); background: #eef7f1; font-weight: 700; }
.vis-preview figcaption { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 11.5px; }

/* FAQ: question headings and self-contained answers, visible (not collapsed) so the text is easy to quote. */
.faq-title { max-width: 760px; margin: 0; color: var(--ink); font-size: clamp(26px, 3vw, 34px); line-height: 1.2; letter-spacing: -.03em; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.faq-item { padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq-item h3 { margin: 0; color: var(--ink); font-size: 16.5px; line-height: 1.35; letter-spacing: -.01em; }
.faq-item p { margin: 8px 0 0; color: #536378; font-size: 14px; line-height: 1.65; }

/* Footer: same navy as the header. */
.site-footer { display: block; padding: 34px 0; border-top: 0; color: #c9d4df; background: var(--navy); font-size: 12px; letter-spacing: 0; }
.site-footer .footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.report-page .site-footer .footer-inner { width: min(1460px, calc(100% - 48px)); }
.footer-brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.footer-brand .brand { font-size: 22px; }
.footer-brand p, .footer-meta { margin: 0; color: #c9d4df; font-size: 12.5px; }
.footer-meta { color: #a9b7c6; }
.site-footer span:first-child { color: inherit; font-weight: inherit; letter-spacing: inherit; }

@media (max-width: 960px) {
    .vis-showcase { grid-template-columns: 1fr; gap: 36px; }
    .vis-preview { transform: none; }
}
@media (max-width: 760px) {
    .faq-grid { grid-template-columns: 1fr; }
    .band { padding: 52px 0; }
    .band-audits { padding: 0 0 52px; }
}
@media (max-width: 600px) {
    .band-inner { width: calc(100% - 32px); }
    .site-footer .footer-inner { width: calc(100% - 32px); }
    .vis-preview { padding: 16px; }
    .vis-preview-bars li { grid-template-columns: 96px minmax(0, 1fr) 44px; font-size: 11.5px; }
    .vis-preview-kpis strong { font-size: 20px; }
}

/* Shared (unlocked) report: no saved-audits sidebar, a single centred report column. */
.shared-report .report-layout { grid-template-columns: minmax(0, 1fr); max-width: 1120px; margin: 0 auto; }
.shared-talk { padding: 8px 14px; border-radius: 8px; color: #0b2a1c; background: var(--mint); font-size: 13px; font-weight: 750; text-decoration: none; }
.shared-talk:hover { background: #a3ebd0; }
.shared-next { align-items: center; }
.shared-next .choice-button { width: auto; }

/* Homepage in a Mac-style browser window (report hero and free preview hero). */
.browser-shot { margin: 0 0 10px; }
.browser-window { overflow: hidden; border: 1px solid #d9e0e7; border-radius: 10px; background: #fff; box-shadow: 0 2px 4px #16243a0a, 0 14px 34px #16243a1f; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-bottom: 1px solid #e3e8ed; background: linear-gradient(#f6f7f9, #eceff3); }
.browser-bar i { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { flex: 1; min-width: 0; margin: 0 22px 0 8px; padding: 2px 8px; overflow: hidden; border-radius: 5px; color: #5d6b7e; background: #fff; font-size: 9.5px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.browser-view { aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.browser-view img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.browser-view img.is-mobile { width: 46%; margin: 0 auto; }
.browser-text { display: grid; align-content: center; gap: 8px; height: 100%; padding: 16px 20px; }
.browser-text strong { color: var(--ink); font-size: 16px; line-height: 1.25; }
.browser-text span { display: -webkit-box; overflow: hidden; color: #536378; font-size: 11.5px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.browser-shot figcaption { margin-top: 7px; color: #8390a1; font-size: 9px; font-weight: 750; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.ai-view .browser-bar { height: 18px; gap: 4px; padding: 0 7px; }
.ai-view .browser-bar i { width: 6px; height: 6px; }
.ai-view .browser-bar span { display: none; }
.browser-shot.is-loading .browser-view { position: relative; }
.browser-shot.is-loading .browser-view::after { position: absolute; inset: 0; content: ""; background: linear-gradient(100deg, #fff0 30%, #ffffffb3 50%, #fff0 70%); background-size: 220% 100%; animation: shot-shimmer 1.4s linear infinite; }
@keyframes shot-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .browser-shot.is-loading .browser-view::after { animation: none; } }

/* Roadmap PDF download panel, right after "Pages inspected". */
.report-download { display: grid; gap: 18px; margin-top: 22px; padding: 24px; border: 1px solid #bcd9c8; border-radius: 16px; background: linear-gradient(180deg, #fff, #f3faf6); box-shadow: 0 10px 30px #16243a0d; }
.report-download-head { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; }
.report-download-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 13px; color: var(--mint-dark); background: #e3f3ea; }
.report-download-icon svg { width: 24px; height: 24px; }
.report-download-eyebrow { margin: 0 0 4px; color: var(--mint-dark); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.report-download h2 { margin: 0; color: var(--ink); font-size: 19px; letter-spacing: -.01em; }
.report-download-head p:last-child { margin: 6px 0 0; color: #536378; font-size: 13px; line-height: 1.55; }
.report-download-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.report-download-form label { display: grid; gap: 5px; color: var(--ink); font-size: 12px; font-weight: 700; }
.report-download-wide { grid-column: 1 / -1; }
.report-download-form input { width: 100%; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid #d4dce5; border-radius: 9px; outline: none; color: var(--ink); background: #fff; font-size: 13.5px; }
.report-download-form input:focus { border-color: var(--mint-dark); box-shadow: 0 0 0 3px #176e5720; }
.report-download-action { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.report-download-action span { color: var(--muted); font-size: 12.5px; }
.report-download-button { display: inline-flex; height: 46px; align-items: center; gap: 8px; padding: 0 24px; border: 0; border-radius: 10px; color: #fff; background: var(--ink); font-weight: 750; font-size: 14px; white-space: nowrap; cursor: pointer; }
.report-download-button:hover { background: #22344f; }
.report-download-button:focus-visible { outline: 3px solid #176e5766; outline-offset: 2px; }
@media (max-width: 640px) {
    .report-download { padding: 20px; }
    .report-download-head { grid-template-columns: 1fr; }
    .report-download-form { grid-template-columns: 1fr; }
    .report-download-button { justify-content: center; width: 100%; }
}
@media print { .report-download { display: none; } }
