/* Material You. Tokens and components are shared by every public and private screen. */
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/fonts/roboto-regular.ttf') format('truetype');
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/static/fonts/roboto-medium.ttf') format('truetype');
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/static/fonts/roboto-bold.ttf') format('truetype');
}
:root {
  color-scheme: light;
  --background: #f8f3ea;
  --text: #1a1817;
  --muted: #6d6561;
  --brand: #6e1f2a;
  --on-primary: #fff;
  --pale: #f1e3e5;
  --on-container: #4a131b;
  --tertiary: #9b6b59;
  --surface: #efe7da;
  --surface-low: #e8ddd2;
  --outline: #807473;
  --line: #d8cec3;
  --positive: #29613f;
  --positive-container: #dceedd;
  --warning: #775500;
  --warning-container: #fff0cf;
  --error: #6e1f2a;
  --error-container: #f3e3e5;
  --radius-card: 24px;
  --radius-section: 48px;
  --radius-pill: 9999px;
  --elevation-1: 0 1px 3px rgb(28 27 31 / 8%), 0 1px 2px rgb(28 27 31 / 5%);
  --elevation-2: 0 6px 18px rgb(28 27 31 / 9%), 0 2px 5px rgb(28 27 31 / 5%);
  --elevation-3: 0 16px 36px rgb(28 27 31 / 12%), 0 4px 10px rgb(28 27 31 / 4%);
  --motion: 300ms cubic-bezier(.2, 0, 0, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--background); color: var(--text); font: 400 16px/1.6 Roboto, Arial, sans-serif; }
a { color: var(--brand); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.01em; line-height: 1.2; }
h1 { font-size: clamp(36px, 4.2vw, 56px); margin-bottom: 24px; }
h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 24px; }
h3 { font-size: 24px; margin-bottom: 12px; }
em { font-style: normal; color: var(--brand); }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 32px; }
.narrow { width: calc(100% - 48px); max-width: 800px; margin-inline: auto; padding-inline: 40px; }
.section { padding-block: 64px; }
.lead { font-size: 20px; line-height: 1.6; color: var(--muted); max-width: 640px; margin-bottom: 24px; }
.eyebrow { color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .09em; line-height: 1.5; margin-bottom: 16px; }
.small, .hint, .source-ref, .price-note { font-size: 13px; color: var(--muted); line-height: 1.6; }
.hint { margin: 8px 0 16px; }
.optional { color: var(--muted); font-weight: 400; }
.preserve-lines, pre, .source-ref, #purchase-reference { overflow-wrap: anywhere; white-space: pre-wrap; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0 !important; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 20; background: var(--pale); border-radius: 24px; padding: 12px 24px; }
.skip:focus { top: 16px; }

/* Pill actions: state layers preserve the seed color; press feedback is motion-safe. */
button, .button {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 12px; min-height: 48px; max-width: 100%; padding: 12px 24px;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  background-color: var(--brand); color: var(--on-primary);
  font-size: 14px; font-weight: 500; letter-spacing: .01em; line-height: 1.4;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: box-shadow var(--motion), transform var(--motion), background-color var(--motion);
}
button:hover, .button:hover { background-image: linear-gradient(rgb(255 255 255 / 9%), rgb(255 255 255 / 9%)); box-shadow: var(--elevation-2); }
button:active, .button:active { transform: scale(.95); background-image: linear-gradient(rgb(255 255 255 / 16%), rgb(255 255 255 / 16%)); }
.button.secondary { background-color: var(--pale); color: var(--on-container); }
.button.outlined { background-color: transparent; border-color: var(--outline); color: var(--brand); }
.button-link { background-color: transparent; color: var(--brand); padding: 10px 16px; text-decoration: none; }
.button-link:hover, .button.secondary:hover, .button.outlined:hover { background-image: linear-gradient(rgb(110 31 42 / 8%), rgb(110 31 42 / 8%)); }
.button-link:hover { box-shadow: none; }
button:disabled { background: var(--surface-low); color: var(--muted); box-shadow: none; transform: none; cursor: not-allowed; }
.danger { background-color: var(--error); }
.text-link, .back { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; }
.back { margin-bottom: 20px; }

/* Shared app bar and footer. */
.demo-banner { padding: 8px 24px; text-align: center; background: var(--pale); color: var(--on-container); font-size: 12px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px max(32px, calc((100vw - 1136px) / 2)); border-bottom: 1px solid var(--surface-low); background: rgb(248 243 234 / 92%); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 26px; font-weight: 500; letter-spacing: -.04em; text-decoration: none; line-height: 1.2; white-space: nowrap; }
.brand-mark { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 15px 15px 5px 15px; background: var(--brand); color: var(--on-primary); font-size: 27px; }
.brand-dot { color: var(--brand); margin-left: -10px; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 8px; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; border-radius: var(--radius-pill); padding: 10px 16px; color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color var(--motion); }
.site-header nav a:hover { background: var(--pale); color: var(--on-container); }
.site-header nav a:last-child { background: var(--pale); color: var(--on-container); }
footer { margin-top: 64px; padding: 40px max(32px, calc((100vw - 1136px) / 2)); background: var(--surface); border-radius: 32px 32px 0 0; }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; gap: 32px; }
.footer-top { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); align-items: center; }
.footer-top p { margin: 0; font-size: 14px; }
.footer-bottom p, .footer-bottom a { font-size: 12px; color: var(--muted); }
.footer-bottom a { min-height: 44px; }

