/* Sample report. Tokens come from ../shared/design-system.css (loaded first). */
:root {
  --critical: var(--ds-danger);
  --critical-bg: #fee4e2;
  --high: #93370d;
  --high-bg: #fef0c7;
  --medium: #344054;
  --medium-bg: #eaecf0;
  --mint: #6ce0ba;
  --soft: #f8fafc;
  --toc-h: 48px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 136px; }
body { margin: 0; color: var(--ds-ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.container { margin: 0 auto; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* Header + TOC */
.topbar { position: sticky; top: 0; z-index: 30; }
.topbar__inner { margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.topbar__meta { display: flex; align-items: center; gap: 8px; padding-left: 24px; border-left: 1px solid var(--ds-line); color: var(--ds-muted); font-size: 14px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ds-success); }
.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.text-link { color: var(--ds-muted); font-size: 14px; font-weight: 600; }
.toc { position: relative; display: none; border-top: 1px solid var(--ds-line); }
.topbar.show-toc .toc { display: block; }
.toc__inner { width: min(1132px, calc(100% - 48px)); height: var(--toc-h); margin: 0 auto; display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.toc__inner::-webkit-scrollbar { display: none; }
.toc a { flex-shrink: 0; padding: 6px 12px; border-radius: 8px; color: var(--ds-muted); font-size: 14px; font-weight: 650; white-space: nowrap; }
.toc a:hover { color: var(--ds-ink); background: var(--ds-surface); }
.toc a.is-active { color: var(--ds-primary); background: var(--ds-tint); }
.toc__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.toc__progress i { display: block; width: 0; height: 100%; background: var(--ds-primary); transition: width 120ms linear; }

/* Buttons */
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; transition: background 160ms, border-color 160ms, transform 160ms; }
.button:hover { transform: translateY(-1px); }
.button--primary { color: #fff; }
.button--secondary { background: #fff; color: var(--ds-ink); }
.button--secondary:hover { border-color: var(--ds-ink); }
.button--large { min-height: 60px; padding: 0 30px; font-size: 18px; }

/* Shared */
.eyebrow { margin: 0 0 14px; }
.pill { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 8px; background: #fff; border: 1px solid var(--ds-line); color: var(--ds-muted); font-size: 12px; font-weight: 750; }
.pill--blue { color: var(--ds-primary); background: var(--ds-tint); border-color: transparent; }
.pill--muted { color: #8a93a3; border-style: dashed; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(260px, 400px); gap: 48px; align-items: end; margin-bottom: 40px; }
.section-heading h2 { margin: 0; font-size: 42px; line-height: 52px; font-weight: 800; }
.section-heading > p { margin: 0; color: var(--ds-muted); font-size: 16px; line-height: 27px; }
.section-heading > p b { color: var(--ds-ink); }
.section-heading__sub { margin: 14px 0 0; color: var(--ds-muted); font-size: 16px; line-height: 27px; }
.severity { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 6px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.severity--critical { color: var(--critical); background: var(--critical-bg); }
.severity--high { color: var(--high); background: var(--high-bg); }
.severity--medium { color: var(--medium); background: var(--medium-bg); }
.critical-text { color: var(--critical); }
.high-text { color: var(--ds-warning); }

/* 1. Head */
.report-head { padding: 28px 0 64px; background: var(--ds-surface); }
.report-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 48px; }
.report-head__meta { margin: 0 0 14px; color: #8a93a3; font-size: 13px; font-weight: 700; }
.team-line { display: flex; flex-wrap: wrap; margin: 22px 0 0; color: var(--ds-muted); font-size: 14px; font-weight: 650; }
.team-line span + span::before { content: "·"; margin: 0 10px; color: #c4cad6; }
.report-head__grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); gap: 56px; align-items: start; }
.report-head h1 { margin: 0; font-size: 50px; line-height: 62px; font-weight: 800; text-wrap: balance; }
.report-head h1 em { font-style: normal; color: var(--ds-primary); background: linear-gradient(transparent 62%, #d9e4ff 62%); }
.report-head__lead { max-width: 640px; margin: 24px 0 0; color: var(--ds-text); font-size: 18px; line-height: 30px; }
.report-head__lead strong { color: var(--ds-ink); }


.score-panel { padding: 24px; border: 1px solid var(--ds-line); border-radius: var(--ds-card-radius); background: #fff; box-shadow: 0 8px 24px rgb(11 18 32 / 6%); }
.score-panel__top { display: flex; justify-content: space-between; align-items: flex-end; }
.score-panel__top span { display: block; font-size: 15px; font-weight: 750; }
.score-panel__top div small { display: block; margin-top: 2px; color: #8a93a3; font-size: 12px; font-weight: 600; }
.score-panel__top strong { font-size: 48px; line-height: 1; font-weight: 800; color: var(--ds-warning); }
.score-panel__top strong.score--bad { color: var(--critical); }
.score-panel__top strong.score--good { color: var(--ds-success); }
.score-panel__top strong small { color: #8a93a3; font-size: 16px; font-weight: 650; }
.score-cats { margin: 22px 0 18px; padding: 18px 0 0; border-top: 1px solid var(--ds-line); list-style: none; display: grid; gap: 10px; }
.score-cats li { display: grid; grid-template-columns: 136px 1fr 28px; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; }
.score-cats li i { color: #8a93a3; font-style: normal; font-size: 11px; font-weight: 600; white-space: nowrap; }
.score-cats b { position: relative; height: 6px; border-radius: 3px; background: #edf0f5; overflow: hidden; }
.score-cats b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 3px; background: var(--ds-primary); }
.score-cats li.is-weak b::after { background: var(--critical); }
.score-cats em { font-style: normal; text-align: right; color: var(--ds-muted); }
.score-panel__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ds-line); border-bottom: 1px solid var(--ds-line); }
.score-panel__stats div { padding: 14px 6px; text-align: center; border-right: 1px solid var(--ds-line); }
.score-panel__stats div:last-child { border: 0; }
.score-panel__stats strong, .score-panel__stats span { display: block; }
.score-panel__stats strong { font-size: 22px; line-height: 28px; }
.score-panel__stats span { color: var(--ds-muted); font-size: 11px; font-weight: 700; }
.score-panel__verdict { margin: 0; padding-top: 16px; border-top: 1px solid var(--ds-line); color: var(--ds-muted); font-size: 14px; line-height: 22px; }
.score-panel__verdict b { color: var(--ds-ink); }

.tldr { margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: 24px; padding: 26px 28px; border-radius: var(--ds-card-radius); background: var(--ds-ink); color: #fff; }
.tldr ol { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 12px; }
.tldr li { counter-increment: t; position: relative; padding-left: 34px; color: #c9d2e1; font-size: 15px; line-height: 25px; }
.tldr li::before { content: counter(t); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: #1f2a40; color: #8fb0ff; font-size: 12px; font-weight: 800; }
.tldr li b { color: #fff; }
.tldr li:last-child b { color: var(--mint); }

/* 2. Annotated screen */
.screen-section { padding: 88px 0; }
.ba-toggle { display: inline-flex; padding: 4px; margin-bottom: 18px; border-radius: 12px; background: #eef1f6; }
.ba-toggle button { min-width: 104px; height: 40px; padding: 0 18px; border: 0; border-radius: 9px; background: transparent; color: var(--ds-muted); font-size: 15px; font-weight: 750; cursor: pointer; }
.ba-toggle button.is-on { background: #fff; color: var(--ds-ink); box-shadow: 0 1px 3px rgb(11 18 32 / 12%); }
.ba-toggle button[data-view="after"].is-on { color: var(--ds-success); }

.mock-frame { margin: 0; border: 1px solid #d4dae6; border-radius: var(--ds-card-radius); overflow: hidden; background: #fff; box-shadow: var(--ds-shadow); transition: border-color 200ms; }
.mock-frame[data-view="after"] { border-color: #8fd9bf; }
.mock-frame__bar { height: 48px; padding: 0 20px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--ds-line); background: #f6f8fb; color: #8a93a3; font-size: 12px; font-weight: 650; }
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #f1b4ae; }
.dots i:nth-child(2) { background: #edce85; }
.dots i:nth-child(3) { background: #a5d1b6; }
.mock-frame__state { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--critical-bg); color: var(--critical); font-weight: 750; }
.mock-frame[data-view="after"] .mock-frame__state { background: #dcf5ec; color: var(--ds-success); }
.mock-frame figcaption { padding: 12px 16px; border-top: 1px solid var(--ds-line); color: #8a93a3; font-size: 13px; background: #fff; }

.mock { padding: 0 40px 36px; background: linear-gradient(180deg, #fbfbfd, #fff); }
.mock-frame[data-view="before"] .v-after, .mock-frame[data-view="after"] .v-before { display: none !important; }
.mock__nav { height: 64px; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid #f0f2f5; }
.mock__logo { display: flex; align-items: center; gap: 8px; font-weight: 800; color: #3a4452; }
.mock__logo i { width: 22px; height: 22px; border-radius: 6px; background: #a78bfa; }
.mock__links { display: flex; gap: 20px; margin-left: auto; color: #8a93a3; font-size: 13px; }
.mock__links i { font-style: normal; }
.mock__navbtn { padding: 7px 14px; border-radius: 8px; background: #7c5cf0; color: #fff; font-size: 13px; font-weight: 700; }
.mock__hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 48px 0 40px; }
.mock__h { margin: 0; font-size: 36px; line-height: 46px; font-weight: 800; color: #1d2333; }
.mock-frame[data-view="after"] .mock__h { font-size: 30px; line-height: 40px; }
.mock__sub { margin: 16px 0 0; max-width: 420px; color: #6b7382; font-size: 15px; line-height: 25px; }
.mock__ctas { display: flex !important; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; width: fit-content; }
.mock__btn { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 10px; font-size: 15px; font-weight: 750; }
.mock__btn--primary { background: #7c5cf0; color: #fff; }
.mock__btn--ghost { background: #7c5cf0; color: #fff; opacity: .92; }
.mock__link { color: #5b4bc4; font-size: 14px; font-weight: 700; }
.mock__micro { margin: 10px 0 0; color: #6b7382; font-size: 13px; }
.mock__visual { min-height: 230px; display: grid; place-items: center; }
.mock--saas .mock__logo { color: #3a4452; font-size: 17px; letter-spacing: -0.4px; }
.mock--saas .mock__logo i { background: #6754d7; }
.mock--saas .mock__hero { padding-top: 28px; }
.mock__eyebrow { margin: 0 0 8px; color: #6754d7; font-size: 12px; }
.mock__art { position: relative; width: 100%; height: 230px; border-radius: 16px; background: linear-gradient(135deg, #f1efff, #e8f1ff); overflow: hidden; }
.mock__orb { position: absolute; left: 37.4%; top: 19%; width: 124px; height: 124px; border-radius: 50%; background: linear-gradient(140deg, #c3b5f6, #7761d6 55%, #5e8fd3); box-shadow: 0 15px 24px rgb(119 97 214 / 20%); }
.mock__tile { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #fff; border-radius: 10px; background: rgb(255 255 255 / 85%); box-shadow: 0 5px 12px rgb(52 69 106 / 5%); }
.mock__tile svg { width: 22px; height: 22px; flex-shrink: 0; }
.mock__tile i { display: grid; gap: 6px; }
.mock__tile i::before, .mock__tile i::after { content: ""; display: block; width: 46px; height: 5px; border-radius: 3px; background: #d5dcef; }
.mock__tile i::after { width: 32px; height: 4px; background: #e5e9f3; }
.mock__tile--a { left: 11.4%; top: 58.7%; color: #6b5bd0; }
.mock__tile--b { left: 61.7%; top: 28.7%; color: #6588c9; }
.mock__blob { width: 100%; height: 230px; border-radius: 24px; background: radial-gradient(circle at 30% 35%, #c4b5fd, transparent 55%), radial-gradient(circle at 70% 65%, #93c5fd, transparent 55%), #eef0ff; }
.mock__result { width: 100%; padding: 20px; border-radius: 16px; border: 1px solid #e4e1fb; background: #fff; box-shadow: 0 16px 40px rgb(80 60 180 / 12%); display: grid; gap: 9px; }
.mock__result b { font-size: 14px; color: #1d2333; }
.mock__result > i { display: block; height: 8px; border-radius: 4px; background: #eceef3; }
.mock__todo { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: #f6f4ff; font-size: 12px; color: #3a4452; }
.mock__todo em { font-style: normal; padding: 2px 7px; border-radius: 5px; background: #7c5cf0; color: #fff; font-size: 11px; font-weight: 700; }
.mock__features { padding-top: 8px; }
.mock__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.mock__grid span { height: 72px; display: grid; place-items: center; border-radius: 12px; background: #f4f5f8; color: #8a93a3; font-size: 13px; font-weight: 650; }
.mock__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock__steps span { height: 72px; display: flex; align-items: center; gap: 12px; padding: 0 18px; border-radius: 12px; background: #f6f4ff; color: #1d2333; font-size: 15px; font-weight: 750; }
.mock__steps b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #7c5cf0; color: #fff; font-size: 13px; }

/* hotspots */
.hot { position: relative; border-radius: 12px; outline: 1.2px dashed transparent; outline-offset: 8px; transition: outline-color 160ms, background 160ms; }
.hot--inline { display: inline-flex; outline-offset: 5px; }
.mock-frame[data-view="before"] .hot { outline-color: rgb(217 112 84 / 40%); }
.mock-frame[data-view="before"] .hot.is-lit { outline-color: var(--critical); outline-style: solid; background: rgb(254 228 226 / 35%); }
.mock-frame[data-view="after"] .hot { outline: 2px solid rgb(8 122 91 / 30%); }
.pin { position: absolute; z-index: 2; top: -18px; left: -18px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgb(11 18 32 / 13%); cursor: pointer; animation: pulse 2.4s ease-out infinite; }
.pin--critical { background: var(--critical); }
.pin--high { background: #c4570a; }
.pin--medium { background: #475467; }
.mock__ctas > .pin { left: auto; right: -18px; }
.hot--inline > .pin { top: -16px; left: -16px; }
.mock-frame[data-view="after"] .pin { background: var(--ds-success); animation: none; }
.mock-frame[data-view="after"] .pin::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; background: var(--ds-success); font-size: 14px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 2px #fff, 0 0 0 2px rgb(180 35 24 / 45%); } 70% { box-shadow: 0 0 0 2px #fff, 0 0 0 12px rgb(180 35 24 / 0%); } 100% { box-shadow: 0 0 0 2px #fff, 0 0 0 2px rgb(180 35 24 / 0%); } }

/* 3. Findings */
.findings-section { padding: 88px 0; border-top: 1px solid var(--ds-line); background: var(--soft); }
.finding-list { display: grid; gap: 14px; }
.finding { display: grid; grid-template-columns: 132px minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; padding: 28px; border: 1px solid var(--ds-line); border-radius: var(--ds-card-radius); background: #fff; transition: border-color 200ms, box-shadow 200ms; }
.finding.is-lit, .finding:target { border-color: var(--ds-primary); box-shadow: 0 0 0 3px var(--ds-tint); }
.finding__index { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.num { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.num--critical { background: var(--critical); }
.num--high { background: #c4570a; }
.num--medium { background: #475467; }
.quickwin { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 6px; background: #dcf5ec; color: var(--ds-success); font-size: 11px; font-weight: 800; }
.quickwin::before { content: "⚡"; font-size: 10px; }
.finding__main h3 { margin: 4px 0 14px; font-size: 21px; line-height: 30px; font-weight: 800; }
.finding__line { margin: 0; padding: 10px 0; border-top: 1px solid #eef0f4; color: var(--ds-text); font-size: 15px; line-height: 25px; }
.finding__line span { display: inline-block; min-width: 44px; margin-right: 8px; color: #8a93a3; font-size: 12px; font-weight: 800; }
.impact-list { margin: 0; }
.impact-list div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dotted #d4dae6; }
.impact-list dt { color: #8a93a3; font-size: 13px; }
.impact-list dd { margin: 0; font-size: 13px; font-weight: 700; text-align: right; }
.impact-list code { padding: 2px 6px; border-radius: 5px; background: var(--ds-tint); color: var(--ds-primary); font-size: 12px; }
.fix { margin-top: 14px; padding: 20px 16px 14px; border-radius: 12px; background: #eef3ff; }
.fix span { color: var(--ds-primary); font-size: 12px; font-weight: 800; }
.fix p { margin: 0; font-size: 14px; line-height: 23px; font-weight: 600; color: var(--ds-primary); }

.matrix-wrap { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding: 32px; border-radius: var(--ds-card-radius); background: #fff; border: 1px solid var(--ds-line); }
.matrix-copy h3 { margin: 0; font-size: 26px; line-height: 34px; font-weight: 800; }
.matrix-copy p:last-child { margin: 12px 0 0; color: var(--ds-muted); font-size: 15px; line-height: 25px; }
.matrix { position: relative; aspect-ratio: 16 / 10; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; margin: 0 0 22px 22px; }
.matrix__q { position: relative; border-radius: 10px; background: #f4f6fa; }
.matrix__q em { position: absolute; right: 12px; bottom: 10px; color: #98a2b3; font-style: normal; font-size: 12px; font-weight: 700; }
.matrix__q--win { background: #e6f7f0; }
.matrix__q--win em { color: var(--ds-success); }
.matrix__y { position: absolute; left: -22px; top: 0; writing-mode: vertical-rl; transform: rotate(180deg); color: #8a93a3; font-size: 11px; font-weight: 700; }
.matrix__x { position: absolute; left: 0; bottom: -22px; color: #8a93a3; font-size: 11px; font-weight: 700; }
.dot { position: absolute; z-index: 1; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 0 0 3px #fff; }
.dot--critical { background: var(--critical); }
.dot--high { background: #c4570a; }
.dot--medium { background: #475467; }

/* 4. Copy rewrite */
.copy-section { padding: 88px 0; }
.copy-list { border-top: 1px solid var(--ds-line); }
.copy-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 28px minmax(0, 1.3fr) auto; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--ds-line); }
.copy-row__where { color: #8a93a3; font-size: 13px; font-weight: 750; }
.copy-row__before { margin: 0; color: #8a93a3; font-size: 16px; }
.copy-row__before s { text-decoration-color: rgb(180 35 24 / 55%); }
.copy-row__before--empty { font-style: italic; }
.copy-row__arrow { color: var(--ds-primary); font-weight: 800; }
.copy-row__after { margin: 0; padding: 12px 16px; border-radius: 10px; background: #e6f7f0; color: #064e3b; font-size: 17px; font-weight: 750; line-height: 26px; }
.copy-btn { height: 40px; padding: 0 16px; border: 1px solid var(--ds-input-line); border-radius: 10px; background: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.copy-btn:hover { border-color: var(--ds-ink); }
.copy-btn.is-done { color: var(--ds-success); border-color: var(--ds-success); }

/* 5. Directions */
.directions-section { padding: 88px 0; color: #fff; background: var(--ds-ink); }
.section-heading--light .eyebrow { color: #8fb0ff; }
.section-heading--light > p { color: #a8b2c4; }
.direction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.direction-card { position: relative; min-height: 360px; padding: 26px; color: #fff; border: 1px solid #2e3a52; border-radius: var(--ds-card-radius); background: #121b2e; text-align: left; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; transition: border-color 200ms, background 200ms, transform 200ms; }
.direction-card:hover { transform: translateY(-3px); border-color: #6b82ad; }
.direction-card.is-selected { border: 2px solid var(--mint); background: #12262d; padding: 25px; }
.direction-card__letter { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #4a5874; border-radius: 50%; font-size: 17px; font-weight: 800; }
.direction-card__tag { margin-top: 24px; color: #9db1d4; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.direction-card > strong { margin-top: 8px; font-size: 22px; line-height: 30px; }
.direction-card > p { margin: 12px 0 20px; color: #b8c3d6; font-size: 15px; line-height: 25px; }
.direction-card__meta { width: 100%; padding: 8px 0; border-top: 1px solid #2e3a52; color: #d4dbe7; font-size: 13px; line-height: 20px; }
.direction-card__select { width: 100%; margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; color: #a9b8d1; font-size: 14px; font-weight: 700; }
.direction-card.is-selected .direction-card__select { color: var(--mint); }
.recommend-badge { position: absolute; top: 20px; right: 20px; padding: 6px 9px; border-radius: 6px; background: var(--mint); color: #063b2c; font-size: 11px; font-weight: 850; }
.recommendation { margin-top: 18px; padding: 26px; display: grid; grid-template-columns: 170px minmax(0, 1fr) 190px; gap: 28px; align-items: start; border: 1px solid #2e3a52; border-radius: var(--ds-card-radius); background: #0f1728; }
.recommendation__label { display: flex; align-items: center; gap: 10px; color: #99add0; font-size: 11px; font-weight: 800; }
.recommendation__label span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: #063b2c; font-size: 11px; }
.recommendation h3 { margin: 0; font-size: 19px; line-height: 28px; }
.recommendation p { margin: 8px 0 0; color: #b8c3d6; font-size: 15px; line-height: 25px; }
.recommendation__decision { padding-left: 22px; border-left: 1px solid #2e3a52; }
.recommendation__decision span, .recommendation__decision strong { display: block; }
.recommendation__decision span { color: #8fa1bf; font-size: 12px; }
.recommendation__decision strong { margin-top: 6px; color: var(--mint); font-size: 15px; }

/* 6. Todo */
.todo-section { padding: 88px 0; }
.todo-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.todo-copy h2 { margin: 0; font-size: 42px; line-height: 52px; font-weight: 800; }
.todo-copy > p:not(.eyebrow):not(.todo-progress) { margin: 18px 0 0; color: var(--ds-muted); font-size: 16px; line-height: 27px; }
.todo-progress { display: inline-block; margin: 24px 0 0; padding: 8px 14px; border-radius: 10px; background: var(--ds-tint); color: var(--ds-primary); font-size: 15px; font-weight: 750; }
.todo-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.todo-list label { display: grid; grid-template-columns: 24px 64px 1fr; gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid var(--ds-line); border-radius: 14px; background: #fff; cursor: pointer; transition: background 160ms, border-color 160ms; }
.todo-list label:hover { border-color: #b8c4d8; }
.todo-list input { width: 20px; height: 20px; margin: 0; accent-color: var(--ds-success); cursor: pointer; }
.todo-list__when { justify-self: start; padding: 3px 9px; border-radius: 6px; background: #dcf5ec; color: var(--ds-success); font-size: 12px; font-weight: 800; }
.todo-list__when--week { background: #eef1f6; color: var(--ds-muted); }
.todo-list__text { color: var(--ds-muted); font-size: 13px; line-height: 20px; }
.todo-list__text b { display: block; margin-bottom: 2px; color: var(--ds-ink); font-size: 16px; line-height: 24px; }
.todo-list label:has(input:checked) { background: #f3fbf8; border-color: #b6e6d4; }
.todo-list label:has(input:checked) b { text-decoration: line-through; color: #8a93a3; }

/* 7. CTA */
.cta-section { padding: 0 0 88px; }
.cta-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 44px 48px; border-radius: 20px; background: linear-gradient(135deg, #1b5cff, #0b3ecc); color: #fff; }
.cta-card .eyebrow { color: #c7d6ff; }
.cta-card h2 { margin: 0; font-size: 36px; line-height: 46px; font-weight: 800; }
.cta-card p:not(.eyebrow) { margin: 12px 0 0; color: #dbe5ff; font-size: 17px; line-height: 28px; }
.cta-card__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.cta-card__facts li { padding: 6px 12px; border-radius: 8px; background: rgb(255 255 255 / 14%); font-size: 14px; font-weight: 700; }
.cta-card__facts li:first-child { background: #fff; color: var(--ds-primary); }
.cta-card .button--primary { background: #fff; color: var(--ds-ink); }
.cta-card .button--primary:hover { background: #eef3ff; }
.service-list { margin-top: 40px; }
.service-list__title { margin: 0 0 4px; color: var(--ds-muted); font-size: 14px; font-weight: 750; }
.service-row { padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 32px; border-bottom: 1px solid var(--ds-line); }
.service-row > div { display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; }
.service-row > div > span { grid-row: span 2; color: #98a2b3; font-size: 12px; font-weight: 700; padding-top: 4px; }
.service-row h3 { margin: 0; font-size: 19px; line-height: 28px; }
.service-row p { margin: 4px 0 0; color: var(--ds-muted); font-size: 14px; line-height: 22px; }

/* Sticky CTA */
.sticky-cta { position: fixed; z-index: 25; left: 50%; bottom: 20px; width: min(560px, calc(100% - 32px)); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 20px; border-radius: 16px; background: var(--ds-ink); color: #fff; box-shadow: 0 16px 40px rgb(11 18 32 / 30%); transform: translate(-50%, 140%); transition: transform 260ms ease; }
.sticky-cta.is-shown { transform: translate(-50%, 0); }
.sticky-cta p { margin: 0; font-size: 14px; line-height: 20px; }
.sticky-cta p b, .sticky-cta p span { display: block; }
.sticky-cta p span { color: #a8b2c4; font-size: 12px; }

@media (max-width: 980px) {
  .report-head__grid, .todo-grid, .matrix-wrap { grid-template-columns: 1fr; gap: 36px; }
  .score-panel { max-width: 520px; }
  .section-heading { grid-template-columns: 1fr; gap: 14px; }
  .finding { grid-template-columns: 1fr; gap: 16px; }
  .finding__index { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .finding__index .num { margin: 0; }
  .direction-grid { grid-template-columns: 1fr; }
  .direction-card { min-height: 0; }
  .directions-section { padding: 28px 24px !important; border-radius: 12px; }
  .cta-card__date a { color: #fff; text-decoration: underline !important; }
  .recommendation { grid-template-columns: 1fr; gap: 14px; }
  .recommendation__decision { padding: 14px 0 0; border-left: 0; border-top: 1px solid #2e3a52; }
  .cta-card { grid-template-columns: 1fr; }
  .mock__hero { grid-template-columns: 1fr; }
  .mock__visual { min-height: 0; }
  .mock__blob { height: 140px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 124px; }
  .container, .topbar__inner, .toc__inner { width: calc(100% - 32px); }
  .topbar__inner { min-height: 60px; }
  .topbar__meta, .text-link { display: none; }
  .topbar__actions .button { padding: 0 14px; }
  .report-head { padding: 40px 0 48px; }
  .report-head h1 { font-size: 32px; line-height: 42px; }
  .report-head__lead { font-size: 16px; line-height: 27px; }
  .section-heading h2, .todo-copy h2 { font-size: 30px; line-height: 40px; }
  .tldr { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .screen-section, .findings-section, .copy-section, .directions-section, .todo-section { padding: 60px 0; }
  .cta-section { padding-bottom: 100px; }
  .mock { padding: 0 18px 22px; }
  .mock__links { display: none; }
  .mock__nav { justify-content: space-between; }
  .mock__hero { padding: 32px 0 26px; gap: 22px; }
  .mock__h, .mock-frame[data-view="after"] .mock__h { font-size: 23px; line-height: 32px; }
  .mock__sub { font-size: 14px; line-height: 22px; }
  .mock__grid { grid-template-columns: repeat(3, 1fr); }
  .mock__grid span, .mock__steps span { height: 52px; }
  .mock__steps { grid-template-columns: 1fr; gap: 8px; }
  .pin { width: 26px; height: 26px; font-size: 13px; top: -14px; left: -10px; }
  .mock__ctas > .pin { left: auto; right: -12px; }
  .hot--inline > .pin { top: -14px; left: -10px; }
  .mock-frame__url { display: none; }
  .finding { padding: 20px; }
  .finding__main h3 { font-size: 19px; line-height: 28px; }
  .matrix-wrap { padding: 22px; }
  .copy-row { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .copy-row__where { grid-column: 1 / -1; }
  .copy-row__before { grid-column: 1 / -1; }
  .copy-row__arrow { display: none; }
  .copy-row__after { font-size: 16px; }
  .cta-card { padding: 30px 22px; }
  .cta-card h2 { font-size: 26px; line-height: 36px; }
  .cta-card .button { width: 100%; }
  .service-row { flex-direction: column; align-items: stretch; gap: 14px; }
  .service-row .button { width: 100%; }
  .todo-list label { grid-template-columns: 22px 1fr; }
  .todo-list__when { grid-column: 2; }
  .todo-list__text { grid-column: 2; }
}

/* v3: 판정 구간, 채점 기준, 신청서·잘된 점, 점수 상승, 중간 CTA */
.band { display: grid; grid-template-columns: 49fr 30fr 21fr; gap: 3px; margin-top: 16px; }
.band__seg { position: relative; padding-top: 10px; color: #98a2b3; font-size: 11px; font-weight: 700; white-space: nowrap; }
.band__seg::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 3px; opacity: .35; }
.band__seg--bad::before { background: var(--critical); }
.band__seg--mid::before { background: #e8a33d; }
.band__seg--good::before { background: var(--ds-success); }
.band__seg--bad.is-here { color: var(--critical); }
.band__seg--mid.is-here { color: var(--ds-warning); }
.band__seg--good.is-here { color: var(--ds-success); }
.band__seg.is-here::before { opacity: 1; }
.band__seg.is-here::after { content: ""; position: absolute; top: -4px; left: var(--mark, 50%); width: 3px; height: 13px; border-radius: 2px; background: var(--ds-ink); }
.score-panel__verdict .up { color: var(--ds-success); }
.score-how { margin-top: 12px; border-top: 1px solid var(--ds-line); padding-top: 12px; }
.score-how summary { color: var(--ds-primary); font-size: 13px; font-weight: 700; cursor: pointer; }
.score-how summary { list-style: none; }
.score-how summary::-webkit-details-marker { display: none; }
.score-how p { margin: 8px 0 0; color: var(--ds-muted); font-size: 13px; line-height: 21px; }

.context-section { padding: 40px 0; border-bottom: 1px solid var(--ds-line); }
.head-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.head-card { padding: 24px 26px; border: 1px solid var(--ds-line); border-radius: var(--ds-card-radius); background: #fff; }
.head-card--good { background: #f6fbf9; border-color: #d5efe5; }
.head-card h2 { margin: 0 0 14px; font-size: 16px; line-height: 24px; font-weight: 800; }
.intake { margin: 0; }
.intake div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid #eef0f4; }
.intake dt { color: #8a93a3; font-size: 13px; font-weight: 650; }
.intake dd { margin: 0; font-size: 14px; font-weight: 700; }
.head-card__link { display: inline-block; margin-top: 12px; color: var(--ds-primary); font-size: 14px; font-weight: 750; }
.goods { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.goods li { position: relative; padding-left: 30px; color: var(--ds-muted); font-size: 14px; line-height: 22px; }
.goods li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #dcf5ec; color: var(--ds-success); font-size: 12px; font-weight: 800; }
.goods b { display: block; color: var(--ds-ink); font-size: 15px; }

.gain { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; background: var(--ds-tint); color: var(--ds-primary); font-size: 12px; font-weight: 800; }

.inline-cta { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 26px; border-radius: var(--ds-card-radius); background: var(--ds-ink); color: #fff; }
.inline-cta p { margin: 0; }
.inline-cta p b { display: block; font-size: 18px; line-height: 26px; }
.inline-cta p span { display: block; margin-top: 4px; color: #a8b2c4; font-size: 14px; line-height: 22px; }
.inline-cta em { font-style: normal; color: #fff; font-weight: 700; }
.inline-cta .button { flex-shrink: 0; }

.todo-score { margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: var(--ds-surface); border: 1px solid var(--ds-line); }
.todo-score > div:first-child { display: flex; justify-content: space-between; align-items: baseline; }
.todo-score span { color: var(--ds-muted); font-size: 15px; font-weight: 700; }
.todo-score strong { font-size: 16px; }
.todo-score strong b { font-size: 32px; line-height: 1; color: var(--ds-warning); transition: color 200ms; }
.todo-score.is-ready strong b { color: var(--ds-success); }
.todo-score__bar { position: relative; height: 8px; margin: 14px 0 22px; border-radius: 4px; background: #e4e8f0; }
.todo-score__bar i { display: block; height: 100%; border-radius: 4px; background: #e8a33d; transition: width 300ms ease, background 200ms; }
.todo-score.is-ready .todo-score__bar i { background: var(--ds-success); }
.todo-score__bar em { position: absolute; top: 12px; transform: translateX(-50%); color: var(--ds-success); font-style: normal; font-size: 11px; font-weight: 750; white-space: nowrap; }
.todo-score__bar em::before { content: ""; position: absolute; left: 50%; top: -16px; width: 2px; height: 12px; background: var(--ds-success); }
.todo-score p { margin: 0; color: var(--ds-muted); font-size: 13px; font-weight: 700; }
.todo-list label { grid-template-columns: 24px 64px 1fr auto; }
.todo-list__gain { color: var(--ds-primary); font-style: normal; font-size: 14px; font-weight: 800; }
.todo-list label:has(input:checked) .todo-list__gain { color: var(--ds-success); }

.cta-card__date { margin: 14px 0 0 !important; color: #fff !important; font-size: 16px !important; }
.cta-card__date b { padding: 2px 8px; border-radius: 6px; background: rgb(255 255 255 / 18%); }

@media (max-width: 980px) {
  .head-cards { grid-template-columns: 1fr; }
  .inline-cta { flex-direction: column; align-items: stretch; }
}
@media (max-width: 700px) {
  .intake div { grid-template-columns: 96px 1fr; }
  .head-card { padding: 20px; }
  .todo-list label { grid-template-columns: 22px 1fr auto; }
  .todo-list__gain { grid-column: 3; grid-row: 1; }
  .inline-cta .button { width: 100%; }
}

/* v4: 샘플 유형 탭, PDF 받기 */
.sample-tabs { display: inline-flex; gap: 2px; padding: 4px; border-radius: 12px; background: #e9edf4; }
.sample-tab { padding: 8px 16px; border-radius: 9px; color: var(--ds-muted); font-size: 14px; font-weight: 700; white-space: nowrap; }
.sample-tab:hover { color: var(--ds-ink); }
.sample-tab.is-on { background: #fff; color: var(--ds-ink); box-shadow: 0 1px 3px rgb(11 18 32 / 12%); }
.pdf-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ds-muted); font-size: 14px; font-weight: 700; white-space: nowrap; }
.pdf-link:hover { color: var(--ds-ink); }

/* SaaS 목업 추가 요소 */
.mock__price { margin-top: 12px; width: fit-content; padding: 2px 4px; }
.mock__price > .pin { left: auto; right: -34px; top: -6px; }
.mock__micro--muted { margin: 0; color: #98a2b3; }
.mock__micro--strong { margin: 0; color: #087a5b; font-weight: 700; }
.mock__visual.hot { padding: 4px; }
.mock__money { font-size: 28px; line-height: 36px; color: #1d2333; }
.mock__connect { margin-top: 4px; }
.mock__connect-row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: #f6f4ff; }
.mock__step { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: #7c5cf0; color: #fff; font-size: 13px; font-weight: 800; }
.mock__connect-text { flex: 1; display: grid; gap: 2px; color: #6b7382; font-size: 13px; }
.mock__connect-text b { color: #1d2333; font-size: 15px; }
.mock__safe { color: #087a5b; font-weight: 700; }
.mock__btn--small { height: 38px; padding: 0 16px; background: #7c5cf0; color: #fff; font-size: 13px; }

/* 커머스 상품 상세 목업 */
.pdp { display: grid; grid-template-columns: 0.8fr 1fr; align-items: start; gap: 36px; padding: 32px 0 28px; }
.mock--commerce .mock__logo { color: #3a4452; font-size: 16px; letter-spacing: 1.2px; }
.mock--commerce .mock__logo i { background: #79614b; }
.pdp__photo { position: relative; aspect-ratio: 1.6; border-radius: 14px; overflow: hidden; background: #efe8df; }
.pdp__photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.pdp__save { position: absolute; top: 16px; right: 16px; width: 18px; height: 18px; color: #736b64; }
.pdp__count { position: absolute; right: 16px; bottom: 14px; padding: 4px 10px; border-radius: 6px; background: rgb(255 255 255 / 86%); color: #6e655c; font-size: 10px; font-weight: 600; }
.pdp__notes { margin: 0; color: #8b7968; font-size: 12px; line-height: 19px; }
.pdp__crumb { margin: 0; color: #98a2b3; font-size: 12px; }
.pdp__name { margin: 6px 0 0; font-size: 24px; line-height: 32px; font-weight: 800; color: #1d2333; }
.pdp__rating { margin: 6px 0 0; color: #b7791f; font-size: 14px; font-weight: 700; }
.pdp__rating u { color: #6b7382; font-weight: 600; }
.pdp__info > .hot { margin-top: 14px; padding: 4px 0; }
.pdp__price { margin: 0; font-size: 28px; line-height: 36px; font-weight: 800; color: #1d2333; }
.pdp__ship { margin: 4px 0 0; color: #087a5b; font-size: 14px; font-weight: 700; }
.pdp__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.pdp__select { height: 42px; display: flex; align-items: center; padding: 0 12px; border: 1px solid #dfe3ea; border-radius: 10px; color: #6b7382; font-size: 13px; }
.mock-frame[data-view="after"] .is-missing-after { border-color: #c4570a; box-shadow: 0 0 0 3px #fff1e0; }
.pdp__hint { grid-column: 1 / -1; color: #c4570a; font-size: 12px; font-weight: 700; }
.pdp__sub { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 12px; border: 1px solid #e4e1fb; border-radius: 10px; color: #3a4452; font-size: 13px; font-weight: 650; }
.pdp__sub i { width: 16px; height: 16px; border: 2px solid #7c5cf0; border-radius: 50%; }
.pdp__ctas { display: flex !important; gap: 10px; margin-top: 18px; }
.pdp__ctas .mock__btn { flex: 1; justify-content: center; }
.pdp__ctas .hot--inline { flex: 1; display: flex; }
.pdp__ctas .hot--inline .mock__btn { width: 100%; }
.pdp__btn-sub { background: #6f5846; color: #fff; border-radius: 8px; }
.pdp__btn-buy { background: #d6d9e0; color: #fff; }
.mock-frame[data-view="after"] .pdp__btn-buy { background: #6f5846; }
.pdp__ctas > .pin { left: auto; right: -18px; }
.pdp__ctas .hot--inline > .pin { left: -16px; }
.pdp__reviews { padding-top: 8px; }
.pdp__story { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; color: #9a8c81; font-size: 12px; }
.pdp__story b { color: #4d4037; font-weight: 700; }
.pdp__review-strip { display: block; padding: 14px 16px; border-radius: 12px; background: #fff8eb; color: #b7791f; font-size: 14px; font-weight: 750; }
.pdp__review-strip small { color: #98a2b3; font-weight: 600; }
.pdp__review-strip--moved { background: #f4f6fa; color: #98a2b3; font-weight: 600; }

/* 가입 Flow 목업 */
.mock--signup { padding-top: 24px; }
.flow__brand { height: 40px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.flow__brand b { color: #253048; font-size: 18px; font-weight: 800; letter-spacing: -0.5px; }
.flow__brand span { color: #8a93a3; font-size: 12px; }
.flow__desc { margin: -2px 0 0; color: #8c97a8; font-size: 12px; }
.flow__picked { display: grid; gap: 10px; padding: 16px; border-radius: 10px; background: #f7f7fc; }
.flow__picked small { color: #929aad; font-size: 11px; }
.flow__picked b { color: #5d4da6; font-size: 14px; font-weight: 700; }
.flow__eye { width: 16px; height: 16px; margin-left: auto; color: #9aa4b5; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.flow__label { display: block; margin-bottom: 8px; color: #6d7690; font-size: 12px; font-weight: 700; }
.flow__phone { min-height: 340px; display: flex; flex-direction: column; gap: 12px; padding: 22px 18px; border: 1px solid #e1e6ee; border-radius: 14px; background: #fff; box-shadow: 0 4px 12px rgb(40 49 75 / 3%); }
.flow__top { padding-top: 2px; }
.flow__progress { display: flex; align-items: center; gap: 8px; color: #7c5cf0; font-size: 12px; }
.flow__progress i { flex: 1; height: 5px; border-radius: 3px; background: #eceef3; }
.flow__progress s { display: block; height: 100%; border-radius: 3px; background: #7c5cf0; }
.flow__title { margin: 4px 0 0; font-size: 19px; font-weight: 800; color: #1d2333; }
.flow__help { margin: -4px 0 0; color: #087a5b; font-size: 13px; font-weight: 700; }
.flow__field { display: block; }
.flow__field small { display: block; margin-bottom: 5px; color: #6b7382; font-size: 12px; }
.flow__field i { display: flex; align-items: center; height: 40px; padding: 0 12px; border: 1px solid #dde3ed; border-radius: 8px; background: #fcfdff; color: #6b7382; font-style: normal; font-size: 13px; }
.flow__field i.is-placeholder { color: #a4aebf; font-size: 12px; }
.flow__field--error i { border-color: #e5484d; background: #fffafb; }
.flow__error { display: block; margin-top: 6px; color: #e5484d; font-size: 12px; }
.flow__checks { display: flex; gap: 12px; margin-top: 8px; font-size: 12px; }
.flow__checks b { color: #087a5b; }
.flow__checks em { color: #6b7382; font-style: normal; }
.flow__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.flow__chips i { padding: 7px 12px; border: 1px solid #dfe3ea; border-radius: 8px; color: #6b7382; font-style: normal; font-size: 13px; }
.flow__chips i.is-on { border-color: #7c5cf0; background: #f6f4ff; color: #5b4bc4; font-weight: 700; }
.flow__btn { display: flex; align-items: center; justify-content: center; height: 44px; margin-top: auto; border-radius: 8px; background: #6950d7; color: #fff; font-size: 14px; font-weight: 700; }
.flow__phone > .hot:last-child { margin-top: auto; }
.flow__phone > .hot:last-child .flow__btn { margin-top: 0; }
.flow .hot { outline-offset: 6px; }
.flow .pin { left: auto; right: -14px; }

@media (max-width: 980px) {
  .pdp { grid-template-columns: 1fr; gap: 22px; }
  .pdp__photo { aspect-ratio: 16 / 9; }
  .flow { grid-template-columns: 1fr; }
  .flow__phone { min-height: 0; }
}
@media (max-width: 700px) {
  .report-bar { flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-bottom: 28px; }
  .sample-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .sample-tab { padding: 8px 4px; font-size: 13px; text-align: center; }
  .pdf-link { font-size: 13px; }
  .team-line { flex-direction: column; gap: 2px; }
  .team-line span + span::before { content: none; }
  .pdp__name { font-size: 20px; line-height: 28px; }
  .pdp__price { font-size: 24px; }
  .pdp__ctas > .pin { right: -10px; }
}

/* 화면 전용 / 인쇄 전용 */
.print-only, .print-cover { display: none !important; }

/* ---------- PDF (인쇄) ---------- */
@page { size: A4; margin: 14mm 12mm 16mm; }
@media print {
  html { scroll-padding-top: 0; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; background: #fff; }
  .screen-only, .topbar, .sticky-cta, .site-footer, .sample-tabs, .report-bar, .ba-toggle, .copy-btn, .inline-cta, .service-list, .head-card__link, .direction-card__select, .todo-list input, .cta-card .button { display: none !important; }
  .print-only { display: block !important; }
  .container { width: 100%; }
  section { padding-top: 0 !important; padding-bottom: 28px !important; border: 0 !important; }
  .report-head, .findings-section { background: #fff; }

  /* 표지 */
  .print-cover { display: flex !important; flex-direction: column; min-height: 255mm; padding: 18mm 4mm 0 !important; break-after: page; }
  .print-cover__brand { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; }
  .print-cover__kicker { margin: 70mm 0 0; color: var(--ds-primary); font-size: 15px; font-weight: 800; }
  .print-cover__title { margin: 12px 0 0; font-size: 46px; line-height: 58px; font-weight: 800; }
  .print-cover__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; margin: 36px 0 0; padding-top: 24px; border-top: 2px solid var(--ds-ink); }
  .print-cover__meta dt { color: #8a93a3; font-size: 13px; font-weight: 700; }
  .print-cover__meta dd { margin: 4px 0 0; font-size: 16px; font-weight: 750; }
  .print-cover__toc { margin: 40px 0 0; padding-left: 20px; color: var(--ds-muted); font-size: 15px; line-height: 30px; }
  .print-cover__note { margin-top: auto; padding: 14px 16px; border-radius: 10px; background: var(--ds-surface); color: var(--ds-muted); font-size: 13px; }

  /* 쪽 나눔 */
  #screen, #findings, #directions, #todo { break-before: page; }
  .finding, .head-card, .tldr, .score-panel, .direction-card, .recommendation, .copy-row, .matrix-wrap, .todo-list li, .mock-frame, .cta-card, .section-heading { break-inside: avoid; }
  .section-heading { break-after: avoid; margin-bottom: 24px; }
  .mock-frame { box-shadow: none; }
  .mock-frame--print-after { display: block !important; margin-top: 18px; break-before: page; }
  .pin { animation: none !important; box-shadow: 0 0 0 3px #fff !important; }
  .score-panel { box-shadow: none; }
  .score-how { border: 0; padding-top: 0; }
  .score-how p { display: block; margin: 0; }
  .score-how:not([open]) > p { display: block; }
  .direction-card { min-height: 0; }
  .directions-section { padding: 28px 24px !important; border-radius: 12px; }
  .cta-card__date a { color: #fff; text-decoration: underline !important; }
  .todo-list label { grid-template-columns: 64px 1fr auto; }
  .score-steps { display: grid !important; gap: 6px; margin: 22px 0 0; padding: 14px 16px; list-style: none; border-radius: 12px; background: var(--ds-surface); }
  .score-steps li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ds-muted); }
  .score-steps li b { color: var(--ds-ink); }
  .score-steps li:last-child b { color: var(--ds-success); }
  .cta-section { break-inside: avoid; }
  .cta-card { grid-template-columns: 1fr; }
  a[href] { text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
