:root {
  --ink: #17231e;
  --muted: #5a6861;
  --paper: #f7f3e8;
  --panel: #fffdf7;
  --panel-warm: #fbf6e9;
  --line: #d9d0bf;
  --accent: #237a5b;
  --accent-strong: #0f5b43;
  --accent-soft: #e3f0ea;
  --warning: #a95122;
  --danger: #9f2f25;
  --steel: #31485a;
  --shadow: 0 22px 70px rgba(42, 37, 25, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(35, 122, 91, 0.11), transparent 34%),
    linear-gradient(315deg, rgba(169, 81, 34, 0.1), transparent 38%),
    var(--paper);
  font-family: "Instrument Sans", sans-serif;
}

button,
textarea,
select,
input {
  font: inherit;
}

button {
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

button:focus-visible,
textarea:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(35, 122, 91, 0.28);
  outline-offset: 2px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.app-shell {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.workbench {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
}

.brand-panel,
.input-panel,
.results-panel,
.pricing-section,
.seo-section {
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.9);
  box-shadow: var(--shadow);
}

.brand-panel {
  min-height: 680px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.94), rgba(244, 238, 222, 0.9)),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(23, 35, 30, 0.04) 19px);
}

.brand-lockup {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.logo-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--panel);
  background: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 26px;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 640px;
  margin-bottom: 22px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-headline {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.quick-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
  margin: 24px 0 0;
  padding-left: 0;
  list-style: none;
}

.quick-steps li {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(35, 122, 91, 0.24);
  background: rgba(227, 240, 234, 0.72);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
}

.trust-strip {
  display: grid;
  gap: 12px;
}

.trust-strip div {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.78);
}

.trust-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 16px;
}

.trust-strip span,
.upload-row p,
.trust-copy,
.privacy-note,
.preview-note,
.disclaimer,
.score-summary {
  color: var(--muted);
  line-height: 1.5;
}

.input-panel {
  padding: 24px;
}

.control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.utility-actions,
.lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.upload-row {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.upload-row p {
  margin-bottom: 0;
  font-size: 13px;
}

label,
.field span,
.lead-form span {
  color: var(--steel);
  font-size: 14px;
  font-weight: 700;
}

select,
textarea,
input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  background: #fffdf9;
  color: var(--ink);
  outline: none;
}

select {
  padding: 0 12px;
}

textarea {
  min-height: 210px;
  resize: vertical;
  padding: 15px;
  line-height: 1.5;
}

input {
  padding: 0 12px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.privacy-note {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.trust-copy {
  padding: 12px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  font-size: 13px;
}

.primary-action,
.secondary-action,
.copy-action {
  min-height: 44px;
  cursor: pointer;
  font-weight: 800;
}

.primary-action {
  width: 100%;
  border: 0;
  color: var(--panel);
  background: var(--accent-strong);
}

.primary-action:hover {
  background: var(--accent);
}

.secondary-action,
.copy-action {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fffdf9;
}

.secondary-action:hover,
.copy-action:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  transform: translateY(-1px);
}

.upload-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.disabled-action,
button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.compact-action {
  width: auto;
  min-width: 260px;
  padding: 0 18px;
}

.error-message {
  min-height: 18px;
  margin: 0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 700;
}

.form-status {
  margin: 0;
  min-height: 20px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
}

.results-panel {
  margin-top: 18px;
  min-height: 340px;
  padding: 24px;
}

.empty-state {
  min-height: 300px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.score-placeholder {
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--panel-warm);
  color: var(--accent-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
}

.empty-state h2 {
  margin-bottom: 0;
  font-size: 30px;
}

.empty-state p {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.5;
}

.scan-progress {
  min-height: 330px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(35, 122, 91, 0.28);
  background:
    linear-gradient(135deg, rgba(35, 122, 91, 0.13), transparent 44%),
    linear-gradient(315deg, rgba(169, 81, 34, 0.1), transparent 48%),
    var(--panel-warm);
}

.progress-orbit {
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, var(--accent), #7fa78d, var(--warning), var(--accent));
  animation: orbit-spin 1.8s linear infinite;
  box-shadow: 0 22px 48px rgba(15, 91, 67, 0.18);
}

.progress-core {
  width: 142px;
  height: 142px;
  display: grid;
  place-items: center;
  border: 12px solid rgba(255, 253, 247, 0.86);
  border-radius: 50%;
  background: var(--panel);
  animation: orbit-counter-spin 1.8s linear infinite;
}

.progress-core span {
  color: var(--accent-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 34px;
  font-weight: 700;
}

.progress-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.08;
}

.progress-track {
  height: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.78);
}

.progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-strong), var(--accent), #8aa36d);
  transition: width 220ms ease;
}

.progress-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
  padding-left: 0;
  list-style: none;
}

