:root {
  --brand: #235b5a;
  --brand-deep: #153f3e;
  --brand-soft: #e9f1f0;
  --ink: #172524;
  --muted: #5c6c6b;
  --line: #d8e1e0;
  --paper: #ffffff;
  --warm: #f6f7f4;
  --lime: #a9e86c;
  --gold: #ffd95c;
  --green: #44c96b;
  --radius: 26px;
  --shadow: 0 22px 60px rgba(22, 63, 62, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 42px)); margin-inline: auto; }

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(35, 91, 90, .11);
}
.topbar-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { width: 206px; height: auto; }
.brand-link { display: inline-flex; align-items: center; text-decoration: none; }
.parent-link { text-decoration: none; font-size: .93rem; color: var(--muted); white-space: nowrap; transition: color .2s ease; }
.parent-link:hover { color: var(--brand); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgba(169,232,108,.22), transparent 24%),
    radial-gradient(circle at 88% 75%, rgba(35,91,90,.13), transparent 28%),
    linear-gradient(180deg, #fbfcfa 0%, #f3f7f6 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(35,91,90,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(35,91,90,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to right, transparent, #000 40%, #000);
  pointer-events: none;
}
.hero-grid {
  min-height: 690px;
  display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 70px;
  padding-block: 80px;
  position: relative;
}
.eyebrow {
  margin: 0 0 18px;
  font-size: .78rem; line-height: 1.25; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--brand);
}
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.03em; }
h1 { font-size: clamp(3.35rem, 6vw, 6.2rem); max-width: 780px; margin-bottom: 26px; }
h2 { font-size: clamp(2.25rem, 4vw, 4.35rem); margin-bottom: 0; }
h3 { font-size: 1.35rem; }
.lead { font-size: clamp(1.08rem, 1.35vw, 1.3rem); max-width: 710px; color: #425452; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 999px;
  text-decoration: none; font-weight: 750; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: white; box-shadow: 0 12px 30px rgba(35,91,90,.23); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-secondary { border-color: rgba(35,91,90,.25); color: var(--brand); background: rgba(255,255,255,.6); }
.btn-secondary:hover { background: white; box-shadow: 0 12px 30px rgba(35,91,90,.09); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.hero-proof span { font-size: .82rem; font-weight: 700; padding: 7px 11px; border-radius: 999px; background: rgba(35,91,90,.08); color: var(--brand-deep); }

.hero-visual { position: relative; height: 520px; min-width: 0; }
.system-card {
  position: absolute; z-index: 4; width: 150px; padding: 15px 15px 14px;
  background: rgba(255,255,255,.93); border: 1px solid rgba(35,91,90,.14); border-radius: 18px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
}
.system-card .system-icon { grid-row: 1 / 3; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 1.25rem; }
.system-card strong { font-size: .94rem; }
.system-card small { color: var(--muted); font-size: .72rem; }
.system-pv { left: 12px; top: 48px; }
.system-bess { left: 0; bottom: 72px; }
.system-grid { right: 8px; top: 48px; }
.system-load { right: 0; bottom: 72px; }
.system-chp { left: 50%; transform: translateX(-50%); bottom: 0; }
.optimizer-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 6;
  width: 184px; height: 184px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; background: linear-gradient(145deg, #2b6d6b, #173f3e); color: white; box-shadow: 0 30px 80px rgba(21,63,62,.30), inset 0 0 0 1px rgba(255,255,255,.16);
}
.optimizer-core strong { font-size: 1.7rem; letter-spacing: -.03em; }
.optimizer-core small { opacity: .72; margin-top: 4px; }
.core-kicker { font-size: .66rem; font-weight: 850; letter-spacing: .17em; opacity: .72; margin-bottom: 3px; }
.core-orbit { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(35,91,90,.19); transform: translate(-50%,-50%); }
.orbit-1 { width: 300px; height: 300px; }
.orbit-2 { width: 410px; height: 410px; border-style: dashed; }
.energy-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; }
.energy-lines path { fill: none; stroke: rgba(35,91,90,.37); stroke-width: 2.2; stroke-dasharray: 8 8; animation: dash 10s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -120; } }

