/* Sun Technology — platform site. Brand: navy #0B1836, sun #FAC400, slate #5A6274, logo blue #004C9C. One face: Manrope.
   Shape language: soft blocks (28px), soft pictures (24px), pill controls. Drawings: flat fills, brand colours, three levels of detail. */
:root {
  --navy: #0B1836;
  --navy-2: #16295a;
  --ink: #0B1836;
  --muted: #5A6274;
  --sun: #FAC400;
  --sun-2: #e9b600;
  --sun-soft: #fff1bf;
  --blue: #004C9C;
  --sky: #dcebf9;
  --bg: #ffffff;
  --surface: #f1f4f9;
  --surface-2: #e5ebf3;
  --on-dark-2: #c3cbdc;

  --f: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --t-h2: clamp(32px, 3.9vw, 58px);
  --t-h3: clamp(21px, 1.7vw, 26px);
  --t-body: 18px;
  --t-small: 15px;

  --r: 28px;
  --r-img: 24px;
  --r-s: 18px;
  --m: clamp(16px, 3.2vw, 48px);
  --gap: clamp(88px, 10vw, 160px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: var(--t-body); line-height: 1.55; font-weight: 500; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--navy); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--m); }
.section { margin-top: var(--gap); }

.h2 { font-size: var(--t-h2); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.lede { font-size: 20px; line-height: 1.5; max-width: 40ch; }
.muted { color: var(--muted); }
.bar-mark { display: block; width: 52px; height: 6px; border-radius: 3px; background: var(--sun); margin-bottom: 22px; transform-origin: left; transition: transform .8s var(--ease) .15s; }
.js .reveal:not(.in) .bar-mark { transform: scaleX(0); }

/* controls: pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 700 16px/1 var(--f); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: transform .2s var(--spring), background-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-sun { background: var(--sun); color: var(--navy); }
.btn-sun:hover { background: var(--sun-2); }
.btn-ink { background: var(--navy); color: #fff; }
.btn-ink:hover { background: var(--blue); }
.btn-soft { background: var(--surface); color: var(--navy); }
.btn-soft:hover { background: var(--surface-2); }
.btn-white { background: #fff; color: var(--navy); }
.link { font-weight: 700; color: var(--blue); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link::after { content: "→"; transition: transform .25s var(--ease); }
.link:hover::after { transform: translateX(5px); }

/* header: a plain white bar */
.hdr { position: sticky; top: 0; z-index: 50; background: #fff; transition: transform .35s var(--ease); }
.hdr.hide { transform: translateY(-100%); }
.hdr-in { max-width: var(--max); margin: 0 auto; padding: 14px var(--m); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 46px; height: 40px; overflow: visible; }
.rays { transform-origin: 24px 17px; animation: spin 40s linear infinite; }
.brand:hover .rays { animation-duration: 5s; }
@keyframes spin { to { transform: rotate(360deg); } }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-size: 20px; font-weight: 800; font-style: italic; letter-spacing: -.02em; color: var(--blue); }
.brand-text small { font-size: 13px; font-weight: 500; color: var(--blue); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 999px; font-size: 16px; font-weight: 700; text-decoration: none; transition: background-color .2s; }
.nav a:hover { background: var(--surface); }
.nav a[aria-current="page"] { background: var(--sun-soft); }
.hdr-end { display: flex; align-items: center; gap: 10px; }
.lang { font-weight: 700; font-size: 15px; text-decoration: none; padding: 10px 12px; border-radius: 999px; }
.lang:hover { background: var(--surface); }
.hdr .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.menu-btn { display: none; }

.sheet { position: fixed; inset: 0; z-index: 60; background: var(--navy); color: #fff; padding: 20px 16px 32px; display: flex; flex-direction: column; gap: 24px; transform: translateY(-102%); transition: transform .45s var(--ease), visibility 0s .45s; visibility: hidden; overflow-y: auto; }
.sheet.open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.sheet-top { display: flex; justify-content: space-between; align-items: center; }
.sheet nav { display: grid; gap: 4px; }
.sheet nav a { font-size: 30px; font-weight: 800; letter-spacing: -.03em; text-decoration: none; padding: 6px 0; }
.sheet nav a[aria-current="page"] { color: var(--sun); }
.sheet .btn { width: 100%; }
.sheet-close { background: var(--navy-2); color: #fff; border: 0; border-radius: 999px; min-height: 44px; padding: 0 18px; font-weight: 700; cursor: pointer; }

/* page head (inner pages) */
.phead { margin-top: 20px; }
.phead-in { background: var(--surface); border-radius: var(--r); padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 4vw, 64px); align-items: center; overflow: hidden; }
.phead h1 { font-size: clamp(40px, 5.2vw, 84px); line-height: .98; letter-spacing: -.045em; font-weight: 800; }
.phead .lede { margin-top: 22px; }
.phead-art { width: 100%; height: auto; max-height: 360px; overflow: visible; }
.crumbs { display: flex; gap: 8px; font-size: var(--t-small); color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

/* HOME hero */
.hero { margin-top: 12px; }
.hero-in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(46px, 5.6vw, 92px); line-height: .96; letter-spacing: -.048em; font-weight: 800; }
.hero .lede { margin-top: 24px; }
.hero-act { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-facts li { background: var(--surface); border-radius: 999px; padding: 8px 16px; font-size: var(--t-small); font-weight: 700; }

.scene { border-radius: var(--r); overflow: hidden; background: var(--sky); position: relative; }
.scene svg { display: block; width: 100%; height: auto; }
.scene-bar { background: var(--navy); color: #fff; padding: 18px 22px 20px; display: grid; gap: 10px; }
.scene-read { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: baseline; }
.scene-read b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.scene-read span { color: var(--on-dark-2); font-size: var(--t-small); }
.scene-flow { color: var(--sun); font-weight: 700; font-size: var(--t-small); }
.scene-ctl { display: flex; align-items: center; gap: 14px; }
.scene-ctl label { font-size: var(--t-small); color: var(--on-dark-2); white-space: nowrap; }
.scene-now { flex: none; background: var(--navy-2); color: #fff; border: 0; border-radius: 999px; min-height: 38px; padding: 0 16px; font-weight: 700; font-size: 14px; cursor: pointer; transition: background-color .2s; }
.scene-now:hover { background: var(--blue); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--navy-2); }
.range::-moz-range-track { height: 6px; border-radius: 3px; background: var(--navy-2); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--sun); border: 0; transition: transform .15s var(--spring); }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--sun); border: 0; }
.range:active::-webkit-slider-thumb { transform: scale(1.2); }

/* scene drawing parts */
.s-sky { transition: fill 1.2s var(--ease); }
.s-far, .s-near, .s-sea, .s-ground { transition: fill 1.2s var(--ease); }
.s-stars { opacity: 0; transition: opacity 1.2s; }
.night .s-stars { opacity: 1; }
.s-stars circle { animation: twinkle 3s ease-in-out infinite; }
.s-stars circle:nth-child(3n) { animation-delay: 1s; } .s-stars circle:nth-child(3n+1) { animation-delay: 2s; }
@keyframes twinkle { 50% { opacity: .3; } }
.s-sun { transition: opacity .6s; }
.s-sun .rays2 { animation: spin 30s linear infinite; transform-origin: 0 0; }
.s-moon { opacity: 0; transition: opacity 1s; }
.night .s-moon { opacity: 1; }
.s-win { fill: #1d3a6e; transition: fill .8s; }
.night .s-win, .dusk .s-win { fill: #ffd84d; }
.s-glint { animation: glint 7s var(--ease) infinite; }
@keyframes glint { 0%, 55% { transform: translateX(-60px); opacity: 0; } 62% { opacity: .85; } 82%, 100% { transform: translateX(200px); opacity: 0; } }
.night .s-glint { display: none; }
.s-ripple { animation: ripple 4s ease-in-out infinite; }
.s-ripple.r2 { animation-delay: -2s; }
@keyframes ripple { 50% { transform: translateX(12px); } }
.s-bird { animation: bob 2.4s ease-in-out infinite; transform-box: fill-box; }
@keyframes bob { 50% { transform: translateY(-2px); } }
.s-cloud { animation: drift 70s linear infinite; }
.s-cloud.c2 { animation-duration: 100s; animation-delay: -50s; }
@keyframes drift { from { transform: translateX(-260px); } to { transform: translateX(900px); } }
.night .s-cloud { opacity: .25; }
.s-path { fill: none; stroke: rgba(11, 24, 54, .16); stroke-width: 5; stroke-linecap: round; }
.night .s-path { stroke: rgba(255, 255, 255, .16); }
.s-dot { fill: var(--sun); opacity: 0; transition: opacity .4s; }
.s-dot.buy { fill: #9fb3d1; }
.s-dot.on { opacity: 1; }
.s-lvl { transition: height .8s var(--ease), y .8s var(--ease); }

/* path of the work (home) */
.route-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.route-head .lede { max-width: 44ch; }
.route-track { position: relative; margin-top: 56px; }
.route-line { position: absolute; left: 0; top: 0; width: 100%; height: 260px; overflow: visible; pointer-events: none; }
.route-line path { fill: none; stroke-width: 6; stroke-linecap: round; }
.route-line .bg { stroke: var(--surface-2); }
.route-line .fg { stroke: var(--sun); }
.stops { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stop { display: grid; gap: 14px; align-content: start; text-decoration: none; }
.stop-art { width: 150px; height: 150px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; transition: transform .35s var(--spring), background-color .3s; }
.stop-art svg { width: 112px; height: 112px; overflow: visible; }
.stop:hover .stop-art { transform: translateY(-6px) rotate(-4deg); background: var(--sun-soft); }
.stops li:nth-child(even) .stop { margin-top: 70px; }
.stop h3 { font-size: var(--t-h3); font-weight: 800; letter-spacing: -.02em; }
.stop p { color: var(--muted); max-width: 30ch; }
.stop .go { font-weight: 700; color: var(--blue); }

/* roofs mosaic (home) */
.roofs-in { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: start; }
.roofs-text { grid-column: 1 / 5; position: sticky; top: 120px; }
.roofs-text p { margin-top: 20px; }
.roofs-text .link { margin-top: 26px; }
.roofs-grid { grid-column: 5 / 13; display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.pic { border-radius: var(--r-img); overflow: hidden; position: relative; background: var(--surface); }
.pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pic:hover img { transform: scale(1.04); }
.pic .cap { position: absolute; left: 14px; bottom: 14px; background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 700; color: var(--ink); }
.roofs-grid .pic:nth-child(1) { grid-row: span 2; aspect-ratio: 4 / 5; }
.roofs-grid .pic:nth-child(2), .roofs-grid .pic:nth-child(3) { aspect-ratio: 4 / 3; }
.roofs-grid .pic:nth-child(4) { grid-column: 1 / -1; aspect-ratio: 21 / 8; }

/* savings band */
.band { background: var(--navy); color: #fff; border-radius: var(--r); padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 88px); align-items: center; position: relative; overflow: hidden; }
.band .lede { color: var(--on-dark-2); margin-top: 18px; }
.band .link { color: var(--sun); margin-top: 24px; }
.band-sun { position: absolute; left: -100px; bottom: -120px; width: 320px; height: 320px; opacity: .22; pointer-events: none; }
.calc { background: var(--navy-2); border-radius: var(--r-s); padding: clamp(22px, 3vw, 40px); position: relative; }
.calc-bill { font-size: clamp(48px, 5vw, 76px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--sun); font-variant-numeric: tabular-nums; }
.calc-cap { color: var(--on-dark-2); font-weight: 600; margin-top: 6px; display: block; }
.calc .range { margin: 18px 0 6px; }
.calc .range::-webkit-slider-runnable-track { background: #2a4180; }
.calc .range::-moz-range-track { background: #2a4180; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-top: 22px; }
.calc-out dt { font-size: var(--t-small); color: var(--on-dark-2); }
.calc-out dd { font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc-note { margin-top: 18px; font-size: 14px; color: var(--on-dark-2); }
.calc .btn { margin-top: 24px; }

/* platform teaser */
.plat-in { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.plat-text p { margin-top: 20px; max-width: 46ch; }
.ticks { margin: 26px 0 32px; display: grid; gap: 12px; font-weight: 700; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.2 3.2L16 8' fill='none' stroke='%230B1836' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.device { background: var(--surface); border-radius: var(--r); padding: clamp(20px, 3vw, 40px); }
.ui { display: block; text-decoration: none; background: #fff; border-radius: var(--r-s); padding: 22px; font-size: 14px; color: var(--ink); transition: transform .4s var(--spring); }
.ui:hover { transform: translateY(-4px) rotate(-.4deg); }
.ui-top { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.ui-top svg { width: 28px; height: 24px; }
.ui-top .tag { margin-left: auto; font-size: 12px; color: #1a6b3c; background: #e3f4ea; padding: 4px 10px; border-radius: 999px; }
.ui-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.ui-flow div { background: var(--surface); border-radius: 14px; padding: 12px; display: grid; gap: 2px; }
.ui-flow small, .ui-kpi small { color: var(--muted); font-size: 12px; font-weight: 600; }
.ui-flow b { font-size: 19px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ui-flow div:first-child { background: var(--sun-soft); }
.ui-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.ui-kpi b { display: block; font-size: 28px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ui-bars { display: flex; align-items: end; gap: 5px; height: 100px; margin-top: 18px; }
.ui-bars i { flex: 1; height: calc(var(--h) * 1%); background: var(--sun); border-radius: 5px 5px 2px 2px; transform-origin: bottom; }
.in .ui-bars i { animation: grow .9s var(--spring) both; }
.ui-bars i:nth-child(2n) { animation-delay: .06s; } .ui-bars i:nth-child(3n) { animation-delay: .12s; }
@keyframes grow { from { transform: scaleY(0); } }

/* closing call */
.cta { background: var(--sun); border-radius: var(--r); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta h2 { max-width: 16ch; }
.cta p { margin-top: 14px; max-width: 46ch; font-weight: 600; }
.cta-act { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.cta-art { position: absolute; right: 30%; bottom: -8px; width: 200px; pointer-events: none; }

/* SYSTEMS */
.kits { display: grid; grid-template-columns: 4fr 7fr; gap: 24px; align-items: start; }
.kit-tabs { display: grid; gap: 8px; position: sticky; top: 110px; }
.kit-tab { text-align: left; background: var(--surface); border: 0; border-radius: var(--r-s); padding: 18px 22px; cursor: pointer; display: grid; gap: 2px; transition: background-color .2s, transform .25s var(--spring); }
.kit-tab b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.kit-tab span { color: var(--muted); font-size: var(--t-small); font-weight: 600; }
.kit-tab:hover { transform: translateX(4px); }
.kit-tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.kit-tab[aria-selected="true"] span { color: var(--on-dark-2); }
.kit-panel { background: var(--surface); border-radius: var(--r); padding: clamp(24px, 3vw, 44px); display: grid; gap: 22px; }
.kit-panel[hidden] { display: none; }
.kit-top { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.kit-img { background: #fff; border-radius: var(--r-img); aspect-ratio: 3 / 2; object-fit: contain; width: 100%; }
.kit-panel h3 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.kit-panel .for { margin-top: 10px; }
.kit-spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kit-spec div { background: #fff; border-radius: var(--r-s); padding: 16px 18px; }
.kit-spec dt { color: var(--muted); font-size: 14px; font-weight: 600; }
.kit-spec dd { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.kit-chain { background: #fff; border-radius: var(--r-s); padding: 18px; }
.kit-chain svg { width: 100%; height: auto; display: block; }

.schemes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.scheme { border-radius: var(--r); padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: start; background: var(--surface); }
.scheme:nth-child(2) { background: var(--sun-soft); }
.scheme:nth-child(3) { background: var(--navy); color: #fff; }
.scheme:nth-child(3) li { color: var(--on-dark-2); }
.scheme:nth-child(4) { background: var(--surface-2); }
.scheme svg { width: 150px; height: 150px; overflow: visible; }
.scheme h3 { font-size: var(--t-h3); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.scheme ul { display: grid; gap: 8px; font-size: 17px; }
.scheme li { display: flex; gap: 10px; }
.scheme li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-top: 10px; opacity: .55; }

.brands { display: grid; grid-template-columns: 4fr 7fr; gap: 32px; align-items: center; }
.brands p { margin-top: 16px; }
.brand-list { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-list li { background: var(--surface); border-radius: 999px; padding: 14px 24px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; transition: transform .25s var(--spring), background-color .2s; }
.brand-list li:hover { transform: translateY(-3px); background: var(--sun-soft); }
.brand-list li small { font-weight: 600; font-size: 14px; color: var(--muted); margin-left: 8px; letter-spacing: 0; }

/* SAVINGS */
.sv { display: grid; grid-template-columns: 6fr 5fr; gap: 24px; align-items: start; }
.sv-form { background: var(--surface); border-radius: var(--r); padding: clamp(24px, 3vw, 44px); display: grid; gap: 30px; }
.sv-field { display: grid; gap: 6px; }
.sv-field > label, .seg legend { font-weight: 700; }
.sv-val { font-size: clamp(40px, 4vw, 60px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.sv-form .range::-webkit-slider-runnable-track { background: var(--surface-2); }
.sv-form .range::-moz-range-track { background: var(--surface-2); }
.sv-form .range::-webkit-slider-thumb { background: var(--navy); }
.sv-form .range::-moz-range-thumb { background: var(--navy); }
.sv-ends { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; }
.seg legend { margin-bottom: 10px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; background: #fff; border-radius: 999px; font-size: 16px; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, transform .2s var(--spring); }
.chip span svg { width: 32px; height: 26px; flex: none; }
.chip:hover span { transform: translateY(-2px); }
.chip input:checked + span { background: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.sv-res { background: var(--navy); color: #fff; border-radius: var(--r); padding: clamp(24px, 3vw, 44px); position: sticky; top: 110px; display: grid; gap: 22px; }
.sv-big { font-size: clamp(56px, 6vw, 96px); font-weight: 800; letter-spacing: -.05em; line-height: .95; font-variant-numeric: tabular-nums; }
.sv-res .cap { color: var(--on-dark-2); font-weight: 600; margin-top: 8px; }
.sv-split { display: grid; gap: 10px; }
.sv-split-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--navy-2); }
.sv-split-bar i { display: block; height: 100%; transition: width .6s var(--ease); }
.sv-split-bar .a { background: var(--sun); }
.sv-split-bar .b { background: #7fa6dd; }
.sv-key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--on-dark-2); }
.sv-key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.sv-res dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sv-res dt { font-size: 14px; color: var(--on-dark-2); }
.sv-res dd { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.sv-res .calc-note { margin: 0; }

.explain { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ex { border-radius: var(--r); background: var(--surface); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; align-content: start; }
.ex:nth-child(2) { background: var(--sun-soft); }
.ex svg { width: 100%; height: auto; }
.ex h3 { font-size: var(--t-h3); font-weight: 800; letter-spacing: -.02em; }
.ex p { max-width: 52ch; }

.faq-in { display: grid; grid-template-columns: 4fr 7fr; gap: 32px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: var(--r-s); padding: 4px 24px; transition: background-color .25s; }
.faq details[open] { background: var(--sun-soft); padding-bottom: 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-size: 20px; font-weight: 700; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 22px; line-height: 1; transition: transform .3s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 60ch; font-size: 17px; }

/* PROJECTS */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { border: 0; background: var(--surface); border-radius: 999px; min-height: 46px; padding: 0 20px; font-weight: 700; font-size: 16px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background-color .2s, transform .2s var(--spring); }
.filters button:hover { transform: translateY(-2px); }
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.filters button b { font-size: 13px; background: #fff; color: var(--navy); border-radius: 999px; padding: 1px 8px; }
.gallery { margin-top: 28px; columns: 3 320px; column-gap: 20px; }
.gallery .pic { break-inside: avoid; margin-bottom: 20px; cursor: zoom-in; border: 0; padding: 0; width: 100%; display: block; animation: rise .6s var(--ease) both; }
.gallery .pic.out { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(11, 24, 54, .88); }
.lightbox img { border-radius: var(--r-img); max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox p { color: #fff; text-align: center; margin-top: 14px; font-weight: 700; }
.lightbox form { position: absolute; top: 12px; right: 12px; }
.lightbox button { background: #fff; border: 0; border-radius: 999px; min-height: 40px; padding: 0 16px; font-weight: 700; cursor: pointer; }

/* MONITORING */
.pipe { background: var(--navy); border-radius: var(--r); padding: clamp(24px, 4vw, 56px); color: #fff; }
.pipe svg { width: 100%; height: auto; display: block; }
.pipe-cap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 22px; }
.pipe-cap b { display: block; font-size: 18px; }
.pipe-cap span { color: var(--on-dark-2); font-size: var(--t-small); }
.feat { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.feat-item { grid-column: span 4; background: var(--surface); border-radius: var(--r); padding: 28px; display: grid; gap: 14px; align-content: start; }
.feat-item:nth-child(1) { grid-column: span 7; background: var(--sun-soft); }
.feat-item:nth-child(2) { grid-column: span 5; }
.feat-item:nth-child(5) { background: var(--surface-2); }
.feat-item h3 { font-size: var(--t-h3); font-weight: 800; letter-spacing: -.02em; }
.feat-item p { max-width: 46ch; }
.mini { background: #fff; border-radius: var(--r-s); padding: 8px 16px; font-size: 14px; }
.mini-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; }
.mini-row + .mini-row { border-top: 1px solid var(--surface-2); }
.mini-row b { font-variant-numeric: tabular-nums; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pill.ok { background: #e3f4ea; color: #1a6b3c; }
.pill.warn { background: #fff1dc; color: #8a4b00; }

/* CONTACT */
.ct { display: grid; grid-template-columns: 7fr 4fr; gap: 24px; align-items: start; }
.form { background: var(--surface); border-radius: var(--r); padding: clamp(24px, 3vw, 44px); display: grid; gap: 24px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f { display: grid; gap: 8px; font-weight: 700; font-size: 16px; }
.f input, .f textarea { font: 500 17px/1.4 var(--f); color: var(--ink); background: #fff; border: 2px solid transparent; padding: 13px 18px; border-radius: 16px; min-height: 52px; width: 100%; transition: border-color .2s; }
.f input:hover, .f textarea:hover { border-color: var(--surface-2); }
.f input:focus, .f textarea:focus { border-color: var(--navy); outline: none; }
.f small { font-weight: 500; color: var(--muted); font-size: 14px; }
.drop { background: #fff; border-radius: 18px; padding: 18px; display: flex; gap: 16px; align-items: center; cursor: pointer; transition: background-color .2s, transform .2s var(--spring); position: relative; font-weight: 500; }
.drop:hover, .drop.over { background: var(--sun-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop svg { width: 56px; height: 56px; flex: none; }
.drop b { display: block; font-weight: 700; }
.f-send { justify-self: start; }
.f-status { font-weight: 700; min-height: 1.5em; }
.f-status.ok { color: #1a6b3c; }
.f-status.err { color: #b3261e; }
.hp { position: absolute; left: -9999px; }
.side { display: grid; gap: 16px; position: sticky; top: 110px; }
.side-card { background: var(--navy); color: #fff; border-radius: var(--r); padding: 28px; display: grid; gap: 14px; }
.side-card h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.side-card .tel { font-size: 28px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; color: var(--sun); }
.side-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.side-card dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.side-card dt { color: var(--on-dark-2); }
.side-card .soc { display: flex; gap: 8px; flex-wrap: wrap; }
.side-card .soc a { background: var(--navy-2); border-radius: 999px; padding: 8px 16px; text-decoration: none; font-weight: 700; font-size: 15px; transition: background-color .2s; }
.side-card .soc a:hover { background: var(--blue); }
.next { background: var(--surface); border-radius: var(--r); padding: 28px; }
.next h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.next ol { display: grid; gap: 18px; margin-top: 16px; }
.next li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.next li svg { width: 48px; height: 48px; }
.next li b { display: block; }
.next li span { color: var(--muted); font-size: var(--t-small); }

/* LOGIN */
.login { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; margin-top: 20px; min-height: min(760px, calc(100svh - 120px)); }
.login-art { background: var(--navy); border-radius: var(--r); overflow: hidden; display: grid; align-content: end; color: #fff; padding: 32px; position: relative; min-height: 420px; }
.login-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.login-art p { position: relative; font-size: 22px; font-weight: 700; max-width: 26ch; }
.login-box { background: var(--surface); border-radius: var(--r); padding: clamp(28px, 4vw, 64px); display: grid; align-content: center; gap: 20px; }
.login-box h1 { font-size: clamp(36px, 3.6vw, 54px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.login-box form { display: grid; gap: 16px; margin-top: 8px; }
.login-box .btn { width: 100%; }
.demo-note { background: #fff; border-radius: var(--r-s); padding: 14px 18px; font-size: 15px; }

/* footer */
.foot { margin-top: var(--gap); background: var(--navy); color: #fff; border-radius: var(--r) var(--r) 0 0; overflow: hidden; }
.foot-in { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--m) 32px; }
.foot-top { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; }
.foot-name { font-size: clamp(44px, 6vw, 96px); font-weight: 800; font-style: italic; letter-spacing: -.05em; line-height: .95; }
.foot-slogan { font-size: 20px; font-weight: 600; color: var(--on-dark-2); margin-top: 14px; }
.foot-reach { margin-top: 32px; display: grid; gap: 6px; }
.foot-reach a { color: var(--sun); font-size: clamp(24px, 2vw, 30px); font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.foot-reach a:hover { color: #fff; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-content: start; }
.foot-cols h2 { font-size: 15px; color: var(--on-dark-2); font-weight: 600; margin-bottom: 12px; }
.foot-cols ul { display: grid; gap: 10px; }
.foot-cols a { text-decoration: none; font-weight: 700; }
.foot-cols a:hover { color: var(--sun); }
.foot-legal { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; font-size: 14px; color: var(--on-dark-2); }
.foot-legal a { color: var(--on-dark-2); }
.foot-art { width: 100%; height: auto; display: block; margin-top: 40px; }

/* entrances: parts rise in turn */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .stagger.in > * { opacity: 1; transform: none; }
.js .stagger.in > *:nth-child(2) { transition-delay: .08s; } .js .stagger.in > *:nth-child(3) { transition-delay: .16s; }
.js .stagger.in > *:nth-child(4) { transition-delay: .24s; } .js .stagger.in > *:nth-child(5) { transition-delay: .32s; }
.js .stagger.in > *:nth-child(6) { transition-delay: .4s; }
.js .draw .d { stroke-dasharray: var(--len, 700); stroke-dashoffset: var(--len, 700); transition: stroke-dashoffset 1.6s var(--ease) .1s; }
.js .draw.in .d { stroke-dashoffset: 0; }
.pop { transform-box: fill-box; transform-origin: center; }
.js .draw .pop { transform: scale(0); transition: transform .6s var(--spring) .3s; }
.js .draw.in .pop { transform: none; }

/* small drawing motions */
.wob { animation: wob 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom center; }
@keyframes wob { 50% { transform: rotate(-5deg); } }
.float { animation: float 4s ease-in-out infinite; transform-box: fill-box; }
@keyframes float { 50% { transform: translateY(-5px); } }
.blink { animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.charge { animation: charge 3.2s var(--ease) infinite; transform-box: fill-box; transform-origin: bottom; }
@keyframes charge { 0% { transform: scaleY(.12); } 70%, 100% { transform: scaleY(1); } }
.arrow-r { animation: ar 2s var(--ease) infinite; }
.arrow-l { animation: al 2s var(--ease) infinite 1s; }
@keyframes ar { 0% { transform: translateX(-10px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(14px); opacity: 0; } }
@keyframes al { 0% { transform: translateX(10px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(-14px); opacity: 0; } }
.coin { animation: coin 2.8s var(--ease) infinite; transform-box: fill-box; }
@keyframes coin { 0% { transform: translateY(-28px); opacity: 0; } 30% { opacity: 1; } 60%, 100% { transform: none; opacity: 1; } }
.wave { animation: wave 2.2s ease-out infinite; transform-box: fill-box; transform-origin: center bottom; opacity: 0; }
.wave.w2 { animation-delay: .45s; } .wave.w3 { animation-delay: .9s; }
@keyframes wave { 0% { opacity: 0; transform: scale(.6); } 40% { opacity: 1; } 100% { opacity: 0; transform: scale(1.1); } }
.pkt { fill: var(--sun); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .reveal, .js .stagger > * { opacity: 1; transform: none; transition: none; }
  .js .draw .d { stroke-dashoffset: 0; transition: none; }
  .js .draw .pop { transform: none; }
}

/* tablet */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hdr-end { margin-left: auto; }
  .hero-in, .plat-in, .band, .phead-in, .sv, .ct, .kits, .brands, .faq-in, .login { grid-template-columns: 1fr; }
  .roofs-text { grid-column: 1 / -1; position: static; }
  .roofs-grid { grid-column: 1 / -1; }
  .stops { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stops li:nth-child(even) .stop { margin-top: 0; }
  .route-line { display: none; }
  .schemes, .explain { grid-template-columns: 1fr; }
  .kit-tabs, .sv-res, .side { position: static; }
  .kit-tabs { grid-template-columns: repeat(3, 1fr); }
  .feat-item, .feat-item:nth-child(n) { grid-column: span 6; }
  .pipe-cap { grid-template-columns: 1fr 1fr; }
  .phead-art { max-height: 260px; }
  .cta-art { display: none; }
}

/* phone */
@media (max-width: 720px) {
  :root { --t-body: 17px; --r: 24px; --r-img: 20px; }
  .hdr-in { padding: 10px 16px; gap: 10px; }
  .brand-mark { width: 38px; height: 34px; }
  .brand-text b { font-size: 16px; white-space: nowrap; }
  .brand-text small { display: none; }
  .hdr .btn-sun, .hdr .btn-soft, .hdr .lang { display: none; }
  .menu-btn { min-height: 40px; padding: 0 16px; }
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 12vw; }
  .lede { font-size: 18px; }
  .hero-act .btn { flex: 1 1 100%; }
  .scene-read b { font-size: 20px; }
  .phead-in { padding: 28px 20px; }
  .phead h1 { font-size: 11vw; }
  .route-head { display: block; }
  .route-head .lede { margin-top: 16px; }
  .stops { grid-template-columns: 1fr; }
  .stop { grid-template-columns: 96px 1fr; align-items: center; column-gap: 18px; row-gap: 4px; }
  .stop-art { width: 96px; height: 96px; grid-row: span 3; }
  .stop-art svg { width: 72px; height: 72px; }
  .roofs-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .roofs-grid .pic:nth-child(1) { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .roofs-grid .pic:nth-child(4) { aspect-ratio: 16 / 10; }
  .pic .cap { font-size: 12px; left: 10px; bottom: 10px; padding: 5px 10px; }
  .band { padding: 28px 20px; }
  .calc { padding: 20px; }
  .calc .btn { width: 100%; }
  .device { padding: 12px; }
  .ui { padding: 16px; }
  .ui-flow { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: 28px 20px; }
  .cta-act .btn { flex: 1 1 100%; }
  .kit-tabs { grid-template-columns: 1fr 1fr; }
  .kit-top { grid-template-columns: 1fr; }
  .kit-spec { grid-template-columns: 1fr 1fr; }
  .scheme { grid-template-columns: 1fr; gap: 12px; }
  .scheme svg { width: 110px; height: 110px; }
  .feat-item, .feat-item:nth-child(n) { grid-column: 1 / -1; }
  .pipe-cap { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .f-send { width: 100%; }
  .gallery { columns: 1; }
  .login-art { min-height: 260px; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-legal { flex-direction: column; margin-top: 40px; }
}
