@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
}

:root {
  --ink: #15211d;
  --muted: #60706a;
  --paper: #f6f4ed;
  --card: #ffffff;
  --green: #0c6b4f;
  --green-dark: #074c39;
  --mint: #dff4ea;
  --amber: #f4b942;
  --line: #d9dfdc;
  --danger: #9c342d;
  --shadow: 0 18px 48px rgba(27, 52, 43, .10);
  --green-700: #1F6B3B;
  --green-50: #F2F8F4;
  --ink-900: #111827;
  --ink-600: #4B5563;
  --ink-400: #9CA3AF;
  --radius: 12px;
  --space-section: 56px;   /* 112px miedzy sasiednimi sekcjami */
  --space-section-sm: 40px; /* 80px na mobile */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 0%, rgba(80, 180, 139, .17), transparent 34rem),
    var(--paper);
  font: 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: var(--green-dark); }
:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; box-shadow: 0 0 0 6px #075f47; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 11px 15px; color: #fff; background: var(--ink); border-radius: 9px; font-weight: 800; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  max-width: 1180px;
  margin: auto;
  min-height: 80px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 17px; letter-spacing: -.025em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: white; background: var(--green); border-radius: 50%; box-shadow: inset 0 0 0 5px rgba(255,255,255,.15); font-size: 16px; }
.header-actions { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 750; }

