:root {
  --ink: #101827;
  --ink-2: #273449;
  --muted: #647184;
  --paper: #f2f5f7;
  --white: #fff;
  --line: #d8e0e5;
  --cyan: #33d2c4;
  --cyan-dark: #087f78;
  --orange: #ff805c;
  --yellow: #ffd65c;
  --red: #d9485f;
  --green: #15866f;
  --shadow: 0 22px 65px rgba(16,24,39,.12);
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.topbar { height: 76px; position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 0 max(28px,calc((100vw - var(--max))/2)); color: white; background: rgba(16,24,39,.96); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand > span:last-child { display: flex; align-items: baseline; gap: 8px; }
.brand b { font-size: 1.02rem; letter-spacing: .12em; }
.brand small { color: #9eabb9; font-size: .78rem; }
.brand-symbol { width: 39px; height: 39px; position: relative; border: 1px solid #536071; border-radius: 50%; }
.brand-symbol i { position: absolute; height: 3px; background: var(--cyan); transform-origin: left center; }
.brand-symbol i::after { content: ""; position: absolute; right: -4px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.brand-symbol i:nth-child(1) { width: 17px; left: 10px; top: 12px; transform: rotate(28deg); }
.brand-symbol i:nth-child(2) { width: 17px; left: 10px; top: 25px; transform: rotate(-28deg); }
.brand-symbol i:nth-child(3) { width: 12px; left: 9px; top: 19px; }
.topbar nav { display: flex; align-items: center; gap: 26px; }
.topbar nav a { color: #c9d2db; font-size: .88rem; font-weight: 700; text-decoration: none; }
.topbar nav a:hover { color: white; }
.topbar .nav-cta { padding: 9px 15px; border-radius: 999px; color: #10221f; background: var(--cyan); }

.hero { min-height: 750px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; padding: 92px max(28px,calc((100vw - var(--max))/2)) 120px; color: white; background: var(--ink); }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; left: -280px; bottom: -310px; border: 90px solid rgba(51,210,196,.07); border-radius: 50%; }
.hero-copy, .impact-map { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 16px; color: var(--cyan-dark); font-size: .76rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow { color: var(--cyan); }
h1, h2, h3 { margin-top: 0; line-height: 1.05; letter-spacing: -.045em; }
h1 { margin-bottom: 28px; font-size: clamp(4rem,7vw,7rem); font-weight: 850; }
h2 { margin-bottom: 18px; font-size: clamp(2.6rem,4.8vw,4.6rem); }
h3 { margin-bottom: 9px; font-size: 1.2rem; }
.lead { max-width: 650px; margin: 0 0 34px; color: #becbd7; font-size: clamp(1.1rem,1.8vw,1.32rem); }
.lead strong { color: white; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid transparent; border-radius: 10px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { color: #0b2725; background: var(--cyan); box-shadow: 0 10px 28px rgba(51,210,196,.18); }
.btn.ghost { border-color: #546173; color: white; background: transparent; }
.btn.secondary { border-color: var(--line); color: var(--ink); background: white; }
.btn.large { min-height: 54px; padding-inline: 25px; }

.impact-map { min-height: 560px; border: 1px solid #384559; border-radius: 28px; background: linear-gradient(145deg,rgba(255,255,255,.05),rgba(255,255,255,.015)); box-shadow: inset 0 0 80px rgba(0,0,0,.16), 0 35px 80px rgba(0,0,0,.22); }
.impact-map::before { content: ""; position: absolute; inset: 40px; opacity: .18; background-image: radial-gradient(#fff .7px,transparent .7px); background-size: 18px 18px; }
.map-label { position: absolute; top: 28px; left: 30px; color: #7f90a4; font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.node { min-width: 150px; position: absolute; z-index: 2; padding: 17px 19px; border: 1px solid #4d5b6f; border-radius: 15px; background: #182438; box-shadow: 0 13px 30px rgba(0,0,0,.22); }
.node span { display: block; color: #93a3b5; font-size: .73rem; text-transform: uppercase; }
.node strong { font-size: 1.05rem; }
.node.source { left: 30px; top: 190px; border-color: rgba(255,128,92,.6); }
.node.core { left: 50%; top: 220px; transform: translateX(-50%); border: 2px solid var(--cyan); color: var(--ink); background: var(--cyan); }
.node.core span { color: #185c57; }
.node.target { right: 30px; top: 130px; border-color: rgba(51,210,196,.7); }
.node.target.second { top: 315px; }
.flow { height: 2px; position: absolute; z-index: 1; background: linear-gradient(90deg,var(--orange),var(--cyan)); transform-origin: left center; }
.flow::after { content: ""; position: absolute; right: -1px; top: -4px; width: 9px; height: 9px; border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); transform: rotate(45deg); }
.flow-a { width: 115px; left: 180px; top: 237px; }
.flow-b { width: 115px; left: 58%; top: 235px; transform: rotate(-25deg); }
.flow-c { width: 120px; left: 58%; top: 264px; transform: rotate(29deg); }
.check { position: absolute; padding: 7px 11px; border: 1px solid #3b485b; border-radius: 999px; color: #9eabb9; background: #111c2e; font-size: .72rem; }
.check-one { left: 38px; bottom: 60px; }
.check-two { left: 50%; bottom: 45px; transform: translateX(-50%); }
.check-three { right: 30px; bottom: 78px; }

.promise, .analyzer { padding: 120px max(28px,calc((100vw - var(--max))/2)); }
.section-heading { max-width: 820px; margin-bottom: 52px; }
.section-heading p:not(.eyebrow) { max-width: 720px; color: var(--muted); font-size: 1.1rem; }
.section-heading.compact { margin-bottom: 34px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.feature-grid article { min-height: 220px; padding: 27px; border: 1px solid var(--line); border-radius: 17px; background: white; box-shadow: 0 9px 30px rgba(16,24,39,.05); }
.feature-grid article:nth-child(2), .feature-grid article:nth-child(5) { transform: translateY(18px); }
.feature-grid article span { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 42px; border-radius: 50%; color: #075d58; background: #d8faf5; font-size: .76rem; font-weight: 900; }
.feature-grid article p { margin-bottom: 0; color: var(--muted); }

.analyzer { background: #e8edf0; }
.demo-bar { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; margin-bottom: 22px; padding: 19px 22px; border: 1px solid #c9d4d9; border-radius: 16px; background: white; }
.demo-bar div { display: grid; }
.demo-bar span { color: var(--muted); font-size: .88rem; }
.demo-bar .demo-ok { color: white; background: var(--green); }
.demo-bar .demo-error { color: white; background: var(--red); }
.upload-shell { padding: 27px; border: 1px solid #cad5da; border-radius: 24px; background: #f9fbfc; box-shadow: var(--shadow); }
.upload-grid { display: grid; grid-template-columns: 1fr 58px 1fr; align-items: stretch; }
.compare-mark { display: grid; place-items: center; color: #71808c; font-size: .75rem; font-weight: 900; }
.upload-card { min-height: 240px; position: relative; display: flex; flex-direction: column; justify-content: center; padding: 30px; border: 2px dashed #9fb0bb; border-radius: 18px; color: var(--ink); background: white; cursor: pointer; }
.upload-card:hover { border-color: var(--cyan-dark); background: #f5fffd; }
.upload-card.accent { border-color: #e6a58f; background: #fff9f7; }
.step-pill { position: absolute; top: 17px; left: 18px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--ink); font-size: .75rem; font-weight: 900; }
.upload-icon { position: absolute; right: 22px; top: 15px; color: var(--cyan-dark); font-size: 2.4rem; font-weight: 300; }
.upload-card strong { margin-bottom: 6px; font-size: 1.22rem; }
.upload-card > span:not(.step-pill):not(.upload-icon) { color: var(--muted); }
.upload-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-card em { display: inline-flex; width: fit-content; margin-top: 24px; padding: 7px 11px; border-radius: 8px; color: var(--cyan-dark); background: #e2f8f5; font-size: .8rem; font-style: normal; font-weight: 750; }
.analysis-options { display: grid; grid-template-columns: minmax(260px,1fr) 1.2fr auto; gap: 26px; align-items: end; padding-top: 25px; }
.analysis-options label, .result-side label { display: grid; gap: 7px; color: var(--ink-2); font-size: .82rem; font-weight: 800; }
select, textarea { width: 100%; padding: 11px 12px; border: 1px solid #bfcbd2; border-radius: 9px; color: var(--ink); background: white; }
.template-links { display: flex; flex-wrap: wrap; gap: 8px 15px; align-items: center; }
.template-links span { width: 100%; color: var(--muted); font-size: .78rem; }
.template-links a { color: var(--cyan-dark); font-size: .82rem; font-weight: 800; }
.form-status { min-height: 1.5em; margin: 15px 0 0; color: var(--muted); }
.form-status.error { color: var(--red); }

.results { margin-top: 35px; }
.result-head { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding: 36px; border-radius: 20px 20px 0 0; color: white; background: var(--ink); }
.result-head h2 { margin-bottom: 7px; font-size: clamp(2.2rem,4vw,3.6rem); }
.result-head p:not(.eyebrow) { margin: 0; color: #aebdca; }
.traffic-light { min-width: 125px; display: grid; justify-items: center; gap: 8px; }
.traffic-light span { width: 61px; height: 61px; border-radius: 50%; box-shadow: 0 0 0 9px rgba(255,255,255,.08); }
.traffic-light b { color: #d1d9e1; font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; }
.traffic-light.verde span { background: #32d296; box-shadow: 0 0 35px rgba(50,210,150,.55); }
.traffic-light.amarillo span { background: var(--yellow); box-shadow: 0 0 35px rgba(255,214,92,.5); }
.traffic-light.rojo span { background: #ff5870; box-shadow: 0 0 35px rgba(255,88,112,.52); }
.metrics { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 20px 20px; background: white; }
.metric { padding: 23px; border-left: 1px solid var(--line); }
.metric:first-child { border-left: 0; }
.metric strong { display: block; font-size: 1.65rem; letter-spacing: -.04em; }
.metric span { color: var(--muted); font-size: .77rem; }
.result-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(300px,.6fr); gap: 20px; margin-top: 22px; }
.result-main, .result-side { display: grid; gap: 20px; align-content: start; }
.result-card { padding: 25px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.result-card h3 { margin-bottom: 18px; }
.card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.card-heading span { color: var(--muted); font-size: .78rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .85rem; }
th { padding: 10px; color: var(--muted); background: #f3f6f7; text-align: left; }
td { padding: 12px 10px; border-bottom: 1px solid #e5eaed; }
td.num, th.num { text-align: right; white-space: nowrap; }
.delta-up { color: var(--green); font-weight: 800; }
.delta-down { color: var(--red); font-weight: 800; }
.findings { display: grid; gap: 11px; }
.finding { padding: 17px; border-left: 4px solid #a8b5bd; border-radius: 8px; background: #f6f8f9; }
.finding.alta { border-color: var(--red); background: #fff1f3; }
.finding.media { border-color: #d89617; background: #fff8e8; }
.finding-top { display: flex; justify-content: space-between; gap: 15px; }
.finding-top span { height: fit-content; padding: 3px 7px; border-radius: 999px; color: white; background: var(--red); font-size: .66rem; font-weight: 900; text-transform: uppercase; }
.finding.media .finding-top span { background: #b57708; }
.finding p { margin: 8px 0 0; color: var(--muted); font-size: .86rem; }
.finding .evidence { color: var(--ink-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; }
.finding .question { padding-top: 9px; color: var(--ink); font-weight: 750; }
.empty-good { padding: 22px; border: 1px solid #b9e1d4; border-radius: 12px; color: #0a6351; background: #eafaf5; }
.impact-bars { display: grid; gap: 16px; }
.impact-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: .79rem; }
.impact-track { display: block; width: 100%; height: 10px; overflow: hidden; border: 0; border-radius: 999px; background: #edf1f3; appearance: none; }
.impact-track::-webkit-progress-bar { border-radius: 999px; background: #edf1f3; }
.impact-track::-webkit-progress-value { border-radius: 999px; background: linear-gradient(90deg,var(--cyan-dark),var(--cyan)); }
.impact-track::-moz-progress-bar { border-radius: 999px; background: linear-gradient(90deg,var(--cyan-dark),var(--cyan)); }
.result-side p { color: var(--muted); font-size: .88rem; }
.result-side label { margin-top: 15px; }
.result-side textarea { min-height: 110px; resize: vertical; }
.result-side .btn { width: 100%; margin-top: 15px; }
.result-side small { display: block; min-height: 1.3em; margin-top: 8px; color: var(--green); }
.scope-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 20px; padding: 25px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.scope-card ul { margin-bottom: 0; padding-left: 19px; color: var(--muted); font-size: .85rem; }
.scope-card li { margin-top: 6px; }
.report-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; }

.principle { display: grid; grid-template-columns: .35fr .85fr 1fr; gap: 60px; align-items: center; padding: 110px max(28px,calc((100vw - var(--max))/2)); color: white; background: var(--orange); }
.principle-number { font-size: clamp(8rem,16vw,15rem); font-weight: 900; line-height: .7; color: rgba(16,24,39,.16); }
.principle .eyebrow { color: var(--ink); }
.principle h2 { margin: 0; color: var(--ink); }
.principle-copy { padding: 29px; border: 1px solid rgba(255,255,255,.4); border-radius: 20px; background: rgba(16,24,39,.9); }
.principle-copy p { color: #d6dee6; }
.principle-copy ul { margin-bottom: 0; padding-left: 19px; }
.principle-copy li { margin-top: 8px; }
footer { display: flex; justify-content: space-between; gap: 30px; padding: 38px max(28px,calc((100vw - var(--max))/2)); color: #9eabb9; background: #0b111d; font-size: .8rem; }
footer div:first-child { display: grid; }
footer b { color: white; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .impact-map { min-height: 520px; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .feature-grid article:nth-child(2), .feature-grid article:nth-child(5) { transform: none; }
  .analysis-options { grid-template-columns: 1fr 1fr; }
  .analysis-options .btn { grid-column: 1 / -1; }
  .result-layout { grid-template-columns: 1fr; }
  .principle { grid-template-columns: .3fr 1fr; }
  .principle-copy { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .topbar { padding-inline: 16px; }
  .topbar nav a:not(.nav-cta) { display: none; }
  .brand small { display: none; }
  .hero, .promise, .analyzer, .principle { padding-inline: 18px; }
  .hero { min-height: auto; padding-block: 70px; }
  h1 { font-size: clamp(3.4rem,16vw,5rem); }
  .impact-map { min-height: 600px; }
  .node.source { left: 20px; top: 115px; }
  .node.core { top: 255px; }
  .node.target { right: 20px; top: 390px; }
  .node.target.second { top: 490px; }
  .flow-a { width: 90px; left: 38%; top: 205px; transform: rotate(55deg); }
  .flow-b { width: 90px; left: 52%; top: 330px; transform: rotate(55deg); }
  .flow-c, .check { display: none; }
  .feature-grid, .metrics, .scope-card { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 180px; }
  .feature-grid article span { margin-bottom: 26px; }
  .demo-bar { grid-template-columns: 1fr; }
  .upload-grid { grid-template-columns: 1fr; gap: 12px; }
  .compare-mark { min-height: 30px; }
  .analysis-options { grid-template-columns: 1fr; }
  .analysis-options .btn { grid-column: auto; }
  .result-head { align-items: flex-start; padding: 26px; }
  .metric { border-left: 0; border-top: 1px solid var(--line); }
  .metric:first-child { border-top: 0; }
  .principle { grid-template-columns: 1fr; gap: 30px; }
  .principle-number { display: none; }
  footer { flex-direction: column; }
}
@media print {
  .topbar, .hero, .promise, .demo-bar, .upload-shell, .principle, footer, .report-actions { display: none !important; }
  .analyzer { padding: 0; background: white; }
  .section-heading { display: none; }
  .results { margin: 0; }
  .result-card, .scope-card { break-inside: avoid; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
