:root {
  --ink: #15261f;
  --ink-2: #254237;
  --mint: #2ee9a8;
  --mint-dark: #0c7f5a;
  --lime: #d9f06d;
  --bone: #f5f5f2;
  --paper: #fbfbf8;
  --line: rgba(21, 38, 31, 0.14);
  --muted: #61726b;
  --danger: #bd4b4b;
  --amber: #a86b10;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, sans-serif; line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.print-footer { display: none; }

.progress { position: fixed; inset: 0 0 auto; z-index: 100; height: 3px; background: rgba(46, 233, 168, .12); }
.progress span { display: block; height: 100%; width: 0; background: var(--mint); }
.topbar { position: sticky; top: 0; z-index: 90; height: 72px; padding: 0 clamp(18px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 28px; background: rgba(251, 251, 248, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.mini-lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 230px; }
.mini-lockup img { width: 78px; height: 42px; object-fit: contain; mix-blend-mode: multiply; }
.mini-lockup .nexo-mini { width: 62px; }
.cross { color: var(--muted); font-family: Space Grotesk; }
.topbar nav { display: flex; gap: 26px; }
.topbar nav a { text-decoration: none; font-size: 13px; font-weight: 700; }
.pdf-link { padding: 11px 16px; border-radius: 999px; background: var(--ink); color: white; text-decoration: none; font-size: 12px; font-weight: 800; }

.cover { min-height: calc(100vh - 72px); display: grid; align-content: space-between; padding: clamp(64px, 9vw, 130px) clamp(22px, 7vw, 110px) 34px; background: radial-gradient(circle at 78% 22%, rgba(46,233,168,.2), transparent 25%), linear-gradient(135deg, #10261d 0%, #1b372b 60%, #0d1d17 100%); color: white; overflow: hidden; }
.cover-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .65fr); gap: clamp(48px, 8vw, 130px); align-items: center; max-width: 1450px; margin: 0 auto; width: 100%; }
.eyebrow { font: 600 11px/1.3 "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: .14em; color: var(--mint-dark); margin-bottom: 20px; }
.eyebrow.light { color: var(--mint); }
.cover h1, h2 { font-family: Unbounded, sans-serif; letter-spacing: -.045em; line-height: 1.04; text-wrap: balance; }
.cover h1 { max-width: 950px; font-size: clamp(42px, 6.5vw, 100px); margin: 0 0 30px; }
.cover-lead { max-width: 760px; font-size: clamp(18px, 2vw, 26px); color: rgba(255,255,255,.76); line-height: 1.45; }
.cover-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; padding: 0 20px; border-radius: 10px; text-decoration: none; font-weight: 800; font-size: 14px; }
.button.primary { background: var(--mint); color: #10261d; }
.button.ghost { border: 1px solid rgba(255,255,255,.28); color: white; }
.cover-aside { border: 1px solid rgba(255,255,255,.18); border-radius: 26px; background: rgba(255,255,255,.06); padding: clamp(22px, 3vw, 38px); backdrop-filter: blur(10px); }
.brand-lockup { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.15); }
.brand-lockup figure { margin: 0; border-radius: 14px; padding: 12px; min-height: 88px; display: grid; place-items: center; }
.brand-lockup .client-logo { background: white; }
.brand-lockup .client-logo img { max-height: 62px; object-fit: contain; }
.brand-lockup .nexo-logo { background: #171717; }
.brand-lockup .nexo-logo img { max-height: 52px; object-fit: contain; }
.meta-list { margin: 12px 0 0; }
.meta-list div { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.meta-list dt { color: var(--mint); font: 600 10px "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: .1em; }
.meta-list dd { margin: 4px 0 0; font-weight: 650; }
.cover-note { width: 100%; max-width: 1450px; margin: 60px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.62); font-size: 13px; }

.section { padding: clamp(78px, 9vw, 140px) clamp(22px, 7vw, 110px); }
.section-heading { max-width: 960px; margin-bottom: 52px; }
.section-heading h2 { font-size: clamp(34px, 4.6vw, 70px); margin: 0 0 24px; }
.section-heading p { font-size: 18px; color: var(--muted); max-width: 850px; }
.split-heading { max-width: 1450px; display: grid; grid-template-columns: 1.2fr .7fr; gap: 80px; align-items: end; }
.split-heading p { margin: 0 0 8px; }
.verdict-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1450px; }
.verdict { min-height: 270px; border: 1px solid var(--line); border-radius: 22px; padding: 30px; background: white; position: relative; overflow: hidden; }
.verdict::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 7px; background: var(--tone); }
.verdict.keep { --tone: #568f77; } .verdict.improve { --tone: var(--mint-dark); } .verdict.unlock { --tone: var(--mint); }
.verdict span, .finding-top span, .gate { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: rgba(21,38,31,.06); font: 600 10px "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.verdict h3 { margin: 54px 0 12px; font: 700 24px Space Grotesk; }
.verdict p { color: var(--muted); margin: 0; }
.decision-callout { max-width: 1450px; margin-top: 18px; padding: 28px 32px; background: var(--ink); color: white; border-radius: 20px; display: grid; grid-template-columns: 180px 1fr; gap: 30px; }
.decision-callout strong { color: var(--mint); font-family: Space Grotesk; font-size: 20px; }
.decision-callout p { margin: 0; color: rgba(255,255,255,.78); }

.evidence-band { padding: 62px clamp(22px, 7vw, 110px); background: var(--ink); color: white; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1450px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); }
.numbers article { min-height: 155px; padding: 26px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.numbers strong { display: block; font: 700 clamp(28px, 3vw, 47px) Space Grotesk; color: var(--mint); }
.numbers span { color: rgba(255,255,255,.68); font-size: 13px; }
.source-note { max-width: 1450px; margin: 18px auto 0; font-size: 12px; color: rgba(255,255,255,.48); }
.evidence-band > .eyebrow { max-width: 1450px; margin-left: auto; margin-right: auto; }

.finding-list { max-width: 1450px; border-top: 1px solid var(--line); }
.finding { display: grid; grid-template-columns: 78px 1fr; gap: 22px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.finding-index { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font: 700 18px Space Grotesk; }
.finding-top { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.finding h3 { margin: 0; font: 700 clamp(22px, 2.5vw, 34px) Space Grotesk; }
.finding p { max-width: 1000px; color: var(--muted); font-size: 17px; }
.finding small { display: block; color: #7f8e88; font-size: 12px; }
.finding.high .finding-top span { color: var(--danger); background: rgba(189,75,75,.08); }
.finding.medium .finding-top span { color: var(--amber); background: rgba(168,107,16,.08); }
.finding.good .finding-top span { color: var(--mint-dark); background: rgba(12,127,90,.08); }

.journey { background: #edf1eb; }
.journey-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); max-width: 1450px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.journey-grid article { min-height: 280px; background: var(--paper); padding: 28px 24px; }
.journey-grid span { font: 600 10px "JetBrains Mono"; color: var(--mint-dark); text-transform: uppercase; letter-spacing: .1em; }
.journey-grid h3 { margin: 70px 0 12px; font: 700 22px Space Grotesk; }
.journey-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.plan { background: white; }
.phases { max-width: 1450px; display: grid; gap: 14px; }
.phases article { display: grid; grid-template-columns: 64px 1fr 190px; gap: 26px; align-items: start; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.phase-no { font: 700 34px Space Grotesk; color: var(--mint-dark); }
.phases h3 { margin: 2px 0 8px; font: 700 24px Space Grotesk; }
.phases p { color: var(--muted); margin: 0 0 10px; }
.phases ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; font-size: 12px; font-weight: 700; }
.phases li::before { content: "✓"; color: var(--mint-dark); margin-right: 6px; }
.gate { justify-self: end; background: var(--ink); color: white; }

.scenarios { background: #e8f4ee; }
.scenario-chart { max-width: 1100px; display: grid; gap: 30px; }
.scenario-chart article div { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 9px; font-size: 14px; }
.scenario-chart strong { font-family: Space Grotesk; font-size: 18px; }
.scenario-chart i { display: block; height: 22px; width: var(--w); border-radius: 999px; background: linear-gradient(90deg, var(--ink), var(--mint)); }
.scenario-note { max-width: 1100px; margin: 32px 0 0; font-size: 13px; color: var(--muted); }
.measurement-grid, .control-grid, .sources-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1450px; margin-top: 50px; }
.measurement-grid article, .control-grid article, .sources-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.62); }
.measurement-grid strong { display: block; font: 700 20px Space Grotesk; margin-bottom: 7px; }
.measurement-grid span, .control-grid p, .sources-grid p { color: var(--muted); font-size: 13px; }
.control-grid h3, .sources-grid h3 { font: 700 20px Space Grotesk; margin: 0 0 10px; }

.next { background: var(--paper); }
.next-panel { max-width: 1450px; padding: clamp(30px, 5vw, 70px); border-radius: 30px; background: var(--ink); color: white; display: grid; grid-template-columns: 1fr .85fr; gap: 70px; }
.next-panel h2 { font-size: clamp(32px, 4vw, 60px); margin: 0 0 22px; }
.next-panel > div > p { color: rgba(255,255,255,.68); font-size: 17px; }
.next-panel ol { list-style: none; padding: 0; margin: 0; }
.next-panel li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.next-panel li span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--ink); font: 700 13px Space Grotesk; }
.next-panel li p { margin: 0; color: rgba(255,255,255,.7); font-size: 13px; }
.next-panel li strong { color: white; }
.scope-note { max-width: 1450px; margin-top: 16px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-size: 13px; }
.sources { padding-top: 50px; }
.sources .section-heading { margin-bottom: 20px; }

footer { padding: 44px clamp(22px, 7vw, 110px); background: #171717; color: white; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; font-size: 12px; }
.footer-lockup { display: flex; align-items: center; gap: 12px; }
.footer-lockup img { width: 90px; height: 52px; object-fit: contain; background: white; border-radius: 8px; padding: 5px; }
.footer-lockup .footer-nexo { background: #171717; padding: 0; width: 70px; }
footer p { color: rgba(255,255,255,.55); }
footer > a { color: var(--mint); text-decoration: none; font-weight: 800; }

@media (max-width: 980px) {
  .topbar nav { display: none; }
  .cover-grid, .split-heading, .next-panel { grid-template-columns: 1fr; }
  .cover { min-height: auto; }
  .cover-aside { max-width: 650px; }
  .verdict-grid, .numbers, .measurement-grid, .control-grid, .sources-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-grid article:last-child { grid-column: span 2; }
  .phases article { grid-template-columns: 50px 1fr; }
  .gate { grid-column: 2; justify-self: start; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .topbar { height: 64px; }
  .mini-lockup { min-width: 0; }
  .mini-lockup img { width: 60px; }
  .pdf-link { padding: 9px 11px; font-size: 10px; }
  .cover { padding-top: 58px; }
  .cover h1 { font-size: clamp(38px, 11vw, 58px); }
  .cover-lead { font-size: 17px; }
  .brand-lockup { gap: 10px; }
  .verdict-grid, .numbers, .measurement-grid, .control-grid, .sources-grid, .journey-grid { grid-template-columns: 1fr; }
  .journey-grid article:last-child { grid-column: auto; }
  .decision-callout { grid-template-columns: 1fr; gap: 10px; }
  .finding { grid-template-columns: 48px 1fr; gap: 14px; }
  .finding-index { width: 42px; height: 42px; }
  .finding-top { display: block; }
  .finding-top span { margin-top: 10px; }
  .phases article { grid-template-columns: 40px 1fr; padding: 20px 16px; gap: 12px; }
  .phases ul { display: block; }
  .phases li { margin: 4px 0; }
  .scenario-chart article div { display: block; }
  .scenario-chart strong { display: block; margin-top: 4px; }
}

@page { size: A4; margin: 10mm 12mm 15mm; }
@media print {
  * { animation: none !important; transition: none !important; }
  html, body { background: white !important; color: #15261f !important; font-size: 9.3pt; line-height: 1.42; }
  .no-print, .progress, footer { display: none !important; }
  .print-footer { display: block; position: fixed; left: 0; right: 0; top: -7mm; bottom: auto; padding-bottom: 2mm; border-bottom: 1px solid #d5dad7; color: #6a7872; font: 600 7pt "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
  a { text-decoration: none; }
  .eyebrow { margin-bottom: 3mm; font-size: 7.4pt; }

  .cover { min-height: 272mm; padding: 16mm 13mm 10mm; color: #15261f !important; background: white !important; border: 1.5px solid #15261f; break-after: page; }
  .cover-grid { grid-template-columns: 1.2fr .8fr; gap: 11mm; }
  .cover h1 { font-size: 34pt; margin-bottom: 7mm; }
  .cover-lead { font-size: 13pt; line-height: 1.42; }
  .cover-lead, .cover-note, .meta-list dd { color: #394b44 !important; }
  .cover-aside { padding: 7mm; border-color: #9da8a3; background: white; }
  .brand-lockup { padding-bottom: 5mm; border-color: #cdd3d0; }
  .brand-lockup figure { min-height: 22mm; padding: 3mm; }
  .brand-lockup .nexo-logo { background: #171717 !important; print-color-adjust: exact; }
  .meta-list div { padding: 3mm 0; border-color: #d5dad7; }
  .cover-note { margin-top: 14mm; padding-top: 5mm; }
  .eyebrow.light { color: #0c7f5a !important; }

  .section { padding: 8mm 2mm; }
  .section-heading { margin-bottom: 6mm; }
  .section-heading h2 { margin-bottom: 4mm; font-size: 21pt; }
  .section-heading p { margin: 0; font-size: 10pt; }
  .split-heading { grid-template-columns: 1.3fr .7fr; gap: 7mm; align-items: end; }
  .split-heading p { font-size: 8.5pt; }

  .intro { padding-top: 6mm; }
  .intro .section-heading { max-width: 165mm; }
  .verdict-grid { grid-template-columns: repeat(3, 1fr); gap: 3mm; }
  .verdict { min-height: 0; padding: 4mm; border-radius: 4mm; break-inside: avoid; }
  .verdict h3 { margin: 7mm 0 2mm; font-size: 13pt; line-height: 1.16; }
  .verdict p { font-size: 8.3pt; }
  .decision-callout { margin-top: 3mm; padding: 4mm 5mm; grid-template-columns: 30mm 1fr; gap: 5mm; border-radius: 3mm; background: #eef8f3 !important; color: #15261f !important; border: 1px solid #9cb8ac; }
  .decision-callout strong { color: #0c7f5a !important; font-size: 11pt; }
  .decision-callout p { color: #394b44 !important; font-size: 8.5pt; }

  .evidence-band { margin: 2mm 2mm 0; padding: 5mm; background: #15261f !important; color: white !important; border-radius: 4mm; break-inside: avoid; print-color-adjust: exact; }
  .evidence-band .eyebrow { color: #2ee9a8 !important; }
  .numbers { grid-template-columns: repeat(4, 1fr); border-color: rgba(255,255,255,.22); }
  .numbers article { min-height: 0; padding: 4mm; border-color: rgba(255,255,255,.22); }
  .numbers strong { color: #2ee9a8 !important; font-size: 17pt; }
  .numbers span { color: rgba(255,255,255,.8) !important; font-size: 7.6pt; }
  .source-note { margin: 3mm 0 0; color: rgba(255,255,255,.65) !important; font-size: 7pt; }

  #diagnostico { break-before: page; }
  #diagnostico .section-heading { max-width: none; }
  .finding-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3mm; border: 0; }
  .finding { display: grid; grid-template-columns: 9mm 1fr; gap: 3mm; padding: 4mm; border: 1px solid #d5dad7; border-radius: 3mm; break-inside: avoid; }
  .finding-index { width: 8mm; height: 8mm; font-size: 9pt; }
  .finding-top { display: block; }
  .finding h3 { margin: 0 0 2mm; font-size: 12pt; line-height: 1.15; }
  .finding-top span { margin-bottom: 2mm; padding: 1.2mm 2mm; font-size: 6.6pt; }
  .finding p { margin: 0 0 2mm; font-size: 8.7pt; line-height: 1.38; }
  .finding small { font-size: 7pt; line-height: 1.35; }

  .journey { min-height: 230mm; display: flex; flex-direction: column; justify-content: center; break-before: page; background: white !important; }
  .journey .section-heading { max-width: 160mm; }
  .journey-grid { grid-template-columns: repeat(5, 1fr); border-radius: 4mm; }
  .journey-grid article { min-height: 118mm; padding: 6mm 4mm; }
  .journey-grid article:last-child { grid-column: auto; }
  .journey-grid h3 { margin: 18mm 0 3mm; font-size: 13pt; line-height: 1.15; }
  .journey-grid p { font-size: 9pt; }

  .plan { break-before: page; background: white !important; }
  .plan > .section-heading { max-width: 155mm; padding-top: 4mm; border-top: 1px solid #15261f; }
  .phases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4mm; }
  .phases article { grid-template-columns: 10mm 1fr; gap: 3mm; min-height: 91mm; padding: 5mm; break-inside: avoid; }
  .phases article > div:nth-child(2), .phases article > .gate { grid-column: 2; }
  .phase-no { font-size: 24pt; }
  .phases h3 { margin: 0 0 2mm; font-size: 14pt; line-height: 1.15; }
  .phases p { margin-bottom: 3mm; font-size: 8.5pt; }
  .phases ul { display: block; font-size: 7.6pt; }
  .phases li { margin: 1mm 0; }
  .gate { grid-column: 2; justify-self: start; padding: 1.5mm 2.4mm; color: white !important; background: #15261f !important; font-size: 6.5pt; print-color-adjust: exact; }

  .scenarios { break-before: page; background: white !important; }
  .scenario-chart { gap: 4mm; }
  .scenario-chart article div { margin-bottom: 1.5mm; }
  .scenario-chart i { height: 4mm; border: 1.5px solid #0c7f5a; background: #daf7ec !important; print-color-adjust: exact; }
  .scenario-note { margin-top: 4mm; font-size: 7.8pt; }
  .measurement-grid, .control-grid, .sources-grid { grid-template-columns: repeat(4, 1fr); gap: 3mm; margin-top: 5mm; }
  .measurement-grid article, .control-grid article, .sources-grid article { padding: 4mm; border-radius: 3mm; break-inside: avoid; }
  .measurement-grid strong, .control-grid h3, .sources-grid h3 { font-size: 10.5pt; line-height: 1.2; }
  .measurement-grid span, .control-grid p, .sources-grid p { font-size: 7.5pt; line-height: 1.35; }
  .control { padding-top: 7mm; break-before: auto; }
  .control .section-heading { margin-bottom: 3mm; }
  .control .section-heading h2 { font-size: 17pt; }

  .next { break-before: page; background: white !important; }
  .next-panel { grid-template-columns: .9fr 1.1fr; gap: 7mm; padding: 7mm; border-radius: 4mm; background: #eef8f3 !important; color: #15261f !important; border: 1px solid #9cb8ac; }
  .next-panel h2 { margin-bottom: 4mm; font-size: 20pt; }
  .next-panel > div > p, .next-panel li p { color: #394b44 !important; }
  .next-panel li { padding: 3mm 0; border-color: #ccd3cf; }
  .next-panel li strong { color: #15261f !important; }
  .scope-note { margin-top: 3mm; padding: 4mm; font-size: 7.4pt; }
  .sources { padding-top: 7mm; break-before: auto; }
  .sources .section-heading { margin-bottom: 3mm; }
  .sources .section-heading h2 { font-size: 17pt; }
}