/* Landing: layered organic atmosphere with usable, document-led content. */
.commercial-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 64px; align-items: center; width: calc(100% - 64px); margin-block: 40px 24px; padding: 56px; border-radius: var(--radius-section); background: var(--surface); overflow: hidden; }
.commercial-hero::before, .commercial-hero::after, .final-cta::before, .commercial-offer::before { content: ''; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(64px); }
.commercial-hero::before { width: 420px; height: 420px; right: -180px; top: -140px; background: rgb(110 31 42 / 16%); }
.commercial-hero::after { width: 340px; height: 340px; left: -160px; bottom: -230px; background: rgb(155 107 89 / 20%); }
.hero-copy, .hero-visual { min-width: 0; }
.commercial-hero h1 { font-size: clamp(38px, 4.1vw, 56px); }
.commercial-hero .eyebrow { display: inline-block; background: var(--pale); color: var(--on-container); border-radius: var(--radius-pill); padding: 8px 14px; font-size: 11px; letter-spacing: .04em; }
.hero-promise { font-size: 20px; line-height: 1.5; font-weight: 500; margin-bottom: 8px; }
.hero-description { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.hero-funnel { margin: 0; }
.hero-funnel fieldset { margin: 0 0 16px; }
.hero-funnel legend { font-size: 14px; padding: 0; margin-bottom: 12px; }
.hero-funnel button { width: 100%; justify-content: space-between; font-size: 16px; min-height: 52px; }
.hero-visual { position: relative; padding: 16px 0; }
.organic-shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.organic-shapes span { position: absolute; width: 220px; height: 240px; }
.organic-shapes span:first-child { background: var(--brand); opacity: .18; border-radius: 100px 24px 110px 100px; transform: rotate(-18deg); right: -12px; top: -4px; }
.organic-shapes span:last-child { background: var(--tertiary); opacity: .12; border-radius: 50%; left: -24px; bottom: 0; mix-blend-mode: multiply; }
.money-example { padding: 32px; border-radius: 32px; background: rgb(248 243 234 / 94%); box-shadow: var(--elevation-3); backdrop-filter: blur(12px); }
.sample-tag { display: inline-flex; align-items: center; border-radius: var(--radius-pill); padding: 6px 12px; background: var(--pale); color: var(--on-container); font-size: 11px; font-weight: 500; letter-spacing: .06em; }
.example-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.document-icon { width: 44px; height: 44px; padding: 10px; background: var(--pale); border-radius: 14px; color: var(--brand); }
.money-example h2 { font-size: 24px; margin-bottom: 8px; }
.hero-euros { display: block; font-size: clamp(56px, 6.5vw, 80px); line-height: 1.2; letter-spacing: -.04em; color: var(--brand); font-weight: 500; font-variant-numeric: tabular-nums; }
.hero-euros span { font-size: .6em; }
.money-caption { color: var(--muted); font-size: 12px; letter-spacing: .04em; margin: 4px 0 24px; }
.example-support { display: grid; gap: 12px; padding-block: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px; font-size: 14px; }
.example-support span { display: flex; align-items: center; gap: 10px; }
.status-icon { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 50%; background: var(--positive-container); color: var(--positive); font-style: normal; font-weight: 700; }
.status-icon.pending { background: var(--warning-container); color: var(--warning); }
.money-example .small { margin: 12px 0 0; font-size: 12px; }
.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.proof-strip > div { background: var(--surface); border-radius: var(--radius-card); padding: 24px; }
.proof-strip strong { display: block; color: var(--brand); font-weight: 500; font-size: 16px; }
.proof-strip span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.commercial-section { padding-block: 80px; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.three article { padding: 28px; background: var(--surface); border-radius: var(--radius-card); box-shadow: var(--elevation-1); transition: box-shadow var(--motion), transform var(--motion); }
.three article:hover { box-shadow: var(--elevation-2); transform: scale(1.02); }
.number { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--brand); background: var(--pale); font-size: 20px; font-weight: 500; margin-bottom: 24px; transition: box-shadow var(--motion); }
.three article:hover .number { box-shadow: 0 0 24px rgb(110 31 42 / 25%); }
.three p { color: var(--muted); margin-bottom: 0; font-size: 15px; }
.commercial-section > .button { margin-top: 32px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.commercial-offer { position: relative; isolation: isolate; overflow: hidden; width: calc(100% - 64px); max-width: 1200px; margin-inline: auto; padding: 64px 24px 48px; background: var(--pale); border-radius: var(--radius-section); }
.commercial-offer::before { width: 440px; height: 440px; left: -200px; bottom: -180px; background: rgb(155 107 89 / 20%); }
.offer { background: rgb(248 243 234 / 78%); backdrop-filter: blur(12px); border: 1px solid rgb(255 255 255 / 20%); border-radius: 32px; padding: 32px; box-shadow: var(--elevation-2); transform: translateY(-16px); }
.offer-title { font-size: 20px; font-weight: 500; }
.offer-price { font-size: 48px; line-height: 1.2; color: var(--brand); font-weight: 500; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.offer-price span { display: block; font-size: 13px; font-weight: 400; margin-top: 8px; color: var(--muted); }
.offer .button { width: 100%; margin: 8px 0 16px; }
.offer .small { margin-bottom: 0; }
.check-list { list-style: none; padding: 0; font-size: 15px; }
.check-list li { position: relative; padding: 8px 0 8px 28px; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--brand); }
.faq { max-width: 920px; }
details { background: var(--surface); border-radius: var(--radius-card); padding: 0 24px; margin-block: 12px; transition: background-color var(--motion), box-shadow var(--motion); }
details:hover { background: var(--surface-low); }
details[open] { padding-bottom: 24px; }
summary { padding-block: 20px; cursor: pointer; font-size: 16px; font-weight: 500; }
details p { color: var(--muted); margin: 4px 0 16px; }
details p:last-child { margin-bottom: 0; }
.final-cta { position: relative; isolation: isolate; overflow: hidden; width: calc(100% - 64px); padding: 64px 32px; border-radius: var(--radius-section); color: var(--on-primary); background: var(--brand); box-shadow: var(--elevation-3); text-align: center; }
.final-cta::before { width: 400px; height: 400px; right: -100px; top: -200px; background: rgb(241 227 229 / 28%); }
.final-cta .button { background-color: var(--pale); color: var(--on-container); }
.final-cta p { font-size: 14px; margin: 20px 0 0; }

/* Working surfaces: intake, confirmation, analysis, payment, recovery, and reports. */
.narrow.section, .report.wrap { background: var(--surface); border-radius: 32px; margin-block: 40px; padding-block: 40px; box-shadow: var(--elevation-1); }
.page-title { font-size: 40px; }
.working .page-title { font-size: 36px; }
.working h2 { font-size: 28px; }
.working .lead { font-size: 18px; }
.funnel { max-width: 720px; min-height: 560px; }
form { margin-top: 24px; }
fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
legend { width: 100%; font-size: 20px; font-weight: 500; padding-bottom: 16px; }
label { display: block; font-size: 14px; font-weight: 500; margin: 20px 0 8px; }
input, select, textarea { width: 100%; min-width: 0; max-width: 100%; color: var(--text); background: var(--surface-low); border: 0; border-bottom: 2px solid var(--outline); border-radius: 12px 12px 0 0; padding: 14px 16px; font-size: 16px; line-height: 1.6; min-height: 56px; transition: border-color var(--motion), background-color var(--motion); }
input:hover, select:hover, textarea:hover { background: var(--pale); }
input:focus, select:focus, textarea:focus { border-bottom-color: var(--brand); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input[aria-invalid=true], textarea[aria-invalid=true], select[aria-invalid=true] { border-bottom-color: var(--error); }
textarea { resize: vertical; }
input[type=checkbox], input[type=radio] { min-height: 0; width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--brand); margin: 0; padding: 0; }
.checkbox { display: flex; align-items: center; min-height: 44px; gap: 12px; font-size: 14px; font-weight: 400; margin-block: 8px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.issue-choices { display: grid; gap: 8px; }
.issue-choices label { display: flex; align-items: center; gap: 12px; min-height: 56px; border: 2px solid transparent; border-radius: 20px; background: var(--background); padding: 12px 16px; margin: 0; cursor: pointer; font-size: 14px; transition: box-shadow var(--motion), background-color var(--motion); }
.issue-choices label:has(:checked) { background: var(--pale); border-color: var(--brand); }
.issue-choices label:hover { box-shadow: var(--elevation-1); background-image: linear-gradient(rgb(110 31 42 / 6%), rgb(110 31 42 / 6%)); }
.issue-choices label:has(:focus-visible) { outline: 2px solid var(--brand); outline-offset: 3px; }
.issue-choices label > span:last-child { margin-left: auto; }
.funnel-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; counter-reset: step; margin: 0 0 32px; }
.funnel-progress li { position: relative; counter-increment: step; font-size: 12px; color: var(--muted); border-top: 3px solid var(--line); padding-top: 12px; }
.funnel-progress li::before { content: counter(step); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-low); margin-right: 6px; margin-bottom: 4px; font-size: 12px; }
.funnel-progress li.current { color: var(--brand); border-color: var(--brand); font-weight: 700; }
.funnel-progress li.current::before { background: var(--brand); color: var(--on-primary); }
.funnel-buttons { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin: 24px 0; }
.funnel-buttons > * { flex-shrink: 1; }
.funnel-buttons .button-link { margin-left: -16px; }
.drop-zone { text-align: center; border: 2px dashed var(--outline); border-radius: 24px; background: var(--background); padding: 28px 24px; transition: background-color var(--motion); }
.drop-zone > span { display: inline-grid; place-items: center; width: 56px; height: 56px; background: var(--pale); color: var(--brand); border-radius: 20px; font-size: 28px; }
.drop-zone p { margin: 12px 0; }
.drop-zone.dragover { background: var(--pale); border-color: var(--brand); }
.file-picker { display: inline-flex; cursor: pointer; margin: 8px auto; }
#files:focus-visible + .file-picker { outline: 2px solid var(--brand); outline-offset: 4px; }
.file-list { list-style: none; padding: 0; font-size: 14px; }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 12px 0; overflow-wrap: anywhere; }
.file-list button { flex-shrink: 0; }
.notice, .privacy-note, .error, .example-loader, .clarification-card { padding: 24px; margin: 24px 0; border-radius: var(--radius-card); background: var(--pale); color: var(--on-container); font-size: 14px; overflow-wrap: anywhere; }
.privacy-note { background: var(--warning-container); color: var(--text); }
.error { background: var(--error-container); color: var(--error); border-left: 4px solid var(--error); }
.notice p:last-child, .privacy-note p:last-child, .example-loader p:last-child { margin-bottom: 0; }
.notice li { margin-block: 8px; }
.example-loader .button-link { margin-left: -16px; }
.clarification-card h3 { font-size: 20px; }
.clarification-card .button-link { display: flex; margin-top: 12px; }
.confirmation-summary { margin: 24px 0; }
.summary-row { display: grid; grid-template-columns: 1fr 2fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.summary-row dt { font-size: 14px; font-weight: 500; }
.summary-row dd { margin: 0; overflow-wrap: anywhere; }
.summary-row .source-ref { margin: 8px 0 0; }
.confirmation-actions { margin: 32px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.confirmation-actions label { margin-bottom: 0; }
.confirmation-actions select { width: 100%; }
.stage-list { padding: 0; list-style: none; margin: 32px 0; }
.stage-list li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.stage-list li::before { content: '○'; display: inline-block; width: 32px; }
.stage-list li.done::before { content: '✓'; color: var(--positive); }
.stage-list li.active { color: var(--brand); font-weight: 500; }
.loading-indicator { width: 40px; height: 40px; border: 3px solid var(--pale); border-top-color: var(--brand); border-radius: 50%; animation: reading-spin 1.2s linear infinite; margin: 32px 0; }
@keyframes reading-spin { to { transform: rotate(360deg); } }
.result-metric { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--pale); border-radius: var(--radius-card); padding: 24px; margin-block: 24px; }
.result-metric strong { display: block; font-size: clamp(36px, 5vw, 56px); line-height: 1.2; color: var(--brand); letter-spacing: -.03em; font-weight: 500; overflow-wrap: anywhere; }
.result-metric span { display: block; color: var(--muted); font-size: 14px; margin-top: 8px; }
.result-metric.secondary-amount #result-amount { font-size: 28px; }
.pill { display: inline-block; padding: 8px 14px; margin: 0; background: var(--pale); color: var(--on-container); border-radius: var(--radius-pill); font-size: 12px; font-weight: 500; }
.pill[data-tone=supported], .charge-line[data-classification=strong] > .pill { color: var(--positive); background: var(--positive-container); }
.pill[data-tone=warning], .charge-line[data-classification=needs_evidence] > .pill { color: var(--warning); background: var(--warning-container); }
.charge-line[data-classification=excluded] > .pill, .charge-line[data-classification=not_supported] > .pill, .charge-line[data-classification=unassessed] > .pill { color: var(--muted); background: var(--surface-low); }
.purchase-card { background: var(--pale); border-radius: 28px; padding: 32px; margin: 32px 0; box-shadow: var(--elevation-1); }
.purchase-card h2 { font-size: 28px; }
.purchase-card .small { margin: 16px 0 0; }
.purchase-card #checkout, #compact-buy { width: 100%; }
.report-ready { color: var(--positive); font-weight: 500; }
.large-price { font-size: 48px; line-height: 1.2; color: var(--brand); font-weight: 500; }
#recovery-request > button, #recovery-verify > button { margin-top: 24px; }
.resources { padding-top: 32px; }
.resources h2 { font-size: 28px; }
.case-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 32px; font-size: 14px; }
.report { max-width: 960px; }
.report-heading { display: flex; justify-content: space-between; gap: 32px; }
.report-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 24px; }
.report-section { padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--line); }
.report-section h2 { font-size: 32px; }
.report-section .number { width: 40px; height: 40px; margin-bottom: 16px; }
[data-screen=report] > section { margin-top: 32px; }
[data-screen=report] textarea { line-height: 1.8; margin-bottom: 16px; }
[data-screen=report] #print-report { margin-top: 16px; }
[data-screen=report] section > .button, [data-screen=report] section > button { margin-bottom: 12px; }
.money-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.money-grid span { display: block; font-size: 13px; }
.money-grid strong { font-size: 28px; font-weight: 500; color: var(--brand); }
.valuation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 24px 0; }
.valuation-grid > div { padding: 24px; background: var(--pale); border-radius: var(--radius-card); }
#valuation-summary .valuation-grid > div:first-child, .valuation-grid > [data-tone=supported] { background: var(--positive-container); }
#valuation-summary .valuation-grid > div:last-child { background: var(--warning-container); }
.valuation-grid strong, .valuation-grid span { display: block; }
.valuation-grid strong { font-size: 36px; font-weight: 500; letter-spacing: -.03em; margin-bottom: 8px; }
.valuation-grid span { font-size: 14px; }
.ledger-list { padding-left: 24px; }
.ledger-list li { padding: 8px 0; overflow-wrap: anywhere; }
.economic-ledger { margin: 32px 0; }
.recommendation { padding: 28px; background: var(--pale); border-radius: var(--radius-card); }
.recommendation span, .recommendation strong { display: block; }
.recommendation strong { font-size: clamp(36px, 6vw, 56px); color: var(--brand); font-weight: 500; }
.charge-line, .evidence-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.charge-line-heading { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.charge-line-heading h3 { font-size: 22px; }
.charge-line-heading > strong { font-size: 26px; white-space: nowrap; }
.source-card { background: var(--surface-low); padding: 20px 24px; border-radius: 16px; margin-top: 24px; font-size: 14px; overflow-wrap: anywhere; }
.source-card p { margin: 8px 0; }
blockquote { border-left: 3px solid var(--brand); padding: 24px; margin: 24px 0; background: var(--pale); border-radius: 0 24px 24px 0; }
.sample-timeline { padding-left: 24px; }
.sample-timeline li { padding: 0 0 16px 8px; }

@media (max-width: 1000px) {
  .commercial-hero { gap: 32px; padding: 40px; }
  .commercial-hero h1 br { display: none; }
  .money-example { padding: 24px; }
  .split { gap: 32px; }
  .three article { padding: 24px; }
  .three h3 { font-size: 22px; }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 24px; }
  .site-header { padding: 16px 24px; flex-wrap: wrap; gap: 12px; }
  .brand { font-size: 24px; }
  .site-header nav { gap: 0; justify-content: space-between; width: 100%; }
  .site-header nav a { padding-inline: 12px; font-size: 12px; }
  .demo-banner { padding-inline: 20px; font-size: 11px; }
  .commercial-hero { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; margin-top: 24px; border-radius: 24px; }
  .commercial-hero h1 { font-size: 38px; }
  .commercial-hero .eyebrow { font-size: 10px; }
  .hero-promise { font-size: 18px; }
  .hero-visual { max-width: 440px; width: 100%; margin-inline: auto; padding: 24px 0; }
  .money-example { border-radius: 24px; }
  .hero-euros { font-size: 64px; }
  .organic-shapes span { width: 180px; height: 180px; }
  .proof-strip { grid-template-columns: 1fr; gap: 12px; }
  .proof-strip > div { padding: 20px 24px; }
  .commercial-section, .section { padding-block: 48px; }
  .three, .split { grid-template-columns: 1fr; gap: 20px; }
  .three article { padding: 24px; }
  .three .number { margin-bottom: 16px; }
  .commercial-offer { width: calc(100% - 32px); border-radius: 24px; padding: 32px 0; }
  .offer { transform: none; padding: 24px; border-radius: 24px; }
  .final-cta { width: calc(100% - 32px); border-radius: 24px; padding: 40px 24px; }
  .final-cta h2 { font-size: 32px; }
  footer { padding: 32px 24px; margin-top: 40px; }
  .footer-top, .footer-bottom { display: block; }
  .footer-top p { margin-top: 16px; }
  .narrow, .report.wrap { width: calc(100% - 32px); padding-inline: 24px; }
  .narrow.section, .report.wrap { border-radius: 24px; margin-block: 24px; padding-block: 28px; }
  .page-title, .working .page-title { font-size: 32px; }
  .lead, .working .lead { font-size: 18px; }
  .funnel-progress { gap: 8px; }
  .funnel-progress li { font-size: 11px; line-height: 1.5; }
  .funnel-progress li::before { display: grid; margin-bottom: 8px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .notice, .privacy-note, .error, .example-loader, .clarification-card { padding: 20px; }
  .funnel-buttons { gap: 12px; }
  .funnel-buttons button { padding-inline: 16px; }
  .summary-row { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .summary-row dt { grid-column: 1 / -1; }
  .summary-row dd { grid-column: 1; }
  .summary-row dd:last-child { grid-column: 2; grid-row: 2; }
  .result-metric { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .result-metric strong { font-size: 40px; }
  .purchase-card { padding: 24px; }
  .purchase-card h2 { font-size: 26px; }
  .purchase-card button { width: 100%; }
  .valuation-grid { gap: 12px; }
  .valuation-grid > div { padding: 16px; }
  .valuation-grid strong { font-size: 28px; overflow-wrap: anywhere; }
  .valuation-grid span { font-size: 13px; }
  .money-grid { grid-template-columns: 1fr; gap: 16px; }
  .charge-line-heading, .report-heading { display: block; }
  .case-actions { align-items: flex-start; flex-direction: column; }
  .case-actions .button-link { margin-left: -16px; }
  .drop-zone { padding: 24px 16px; }
  .file-list li { font-size: 13px; }
  details { padding-inline: 20px; }
}
@media (max-width: 360px) {
  .site-header { padding-inline: 16px; }
  .site-header nav a { padding-inline: 8px; }
  .commercial-hero, .narrow, .report.wrap { padding-inline: 20px; }
  .commercial-hero h1 { font-size: 34px; }
  .valuation-grid { grid-template-columns: 1fr; }
  .example-heading { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  button:active, .button:active, .three article:hover { transform: none; }
}
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .site-header, footer, .demo-banner, .skip, .funnel-progress, .report-actions,
  [data-screen=report] button, [data-screen=report] .button, #copy-status { display: none !important; }
  .narrow.section, .report.wrap { width: 100%; max-width: none; margin: 0; padding: 0; border-radius: 0; box-shadow: none; background: white; }
  .page-title, h1 { font-size: 26pt; }
  h2 { font-size: 20pt; }
  .report-section, .charge-line { break-inside: avoid; }
  .result-metric, details, .notice, .recommendation { background: white; color: black; padding-inline: 0; }
  [data-screen=report] textarea { background: white; color: black; border: 1px solid #aaa; padding: 12px; }
  a, .result-metric strong, .money-grid strong { color: black; }
  details[open] { padding-bottom: 16px; }
}

/* Fictional example: compact comparison, separate source documents and analysis. */
.discovery-card { padding: 24px; }
.discovery-card .sample-tag { font-size: 11px; padding: 6px 12px; }
.example-charge { margin: 16px 0 4px; font-size: 14px; color: var(--muted); }
.discovery-card .hero-euros { font-size: 64px; line-height: 1.1; }
.discovery-card .money-caption { margin: 4px 0 20px; font-size: 14px; letter-spacing: 0; }
.discovery-card h2 { font-size: 21px; line-height: 1.3; margin-bottom: 16px; }
.evidence-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 16px; }
.evidence-comparison > div { background: var(--background); padding: 14px; border-radius: 12px; }
.evidence-comparison h3 { font-size: 14px; line-height: 1.4; color: var(--muted); margin-bottom: 8px; }
.evidence-comparison p { font-size: 15px; line-height: 1.5; margin: 0; }
.example-pending { background: var(--warning-container); color: var(--warning); padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; margin: 16px 0 8px; }
.discovery-card > .text-link { font-size: 14px; }
.discovery-card > .small { margin-top: 8px; font-size: 12px; }
.sample-analysis section { margin-top: 28px; }
.sample-analysis > section:first-of-type { margin-top: 24px; }
.sample-analysis h2 { font-size: 26px; margin-bottom: 12px; }
.sample-analysis .sample-uncertainty { font-size: 14px; color: var(--muted); margin-top: 16px; }
.example-table, .document-table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 14px; line-height: 1.5; }
.example-table th, .example-table td, .document-table th, .document-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.example-table th { font-weight: 500; }
.example-table td:nth-child(2), .example-table th:nth-child(2) { text-align: right; white-space: nowrap; }
.example-table tfoot { color: var(--brand); font-weight: 700; }
.example-table thead { color: var(--muted); }
.document-excerpt { background: var(--background); padding: 20px; border-radius: 12px; margin-block: 16px; }
.document-excerpt h3 { font-size: 18px; }
.document-excerpt p { margin-bottom: 8px; }
.document-excerpt mark { background: var(--pale); color: var(--on-container); padding: 2px 4px; }
.sample-complaint { background: var(--background); border: 1px solid var(--line); border-radius: 20px; padding: 24px; font-size: 16px; }
.sample-reasoning { margin-block: 24px; }
.sample-analysis .example-conversion { padding-top: 28px; border-top: 1px solid var(--line); }
.example-conversion .small { margin: 16px 0 0; }
/* Source sheets deliberately use conventional document typography, not product cards. */
.sample-document { background: #eee; color: #222; font: 14px/1.5 Arial, sans-serif; }
.sample-document .demo-banner { background: #e4e4e4; color: #333; font: 12px/1.5 Arial, sans-serif; }
.sample-document .narrow.section.evidence-document { max-width: 800px; background: #fff; border: 1px solid #d5d5d5; border-radius: 0; margin-block: 24px; padding: 32px; box-shadow: 0 2px 6px rgb(0 0 0 / 5%); }
.sample-document h1 { font: 700 28px/1.2 Arial, sans-serif; letter-spacing: 0; margin-bottom: 8px; }
.sample-document h2 { font: 700 18px/1.3 Arial, sans-serif; letter-spacing: 0; margin: 24px 0 12px; }
.sample-document .eyebrow { color: #333; font: 700 12px/1.5 Arial, sans-serif; letter-spacing: .03em; margin-bottom: 12px; }
.sample-document .back { font-size: 12px; margin-bottom: 20px; }
.document-page { color: #555; font-size: 12px; }
.document-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; padding-block: 16px; margin-block: 20px; }
.document-facts dt { color: #555; font-size: 12px; }
.document-facts dd { margin: 2px 0 0; font-size: 14px; }
.document-table th, .document-table td { border-color: #ccc; }
.document-table thead, .document-table tfoot { background: #f3f3f3; }
.document-table td:last-child, .document-table th:last-child { text-align: right; white-space: nowrap; }
.document-table tfoot { font-weight: 700; }
.sample-document .small { color: #555; font-size: 12px; }
@media (max-width: 760px) {
  .discovery-card { padding: 20px; }
  .discovery-card .hero-euros { font-size: 56px; }
  .discovery-card h2 { font-size: 20px; }
  .evidence-comparison { grid-template-columns: 1fr; gap: 8px; }
  .evidence-comparison > div { padding: 12px 14px; }
  .document-facts { grid-template-columns: 1fr; }
  .sample-document .narrow.section.evidence-document { padding: 20px; }
  .sample-complaint { padding: 20px; }
  .example-table th, .example-table td { padding: 10px 4px; overflow-wrap: anywhere; }
}
@media print {
  .sample-document { background: #fff; }
  .sample-document .back, .sample-document .text-link { display: none; }
  .sample-document .demo-banner { display: block !important; background: none; font-weight: 700; }
  .sample-document .narrow.section.evidence-document { width: 100%; max-width: none; border: 0; padding: 16px 0; margin: 0; font-size: 10pt; box-shadow: none; }
  .sample-document .document-facts { grid-template-columns: 1fr 1fr; }
  .document-table tr { break-inside: avoid; }
}

.field-error { margin: 8px 0 16px; padding: 12px 16px; border-left: 3px solid var(--brand); border-radius: 12px; background: var(--pale); color: var(--on-container); font-size: 14px; }

/* Preliminary outcome: documentary triage and the paid next step. */
.preliminary-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-block: 28px; }
.preliminary-amount, .evidence-card { min-width: 0; padding: 28px; border-radius: var(--radius-card); }
.preliminary-amount { background: var(--pale); color: var(--on-container); }
.preliminary-amount > strong { display: block; color: var(--brand); font-size: clamp(38px, 5vw, 60px); line-height: 1.15; letter-spacing: -.035em; overflow-wrap: anywhere; }
.preliminary-amount h2, .evidence-card h2 { font-size: 17px; line-height: 1.4; margin: 14px 0; }
.preliminary-amount .hint { margin-bottom: 0; }
.evidence-card { background: var(--background); border: 1px solid var(--line); }
.evidence-card h2 { margin-top: 0; }
#compact-confidence { display: block; font-size: 30px; color: var(--brand); }
.evidence-scale { display: flex; gap: 8px; margin: 18px 0; }
.evidence-scale span { flex: 1; text-align: center; border-top: 4px solid var(--line); padding-top: 8px; font-size: 12px; color: var(--muted); }
.evidence-scale .active { border-color: var(--brand); color: var(--brand); font-weight: 700; }
#compact-explanation { font-size: 14px; margin-bottom: 0; }
.preliminary-unlock { background: var(--background); border: 2px solid var(--brand); padding: 32px; }
.preliminary-unlock h2 { max-width: 620px; line-height: 1.3; }
.unlock-price { color: var(--brand); white-space: nowrap; }
.unlock-benefits { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.unlock-benefits li { position: relative; padding-left: 22px; }
.unlock-benefits li::before { content: '✓'; position: absolute; left: 0; color: var(--brand); }
@media (max-width: 680px) {
  .preliminary-summary, .unlock-benefits { grid-template-columns: 1fr; }
  .preliminary-amount, .evidence-card, .preliminary-unlock { padding: 24px; }
  .preliminary-unlock h2 { font-size: 25px; }
}

/* Landing example: classified amounts and a direct path to the sample analysis. */
.landing-example { padding: 28px; }
.landing-example .hero-euros { margin-top: 18px; line-height: 1.05; font-weight: 650; }
.landing-example .money-caption { margin: 8px 0 20px; font-size: 13px; }
.example-amounts { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 20px; }
.example-amounts > div { padding: 16px 12px; border-radius: 14px; min-width: 0; }
.example-supported { background: #F4E5E7; }
.example-unresolved { background: #FFF0CE; }
.example-amounts strong { display: block; color: var(--brand); font-size: 28px; line-height: 1.2; font-weight: 650; }
.example-amounts span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.landing-example .example-cta { width: 100%; min-height: 56px; padding: 12px 10px; border: none; border-radius: 14px; background: #7D1F2D; color: #FFF8F3; font-weight: 650; font-size: 17px; gap: 8px; text-decoration: none; transition: background .15s ease, transform .15s ease; }
.example-cta svg { flex-shrink: 0; }
.landing-example .example-cta:hover { background: #681824; transform: translateY(-1px); }
.landing-example > .small { text-align: center; margin-top: 16px; }
@media (max-width: 480px) {
  .landing-example { padding: 20px; }
  .landing-example .example-cta { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-example .example-cta { transition: none; }
  .landing-example .example-cta:hover { transform: none; }
}

/* Example report: a readable preview from evidence to complaint. */
.example-report { max-width: 1040px; margin-block: 40px 64px; }
.example-intro { background: var(--surface); border-radius: 28px; padding: 40px; }
.example-intro > .text-link { display: block; width: fit-content; margin-bottom: 24px; }
.example-intro .sample-tag { display: inline-block; margin-bottom: 20px; }
.example-intro h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.16; max-width: 850px; margin-bottom: 20px; }
.example-intro .lead { max-width: 720px; font-size: 18px; color: var(--muted); }
.example-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 28px 0 18px; }
.example-metrics > div { padding: 22px; background: var(--background); border: 1px solid var(--line); border-radius: 16px; }
.example-metrics strong { display: block; font-size: 38px; line-height: 1.2; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.example-metrics span { font-size: 14px; color: var(--muted); }
.example-metrics .recommended { background: #F4E5E7; border-color: var(--brand); color: var(--brand); }
.example-metrics .recommended strong { font-weight: 700; }
.example-metrics .unresolved { background: #FFF0CE; border-color: transparent; }
.example-intro > .small { margin-bottom: 0; }
.example-section { margin-top: 48px; padding-inline: 24px; }
.example-section h2, .example-conversion h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.2; }
.example-section .eyebrow { margin-bottom: 12px; }
.source-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.source-sheet { display: flex; flex-direction: column; background: #fffcf7; padding: 26px; border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 4px 4px 16px 16px; box-shadow: 0 6px 20px rgb(40 25 20 / 4%); }
.source-meta { color: var(--brand); font-size: 11px; letter-spacing: .06em; font-weight: 650; margin-bottom: 12px; }
.source-sheet h3 { font-size: 22px; margin-bottom: 4px; }
.source-sheet blockquote { margin: 12px 0 20px; font-size: 16px; line-height: 1.7; }
.source-sheet mark { background: #F4E5E7; color: var(--brand); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 2px 3px; }
.source-sheet .text-link { margin-top: auto; font-size: 14px; }
.source-charge { font-size: 14px; }
.finding-callout { margin-top: 20px; background: var(--pale); padding: 22px 24px; border-radius: 16px; color: var(--on-container); }
.finding-callout p { font-size: 14px; margin: 8px 0 0; }
.example-breakdown { border: 1px solid var(--line); border-radius: 16px; padding: 8px 20px; margin-block: 24px 16px; background: #fffcf7; }
.example-breakdown .example-table { margin-block: 0; }
.example-breakdown th, .example-breakdown td { padding-block: 18px; }
.example-breakdown tfoot th, .example-breakdown tfoot td { border-bottom: 0; }
.decision-supported, .decision-pending { display: inline-block; border-radius: 8px; padding: 5px 9px; font-size: 13px; }
.decision-supported { color: var(--brand); background: #F4E5E7; }
.decision-pending { color: #70501d; background: #FFF0CE; }
.example-detail { border-bottom: 1px solid var(--line); }
.example-detail p { font-size: 14px; color: var(--muted); }
.example-report .sample-complaint { background: #fffcf7; border-radius: 4px 4px 20px 20px; padding: 32px; box-shadow: 0 8px 24px rgb(40 25 20 / 4%); }
.letter-topline { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .04em; color: var(--muted); }
.letter-details summary { color: var(--brand); }
.example-report .example-conversion { margin-top: 48px; text-align: center; padding: 40px; border-radius: 24px; background: var(--surface); }
.example-report .example-conversion .button { display: flex; width: 100%; min-height: 56px; border-radius: 14px; margin-top: 24px; }
@media (max-width: 680px) {
  .example-report { margin-block: 24px 40px; }
  .example-intro { padding: 24px; }
  .example-metrics { grid-template-columns: 1fr; gap: 10px; }
  .example-metrics > div { padding: 16px 20px; }
  .example-metrics strong { font-size: 32px; margin-bottom: 4px; }
  .example-section { padding-inline: 4px; margin-top: 36px; }
  .source-comparison { grid-template-columns: 1fr; }
  .source-sheet { padding: 22px; }
  .example-breakdown { padding-inline: 8px; }
  .example-breakdown .example-table { font-size: 12px; }
  .example-breakdown th, .example-breakdown td { padding-inline: 5px; }
  .decision-supported, .decision-pending { padding: 5px; font-size: 12px; }
  .example-report .sample-complaint { padding: 22px; }
  .letter-topline { flex-direction: column; }
  .example-report .example-conversion { padding: 28px 22px; }
}

/* ReclamaHoy wordmark: one name, with a restrained emphasis on taking action. */
.brand-word { color: var(--brand); font-weight: 700; display: inline-block; white-space: nowrap; letter-spacing: -.055em; line-height: 1.15; }
.brand-hoy { font-weight: 400; }
.brand-word .brand-dot { color: var(--brand); margin-left: 0; }

/* Privacy information: readable sections and explicit retention periods. */
.privacy-policy h2 { margin-top: 40px; font-size: 24px; line-height: 1.3; }
.privacy-policy li { margin-block: 12px; }
.privacy-policy .muted { color: var(--muted); font-size: 14px; }
.privacy-retention { margin-block: 24px; }
.privacy-retention > div { padding: 18px 0; border-bottom: 1px solid var(--outline-variant, #d8cec1); }
.privacy-retention dt { color: var(--primary, #7d1f2d); font-weight: 700; }
.privacy-retention dd { margin: 6px 0 0; }

.footer-bottom { display: flex; flex-wrap: wrap; column-gap: 24px; row-gap: 0; }
.footer-bottom a { display: inline-flex; align-items: center; }