main { max-width: 1180px; margin: auto; padding: 20px 24px 90px; }
.hero { min-height: 570px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 72px; align-items: center; }
.eyebrow, .step { margin: 0 0 12px; color: var(--green); text-transform: uppercase; letter-spacing: .11em; font-size: 12px; font-weight: 800; }
.progress-stepper { width: min(100%, 660px); max-width: 660px; margin: 0 auto 28px; }
.progress-stepper ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.progress-stepper li { position: relative; display: grid; min-width: 0; grid-template-rows: 28px auto; justify-items: center; gap: 7px; color: var(--muted); text-align: center; font-size: 13px; font-weight: 700; }
.progress-stepper li::after { content: ""; position: absolute; z-index: 0; top: 13px; left: calc(50% + 16px); right: calc(-50% + 16px); height: 2px; background: var(--line); }
.progress-stepper li:last-child::after { display: none; }
.progress-stepper .step-dot { position: relative; z-index: 1; display: grid; width: 28px; height: 28px; place-items: center; color: #43534d; background: var(--line); border-radius: 50%; font-size: 12px; font-weight: 850; }
.progress-stepper .step-done::after { background: var(--green); }
.progress-stepper .step-done .step-dot { color: #fff; background: var(--green); }
.progress-stepper .step-current { color: var(--ink); font-weight: 850; }
.progress-stepper .step-current .step-dot { color: var(--ink); background: var(--amber); }
h1 { max-width: 760px; margin: 0; font-size: clamp(42px, 6vw, 72px); line-height: .99; letter-spacing: -.055em; }
.lead { max-width: 720px; margin: 26px 0; color: #43534d; font-size: 20px; line-height: 1.6; }
.hero-cta, .guide-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; color: white; background: var(--green); border-radius: 12px; text-decoration: none; font-weight: 800; }
.hero-cta:hover, .guide-cta:hover { background: var(--green-dark); }
.hero-price-note { max-width: 620px; margin: 14px 0 17px; color: #43534d; font-size: 14px; }
.ai-disclosure { max-width: 680px; margin: 18px 0 0; padding: 12px 14px; border-left: 3px solid var(--green); background: rgba(255,255,255,.58); color: #42524c; font-size: 13px; }
.upload-ai-disclosure { margin: 0 0 18px; background: #f2f8f5; }
.result-ai-disclosure { max-width: none; margin: 18px 0; background: #f2f8f5; }
.privacy-assurance { margin: 0 0 20px; padding: 18px; color: #28443a; background: #edf8f3; border: 1px solid #b9decf; border-radius: 16px; }
.privacy-assurance-heading { display: flex; align-items: center; gap: 12px; }
.privacy-assurance-heading strong, .privacy-assurance-heading span { display: block; }
.privacy-assurance-heading strong { color: var(--ink); font-size: 17px; }
.privacy-assurance-heading span { margin-top: 2px; color: var(--muted); font-size: 13px; }
.privacy-shield { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-weight: 900; }
.privacy-assurance ul { display: grid; gap: 7px; margin: 14px 0 0; padding-left: 22px; font-size: 14px; }
.privacy-assurance details { margin-top: 12px; padding-top: 10px; border-top: 1px solid #c8e4d9; font-size: 13px; }
.privacy-assurance summary { color: var(--green-dark); cursor: pointer; font-weight: 750; }
.privacy-assurance details p { margin: 9px 0 5px; color: #486159; }
.hero-card { padding: 32px; background: var(--ink); color: white; border-radius: 26px; box-shadow: var(--shadow); transform: rotate(1.4deg); }
.hero-card h2 { margin: 8px 0 24px; font-size: 31px; }
.mini-label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #9fd8c3; font-weight: 800; }
.sample-result { margin: 0; }
.sample-result div { padding: 13px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.13); }
.sample-result dt { color: #b9c6c1; }
.sample-result dd { margin: 0; text-align: right; font-weight: 700; }
.sample-result .accent-row dd { color: #72dbb5; }
.sample-source { display: grid; gap: 2px; margin: 17px 0 0; padding: 11px 12px; color: #d7eee5; background: rgba(255,255,255,.08); border-left: 3px solid #72dbb5; border-radius: 4px 9px 9px 4px; font-size: 12px; }
.sample-source span { color: #aebbb6; }
.fine-print { color: #aebbb6; font-size: 12px; margin: 18px 0 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.truth-panel { margin: 8px 0 34px; }
.truth-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  overflow: hidden;
  list-style: none;
  background: #d8e4df;
  border: 1px solid #d8e4df;
  border-radius: 19px;
  box-shadow: 0 13px 34px rgba(27, 52, 43, .07);
}
.truth-fact {
  display: flex;
  min-width: 0;
  min-height: 96px;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .96);
}
.truth-fact:first-child { border-radius: 17px 0 0 17px; }
.truth-fact:last-child { border-radius: 0 17px 17px 0; }
.truth-fact-icon {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--green);
  background: #edf8f3;
  border: 1px solid #c6e4d8;
  border-radius: 14px;
}
.truth-fact-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}
.truth-fact-copy { display: grid; min-width: 0; gap: 1px; }
.truth-fact-copy strong {
  color: var(--ink);
  font-size: clamp(18px, 1.9vw, 23px);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}
.truth-fact-copy span { color: #52635c; font-size: 12px; line-height: 1.35; }

.gain-section {
  position: relative;
  margin: 0 0 74px;
  padding: clamp(30px, 5vw, 54px);
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 7%, rgba(118, 216, 180, .32), transparent 18rem),
    linear-gradient(145deg, #edf8f3 0%, #f8fcfa 56%, #ffffff 100%);
  border: 1px solid #c9e1d7;
  border-radius: 28px;
}
.gain-heading { position: relative; max-width: 720px; }
.gain-heading h2 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(30px, 4vw, 45px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.gain-heading > p:last-child { max-width: 670px; margin: 17px 0 0; color: #43534d; font-size: 16px; }
.gain-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 32px;
}
.gain-card {
  min-width: 0;
  padding: 23px;
  background: rgba(255, 255, 255, .93);
  border: 1px solid #d4e4de;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(21, 55, 44, .07);
}
.gain-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.gain-visual {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  color: var(--green);
  background: linear-gradient(145deg, #e2f5ed, #f6fcf9);
  border: 1px solid #bfe0d3;
  border-radius: 18px;
}
.gain-visual svg {
  width: 47px;
  height: 47px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}
.gain-stage {
  display: inline-flex;
  padding: 6px 9px;
  color: #40544c;
  background: #edf3f0;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
}
.gain-stage-free { color: var(--green-dark); background: var(--mint); }
.gain-card h3 { margin: 21px 0 8px; font-size: 21px; letter-spacing: -.02em; }
.gain-card p { margin: 0; color: #52635c; font-size: 14px; line-height: 1.6; }
.service-assurance { margin: 34px 0 54px; padding: 26px; background: rgba(255,255,255,.76); border: 1px solid rgba(21,33,29,.09); border-radius: 22px; box-shadow: 0 13px 34px rgba(27,52,43,.06); }
.service-assurance-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 23px; }
.service-assurance-heading .eyebrow { margin-bottom: 5px; }
.service-assurance-heading h2 { max-width: 620px; margin: 0; font-size: clamp(25px,3vw,35px); line-height: 1.12; letter-spacing: -.025em; }
.assurance-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.assurance-grid li { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 13px; align-items: start; min-width: 0; padding: 8px 18px; border-left: 1px solid var(--line); }
.assurance-grid li:first-child { padding-left: 0; border-left: 0; }
.assurance-grid li:last-child { padding-right: 0; }
.assurance-grid strong, .assurance-grid small { display: block; }
.assurance-grid strong { margin: 1px 0 5px; font-size: 15px; }
.assurance-grid small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.assurance-icon { display: grid; width: 43px; height: 43px; place-items: center; color: var(--green); background: #edf8f3; border-radius: 13px; }
.assurance-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 2.35; stroke-linecap: round; stroke-linejoin: round; shape-rendering: geometricPrecision; }

.workspace, .result-section { max-width: 920px; margin: 30px auto; padding: clamp(24px, 5vw, 52px); background: var(--card); border: 1px solid rgba(21,33,29,.06); border-radius: 28px; box-shadow: var(--shadow); }
.workspace-heading h2, .result-heading h2 { margin: 0; font-size: 34px; letter-spacing: -.03em; }
.workspace-heading > p:last-child { color: var(--muted); }
.no-document-guide { margin: 20px 0; padding: 13px 15px; color: #405048; background: #f7f4ec; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; }
.no-document-guide a { color: var(--green-dark); font-weight: 800; text-underline-offset: 3px; }
.source-context { margin: 22px 0 0; padding: 14px 16px; color: #33443d; background: var(--mint); border: 1px solid #acd8c6; border-radius: 12px; font-size: 14px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 32px 0 26px; padding: 6px; background: #edf1ef; border-radius: 14px; }
.tab { border: 0; padding: 13px 16px; color: var(--muted); background: transparent; border-radius: 10px; font-weight: 700; }
.tab.active { color: var(--ink); background: white; box-shadow: 0 2px 10px rgba(20,40,32,.08); }
.hidden { display: none !important; }
.form-grid { display: grid; gap: 18px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.form-grid .wide { grid-column: 1 / -1; }
label { display: grid; gap: 8px; margin-bottom: 18px; font-size: 14px; font-weight: 700; }
.optional { color: var(--muted); font-weight: 650; }
.form-guidance { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.privacy-mode-selector { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.privacy-mode-selector > legend { margin-bottom: 10px; padding: 0; color: var(--ink); font-size: 15px; font-weight: 800; }
.privacy-mode-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.privacy-mode-card { display: grid; grid-template-columns: 20px minmax(0,1fr); align-items: start; gap: 10px; margin: 0; padding: 15px; background: #fbfcfb; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; }
.privacy-mode-card:has(input:checked) { background: var(--mint); border-color: #74b79d; box-shadow: inset 0 0 0 1px #74b79d; }
.privacy-mode-card input { width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--green); }
.privacy-mode-card span { display: grid; gap: 4px; }
.privacy-mode-card small { color: var(--muted); font-weight: 500; line-height: 1.4; }
.privacy-mode-selector > p { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.redaction-checklist { margin-top: 13px; padding: 16px; color: #35483f; background: #f4faf7; border: 1px solid #b7d8cb; border-radius: 13px; font-size: 13px; }
.redaction-checklist > strong { color: var(--ink); }
.redaction-checklist ul { margin: 9px 0; padding-left: 21px; }
.redaction-checklist p { margin: 9px 0; }
.redaction-warning { padding: 10px 12px; color: #634b12; background: #fff7dd; border-left: 3px solid var(--amber); }
input, select, textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: #fbfcfb; border: 1px solid var(--line); border-radius: 11px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 2px #ffffff, 0 0 0 5px #075f47; }
textarea { resize: vertical; }
.file-drop { min-height: 190px; padding: 26px; place-items: center; align-content: center; text-align: center; border: 2px dashed #9db5ab; border-radius: 17px; background: #f6fbf8; cursor: pointer; }
.file-drop.drag { border-color: var(--green); background: var(--mint); }
.file-drop:focus-within { border-color: var(--green); outline: 3px solid #ffffff; outline-offset: 2px; box-shadow: 0 0 0 6px #075f47; background: var(--mint); }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop span { font-weight: 500; color: var(--muted); }
.file-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; color: white !important; background: var(--green); border-radius: 50%; font-size: 24px; }
.initial-supplements { margin: 16px 0 22px; background: #f8fbf9; border: 1px solid #cfe0d8; border-radius: 13px; }
.initial-supplements summary { padding: 15px 17px; color: var(--green-dark); cursor: pointer; font-weight: 800; }
.initial-supplements summary::marker { color: var(--green); }
.initial-supplements-body { padding: 0 17px 17px; }
.initial-supplements-body > p { margin: 0 0 15px; color: var(--muted); font-size: 13px; }
.bundle-size-status { padding: 11px 13px; color: #33443d; background: #edf3f0; border: 1px solid #d5e3dd; border-radius: 10px; font-size: 12px; }
.bundle-size-status.error { color: #71322d; background: #fff0ee; border-color: #edc0bb; }
.progressive-details { margin: 16px 0 22px; background: #f8fbf9; border: 1px solid #cfe0d8; border-radius: 13px; }
.progressive-details > summary { padding: 15px 17px; color: var(--green-dark); cursor: pointer; font-weight: 800; }
.progressive-details > summary::marker { color: var(--green); }
.progressive-details-body { padding: 2px 17px 17px; }
.manual-details .progressive-details-body > label:last-child { margin-bottom: 0; }
.consent-list { min-width: 0; margin: 22px 0; padding: 0; border: 0; }
.consent-list legend { padding: 0; color: var(--ink); font-size: 15px; font-weight: 800; }
.consent-intro { margin: 7px 0 2px; color: var(--muted); font-size: 12px; }
.consent-item { padding: 12px 0 4px; }
.consent-item + .consent-item { border-top: 1px solid var(--line); }
.consent-lead { display: block; margin: 0 0 2px 33px; color: var(--ink); font-size: 14px; line-height: 1.35; }
.consent-item .consent-row { padding-top: 7px; }
.consent-row { grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 11px; margin: 0; padding: 13px 0; font-size: 13px; font-weight: 500; color: var(--muted); cursor: pointer; }
.consent-row input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  float: none !important;
  width: 19px !important;
  min-width: 19px !important;
  height: 19px !important;
  min-height: 19px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  border-radius: 2px;
  accent-color: var(--green);
}
.primary, .secondary { border: 0; border-radius: 12px; padding: 15px 20px; font-weight: 800; }
.primary { width: 100%; color: white; background: var(--green); }
.primary:hover { background: var(--green-dark); }
.primary:disabled { cursor: wait; opacity: .65; }
.form-note { text-align: center; color: var(--muted); font-size: 12px; }
.status { margin-top: 20px; padding: 15px 17px; background: #fff4d6; border: 1px solid #efd487; border-radius: 12px; }
.status.error { color: var(--danger); background: #fff0ee; border-color: #edc0bb; }

.result-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.result-heading > .text-button { flex: 0 0 auto; }
.result-summary-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); gap: 24px; align-items: start; margin: 26px 0 18px; padding: 24px; color: var(--ink); background: linear-gradient(145deg, #f3fbf7, #fff); border: 1px solid #a8d5c4; border-radius: 18px; }
.result-summary-card h3 { margin: 0 0 18px; font-size: 24px; letter-spacing: -.02em; }
.result-summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 0; }
.result-summary-grid div { min-width: 0; padding: 12px 13px; background: rgba(255,255,255,.86); border: 1px solid #d8e7e1; border-radius: 11px; }
.result-summary-grid dt { color: var(--muted); font-size: 11px; font-weight: 750; }
.result-summary-grid dd { margin: 4px 0 0; font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }
.result-summary-grid .summary-deadline { grid-column: 1 / -1; background: #fff6dc; border-color: #dfb84f; box-shadow: inset 4px 0 0 var(--amber); }
.result-summary-grid .summary-deadline dd { color: var(--ink); font-size: 19px; }
.result-summary-grid .summary-deadline small { display: block; margin-top: 4px; color: #705719; font-size: 11px; }
.result-summary-grid .summary-destination { grid-column: 1 / -1; background: var(--mint); border-color: #add7c7; }
.official-form-notice { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 18px; padding: 18px 20px; background: #eef8f3; border: 1px solid #9dceb9; border-left: 5px solid var(--green); border-radius: 14px; }
.official-form-notice h3 { margin: 2px 0 6px; font-size: 19px; }
.official-form-notice p { margin: 0; color: #3d5048; font-size: 13px; }
.official-form-notice .official-form-manual { margin-top: 6px; color: #68531b; }
.official-form-notice > a { flex: 0 0 auto; color: var(--green-dark); font-weight: 800; text-underline-offset: 3px; }
.official-form-notice.stale { background: #fff5d8; border-color: #d7a93c; border-left-color: #b57800; }
.official-form-notice.stale > a { color: #735000; }
.summary-purchase { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-start; padding: 18px; color: var(--ink); background: #fff; border: 1px solid #b9dfd0; border-radius: 14px; box-shadow: 0 10px 28px rgba(12,107,79,.10); }
.package-availability { display: block; margin: 0 0 10px; padding: 9px 11px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; text-align: center; }
.package-availability.pending { color: #40544c; background: #edf3f0; }
.package-availability.available { color: #0d4634; background: #dff4ea; border-color: #9bcdb8; }
.package-availability.temporary-unavailable { color: #684d0c; background: #fff8e8; border-color: #e4c66e; }
.package-availability.unavailable { color: #71322d; background: #fff0ee; border-color: #e4b3ad; }
.summary-purchase .draft-kind { margin-top: 0; color: var(--green-dark); background: #edf8f3; border-color: #35a77f; }
.summary-purchase .draft-kind span { color: #40544c; }
.summary-purchase > small { display: block; margin-top: 9px; color: var(--muted); text-align: center; }
.summary-purchase .payment-mode-status { color: #40544c; background: #edf3f0; }
.summary-purchase .payment-mode-status.test { color: #4f3900; background: #fff0c7; }
.summary-purchase .payment-mode-status.live { color: #0d4634; background: #dff4ea; }
.summary-purchase .payment-mode-status.disabled { color: #684d0c; background: #fff8e8; border-color: #e4c66e; }
.result-summary-card.summary-blocked .summary-purchase { background: #f4f6f5; border-color: #d4dcda; box-shadow: none; }
.purchase-steps { display: grid; gap: 8px; margin: 0 0 15px; padding: 0; list-style: none; counter-reset: purchase-steps; }
.purchase-steps li { display: grid; grid-template-columns: 23px minmax(0, 1fr); align-items: center; gap: 8px; color: #40544c; font-size: 12px; font-weight: 700; counter-increment: purchase-steps; }
.purchase-steps li::before { content: counter(purchase-steps); display: grid; place-items: center; width: 23px; height: 23px; color: white; background: var(--green); border-radius: 50%; font-size: 10px; font-weight: 850; }
.analysis-details { margin: 16px 0 24px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfb; }
.analysis-details > summary { padding: 15px 17px; color: var(--green-dark); cursor: pointer; font-weight: 800; }
.analysis-details-body { padding: 0 17px 17px; border-top: 1px solid #e7ece9; }
.case-lifecycle { margin: 26px 0 18px; padding: 20px; background: #f6faf8; border: 1px solid #cfe0d8; border-radius: 16px; }
.case-lifecycle h3 { margin: 0; font-size: 20px; }
.case-lifecycle ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin: 18px 0 0; padding: 0; list-style: none; }
.case-lifecycle li { display: flex; align-items: flex-start; gap: 9px; padding: 12px; background: white; border: 1px solid var(--line); border-radius: 11px; }
.case-lifecycle li > span { display: grid; flex: 0 0 auto; place-items: center; width: 25px; height: 25px; color: var(--muted); background: #edf1ef; border-radius: 50%; font-size: 11px; font-weight: 850; }
.case-lifecycle li.done > span { color: white; background: var(--green); }
.case-lifecycle li.current { border-color: #84c7ad; box-shadow: inset 0 0 0 1px #84c7ad; }
.case-lifecycle li.current > span { color: var(--green-dark); background: var(--mint); }
.case-lifecycle li.review { color: #684d0c; border-color: #e4c66e; background: #fffaf0; }
.case-lifecycle li.review > span { color: #684d0c; background: #fff0c7; }
.case-lifecycle li.blocked { color: #71322d; border-color: #e4b3ad; background: #fff7f5; }
.case-lifecycle li.blocked > span { color: #71322d; background: #ffe4df; }
.case-lifecycle li.future { color: var(--muted); background: #fafafa; }
.case-lifecycle strong, .case-lifecycle small { display: block; }
.case-lifecycle strong { font-size: 12px; }
.case-lifecycle small { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.provenance-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 15px; margin: 18px 0; padding: 13px 15px; color: var(--muted); background: #f4f6f5; border-radius: 11px; font-size: 12px; }
.provenance-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.provenance { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #7e8d87; }
.provenance.contract { background: var(--green); }
.provenance.calculation { background: #2e72a3; }
.provenance.declaration { background: #6d55a8; }
.provenance.review { background: #d09a18; }
.provenance.missing { background: #89958f; }
.result-source { display: inline-flex !important; align-items: center; gap: 6px; width: fit-content; margin-top: 10px !important; padding: 4px 7px; color: #33443d !important; background: #eef3f1; border-radius: 999px; font-weight: 750; }
.confidence-stack { display: grid; justify-items: end; gap: 7px; }
.confidence { padding: 7px 10px; background: var(--mint); color: var(--green-dark); border-radius: 999px; font-size: 12px; font-weight: 800; text-align: right; }
.confidence-caution { color: #684d0c; background: #fff4d6; }
.result-trust-frame { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 18px; padding: 14px 16px; color: #405048; background: #f5f7f2; border: 1px solid #d8e1d4; border-radius: 13px; }
.result-trust-copy { display: grid; gap: 3px; min-width: 0; font-size: 12px; line-height: 1.45; }
.result-trust-copy strong { color: var(--ink); font-size: 13px; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 30px 0; }
.result-grid div { min-height: 108px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfb; }
.result-grid dt { color: var(--muted); font-size: 13px; }
.result-grid dd { margin: 8px 0 0; font-size: 18px; font-weight: 750; overflow-wrap: anywhere; }
.result-grid small { display: block; margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.result-grid .important { border-color: #8ac7af; background: var(--mint); }
.result-details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0; }
.detail-card { padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfb; }
.detail-card h3 { margin: 0 0 13px; font-size: 17px; }
.detail-card p { margin: 0; }
.detail-empty { color: var(--muted); font-size: 13px; }
.detail-list { display: grid; gap: 7px; margin: 0; padding-left: 20px; color: #35443e; font-size: 14px; }
.detail-item { display: grid; gap: 7px; padding: 12px 0; border-top: 1px solid var(--line); }
.detail-item:first-child { padding-top: 0; border-top: 0; }
.detail-item:last-child { padding-bottom: 0; }
.detail-item p { color: #35443e; font-size: 14px; }
.detail-item small { color: var(--muted); }
.detail-item-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.detail-status { flex: 0 0 auto; padding: 4px 7px; color: var(--green-dark); background: var(--mint); border-radius: 999px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.detail-status.expired { color: #684d0c; background: #fff0c7; }
.evidence-block { margin: 24px 0; }
.evidence-block h3 { font-size: 18px; }
.evidence-block > p { color: var(--muted); font-size: 13px; }
.evidence-item { margin: 10px 0; padding: 14px 16px; background: #f4f6f5; border-left: 3px solid var(--green); border-radius: 4px 10px 10px 4px; }
.evidence-item strong { display: block; margin-bottom: 6px; font-size: 12px; }
.evidence-item small { display: block; margin-top: 5px; color: var(--muted); }
.warnings { display: grid; gap: 9px; margin: 24px 0; }
.warning { padding: 13px 15px; color: #684d0c; background: #fff7df; border-radius: 11px; font-size: 14px; }
.critical-findings { margin: 22px 0 16px; padding: 19px; color: #563f08; background: #fff9e9; border: 2px solid #e6c159; border-radius: 16px; }
.critical-findings h3 { margin: 0 0 12px; color: var(--ink); font-size: 20px; }
#critical-warnings { display: grid; gap: 9px; }
.critical-warning { margin: 0; padding: 11px 13px 11px 36px; color: #563f08; background: #fff; border-radius: 10px; font-size: 14px; }
.critical-warning::before { content: "!"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin: 0 9px 0 -27px; color: #fff; background: #8b6300; border-radius: 50%; font-size: 12px; font-weight: 900; }
.risk-signals-card { margin: 16px 0 22px; padding: 21px; background: #f4f8ff; border: 1px solid #aac4e0; border-radius: 16px; }
.risk-signals-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.risk-signals-heading h3 { margin: 0; font-size: 22px; }
.risk-signals-status { flex: 0 0 auto; padding: 7px 10px; color: #173f62; background: #dcecff; border-radius: 999px; font-size: 11px; font-weight: 850; }
.risk-signals-status.caution { color: #684d0c; background: #fff0c7; }
.risk-signals-status.clear { color: var(--green-dark); background: var(--mint); }
#risk-signals-intro, .risk-signals-disclaimer { color: #40515e; font-size: 13px; }
.risk-signals-list { display: grid; gap: 10px; margin-top: 14px; }
.risk-signal { padding: 14px 15px; background: #fff; border: 1px solid #cad9e8; border-left: 4px solid #477fae; border-radius: 11px; }
.risk-signal.high { border-left-color: var(--danger); }
.risk-signal h4 { margin: 0; font-size: 16px; }
.risk-signal p { margin: 7px 0 0; color: #40515e; font-size: 13px; }
.risk-signal .risk-signal-question { padding: 9px 11px; color: #243d50; background: #eef5fc; border-radius: 8px; }
.risk-signal small { display: block; margin-top: 8px; color: var(--muted); }
.risk-signal a { display: inline-block; margin-top: 7px; font-size: 12px; font-weight: 750; }
.risk-signals-notes { display: grid; gap: 7px; margin-top: 14px; }
.risk-signals-notes p { margin: 0; color: #40515e; font-size: 12px; }
.risk-signals-notes a { width: fit-content; font-size: 12px; font-weight: 750; }
.risk-signals-disclaimer { margin: 15px 0 0; padding-top: 13px; border-top: 1px solid #cad9e8; }
.action-gate { margin: 28px 0; padding: 22px; color: #563f08; background: #fffaf0; border: 1px solid #e4c66e; border-radius: 16px; }
.action-gate h3 { margin: 0; color: var(--ink); font-size: 21px; }
.action-gate-copy > p:last-of-type { margin-bottom: 8px; }
.missing-documents { margin: 8px 0 0; padding-left: 20px; }
.missing-documents:empty { display: none; }
.recovery-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.recovery-button { min-height: 44px; padding: 10px 15px; color: var(--green-dark); background: #fff; border: 1px solid #82bca5; border-radius: 11px; font-weight: 800; }
.recovery-button:hover { background: var(--mint); }
.neutral-continue-button { flex-basis: 100%; width: fit-content; min-height: 44px; padding: 8px 0; color: var(--green-dark); background: transparent; border: 0; text-align: left; text-decoration: underline; text-underline-offset: 3px; font-weight: 800; cursor: pointer; }
.neutral-continue-button:hover { color: var(--ink); background: transparent; }
.neutral-continue-button:focus-visible { outline: 3px solid #e2bd49; outline-offset: 3px; }
.identity-confirmation { margin-top: 20px; padding: 18px; color: var(--ink); background: #fff; border: 2px solid #75b99f; border-radius: 13px; }
.identity-confirmation h4 { margin: 0; font-size: 20px; }
.identity-confirmation > div > p { margin: 6px 0 16px; color: var(--muted); font-size: 13px; }
.identity-confirmation .consent-row { margin: 10px 0; }
.identity-confirmation .primary { margin-top: 8px; }
.supplement-form { margin-top: 22px; padding-top: 22px; color: var(--ink); border-top: 1px solid #e4c66e; }
.supplement-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.supplement-heading h4 { margin: 0; font-size: 21px; }
.supplement-heading p { max-width: 670px; margin: 6px 0 18px; color: var(--muted); font-size: 13px; }
.current-contract-file { margin-bottom: 14px; padding: 12px 14px; color: #33443d; background: #edf3f0; border: 1px solid #d5e3dd; border-radius: 11px; font-size: 13px; }
.current-contract-file.error { color: #71322d; background: #fff0ee; border-color: #edc0bb; }
.supplement-files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.supplement-file { margin: 0 0 14px; padding: 15px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.supplement-file small { color: var(--muted); font-weight: 500; }
.supplement-file > label { margin-bottom: 8px; }
.supplement-kind { margin: 10px 0 !important; color: var(--muted); font-size: 12px; }
.supplement-kind select { padding: 10px 12px; }
.supplement-consents { margin: 14px 0 18px; }
.delivery-options { margin: 24px 0; padding: 22px; border: 1px solid #b7d8cb; border-radius: 16px; background: #f4faf7; }
.delivery-options-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.delivery-options h3 { margin: 0; font-size: 23px; }
.delivery-options > p { margin-bottom: 16px; color: #41534c; }
.delivery-selection-status { flex: 0 0 auto; padding: 7px 10px; color: #684d0c; background: #fff0c7; border-radius: 999px; font-size: 11px; font-weight: 800; }
.delivery-selection-status.selected { color: var(--green-dark); background: var(--mint); }
.delivery-candidates { display: grid; gap: 10px; }
.delivery-candidates article { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 14px; background: #fff; border: 1px solid #cfe0d8; border-radius: 12px; }
.delivery-candidates article p { margin: 4px 0; font-weight: 750; overflow-wrap: anywhere; }
.delivery-candidates article small, .delivery-candidates article a { display: block; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.delivery-candidates article a { margin-top: 4px; color: var(--green-dark); }
.delivery-candidates article a.delivery-destination { width: fit-content; margin: 4px 0; color: var(--green-dark); font-size: inherit; font-weight: 750; }
.delivery-empty { margin: 0; padding: 13px 14px; color: var(--muted); background: #fff; border: 1px dashed #b7c7c1; border-radius: 11px; font-size: 13px; }
.delivery-apply-button { min-height: 42px; padding: 10px 14px; color: #fff; background: var(--green); border: 0; border-radius: 10px; font-weight: 800; white-space: nowrap; }
.delivery-apply-button:hover { background: var(--green-dark); }
.delivery-apply-button:disabled { cursor: default; color: #365047; background: #cfe3db; }
.rule-verification { margin: 28px 0 14px; padding: 20px; border: 1px solid #c8d8d1; border-radius: 15px; background: #f5faf7; }
.rule-verification-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.rule-verification h4 { margin: 0; font-size: 18px; }
.rule-verification > p { color: #41534c; }
.rule-audit { margin-top: 12px; padding-top: 12px; border-top: 1px solid #d8e4df; }
.rule-audit > summary { color: var(--green-dark); cursor: pointer; font-size: 13px; font-weight: 800; }
.external-research { margin: 14px 0 0; padding: 18px; border: 1px solid #9bcbbb; border-radius: 14px; background: #effaf5; }
.external-research-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.external-research h4 { margin: 0; font-size: 18px; }
.external-research > p { color: #344b43; }
.research-status { display: inline-flex; padding: 6px 9px; border-radius: 999px; color: #4e3d0a; background: #fff1bd; font-size: 12px; font-weight: 800; white-space: nowrap; }
.research-status.found { color: #07573e; background: #d6f3e7; }
.research-status.processing { color: #264f72; background: #dceeff; }
.research-status.unavailable { color: #7e211d; background: #fde3df; }
.research-button { min-height: 44px; padding: 11px 15px; border: 0; border-radius: 11px; color: #fff; background: var(--green); font-weight: 800; cursor: pointer; }
.research-button:hover { background: var(--green-dark); }
.research-button:disabled { cursor: wait; opacity: .72; }
.research-button:focus-visible { outline: 3px solid #e2bd49; outline-offset: 3px; }
.external-research-results { margin-top: 16px; }
.research-separation { padding: 12px; border-left: 4px solid #2d8b70; background: #fff; font-weight: 650; }
#external-research-facts { display: grid; gap: 10px; }
#external-research-facts article { padding: 12px; border: 1px solid #cfe3db; border-radius: 10px; background: #fff; }
#external-research-facts article p { margin: 6px 0; }
#external-research-facts a { overflow-wrap: anywhere; }
.research-apply-button { margin-top: 10px; padding: 9px 12px; color: var(--green-dark); background: var(--mint); border: 1px solid #75b99f; border-radius: 9px; font-weight: 800; cursor: pointer; }
.research-apply-button:hover { background: #ccecdf; }
.research-warning { margin: 10px 0 0; color: #6f5010; }
.rule-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.rule-details article { padding: 13px; border: 1px solid #d5e3dd; border-radius: 11px; background: #fff; }
.rule-details article strong { display: block; margin-bottom: 6px; color: var(--ink); }
.rule-details article p { margin: 4px 0; color: #41534c; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.rule-status { flex: 0 0 auto; padding: 7px 10px; color: #684d0c; background: #fff0c7; border-radius: 999px; font-size: 11px; font-weight: 800; }
.rule-status.verified { color: var(--green-dark); background: var(--mint); }
.rule-status.blocked { color: #71322d; background: #ffe4df; }
.rule-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 15px 0; }
.rule-meta div { padding: 10px 12px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.rule-meta dt { color: var(--muted); font-size: 11px; }
.rule-meta dd { margin: 4px 0 0; font-weight: 750; }
.rule-sources { color: var(--muted); font-size: 13px; }
.rule-sources ul { margin: 8px 0 0; padding-left: 20px; }
.send-premium-card { margin-top: 14px; background: #26352f; }
.premium-card { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; margin-top: 34px; padding: 28px; color: white; background: var(--ink); border-radius: 19px; }
.premium-card h3 { margin: 0 0 10px; font-size: 25px; }
.premium-card ul { margin: 0; padding-left: 20px; color: #c7d2ce; }
.draft-kind { display: grid; gap: 3px; margin: 12px 0 16px; padding: 11px 13px; color: #d7eee5; background: rgba(255,255,255,.08); border-left: 3px solid #72dbb5; border-radius: 4px 10px 10px 4px; }
.draft-kind strong { font-size: 13px; }
.draft-kind span { color: #b9c6c1; font-size: 12px; }
.draft-kind.neutral { color: #ffe6a8; border-color: #f4b942; }
.summary-purchase .draft-kind.neutral { color: #0d4634; }
.delivery-manual-button { width: fit-content; min-height: 44px; margin-top: 8px; padding: 8px 0; color: var(--green-dark); background: transparent; border: 0; text-align: left; text-decoration: underline; text-underline-offset: 3px; font-weight: 800; cursor: pointer; }
.delivery-manual-button:hover { color: var(--ink); background: transparent; }
.delivery-manual-button:focus-visible { outline: 3px solid #e2bd49; outline-offset: 3px; }
.delivery-manual-button:disabled { cursor: not-allowed; opacity: .55; }
.draft-kind.unavailable { color: #f2c2bd; border-color: #d87d72; }
.premium-action { min-width: 190px; text-align: center; }
.premium-action strong { display: block; margin-bottom: 12px; font-size: 27px; }
.premium-action small { display: block; margin-top: 8px; color: #aebbb6; }
.secondary { width: 100%; color: var(--ink); background: #76d8b4; }
.secondary:disabled { cursor: not-allowed; color: #66736e; background: #cad3cf; }
.checkout-jump-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 3px; color: var(--green-dark); text-underline-offset: 3px; font-weight: 800; }
.premium-card.premium-blocked { border: 1px solid #6e7773; }
.premium-card.premium-blocked .premium-action strong { color: #c7d2ce; }
.payment-mode-status { margin-bottom: 10px; padding: 8px 10px; color: #d9e4df; background: rgba(255,255,255,.08); border-radius: 9px; font-size: 11px; font-weight: 800; }
.payment-mode-status.test { color: #2e2100; background: #ffdc7b; }
.payment-mode-status.live { color: #0d4634; background: #a8e6cf; }
.payment-mode-status.disabled { color: #f2d9a1; background: rgba(244,185,66,.13); border: 1px solid rgba(244,185,66,.35); }
.bottom-purchase { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 24px 0 4px; padding: 22px; color: #fff; background: var(--ink); border-radius: 16px; }
.bottom-purchase > div { display: grid; min-width: 0; gap: 4px; }
.bottom-purchase p { margin: 0; color: #91d8bd; }
.bottom-purchase strong { font-size: 20px; }
.bottom-purchase small { color: #c7d2ce; }
.bottom-purchase .primary { flex: 0 1 320px; width: auto; max-width: 100%; min-width: 250px; margin: 0; }
.checkout-panel { margin-top: 18px; padding: clamp(22px, 4vw, 34px); border: 2px solid #8ac7af; border-radius: 19px; background: #f8fcfa; }
.checkout-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.checkout-heading h3 { margin: 0; font-size: 28px; }
.checkout-lead { max-width: 720px; color: var(--muted); }
.checkout-lead.privacy-copy { padding: 13px 15px; color: #35483f; background: #edf8f3; border: 1px solid #b9decf; border-radius: 11px; }
.checkout-scope-note { max-width: 720px; margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.autofill-note { display: grid; gap: 4px; margin: 0 0 16px; padding: 13px 15px; color: #0c4f3d; background: #e9f8f1; border: 1px solid #9fd8c3; border-radius: 11px; font-size: 13px; }
.autofill-note strong { color: #073b2f; font-size: 14px; }
.selected-draft { margin: 18px 0; padding: 16px; background: #edf3f0; border: 1px solid #d5e3dd; border-radius: 12px; }
.selected-draft h4 { margin: 0; font-size: 18px; }
.selected-draft > p:last-child { margin: 6px 0 0; color: #41534c; font-size: 13px; }
.checkout-panel label small { color: var(--muted); font-weight: 500; line-height: 1.45; }
.checkout-group { margin: 16px 0; padding: 19px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.checkout-group legend { padding: 0 6px; color: var(--ink); font-size: 17px; font-weight: 850; }
.checkout-group > p { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.checkout-group label:last-child { margin-bottom: 0; }
.checkout-optional { grid-column: 1 / -1; margin: 0 0 18px; }
.checkout-optional .progressive-details-body { padding-top: 4px; }
.checkout-optional .form-grid { gap: 14px; }
.candidate-confirmation { margin: 0 0 18px; padding: 11px 13px; color: #214a3b; background: var(--mint); border: 1px solid #afd8c8; border-radius: 10px; font-size: 12px; }
.legal-links { margin: 20px 0 8px; color: var(--muted); font-size: 13px; }
.order-summary { display: grid; gap: 14px; margin: 24px 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.order-summary > div:first-child { display: grid; gap: 4px; }
.order-summary > div:first-child span, .order-summary p { color: var(--muted); font-size: 13px; }
.order-summary p { margin: 0; }
.order-summary .total { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.order-summary .total strong { font-size: 25px; }
.checkout-consents { margin-bottom: 16px; }
.contract-continues-confirmation { padding: 14px; background: #fff8e6; border: 1px solid #ead18d; border-radius: 12px; }
.neutral-confirmations { padding: 16px; background: #fff8e6; border: 1px solid #ead18d; border-radius: 12px; }
.pay-button { font-size: 16px; }
.text-button { padding: 8px 4px; color: var(--green-dark); background: transparent; border: 0; text-decoration: underline; font-weight: 700; }
.result-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 20px; color: var(--muted); font-size: 12px; }
.danger-link { color: var(--danger); }
.order-main { min-height: calc(100vh - 190px); display: grid; place-items: start center; padding-top: clamp(35px, 8vw, 90px); }
.order-card { width: min(760px, 100%); padding: clamp(24px, 6vw, 52px); background: #fff; border: 1px solid rgba(21,33,29,.08); border-radius: 26px; box-shadow: var(--shadow); }
.order-card h1 { margin-bottom: 22px; font-size: clamp(36px, 6vw, 58px); }
.order-card .lead { margin: 0 0 24px; font-size: 17px; }
.order-status { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--mint); border: 1px solid #a9d7c5; border-radius: 12px; font-weight: 750; }
.order-status.error { color: var(--danger); background: #fff0ee; border-color: #edc0bb; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(12,107,79,.12); }
.order-status.error .status-dot { background: var(--danger); }
.order-id { overflow-wrap: anywhere; color: var(--muted); font-size: 12px; }
.downloads { margin-top: 30px; }
.downloads h2 { font-size: 28px; }
.download-list { display: grid; gap: 10px; margin: 20px 0; }
.download-link { display: grid; width: 100%; gap: 3px; padding: 15px 17px; color: var(--ink); background: #f4faf7; border: 1px solid #b9d9cc; border-radius: 12px; text-align: left; text-decoration: none; font: inherit; cursor: pointer; }
.download-link:hover { border-color: var(--green); }
.download-link span { color: var(--muted); font-size: 12px; }
.download-link.primary-download { color: #fff; background: var(--green); border-color: var(--green); }
.download-link.primary-download:hover { background: var(--green-dark); }
.download-link.primary-download span { color: #d8eee5; }
.delivery-guide { margin-top: 28px; padding: 22px; background: #f7fbf9; border: 1px solid #bfd9ce; border-radius: 16px; }
.delivery-guide h2 { margin: 0 0 8px; font-size: 27px; }
.delivery-guide > p:not(.eyebrow) { margin: 0 0 18px; color: var(--muted); }
.delivery-summary { display: grid; gap: 1px; margin: 0 0 14px; overflow: hidden; background: #cfe0d8; border: 1px solid #cfe0d8; border-radius: 12px; }
.delivery-summary div { display: grid; grid-template-columns: minmax(130px, .75fr) minmax(0, 1.7fr); gap: 16px; padding: 11px 13px; background: #fff; }
.delivery-summary dt { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.delivery-summary dd { margin: 0; overflow-wrap: anywhere; font-weight: 700; }
.delivery-steps { display: grid; gap: 9px; margin: 18px 0; padding-left: 24px; }
.secondary.compact { min-height: 38px; padding: 8px 13px; font-size: 13px; }
.order-actions { display: flex; align-items: center; gap: 18px; margin-top: 25px; }
.order-actions { flex-wrap: wrap; }
.share-status { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.share-status.error { color: var(--danger); }
.payment-main { padding-bottom: 60px; }
.payment-card h1 { font-size: clamp(34px, 5vw, 50px); }
.payment-summary { display: flex; justify-content: space-between; gap: 20px; margin: 20px 0; padding: 16px; background: #f4faf7; border: 1px solid #b9d9cc; border-radius: 12px; }
.payment-submit { width: 100%; margin: 12px 0 20px; cursor: pointer; }
.documents-main { min-height: calc(100vh - 190px); padding: clamp(35px, 7vw, 80px) 24px; }
.documents-shell { width: min(920px, 100%); margin: auto; padding: clamp(24px, 6vw, 52px); background: #fff; border: 1px solid rgba(21,33,29,.08); border-radius: 26px; box-shadow: var(--shadow); }
.documents-shell h1 { margin-bottom: 16px; font-size: clamp(38px, 6vw, 62px); }
.documents-list { display: grid; gap: 14px; margin-top: 22px; }
.document-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; padding: 20px; border: 1px solid #cfe0d8; border-radius: 14px; background: #f8fcfa; }
.document-card h2, .document-card p { margin: 0; }
.document-card p, .document-card small { color: var(--muted); }
.document-state { color: var(--green-dark); }
.document-action { grid-column: 2; grid-row: 2 / span 2; text-decoration: none; text-align: center; }
.documents-empty { margin-top: 22px; padding: 28px; text-align: center; background: #f4faf7; border-radius: 14px; }
.documents-next { margin: 24px 0 0; text-align: center; font-weight: 800; }
.homepage-faq { display: grid; grid-template-columns: minmax(220px,.72fr) minmax(0,1.45fr); gap: clamp(28px,6vw,72px); margin: 88px 0 10px; padding: clamp(25px,5vw,48px); background: #fff; border: 1px solid rgba(21,33,29,.09); border-radius: 24px; box-shadow: var(--shadow); }
.homepage-faq-heading h2 { margin: 0 0 14px; font-size: clamp(31px,4vw,47px); line-height: 1.05; letter-spacing: -.04em; }
.homepage-faq-heading > p:last-child { color: var(--muted); }
.homepage-faq-list { align-self: start; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.homepage-faq-list details { background: #fff; border-top: 1px solid var(--line); }
.homepage-faq-list details:first-child { border-top: 0; }
.homepage-faq-list summary { position: relative; padding: 17px 52px 17px 18px; cursor: pointer; font-weight: 800; list-style: none; }
.homepage-faq-list summary::-webkit-details-marker { display: none; }
.homepage-faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 50%; color: var(--green); font-size: 24px; font-weight: 500; transform: translateY(-50%); }
.homepage-faq-list details[open] summary::after { content: "−"; }
.homepage-faq-list details[open] summary { color: var(--green-dark); background: #f5faf8; }
.homepage-faq-list details p { margin: 0; padding: 0 52px 18px 18px; color: #465750; font-size: 14px; line-height: 1.65; }
.faq-privacy-link { grid-column: 2; justify-self: start; font-weight: 800; text-decoration: none; }
.faq-privacy-link span { margin-left: 6px; }

.how-it-works { margin: 110px 0 40px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feature-grid article { padding: 25px; background: rgba(255,255,255,.55); border: 1px solid rgba(21,33,29,.08); border-radius: 18px; }
.feature-grid span { color: var(--green); font-weight: 900; }
.feature-grid h3 { margin: 18px 0 8px; }
.feature-grid p { color: var(--muted); }
footer { max-width: 1180px; margin: auto; padding: 28px 24px 45px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); border-top: 1px solid var(--line); font-size: 13px; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 18px; }

.guide-page { background: var(--paper); }
.guide-main { max-width: 980px; padding-top: 42px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; color: var(--muted); font-size: 13px; }
.guide-article, .guide-hero { min-width: 0; }
.guide-hero { margin-bottom: 32px; }
.guide-hero h1 { max-width: 900px; font-size: clamp(39px, 7vw, 68px); }
.guide-review-note { margin: 22px 0 32px; padding: 16px 18px; color: #614a13; background: #fff4d6; border: 1px solid #ecd080; border-radius: 12px; font-size: 13px; }
.guide-answer, .guide-faq { margin: 14px 0; padding: clamp(20px, 4vw, 34px); background: white; border: 1px solid var(--line); border-radius: 17px; }
.guide-answer h2, .guide-faq h2 { margin: 0 0 12px; font-size: 25px; line-height: 1.2; }
.guide-answer p, .guide-answer li, .guide-faq p { color: #41514b; line-height: 1.7; }
.guide-answer li + li { margin-top: 7px; }
.personal-case { margin: 34px 0; padding: clamp(25px, 5vw, 44px); color: white; background: var(--ink); border-radius: 21px; }
.personal-case h2 { margin: 0 0 12px; font-size: clamp(27px, 4vw, 39px); line-height: 1.12; }
.personal-case p:not(.eyebrow) { max-width: 720px; color: #c7d2ce; }
.personal-case .guide-cta { margin-top: 9px; background: #76d8b4; color: var(--ink); }
.guide-faq details { padding: 15px 0; border-top: 1px solid var(--line); }
.guide-faq details:first-of-type { border-top: 0; }
.guide-faq summary { cursor: pointer; font-weight: 800; }
.guide-faq details p { margin-bottom: 0; }
.guide-category-nav { position: sticky; top: 12px; z-index: 5; display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 46px; padding: 12px; background: rgba(246,241,231,.94); border: 1px solid rgba(21,33,29,.09); border-radius: 16px; backdrop-filter: blur(10px); }
.guide-category-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 13px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 800; }
.guide-category-nav a:hover, .guide-category-nav a:focus-visible { color: white; background: var(--green); border-color: var(--green); }
.guide-category-nav span { color: var(--muted); font-size: 11px; font-weight: 700; }
.guide-category-nav a:hover span, .guide-category-nav a:focus-visible span { color: rgba(255,255,255,.82); }
.guide-category { scroll-margin-top: 92px; margin: 0 0 72px; }
.guide-category-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .8fr); gap: 4px 28px; align-items: end; margin-bottom: 20px; }
.guide-category-heading .eyebrow { grid-column: 1 / -1; margin: 0; }
.guide-category-heading h2 { margin: 0; font-size: clamp(29px, 5vw, 44px); line-height: 1.08; }
.guide-category-heading > p:last-child { margin: 0 0 4px; color: var(--muted); line-height: 1.55; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.guide-card { display: flex; min-width: 0; flex-direction: column; padding: 23px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.guide-card h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.2; }
.guide-card p:not(.eyebrow) { color: #41514b; }
.guide-card small { margin-top: auto; padding-top: 12px; color: var(--muted); }

@media (max-width: 820px) {
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 42px; padding: 55px 0 80px; }
  .hero-card { transform: none; }
  .truth-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .truth-fact:first-child, .truth-fact:last-child { border-radius: 0; }
  .truth-fact:first-child { border-radius: 17px 0 0 0; }
  .truth-fact:nth-child(2) { border-radius: 0 17px 0 0; }
  .truth-fact:nth-child(3) { border-radius: 0 0 0 17px; }
  .truth-fact:last-child { border-radius: 0 0 17px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .case-lifecycle ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assurance-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 0; }
  .assurance-grid li:nth-child(3) { padding-left: 0; border-left: 0; }
  .homepage-faq { grid-template-columns: 1fr; }
  .faq-privacy-link { grid-column: 1; }
}
@media (max-width: 620px) {
  .site-header, main, footer { padding-left: 16px; padding-right: 16px; }
  .header-actions { align-items: flex-end; flex-direction: column-reverse; gap: 6px; font-size: 12px; }
  h1 { font-size: 43px; }
  .lead { font-size: 17px; }
  .truth-panel { margin-top: -24px; }
  .truth-facts, .gain-grid { grid-template-columns: 1fr; }
  .service-assurance { padding: 22px 17px; }
  .service-assurance-heading { display: block; }
  .assurance-grid { grid-template-columns: 1fr; gap: 0; }
  .assurance-grid li, .assurance-grid li:first-child, .assurance-grid li:nth-child(3), .assurance-grid li:last-child { padding: 15px 0; border-left: 0; border-top: 1px solid var(--line); }
  .assurance-grid li:first-child { border-top: 0; }
  .homepage-faq { margin-top: 58px; padding: 23px 17px; }
  .truth-fact { min-height: 84px; padding: 16px; }
  .truth-fact:first-child, .truth-fact:nth-child(2), .truth-fact:nth-child(3), .truth-fact:last-child { border-radius: 0; }
  .truth-fact:first-child { border-radius: 17px 17px 0 0; }
  .truth-fact:last-child { border-radius: 0 0 17px 17px; }
  .gain-section { margin-bottom: 52px; padding: 27px 18px 19px; border-radius: 21px; }
  .gain-heading h2 { font-size: 31px; }
  .gain-heading > p:last-child { font-size: 14px; }
  .gain-grid { gap: 11px; margin-top: 24px; }
  .gain-card { padding: 19px; }
  .case-lifecycle ol, .guide-grid { grid-template-columns: 1fr; }
  .guide-category-nav { position: static; margin-bottom: 34px; padding: 0; background: transparent; border: 0; backdrop-filter: none; }
  .guide-category-nav a { width: 100%; justify-content: space-between; border-radius: 12px; }
  .guide-category { margin-bottom: 52px; }
  .guide-category-heading { grid-template-columns: 1fr; gap: 8px; }
  .workspace, .result-section { padding: 23px 17px; border-radius: 19px; }
  .form-grid.two, .privacy-mode-options, .result-grid, .result-details, .premium-card, .result-summary-card, .result-summary-grid { grid-template-columns: 1fr; }
  .result-summary-grid .summary-destination { grid-column: auto; }
  .official-form-notice { align-items: flex-start; flex-direction: column; gap: 12px; }
  .form-grid .wide { grid-column: auto; }
  .rule-verification-heading, .external-research-heading, .delivery-options-heading, .risk-signals-heading { display: grid; }
  .delivery-candidates article { grid-template-columns: 1fr; }
  .delivery-apply-button { width: 100%; }
  .rule-details { grid-template-columns: 1fr; }
  .rule-meta { grid-template-columns: 1fr; }
  .supplement-files { grid-template-columns: 1fr; }
  .tabs { grid-template-columns: 1fr; }
  .result-heading, .result-trust-frame { display: grid; }
  .confidence-stack { justify-items: start; }
  .confidence { text-align: left; }
  .checkout-heading, .supplement-heading, .result-actions { display: grid; }
  .bottom-purchase { display: grid; }
  .bottom-purchase .primary { width: 100%; min-width: 0; }
  .recovery-actions { display: grid; }
  .recovery-button { width: 100%; }
  .order-actions { align-items: stretch; display: grid; }
  .delivery-summary div { grid-template-columns: 1fr; gap: 4px; }
  footer { display: grid; }
}

@media (max-width: 480px) {
  .progress-stepper { max-width: none; margin-bottom: 20px; }
  .progress-stepper .step-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

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

@media (forced-colors: active) {
  .consent-row input[type="checkbox"] { forced-color-adjust: auto; }
}

/* RC31 R4: one warm, calm visual system for the homepage. */
.home-page {
  --ink: #182238;
  --muted: #5f6863;
  --paper: #f6f1e7;
  --card: #fffefa;
  --green: #347a3f;
  --green-dark: #245f30;
  --mint: #edf5e8;
  --amber: #e89b16;
  --line: #e8decc;
  --soft: #fbf7ee;
  --shadow: 0 18px 52px rgba(73, 57, 31, .08);
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 5%, rgba(232, 155, 22, .07), transparent 24rem),
    radial-gradient(circle at 92% 22%, rgba(52, 122, 63, .06), transparent 28rem),
    var(--paper);
  overflow-x: clip;
}

.home-page .site-header,
.home-page main,
.home-page footer {
  width: min(1320px, calc(100% - 48px));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 254, 250, .985);
  border-color: var(--line);
  border-style: solid;
}

.home-page .site-header {
  min-height: 76px;
  margin-top: 20px;
  padding: 14px 28px;
  gap: 22px;
  border-width: 1px 1px 0;
  border-radius: 27px 27px 0 0;
  box-shadow: 0 -8px 32px rgba(73, 57, 31, .035);
}

.home-page main {
  padding: 0 42px 68px;
  border-width: 0 1px;
}

.home-page footer {
  margin-bottom: 20px;
  padding: 26px 42px 38px;
  border-width: 1px;
  border-radius: 0 0 27px 27px;
}

.home-page .brand {
  flex: 0 0 auto;
}

.home-page .primary-navigation {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(11px, 1.7vw, 24px);
  min-width: 0;
  font-size: 12px;
  font-weight: 750;
}

.home-page .primary-navigation a,
.home-page .header-actions a {
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.home-page .primary-navigation a:hover { color: var(--green); }
.home-page .header-actions { flex: 0 0 auto; gap: 8px; font-size: 12px; }

.home-page .header-login,
.home-page .header-start {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 10px;
}

.home-page .header-login {
  background: var(--card);
  border: 1px solid #d9cdb9;
}
.home-page .header-login.hidden { display: none !important; }

.home-page .header-start {
  color: #fff !important;
  background: var(--green);
  box-shadow: 0 8px 18px rgba(52, 122, 63, .15);
}

.home-page .header-start:hover { background: var(--green-dark); }

.home-page .hero {
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: center;
  padding: 80px 24px;
}

.home-page .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 570px;
}

.home-page .hero h1 {
  max-width: 570px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 4.15vw, 56px);
  line-height: 1.01;
  letter-spacing: -.052em;
}

.home-page .hero-line,
.home-page .hero-accent { display: block; }
.home-page .hero-accent { color: var(--green); }

.home-page .hero .lead {
  max-width: 510px;
  margin: 18px 0 14px;
  color: #505a56;
  font-size: 16px;
  line-height: 1.55;
}

.home-page .hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 15px;
  padding: 0;
  list-style: none;
}

.home-page .hero-badges li {
  padding: 6px 9px;
  color: #44504a;
  background: #fbf7ed;
  border: 1px solid #eee3d2;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
}

.home-page .hero-badges li::before {
  content: "✓";
  margin-right: 5px;
  color: var(--green);
  font-weight: 900;
}

.home-page .hero-upload-shortcut {
  position: relative;
  display: grid;
  max-width: 500px;
  min-height: 158px;
  place-items: center;
  align-content: center;
  gap: 8px;
  margin: 0;
  padding: 25px 28px;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  background: linear-gradient(145deg, #fffefa, #fbf7ed);
  border: 1px solid #eadfcd;
  border-radius: 19px;
  box-shadow: 0 11px 28px rgba(73, 57, 31, .055);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
  cursor: pointer;
}

.home-page .hero-upload-shortcut::after {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1.5px dashed #91b196;
  border-radius: 12px;
}

.home-page .hero-upload-shortcut:hover {
  border-color: #91b196;
  box-shadow: 0 15px 34px rgba(52, 122, 63, .10);
  transform: translateY(-1px);
}

.home-page .hero-upload-shortcut:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 4px;
}

.home-page .hero-upload-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  color: var(--green);
}

.home-page .hero-upload-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .hero-upload-copy {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 2px;
}

.home-page .hero-upload-copy strong { font-size: 15px; }
.home-page .hero-upload-copy span { color: #59625e; font-size: 12px; }
.home-page .hero-upload-copy small { color: #626b66; font-size: 12px; }

.home-page .hero-service-note {
  display: flex;
  max-width: 500px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px 10px;
  margin: 9px 0 0;
  color: #56615b;
  font-size: 12px;
}

.home-page .hero-service-note strong { color: var(--green-dark); }

.home-page .hero-guide-shortcut { margin: 11px 0 0; font-size: 13px; font-weight: 750; }
.home-page .hero-guide-shortcut a { color: var(--green-dark); text-underline-offset: 3px; }
.home-page .hero-guide-shortcut a:hover { color: var(--green); }

.home-page .hero-security {
  max-width: 500px;
  margin: 4px 0 0;
  color: #626b66;
  text-align: center;
  font-size: 12px;
}

.home-page .hero-security span {
  margin-right: 5px;
  color: var(--green);
}

.home-page .hero-visual {
  position: relative;
  min-width: 0;
  min-height: 455px;
  overflow: visible;
  background: transparent;
  border-radius: 0;
}

.home-page .hero-visual::before,
.home-page .hero-orbit { display: none; }

.home-page .hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 52% center;
  transform: none;
  filter: none;
  background: #faf3e7;
  border-radius: 42% 58% 43% 57% / 35% 38% 62% 65%;
}

.home-page .hero-result-badge {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: 24px;
  display: flex;
  width: min(232px, calc(100% - 24px));
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  background: rgba(255, 254, 250, .95);
  border: 1px solid rgba(232, 222, 204, .94);
  border-radius: 17px;
  box-shadow: 0 14px 32px rgba(73, 57, 31, .13);
  backdrop-filter: blur(6px);
  overflow: visible;
}

.home-page .hero-result-badge > span:last-child { min-width: 0; }

.home-page .hero-result-check {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-weight: 900;
}

.home-page .hero-result-badge small,
.home-page .hero-result-badge strong { display: block; }
.home-page .hero-result-badge small { color: #66706b; font-size: 11px; }
.home-page .hero-result-badge strong { color: var(--green-dark); font-size: 12px; }

.home-page #korzysci,
.home-page #jak-to-dziala,
.home-page #obslugiwane-umowy,
.home-page #przyklad-analizy,
.home-page #sprawdz,
.home-page #faq-heading { scroll-margin-top: 24px; }

.home-page .gain-section {
  margin: 0 0 14px;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.home-page .gain-heading {
  max-width: 690px;
  margin: 0 auto;
  text-align: center;
}

.home-page .gain-heading .eyebrow { margin-bottom: 7px; }
.home-page .gain-heading .eyebrow,
.home-page .section-heading .eyebrow,
.home-page .closing-cta .eyebrow { display: none; }
.home-page .gain-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.home-page .gain-heading > p:last-child {
  max-width: 650px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 13px;
}

.home-page .gain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-top: 24px;
}

.home-page .gain-card {
  min-height: 184px;
  padding: 21px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(73, 57, 31, .045);
}

.home-page .gain-visual {
  width: 54px;
  height: 54px;
  color: var(--green);
  background: #f2f6ec;
  border-color: #dce7d5;
  border-radius: 15px;
}

.home-page .gain-card:nth-child(2) .gain-visual {
  color: #c77e08;
  background: #fff7e8;
  border-color: #f0d9ad;
}

.home-page .gain-visual svg { width: 39px; height: 39px; }
.home-page .gain-stage { color: #53605a; background: #f2efe8; font-size: 12px; }
.home-page .gain-stage-free { color: var(--green-dark); background: var(--mint); }
.home-page .gain-card h3 { margin: 16px 0 6px; font-size: 17px; }
.home-page .gain-card p { color: var(--muted); font-size: 13px; line-height: 1.5; }

.home-page .section-heading {
  max-width: 700px;
  margin: 0 auto 23px;
  text-align: center;
}

.home-page .section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(27px, 3vw, 33px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.home-page .section-heading > p:last-child {
  max-width: 620px;
  margin: 9px auto 0;
  color: var(--muted);
  font-size: 13px;
}

.home-page .process-section { margin: 42px 0 46px; }

.home-page .process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.home-page .process-grid::before {
  content: "";
  position: absolute;
  top: 65px;
  left: 21%;
  right: 21%;
  border-top: 1.5px dashed #79a282;
}

.home-page .process-grid li {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 150px;
  justify-items: center;
  align-content: center;
  padding: 21px 17px 18px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(73, 57, 31, .04);
}

.home-page .process-number {
  position: absolute;
  top: -11px;
  left: 14px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 850;
}

.home-page .process-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 8px;
  color: var(--green);
  background: transparent;
  border-radius: 0;
}

.home-page .process-icon svg {
  width: 39px;
  height: 39px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .process-grid strong { font-size: 14px; }
.home-page .process-grid li > span:last-child {
  max-width: 210px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.home-page .contract-types { margin: 42px 0 46px; }

.home-page .contract-type-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-page .contract-type-grid li {
  display: grid;
  min-height: 88px;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 10px 6px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.home-page .contract-type-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--green-dark);
  background: var(--mint);
  border-radius: 50%;
}

.home-page .contract-type-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home-page .contract-type-grid strong { color: #515b56; font-size: 11px; line-height: 1.2; }
.home-page .contract-types-note { margin: 12px 0 0; color: #626b66; text-align: center; font-size: 12px; }

.home-page .analysis-example {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(430px, 1.28fr);
  gap: 28px;
  align-items: center;
  margin: 52px 0;
  padding: 34px;
  overflow: hidden;
  background: #fbf6ec;
  border: 1px solid var(--line);
  border-radius: 21px;
}

.home-page .analysis-example::after { display: none; }
.home-page .analysis-example-copy h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: -.038em;
}
.home-page .analysis-example-copy > p:last-of-type { color: var(--muted); font-size: 13px; }
.home-page .analysis-example-copy ul {
  display: grid;
  gap: 7px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
  color: #4e5853;
  font-size: 12px;
}
.home-page .analysis-example-copy li::before {
  content: "✓";
  display: inline-grid;
  width: 19px;
  height: 19px;
  margin-right: 7px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
}

.home-page .analysis-example .hero-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 145px;
  gap: 17px;
  align-items: stretch;
  margin: 0;
  padding: 22px 24px;
  color: var(--ink);
  background: rgba(255, 254, 250, .97);
  border: 1px solid #e5dac6;
  border-radius: 17px;
  box-shadow: 0 11px 27px rgba(73, 57, 31, .07);
  transform: none;
}

.home-page .analysis-dashboard-nav {
  padding: 13px 11px;
  background: #f6f3eb;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.home-page .analysis-dashboard-nav strong {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--green-dark);
  font-size: 11px;
}

.home-page .analysis-dashboard-nav strong span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 10px;
}

.home-page .analysis-dashboard-nav ul {
  display: grid;
  gap: 4px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 10px;
}

.home-page .analysis-dashboard-nav li { padding: 5px 6px; border-radius: 6px; }
.home-page .analysis-dashboard-nav li.active { color: var(--green-dark); background: #eaf3e5; font-weight: 800; }
.home-page .analysis-dashboard-main { min-width: 0; }
.home-page .analysis-example .mini-label { color: var(--green); font-size: 11px; }
.home-page .analysis-example .hero-card h2 { margin: 5px 0 14px; font-size: 22px; }
.home-page .analysis-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 8px;
  padding: 8px 9px;
  color: var(--green-dark);
  background: #eef5e9;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
}

.home-page .analysis-status span {
  display: grid;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 8px;
}
.home-page .analysis-example .sample-result div { padding: 9px 0; border-color: var(--line); }
.home-page .analysis-example .sample-result dt { color: var(--muted); font-size: 12px; }
.home-page .analysis-example .sample-result dd { color: var(--ink); font-size: 13px; }
.home-page .analysis-example .sample-result .accent-row dd { color: var(--green-dark); }
.home-page .analysis-example .sample-source {
  margin-top: 12px;
  padding: 9px 10px;
  color: var(--green-dark);
  background: #f2f6ec;
  border-left-color: var(--green);
  font-size: 11px;
}
.home-page .analysis-example .sample-source span { color: var(--muted); }
.home-page .analysis-dashboard-document {
  display: grid;
  min-width: 0;
  align-content: start;
  justify-items: center;
  gap: 7px;
  padding: 13px 10px;
  text-align: center;
  background: #fbf8f0;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.home-page .analysis-dashboard-document strong { font-size: 11px; }
.home-page .analysis-pdf-sheet {
  display: grid;
  width: 67px;
  height: 82px;
  place-items: end center;
  padding-bottom: 9px;
  color: var(--green-dark);
  background: linear-gradient(145deg, #fff, #f6f1e7);
  border: 1px solid #dfd6c6;
  border-radius: 7px;
  box-shadow: 0 7px 15px rgba(73, 57, 31, .07);
  font-size: 11px;
  font-weight: 900;
}
.home-page .analysis-pdf-sheet::before {
  content: "";
  width: 36px;
  height: 4px;
  margin-bottom: 18px;
  background: linear-gradient(#cad8c4 0 0) 0 0 / 100% 1px no-repeat,
              linear-gradient(#cad8c4 0 0) 0 50% / 82% 1px no-repeat,
              linear-gradient(#cad8c4 0 0) 0 100% / 65% 1px no-repeat;
}
.home-page .analysis-dashboard-document small { color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.home-page .analysis-download {
  width: 100%;
  padding: 7px 6px;
  color: #fff;
  background: var(--green);
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
}
.home-page .analysis-example .fine-print {
  grid-column: 1 / -1;
  margin: 0;
  color: #626b66;
  font-size: 11px;
}

.home-page .homepage-faq {
  display: block;
  margin: 56px 0 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-page .homepage-faq-heading {
  max-width: 690px;
  margin: 0 auto 23px;
  text-align: center;
}

.home-page .homepage-faq-heading .eyebrow { display: none; }
.home-page .homepage-faq-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.home-page .homepage-faq-heading > p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 12px; }

.home-page .homepage-faq-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px 10px;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.home-page .homepage-faq-list details,
.home-page .homepage-faq-list details:first-child {
  align-self: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.home-page .homepage-faq-list summary {
  min-height: 49px;
  display: flex;
  align-items: center;
  padding: 12px 43px 12px 14px;
  font-size: 13px;
}

.home-page .homepage-faq-list summary::after { right: 14px; font-size: 20px; }
.home-page .homepage-faq-list details[open] summary { background: #fbf8f0; }
.home-page .homepage-faq-list details p { padding: 0 14px 14px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.home-page .faq-privacy-link { display: block; width: fit-content; margin: 18px auto 0; font-size: 12px; }

.home-page .closing-cta {
  position: relative;
  min-height: 226px;
  display: grid;
  place-items: center;
  margin: 0 0 60px;
  padding: 32px 24px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 10% 110%, rgba(232, 155, 22, .11), transparent 15rem),
    radial-gradient(circle at 92% -20%, rgba(52, 122, 63, .10), transparent 17rem),
    #f2f6e9;
  border: 1px solid #dce5cf;
  border-radius: 24px;
}

.home-page .closing-cta-copy { position: relative; z-index: 2; max-width: 680px; }
.home-page .closing-illustration {
  position: absolute;
  z-index: 1;
  width: 145px;
  height: 145px;
  color: #7ca06f;
  opacity: .42;
}
.home-page .closing-illustration svg {
  width: 100%;
  height: 100%;
  fill: rgba(255, 255, 255, .48);
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-page .closing-illustration-document { left: 4%; bottom: -15px; }
.home-page .closing-illustration-plant { right: 3%; bottom: -12px; }
.home-page .closing-cta .eyebrow { margin-bottom: 6px; }
.home-page .closing-cta h2 { margin: 0; font-size: clamp(30px, 3.5vw, 39px); letter-spacing: -.04em; }
.home-page .closing-cta-copy > p:not(.eyebrow) { margin: 7px 0 13px; color: var(--muted); font-size: 13px; }
.home-page .closing-cta ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 0 0 15px;
  padding: 0;
  list-style: none;
  font-size: 11px;
  font-weight: 750;
}
.home-page .closing-cta li::before { content: "✓"; margin-right: 5px; color: var(--green); }
.home-page .closing-cta .hero-cta {
  min-width: 205px;
  min-height: 43px;
  padding: 11px 18px;
  background: var(--green);
  border-radius: 10px;
  box-shadow: 0 9px 22px rgba(52, 122, 63, .18);
}

.home-page .workspace,
.home-page .result-section {
  max-width: 960px;
  margin: 34px auto 0;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.home-page .workspace { scroll-margin-top: 24px; }
.home-page .workspace-heading h2,
.home-page .result-heading h2 { color: var(--ink); }
.home-page .tabs { background: #f1ede5; }
.home-page .tab.active { background: var(--card); }
.home-page .file-drop { background: #fbf8f0; border-color: #91b196; }
.home-page .file-drop.drag,
.home-page .file-drop:focus-within { background: var(--mint); }
.home-page .privacy-assurance {
  color: #405048;
  background: #f2f6ec;
  border-color: #d7e4d1;
}
.home-page .privacy-assurance details { border-top-color: #d7e4d1; }
.home-page .upload-ai-disclosure,
.home-page .result-ai-disclosure { background: #fbf8f0; }
.home-page .initial-supplements,
.home-page .progressive-details,
.home-page .analysis-details { background: #fbf9f3; border-color: var(--line); }
.home-page input,
.home-page select,
.home-page textarea { background: var(--card); }
.home-page input:focus,
.home-page select:focus,
.home-page textarea:focus { box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--green-dark); }
.home-page .result-summary-card {
  background: linear-gradient(145deg, #f2f6ec, #fffefa);
  border-color: #cadcc4;
}
.home-page .premium-card,
.home-page .bottom-purchase {
  color: var(--ink);
  background: #f4f2e9;
  border: 1px solid var(--line);
}
.home-page .premium-card ul,
.home-page .bottom-purchase small { color: var(--muted); }
.home-page .bottom-purchase p { color: var(--green-dark); }
.home-page .draft-kind {
  color: var(--green-dark);
  background: var(--card);
  border-left-color: var(--green);
}
.home-page .draft-kind span { color: var(--muted); }
.home-page .secondary { color: #fff; background: var(--green); }
.home-page .secondary:hover { background: var(--green-dark); }
.home-page .checkout-panel { background: #fbf9f3; border-color: #b8d0b2; }

.home-page.flow-result main > :not(#result-section),
.home-page.flow-checkout main > :not(#result-section) {
  display: none !important;
}

.home-page.flow-result .primary-navigation,
.home-page.flow-result .header-start,
.home-page.flow-checkout .primary-navigation,
.home-page.flow-checkout .header-start {
  display: none !important;
}

.home-page.flow-checkout #result-section > :not(#checkout-panel) {
  display: none !important;
}

.home-page.flow-checkout #result-section {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-page.flow-checkout .checkout-panel { margin: 0; }

@media (max-width: 1100px) {
  .home-page .hero { grid-template-columns: minmax(0, .94fr) minmax(390px, 1.06fr); }
  .home-page .contract-type-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .home-page .site-header,
  .home-page main,
  .home-page footer { width: min(100% - 24px, 1320px); }
  .home-page main { padding-left: 28px; padding-right: 28px; }
  .home-page .primary-navigation { gap: 8px; font-size: 10px; }
  .home-page .header-login,
  .home-page .header-start { padding-left: 11px; padding-right: 11px; }
  .home-page .hero { grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr); gap: 18px; padding-left: 0; padding-right: 0; }
  .home-page .hero h1 { font-size: clamp(40px, 5vw, 48px); }
  .home-page .hero-visual { min-height: 410px; }
  .home-page .analysis-example { grid-template-columns: 1fr; }
  .home-page .analysis-example .hero-card { grid-template-columns: 105px minmax(0, 1fr) 135px; }
}

@media (max-width: 1060px) {
  .home-page .primary-navigation { display: none; }
  .home-page .site-header { justify-content: space-between; }
}

@media (max-width: 820px) {
  .home-page .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 44px;
  }
  .home-page .hero-copy { max-width: 650px; margin: 0 auto; text-align: center; }
  .home-page .hero h1,
  .home-page .hero .lead,
  .home-page .hero-upload-shortcut,
  .home-page .hero-security { margin-left: auto; margin-right: auto; }
  .home-page .hero-badges { justify-content: center; }
  .home-page .hero-visual { width: min(620px, 100%); min-height: 440px; margin: 0 auto; }
  .home-page .gain-grid { grid-template-columns: 1fr; }
  .home-page .gain-card { min-height: 0; }
  .home-page .process-grid { gap: 16px; }
  .home-page .process-grid::before { display: none; }
  .home-page .homepage-faq-list { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .home-page .site-header,
  .home-page main,
  .home-page footer { width: 100%; }
  .home-page .site-header {
    min-height: 70px;
    margin-top: 0;
    padding: 12px 15px;
    border-width: 0 0 1px;
    border-radius: 0;
  }
  .home-page main { padding: 0 15px 48px; border: 0; }
  .home-page footer {
    margin-bottom: 0;
    padding: 24px 15px 32px;
    border-width: 1px 0 0;
    border-radius: 0;
  }
  .home-page .brand { font-size: 15px; }
  .brand-mark { width: 31px; height: 31px; }
  .home-page .header-actions {
    flex-direction: row;
    align-items: center;
    gap: 5px;
    font-size: 10px;
  }
  .home-page .header-login {
    display: inline-flex;
    min-height: 36px;
    padding: 7px 8px;
  }
  .home-page .header-start { min-height: 38px; padding: 8px 11px; }
  .home-page .hero { gap: 17px; padding: 36px 0 23px; }
  .home-page .hero-copy { text-align: left; }
  .home-page .hero h1 { font-size: clamp(35px, 9.8vw, 41px); overflow-wrap: normal; }
  .home-page .hero-accent { font-size: .9em; line-height: 1.08; }
  .home-page .hero .lead { font-size: 15px; }
  .home-page .hero-badges { justify-content: flex-start; }
  .home-page .hero-upload-shortcut { min-height: 155px; padding: 24px 18px; }
  .home-page .hero-security { text-align: left; }
  .home-page .hero-service-note { justify-content: flex-start; }
  .home-page .hero-visual { min-height: 310px; border-radius: 32% 68% 38% 62% / 32% 38% 62% 68%; }
  .home-page .hero-result-badge { right: 10px; bottom: 12px; width: 220px; padding: 10px 12px; }
  .home-page .hero-result-check { flex-basis: 32px; width: 32px; height: 32px; }
  .home-page .gain-grid { grid-template-columns: 1fr; }
  .home-page .gain-heading { text-align: left; }
  .home-page .gain-heading > p:last-child { margin-left: 0; }
  .home-page .process-section,
  .home-page .contract-types,
  .home-page .analysis-example { margin: 42px 0; }
  .home-page .process-grid { grid-template-columns: 1fr; }
  .home-page .process-grid li { min-height: 142px; }
  .home-page .contract-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .analysis-example { padding: 24px 17px; }
  .home-page .analysis-example .hero-card { padding: 19px 16px; }
  .home-page .analysis-example .hero-card { grid-template-columns: 1fr; }
  .home-page .analysis-dashboard-nav { display: none; }
  .home-page .analysis-dashboard-document {
    grid-template-columns: auto 58px minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    text-align: left;
  }
  .home-page .analysis-pdf-sheet { grid-row: 1 / span 3; grid-column: 2; width: 52px; height: 64px; }
  .home-page .analysis-download { width: auto; padding-left: 11px; padding-right: 11px; }
  .home-page .homepage-faq { margin: 46px 0 38px; }
  .home-page .homepage-faq-heading { text-align: left; }
  .home-page .closing-cta { min-height: 235px; margin-bottom: 48px; padding: 30px 17px; border-radius: 20px; }
  .home-page .closing-cta ul {
    display: grid;
    width: fit-content;
    justify-items: start;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  .home-page .closing-cta .hero-cta { width: 100%; }
  .home-page .closing-illustration { display: none; }
  .home-page .workspace,
  .home-page .result-section { margin-top: 48px; padding: 23px 17px; border-radius: 20px; }
}

@media (max-width: 380px) {
  .home-page .brand > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (max-width: 370px) {
  .home-page .brand > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  .home-page .header-login { background: transparent; border: 0; border-radius: 0; display: inline-flex; }
}


/* ===========================================================================
   RC31 R11 - clarity pass.
   Additive only: earlier rules are pinned by regression tests and by the
   STAGING deploy gates, so this block overrides rather than edits them.
   =========================================================================== */

/* Hero: the upload card is the single primary action. */
.home-page .hero-upload-shortcut {
  max-width: 520px;
  min-height: 0;
  grid-template-columns: 52px minmax(0, 1fr);
  justify-items: start;
  align-items: center;
  gap: 8px 16px;
  padding: 20px 22px;
  text-align: left;
  border: 1.5px solid #cfe0d2;
  box-shadow: 0 14px 34px rgba(52, 122, 63, .09);
}

.home-page .hero-upload-shortcut::after { inset: 6px; border-color: #cfe0d2; }
.home-page .hero-upload-shortcut:hover::after,
.home-page .hero-upload-shortcut:focus-within::after { border-color: var(--green); }

.home-page .hero-upload-icon { align-self: start; margin-top: 2px; }
.home-page .hero-upload-copy { justify-items: start; text-align: left; gap: 3px; }
.home-page .hero-upload-copy strong { font-size: 17px; letter-spacing: -.015em; }
.home-page .hero-upload-copy span { font-size: 13px; }

.home-page .hero-upload-action {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: 6px;
  padding: 14px 20px;
  color: #fff;
  background: var(--green);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.home-page .hero-upload-shortcut:hover .hero-upload-action { background: var(--green-dark); }
.home-page .hero-upload-arrow { transition: transform .16s ease; }
.home-page .hero-upload-shortcut:hover .hero-upload-arrow { transform: translateX(3px); }

/* Price line reads as a fact, not as a caption. */
.home-page .hero-service-note {
  max-width: 520px;
  justify-content: flex-start;
  gap: 4px 8px;
  margin: 13px 0 0;
  font-size: 13.5px;
}

.home-page .hero-service-extra { flex-basis: 100%; color: #56615b; }

.home-page .hero-security {
  display: flex;
  max-width: 520px;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
  text-align: left;
  font-size: 12.5px;
}

.home-page .hero-security-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .hero-guide-shortcut { margin: 14px 0 0; font-size: 13px; font-weight: 600; }
.home-page .hero-guide-shortcut a { text-decoration-thickness: 1px; }

/* R5: the price block is three facts, not three paragraphs. */
.home-page .hero-service-note { gap: 2px 8px; line-height: 1.45; }

/* Workspace: the file input is the visual centre of the form. */
.home-page .workspace-heading h2 { font-size: clamp(26px, 2.6vw, 34px); }

.home-page .upload-panel .file-drop {
  min-height: 196px;
  margin: 0 0 22px;
  border-width: 2px;
  border-color: #a9c6b3;
  background: linear-gradient(180deg, #f7fbf8, #f1f8f3);
}

.home-page .upload-panel .file-drop #file-title {
  font-size: 19px;
  letter-spacing: -.02em;
}

.home-page .upload-panel .file-drop .file-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 21px;
}

.home-page .privacy-mode-lead {
  margin: 0 0 10px;
  color: #55605a;
  font-size: 13px;
}

/* Trust content: always reachable, collapsed by default, still looks trusted. */
.home-page .privacy-assurance { padding: 0; overflow: hidden; }

.home-page .privacy-assurance-panel > summary {
  padding: 15px 17px;
  list-style: none;
  cursor: pointer;
}

.home-page .privacy-assurance-panel > summary::-webkit-details-marker { display: none; }

.home-page .privacy-assurance-panel > summary::after {
  content: "Pokaż szczegóły";
  display: block;
  margin: 9px 0 0 50px;
  color: var(--green-dark);
  font-size: 12.5px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-page .privacy-assurance-panel[open] > summary::after { content: "Ukryj szczegóły"; }

.home-page .privacy-assurance-panel > summary:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: -4px;
  box-shadow: inset 0 0 0 6px #075f47;
}

.home-page .privacy-assurance-panel > ul { padding: 0 17px 0 39px; }
.home-page .privacy-assurance-panel > details { margin: 12px 17px 15px; }

.home-page .privacy-shield svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .upload-ai-disclosure { margin: 0 0 18px; font-size: 13px; }

/* Section rhythm. Contained band - never wider than the content column, so it
   cannot depend on main's padding, which changes at four breakpoints. */
.home-page .process-section,
.home-page .homepage-faq {
  padding: clamp(22px, 2.5vw, 32px);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 24px;
}

/* Touch targets in the critical path. */
.home-page .privacy-mode-card input { width: 24px; height: 24px; margin-top: 0; }
.home-page .privacy-mode-card { grid-template-columns: 24px minmax(0, 1fr); }

.home-page .upload-consent .consent-row input[type="checkbox"] {
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
}

.home-page .upload-consent .consent-row { grid-template-columns: 24px minmax(0, 1fr); font-size: 14px; }

.home-page footer nav a {
  display: inline-block;
  padding: 7px 2px;
}

/* The brand name survives the most common phone width. */
@media (max-width: 460px) {
  .home-page .brand { font-size: 15px; gap: 7px; }
  .home-page .brand-mark { width: 30px; height: 30px; font-size: 14px; }
  .home-page .header-start { padding: 10px 14px; font-size: 13px; }
}

@media (max-width: 900px) {
  .home-page .process-section,
  .home-page .homepage-faq { border-radius: 20px; }
}

/* R3: pre-existing defect. The four gain cards stay four across until 820px,
   so between 821 and 1000px the nowrap stage badge ("PO TWOJEJ KONTROLI")
   pushes past the viewport. Two columns give each badge room. */
@media (min-width: 821px) and (max-width: 1000px) {
  .home-page .gain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .home-page .hero-upload-shortcut { grid-template-columns: 44px minmax(0, 1fr); padding: 17px 16px; }
  .home-page .hero-upload-copy strong { font-size: 16px; }
  .home-page .upload-panel .file-drop { min-height: 176px; }
  /* R4: the display heading cost three lines and half of the first screen. */
  .home-page .hero h1 { font-size: clamp(34px, 9vw, 40px); }
  .home-page .hero .lead { margin: 14px 0 12px; }
  .home-page .workspace-process-note { font-size: 13.5px; }
}

/* R3: honest process fact, stated where the decision happens. */
.home-page .workspace-process-note {
  max-width: 62ch;
  margin: 0;
  color: #4a554f;
  font-size: 14.5px;
  line-height: 1.55;
}

/* R3: the two-character footer link needs a real target. */
.home-page footer nav a { min-width: 24px; text-align: center; }

/* R3: persistent access to the primary action on a long mobile page. */
.mobile-action-bar { display: none; }
.mobile-action-bar[hidden] { display: none !important; }

@media (max-width: 900px) {
  .mobile-action-bar {
    position: fixed;
    z-index: 40;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 10px 10px 16px;
    background: var(--card);
    border: 1px solid #d9cdb6;
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(73, 57, 31, .22);
  }

  .mobile-action-bar span { display: grid; gap: 1px; min-width: 0; }
  .mobile-action-bar strong { color: var(--ink); font-size: 14px; }
  .mobile-action-bar small { color: #55605a; font-size: 11.5px; white-space: nowrap; }

  .mobile-action-bar a {
    flex: 0 0 auto;
    padding: 13px 18px;
    color: #fff;
    background: var(--green);
    border-radius: 11px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
  }

  .home-page footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-upload-arrow { transition: none; }
}


/* ===========================================================================
   RC31 R12 - poprawki zgłoszone po wdrożeniu R11. Dopisywane, nie edytujące.
   =========================================================================== */

/* 1. Tarcza prywatności.
   `.privacy-assurance-heading strong, .privacy-assurance-heading span`
   ustawia display:block na każdym spanie w nagłówku i wygrywa specyficznością
   z `.privacy-shield{display:grid}`, więc znak lądował w lewym górnym rogu.
   Usterka jest starsza niż R11; przy znaku tekstowym była mniej widoczna. */
.home-page .privacy-assurance-heading .privacy-shield {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
}

/* 2. Znacznik marki w fikcyjnym dashboardzie był ściskany przez flex do 9x18,
   czyli do elipsy. */
.home-page .analysis-dashboard-nav strong span {
  flex: 0 0 18px;
  line-height: 1;
}

/* 2b. Trochę powietrza w przykładzie, żeby trzy kolumny nie były ciasne. */
.home-page .analysis-dashboard { gap: 18px; }
.home-page .analysis-dashboard-nav { padding: 15px 13px; }
.home-page .analysis-dashboard-main .sample-result { margin-top: 14px; }

/* 5. Widok wyniku na telefonie.
   Elementy grida mają domyślnie min-width:auto, więc długi kod bez spacji
   (np. INCOMPLETE_PAIR_SPECIAL_RIGHT_WINDOW) rozpychał ścieżkę poza widok.
   Zmierzone +29 px przy 390 px. */
#critical-warnings,
#critical-warnings > *,
.warnings,
.warnings > *,
.result-grid,
.result-grid > *,
.result-grid dd,
.evidence-block,
.evidence-block > *,
.risk-signals-list,
.risk-signals-list > *,
.risk-signals-notes,
.risk-signals-notes > *,
.result-summary-grid,
.result-summary-grid > *,
.result-summary-grid dd {
  min-width: 0;
}

#critical-warnings p,
.warnings p,
.warnings .warning,
.warning,
.result-grid dd,
.result-summary-grid dd,
.risk-signal p,
.risk-signals-notes p,
.evidence-block p,
.detail-card p,
.detail-card li {
  overflow-wrap: anywhere;
}


/* ===========================================================================
   RC31 R13 - fikcyjny przyklad analizy: nic nie wychodzi poza swoja kolumne.
   =========================================================================== */

/* R12 zwiekszylo padding nawigacji, co zabralo 4px z i tak za waskiej kolumny.
   Wracamy do wartosci bazowej. */
.home-page .analysis-dashboard-nav { padding: 13px 11px; }

/* Kolumna miesci teraz najdluzsza pozycje listy ("Podsumowanie"), ktora
   wychodzila poza nia juz przed moimi zmianami.
   Regula musi byc zamknieta w zakresie: ponizej 621px karta jest
   jednokolumnowa, a nawigacja ukryta, wiec bezwarunkowa deklaracja
   nadpisywalaby ten uklad. */
@media (min-width: 1061px) {
  .home-page .analysis-example .hero-card {
    grid-template-columns: 126px minmax(0, 1fr) 145px;
  }
}

/* Lockup uklada sie pionowo, wiec jego szerokosc to szerokosc samego napisu,
   a nie suma znacznika, odstepu i napisu. Dzieki temu pelna nazwa marki
   miesci sie tam, gdzie poziomy uklad sie nie miescil. */
.home-page .analysis-dashboard-nav strong {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 9.5px;
  letter-spacing: -.005em;
  line-height: 1.2;
}

.home-page .analysis-dashboard-nav strong span {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  font-size: 9px;
  line-height: 1;
}

/* Pas 940-1060px byl najgorszy: karta stala jeszcze obok tekstu, wiec srodkowa
   kolumna schodzila do ~142px i rozsadzal ja wiersz "Najpozniej dorecz firmie".
   Karta dostaje pelna szerokosc, zanim to nastapi. */
@media (min-width: 701px) and (max-width: 1060px) {
  .home-page .analysis-example { grid-template-columns: 1fr; }
  .home-page .analysis-example .hero-card {
    grid-template-columns: 126px minmax(0, 1fr) 135px;
  }
}


/* Trzykolumnowa makieta nie miesci sie ponizej ~700px. Bazowy CSS zwijal ja
   dopiero przy 620px, wiec pas 621-700px rozsadzal srodkowa kolumne.
   Ten pas dostaje ten sam uklad co ponizej 620px. */
@media (min-width: 621px) and (max-width: 700px) {
  .home-page .analysis-example .hero-card { grid-template-columns: 1fr; }
  .home-page .analysis-dashboard-nav { display: none; }
  .home-page .analysis-dashboard-document {
    grid-template-columns: auto 58px minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    text-align: left;
  }
  .home-page .analysis-pdf-sheet { grid-row: 1 / span 3; grid-column: 2; width: 52px; height: 64px; }
  .home-page .analysis-download { width: auto; padding-left: 11px; padding-right: 11px; }
}


/* ===========================================================================
   RC31 R14 - odpowiedz na audyt zewnetrzny.
   =========================================================================== */

/* 5. summary nie moze zawierac diva; uklad przenosimy na elementy liniowe. */
.home-page .privacy-assurance-panel .privacy-assurance-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.home-page .privacy-assurance-panel .privacy-assurance-lead { display: block; }
/* Tylko naglowek jest blokiem; wyroznienie w akapicie musi zostac liniowe,
   inaczej 'do 30 dni' lamie sie na osobny wiersz i zostawia sierotke. */
.home-page .privacy-assurance-panel .privacy-assurance-lead > strong { display: block; }
.home-page .privacy-assurance-panel .privacy-assurance-lead > span strong {
  display: inline;
  color: var(--ink);
}
.home-page .privacy-assurance-panel .privacy-assurance-lead > span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.home-page .privacy-assurance-panel .privacy-assurance-lead code { font-size: 12px; }

/* 1. Kafel w hero pokazuje, ze przyjmuje upuszczony plik. */
.home-page .hero-upload-shortcut.drag {
  border-color: var(--green);
  background: var(--mint);
}
.home-page .hero-upload-shortcut.drag::after { border-color: var(--green); }

/* 3. Wybor trybu prywatnosci stoi teraz nad polem pliku. */
.home-page .upload-panel .privacy-mode-selector { margin: 0 0 18px; }


/* ===========================================================================
   RC31 R15 - drugi audyt zewnetrzny: usterki mobilne.
   =========================================================================== */

/* 3. Pasek CTA ucinal cene przy 320px. white-space: nowrap dodalem w R12,
   zeby pasek byl jednowierszowy - przy najwezszym telefonie tekst wchodzil
   pod przycisk. Zmierzone: tekst 152px, dostepne mniej. */
@media (max-width: 900px) {
  .mobile-action-bar { gap: 10px; }
  .mobile-action-bar small { white-space: normal; }
  .mobile-action-bar a { padding: 12px 14px; }
}

@media (max-width: 360px) {
  .mobile-action-bar { padding: 10px 10px 10px 13px; }
  .mobile-action-bar strong { font-size: 13px; }
  .mobile-action-bar small { font-size: 11px; line-height: 1.3; }
  .mobile-action-bar a { padding: 11px 12px; font-size: 13px; }
}

/* 4. Nazwa marki miesci sie na kazdym telefonie.
   Zmierzone przy 320px: wolne 157px, nazwa potrzebuje 122px.
   Prog 380px z R11 byl nadmiernie ostrozny. */
@media (max-width: 380px) {
  .home-page .brand > span:last-child {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
  }
}

@media (max-width: 340px) {
  .home-page .brand { font-size: 14px; gap: 6px; }
  .home-page .brand-mark { width: 27px; height: 27px; font-size: 13px; }
  .home-page .header-start { padding: 9px 11px; font-size: 12px; }
}

/* 5. Etykiety etapow sa widoczne od 360px.
   Zmierzone: kolumna 98px przy 360px, "Zamowienie" potrzebuje 81px.
   Ponizej 360px kolumna ma 85px i zapas znika, wiec tam zostaje wariant
   dostepny wylacznie dla czytnikow ekranu - nigdy display: none. */
@media (min-width: 360px) and (max-width: 480px) {
  .progress-stepper .step-label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    font-size: 11.5px;
    line-height: 1.25;
  }
}

/* 6. Podpowiedz o trybie prywatnosci w hero. */
.home-page .hero-privacy-hint {
  max-width: 520px;
  margin: 12px 0 0;
  color: #55605a;
  font-size: 12.5px;
  line-height: 1.5;
}


/* ===========================================================================
   RC31 R17 - ciemny kafel w poradnikach uzywal kolorow motywu jasnego.
   Zmierzone przy 390px: eyebrow 2.55:1, odnosnik 1.66:1, wymagane 4.5:1.
   Usterka istniala juz w R15; R16 zwiekszylo zasieg z 9 do 30 stron.
   =========================================================================== */

/* Jasniejsza zielen czytelna na tle var(--ink) = #15211d. */
.personal-case .eyebrow { color: #7fe0bb; }

/* Odnosniki wewnatrz ciemnego kafla dziedziczyly kolor z motywu jasnego
   (#074c39 na #15211d = 1.66:1), przez co byly praktycznie nieczytelne. */
.personal-case a:not(.guide-cta) {
  color: #9fe8cd;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.personal-case a:not(.guide-cta):hover { color: #c8f3e3; }

.personal-case a:not(.guide-cta):focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: none;
}

/* Adresy w tresci poradnika nie moga rozpychac strony.
   Zmierzone: spotify.com/account/subscription/manage +66px przy 320px. */
.guide-page .guide-answer p,
.guide-page .guide-answer li,
.guide-page .guide-article p,
.guide-page .guide-article li,
.guide-page .guide-sources a,
.guide-page dd {
  overflow-wrap: anywhere;
}


/* ---- RC31 R18: landing po audycie konwersyjnym ------------------------- */

.home-page .hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.home-page .hero-trust-chips li {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: #4a5b55;
  font-size: 12px;
  font-weight: 650;
}

.home-page .guide-links { margin: 18px 0 0; text-align: center; }
.home-page .guide-links-intro {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.home-page .guide-links p {
  margin: 0 0 7px;
  font-size: 13px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.home-page .guide-links p strong {
  display: inline-block;
  min-width: 168px;
  color: var(--ink);
  text-align: left;
}
.home-page .guide-links p a {
  display: inline-block;
  margin: 0 3px;
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 650;
}
.home-page .guide-links p a:hover,
.home-page .guide-links p a:focus-visible { border-color: var(--green); color: var(--green); }
.home-page .guide-links-cta {
  display: inline-block;
  margin: 6px 0 0;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 750;
  text-underline-offset: 3px;
}
.home-page .guide-links-cta:hover { color: var(--green); }

.home-page .scope-limits { margin: 46px 0; }
.home-page .scope-limits-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.home-page .scope-limits-grid article {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.home-page .scope-limits-grid h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.3;
}
.home-page .scope-limits-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .home-page .guide-links p strong { display: block; min-width: 0; text-align: center; margin-bottom: 3px; }
}

@media (min-width: 821px) {
  .home-page .scope-limits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* ---- RC31 R19: jedno wejscie, biale tlo, zielen tylko dla akcji ---------- */

/* [4] Koniec zebry. Rytm buduja odstepy, nie kolor. Tlo maja dokladnie dwie
   sekcje: fikcyjny przyklad wyniku i koncowe CTA. */
.home-page .homepage-faq,
.home-page .gain-section,
.home-page .process-section,
.home-page .contract-types,
.home-page .scope-limits,
.home-page .workspace {
  background: transparent;
  border: 0;
  border-radius: 0;
}
.home-page .gain-section,
.home-page .process-section,
.home-page .contract-types,
.home-page .scope-limits,
.home-page .homepage-faq { margin: 96px 0; }

/* [3] Zielen znika z powierzchni informacyjnych i zostaje przy akcji. */
.home-page .privacy-assurance {
  margin: 0 0 14px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 0;
}
.home-page .privacy-shield {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
}
.home-page .gain-stage-free { color: #4a5b55; background: transparent; border: 1px solid var(--line); }
.home-page .gain-stage { color: #4a5b55; background: transparent; border: 1px solid var(--line); }
.home-page .homepage-faq-list details[open] summary { color: var(--ink); background: transparent; }
.home-page .homepage-faq-list summary::after { color: var(--muted); }

/* [6] Jeden styl karty i zero zagniezdzania: panel formularza jest karta,
   wszystko w srodku jest juz tylko trescia. */
.home-page .upload-panel {
  margin: 22px 0 0;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
}
.home-page .upload-panel .privacy-assurance-panel,
.home-page .upload-panel .initial-supplements,
.home-page .upload-panel .privacy-mode-toggle,
.home-page .upload-panel .consent-list,
.home-page .upload-panel .ai-disclosure {
  margin: 0 0 12px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.home-page .upload-panel summary {
  padding: 0;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.home-page .upload-panel .privacy-mode-selector {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
}
.home-page .upload-panel .privacy-mode-options { gap: 10px; }
.home-page .upload-panel .privacy-mode-card { border-radius: 12px; }

/* [1][2] Kafel pliku jest teraz samym polem, a pod przyciskiem stoi jedno
   zdanie zamiast czterech blokow drobnego druku. */
.home-page .hero-upload-shortcut { position: relative; cursor: pointer; }
.home-page .hero-upload-shortcut input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.home-page .upload-panel .primary { width: 100%; margin-top: 6px; }
.home-page .hero-privacy-hint { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.home-page .hero-trust-chips { margin: 16px 0 0; flex-wrap: nowrap; }

/* [7] Poradniki jako siatka, nie ciasne rzedy. */
.home-page .contract-types-intro { margin: 0 auto 26px; max-width: 620px; color: var(--muted); text-align: center; }
.home-page .guide-links { display: grid; gap: 22px 26px; margin: 0; text-align: left; }
.home-page .guide-group h3 { margin: 0 0 8px; font-size: 15px; }
.home-page .guide-group ul { margin: 0; padding: 0; list-style: none; }
.home-page .guide-group li { margin: 0 0 4px; }
.home-page .guide-group a { color: #3d4c46; font-size: 15px; text-decoration: none; }
.home-page .guide-group a:hover, .home-page .guide-group a:focus-visible { color: var(--green-dark); text-decoration: underline; }
.home-page .guide-links-cta { display: inline-block; margin: 4px 0 0; color: var(--green-dark); font-weight: 700; }

/* [10] FAQ czyta sie w jednej kolumnie o czytelnej mierze. */
.home-page .homepage-faq-list { max-width: 720px; margin-inline: auto; }
.home-page .faq-privacy-link { grid-column: auto; justify-self: center; }

/* [13] Wyrazne skoki zamiast jednego odcienia szarosci. */
.home-page .lead { font-size: 19px; line-height: 1.55; }
.home-page .gain-card p,
.home-page .scope-limits-grid p,
.home-page .process-grid li > span:last-of-type { font-size: 17px; line-height: 1.6; }
.home-page .upload-panel .consent-intro,
.home-page .upload-panel .form-note,
.home-page .contract-types-note { font-size: 14px; }

@media (min-width: 821px) {
  .home-page .guide-links { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
}


/* ---- RC31 R20: hero to tylko upload, reszta ma rytm i jeden styl karty --- */

/* [3] Obraz nie wychodzi poza kontener, a plakietka miesci sie w kadrze. */
.home-page .hero-visual {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: visible;
}
.home-page .hero-visual img {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  object-fit: cover;
  object-position: 52% center;
  border-radius: var(--radius);
}
.home-page .hero-result-badge {
  right: 16px;
  bottom: 16px;
  width: min(232px, calc(100% - 32px));
}

/* [1] Hero: pole pliku, jeden przycisk, jedno zdanie. */
.home-page .hero-upload-shortcut {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 20px 0 0;
  padding: 20px;
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.home-page .hero-upload-shortcut.drag,
.home-page .hero-upload-shortcut:focus-within { border-color: var(--green-700); }
.home-page .hero-upload-shortcut.needs-file { border-color: var(--danger); border-style: solid; }
.home-page .hero-upload-shortcut input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.home-page .hero-upload-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.home-page .hero-upload-copy strong { font-size: 17px; }
.home-page .hero-upload-copy span { color: var(--ink-600); font-size: 14px; }
.home-page .hero-upload-copy small { color: var(--ink-400); font-size: 13px; }
.home-page #hero-continue { width: 100%; margin: 16px 0 0; }

/* [2] Krok analizy montowany w miejscu hero. */
.home-page .analysis-step { padding-block: var(--space-section-sm); }
.home-page .analysis-step-inner { max-width: 720px; margin-inline: auto; }
.home-page .chosen-file { margin: 6px 0 18px; color: var(--ink-600); font-size: 15px; }
.home-page .chosen-file strong { color: var(--ink-900); overflow-wrap: anywhere; }

/* [5] Rytm sekcji i jedna miara tekstu wprowadzajacego. */
.home-page .gain-section,
.home-page .process-section,
.home-page .pricing-section,
.home-page .contract-types,
.home-page .scope-limits,
.home-page .privacy-section,
.home-page .homepage-faq {
  margin: 0;
  padding-block: var(--space-section);
  background: transparent;
  border: 0;
  border-radius: 0;
}
.home-page .section-heading,
.home-page .gain-heading,
.home-page .homepage-faq-heading { max-width: 720px; margin-inline: auto; }

/* [4] Zielone tlo tylko dwie sekcje: przyklad wyniku i koncowe CTA. */
.home-page .analysis-example { background: var(--green-50); }
.home-page .closing-cta { background: var(--green-50); }

/* [8] Jeden komponent karty, bez zagniezdzania. */
.home-page .card,
.home-page .gain-card,
.home-page .scope-limits-grid article,
.home-page .upload-panel {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}
.home-page .card .card { padding: 0; border: 0; border-radius: 0; }
.home-page .gain-stage,
.home-page .gain-stage-free {
  color: var(--ink-600);
  background: transparent;
  border: 1px solid var(--line);
}

/* [6] Cennik. */
.home-page .pricing-grid { display: grid; gap: 18px; margin-top: 26px; }
.home-page .pricing-grid h3 { margin: 0 0 8px; font-size: 19px; }
.home-page .pricing-note { max-width: 720px; margin: 20px auto 0; color: var(--ink-600); font-size: 15px; text-align: center; }

/* [7] Lista firm: kolumny rownej wysokosci, link pod cala siatka. */
.home-page .guide-links { display: grid; gap: 32px 24px; margin: 26px 0 0; text-align: left; }
.home-page .guide-group h3 {
  margin: 0 0 10px;
  color: var(--ink-600);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.home-page .guide-group ul { margin: 0; padding: 0; list-style: none; }
.home-page .guide-group li { margin: 0 0 6px; }
.home-page .guide-group a { color: var(--ink-900); font-size: 15px; text-decoration: none; }
.home-page .guide-group a:hover, .home-page .guide-group a:focus-visible { color: var(--green-700); text-decoration: underline; }
.home-page .guide-group .guide-more { color: var(--ink-600); font-size: 14px; }
.home-page .guide-links-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 32px auto 0;
  padding: 11px 20px;
  color: var(--green-700);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
}
.home-page .contract-types { text-align: center; }
.home-page .contract-types-note { max-width: 720px; margin: 14px auto 0; color: var(--ink-400); font-size: 13px; }

/* [4] Prywatnosc dostaje wlasna sekcje zamiast panelu w formularzu. */
.home-page .privacy-section { text-align: center; }
.home-page .privacy-section .privacy-assurance { max-width: 720px; margin-inline: auto; text-align: left; }

/* [9] Skala typografii. */
.home-page h1 { font-size: 48px; line-height: 1.15; font-weight: 700; color: var(--ink-900); }
.home-page h2 { font-size: 32px; line-height: 1.15; font-weight: 700; color: var(--ink-900); }
.home-page .lead { font-size: 19px; line-height: 1.6; color: var(--ink-600); font-weight: 400; }
.home-page .gain-card p,
.home-page .scope-limits-grid p,
.home-page .pricing-grid p,
.home-page .process-grid li > span:last-of-type { font-size: 17px; line-height: 1.6; color: var(--ink-900); }
.home-page .form-note,
.home-page .form-guidance,
.home-page .fine-print,
.home-page .contract-types-note { font-size: 14px; color: var(--ink-400); }
.home-page main p { max-width: 68ch; }
.home-page .section-heading p, .home-page .gain-heading p { margin-inline: auto; }

@media (min-width: 601px) {
  .home-page .guide-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 901px) {
  .home-page .guide-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .home-page .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 48px 20px;
  }
  .home-page .hero-visual { order: 2; }
  .home-page h1 { font-size: 34px; }
  .home-page h2 { font-size: 26px; }
  .home-page .gain-section,
  .home-page .process-section,
  .home-page .pricing-section,
  .home-page .contract-types,
  .home-page .scope-limits,
  .home-page .privacy-section,
  .home-page .homepage-faq { padding-block: var(--space-section-sm); }
}


/* ---- RC31 R21: hero wraca do dwoch kolumn, karty przestaja byc ucinane --- */

/* [1] Dwie kolumny wszedzie powyzej 900 px. Starsze reguly narzucaly
   minmax(390px) i wysokosci 410-440 px, przez co obraz wypychal uklad. */
.home-page .hero { align-items: center; }
.home-page .hero-visual {
  width: auto;
  min-height: 0;
  margin: 0;
  border-radius: 16px;
}
.home-page .hero-visual img {
  width: 100%;
  height: auto;
  max-height: 420px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}
@media (min-width: 901px) {
  /* Jedna deklaracja na caly desktop - bije starsze reguly 1100 px i 900 px. */
  .home-page .hero { grid-template-columns: 7fr 5fr; }
  .home-page .hero-visual { min-height: 0; }
}
@media (max-width: 900px) {
  .home-page .hero-copy { max-width: none; margin: 0; text-align: left; }
  .home-page .hero-visual { width: auto; min-height: 0; }
  .home-page .hero-visual img { max-height: 240px; }
}
@media (max-width: 620px) {
  /* Falisty wykroj nie wystepowal nigdzie indziej na stronie. */
  .home-page .hero-visual { min-height: 0; border-radius: 16px; }
  .home-page .hero-visual img { max-height: 240px; }
}

/* [2] Karty byly ucinane, bo element siatki ma domyslnie min-width: auto. */
.home-page .gain-grid,
.home-page .pricing-grid,
.home-page .process-grid,
.home-page .scope-limits-grid,
.home-page .guide-links,
.home-page .privacy-points { overflow: visible; }
.home-page .gain-grid > *,
.home-page .pricing-grid > *,
.home-page .process-grid > *,
.home-page .scope-limits-grid > *,
.home-page .guide-links > *,
.home-page .privacy-points > * { min-width: 0; overflow-wrap: anywhere; }

/* [3] Sekcja prywatnosci: cztery zdania po ludzku, bez tla. */
.home-page .privacy-points {
  display: grid;
  gap: 14px 32px;
  max-width: 900px;
  margin: 26px auto 0;
  padding: 0;
  list-style: none;
}
.home-page .privacy-points li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-900);
  font-size: 17px;
  line-height: 1.6;
  text-align: left;
}
.home-page .privacy-points li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ink-400);
}
.home-page .privacy-links { display: flex; gap: 20px; justify-content: center; margin: 26px 0 0; }
.home-page .privacy-links a { color: var(--green-700); font-weight: 700; }

/* [4] Numer kroku: bialy tekst na zielonym kole. */
.home-page .process-number {
  position: absolute;
  top: -16px;
  left: 50%;
  width: 32px;
  height: 32px;
  color: #fff;
  background: var(--green-700);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  transform: translateX(-50%);
}
.home-page .process-grid::before { border-top: 1px dashed var(--line); background: none; }

/* [5] Miniatura pakietu byla nieczytelna. */
.home-page .analysis-dashboard-document { min-width: 120px; }

/* [7] Jeden rytm dla wszystkich sekcji, bez indywidualnych marginesow. */
.home-page .gain-section,
.home-page .process-section,
.home-page .pricing-section,
.home-page .contract-types,
.home-page .scope-limits,
.home-page .privacy-section,
.home-page .homepage-faq,
.home-page .analysis-example,
.home-page .closing-cta {
  margin: 0;
  padding-block: var(--space-section);
}
.home-page .analysis-step { margin: 0; }
.home-page .source-context, .home-page .status { margin-inline: auto; }

/* [8] Drobiazgi. */
.home-page .gain-card { position: relative; }
.home-page .gain-card-top { justify-content: flex-end; }
.home-page .gain-stage, .home-page .gain-stage-free { align-self: flex-start; }
.home-page .pricing-note { grid-column: 1 / -1; max-width: 720px; margin: 24px auto 0; color: var(--ink-600); font-size: 15px; text-align: center; }
.home-page .homepage-faq-list summary::after { content: "\203a"; transition: transform .15s ease; transform: translateY(-50%); }
.home-page .homepage-faq-list details[open] summary::after { content: "\203a"; transform: translateY(-50%) rotate(90deg); }
.home-page .site-header { padding-inline: 24px; }
.home-page .header-actions { flex-shrink: 0; }
.home-page .hero .lead { max-width: 46ch; }


/* ---- RC31 R22: dwie kolumny do 1024 px, ciasniejszy rytm --------------- */

/* [1] Breakpoint zostaje na 900 px. Propozycja przesuniecia go na 1023 px
   zamienilaby pasmo 900-1023 px z dwukolumnowego na jednokolumnowe, czyli
   odwrotnie niz zamierzano - potwierdzone pomiarem, nie zrzutem. */

/* [4] Plakietka zaslania resztke krzywizny w prawym gornym rogu kadru. */
.home-page .hero-result-badge {
  top: 16px;
  right: 16px;
  bottom: auto;
  width: min(258px, calc(100% - 32px));
  padding: 12px 14px;
}
.home-page .hero-result-badge strong { font-size: 15px; }
.home-page .hero-result-badge small { font-size: 13px; }

/* [1] Puste pasy nad i pod obrazem znikaja razem z wymuszona wysokoscia. */
.home-page .hero-visual { display: grid; align-content: center; }
.home-page .hero-visual img { display: block; }


/* ---- RC31 R23: tarcza, plakietka, karty krokow i siatka firm ----------- */

/* [1] Tarcza byla pusta: R19 zdjelo zielone tlo, ale SVG w srodku zostal
   z bialym obrysem, wiec ptaszek stal sie niewidoczny na przezroczystym tle. */
.home-page .privacy-shield {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--ink-600);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.home-page .privacy-shield svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--ink-600);
  stroke-width: 2.4;
}

/* [2] Kadr jest juz czysty (0,2% tla), wiec plakietka wraca w dolny rog,
   gdzie nie zaslania zadnej twarzy. */
.home-page .hero-result-badge {
  top: auto;
  right: 16px;
  bottom: 16px;
}

/* [P1] Trzy karty krokow czytaja sie jak jeden komponent: numer na krawedzi,
   potem ikona, tytul i opis - w kazdej tak samo. */
.home-page .process-grid li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 24px;
  text-align: center;
}
.home-page .process-grid li > span:last-of-type { margin: 0; }

/* [P2] Kategorie poradnikow ukladaja sie elastycznie w trzech kolumnach. */
@media (min-width: 901px) {
  .home-page .guide-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
}

/* [P2] Odstep nad krokami byl o 24 px wiekszy: hero mialo padding-bottom 80 px
   przy rytmie 56 px. Teraz kazda para sasiadow ma tyle samo. */
.home-page .hero { padding-bottom: var(--space-section); }
@media (max-width: 900px) {
  .home-page .hero { padding-bottom: var(--space-section-sm); }
}


/* Makieta ma teraz dwie kolumny, nie trzy: atrapa nawigacji znikla, wiec
   pierwszy tor 112-126 px sciskal tabele wyniku i wypychal <dd> poza karte. */
@media (min-width: 701px) {
  .home-page .analysis-example .hero-card { grid-template-columns: minmax(0, 1fr) 145px; }
}
.home-page .analysis-dashboard-main > strong {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin: 0 0 10px;
  font-size: 14px;
}
.home-page .analysis-dashboard-main > strong span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: #fff;
  background: var(--green-700);
  border-radius: 50%;
  font-size: 11px;
}


/* ---- RC31 R24: wbudowana ilustracja zamiast zdjecia stockowego --------- */

.home-page .hero-illustration {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  border-radius: 16px;
}
.home-page .hero-edge {
  margin: 12px 0 0;
  color: var(--ink-900);
  font-size: 17px;
  line-height: 1.6;
  max-width: 46ch;
}
@media (max-width: 900px) {
  .home-page .hero-illustration { max-height: 240px; }
}


/* [P1-2] Menu ponizej 1060 px. Regula chowajaca nawigacje w flow-result
   i flow-checkout zostaje nietknieta - tam ukrycie jest celowe. */
.home-page .nav-toggle { display: none; }
@media (max-width: 1060px) {
  .home-page .nav-toggle {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px;
    color: var(--ink-900);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
  }
  .home-page .nav-toggle-bars {
    width: 16px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
  }
  .home-page .primary-navigation.open {
    display: flex;
    position: absolute;
    z-index: 30;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 4px;
    margin: 8px 0 0;
    padding: 12px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .home-page .primary-navigation.open a { padding: 10px 8px; }
  .home-page .site-header { position: relative; }
}
.home-page.flow-result .nav-toggle,
.home-page.flow-checkout .nav-toggle { display: none; }


/* ---- RC31 R26: jawna proweniencja cytatow i kompletna stopka ---------- */

.evidence-copy { display: block; line-height: 1.55; }
.evidence-item-unverified {
  background: #fdf8ee;
  border-left-color: #b07a18;
}
.evidence-copy-unverified { color: #674b13; font-weight: 650; }


/* ---- RC31 R29: dokladny, powiekszony asset hero ------------------------ */

@media (min-width: 1201px) {
  .home-page .hero {
    grid-template-columns: minmax(0, 3.8fr) minmax(0, 8.2fr);
    gap: 24px;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .home-page .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .home-page .hero-copy { max-width: 780px; }
}

.home-page figure.hero-illustration {
  width: 100%;
  min-width: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 20px;
}

.home-page .hero-analysis-viewport {
  width: 100%;
  overflow: hidden;
  background: #eaf5ef;
  border: 1px solid #c9ddd2;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(25, 48, 39, .11);
}

.home-page .hero-analysis-viewport:focus,
.home-page .hero-analysis-viewport:focus-visible {
  outline: 3px solid var(--green) !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 1px #fff, 0 0 0 5px var(--green),
    0 18px 44px rgba(25, 48, 39, .11);
}

.home-page .hero-analysis-viewport > svg {
  display: block;
  position: static;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: 3 / 2;
  background: #eaf5ef;
  border-radius: 19px;
}

.home-page figure.hero-illustration figcaption {
  margin: 10px 0 0;
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}
.home-page .hero-analysis-swipe-hint { display: none; }

.home-page .hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}
.home-page .hero-trust-chips li {
  display: inline-flex;
  align-items: baseline;
  padding: 0;
  color: var(--ink-600);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}
.home-page .hero-trust-chips li + li::before {
  content: "·";
  margin: 0 8px;
  color: var(--ink-400);
}

.home-page footer,
.home-page footer nav { align-items: baseline; }

.home-page .analysis-step-inner > h2 { margin-bottom: 4px; }
.home-page .analysis-step-lead {
  margin: 0;
  color: var(--ink-600);
  font-size: 16px;
  line-height: 1.55;
}
.home-page .analysis-step .chosen-file {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
  margin: 12px 0 4px;
  padding: 10px 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.home-page .upload-panel { margin-top: 16px; }
.home-page .upload-panel .form-guidance { color: var(--ink-600); font-size: 15px; }
.home-page .upload-panel .form-guidance strong { color: var(--ink-900); }
.home-page .upload-panel .upload-ai-disclosure {
  padding: 12px 14px;
  background: #fbf8f0;
  border-left: 3px solid var(--amber);
}
.home-page .upload-panel .privacy-assurance-panel > summary,
.home-page .upload-panel .privacy-mode-toggle > summary,
.home-page .upload-panel .initial-supplements > summary {
  min-height: 44px;
  padding: 11px 0;
}
.home-page .upload-panel .privacy-assurance-panel > summary {
  padding-right: 82px;
}
.home-page .upload-panel .upload-consent {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.home-page #ai-readiness.error {
  margin-top: 10px;
  color: #7b271f;
  font-weight: 700;
}
.home-page .upload-panel .primary:disabled {
  color: #5d655f;
  background: #dfe4e0;
  cursor: not-allowed;
}

.home-page .payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}
.home-page .price-nowrap { white-space: nowrap; }
.home-page .payment-blik-logo {
  width: 84px;
  height: auto;
  border-radius: 8px;
}
.home-page .payment-card-logo {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  color: var(--ink-900);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 14px;
}
.home-page .payment-card-logo svg {
  width: 40px;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.home-page .prefill-provenance {
  display: block;
  width: fit-content;
  margin-top: 7px;
  padding: 4px 7px;
  color: #60430b;
  background: #fff3d4;
  border: 1px solid #e5c36d;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 750;
}
.home-page .autofill-note.ocr-warning {
  color: #533c0c;
  background: #fff8e8;
  border-color: #e4c66e;
}
.home-page .autofill-note.ocr-warning strong { color: #4d3506; }
.home-page .prefill-provenance.manual {
  color: var(--green-dark);
  background: #e8f5ed;
  border-color: #add5bb;
}
@media (max-width: 649px) {
  .home-page .header-start { display: none; }
  .home-page .hero-analysis-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
  }
  .home-page .hero-analysis-viewport > svg {
    width: 680px;
    min-width: 680px;
  }
  .home-page .hero-analysis-swipe-hint { display: inline; }
  .home-page .hero-trust-chips li:nth-child(3) { flex-basis: 100%; }
  .home-page .hero-trust-chips li:nth-child(3)::before { display: none; }
  .home-page #file-hint { font-size: 12px; }
  .home-page .upload-panel .privacy-assurance-panel > summary { padding-right: 0; }
}

.order-summary .package-browser-extra {
  padding: 12px 14px;
  color: #31463e;
  background: #eff8f4;
  border: 1px solid #c8e1d7;
  border-radius: 10px;
}

.home-page .guide-group > p {
  margin: 0 0 10px;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.55;
}
.home-page .guide-links-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.home-page .guide-links-actions .guide-links-cta { margin: 0; }
.home-page .guide-links-cta-secondary { background: #f7f3e9; }

/* ---- RC31 R26: samodzielne strony kontaktu i darmowego wzoru ---------- */

.content-page { background: var(--paper); }
.content-page .site-header { background: rgba(255, 254, 250, .96); }
.content-main {
  width: min(960px, 100%);
  margin: auto;
  padding: clamp(36px, 7vw, 76px) 24px;
}
.content-card {
  padding: clamp(24px, 5vw, 54px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.content-card h1 {
  max-width: 18ch;
  margin: 0 0 18px;
  font-size: clamp(36px, 7vw, 62px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.content-card h2 { margin: 42px 0 12px; font-size: clamp(23px, 4vw, 31px); }
.content-card .lead { max-width: 64ch; }
.content-card a { overflow-wrap: anywhere; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0;
}
.contact-method {
  padding: 22px;
  background: #f4faf7;
  border: 1px solid #cfe3d8;
  border-radius: 16px;
}
.contact-method h2 { margin: 0 0 8px; font-size: 20px; }
.contact-method p, .contact-method address { margin: 0; font-style: normal; }
.template-sheet {
  margin: 26px 0;
  padding: clamp(22px, 5vw, 48px);
  color: #182238;
  background: #fff;
  border: 1px solid #d8d4ca;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(35, 45, 40, .08);
}
.template-sheet p { margin: 0 0 1.15em; }
.template-sheet .template-title { margin: 2.4em 0 1.4em; text-align: center; font-weight: 800; }
.template-placeholder { color: #4a5e56; background: #f0f4f2; }
.content-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.content-actions a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
  .content-main { padding-inline: 16px; }
}

@media print {
  .content-page .site-header,
  .content-page footer,
  .content-page .content-card > :not(.template-sheet) { display: none !important; }
  .content-page,
  .content-main,
  .content-card,
  .template-sheet { margin: 0; padding: 0; background: #fff; border: 0; box-shadow: none; }
}


/* ---- RC31 R30: czytelny hero, osobne fakty i jawne sieci kart --------- */

.home-page .hero h1 {
  max-width: none;
  font-size: clamp(40px, 3.1vw, 44px);
  line-height: 1.06;
  letter-spacing: -.045em;
}

@media (min-width: 1201px) {
  .home-page .hero {
    grid-template-columns: minmax(0, 5.8fr) minmax(0, 6.2fr);
    gap: 36px;
  }
}

@media (min-width: 1100px) and (max-width: 1200px) {
  .home-page .hero {
    grid-template-columns: minmax(0, 5.8fr) minmax(0, 6.2fr);
    gap: 32px;
  }
  .home-page .hero-copy { max-width: none; }
  .home-page .hero h1 { font-size: clamp(38px, 4.1vw, 48px); }
}

@media (min-width: 901px) and (max-width: 1099px) {
  .home-page .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .home-page .hero-copy { max-width: 760px; }
}

.home-page .hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.home-page .hero-trust-chips li {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: #4a5b55;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.home-page .hero-trust-chips li + li::before { content: none; }

.home-page .hero-analysis-mobile-hint {
  display: none;
  margin: 0 0 10px;
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.45;
}

.home-page .payment-network-logo {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  width: 76px;
  padding: 5px 8px;
  color: var(--ink-900);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 12px;
}
.home-page .payment-network-logo img {
  display: block;
  width: 48px;
  height: auto;
}
.home-page .payment-visa-logo img { width: 52px; }

.home-page .pricing-includes {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}
.home-page .pricing-includes li {
  position: relative;
  padding-left: 25px;
  color: var(--ink-900);
  font-size: 16px;
  line-height: 1.5;
}
.home-page .pricing-includes li::before {
  content: "\2713";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--green-700);
  font-weight: 800;
}
.home-page .pricing-includes-free { margin-bottom: 10px; }
.home-page .pricing-grid .pricing-anchor {
  margin: 18px 0 0;
  padding-top: 18px;
  color: var(--ink-600);
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
}
.home-page .pricing-grid .pricing-note {
  grid-column: auto;
  max-width: none;
  margin: 12px 0 0;
  color: var(--ink-600);
  font-size: 14px;
  text-align: left;
}

@media (max-width: 649px) {
  .home-page .hero-analysis-mobile-hint { display: block; }
  .home-page .hero-trust-chips li:nth-child(3) { flex-basis: auto; }
  .home-page .hero-trust-chips { gap: 6px; }
  .home-page .hero-trust-chips li {
    min-height: 26px;
    padding: 3px 8px;
    font-size: 11px;
  }
  .home-page .hero h1 { font-size: 34px; }
  .home-page figure.hero-illustration figcaption { margin-top: 8px; }
  .home-page .hero-analysis-viewport > svg {
    width: 640px;
    min-width: 640px;
  }
  .home-page .hero-proof-badge { display: none; }
  .home-page .payment-methods { gap: 8px; }
  .home-page .payment-blik-logo { width: 80px; }
  .home-page .payment-network-logo {
    width: 68px;
    min-height: 40px;
    padding-inline: 8px;
  }
  .home-page .payment-network-logo img { width: 40px; height: auto; }
}


/* ---- RC31 R31: domknięcie audytu strony głównej ----------------------- */

.env-badge {
  width: 100%;
  margin: 0;
  padding: 7px 16px;
  color: #fff;
  background: #71322d;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .035em;
}

/* Formaty i limit pliku są instrukcją obsługi, więc muszą zachować kontrast AA. */
.home-page #file-hint { color: var(--ink-600); }

.home-page .trust-strip {
  max-width: 1200px;
  margin: -16px auto 48px;
  padding: 0;
  overflow: hidden;
  background: #f4faf6;
  border: 1px solid #c9ddd2;
  border-radius: 18px;
}
.home-page .trust-strip ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-page .trust-strip li {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 16px 20px;
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.4;
}
.home-page .trust-strip li + li { border-left: 1px solid #c9ddd2; }
.home-page .trust-strip strong {
  color: var(--ink-900);
  font-size: 14px;
}
.home-page .trust-strip span { display: block; }

@media (max-width: 760px) {
  .home-page .trust-strip {
    margin: 8px auto 40px;
  }
  .home-page .trust-strip ul { grid-template-columns: 1fr; }
  .home-page .trust-strip li { padding: 13px 16px; }
  .home-page .trust-strip li + li {
    border-top: 1px solid #c9ddd2;
    border-left: 0;
  }
}


/* ---- RC31 R32: spokojny, jednolity krok przed analizą ----------------- */

/* Jedna informacja o AI zamiast dwóch sąsiadujących objaśnień. */
.home-page .upload-panel .upload-ai-disclosure {
  margin: 0;
  padding: 12px 14px;
  color: var(--ink-600);
  background: #fbf8f0;
  border: 0;
  border-left: 3px solid var(--amber);
  font-size: 14px;
  line-height: 1.55;
}
.home-page .upload-panel .upload-ai-disclosure strong { color: var(--ink-900); }

/* Prywatność jest pojedynczym disclosure. Ikona z ptaszkiem znika, bo nie
   przedstawiała ani zgody, ani zakończonego kroku. */
.home-page .upload-panel .privacy-assurance {
  margin: 0;
  padding: 0;
  border: 0;
}
.home-page .upload-panel .privacy-assurance-panel > summary {
  position: relative;
  min-height: 0;
  padding: 16px 92px 16px 0;
  color: var(--ink-900);
  list-style: none;
}
.home-page .upload-panel .privacy-assurance-panel > summary::-webkit-details-marker {
  display: none;
}
.home-page .upload-panel .privacy-assurance-panel > summary::after {
  content: "Szczegóły";
  position: absolute;
  top: 18px;
  right: 0;
  margin: 0;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.home-page .upload-panel .privacy-assurance-panel[open] > summary::after {
  content: "Zwiń";
}
.home-page .upload-panel .privacy-assurance-panel > summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  box-shadow: none;
}
.home-page .upload-panel .privacy-assurance-panel .privacy-assurance-lead {
  display: block;
}
.home-page .upload-panel .privacy-assurance-panel .privacy-assurance-lead > strong {
  display: block;
  color: var(--ink-900);
  font-size: 15px;
}
.home-page .upload-panel .privacy-assurance-panel .privacy-assurance-lead > span {
  display: block;
  margin-top: 3px;
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.5;
}
.home-page .upload-panel .privacy-assurance-panel > ul {
  margin: 0;
  padding: 0 0 0 20px;
  color: var(--ink-600);
  font-size: 13px;
}
.home-page .upload-panel .privacy-details-copy {
  margin: 12px 0 6px;
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.55;
}
.home-page .upload-panel .privacy-details-link {
  display: inline-block;
  margin-bottom: 15px;
  font-size: 13px;
  font-weight: 750;
}

/* Obie decyzje opcjonalne są jednym komponentem i mają tę samą składnię. */
.home-page .upload-panel .upload-options {
  margin: 0 0 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.home-page .upload-panel .upload-options > details {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.home-page .upload-panel .upload-options > details + details {
  border-top: 1px solid var(--line);
}
.home-page .upload-panel .upload-options > details > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 16px;
  gap: 10px;
  align-items: center;
  min-height: 50px;
  padding: 12px 0;
  color: var(--ink-900);
  list-style: none;
  font-size: 14px;
  font-weight: 750;
}
.home-page .upload-panel .upload-options > details > summary::-webkit-details-marker {
  display: none;
}
.home-page .upload-panel .upload-options > details > summary::after {
  content: "\203a";
  grid-column: 3;
  color: var(--ink-600);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  transform-origin: center;
}
.home-page .upload-panel .upload-options > details[open] > summary::after {
  transform: rotate(90deg);
}
.home-page .upload-panel .upload-options .optional {
  grid-column: 2;
  color: var(--ink-600);
  font-size: 12px;
  font-weight: 600;
}
.home-page .upload-panel .upload-options .privacy-mode-selector,
.home-page .upload-panel .upload-options .initial-supplements-body {
  margin: 0;
  padding: 0 0 16px;
}
.home-page .upload-panel .upload-consent {
  margin: 0;
  padding: 0;
  border-top: 0;
}

@media (max-width: 520px) {
  .home-page .upload-panel { padding: 18px; }
  .home-page .upload-panel .privacy-assurance-panel > summary {
    padding-right: 0;
    padding-bottom: 12px;
  }
  .home-page .upload-panel .privacy-assurance-panel > summary::after {
    position: static;
    display: block;
    width: fit-content;
    margin-top: 8px;
  }
  .home-page .upload-panel .upload-options > details > summary {
    grid-template-columns: minmax(0, 1fr) 16px;
    gap: 8px;
  }
  .home-page .upload-panel .upload-options .optional {
    grid-column: 1;
    grid-row: 2;
  }
  .home-page .upload-panel .upload-options > details > summary::after {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

/* R32: checkout review uses one hierarchy. The completed-step circles were
   decorative here because the visible “Krok 3 z 3” already carries progress. */
.home-page .checkout-panel > .progress-stepper { display: none; }
.home-page .checkout-panel .checkout-heading { margin-bottom: 8px; }
.home-page .checkout-panel .checkout-lead {
  margin: 0;
  line-height: 1.55;
}
.home-page .checkout-panel .selected-draft {
  display: grid;
  gap: 3px;
  margin: 14px 0 10px;
  padding: 10px 12px;
  background: #f3f7f5;
  border: 0;
  border-left: 3px solid #9bbfaf;
  border-radius: 8px;
}
.home-page .checkout-panel .selected-draft h4 {
  font-size: 15px;
  line-height: 1.35;
}
.home-page .checkout-panel .selected-draft > p:last-child {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}
.home-page .checkout-panel .autofill-note,
.home-page .checkout-panel .autofill-note.ocr-warning {
  gap: 2px;
  padding: 10px 12px;
  background: #fffaf0;
  border: 0;
  border-left: 3px solid #d5a52d;
  border-radius: 7px;
  line-height: 1.45;
}
.home-page .checkout-panel .prefill-provenance {
  margin-top: 5px;
  padding: 0;
  color: #70500c;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
}
.home-page .checkout-panel .prefill-provenance.manual {
  color: var(--green-dark);
  background: transparent;
  border: 0;
}

@media (max-width: 520px) {
  .home-page .checkout-panel .checkout-heading { gap: 8px; }
  .home-page .checkout-panel .checkout-heading h3 { font-size: 26px; }
}

/* R34: a readable document desk, with one clear starting point. */
.home-page, .documents-page {
  --ink: #203b32;
  --ink-900: #203b32;
  --ink-600: #53645c;
  --muted: #53645c;
  --green: #236b50;
  --green-dark: #164d3d;
  --line: #dce4de;
  background: #faf9f5;
}
.home-page { padding: 0; }
.home-page .site-header {
  max-width: 1240px; min-height: 92px; margin: 0 auto; padding: 20px 32px;
  background: transparent; border: 0; border-radius: 0; box-shadow: none; gap: 26px;
}
.home-page .brand { font-size: 20px; gap: 9px; flex-shrink: 0; }
.home-page .brand-mark { width: 35px; height: 35px; border-radius: 50%; box-shadow: none; }
.home-page .primary-navigation { gap: 24px; margin-left: auto; }
.home-page .primary-navigation a { font-size: 14px; font-weight: 550; padding-block: 12px; }
.home-page .header-actions { gap: 18px; }
.home-page .header-login { background: transparent; border: 0; border-radius: 0; display: inline-flex; align-items: center; gap: 7px; padding-block: 12px; font-size: 14px; white-space: nowrap; text-decoration: none; }
.home-page .header-login.has-documents::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.home-page .header-start { padding: 12px 18px; font-size: 14px; border-radius: 8px; box-shadow: none; }
.home-page main { max-width: 1240px; padding: 0 32px 60px; background: transparent; border: 0; border-radius: 0; }
.home-page .eyebrow { font-size: 11px; font-weight: 750; letter-spacing: .14em; color: var(--green-dark); }
.home-page .hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 64px; align-items: center; min-height: 0; padding: 52px 0 56px; margin: 0;
}
.home-page .hero-copy { max-width: 590px; }
.home-page .hero-copy > .eyebrow { margin-bottom: 24px; }
.home-page .hero h1 { max-width: none; font-size: clamp(42px, 4.2vw, 58px); font-weight: 650; letter-spacing: -.055em; line-height: 1.08; overflow-wrap: normal; }
.home-page .hero-accent { color: var(--green); }
.home-page .hero .lead { max-width: 475px; margin: 24px 0; font-size: 18px; line-height: 1.65; color: var(--muted); }
.home-page .hero-benefits { display: grid; gap: 12px; padding: 0; margin: 26px 0 22px; list-style: none; font-size: 15px; font-weight: 550; }
.home-page .hero-benefits li { display: flex; align-items: flex-start; gap: 10px; }
.home-page .hero-benefits li > span { display: inline-grid; place-items: center; width: 21px; height: 21px; flex-shrink: 0; background: #e6eee5; color: var(--green-dark); border-radius: 50%; font-size: 12px; }
.home-page .hero-self-send { font-size: 13px; color: var(--muted); margin: 0 0 23px; }
.home-page .hero-example-link, .home-page .text-link { display: inline-flex; align-items: center; gap: 15px; padding-block: 10px; text-underline-offset: 5px; font-size: 14px; font-weight: 650; }
.home-page .hero-visual { min-width: 0; padding: 0; margin: 0; }
.home-page .start-card { background: #fff; padding: 30px; border: 1px solid #dce4de; border-radius: 20px; box-shadow: 0 16px 44px #284b3510; }
.home-page .start-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-page .start-card-heading .eyebrow { margin: 0 0 8px; font-size: 10px; }
.home-page .start-card h2 { margin: 0; font-size: 23px; font-weight: 650; letter-spacing: -.035em; line-height: 1.2; }
.home-page .start-price { background: #edf3e9; border-radius: 20px; padding: 6px 12px; color: var(--green-dark); white-space: nowrap; font-size: 18px; font-weight: 650; }
.home-page .start-card-intro { margin: 10px 0 23px; color: var(--muted); font-size: 14px; }
.home-page .hero-upload-shortcut {
  display: grid; grid-template-columns: 1fr; gap: 12px; justify-items: center;
  max-width: none; min-height: 177px; margin: 0 0 14px; padding: 23px 16px;
  background: #fafcf9; border: 1.5px dashed #92aa98; border-radius: 12px;
  box-shadow: none; text-align: center; cursor: pointer;
}
.home-page .hero-upload-shortcut::after { content: none; }
.home-page .hero-upload-shortcut:hover, .home-page .hero-upload-shortcut.drag { border-color: var(--green); background: #eff6ee; }
.home-page .hero-upload-icon { display: grid; place-items: center; width: 42px; height: 42px; margin: 0; background: #e8f0e4; border: 0; border-radius: 12px; color: var(--green-dark); }
.home-page .hero-upload-icon svg { width: 27px; height: 27px; }
.home-page .hero-upload-copy { display: grid; justify-items: center; gap: 3px; min-width: 0; text-align: center; }
.home-page .hero-upload-copy strong { font-size: 16px; font-weight: 650; overflow-wrap: anywhere; }
.home-page .hero-upload-copy span { font-size: 13px; }
.home-page #file-hint { margin-top: 6px; font-size: 11px; color: var(--muted); }
.home-page .start-card > .primary { display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; min-height: 52px; margin: 0; padding: 13px 16px; border-radius: 9px; box-shadow: none; background: var(--green); font-size: 15px; font-weight: 650; }
.home-page .start-card > .primary:hover { background: var(--green-dark); }
.home-page .hero-trust-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px 14px; margin: 14px 0 0; padding: 0; }
.home-page .hero-trust-chips li { padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 11px; color: var(--muted); font-weight: 550; }
.home-page .hero-trust-chips li::before { content: '✓'; display: inline; margin-right: 4px; color: var(--green); }
.home-page .hero-trust-chips li + li::before { content: '✓'; }
.home-page .start-optional { text-align: center; color: var(--muted); font-size: 12px; margin: 11px 0 17px; }
.home-page .hero-privacy-hint { margin: 0; padding-top: 16px; border-top: 1px solid #e8ece6; font-size: 11.5px; line-height: 1.65; }
.home-page .hero-guide-shortcut { text-align: center; margin: 19px 12px 0; line-height: 1.6; font-size: 12px; }
.home-page .hero-guide-shortcut a { color: var(--muted); text-decoration: none; }
.home-page .hero-guide-shortcut a:hover { text-decoration: underline; }
.home-page .trust-strip { margin: 0; padding: 22px 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; border-radius: 0; }
.home-page .trust-strip ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-page .trust-strip li { padding: 0 28px; font-size: 12px; }
.home-page .trust-strip li:first-child { padding-left: 0; }
.home-page .trust-strip strong { color: var(--ink); font-size: 14px; font-weight: 650; margin-bottom: 3px; }
.home-page .trust-strip li + li { border-left: 1px solid var(--line); }
.home-page .section-heading { margin: 0 0 30px; }
.home-page .section-heading .eyebrow { margin-bottom: 12px; }
.home-page h2 { font-weight: 650; letter-spacing: -.04em; }
.home-page .section-heading h2, .home-page .homepage-faq h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.18; }
.home-page .section-heading > p:not(.eyebrow) { font-size: 15px; max-width: 630px; margin: 16px auto 0; line-height: 1.6; }
.home-page .process-section, .home-page .pricing-section, .home-page .contract-types, .home-page .scope-limits, .home-page .homepage-faq { margin: 0; padding: 68px 0; }
.home-page .process-grid::before { content: none; }
.home-page .process-grid { max-width: none; gap: 44px; margin: 38px 0 0; padding: 0; }
.home-page .process-grid > li { min-height: 0; display: grid; justify-items: start; align-content: start; grid-template-columns: 38px minmax(0, 1fr); gap: 10px 15px; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; text-align: left; }
.home-page .process-number { position: static; width: 34px; height: 34px; background: #e6eee2; color: var(--green-dark); border: 0; font-size: 14px; box-shadow: none; transform: none; align-self: start; grid-column: 1; grid-row: 1 / span 3; }
.home-page .process-icon { display: none; }
.home-page .process-grid strong { font-size: 16px; font-weight: 650; grid-column: 2; }
.home-page .process-grid > li > span:last-child { max-width: none; font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0; grid-column: 2; }
.home-page .analysis-example { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; padding: 44px; margin: 0; border: 0; border-radius: 20px; background: #eaf0e6; }
.home-page .analysis-example-copy h2 { font-size: 38px; line-height: 1.13; margin: 0 0 22px; }
.home-page .analysis-example-copy p:not(.eyebrow) { font-size: 15px; line-height: 1.7; color: var(--muted); }
.home-page .example-paper { margin: 0; min-width: 0; padding: 25px; border-radius: 13px; background: #fff; box-shadow: 0 10px 30px #284b350b; transform: rotate(1deg); }
.home-page .example-paper-top { display: flex; align-items: center; gap: 11px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.home-page .example-paper-top strong { display: block; font-size: 15px; font-weight: 650; }
.home-page .example-paper-top small { display: block; font-size: 11px; margin-top: 3px; color: var(--muted); }
.home-page .example-file-icon { display: grid; place-items: center; width: 33px; height: 39px; background: #eff3e9; border: 1px solid #dfe7d5; border-radius: 5px; color: var(--green); font-size: 27px; }
.home-page .example-tag { margin-left: auto; font-size: 10px; color: var(--muted); padding: 4px 7px; border: 1px solid var(--line); border-radius: 5px; }
.home-page .example-facts { margin: 8px 0 16px; }
.home-page .example-facts > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid #eef0eb; }
.home-page .example-facts dt { color: var(--muted); font-size: 12px; }
.home-page .example-facts dt small { display: block; max-width: 200px; margin-top: 4px; font-size: 11px; }
.home-page .example-facts dd { margin: 0; font-size: 14px; font-weight: 650; text-align: right; white-space: nowrap; }
.home-page .example-deadline dd { color: var(--green); }
.home-page dd.example-check { color: #79560e; font-weight: 550; font-size: 11px; background: #faf1d7; padding: 4px 6px; border-radius: 4px; }
.home-page .example-evidence { border-left: 2px solid #c5aa53; padding: 10px 12px; background: #faf8ee; border-radius: 0 7px 7px 0; }
.home-page .example-evidence > span { font-size: 11px; letter-spacing: .06em; font-weight: 650; color: #6d613e; }
.home-page .example-evidence p { font-size: 12px; line-height: 1.7; margin: 7px 0 0; }
.home-page .example-evidence mark { color: inherit; background: #f3df9b; }
.home-page .example-paper figcaption { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 13px; }
.home-page .pricing-grid { gap: 24px; max-width: 940px; margin-inline: auto; }
.home-page .pricing-grid > article { border: 1px solid var(--line); border-radius: 14px; padding: 28px; background: #fff; }
.home-page .pricing-grid > article:first-child { border-color: #afc6a4; background: #f1f5ec; }
.home-page .pricing-grid h3 { color: var(--ink); font-size: 20px; font-weight: 650; margin-top: 0; }
.home-page .pricing-grid p, .home-page .pricing-grid li { font-size: 14px; line-height: 1.65; }
.home-page .pricing-grid .pricing-note { color: var(--muted); font-size: 12px; }
.home-page .pricing-grid .pricing-anchor { font-size: 12px; }
.home-page .payment-methods { margin-top: 17px; }
.home-page .contract-types { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-page .contract-types-intro { max-width: 710px; color: var(--muted); font-size: 15px; line-height: 1.65; margin: -8px auto 30px; text-align: center; }
.home-page .guide-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.home-page details.guide-group { padding: 0; min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; align-self: start; }
.home-page .guide-group summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 78px; padding: 17px 21px; list-style: none; cursor: pointer; }
.home-page .guide-group summary::-webkit-details-marker { display: none; }
.home-page .guide-group summary strong { font-size: 15px; font-weight: 650; }
.home-page .guide-group summary small { display: block; font-size: 12px; margin-top: 4px; font-weight: 400; color: var(--muted); }
.home-page .guide-expand { font-size: 24px; line-height: 1; color: var(--green); }
.home-page .guide-group[open] .guide-expand { transform: rotate(45deg); }
.home-page .guide-group ul { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 21px 20px; margin: 0; }
.home-page .guide-group li { margin: 0; }
.home-page .guide-group li a { display: inline-flex; min-height: 42px; align-items: center; padding: 8px 11px; background: #f3f6f0; border-radius: 5px; font-size: 13px; }
.home-page .guide-group > p { padding: 0 21px; font-size: 13px; }
.home-page .guide-links-actions { margin-top: 25px; }
.home-page .contract-types-note { max-width: 850px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.home-page .scope-limits-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 42px; }
.home-page .scope-limits-grid article { padding: 0; border: 0; border-radius: 0; background: transparent; }
.home-page .scope-limits-grid h3 { font-size: 15px; font-weight: 650; margin-bottom: 8px; }
.home-page .scope-limits-grid p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.home-page .scope-limits .privacy-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0 42px; padding: 28px; margin: 36px 0 0; background: #eef2e9; border-radius: 12px; }
.home-page .scope-limits .privacy-section .section-heading { margin: 0; text-align: left; }
.home-page .scope-limits .privacy-section h2 { font-size: 23px; }
.home-page .scope-limits .privacy-points li { font-size: 13px; line-height: 1.65; }
.home-page .privacy-points { margin: 0; padding: 0 0 0 18px; display: grid; gap: 8px; font-size: 13px; }
.home-page .privacy-points li { margin: 0; }
.home-page .privacy-links { justify-content: flex-start; grid-column: 1 / -1; text-align: left; margin: 20px 0 0; font-size: 12px; }
.home-page .homepage-faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: 20px 60px; border-top: 1px solid var(--line); }
.home-page .homepage-faq-heading { text-align: left; max-width: 290px; margin: 0; }
.home-page .homepage-faq-heading p { color: var(--muted); margin: 17px 0 0; font-size: 14px; }
.home-page .homepage-faq-list { max-width: none; margin: 0; width: 100%; }
.home-page .homepage-faq-list details > summary { background: transparent; }
.home-page .homepage-faq-list details { margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.home-page .homepage-faq-list summary { min-height: 58px; padding: 18px 28px 18px 0; font-size: 14px; }
.home-page .homepage-faq-list p { padding: 0 22px 16px 0; margin: 0; font-size: 14px; line-height: 1.7; }
.home-page .faq-privacy-link { grid-column: 2; text-align: left; margin: 0; font-size: 12px; }
.home-page .closing-cta { margin: 0; padding: 48px; background: var(--green-dark); border: 0; border-radius: 20px; }
.home-page .closing-cta h2 { color: #fff; font-size: 36px; }
.home-page .closing-cta-copy > p:not(.eyebrow) { color: #d4e3d8; max-width: 590px; font-size: 15px; line-height: 1.7; }
.home-page .closing-cta li { color: #d4e3d8; }
.home-page .closing-cta li::before { color: #d4e3d8; }
.home-page .closing-cta .hero-cta { min-height: 48px; background: #edf3d9; color: var(--green-dark); box-shadow: none; border-radius: 8px; font-size: 14px; }
.home-page .closing-cta .hero-cta:hover { background: #fff; }
.home-page .closing-illustration { opacity: .2; }
.home-page footer { max-width: 1176px; margin: 0 auto; border-top: 1px solid var(--line); padding: 25px 0 32px; background: transparent; }
.home-page .returning-visitor { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-top: 10px; padding: 16px 20px; background: #eaf0e6; border: 1px solid #d4e0ce; border-radius: 10px; font-size: 13px; }
.home-page .returning-visitor strong { display: block; }
.home-page .returning-visitor a { font-weight: 650; }
/* The consent step is a focused page, without landing content above or below. */
.home-page.analysis-open.flow-input main > :not(#analiza):not(#status):not(#source-context) { display: none; }
.home-page.analysis-open.flow-input .primary-navigation { visibility: hidden; }
.home-page.analysis-open .analysis-step { padding: 38px 0 60px; }
.home-page.analysis-open .analysis-step-inner > h2 { font-size: 34px; }
.home-page .upload-panel { border-radius: 15px; box-shadow: 0 12px 35px #284b3508; }
.home-page .result-section { margin-top: 32px; }
.home-page .result-summary-card { border-radius: 15px; box-shadow: none; }
.home-page .checkout-panel { border-radius: 15px; box-shadow: none; }
.documents-page .site-header { max-width: 1080px; padding: 24px; }
.documents-page .documents-main { max-width: 950px; padding-top: 42px; }
.documents-page .documents-shell { border: 0; background: transparent; box-shadow: none; padding: 0; }
.documents-page .documents-shell h1 { font-size: 44px; font-weight: 650; letter-spacing: -.045em; }
.documents-page .documents-shell .lead { font-size: 17px; color: var(--muted); max-width: 670px; }
.documents-page .documents-browser-note { padding: 16px 20px; border-radius: 10px; background: #edf2e8; color: var(--muted); font-size: 13px; }
.documents-page .documents-empty { padding: 40px 24px; margin-top: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-align: center; }
.documents-page .documents-empty-icon { display: grid; width: 46px; height: 55px; place-items: center; margin: 0 auto 20px; border-radius: 9px; color: var(--green); background: #eef3e8; font-size: 36px; }
.documents-page .documents-empty h2 { font-size: 25px; letter-spacing: -.025em; }
.documents-page .documents-empty p { max-width: 510px; margin: 15px auto 24px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.documents-page .documents-guide-link { display: block; width: fit-content; margin: 17px auto 0; padding: 8px; font-size: 13px; }
.documents-page .documents-next { text-align: center; margin-top: 26px; }
@media (max-width: 1100px) {
  .home-page .site-header { gap: 20px; }
  .home-page .primary-navigation { gap: 18px; }
  .home-page .hero { gap: 34px; padding-block: 35px 44px; }
  .home-page .hero h1 { font-size: 46px; }
  .home-page .start-card { padding: 24px; }
  .home-page .analysis-example { gap: 32px; padding: 32px; }
}
@media (max-width: 1060px) {
  .home-page .site-header { flex-wrap: wrap; gap: 10px 18px; min-height: 80px; }
  .home-page .nav-toggle { min-height: 44px; margin-left: auto; }
  .home-page .primary-navigation.open { display: flex; flex-wrap: wrap; gap: 8px 25px; width: 100%; order: 5; margin: 0; padding: 15px 0; background: transparent; border: 0; }
  .home-page .header-actions { gap: 12px; }
  .home-page .header-start { display: none; }
  .home-page .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .home-page .process-grid { gap: 22px; }
  .home-page .process-grid > li { grid-template-columns: 30px minmax(0, 1fr); gap: 8px 10px; }
  .home-page .process-number { width: 28px; height: 28px; }
}
@media (max-width: 760px) {
  .home-page .site-header { padding: 14px 20px; gap: 8px; }
  .home-page .brand { font-size: 17px; }
  .home-page .brand-mark { width: 30px; height: 30px; border-radius: 50%; }
  .home-page .header-actions { order: 4; width: 100%; justify-content: flex-start; border-top: 1px solid #e8eae3; }
  .home-page .header-login { min-height: 42px; font-size: 12px; padding: 7px 0; }
  .home-page .nav-toggle { font-size: 12px; padding: 9px 10px; }
  .home-page main { padding: 0 20px 40px; }
  .home-page .hero { grid-template-columns: 1fr; gap: 25px; padding: 26px 0 32px; }
  .home-page .hero-copy { max-width: none; }
  .home-page .hero-copy > .eyebrow { margin-bottom: 16px; font-size: 9px; }
  .home-page .hero h1 { font-size: clamp(34px, 6.9vw, 46px); line-height: 1.08; }
  .home-page .hero .lead { font-size: 16px; line-height: 1.6; max-width: 550px; margin: 18px 0 16px; }
  .home-page .hero-benefits { display: none; }
  .home-page .hero-benefits li > span { width: 19px; height: 19px; font-size: 11px; }
  .home-page .hero-self-send { font-size: 12px; margin-bottom: 8px; }
  .home-page .hero-example-link { font-size: 12px; padding-block: 7px; }
  .home-page .hero-self-send { display: none; }
  .home-page .start-card { padding: 22px; border-radius: 15px; }
  .home-page .start-card h2 { font-size: 22px; }
  .home-page .start-card-heading .eyebrow { font-size: 9px; }
  .home-page .start-card-intro { font-size: 13px; margin-bottom: 18px; }
  .home-page .hero-upload-shortcut { min-height: 150px; padding: 17px 12px; gap: 9px; }
  .home-page .hero-guide-shortcut { margin-top: 16px; font-size: 11px; }
  .home-page .trust-strip { padding: 18px 0; }
  .home-page .trust-strip ul { grid-template-columns: 1fr; gap: 16px; }
  .home-page .trust-strip li, .home-page .trust-strip li:first-child { padding: 0; }
  .home-page .trust-strip li + li { border: 0; }
  .home-page .trust-strip strong { font-size: 13px; }
  .home-page .trust-strip span { font-size: 11px; }
  .home-page .process-section, .home-page .pricing-section, .home-page .contract-types, .home-page .scope-limits, .home-page .homepage-faq { padding: 44px 0; }
  .home-page .section-heading { margin-bottom: 24px; }
  .home-page .section-heading h2, .home-page .homepage-faq h2 { font-size: 29px; }
  .home-page .process-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 28px; }
  .home-page .process-grid > li { gap: 7px 13px; }
  .home-page .process-grid > li > span:last-child { font-size: 14px; }
  .home-page .analysis-example { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px; border-radius: 14px; }
  .home-page .analysis-example-copy h2 { font-size: 32px; margin-bottom: 18px; }
  .home-page .analysis-example-copy p:not(.eyebrow) { font-size: 14px; }
  .home-page .example-paper { padding: 18px; transform: none; }
  .home-page .example-tag { display: none; }
  .home-page .example-facts > div { gap: 10px; }
  .home-page .example-facts dt { font-size: 11px; }
  .home-page .example-facts dd { font-size: 12px; }
  .home-page dd.example-check { font-size: 10px; }
  .home-page .example-paper-top strong { font-size: 13px; }
  .home-page .example-paper-top small { font-size: 10px; }
  .home-page .example-file-icon { flex-shrink: 0; }
  .home-page .example-evidence p { font-size: 12px; }
  .home-page .pricing-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-page .pricing-grid > article { padding: 24px; }
  .home-page .guide-links { grid-template-columns: 1fr; gap: 9px; }
  .home-page .guide-group summary { min-height: 75px; padding: 16px; }
  .home-page .guide-group summary strong { font-size: 14px; }
  .home-page .guide-group summary small { font-size: 11px; }
  .home-page .scope-limits-grid { grid-template-columns: 1fr; gap: 23px; }
  .home-page .scope-limits .privacy-section { grid-template-columns: 1fr; gap: 22px; padding: 23px; }
  .home-page .privacy-links { margin: 0; }
  .home-page .homepage-faq { grid-template-columns: 1fr; gap: 20px; }
  .home-page .homepage-faq-heading { max-width: none; }
  .home-page .faq-privacy-link { grid-column: 1; }
  .home-page .closing-cta { padding: 35px 22px; border-radius: 14px; }
  .home-page .closing-cta h2 { font-size: 30px; }
  .home-page .closing-cta p { font-size: 14px; }
  .home-page footer { padding: 23px 20px 100px; gap: 18px; }
  .home-page .returning-visitor { align-items: flex-start; flex-direction: column; gap: 9px; padding: 16px; font-size: 12px; }
  .documents-page .documents-main { padding-top: 24px; }
  .documents-page .documents-shell h1 { font-size: 36px; }
  .documents-page .documents-shell .lead { font-size: 15px; }
  .documents-page .documents-empty { padding: 30px 20px; }
  .documents-page .documents-empty h2 { font-size: 23px; }
}
@media (max-width: 360px) {
  .home-page main { padding-inline: 16px; }
  .home-page .start-card { padding: 18px; }
  .home-page .start-card h2 { font-size: 20px; }
  .home-page .start-card-heading .eyebrow { max-width: 145px; }
  .home-page .hero h1 { font-size: 34px; }
  .home-page .example-paper { padding: 14px; }
  .home-page .analysis-example { padding: 22px 15px; }
  .home-page .example-facts > div { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-page *, .documents-page * { scroll-behavior: auto; transition: none; animation: none; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .home-page .process-grid { grid-template-columns: 1fr; gap: 24px; max-width: 580px; margin-inline: auto; }
  .home-page .analysis-example { grid-template-columns: 1fr; }
  .home-page .analysis-example-copy { max-width: 560px; }
}
.home-page.analysis-open.flow-input .nav-toggle { display: none; }

/* R34 round 3: keep the return path in the compact mobile header. */
@media (max-width: 760px) {
  .home-page .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; gap: 10px; min-height: 76px; }
  .home-page .brand { min-width: 0; font-size: 16px; gap: 7px; }
  .home-page .header-actions { order: 0; width: auto; border: 0; }
  .home-page .header-login { font-size: 12px; padding: 10px 0; }
  .home-page .nav-toggle { order: 3; width: 44px; height: 44px; margin: 0; padding: 12px; font-size: 0; gap: 0; justify-content: center; }
  .home-page .primary-navigation.open { grid-column: 1 / -1; }
}
@media (max-width: 360px) {
  .home-page .site-header { padding-inline: 14px; gap: 7px; }
  .home-page .brand { font-size: 14px; gap: 5px; }
  .home-page .brand-mark { width: 27px; height: 27px; }
  .home-page .header-login { font-size: 11px; }
}

/* R34 editorial direction: real image, semantic result and compact native upload. */
.home-page { --ink:#19352d; --muted:#52675b; --paper:#f8f9f5; --green:#235f48; --green-dark:#173f34; --line:#dde3d8; background:var(--paper); -webkit-font-smoothing:antialiased; }
.home-page main { max-width:1408px; padding:0 24px 64px; }
.home-page .site-header { max-width:1328px; padding:0 24px; min-height:100px; gap:24px; }
.home-page .brand { font-size:21px; font-weight:730; letter-spacing:-.8px; }
.home-page .brand-mark { background:#193d32; color:#d5edb0; border-radius:10px; width:33px; height:36px; box-shadow:none; }
.home-page .primary-navigation { margin-left:auto; gap:28px; font-size:13px; font-weight:570; }
.home-page .header-actions { margin-left:18px; }
.home-page .header-start { display:none; }
.home-page .header-login { font-size:13px; min-height:44px; border-bottom:1px solid #83988a; border-radius:0; padding:13px 0; }
.home-page .hero { display:grid; grid-template-columns:1.02fr 1fr; min-height:665px; gap:0; align-items:stretch; padding:0; margin:0; background:#173f34; border:0; border-radius:18px; overflow:hidden; }
.home-page .hero-copy { max-width:none; padding:57px 45px 48px 58px; color:#fff; min-width:0; }
.home-page .hero-copy > .eyebrow { color:#d0e5c5; font-size:11px; font-weight:620; letter-spacing:1.15px; display:flex; align-items:center; gap:9px; margin:0 0 29px; }
.home-page .hero-copy > .eyebrow::before { content:''; width:7px; height:7px; border-radius:50%; background:#d0e6a4; flex:none; }
.home-page .hero h1 { color:#fff; font-size:64px; font-weight:550; line-height:1.07; letter-spacing:-3px; margin:0 0 23px; max-width:none; }
.home-page .hero-accent { color:#cee4ab; }
.home-page .hero .lead { color:#deebe2; font-size:17px; line-height:1.65; max-width:460px; margin:0 0 22px; }
.home-page .hero-trust-chips { display:flex; justify-content:flex-start; flex-wrap:wrap; gap:8px 17px; list-style:none; padding:0; margin:0 0 27px; color:#e5eee3; font-size:12px; }
.home-page .hero-trust-chips li { color:inherit; padding:0; border:0; border-radius:0; background:none; font-weight:450; }
.home-page .hero-trust-chips li::before { content:'✓'; margin-right:6px; color:#d0e6a4; }
.home-page .hero-start-controls { display:flex; align-items:stretch; gap:8px; background:#fff; border-radius:8px; padding:8px; max-width:530px; }
.home-page .hero-upload-shortcut { position:relative; display:flex; flex:1; min-width:0; min-height:48px; padding:8px 10px; margin:0; flex-direction:row; gap:10px; align-items:center; justify-content:flex-start; background:#fff; color:#264c3b; border:1px solid transparent; border-radius:4px; cursor:pointer; text-align:left; box-shadow:none; }
.home-page .hero-upload-shortcut:hover, .home-page .hero-upload-shortcut.dragging { background:#edf4e5; border-color:#719653; }
.home-page .hero-upload-shortcut.needs-file { outline:2px solid #b5692b; outline-offset:-2px; background:#fff4e9; }
.home-page .hero-upload-shortcut:focus-within { outline:3px solid #245e42; outline-offset:-3px; box-shadow:none; }
.home-page .hero-upload-shortcut input[type=file] { position:absolute; inset:0; opacity:0; width:100%; height:100%; cursor:pointer; }
.home-page .hero-upload-icon { width:25px; height:25px; background:transparent; border:0; border-radius:0; flex:none; color:#264c3b; }
.home-page .hero-upload-icon svg { width:25px; height:25px; fill:none; stroke:currentColor; stroke-width:2.5; }
.home-page #file-title { font-size:13px; font-weight:650; line-height:1.45; overflow-wrap:anywhere; }
.home-page #hero-continue { width:auto; min-width:163px; min-height:48px; margin:0; padding:10px 14px; border:0; border-radius:5px; box-shadow:none; background:#d0e6a4; color:#173f34; font-size:13px; font-weight:700; display:flex; align-items:center; justify-content:center; gap:12px; }
.home-page #hero-continue:hover { background:#e0efc2; }
.home-page #hero-continue > span { font-size:20px; }
.home-page .hero-file-meta { display:flex; flex-wrap:wrap; gap:4px 12px; margin:10px 0 0; color:#d2e2d7; font-size:11px; line-height:1.5; }
.home-page .hero-file-meta small { font-size:inherit; }
.home-page .start-optional { color:#d7e7dc; font-size:12px; line-height:1.7; text-align:left; padding:0; border:0; margin:20px 0 0; }
.home-page .start-optional strong { color:#fff; font-weight:600; }
.home-page .hero-photo { position:relative; min-width:0; margin:0; overflow:hidden; background:#cfcfc0; }
.home-page .hero-photo > img { display:block; width:100%; height:100%; object-fit:cover; object-position:63% center; position:absolute; inset:0; }
.home-page .hero-photo::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,transparent 48%,#122b2466); pointer-events:none; }
.home-page .hero-photo-label { position:absolute; top:28px; right:28px; font-size:11px; font-weight:550; letter-spacing:.1px; color:#19352d; padding:10px 13px; background:#ffffffed; border-radius:30px; z-index:1; }
.home-page .hero-result-preview { position:absolute; bottom:38px; left:35px; right:35px; background:#fff; border-radius:10px; padding:24px 27px; z-index:1; box-shadow:0 12px 40px #18382b1f; }
.home-page .hero-result-top { display:flex; justify-content:space-between; gap:12px; align-items:center; font-size:11px; color:#596d62; padding-bottom:19px; border-bottom:1px solid #e6ebe5; }
.home-page .hero-result-top strong { font-weight:630; color:#244e3d; display:flex; gap:8px; align-items:center; }
.home-page .hero-result-top strong > span { display:grid; place-items:center; background:#e8f1df; width:24px; height:24px; border-radius:50%; flex:none; }
.home-page .hero-result-body { display:flex; align-items:end; justify-content:space-between; gap:15px; padding-top:18px; }
.home-page .hero-result-caption { font-size:12px; color:#5b7063; display:block; margin-bottom:8px; }
.home-page .hero-result-value { display:block; font-size:34px; letter-spacing:-1.4px; font-weight:600; line-height:1.2; color:#19352d; }
.home-page .hero-result-source { font-size:11px; line-height:1.6; color:#47614e; background:#f2f5ed; border-radius:5px; padding:10px 12px; }
.home-page .hero-result-source strong,.home-page .hero-result-source span { display:block; }
.home-page .hero-result-source strong { font-weight:600; }
.home-page .returning-visitor { max-width:1244px; margin:0 auto 18px; }
.home-page .pricing-title { display:block; font-size:19px; font-weight:570; letter-spacing:-.3px; }
.home-page .pricing-amount { display:block; font-size:56px; line-height:1.2; font-weight:570; letter-spacing:-2.5px; margin-top:22px; }
.home-page .pricing-amount small { font-size:26px; font-weight:450; letter-spacing:-1px; }
@media(max-width:1390px) {
 .home-page .site-header { padding:0 50px; }
 .home-page .hero-copy { padding-left:40px; padding-right:36px; }
 .home-page .hero h1 { font-size:58px; }
}
@media(max-width:1060px) {
 .home-page .site-header { padding:12px 30px; min-height:88px; gap:16px; }
 .home-page .header-actions { margin-left:0; }
 .home-page .primary-navigation.open { margin:0; }
 .home-page .hero { grid-template-columns:1.02fr 1fr; min-height:640px; }
 .home-page .hero-copy { padding:40px 25px; }
 .home-page .hero h1 { font-size:47px; letter-spacing:-2.2px; }
 .home-page .hero .lead { font-size:16px; }
 .home-page .hero-start-controls { flex-direction:column; }
 .home-page .hero-trust-chips { font-size:11px; gap:9px; }
 .home-page .hero-copy > .eyebrow { font-size:9px; letter-spacing:.6px; }
 .home-page .hero-result-preview { left:22px; right:22px; padding:20px; }
 .home-page .hero-result-body { display:block; }
 .home-page .hero-result-source { margin-top:14px; width:fit-content; }
 .home-page .hero-result-top { font-size:10px; }
 .home-page .hero-photo-label { top:22px; right:22px; left:22px; width:fit-content; font-size:10px; }
}
@media(max-width:760px) {
 .home-page .site-header { padding:13px 20px; min-height:78px; gap:10px; }
 .home-page .brand { font-size:16px; gap:7px; }
 .home-page .brand-mark { width:28px; height:31px; border-radius:8px; }
 .home-page .header-login { font-size:11px; border:0; }
 .home-page main { padding:0 12px 40px; }
 .home-page .hero { grid-template-columns:1fr; min-height:0; gap:0; padding:0; border-radius:12px; }
 .home-page .hero-copy { padding:33px 25px 30px; }
 .home-page .hero-copy > .eyebrow { font-size:9px; letter-spacing:.6px; margin-bottom:23px; }
 .home-page .hero h1 { font-size:45px; line-height:1.08; letter-spacing:-2px; margin-bottom:20px; }
 .home-page .hero .lead { font-size:15px; line-height:1.65; margin:0 0 20px; max-width:530px; }
 .home-page .hero-trust-chips { font-size:11px; gap:8px 12px; margin:0 0 22px; }
 .home-page .hero-start-controls { display:flex; padding:7px; gap:6px; }
 .home-page .hero-upload-shortcut { min-height:44px; padding:7px 10px; }
 .home-page #file-title { font-size:13px; }
 .home-page #hero-continue { min-height:46px; font-size:13px; }
 .home-page .hero-file-meta { display:block; font-size:10px; margin-top:11px; }
 .home-page #hero-file-status { display:block; margin-top:3px; }
 .home-page .start-optional { font-size:11px; margin-top:17px; }
 .home-page .hero-photo { min-height:350px; }
 .home-page .hero-photo > img { object-position:center 55%; }
 .home-page .hero-photo-label { top:16px; left:auto; right:18px; font-size:9px; padding:8px 10px; }
 .home-page .hero-result-preview { bottom:22px; left:22px; right:22px; padding:17px 18px; border-radius:7px; }
 .home-page .hero-result-top { font-size:10px; padding-bottom:12px; gap:8px; }
 .home-page .hero-result-top strong { font-size:10px; gap:6px; }
 .home-page .hero-result-body { display:flex; gap:8px; padding-top:14px; }
 .home-page .hero-result-caption { font-size:10px; margin-bottom:6px; }
 .home-page .hero-result-value { font-size:28px; letter-spacing:-1px; }
 .home-page .hero-result-source { font-size:9px; margin:0; padding:8px; }
 .home-page .pricing-amount { font-size:48px; margin-top:18px; }
 .home-page .returning-visitor { margin:0 8px 14px; }
}
@media(max-width:360px) {
 .home-page .site-header { padding-inline:14px; gap:7px; }
 .home-page .brand { font-size:14px; gap:5px; }
 .home-page .brand-mark { width:26px; height:29px; }
 .home-page .header-login { font-size:10px; }
 .home-page .hero-copy { padding-inline:21px; }
 .home-page .hero h1 { font-size:38px; }
 .home-page .hero-trust-chips { font-size:10px; gap:8px; }
 .home-page .hero-result-preview { left:17px; right:17px; padding:15px; }
 .home-page .hero-result-body { display:block; }
 .home-page .hero-result-source { margin-top:12px; font-size:10px; }
 .home-page .hero-result-top { align-items:flex-start; }
}
/* Single native file action; confirmation still precedes every upload. */
.home-page .hero-start-controls { flex-direction:column; padding:0; gap:8px; background:transparent; }
.home-page .hero-upload-shortcut { min-height:62px; padding:15px 20px; background:#d0e6a4; border:1px solid #d0e6a4; border-radius:7px; }
.home-page .hero-upload-shortcut:hover,.home-page .hero-upload-shortcut.drag { background:#e0efc2; border-color:#e0efc2; }
.home-page .hero-upload-shortcut:focus-within { outline:3px solid #fff; outline-offset:3px; }
.home-page #file-title { font-size:15px; }
.home-page .hero-upload-arrow { margin-left:auto; font-size:24px; line-height:1; }
.home-page #hero-continue { background:#fff; color:#173f34; }
.home-page .hero-file-meta small { color:#d2e2d7; }
.home-page .hero-result-body { display:flex; justify-content:space-between; align-items:center; padding:20px 0; }
.home-page .hero-result-caption { margin:0; font-size:14px; }
.home-page .hero-result-value { font-size:34px; }
.home-page .hero-result-source { width:auto; margin:0; padding:16px 18px; background:#f2f5ed; border-radius:6px; font-size:12px; }
.home-page .hero-result-source strong { color:#526a55; font-size:11px; font-weight:600; }
.home-page .hero-result-source p { color:#284b38; font-size:14px; line-height:1.65; margin:8px 0 0; }
.home-page .hero-result-source mark { background:#dce9c5; color:inherit; padding:1px 2px; }
@media(max-width:1060px) and (min-width:761px) {
 .home-page #file-title { font-size:13px; }
 .home-page .hero-upload-shortcut { padding-inline:13px; }
 .home-page .hero-result-body { display:block; }
 .home-page .hero-result-caption { margin-bottom:10px; }
}
@media(max-width:760px) {
 .home-page .hero-start-controls { padding:0; }
 .home-page .hero-upload-shortcut { padding:14px; min-height:58px; gap:9px; }
 .home-page #file-title { font-size:13px; }
 .home-page .start-optional { font-size:12px; line-height:1.65; }
 .home-page .hero-photo { min-height:393px; }
 .home-page .hero-result-preview { padding:17px 18px; left:18px; right:18px; bottom:20px; }
 .home-page .hero-result-top { align-items:center; }
 .home-page .hero-result-body { display:flex; padding:18px 0; }
 .home-page .hero-result-caption { font-size:12px; }
 .home-page .hero-result-value { font-size:28px; white-space:nowrap; }
 .home-page .hero-result-source { font-size:12px; padding:13px; margin:0; }
 .home-page .hero-result-source strong { font-size:11px; }
 .home-page .hero-result-source p { font-size:13px; line-height:1.65; }
}
@media(max-width:360px) {
 .home-page #file-title { font-size:12px; }
 .home-page .hero-upload-icon,.home-page .hero-upload-icon svg { width:21px; height:21px; }
 .home-page .hero-upload-arrow { font-size:20px; }
 .home-page .hero-result-preview { left:14px; right:14px; padding:15px; }
 .home-page .hero-result-body { gap:8px; }
 .home-page .hero-result-value { font-size:24px; }
 .home-page .hero-result-caption { font-size:11px; }
}
/* R34 editorial continuation. Append after the photographic hero styles.
   Existing markup, content and progressive-disclosure controls are preserved. */

.home-page .process-section {
  position: relative;
  margin: 0;
  padding: 35px 0 38px;
  border: 0;
  border-bottom: 1px solid #d7dfd3;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.home-page .process-section > .section-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.home-page .process-section .process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-page .process-section .process-grid::before { content: none; }
.home-page .process-section .process-grid > li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 7px 14px;
  align-content: start;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}
.home-page .process-section .process-number {
  display: flex;
  align-items: center;
  justify-content: center;
  position: static;
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 30px;
  height: 30px;
  border: 1px solid #c8d5c2;
  border-radius: 50%;
  background: transparent;
  color: #476152;
  font-size: 12px;
  font-weight: 450;
  transform: none;
  box-shadow: none;
}
.home-page .process-section .process-number::before { content: "0"; }
.home-page .process-section .process-icon { display: none; }
.home-page .process-section .process-grid strong {
  grid-column: 2;
  margin: 0;
  color: #193e31;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 650;
}
.home-page .process-section .process-grid > li > span:last-child {
  grid-column: 2;
  max-width: none;
  margin: 0;
  color: #53645a;
  font-size: 14px;
  line-height: 1.6;
}

.home-page .analysis-example {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  margin: 72px 0 0;
  padding: clamp(36px, 4.5vw, 64px);
  border: 0;
  border-radius: 12px;
  background: #e9eee3;
  box-shadow: none;
  overflow: visible;
}
.home-page .analysis-example::after { content: none; }
.home-page .analysis-example .eyebrow,
.home-page .pricing-section .eyebrow,
.home-page .contract-types .eyebrow,
.home-page .scope-limits .eyebrow {
  margin: 0 0 19px;
  color: #3c654d;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: .1em;
}
.home-page .analysis-example-copy h2 {
  margin: 0 0 26px;
  color: #173e30;
  font-size: clamp(36px, 3.6vw, 49px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.055em;
}
.home-page .analysis-example-copy > p:not(.eyebrow) {
  margin: 0 0 17px;
  color: #4d6153;
  font-size: 16px;
  line-height: 1.75;
}
.home-page .analysis-example .text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  margin-top: 10px;
  color: #1c5039;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 650;
  text-underline-offset: 5px;
}
.home-page .analysis-example .example-paper {
  min-width: 0;
  margin: 0;
  padding: 30px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  transform: none;
  box-shadow: 0 16px 35px #2442300a;
}
.home-page .analysis-example .example-paper-top {
  gap: 12px;
  padding-bottom: 21px;
  border-bottom: 1px solid #dee5d9;
}
.home-page .analysis-example .example-file-icon { display: none; }
.home-page .analysis-example .example-paper-top strong {
  color: #173e30;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.025em;
}
.home-page .analysis-example .example-paper-top small {
  margin-top: 5px;
  color: #596a60;
  font-size: 12px;
  line-height: 1.5;
}
.home-page .analysis-example .example-tag {
  color: #4e6454;
  border: 0;
  border-radius: 4px;
  padding: 6px 8px;
  background: #edf2e7;
  font-size: 11px;
  font-weight: 500;
}
.home-page .analysis-example .example-facts { margin: 7px 0 22px; }
.home-page .analysis-example .example-facts > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid #e5e9e1;
}
.home-page .analysis-example .example-facts dt {
  color: #53665a;
  font-size: 14px;
  line-height: 1.5;
}
.home-page .analysis-example .example-facts dt small {
  max-width: 205px;
  margin-top: 4px;
  color: #5a685f;
  font-size: 12px;
  line-height: 1.5;
}
.home-page .analysis-example .example-facts dd {
  color: #173e30;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.home-page .analysis-example .example-facts > div:first-child dd {
  font-size: 25px;
  letter-spacing: -.05em;
}
.home-page .analysis-example .example-facts dd.example-check {
  color: #6b5117;
  background: #faf0d8;
  padding: 5px 7px;
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0;
}
.home-page .analysis-example .example-evidence {
  padding: 17px 18px;
  border: 0;
  border-left: 2px solid #9bb479;
  border-radius: 0;
  background: #f2f5eb;
}
.home-page .analysis-example .example-evidence > span {
  color: #44613d;
  font-size: 11px;
  line-height: 1.55;
  font-weight: 650;
  letter-spacing: .065em;
}
.home-page .analysis-example .example-evidence p {
  margin: 10px 0 0;
  color: #2a4832;
  font-size: 14px;
  line-height: 1.7;
}
.home-page .analysis-example .example-evidence mark { color: inherit; background: #dce8c5; }
.home-page .analysis-example .example-paper figcaption {
  margin-top: 16px;
  color: #5a685f;
  font-size: 12px;
  line-height: 1.65;
}

.home-page .pricing-section,
.home-page .contract-types,
.home-page .scope-limits,
.home-page .homepage-faq {
  margin: 0;
  padding: 92px 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.home-page .pricing-section > .section-heading,
.home-page .contract-types > .section-heading,
.home-page .scope-limits > .section-heading {
  max-width: none;
  margin: 0 0 38px;
  text-align: left;
}
.home-page .pricing-section > .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  column-gap: 72px;
  align-items: end;
}
.home-page .pricing-section > .section-heading > .eyebrow { grid-column: 1 / -1; }
.home-page .pricing-section > .section-heading h2,
.home-page .contract-types > .section-heading h2,
.home-page .scope-limits > .section-heading h2,
.home-page .homepage-faq-heading h2 {
  max-width: 665px;
  margin: 0;
  color: #173e30;
  font-size: clamp(34px, 3.3vw, 46px);
  line-height: 1.13;
  font-weight: 600;
  letter-spacing: -.05em;
}
.home-page .pricing-section > .section-heading > p:not(.eyebrow) {
  max-width: 365px;
  margin: 0 0 4px auto;
  color: #53645a;
  font-size: 16px;
  line-height: 1.7;
}
.home-page .pricing-section .pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: none;
  margin: 0;
}
.home-page .pricing-section .pricing-grid > article {
  padding: 38px;
  border: 0;
  border-radius: 8px;
  background: #edf2e7;
  box-shadow: none;
}
.home-page .pricing-section .pricing-grid > article:first-child { background: #e5ecdf; }
.home-page .pricing-section .pricing-grid h3 {
  margin: 0 0 24px;
  color: #173e30;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.035em;
}
.home-page .pricing-section .pricing-grid p,
.home-page .pricing-section .pricing-grid li {
  color: #3f5946;
  font-size: 15px;
  line-height: 1.7;
}
.home-page .pricing-section .pricing-includes { margin: 20px 0; padding: 0; }
.home-page .pricing-section .pricing-includes li { margin: 0 0 10px; }
.home-page .pricing-section .pricing-includes li::before { color: #356d43; }
.home-page .pricing-section .pricing-grid .pricing-note {
  margin: 23px 0 0;
  color: #425b48;
  font-size: 14px;
  font-weight: 550;
}
.home-page .pricing-section .pricing-grid .pricing-anchor {
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px solid #cfdbc7;
  color: #49624e;
  font-size: 14px;
}
.home-page .pricing-section .payment-methods { margin-top: 22px; }

.home-page .contract-types {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 60px;
  border-top: 1px solid #d7dfd3;
  border-bottom: 1px solid #d7dfd3;
  text-align: left;
}
.home-page .contract-types > .section-heading { margin-bottom: 37px; }
.home-page .contract-types .contract-types-intro {
  align-self: end;
  max-width: 490px;
  margin: 0 0 41px;
  color: #53645a;
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
}
.home-page .contract-types .guide-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-column: 1 / -1;
  gap: 0 60px;
  margin: 0;
}
.home-page .contract-types details.guide-group {
  padding: 0;
  border: 0;
  border-bottom: 1px solid #d7dfd3;
  border-radius: 0;
  background: transparent;
}
.home-page .contract-types .guide-group summary {
  min-height: 99px;
  padding: 22px 0;
  background: transparent;
}
.home-page .contract-types .guide-group summary strong {
  color: #173e30;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -.02em;
}
.home-page .contract-types .guide-group summary small {
  margin-top: 4px;
  color: #53645a;
  font-size: 14px;
  line-height: 1.5;
}
.home-page .contract-types .guide-expand {
  flex: none;
  margin-left: 16px;
  color: #50704f;
  font-size: 23px;
  font-weight: 400;
}
.home-page .contract-types .guide-group ul { gap: 8px; margin: 0; padding: 0 0 23px; }
.home-page .contract-types .guide-group li a {
  min-width: 44px;
  min-height: 44px;
  padding: 9px 14px;
  border: 0;
  border-radius: 4px;
  background: #eaf0e3;
  color: #244c31;
  font-size: 14px;
  line-height: 1.5;
}
.home-page .contract-types .guide-group li a:hover { background: #dce8d1; }
.home-page .contract-types .guide-group > p {
  margin: 0 0 18px;
  padding: 0;
  color: #53645a;
  font-size: 14px;
  line-height: 1.7;
}
.home-page .contract-types .guide-links-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  grid-column: 1 / -1;
  gap: 15px 30px;
  margin: 26px 0 0;
}
.home-page .contract-types .guide-links-cta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 44px;
  margin: 0;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #204d33;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 5px;
  box-shadow: none;
}
.home-page .contract-types .contract-types-note {
  grid-column: 1 / -1;
  max-width: 980px;
  margin: 22px 0 0;
  color: #5a685e;
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
}

.home-page .scope-limits {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 0 74px;
}
.home-page .scope-limits > .section-heading { max-width: 390px; }
.home-page .scope-limits-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  padding-top: 3px;
}
.home-page .scope-limits-grid article { padding: 0; border: 0; border-radius: 0; background: transparent; }
.home-page .scope-limits-grid h3 {
  margin: 0 0 11px;
  color: #254831;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 650;
}
.home-page .scope-limits-grid p { margin: 0; color: #53645a; font-size: 14px; line-height: 1.75; }
.home-page .scope-limits .privacy-section {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 0 66px;
  margin: 52px 0 0;
  padding: 37px 40px;
  border: 0;
  border-radius: 8px;
  background: #edf2e7;
}
.home-page .scope-limits .privacy-section .section-heading { margin: 0; padding: 0; }
.home-page .scope-limits .privacy-section h2 {
  max-width: 325px;
  color: #173e30;
  font-size: 29px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.04em;
}
.home-page .scope-limits .privacy-points {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
}
.home-page .scope-limits .privacy-points li { margin: 0; color: #425b48; font-size: 14px; line-height: 1.7; }
.home-page .scope-limits .privacy-links {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 4px 24px;
  margin: 18px 0 0;
  text-align: left;
}
.home-page .scope-limits .privacy-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #244c31;
  font-size: 14px;
  line-height: 1.5;
  text-underline-offset: 4px;
}

.home-page .homepage-faq {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 26px 74px;
  border: 0;
  border-top: 1px solid #d7dfd3;
}
.home-page .homepage-faq-heading { max-width: 380px; margin: 0; text-align: left; }
.home-page .homepage-faq-heading > p:last-child { margin: 21px 0 0; color: #53645a; font-size: 16px; line-height: 1.7; }
.home-page .homepage-faq-list { width: 100%; max-width: none; margin: 0; border: 0; border-radius: 0; overflow: visible; }
.home-page .homepage-faq-list details,
.home-page .homepage-faq-list details:first-child {
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #d7dfd3;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.home-page .homepage-faq-list summary {
  display: block;
  min-height: 69px;
  padding: 22px 37px 22px 0;
  color: #254831;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}
.home-page .homepage-faq-list summary::after { right: 3px; content: "+"; color: #50704f; font-size: 23px; transform: translateY(-50%); }
.home-page .homepage-faq-list details[open] summary::after { content: "−"; transform: translateY(-50%); }
.home-page .homepage-faq-list details[open] summary { color: #173e30; background: transparent; }
.home-page .homepage-faq-list details p { padding: 0 37px 22px 0; color: #53645a; font-size: 15px; line-height: 1.75; }
.home-page .homepage-faq-list details a { color: #204d33; text-underline-offset: 4px; }
.home-page .homepage-faq .faq-privacy-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  grid-column: 2;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  color: #204d33;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

.home-page .closing-cta {
  display: block;
  min-height: 0;
  margin: 0 0 60px;
  padding: 60px;
  border: 0;
  border-radius: 12px;
  background: #183f31;
  box-shadow: none;
  text-align: left;
  overflow: visible;
}
.home-page .closing-cta::before,
.home-page .closing-cta::after { content: none; }
.home-page .closing-cta .closing-illustration { display: none; }
.home-page .closing-cta-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 65px;
  align-items: center;
  max-width: none;
}
.home-page .closing-cta h2 {
  grid-column: 1;
  max-width: 620px;
  margin: 0;
  color: #f7faf0;
  font-size: clamp(36px, 3.8vw, 50px);
  line-height: 1.12;
  font-weight: 550;
  letter-spacing: -.05em;
}
.home-page .closing-cta-copy > p:not(.eyebrow) {
  grid-column: 1;
  max-width: 610px;
  margin: 0;
  color: #d3e2d5;
  font-size: 16px;
  line-height: 1.75;
}
.home-page .closing-cta ul { grid-column: 1; justify-content: flex-start; gap: 12px 24px; margin: 4px 0 0; }
.home-page .closing-cta li { color: #d3e2d5; font-size: 13px; line-height: 1.6; }
.home-page .closing-cta li::before { color: #cfe3a9; }
.home-page .closing-cta .hero-cta {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 56px;
  margin: 0;
  padding: 16px 23px;
  border: 0;
  border-radius: 6px;
  background: #d2e7ab;
  color: #173e30;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 650;
  box-shadow: none;
}
.home-page .closing-cta .hero-cta::after { content: "→"; font-size: 22px; font-weight: 450; }
.home-page .closing-cta .hero-cta:hover { color: #173e30; background: #e3f0c8; }
.home-page .closing-cta .hero-cta:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }

.home-page footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 28px;
  max-width: 1244px;
  margin: 0 auto;
  padding: 18px 0 32px;
  border: 0;
  border-top: 1px solid #d7dfd3;
  border-radius: 0;
  background: transparent;
  color: #53645a;
  font-size: 13px;
  line-height: 1.65;
}
.home-page footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.home-page footer nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: #355640;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .home-page .analysis-example { gap: 35px; padding: 36px; }
  .home-page .analysis-example .example-paper { padding: 23px; }
  .home-page .scope-limits,
  .home-page .homepage-faq { gap: 28px 45px; }
  .home-page .scope-limits-grid { grid-template-columns: 1fr; gap: 25px; }
  .home-page .closing-cta { padding: 45px; }
  .home-page .closing-cta-copy { gap: 20px 35px; }
}

@media (max-width: 900px) {
  .home-page .process-section .process-grid { gap: 24px; }
  .home-page .process-section .process-grid > li { grid-template-columns: 26px minmax(0, 1fr); gap: 7px 10px; }
  .home-page .process-section .process-number { width: 26px; height: 26px; font-size: 11px; }
  .home-page .analysis-example { grid-template-columns: 1fr; }
  .home-page .analysis-example-copy { max-width: 600px; }
  .home-page .analysis-example .example-paper { max-width: 650px; width: 100%; }
  .home-page .pricing-section .pricing-grid > article { padding: 27px; }
  .home-page .pricing-section .pricing-grid h3 { font-size: 22px; }
  .home-page .pricing-section > .section-heading { column-gap: 35px; }
  .home-page .contract-types { gap: 0 35px; }
  .home-page .contract-types .guide-links { gap: 0 35px; }
  .home-page .scope-limits .privacy-section { column-gap: 35px; padding: 30px; }
  .home-page .closing-cta-copy { grid-template-columns: 1fr; gap: 22px; }
  .home-page .closing-cta .hero-cta { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
  .home-page footer { padding-inline: 20px; }
}

@media (max-width: 700px) {
  .home-page .process-section { padding: 27px 0 30px; }
  .home-page .process-section .process-grid { grid-template-columns: 1fr; gap: 23px; }
  .home-page .process-section .process-grid > li { grid-template-columns: 30px minmax(0, 1fr); gap: 6px 14px; }
  .home-page .process-section .process-number { width: 29px; height: 29px; font-size: 12px; }
  .home-page .process-section .process-grid strong { font-size: 15px; }
  .home-page .process-section .process-grid > li > span:last-child { font-size: 14px; line-height: 1.6; }
  .home-page .analysis-example { margin-top: 46px; padding: 27px 20px; gap: 26px; border-radius: 9px; }
  .home-page .analysis-example .eyebrow,
  .home-page .pricing-section .eyebrow,
  .home-page .contract-types .eyebrow,
  .home-page .scope-limits .eyebrow { margin-bottom: 15px; font-size: 10px; }
  .home-page .analysis-example-copy h2 { margin-bottom: 21px; font-size: 36px; line-height: 1.12; }
  .home-page .analysis-example-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.7; }
  .home-page .analysis-example .text-link { margin-top: 3px; font-size: 14px; }
  .home-page .analysis-example .example-paper { padding: 19px 16px; border-radius: 6px; }
  .home-page .analysis-example .example-paper-top { padding-bottom: 18px; }
  .home-page .analysis-example .example-paper-top strong { font-size: 16px; }
  .home-page .analysis-example .example-paper-top small { font-size: 12px; }
  .home-page .analysis-example .example-tag { display: none; }
  .home-page .analysis-example .example-facts > div { gap: 8px 14px; padding: 15px 0; align-items: flex-start; }
  .home-page .analysis-example .example-facts dt { font-size: 13px; }
  .home-page .analysis-example .example-facts dt small { font-size: 12px; }
  .home-page .analysis-example .example-facts dd { font-size: 14px; }
  .home-page .analysis-example .example-facts > div:first-child dd { font-size: 21px; }
  .home-page .analysis-example .example-facts .example-deadline { display: grid; grid-template-columns: 1fr; gap: 9px; }
  .home-page .analysis-example .example-deadline dd { text-align: left; font-size: 18px; }
  .home-page .analysis-example .example-facts dd.example-check { font-size: 12px; padding: 4px 6px; }
  .home-page .analysis-example .example-evidence { padding: 14px 12px; }
  .home-page .analysis-example .example-evidence > span { font-size: 10px; letter-spacing: .035em; }
  .home-page .analysis-example .example-evidence p { font-size: 14px; line-height: 1.7; }
  .home-page .analysis-example .example-paper figcaption { margin-top: 14px; font-size: 12px; }
  .home-page .pricing-section,
  .home-page .contract-types,
  .home-page .scope-limits,
  .home-page .homepage-faq { padding: 56px 0; }
  .home-page .pricing-section > .section-heading,
  .home-page .contract-types > .section-heading,
  .home-page .scope-limits > .section-heading { display: block; max-width: none; margin-bottom: 26px; }
  .home-page .pricing-section > .section-heading h2,
  .home-page .contract-types > .section-heading h2,
  .home-page .scope-limits > .section-heading h2,
  .home-page .homepage-faq-heading h2 { max-width: 430px; font-size: 34px; line-height: 1.14; }
  .home-page .pricing-section > .section-heading > p:not(.eyebrow) { max-width: none; margin: 18px 0 0; font-size: 15px; }
  .home-page .pricing-section .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .home-page .pricing-section .pricing-grid > article { padding: 27px 23px; border-radius: 7px; }
  .home-page .pricing-section .pricing-grid h3 { margin-bottom: 19px; font-size: 23px; line-height: 1.32; }
  .home-page .pricing-section .pricing-grid p,
  .home-page .pricing-section .pricing-grid li { font-size: 14px; }
  .home-page .pricing-section .pricing-grid .pricing-note,
  .home-page .pricing-section .pricing-grid .pricing-anchor { font-size: 14px; }
  .home-page .contract-types { display: block; }
  .home-page .contract-types > .section-heading { margin-bottom: 19px; }
  .home-page .contract-types .contract-types-intro { margin: 0 0 22px; font-size: 15px; }
  .home-page .contract-types .guide-links { grid-template-columns: 1fr; gap: 0; }
  .home-page .contract-types .guide-group summary { min-height: 91px; padding: 19px 0; }
  .home-page .contract-types .guide-group summary strong { font-size: 17px; }
  .home-page .contract-types .guide-group summary small { font-size: 14px; }
  .home-page .contract-types .guide-links-actions { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 21px; }
  .home-page .contract-types .guide-links-cta { width: auto; font-size: 14px; }
  .home-page .contract-types .contract-types-note { margin-top: 22px; font-size: 13px; }
  .home-page .scope-limits { display: block; }
  .home-page .scope-limits-grid { grid-template-columns: 1fr; gap: 27px; padding: 0; }
  .home-page .scope-limits-grid h3 { margin-bottom: 9px; font-size: 16px; }
  .home-page .scope-limits-grid p { font-size: 14px; }
  .home-page .scope-limits .privacy-section { display: block; margin-top: 35px; padding: 27px 23px; border-radius: 7px; }
  .home-page .scope-limits .privacy-section h2 { margin-bottom: 22px; font-size: 27px; }
  .home-page .scope-limits .privacy-points { gap: 11px; }
  .home-page .scope-limits .privacy-points li { font-size: 14px; }
  .home-page .scope-limits .privacy-links { gap: 3px 16px; margin-top: 18px; }
  .home-page .homepage-faq { grid-template-columns: 1fr; gap: 25px; }
  .home-page .homepage-faq-heading { max-width: none; }
  .home-page .homepage-faq-heading > p:last-child { margin-top: 17px; font-size: 15px; }
  .home-page .homepage-faq-list summary { min-height: 65px; padding: 20px 29px 20px 0; font-size: 15px; }
  .home-page .homepage-faq-list details p { padding: 0 16px 20px 0; font-size: 14px; }
  .home-page .homepage-faq .faq-privacy-link { grid-column: 1; font-size: 14px; }
  .home-page .closing-cta { margin-bottom: 40px; padding: 32px 24px; border-radius: 9px; }
  .home-page .closing-cta-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
  .home-page .closing-cta h2 { font-size: 36px; line-height: 1.11; }
  .home-page .closing-cta-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.7; }
  .home-page .closing-cta ul { display: flex; flex-wrap: wrap; gap: 9px 17px; margin: 0; }
  .home-page .closing-cta li { font-size: 12px; }
  .home-page .closing-cta .hero-cta { width: 100%; min-height: 56px; margin-top: 7px; padding: 15px 12px; gap: 12px; font-size: 14px; }
  .home-page footer { display: grid; gap: 16px; width: 100%; padding: 24px 20px 96px; font-size: 13px; }
  .home-page footer nav { justify-content: flex-start; gap: 2px 16px; }
  .home-page footer nav a { min-width: 44px; min-height: 44px; font-size: 13px; }
}

@media (max-width: 359px) {
  .home-page .analysis-example { padding: 24px 15px; }
  .home-page .analysis-example .example-paper { padding: 18px 12px; }
  .home-page .analysis-example .example-facts > div { flex-wrap: wrap; }
  .home-page .analysis-example .example-facts dd { text-align: left; }
  .home-page .closing-cta { padding: 30px 20px; }
  .home-page .closing-cta .hero-cta { font-size: 13px; }
}
/* Keep the editorial canvas centred across the legacy page-width rules. */
.home-page main { width:100%; }
.home-page .hero { max-width:none; }
.home-page #file-hint { color:#d2e2d7; }
.home-page .process-section { max-width:1244px; margin-inline:auto; }
.home-page .primary-navigation { flex:0 1 auto; }
/* Shared brand mark stays consistent on the document and guide routes. */
.brand-mark { border-radius:10px; background:#193d32; color:#d5edb0; box-shadow:none; }
@media(max-width:760px) { .brand-mark { border-radius:8px; } }
/* R34: compact confirmation; detailed disclosure stays available before upload. */
.home-page.analysis-open .analysis-step { padding:38px 20px 60px; }
.home-page.analysis-open .analysis-step-inner { max-width:640px; margin:0 auto; }
.home-page .analysis-step-eyebrow { font-size:10px; font-weight:650; letter-spacing:1.1px; color:#4e6e56; margin:0 0 12px; }
.home-page.analysis-open .analysis-step-inner > h2 { margin:0; font-size:38px; font-weight:570; letter-spacing:-1.4px; line-height:1.15; }
.home-page #analysis-step-heading:focus { outline:none; box-shadow:none; }
.home-page .analysis-step-lead { font-size:15px; line-height:1.65; color:#52675b; margin:16px 0 25px; max-width:none; }
.home-page .analysis-step .upload-panel { padding:28px; background:#fff; border:1px solid #dce4d6; border-radius:14px; box-shadow:0 14px 40px #1b402308; }
.home-page .analysis-step .chosen-file { display:flex; align-items:center; gap:13px; margin:0 0 16px; padding:15px; border:0; border-radius:8px; background:#f2f5ed; }
.home-page .chosen-file-icon { width:29px; flex:none; color:#486947; }
.home-page .chosen-file-icon svg { display:block; width:27px; height:32px; stroke:currentColor; stroke-width:1.25; fill:none; }
.home-page .chosen-file-copy { display:block; min-width:0; flex:1; }
.home-page .chosen-file-copy small { display:block; font-size:11px; line-height:1.5; color:#60735f; margin-bottom:3px; }
.home-page .chosen-file-copy strong { font-size:14px; font-weight:600; line-height:1.5; overflow-wrap:anywhere; }
.home-page #change-file { flex:none; min-width:44px; min-height:44px; padding:8px 0; color:#315b40; font-size:12px; font-weight:600; }
.home-page .analysis-provider-note { color:#52675b; font-size:13px; line-height:1.65; margin:0 0 15px; }
.home-page .analysis-step .privacy-assurance { margin:0; padding:0; background:none; border:0; border-radius:0; }
.home-page .analysis-step .privacy-assurance-panel { margin:0; padding:0; border:0; font-size:13px; }
.home-page .analysis-step .privacy-assurance-panel > summary,
.home-page .analysis-step .upload-options > summary { list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; padding:12px 0; border:0; border-top:1px solid #e4e9df; color:#315b40; font-size:13px; font-weight:500; }
.home-page .analysis-step .privacy-assurance-panel > summary::-webkit-details-marker,
.home-page .analysis-step .upload-options > summary::-webkit-details-marker { display:none; }
.home-page .analysis-step .privacy-assurance-panel > summary::after,
.home-page .analysis-step .upload-options > summary::after { content:'+'; position:static; width:auto; height:auto; display:block; background:none; border:0; transform:none; font-size:20px; line-height:1; font-weight:400; color:#557754; }
.home-page .analysis-step .privacy-assurance-panel[open] > summary::after,
.home-page .analysis-step .upload-options[open] > summary::after { content:'−'; }
.home-page .analysis-step .privacy-assurance-lead { display:block; }
.home-page .analysis-step #privacy-assurance-heading { font-size:13px; font-weight:500; color:#315b40; }
.home-page .analysis-step .privacy-assurance-panel > summary::before { display:none; }
.home-page .analysis-step .privacy-assurance-panel[open] { padding-bottom:18px; }
.home-page .analysis-step .privacy-assurance-panel ul { font-size:13px; line-height:1.7; padding-left:18px; margin:12px 0; }
.home-page .analysis-step .privacy-assurance-panel p { font-size:13px; line-height:1.7; color:#52675b; }
.home-page .analysis-step .upload-ai-disclosure { border:0; padding:13px 15px; margin:4px 0 10px; background:#f2f5ed; font-size:13px; line-height:1.7; border-radius:7px; }
.home-page .analysis-step .upload-options { display:block; margin:0; padding:0; border:0; border-bottom:1px solid #e4e9df; border-radius:0; background:none; }
.home-page .analysis-step .upload-options > summary .optional { color:#63735f; font-size:11px; margin-left:auto; font-weight:400; }
.home-page .upload-options-body { padding:0 0 15px; }
.home-page .upload-options-body > details { border:0; border-radius:6px; background:#f7f8f4; margin:0 0 8px; padding:0 12px; }
.home-page .upload-options-body > details > summary { min-height:48px; font-size:13px; padding-block:12px; }
.home-page .upload-options-body > details .optional { display:none; }
.home-page .analysis-step .upload-consent { border:0; padding:0; margin:23px 0 19px; }
.home-page .analysis-step .upload-consent .consent-row { display:flex; align-items:flex-start; gap:11px; padding:0; margin:0; font-size:14px; line-height:1.65; color:#263e30; }
.home-page .analysis-step .upload-consent input[type=checkbox] { width:21px; height:21px; min-width:21px; margin-top:2px; border-color:#829379; accent-color:#235f48; }
.home-page .analysis-step .upload-consent .consent-intro { color:#586b5b; font-size:12px; line-height:1.65; margin:13px 0 0 32px; }
.home-page .analysis-step #upload-form > button[type=submit] { width:100%; min-height:54px; background:#235f48; color:white; box-shadow:none; border:0; border-radius:7px; font-size:15px; font-weight:600; display:flex; justify-content:center; align-items:center; gap:16px; margin:0; padding:13px 16px; }
.home-page .analysis-step #upload-form > button[type=submit]:hover { background:#173f34; }
.home-page .analysis-step #upload-form > button[type=submit]:disabled { opacity:.6; }
.home-page .analysis-step #upload-form > button[type=submit] > span { font-size:22px; line-height:1; }
.home-page .analysis-step #ai-readiness { font-size:12px; line-height:1.6; margin:12px 0 0; }
.home-page .analysis-step #ai-readiness:empty { display:none; }
@media(max-width:760px) {
 .home-page.analysis-open .analysis-step { padding:25px 8px 40px; }
 .home-page.analysis-open .analysis-step-inner > h2 { font-size:32px; letter-spacing:-1px; }
 .home-page .analysis-step-lead { font-size:14px; margin:13px 0 21px; }
 .home-page .analysis-step .upload-panel { padding:20px; border-radius:11px; }
 .home-page .analysis-step .chosen-file { padding:12px; gap:9px; margin-bottom:15px; }
 .home-page .chosen-file-copy strong { font-size:12px; }
 .home-page .chosen-file-copy small { font-size:10px; }
 .home-page .chosen-file-icon { width:24px; }
 .home-page .chosen-file-icon svg { width:23px; }
 .home-page .analysis-provider-note { font-size:12px; line-height:1.65; margin-bottom:12px; }
 .home-page .analysis-step .privacy-assurance-panel > summary,.home-page .analysis-step .upload-options > summary,.home-page .analysis-step #privacy-assurance-heading { font-size:12px; }
 .home-page .analysis-step .upload-options > summary { gap:8px; }
 .home-page .analysis-step .upload-options > summary .optional { font-size:10px; }
 .home-page .analysis-step .upload-consent { margin-top:21px; }
 .home-page .analysis-step .upload-consent .consent-row { font-size:13px; line-height:1.65; }
 .home-page .analysis-step .upload-consent .consent-intro { font-size:11px; }
 .home-page .analysis-step #upload-form > button[type=submit] { min-height:51px; font-size:14px; }
}
@media(max-width:360px) {
 .home-page .analysis-step .upload-panel { padding:16px; }
 .home-page .analysis-step .chosen-file { padding:10px; gap:7px; }
 .home-page .analysis-step .upload-options > summary .optional { display:none; }
 .home-page .chosen-file-copy strong { font-size:11px; }
}
.home-page .chosen-file-copy strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.home-page .analysis-step .privacy-assurance-panel > summary,
.home-page .analysis-step .privacy-assurance-panel > summary::after,
.home-page .analysis-step .upload-options > summary { text-decoration:none; }
.home-page .analysis-step .upload-consent .consent-row { min-height:44px; align-items:center; }