.progress-steps li {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.progress-steps li.active {
  border-color: rgba(35, 122, 91, 0.42);
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.results {
  display: grid;
  gap: 18px;
}

.print-report-header {
  display: none;
}

.score-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel-warm);
}

.score-card h2 {
  margin-bottom: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: 0;
}

.score-summary {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: 17px;
}

.disclaimer {
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 700;
}

.score-actions {
  display: grid;
  gap: 12px;
  justify-items: center;
  flex: 0 0 auto;
}

.score-ring {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0deg, #e1d8c7 0deg);
  border: 10px solid var(--panel);
}

.result-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.result-card,
.pricing-card,
.locked-card {
  border: 1px solid var(--line);
  background: #fffdf9;
  padding: 20px;
}

.result-card.wide,
.locked-grid.wide,
.premium-panel {
  grid-column: 1 / -1;
}

.priority-card {
  background: #f7fbf7;
  border-color: rgba(35, 122, 91, 0.28);
}

.result-card h3,
.pricing-card h3,
.locked-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.card-heading h3 {
  margin-bottom: 0;
}

.copy-action {
  min-height: 34px;
  padding: 0 14px;
  font-size: 13px;
}

.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.breakdown-item {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(35, 122, 91, 0.22);
  background: linear-gradient(145deg, #fffdf9, #f1f7ef);
}

.breakdown-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.breakdown-item strong {
  color: var(--accent-strong);
  font-size: 22px;
  line-height: 1;
}

ul,
ol {
  margin: 0;
  padding-left: 20px;
}

li {
  margin: 9px 0;
  color: var(--muted);
  line-height: 1.45;
}

.preview-note {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.lead-card,
.usefulness-card,
.premium-panel {
  background:
    linear-gradient(135deg, rgba(35, 122, 91, 0.08), transparent 42%),
    #fffdf9;
}

.lead-note,
.usefulness-card p {
  color: var(--muted);
  line-height: 1.5;
}

.lead-note {
  margin-bottom: 14px;
}

.lead-form,
.feedback-form {
  display: grid;
  gap: 10px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
  flex: 0 0 auto;
}

.premium-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.usefulness-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.usefulness-card h3,
.usefulness-card p {
  margin-bottom: 0;
}

.usefulness-actions {
  display: flex;
  gap: 10px;
}

.usefulness-actions .secondary-action {
  min-width: 92px;
  padding: 0 18px;
}

.premium-panel p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.5;
}

.compact-list {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.locked-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.locked-card {
  position: relative;
  min-height: 170px;
  overflow: hidden;
}

.locked-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 15%, rgba(255, 253, 249, 0.72));
}

.locked-card > * {
  position: relative;
  z-index: 1;
}

.locked-card h3,
.locked-card p {
  filter: blur(1.8px);
}

.locked-card button,
.lock-badge {
  filter: none;
}

.lock-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
}

.feedback-card {
  margin-top: 18px;
}

.feedback-form textarea {
  min-height: 86px;
}

.pricing-section,
.seo-section,
.resource-section {
  margin-top: 18px;
  padding: 28px;
}

.pricing-section h2,
.seo-section h2,
.resource-section h2 {
  margin-bottom: 16px;
}

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

.pricing-card.featured {
  border-color: rgba(35, 122, 91, 0.42);
  background: #f7fbf7;
}

