:root {
  --navy-950: #070e22;
  --navy-900: #0b1530;
  --navy-800: #13214a;
  --navy-700: #1d2f63;
  --blue: #2f74f5;
  --blue-soft: #e8f0ff;
  --green: #12b981;
  --green-dark: #0b9a6a;
  --green-soft: #e3f8ef;
  --ink: #0f172a;
  --body: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(11, 21, 48, .25);
  --shadow-lg: 0 30px 60px -20px rgba(11, 21, 48, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue); color: #fff; text-decoration: none; font-weight: 700;
  padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 8px 20px -8px rgba(47, 116, 245, .7);
}
.btn:hover { transform: translateY(-1px); background: #1f63e4; }
.btn-sm { padding: 9px 18px; font-size: .92rem; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-green { background: var(--green); box-shadow: 0 8px 20px -8px rgba(18, 185, 129, .7); }
.btn-green:hover { background: var(--green-dark); }
.btn-block { width: 100%; }
.link { font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.08rem; letter-spacing: -.01em; }
.brand img { border-radius: 10px; }
.brand.light { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px;
  background: radial-gradient(900px 500px at 85% 10%, var(--blue-soft), transparent 70%),
              radial-gradient(700px 400px at 0% 100%, var(--green-soft), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--blue); margin-bottom: 14px; }
.eyebrow.green { color: var(--green); }
.eyebrow.blue { color: var(--blue); }
.accent { background: linear-gradient(90deg, var(--blue), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.18rem; max-width: 560px; }
.lead strong { color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-weight: 600; color: var(--ink); font-size: .95rem; }
.hero-points li::before { content: ""; display: inline-block; width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.hero-photo { position: relative; justify-self: center; width: min(420px, 100%); }
.hero-photo > img { border-radius: 28px; aspect-ratio: 4/5; object-fit: cover; object-position: center 15%; box-shadow: var(--shadow-lg); width: 100%; }
.photo-badge { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.25; }
.photo-badge strong { display: block; color: var(--ink); }
.photo-badge small { color: var(--body); }
.photo-badge-1 { left: -36px; top: 18%; }
.photo-badge-2 { right: -30px; bottom: 12%; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot-blue { background: var(--blue); box-shadow: 0 0 0 5px var(--blue-soft); }
.dot-green { background: var(--green); box-shadow: 0 0 0 5px var(--green-soft); }

/* Affiliations */
.affil { background: var(--navy-900); color: #c8d3ea; font-size: .92rem; }
.affil-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; padding: 18px 0; text-align: center; }
.affil strong { color: #fff; }
.sep { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: #c8d3ea; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head p:last-child { font-size: 1.08rem; }

.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sol-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.sol-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; }
.sol-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sol-icon.blue { background: var(--blue-soft); color: var(--blue); }
.sol-icon.green { background: var(--green-soft); color: var(--green-dark); }
.sol-icon circle { fill: currentColor; stroke: none; }

.checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink); font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b9a6a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks.sm li { font-size: .95rem; }
.checks.light li { color: #e3e9f6; }
.checks.light li::before { background-color: rgba(18,185,129,.18); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); position: relative; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy-900); color: #fff; font-weight: 800; margin-bottom: 18px; }
.steps p { margin: 0; }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.mini { background: var(--bg-alt); border-radius: 14px; padding: 22px; }
.mini h3 { font-size: 1.02rem; }
.mini p { margin: 0; font-size: .95rem; }
.mini strong { color: var(--ink); }
.compare { display: grid; gap: 18px; }
.compare-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; box-shadow: var(--shadow); }
.compare-card .checks { margin: 0; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }

/* Receipt */
.receipt { background: #fff; color: var(--ink); border-radius: 20px; padding: 30px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); max-width: 400px; justify-self: center; width: 100%; font-variant-numeric: tabular-nums; }
.receipt-head { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--body); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px dashed var(--line); }
.r-row { display: flex; justify-content: space-between; padding: 9px 0; font-weight: 600; }
.r-row.muted { color: var(--green-dark); }
.r-row.strong { font-size: 1.15rem; font-weight: 800; }
.r-divider { border-top: 2px dashed var(--line); margin: 10px 0; }
.green-text { color: var(--green-dark); }
.r-note { font-size: .78rem; color: var(--body); margin: 12px 0 0; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
.field { display: block; margin-bottom: 28px; }
.field-top { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.field-top output { color: var(--blue); font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--blue); height: 6px; cursor: pointer; }
.fine { font-size: .82rem; margin: 0; }
.calc-result { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: #c8d3ea; border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.res-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-variant-numeric: tabular-nums; }
.res-row strong { color: #fff; }
.res-total { margin: 16px 0 20px; }
.res-total span { display: block; font-size: .9rem; }
.res-total strong { display: block; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--green); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc-result .btn { margin-top: auto; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips span { background: #fff; border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; font-weight: 600; color: var(--ink); font-size: .95rem; }

/* About */
.about { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: center; }
.about-photo { border-radius: 24px; aspect-ratio: 1/1.15; object-fit: cover; object-position: center 20%; box-shadow: var(--shadow-lg); }
.about strong { color: var(--ink); }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.role { border-left: 4px solid var(--blue); background: var(--bg-alt); padding: 16px 18px; border-radius: 0 12px 12px 0; }
.role + .role { border-left-color: var(--green); }
.role strong { display: block; }
.role span { font-size: .9rem; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); padding: 20px 30px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue); font-weight: 500; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 20px; margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.08rem; word-break: break-word; }
.contact-list a:hover { color: var(--green); }
.contact-list small { color: #93a3c4; }
.ci { width: 42px; height: 42px; flex: none; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.ci svg { width: 20px; height: 20px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: background .15s; }
.socials a:hover { background: var(--blue); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.form { background: #fff; border-radius: 22px; padding: 32px; color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input:not([type="checkbox"]), .form textarea { font: inherit; font-weight: 500; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; width: 100%; color: var(--ink); background: #fff; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.form .invalid { border-color: #e11d48 !important; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
legend { font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.form .check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--green); }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-size: .92rem; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--green-dark); }
.form-status.err { color: #e11d48; }

/* Footer */
.footer { background: var(--navy-950); color: #93a3c4; padding: 48px 0 32px; font-size: .9rem; }
.foot-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 22px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-links a { color: #c8d3ea; text-decoration: none; }
.foot-links a:hover { color: #fff; }
.disclaimer { font-size: .8rem; line-height: 1.6; max-width: 900px; }
.copy { margin: 0; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .split, .about, .contact, .calc { grid-template-columns: 1fr; }
  .hero-photo { width: min(360px, 80%); }
  .about-photo { max-width: 340px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 64px; }
  .cards-2, .two-col, .roles, .row-2 { grid-template-columns: 1fr; }
  .sol-card, .calc, .form { padding: 24px; }
  .photo-badge { font-size: .8rem; padding: 10px 12px; }
  .photo-badge-1 { left: -12px; }
  .photo-badge-2 { right: -12px; }
  .sep { display: none; }
  .affil-row { flex-direction: column; gap: 6px; }
  .hero-ctas .btn { flex: 1 1 100%; }
}
