/* ========================================
   VARIABLES
======================================== */
:root {
  --brand: #1a56db;
  --brand-light: #e8effc;
  --brand-dark: #0f3a91;
  --accent: #6c3aed;
  --green: #059669;
  --red: #dc2626;
  --orange: #d97706;
  --text: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --bg: #f1f5f9;
  --white: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --page-max: 800px;
  --page-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.04);
}

/* ========================================
   BASE
======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--brand);
  color: #fff;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

strong {
  font-weight: 600;
  color: var(--text);
}

/* ========================================
   DOCUMENT CONTAINER
======================================== */
.document {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 24px 16px 80px;
}

/* ========================================
   PAGE
======================================== */
.page {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--page-shadow);
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 32px;
  border-bottom: 1px solid var(--border);
  background: #fafbfc;
}

.header-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.header-subtitle {
  font-size: 11px;
  font-weight: 500;
  color: var(--brand);
}

.page-body {
  padding: 32px;
}

@media (min-width: 640px) {
  .page-body {
    padding: 40px 48px;
  }
}

.page-body h2 {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-body p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.75;
}

.page-body p:last-child {
  margin-bottom: 0;
}

/* Section number */
.section-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--brand-light);
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-sans);
}

/* ========================================
   COVER PAGE
======================================== */
.cover-page {
  background: var(--white);
  padding: 0;
  text-align: center;
}

.cover-content {
  padding: 60px 32px 40px;
}

@media (min-width: 640px) {
  .cover-content {
    padding: 80px 48px 48px;
  }
}

.cover-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 100px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.cover-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 24px;
}

.cover-title .accent {
  color: var(--brand);
}

.cover-divider {
  width: 60px;
  height: 3px;
  background: var(--brand);
  border-radius: 2px;
  margin: 0 auto 24px;
}

.cover-subtitle {
  max-width: 500px;
  margin: 0 auto 40px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.cover-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  max-width: 500px;
  margin: 0 auto;
}

.cover-meta-item {
  background: var(--white);
  padding: 16px 12px;
  text-align: center;
}