.section { padding: 110px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.section-heading { display: flex; align-items: flex-start; gap: 20px; }
.section-no { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(35,91,90,.25); color: var(--brand); font-size: .78rem; font-weight: 800; }
.section-heading .eyebrow { margin-bottom: 11px; }
.intro-copy { font-size: 1.16rem; color: #40504f; }
.intro-copy p { margin-top: 0; margin-bottom: 24px; }
.intro-copy strong { color: var(--brand-deep); }

.dark-section { color: white; background: var(--brand-deep); position: relative; overflow: hidden; }
.dark-section::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(255,255,255,.07); right: -170px; top: -140px; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018); }
.section-heading.light .section-no { color: #d8f5f0; border-color: rgba(255,255,255,.22); }
.section-heading.light .eyebrow { color: #9cd8ce; }
.section-heading.light { max-width: 850px; position: relative; z-index: 2; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 55px; position: relative; z-index: 2; }
.benefit { min-height: 255px; padding: 26px; border-radius: 22px; background: rgba(255,255,255,.065); border: 1px solid rgba(255,255,255,.10); }
.benefit-index { color: #9cd8ce; font-weight: 850; font-size: .76rem; letter-spacing: .12em; }
.benefit h3 { margin: 30px 0 12px; font-size: 1.3rem; }
.benefit p { color: rgba(255,255,255,.72); margin: 0; }

.applications-section { background: var(--warm); }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 46px; }
.chip-cloud span { background: white; border: 1px solid #d9e4e1; color: var(--brand-deep); padding: 12px 15px; border-radius: 999px; font-weight: 700; box-shadow: 0 5px 16px rgba(35,91,90,.04); }
.metrics-panel { margin-top: 60px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; border-radius: var(--radius); background: white; border: 1px solid var(--line); padding: 44px; box-shadow: 0 14px 50px rgba(35,91,90,.07); }
.metric-copy h3 { font-size: clamp(1.8rem,3vw,2.8rem); margin-bottom: 18px; }
.metric-copy p:last-child { color: var(--muted); margin-bottom: 0; }
.questions { display: grid; gap: 11px; }
.questions div { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.questions div:last-child { border-bottom: 0; }
.questions span { font-size: .75rem; font-weight: 850; color: var(--brand); width: 36px; height: 36px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; }
.questions p { margin: 0; font-weight: 700; color: #334441; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 55px; }
.timeline::before { content: ""; position: absolute; left: 5%; right: 5%; top: 29px; height: 1px; background: linear-gradient(90deg, var(--gold), var(--lime), var(--green), var(--brand)); }
.step { position: relative; z-index: 2; padding: 0 8px; }
.step span { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: white; color: var(--brand); border: 1px solid #cddedb; box-shadow: 0 8px 20px rgba(35,91,90,.09); font-weight: 850; }
.step h3 { margin: 24px 0 9px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

.output-section { background: #f8faf9; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.output-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: center; }
.output-card { border-radius: var(--radius); padding: 30px 34px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.output-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 17px; }
.output-card li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: start; color: #40504e; }
.output-card li span { color: var(--brand); font-weight: 900; }

.cta-section { background: var(--brand); color: white; padding: 78px 0; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.cta-inner .eyebrow { color: #bfe8e1; }
.cta-inner h2 { max-width: 850px; }
.cta-inner p:last-child { max-width: 760px; color: rgba(255,255,255,.76); margin-bottom: 0; }
.btn-inverse { background: white; color: var(--brand-deep); min-width: 230px; }
.btn-inverse:hover { box-shadow: 0 14px 30px rgba(8,35,34,.24); }

footer { padding: 38px 0; background: #102c2b; color: rgba(255,255,255,.72); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.footer-logo { width: 180px; filter: brightness(0) invert(1); opacity: .92; }
.footer-inner p { margin: 10px 0 0; font-size: .9rem; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: white; text-decoration: none; font-weight: 700; }
.footer-links a:hover { text-decoration: underline; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 70px; }
  .hero-visual { height: 500px; max-width: 660px; width: 100%; margin-inline: auto; }
  .split, .metrics-panel, .output-grid, .cta-inner { grid-template-columns: 1fr; gap: 42px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 25px; }
  .timeline::before { top: 0; bottom: 0; left: 28px; right: auto; width: 1px; height: auto; }
  .step { display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; padding: 0; }
  .step h3 { margin: 3px 0 7px; }
  .step p { grid-column: 2; }
  .btn-inverse { justify-self: start; }
}

@media (max-width: 650px) {
  .shell { width: min(100% - 28px, 1180px); }
  .topbar-inner { height: 70px; }
  .logo { width: 164px; }
  .parent-link { font-size: 0; }
  .parent-link strong { font-size: .85rem; }
  .parent-link span { font-size: .85rem; }
  h1 { font-size: clamp(2.7rem, 13vw, 4.25rem); }
  .hero-grid { min-height: auto; padding-block: 54px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero-visual { height: 430px; margin-top: 12px; }
  .optimizer-core { width: 150px; height: 150px; }
  .optimizer-core strong { font-size: 1.4rem; }
  .orbit-1 { width: 240px; height: 240px; }
  .orbit-2 { width: 320px; height: 320px; }
  .system-card { width: 126px; padding: 11px; grid-template-columns: 31px 1fr; column-gap: 7px; }
  .system-card .system-icon { width: 31px; height: 31px; font-size: 1rem; }
  .system-card strong { font-size: .78rem; }
  .system-card small { font-size: .61rem; }
  .system-pv { left: 0; top: 35px; }
  .system-grid { right: 0; top: 35px; }
  .system-bess { left: 0; bottom: 67px; }
  .system-load { right: 0; bottom: 67px; }
  .system-chp { bottom: 0; }
  .section { padding: 82px 0; }
  .section-heading { gap: 13px; }
  .section-no { width: 40px; height: 40px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit { min-height: 0; }
  .metrics-panel { padding: 27px 22px; }
  .cta-section { padding: 62px 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
