/* JalShield — cinematic 2.5D product site */
:root {
  --navy: #061a33;
  --navy-2: #0a2547;
  --ink: #0d2240;
  --blue: #1565d8;
  --blue-2: #0d4fb0;
  --cyan: #5cc8f2;
  --sand: #f3ede1;
  --paper: #fbf9f4;
  --line: rgba(13, 34, 64, 0.12);
  --muted: #4c5d73;
  --warm: #ffb36b;
  --red: #d23a2f;
  --brown: #8a5531;
  --ok: #1e8e5a;
  --wa: #11813f;
  --radius: 16px;
  --display: "Sora", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.modal-open { overflow: hidden; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 17px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 700; color: var(--blue); margin-bottom: .8em; }
.eyebrow-warm { color: var(--warm) !important; }
.fine { font-size: .8rem; color: var(--muted); }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font: 600 .98rem var(--body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), background .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(180deg, #2a7cf0, var(--blue-2)); color: #fff; box-shadow: 0 8px 24px rgba(21, 101, 216, .35); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(21, 101, 216, .45); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: rgba(13, 34, 64, .25); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(31, 168, 85, .3); }
.btn-link { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }

/* header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: background .3s, box-shadow .3s; background: linear-gradient(180deg, rgba(4, 14, 28, .55), rgba(4, 14, 28, 0)); }
.site-header.is-scrolled, .site-header.menu-open { background: rgba(6, 22, 44, .94); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.footer-credit { display: inline-flex; align-items: center; gap: 6px 10px; white-space: nowrap; }
.footer-credit b { font-weight: 600; color: rgba(255, 255, 255, .88); }
.footer-credit .hc-brand { color: #ff7a1a; }
.footer-credit i { font-style: normal; opacity: .5; }
.nav { height: 100%; width: min(1280px, 100% - 32px); margin: 0 auto; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-logo { background: #fff; border-radius: 9px; padding: 3px 8px; display: flex; }
.brand-logo img { height: 30px; width: auto; }
.brand-name { font: 700 1.12rem var(--display); color: #fff; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0 auto; padding: 0; }
.nav-links a { color: rgba(255, 255, 255, .86); text-decoration: none; font-size: .9rem; font-weight: 500; padding: 8px 11px; border-radius: 8px; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-cta { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; content: ""; transition: transform .2s; }
.nav-toggle span { top: 20px; } .nav-toggle span::before { left: 0; right: 0; top: -6px; } .nav-toggle span::after { left: 0; right: 0; top: 6px; }
.menu-open .nav-toggle span { background: transparent; }
.menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu { background: rgba(6, 22, 44, .97); padding: 10px 20px 22px; display: grid; gap: 2px; }
.mobile-menu a { color: #fff; text-decoration: none; padding: 12px 6px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-weight: 500; }
@media (max-width: 1120px) { .nav-links { display: none; } .nav-toggle { display: block; } }
@media (max-width: 520px) { .brand-logo { display: none; } .wa-link span { display: none; } .nav-cta .wa-link { padding: 0 12px; } }

/* ------------------------------------------------------------------ story stages */
.story { position: relative; background: #0b1a2b; }
.act1 { height: 1050vh; }
.act2 { height: 760vh; }
@media (max-aspect-ratio: 9/10) { .act1 { height: 880vh; } .act2 { height: 640vh; } }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; contain: layout paint; }
.plates, .plate { position: absolute; inset: 0; }
.plate { overflow: hidden; contain: strict; will-change: opacity; backface-visibility: hidden; }
.plate-wide { background: #9cc2e2; }
.plate-sky { position: absolute; inset: 0; }
.plate-sky img.cover { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; object-position: 50% 30%; }
.layer { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 0 0; will-change: transform; }
.layer img, .layer .bldg-floors, .layer .bldg-roof { position: absolute; max-width: none; user-select: none; }
.bldg { position: absolute; left: 0; top: 0; z-index: 10; }
.bldg-floors { position: absolute; }
.bldg-floors img { position: absolute; }
.bldg-roof { left: 0; top: 0; width: 0; height: 0; z-index: 20; }
.wide-fx { position: absolute; z-index: 25; overflow: visible; pointer-events: none; }
.dev-mark { z-index: 26; }
.beacon { position: absolute; width: 0; height: 0; z-index: 27; }
.beacon::before, .beacon::after { content: ""; position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #8fdcff; animation: beacon 2.2s ease-out infinite; }
.beacon::after { animation-delay: 1.1s; }
@keyframes beacon { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.plate-svg { position: absolute; left: 0; top: 0; overflow: visible; }
.dev-photo { z-index: 3; transform-origin: 50% 100%; }
.dev-shadow { position: absolute; background: rgba(20, 14, 8, .28); filter: blur(8px); border-radius: 6px; z-index: 2; }
.meter-holder { position: absolute; z-index: 4; }
.meter-holder::before { content: ""; position: absolute; left: 6%; right: -4%; top: 4%; bottom: -3%; border-radius: 30px; background: rgba(20, 14, 8, .3); filter: blur(14px); z-index: -1; }
.meter-holder svg, .compare-meter svg, .mini-meter-box svg { width: 100%; height: auto; display: block; }
.loupe { position: absolute; z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 300px; transform-origin: 50% 100%; pointer-events: none; }
.loupe-ring { width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, #e7edf2 70%); border: 4px solid #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); display: grid; place-items: center; overflow: hidden; }
.loupe-ring img { width: 130px; }
.loupe-label { background: rgba(6, 20, 38, .86); color: #fff; padding: 12px 16px; border-radius: 14px; font-size: 20px; line-height: 1.35; display: grid; text-align: center; }
.loupe-label span { color: #a9d4f0; font-size: 16px; }
.stage-veil { position: absolute; inset: 0; z-index: 15; background: #0b1a2b; opacity: 0; pointer-events: none; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 5; }
.flow-dash { animation: dash 1.1s linear infinite; }
.flow-dash.fast { animation-duration: .55s; }
.flow-dash.up { animation-direction: reverse; }
@keyframes dash { to { stroke-dashoffset: -100; } }
.splash { animation: splash .6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes splash { to { transform: scale(1.25, .8); opacity: .25; } }

/* product reveal plate */
.plate-product { background: radial-gradient(120% 90% at 50% 38%, rgb(18, 52, 98), rgb(4, 12, 26) 70%); display: grid; place-items: center; visibility: hidden; opacity: 0; }
.prod-light { position: absolute; left: 50%; top: 40%; width: 70vmin; height: 70vmin; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(120, 190, 255, .28), rgba(120, 190, 255, 0) 65%); }
.prod-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(160, 200, 240, .06)); }
.prod-unit { position: absolute; bottom: 21vh; }
.prod-unit img { width: 100%; height: auto; position: relative; z-index: 1; }
.prod-shadow { position: absolute; left: 2%; right: 2%; bottom: -18px; height: 40px; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), rgba(0, 0, 0, 0)); }
.prod-rx { width: min(40vh, 34vw); left: calc(50% - min(40vh, 34vw) * .58); }
.prod-tx { width: min(19.9vh, 16.9vw); left: calc(50% + min(40vh, 34vw) * .40); bottom: calc(21vh - min(40vh, 34vw) * .03); }
.prod-tag { position: absolute; color: #fff; display: grid; font-size: .92rem; padding: 8px 14px; border-left: 2px solid var(--cyan); background: rgba(4, 14, 30, .5); border-radius: 0 10px 10px 0; }
.prod-tag span { color: #a9d4f0; font-size: .82rem; }
.prod-tag-rx { left: calc(50% - min(40vh, 34vw) * .58 - 160px); bottom: 40vh; }
.prod-tag-tx { left: calc(50% + min(40vh, 34vw) * .40 + min(19.9vh, 16.9vw) + 18px); bottom: 30vh; }
@media (max-aspect-ratio: 9/10) {
  .prod-rx { width: 56vw; left: 8vw; bottom: 26vh; }
  .prod-tx { width: 27.8vw; left: 64vw; bottom: 25.4vh; }
  .prod-tag-rx { left: 8vw; bottom: calc(26vh + 60vw); }
  .prod-tag-tx { left: auto; right: 4vw; bottom: calc(25.4vh + 42vw); }
}

/* captions */
.captions { position: absolute; inset: 0; pointer-events: none; z-index: 20; }
.captions::before { content: ""; position: absolute; inset: 0 0 auto; height: 42%; background: linear-gradient(180deg, rgba(3, 12, 26, .5), rgba(3, 12, 26, 0)); }
.captions::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(0deg, rgba(3, 12, 26, .45), rgba(3, 12, 26, 0)); }
.cap { position: absolute; left: max(5vw, 24px); top: calc(var(--header-h) + 9vh); max-width: min(620px, 88vw); color: #fff; opacity: 0; visibility: hidden; text-shadow: 0 2px 18px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .5); }
.cap::before { content: ""; position: absolute; inset: -60px -120px -60px -40vw; z-index: -1; background: radial-gradient(closest-side, rgba(3, 12, 26, .66), rgba(3, 12, 26, 0)); }
.cap-title { font-family: var(--display); line-height: 1.15; letter-spacing: -0.015em; font-size: clamp(1.7rem, 4.4vw, 3.4rem); font-weight: 700; margin: 0; }
.cap-xl { font-size: clamp(1.9rem, 4.2vw, 3.3rem); }
.cap-sub { font-size: clamp(1.1rem, 2vw, 1.45rem); color: #d6ecff; margin-top: .6em; }
.cap-note { font-size: clamp(.92rem, 1.4vw, 1.05rem); color: #dfeaf5; margin-top: .9em; max-width: 46ch; }
.cap .eyebrow { color: var(--cyan); }
.cap-low { top: auto; bottom: 9vh; }
.cap-side { left: auto; right: max(5vw, 24px); text-align: right; }
.cap-side .cap-note { margin-left: auto; }
.cap-side::before { inset: -60px -40vw -60px -120px; }
.cap-prod { top: calc(var(--header-h) + 6vh); left: 50%; transform: translateX(-50%); text-align: center; max-width: 860px; width: 90vw; }
.cap-stack .cap-title { font-size: clamp(1.6rem, 4vw, 3rem); }
.cap-hero .cap-title { font-size: clamp(2.1rem, 5.6vw, 4.4rem); max-width: 12ch; }
.cap-cta { pointer-events: auto; display: inline-block; margin-top: 1.2em; color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .6); text-decoration: none; padding-bottom: 2px; }
.hl { color: var(--cyan); }
.hl-warm { color: var(--warm); }
@media (max-aspect-ratio: 9/10) {
  .cap { top: calc(var(--header-h) + 3vh); left: 20px; right: 20px; max-width: none; }
  .cap-side { text-align: left; }
  .cap-side .cap-note { margin-left: 0; }
  .cap-low { top: auto; bottom: 7vh; }
  .cap-prod { left: 20px; transform: none; width: auto; }
}
.floor-counter { position: absolute; right: max(4vw, 20px); bottom: 10vh; color: #fff; text-align: right; opacity: 0; z-index: 21; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.fc-num { display: block; font: 700 clamp(3rem, 9vw, 6.5rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.fc-label { text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; }
.skip-story { position: absolute; right: 20px; bottom: 22px; z-index: 22; color: #fff; background: rgba(4, 14, 30, .55); border: 1px solid rgba(255, 255, 255, .25); padding: 9px 16px; border-radius: 999px; text-decoration: none; font-size: .88rem; font-weight: 600; }
.story-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); z-index: 22; }
.story-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), #fff); transform-origin: 0 50%; transform: scaleX(0); }
.state-badge { position: absolute; left: max(5vw, 20px); bottom: 24px; z-index: 22; display: flex; gap: 10px; align-items: center; color: #fff; background: rgba(60, 20, 8, .6); border: 1px solid rgba(255, 179, 107, .45); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; transition: background .3s, border-color .3s; }
.sb-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 10px var(--warm); }
.state-badge.is-with { background: rgba(4, 30, 60, .6); border-color: rgba(92, 200, 242, .5); }
.state-badge.is-with .sb-dot { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.compare { position: absolute; inset: 0; z-index: 4; display: grid; grid-template-columns: 1fr 1fr; align-items: center; justify-items: center; padding: calc(var(--header-h) + 2vh) 8vw 42vh; gap: 4vw; opacity: 0; visibility: hidden; background: radial-gradient(80% 80% at 50% 40%, rgba(8, 22, 42, .95), rgba(3, 10, 22, .98)); }
.compare-col { text-align: center; color: #fff; display: grid; justify-items: center; }
.compare-meter { width: min(30vh, 22vw); }
.compare-k { font: 700 1.1rem var(--display); margin: 0 0 12px; padding: 6px 14px; border-radius: 999px; }
.compare-before .compare-k { background: rgba(255, 140, 60, .25); color: #ffd2a8; }
.compare-after .compare-k { background: rgba(92, 200, 242, .22); color: #c9efff; }
.compare-v { margin: 12px 0 0; color: #d5e3f0; font-size: .92rem; }
@media (max-aspect-ratio: 9/10) { .compare { padding-top: calc(var(--header-h) + 2vh); padding-bottom: 40vh; gap: 4vw; } .compare-meter { width: min(38vw, 22vh); } }

/* no-JS / failed library: show captions as a readable list */
.no-story .act1, .no-story .act2, html:not(.js) .act1, html:not(.js) .act2 { height: auto; }
.no-story .stage, html:not(.js) .stage { position: relative; height: auto; padding: 100px 0 40px; background: #0b1a2b; }
.no-story .plates, .no-story .plate-product, .no-story .compare, .no-story .floor-counter, .no-story .state-badge, .no-story .story-progress,
html:not(.js) .plates, html:not(.js) .plate-product, html:not(.js) .compare, html:not(.js) .floor-counter, html:not(.js) .state-badge, html:not(.js) .story-progress { display: none; }
.no-story .captions, html:not(.js) .captions { position: relative; display: grid; gap: 30px; padding: 0 24px; }
.no-story .captions::before, .no-story .captions::after, html:not(.js) .captions::before, html:not(.js) .captions::after { display: none; }
.no-story .cap, html:not(.js) .cap { position: relative; inset: auto; transform: none; opacity: 1; visibility: visible; text-align: left; }
.no-story .skip-story, html:not(.js) .skip-story { position: relative; right: auto; bottom: auto; display: inline-block; margin: 20px 24px 0; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ interactive demo */
.demo { position: relative; color: #fff; background: #0b1a2b; padding: calc(var(--header-h) + 30px) 0 60px; overflow: hidden; }
.demo-bg { position: absolute; inset: 0; background: url("../assets/scene/roof-bg-m.webp") center 40% / cover; filter: blur(6px) brightness(.45); transform: scale(1.05); }
.demo-inner { position: relative; width: min(1280px, 100% - 32px); margin: 0 auto; display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: center; }
.demo-visual { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); background: #1b2a3a; }
.demo-svg { display: block; width: 100%; height: auto; aspect-ratio: 1240 / 1080; }
.demo-mini { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-card { background: rgba(5, 16, 32, .86); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 8px 10px; display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; }
.mini-card > img, .mini-card > svg, .mini-card > .mini-meter-box { grid-row: 1 / 3; width: 46px; }
.mini-card > img { height: auto; }
.mini-k { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: #9cc3e2; }
.mini-v { font-size: .82rem; font-weight: 600; line-height: 1.25; }
.signal { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.signal span { position: absolute; left: 82%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: #bff0ff; box-shadow: 0 0 18px #7fdcff; opacity: 0; }
.signal.is-on span, .signal.is-off span { animation: sig 1.1s ease-in forwards; }
.signal.is-off span { background: #ffd9c4; box-shadow: 0 0 18px #ff9f7a; }
@keyframes sig { 0% { opacity: 1; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(-58vw, 30vh) scale(.6); } }
@media (max-width: 960px) { @keyframes sig { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(-40vw, 40vw) scale(.6); } } }
.demo-panel h2 { color: #fff; }
.t-red { color: #ff8a80; } .t-brown { color: #e0a679; }
.demo-lede { color: #cfe0ef; }
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 10px; }
.status { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 10px 12px; display: grid; }
.status-k { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: #9cc3e2; }
.status-v { font: 700 1.05rem var(--display); }
.status.is-on { background: rgba(30, 142, 90, .28); border-color: rgba(80, 220, 150, .5); }
.demo-live { min-height: 3.2em; color: #e8f3fb; font-size: .95rem; }
.level-ctl { display: grid; gap: 6px; font-weight: 600; margin-bottom: 14px; }
.level-ctl input { width: 100%; accent-color: var(--cyan); height: 28px; }
.demo-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.demo-btns .btn { min-height: 44px; }
.demo .btn-ghost-dark { color: #fff; border-color: rgba(255, 255, 255, .35); }
.demo-summary { font-size: 1.1rem; }
.demo .fine { color: #9fb6cb; }
@media (max-width: 960px) { .demo-inner { grid-template-columns: 1fr; } .demo-mini { position: static; padding: 10px; background: #0d1d30; grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ showcase & content */
.showcase { background: radial-gradient(90% 70% at 30% 40%, #123a72, #061a33 70%); color: #fff; padding: 110px 0; overflow: hidden; }
.showcase-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.showcase-visual { position: relative; }
.showcase-visual img { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)); position: relative; z-index: 1; }
.showcase-shadow { position: absolute; left: 4%; right: 2%; bottom: -10px; height: 40px; background: radial-gradient(closest-side, rgba(0, 0, 0, .6), transparent); }
.showcase h2 { color: #fff; }
.showcase .lede { color: #cfe0ef; }
.showcase .eyebrow { color: var(--cyan); }
.feature-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; }
.feature-list li { display: grid; padding: 10px 0 10px 30px; border-bottom: 1px solid rgba(255, 255, 255, .1); position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle, var(--cyan) 35%, rgba(92, 200, 242, .2) 40%); }
.feature-list span { color: #b9cde0; font-size: .92rem; }
.showcase .btn-ghost-dark { color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (max-width: 900px) { .showcase { padding: 80px 0; } .showcase-grid { grid-template-columns: 1fr; gap: 30px; } }

.info { padding: 96px 0; background: var(--paper); }
.info-alt { background: var(--sand); }
.steps { list-style: none; padding: 0; margin: 28px 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 12px; }
.units { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.unit-card { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.unit-card img { width: 120px; height: auto; }
.wires { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .95rem; }
.wires i { display: inline-block; width: 22px; height: 6px; border-radius: 3px; margin-right: 10px; vertical-align: middle; }
.w-red { background: var(--red); } .w-brown { background: var(--brown); } .w-black { background: #1b1b1b; } .w-blue { background: #2a62c9; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .units { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .unit-card { grid-template-columns: 84px 1fr; } .unit-card img { width: 84px; } .info { padding: 72px 0; } }

.specs-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.specs { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-bottom: 10px; }
.specs th, .specs td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .96rem; }
.specs th { font-weight: 600; color: var(--muted); width: 48%; }
.compat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; scroll-margin-top: 90px; }
.compat fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.compat legend { font-weight: 600; margin-bottom: 8px; }
.compat label { display: inline-flex; align-items: center; gap: 6px; margin: 0 14px 8px 0; cursor: pointer; }
.compat input { width: 18px; height: 18px; accent-color: var(--blue); }
.compat-result { margin: 14px 0 0; padding: 0; border-radius: 12px; font-size: .95rem; }
.compat-result:not(:empty) { padding: 12px 14px; }
.compat-result.is-ok { background: #e7f6ee; color: #12573a; }
.compat-result.is-no { background: #fdeceb; color: #7d231c; }
.compat-result.is-warn { background: #fff4e3; color: #7a4b0c; }
@media (max-width: 900px) { .specs-grid { grid-template-columns: 1fr; } }

.inst-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; margin-top: 20px; }
.inst-steps { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; }
.safety { background: #fff7ec; border: 1px solid #f1d9b6; border-radius: 20px; padding: 26px; }
@media (max-width: 900px) { .inst-grid { grid-template-columns: 1fr; } }

.buy { position: relative; color: #fff; padding: 110px 0; overflow: hidden; background: #061a33; }
.buy-bg { position: absolute; inset: 0; background: radial-gradient(70% 90% at 80% 50%, rgba(40, 110, 220, .45), rgba(6, 26, 51, 0) 70%), url("../assets/scene/roof-bg-m.webp") center / cover; opacity: .9; }
.buy-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 26, 51, .95) 30%, rgba(6, 26, 51, .55)); }
.buy-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.buy h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.buy .lede { color: #d6e8f7; }
.price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 18px 0; }
.price-v { font: 700 3rem/1 var(--display); }
.price-was { font-size: 1.5rem; font-weight: 600; color: #8fa6bf; }
.price-was s { text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.price-off { align-self: center; padding: 6px 12px; border-radius: 999px; background: var(--warm); color: var(--navy); font: 800 .9rem/1 var(--display); letter-spacing: .04em; box-shadow: 0 0 0 3px rgba(255,179,107,.25), 0 6px 18px rgba(255,179,107,.35); }
.price-k { color: #b7cde3; }
.buy-facts { margin: 0 0 28px; padding-left: 1.2em; color: #e3eef8; display: grid; gap: 6px; }
.buy-visual img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
@media (max-width: 900px) { .buy-grid { grid-template-columns: 1fr; } .buy-visual { max-width: 420px; } }

.faq-wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.contact-list { margin: 0; display: grid; gap: 14px; }
.contact-list div { background: #fff; border-radius: 14px; padding: 14px 18px; border: 1px solid var(--line); }
.contact-list dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.contact-list dd { margin: 2px 0 0; font-weight: 600; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.site-footer { background: #041225; color: #b9c9da; padding: 60px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 30px; }
.footer-grid a, .footer-grid span { display: block; color: #d6e3f0; text-decoration: none; margin-bottom: 6px; }
.footer-brand { font: 700 1.3rem var(--display); color: #fff; }
.footer-h { color: #fff; font-weight: 700; margin-bottom: 10px; }
.site-footer .fine { color: #8fa3b8; }
.footer-bottom { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; }
.fb-mid { text-align: center; }
.fb-right { justify-self: end; text-align: right; }
@media (max-width: 900px) { .footer-credit { flex-wrap: wrap; white-space: normal; } .footer-bottom { grid-template-columns: 1fr; } .fb-mid, .fb-right { text-align: left; justify-self: start; } }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* buy modal */
.buy-modal-overlay[hidden] { display: none; }
.buy-modal-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(2, 10, 22, .6); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.buy-modal-overlay.is-open { opacity: 1; }
.buy-modal { position: relative; width: min(460px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: #fff; border-radius: 22px; padding: 30px 26px 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.buy-modal h3 { font-size: 1.35rem; padding-right: 36px; }
.buy-modal-sub { color: var(--muted); font-size: .95rem; }
.mp-now { color: var(--ink); font-weight: 800; font-size: 1.1rem; }
.mp-was { color: #7b8ba0; margin: 0 2px; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.mp-off { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--warm); color: var(--navy); font: 800 .75rem/1.3 var(--display); letter-spacing: .04em; vertical-align: 1px; box-shadow: 0 0 0 2px rgba(255,179,107,.28); }
.buy-modal-close { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #f5f7fa; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.buy-options { display: grid; gap: 10px; }
.buy-option { display: grid; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: border-color .2s, background .2s; }
.buy-option:hover { border-color: var(--blue); background: #f3f8ff; }
.buy-option-title { font-weight: 700; }
.buy-option-desc { font-size: .85rem; color: var(--muted); }
.buy-back { background: none; border: 0; color: var(--blue); font-weight: 600; cursor: pointer; padding: 0; margin-bottom: 12px; font-size: .92rem; }
.buy-form { display: grid; gap: 12px; }
.buy-field { display: grid; gap: 5px; font-weight: 600; font-size: .9rem; }
.buy-field small { font-weight: 400; color: var(--muted); }
.buy-field input { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #c7d2df; border-radius: 12px; }
.buy-form-error { color: #a1261d; background: #fdeceb; padding: 10px 12px; border-radius: 10px; margin: 0; font-size: .9rem; }
.buy-form-note { font-size: .8rem; color: var(--muted); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow-dash, .splash, .beacon::before, .beacon::after { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .signal span { animation: none !important; }
  .btn { transition: none; }
}
.ring { animation: ring 1.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.ring-1 { animation-delay: .45s; } .ring-2 { animation-delay: .9s; }
@keyframes ring { from { transform: scale(.4); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ring { animation: none; opacity: 0; } }

/* hide the visible scrollbar; scrolling (wheel, touch, keyboard) is unchanged */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* Legal pages (privacy.html) */
.legal { padding: calc(var(--header-h) + 56px) 0 72px; }
.legal-wrap { max-width: 800px; }
.legal h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); margin-bottom: .2em; }
.legal h2 { font-size: 1.3rem; margin: 2em 0 .5em; }
.legal-meta { color: var(--muted); font-size: .92rem; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .5em; }
.site-footer .fb-right a { color: inherit; }

/* Static first frame so the hero paints before the scene engine has built its layers (removed by JS once the live plates render) */
/* 2px short of the stage bottom: Chrome ignores a viewport-sized image as an LCP candidate, and this is the real hero frame */
.hero-poster { position: absolute; inset: 0 0 2px 0; display: block; pointer-events: none; }
.hero-poster img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-poster[hidden], .no-story .hero-poster, html:not(.js) .hero-poster { display: none; }