.meta-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.meta-value {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.cover-footer {
  padding: 16px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: #fafbfc;
  font-size: 11px;
  color: var(--text-muted);
}

/* ========================================
   TABLE OF CONTENTS
======================================== */
.toc-heading {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.toc {
  display: flex;
  flex-direction: column;
}

.toc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.toc-item:hover {
  color: var(--brand);
  text-decoration: none;
}

.toc-number {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  width: 24px;
  flex-shrink: 0;
}

.toc-label {
  font-size: 14px;
  font-weight: 500;
}

.toc-dots {
  flex: 1;
  border-bottom: 1px dotted var(--border);
  margin: 0 8px;
  min-width: 20px;
  align-self: flex-end;
  margin-bottom: 4px;
}

/* ========================================
   COMPARISON BOX (Objeto)
======================================== */
.comparison-box {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

@media (max-width: 600px) {
  .comparison-box {
    grid-template-columns: 1fr;
  }
}

.comparison-side {
  padding: 20px;
}

.comparison-before {
  background: #fef2f2;
}

.comparison-after {
  background: #f0fdf4;
}

.comparison-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.dot-red {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.file-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.file-list li {
  font-size: 11px;
  color: #991b1b;
  background: rgba(220, 38, 38, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  font-family: monospace;
}

.comparison-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: 20px;
  color: var(--text-muted);
  background: var(--white);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

@media (max-width: 600px) {
  .comparison-arrow {
    padding: 8px;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
}

.solution-single {
  text-align: center;
  padding: 16px;
  background: rgba(5, 150, 105, 0.08);
  border-radius: 6px;
}

.solution-single strong {
  display: block;
  font-size: 13px;
  color: #065f46;
}

.solution-single span {
  font-size: 11px;
  color: #047857;
}

/* ========================================
   HIGHLIGHT BOX (Objetivo)
======================================== */
.highlight-box {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.highlight-box h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 20px;
  background: #fafbfc;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

@media (max-width: 500px) {
  .highlight-grid {
    grid-template-columns: 1fr;
  }
}

.highlight-item {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  background: var(--white);
}

.highlight-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.highlight-item strong {
  font-size: 13px;
  display: block;
  margin-bottom: 4px;
}

.highlight-item p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* ========================================
   SCOPE TABLE
======================================== */
.scope-table {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.scope-row {
  display: flex;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}

.scope-row:last-child {
  border-bottom: none;
}

.scope-row:nth-child(even) {
  background: #fafbfc;
}

.scope-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  width: 22px;
  flex-shrink: 0;
  padding-top: 2px;
}

.scope-row strong {
  font-size: 13px;
  display: block;
}

.scope-row p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 2px 0 0;
  line-height: 1.5;
}

/* ========================================
   NOTE BOX
======================================== */
.note-box {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--brand-light);
  border-left: 3px solid var(--brand);
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.note-box strong {
  color: var(--brand-dark);
}

/* ========================================
   CHECKLIST
======================================== */
.checklist {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #fafbfc;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.check-item:nth-child(even) {
  background: var(--white);
}

.check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #d1fae5;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ========================================
   FLOW DIAGRAM
======================================== */
.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 28px 0;
  padding: 24px 12px;
  background: #fafbfc;
  border: 1px solid var(--border);
  border-radius: 8px;
  flex-wrap: wrap;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.flow-circle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.flow-circle.blue { background: #3b82f6; }
.flow-circle.purple { background: #8b5cf6; }
.flow-circle.orange { background: #f59e0b; }
.flow-circle.green { background: #10b981; }
.flow-circle.pink { background: #ec4899; }
.flow-circle.cyan { background: #06b6d4; }

.flow-node span {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
}

.flow-connector {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 4px;
  margin-bottom: 22px;
}

/* ========================================
   FEATURES GRID
======================================== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0;
}

.feature-item {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: #fafbfc;
}

/* ========================================
   DASHBOARD PREVIEW
======================================== */
.dashboard-preview {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: #1e293b;
}

.dash-dots {
  display: flex;
  gap: 4px;
}

.d-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.d-dot.r { background: #ef4444; }
.d-dot.y { background: #eab308; }
.d-dot.g { background: #22c55e; }

.dash-url {
  font-size: 10px;
  color: #94a3b8;
  background: rgba(255,255,255,0.1);
  padding: 2px 10px;
  border-radius: 4px;
  flex: 1;
}

.dash-body {
  padding: 16px;
  background: #0f172a;
}

.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

@media (max-width: 500px) {
  .dash-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dash-stat {
  background: rgba(255,255,255,0.05);
  padding: 10px;
  border-radius: 6px;
  text-align: center;
}

.ds-label {
  display: block;
  font-size: 9px;
  color: #94a3b8;
}

.ds-val {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-top: 2px;
}

.ds-val.blue { color: #60a5fa; }
.ds-val.purple { color: #a78bfa; }
.ds-val.orange { color: #fb923c; }
.ds-val.green { color: #34d399; }

.dash-bars-row {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
}

.dash-bar {
  flex: 1;
  background: linear-gradient(to top, rgba(59,130,246,0.4), rgba(59,130,246,0.7));
  border-radius: 2px 2px 0 0;
}

/* ========================================
   BENEFITS LIST
======================================== */
.benefits-list {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.benefit-row {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-light);
}

.benefit-row:last-child {
  border-bottom: none;
}

.benefit-row:nth-child(even) {
  background: #fafbfc;
}

.benefit-title {
  width: 160px;
  flex-shrink: 0;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-dark);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
}

@media (max-width: 500px) {
  .benefit-row {
    flex-direction: column;
  }
  .benefit-title {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 10px 16px;
  }
}

.benefit-desc {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: flex;
  align-items: center;
}

/* ========================================
   INVESTMENT CARD
======================================== */
.investment-card {
  margin-top: 24px;
  border: 2px solid var(--brand);
  border-radius: 10px;
  padding: 32px;
  text-align: center;
  background: linear-gradient(180deg, var(--brand-light), var(--white));
}

.invest-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 16px;
}

.invest-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 6px;
}

.invest-currency {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
}

.invest-value {
  font-size: 52px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.invest-cents {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 500;
}

.invest-sublabel {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.invest-includes {
  text-align: left;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.invest-includes h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 12px;
}

.invest-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.invest-check span {
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
}

/* ========================================
   TIMELINE
======================================== */
.timeline {
  margin-top: 24px;
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--border);
  border-radius: 1px;
}

.tl-item {
  position: relative;
  padding-bottom: 20px;
  padding-left: 16px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-marker {
  position: absolute;
  left: -24px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--border);
}

.tl-marker.blue { background: #3b82f6; box-shadow: 0 0 0 2px #3b82f6; }
.tl-marker.purple { background: #8b5cf6; box-shadow: 0 0 0 2px #8b5cf6; }
.tl-marker.indigo { background: #6366f1; box-shadow: 0 0 0 2px #6366f1; }
.tl-marker.orange { background: #f59e0b; box-shadow: 0 0 0 2px #f59e0b; }
.tl-marker.green { background: #10b981; box-shadow: 0 0 0 2px #10b981; }
.tl-marker.pink { background: #ec4899; box-shadow: 0 0 0 2px #ec4899; }

.tl-week {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
  background: var(--brand-light);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.tl-content strong {
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}

.tl-content p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   CONTACT BOX
======================================== */
.contact-box {
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.contact-row {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  gap: 16px;
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  width: 60px;
  flex-shrink: 0;
}

.contact-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
}

/* ========================================
   SIGNATURE AREA
======================================== */
.signature-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}

@media (max-width: 500px) {
  .signature-area {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.signature-line {
  text-align: center;
}

.sig-line {
  height: 1px;
  background: var(--text);
  margin-bottom: 8px;
}

.signature-line span {
  font-size: 11px;
  color: var(--text-muted);
}

/* Page footer */
.page-footer-final {
  padding: 14px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: #fafbfc;
  font-size: 11px;
  color: var(--text-muted);
}

/* ========================================
   PDF FLOATING BUTTON
======================================== */
.pdf-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.pdf-fab:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 4px 20px rgba(26,86,219,0.25);
}

.pdf-fab:hover svg {
  stroke: #fff;
}

.pdf-fab svg {
  color: var(--brand);
  flex-shrink: 0;
  transition: stroke 0.2s;
}

/* PDF Loading Overlay */
.pdf-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
}

.pdf-overlay.active {
  display: flex;
}

.pdf-overlay-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.pdf-overlay-content p {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.pdf-overlay-content span {
  font-size: 12px;
  color: var(--text-muted);
}

.pdf-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

/* ========================================
   PDF GENERATION MODE
======================================== */
body.generating-pdf {
  background: #fff !important;
}

body.generating-pdf .pdf-fab,
body.generating-pdf .pdf-overlay {
  display: none !important;
}

body.generating-pdf .document {
  padding: 0 !important;
  max-width: 100% !important;
}

body.generating-pdf .page {
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  page-break-after: always !important;
  page-break-inside: avoid !important;
}

body.generating-pdf .page:last-child {
  page-break-after: auto !important;
}

body.generating-pdf .page-header {
  border-bottom-color: #e2e8f0 !important;
}

body.generating-pdf .cover-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ========================================
   PRINT STYLES
======================================== */
@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body {
    background: #fff !important;
  }

  .pdf-fab,
  .pdf-overlay {
    display: none !important;
  }

  .document {
    padding: 0 !important;
    max-width: 100% !important;
  }

  .page {
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    page-break-after: always;
    page-break-inside: avoid;
  }

  .page:last-child {
    page-break-after: auto;
  }
}

/* ========================================
   MOBILE
======================================== */
@media (max-width: 480px) {
  .document {
    padding: 12px 8px 80px;
  }

  .page {
    border-radius: 6px;
    margin-bottom: 12px;
  }

  .page-header {
    padding: 10px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .header-title {
    font-size: 9px;
  }

  .header-subtitle {
    font-size: 10px;
  }

  .page-body {
    padding: 20px 16px;
  }

  .page-body h2 {
    font-size: 1.25rem;
  }

  .section-number {
    font-size: 36px;
  }

  .cover-content {
    padding: 40px 20px 28px;
  }

  .cover-title {
    font-size: 1.375rem;
  }

  .cover-meta {
    grid-template-columns: 1fr;
  }

  .cover-meta-item {
    padding: 10px;
  }

  .toc-item {
    padding: 10px 0;
  }

  .comparison-box {
    grid-template-columns: 1fr;
  }

  .comparison-arrow {
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 6px;
  }

  .scope-row {
    padding: 10px 14px;
  }

  .flow-diagram {
    padding: 16px 8px;
    gap: 6px;
  }

  .flow-circle {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  .flow-connector {
    font-size: 12px;
    margin: 0 2px;
    margin-bottom: 18px;
  }

  .flow-node span {
    font-size: 8px;
  }

  .dash-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-row {
    flex-direction: column;
  }

  .benefit-title {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 8px 14px;
    font-size: 12px;
  }

  .benefit-desc {
    padding: 8px 14px;
    font-size: 12px;
  }

  .invest-value {
    font-size: 40px;
  }

  .investment-card {
    padding: 24px 20px;
  }

  .signature-area {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pdf-fab {
    bottom: 16px;
    right: 12px;
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 8px;
  }

  .pdf-fab svg {
    width: 16px;
    height: 16px;
  }
}