.price {
  margin-bottom: 16px;
  color: var(--accent-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 18px;
  font-weight: 700;
}

.seo-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.seo-section article {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.seo-section p {
  color: var(--muted);
  line-height: 1.6;
}

.resource-section {
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.9);
  box-shadow: var(--shadow);
}

.founder-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 18px;
  padding: 24px 28px;
  border: 1px solid rgba(35, 122, 91, 0.22);
  border-left: 5px solid var(--accent);
  background:
    radial-gradient(circle at 12% 20%, rgba(117, 166, 132, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(245, 250, 243, 0.96), rgba(255, 253, 247, 0.96));
  box-shadow: 0 18px 45px rgba(42, 35, 22, 0.08);
}

.founder-section h2 {
  margin-bottom: 10px;
  max-width: 760px;
  font-size: clamp(28px, 3vw, 40px);
}

.founder-section p {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.founder-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 13px 18px;
  border: 1px solid rgba(15, 104, 79, 0.28);
  color: var(--accent-strong);
  background: rgba(255, 253, 247, 0.72);
  font-weight: 800;
  text-decoration: none;
}

.founder-link:hover {
  border-color: rgba(15, 104, 79, 0.48);
  background: #ffffff;
  transform: translateY(-1px);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.resource-grid a {
  min-height: 88px;
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fffdf9;
  color: var(--accent-strong);
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.resource-grid a:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 18px;
  padding: 20px;
  color: var(--muted);
}

.site-footer a,
.legal-page a {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover,
.legal-page a:hover {
  text-decoration: underline;
}

.legal-page {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.legal-card {
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: var(--shadow);
  padding: 30px;
}

.legal-card h1 {
  max-width: none;
  font-size: clamp(34px, 5vw, 56px);
}

.legal-card h2 {
  margin-top: 24px;
}

.legal-card p {
  color: var(--muted);
  line-height: 1.6;
}

.legal-card ul {
  margin-bottom: 18px;
}

.page-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 10px 0 18px;
  padding: 0 18px;
  color: var(--panel) !important;
  background: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.page-cta:hover {
  background: var(--accent);
  text-decoration: none !important;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(23, 35, 30, 0.42);
}

.modal {
  position: relative;
  width: min(560px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  min-height: 36px;
  border: 1px solid var(--line);
  background: #fffdf9;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.price-list {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.price-list p {
  margin: 0;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .workbench,
  .seo-section,
  .pricing-grid,
  .locked-grid,
  .resource-grid,
  .usefulness-card,
  .breakdown-grid {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    min-height: auto;
  }

  .scan-progress {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .progress-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: left;
  }

  .premium-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .founder-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .compact-action {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 680px) {
  .app-shell {
    width: min(100% - 20px, 1440px);
    padding: 10px 0 32px;
  }

  .brand-panel,
  .input-panel,
  .results-panel,
  .pricing-section,
  .seo-section,
  .resource-section,
  .founder-section {
    padding: 18px;
  }

  .brand-lockup,
  .control-row,
  .score-card {
    align-items: stretch;
    flex-direction: column;
  }

  .utility-actions,
  .lead-grid,
  .result-grid,
  .quick-steps,
  .modal-actions {
    grid-template-columns: 1fr;
  }

  .hero-headline {
    font-size: 38px;
  }

  .score-ring {
    width: 86px;
    height: 86px;
  }

  .progress-orbit {
    width: 150px;
    height: 150px;
  }

  .progress-core {
    width: 112px;
    height: 112px;
  }

  .progress-core span {
    font-size: 27px;
  }

  .progress-steps {
    grid-template-columns: 1fr;
  }

  .founder-link {
    width: 100%;
  }
}

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  html,
  body {
    width: auto;
    min-height: auto;
    background: #fff !important;
    color: #17231e;
    font-size: 11pt;
  }

  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body * {
    visibility: hidden !important;
  }

  #results,
  #results * {
    visibility: visible !important;
  }

  #results {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  .brand-panel,
  .input-panel,
  .empty-state,
  .scan-progress,
  .pricing-section,
  .seo-section,
  .resource-section,
  .founder-section,
  .site-footer,
  .lead-card,
  .usefulness-card,
  .feedback-card,
  .premium-panel,
  .locked-grid,
  .locked-card,
  .primary-action,
  .secondary-action,
  .copy-action,
  .modal-backdrop {
    display: none !important;
  }

  .app-shell {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .workbench {
    display: block;
  }

  .results-panel {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: #fff;
    box-shadow: none;
  }

  .print-report-header {
    display: block;
    margin: 0 0 12px;
    padding: 0 0 10px;
    border-bottom: 2px solid #0f5b43;
  }

  .print-report-header .eyebrow {
    margin-bottom: 5px;
    color: #0f5b43;
    font-size: 9pt;
  }

  .print-report-header h2 {
    margin-bottom: 4px;
    font-size: 20pt;
  }

  .print-report-header p {
    margin-bottom: 0;
    color: #5a6861;
    font-size: 10pt;
  }

  .score-card,
  .result-card,
  .locked-card {
    box-shadow: none;
    border: 1px solid #b9b1a4;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .score-card {
    display: block;
    margin-bottom: 10px;
    padding: 14px;
    background: #fbf6e9;
  }

  .score-card h2 {
    margin-bottom: 8px;
    font-size: 26pt;
    letter-spacing: -0.03em;
  }

  .score-summary {
    max-width: none;
    margin-bottom: 8px;
    font-size: 11pt;
    line-height: 1.45;
  }

  .score-actions {
    display: none;
  }

  .result-grid {
    display: block;
  }

  .result-card {
    margin: 0 0 10px;
    padding: 13px 15px;
  }

  .result-card h3 {
    margin-bottom: 7px;
    font-size: 14pt;
  }

  .result-card ul,
  .result-card ol {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 18px;
  }

  .result-card li {
    margin-bottom: 5px;
    line-height: 1.38;
  }

  .results-panel::before {
    content: none;
  }
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-counter-spin {
  to {
    transform: rotate(-360deg);
  }
}

/* Pro sections: only rendered for a paid report. */
.draft-block {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  overflow-x: auto;
}

.premium-section {
  border-left: 3px solid var(--accent);
}

/* Policy cross-links at the foot of each legal page. */
.legal-nav {
  margin-top: 1.75rem;
  line-height: 2;
}
