/* Chanenergy — site styles */
:root{
  --navy:#0E2338; --navy-2:#17324D; --navy-3:#0A1A2B; --ground:#F4F6F3; --white:#FFFFFF;
  --line:#E2E8E4; --line-2:#C7D1CB; --muted:#4D5F70; --light:#C9D4DF; --light-2:#DCE4EC;
  --accent:#4CC38A; --green:#1F7A52; --tile:#EEF2EF;
  --head:'Sora',system-ui,-apple-system,'Segoe UI',sans-serif;
  --body:'Manrope',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --r-lg:20px; --r-md:18px; --r-sm:10px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--body);color:var(--navy);background:var(--ground);line-height:1.5;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:var(--navy);text-decoration:none}
a:hover{color:var(--green)}
h1,h2,h3,h4{font-family:var(--head);margin:0;letter-spacing:-0.01em}
p{margin:0}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:-999px;top:8px;background:var(--accent);color:var(--navy);padding:10px 16px;border-radius:8px;font-weight:700;z-index:100}
.skip:focus{left:12px}
.wrap{max-width:1240px;margin:0 auto;padding:0 32px}
.stack{display:flex;flex-direction:column}
.eyebrow{font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--green)}
.on-dark .eyebrow,.eyebrow.light{color:var(--accent)}
.h1{font-weight:700;font-size:clamp(38px,4.5vw,56px);line-height:1.06;letter-spacing:-0.02em}
.h1-sm{font-weight:700;font-size:clamp(32px,3.8vw,48px);line-height:1.1;letter-spacing:-0.02em}
.h2{font-weight:700;font-size:clamp(30px,3.2vw,40px);line-height:1.15}
.h3{font-weight:600;font-size:21px;line-height:1.25}
.lead{font-size:19px;line-height:1.6;color:var(--light);max-width:34em}
.lead.dark{color:var(--muted)}
.muted{color:var(--muted)}
.section{padding:88px 0}
.section.white{background:var(--white)}
.section.navy{background:var(--navy);color:var(--white)}
.section.tight{padding:64px 0}
.section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px}
.section-head .stack{gap:12px;max-width:680px}
.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(360px,100%),1fr));gap:56px;align-items:center}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:24px}
.cards.sm{grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr))}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:8px;padding:15px 26px;border-radius:999px;font-weight:700;font-size:16px;border:0;cursor:pointer;font-family:inherit;line-height:1.2;transition:transform .15s ease,background-color .15s ease}
.btn:hover{transform:translateY(-1px)}
.btn-accent{background:var(--accent);color:var(--navy)}
.btn-accent:hover{background:#5fd49b;color:var(--navy)}
.btn-ghost{border:1.5px solid #5D7790;color:var(--white);padding:14px 24px}
.btn-ghost:hover{border-color:var(--accent);color:var(--white)}
.btn-dark{background:var(--navy);color:var(--white)}
.btn-dark:hover{background:var(--navy-2);color:var(--white)}
.btn-line{border:1.5px solid var(--line-2);color:var(--navy);background:var(--white);padding:14px 24px}
.btn-line:hover{border-color:var(--green);color:var(--green)}
.btn-sm{padding:11px 20px;font-size:15px}
.btns{display:flex;flex-wrap:wrap;gap:12px}
.link{font-weight:700;font-size:15px;color:var(--green)}
.link-u{font-weight:700;font-size:15px;color:var(--green);border-bottom:2px solid var(--green);padding-bottom:2px}
.ico{width:18px;height:18px;flex:0 0 auto}

/* header */
.site-header{background:var(--navy);color:var(--white);position:sticky;top:0;z-index:50;border-bottom:1px solid rgba(255,255,255,.06)}
.site-header .bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:16px;padding-bottom:16px}
.brand{display:flex;align-items:center;gap:10px;color:var(--white)}
.brand:hover{color:var(--white)}
.brand span{font-family:var(--head);font-weight:700;font-size:22px;letter-spacing:.01em}
.nav{display:flex;align-items:center;gap:28px;font-size:15px;font-weight:600}
.nav a{color:var(--light-2)}
.nav a:hover,.nav a[aria-current="page"]{color:var(--accent)}
.nav .btn{color:var(--navy)}
.nav .btn:hover{color:var(--navy)}
.nav-toggle{display:none;background:transparent;border:1.5px solid #5D7790;color:var(--white);border-radius:10px;width:44px;height:44px;align-items:center;justify-content:center;cursor:pointer}
@media (max-width:900px){
  .nav-toggle{display:inline-flex}
  .js .nav{display:none}
  .nav{position:absolute;left:0;right:0;top:100%;background:var(--navy);flex-direction:column;align-items:stretch;gap:0;padding:8px 20px 20px;border-bottom:1px solid rgba(255,255,255,.08)}
  .nav a{padding:14px 4px;border-bottom:1px solid rgba(255,255,255,.08);font-size:17px}
  .nav .btn{margin-top:14px;justify-content:center;border-bottom:0}
  .js .nav.open{display:flex}
  .site-header .bar{position:relative}
  .no-js .nav-toggle{display:none}
  .no-js .nav{position:static;flex-direction:row;flex-wrap:wrap;padding:0}
}

/* hero */
.hero{background:var(--navy);color:var(--white)}
.hero .grid-2{padding-top:48px;padding-bottom:72px;gap:48px}
.hero .copy{gap:24px}
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{font-size:13px;font-weight:600;padding:7px 12px;border-radius:8px;background:var(--navy-2);color:var(--light-2)}
.chip.light{background:var(--tile);color:var(--navy)}
.hero-media{position:relative}
.hero-media>img{width:100%;height:460px;object-fit:cover;border-radius:var(--r-lg)}
.float-card{position:absolute;left:20px;bottom:20px;background:var(--white);color:var(--navy);border-radius:14px;padding:14px 18px;display:flex;align-items:center;gap:14px;box-shadow:0 10px 30px rgba(6,18,30,.35)}
.float-card:hover{color:var(--navy)}
.float-card img{width:46px;height:60px;object-fit:contain}
.float-card .k{font-size:12px;font-weight:700;color:var(--green);letter-spacing:.06em;text-transform:uppercase}
.float-card .v{font-family:var(--head);font-weight:600;font-size:15px}

/* stat strip */
.stats{background:var(--white);border-bottom:1px solid var(--line)}
.stats .wrap{padding-top:28px;padding-bottom:28px;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:24px}
.stat{display:flex;flex-direction:column;gap:4px}
.stat b{font-family:var(--head);font-weight:700;font-size:30px;line-height:1.2}
.stat span{font-size:14px;color:var(--muted)}

/* product card */
.pcard{background:var(--white);border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden;display:flex;flex-direction:column;color:var(--navy);transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease}
.pcard:hover{color:var(--navy);box-shadow:0 14px 34px rgba(14,35,56,.10);transform:translateY(-2px);border-color:#d3ddd7}
.pcard .media{background:var(--tile);height:240px;display:flex;align-items:center;justify-content:center;padding:20px}
.pcard .media img{max-width:100%;max-height:200px;object-fit:contain;mix-blend-mode:multiply}
.pcard .body{padding:22px 24px 24px;display:flex;flex-direction:column;gap:10px;flex-grow:1}
.pcard .kind{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--green)}
.pcard p{font-size:15px;line-height:1.55;color:var(--muted);flex-grow:1}
.tags{display:flex;flex-wrap:wrap;gap:8px;padding-top:6px}
.tag-dark{font-family:var(--head);font-size:14px;font-weight:600;background:var(--navy);color:var(--white);padding:6px 12px;border-radius:8px}
.tag-light{font-size:13px;font-weight:600;background:var(--tile);color:var(--navy);padding:6px 12px;border-radius:8px}
.pcard .more{font-weight:700;font-size:15px;color:var(--green);padding-top:8px}
.cards.sm .pcard .media{height:200px}
.cards.sm .pcard .media img{max-height:165px}
.cards.sm .pcard .body{padding:18px 20px 20px}
.cards.sm .pcard h3{font-size:19px}

/* applications */
.apps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:24px}
.app{display:flex;flex-direction:column;gap:8px}
.app h3{font-size:18px;font-weight:600}
.app p{font-size:15px;line-height:1.55;color:var(--muted)}
.photo{width:100%;object-fit:cover;border-radius:var(--r-lg)}

/* dark cards */
.dcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:20px}
.dcard{background:var(--navy-2);border-radius:16px;padding:26px;display:flex;flex-direction:column;gap:10px}
.dcard .n{font-family:var(--head);font-size:15px;font-weight:700;color:var(--accent)}
.dcard h3{font-size:19px;font-weight:600}
.dcard p{font-size:15px;line-height:1.6;color:var(--light)}
.on-dark p.body-l{font-size:17px;line-height:1.7;color:var(--light)}

/* light feature cards */
.fcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:20px}
.fcard{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:8px}
.fcard h3{font-size:17px;font-weight:600}
.fcard p{font-size:15px;line-height:1.55;color:var(--muted)}
.fcard svg{margin-bottom:4px}

/* steps */
.steps{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:18px}
.steps li{display:flex;gap:16px;align-items:flex-start}
.steps .num{flex:0 0 36px;height:36px;border-radius:999px;background:var(--navy);color:var(--white);display:flex;align-items:center;justify-content:center;font-family:var(--head);font-weight:700}
.steps li:last-child .num{background:var(--accent);color:var(--navy)}
.steps b{display:block;font-size:17px;margin-bottom:4px}
.steps span{font-size:15px;color:var(--muted);line-height:1.55}

/* download strip */
.strip{background:var(--white);border:1px solid var(--line);border-radius:var(--r-md);padding:28px 32px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px}
.strip .t{display:flex;align-items:center;gap:18px}
.strip .t b{font-family:var(--head);font-weight:600;font-size:19px;display:block}
.strip .t span{font-size:14px;color:var(--muted)}

/* contact */
.dl{margin:0;display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px 18px;font-size:16px}
.dl dt{font-weight:700;color:var(--muted)}
.dl dd{margin:0;line-height:1.55;overflow-wrap:anywhere}
.dl a{font-weight:600}
.form{background:var(--ground);border-radius:var(--r-md);padding:32px;display:flex;flex-direction:column;gap:16px}
.section.ground .form,.form.on-white{background:var(--white);border:1px solid var(--line)}
.form .row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.form label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:700}
.form input,.form textarea,.form select{font:inherit;font-weight:500;font-size:16px;padding:13px 14px;border:1px solid var(--line-2);border-radius:var(--r-sm);background:var(--white);color:var(--navy);width:100%}
.form textarea{resize:vertical;min-height:120px}
.form input:focus,.form textarea:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
.form .note{font-size:13px;color:var(--muted);line-height:1.5}
.form .err{font-size:14px;color:#B3261E;font-weight:600;display:none}
.form .err.show{display:block}
.form .handoff{display:none;font-size:15px;font-weight:700}
.form .handoff a{color:var(--green);border-bottom:2px solid var(--green)}
.form .handoff.show{display:block}

/* footer */
.site-footer{background:var(--navy-3);color:#9FB0C1;font-size:14px}
.site-footer .top{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:32px;padding-top:56px;padding-bottom:40px}
.site-footer h4{font-family:var(--head);color:var(--white);font-size:15px;font-weight:600;margin-bottom:14px}
.site-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.site-footer a{color:var(--light)}
.site-footer a:hover{color:var(--accent)}
.site-footer .brand span{font-size:20px}
.site-footer .bottom{border-top:1px solid rgba(255,255,255,.08);padding-top:22px;padding-bottom:28px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}

/* WhatsApp float */
.wa-float{position:fixed;right:20px;bottom:20px;z-index:60;background:#25D366;color:#0B2E1A;border-radius:999px;padding:13px 18px 13px 14px;display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px;box-shadow:0 10px 26px rgba(6,18,30,.28)}
.wa-float:hover{color:#0B2E1A;transform:translateY(-1px)}
.wa-float svg{width:22px;height:22px}
@media (max-width:600px){.wa-float span{display:none}.wa-float{padding:14px}}

/* page hero (inner pages) */
.page-hero{background:var(--navy);color:var(--white)}
.page-hero .wrap{padding-top:56px;padding-bottom:64px;display:flex;flex-direction:column;gap:16px}
.page-hero .wrap.grid-2{display:grid;gap:48px;align-items:center}
.crumbs{font-size:14px;color:var(--light);display:flex;flex-wrap:wrap;gap:8px}
.crumbs a{color:var(--light-2)}
.crumbs a:hover{color:var(--accent)}
.crumbs .sep{opacity:.5}
.crumbs.dark{color:var(--muted)}
.crumbs.dark a{color:var(--muted)}
.crumbs.dark a:hover{color:var(--green)}

/* products index */
.catnav{position:sticky;top:76px;z-index:20;background:rgba(244,246,243,.94);backdrop-filter:saturate(1.2) blur(8px);border-bottom:1px solid var(--line)}
.catnav .wrap{display:flex;gap:10px;overflow-x:auto;padding-top:14px;padding-bottom:14px;scrollbar-width:none}
.catnav .wrap::-webkit-scrollbar{display:none}
.catnav a{flex:0 0 auto;font-size:14px;font-weight:700;padding:9px 16px;border-radius:999px;background:var(--white);border:1px solid var(--line);white-space:nowrap}
.catnav a:hover{border-color:var(--green)}
.cat{padding:64px 0 8px;scroll-margin-top:140px}
.cat .head{display:flex;flex-direction:column;gap:8px;margin-bottom:28px;max-width:720px}
.cat .head .count{font-size:14px;font-weight:700;color:var(--green)}

/* product page */
.p-top{background:var(--white);border-bottom:1px solid var(--line)}
.p-top .wrap{padding-top:28px;padding-bottom:64px;display:flex;flex-direction:column;gap:28px}
.p-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(400px,100%),1fr));gap:48px;align-items:center}
.p-media{background:var(--tile);border-radius:var(--r-lg);min-height:440px;display:flex;align-items:center;justify-content:center;padding:36px}
.p-media img{max-height:400px;max-width:100%;object-fit:contain;mix-blend-mode:multiply}
.p-info{display:flex;flex-direction:column;gap:20px}
.p-info .intro{font-size:18px;line-height:1.65;color:var(--muted)}
.keys{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.key{background:var(--ground);border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:2px}
.key b{font-family:var(--head);font-weight:700;font-size:20px;line-height:1.25}
.key span{font-size:13px;color:var(--muted)}
.hl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:20px}
.hl .item{display:flex;gap:14px;align-items:flex-start}
.hl .dot{flex:0 0 28px;height:28px;border-radius:999px;background:var(--tile);display:flex;align-items:center;justify-content:center;color:var(--green)}
.hl h3{font-size:17px;font-weight:600;margin-bottom:4px}
.hl p{font-size:15px;line-height:1.55;color:var(--muted)}

/* spec table */
.spec-block{display:flex;flex-direction:column;gap:14px}
.spec-block h3{font-size:20px;font-weight:600}
.spec-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:var(--white);-webkit-overflow-scrolling:touch}
.spec{width:100%;border-collapse:collapse;font-size:15px;min-width:560px}
.spec.cols-1{min-width:0}
.spec th,.spec td{padding:12px 18px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.spec thead th{background:var(--navy);color:var(--white);font-family:var(--head);font-weight:600;font-size:15px;white-space:nowrap}
.spec thead th:first-child{color:var(--light)}
.spec tbody th{font-weight:600;color:var(--muted);width:34%;min-width:190px;background:var(--white);position:sticky;left:0;z-index:1}
.spec .grp th{background:var(--tile);color:var(--green);font-size:12.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding-top:11px;padding-bottom:11px;position:static}
.spec td.span{color:var(--navy)}
.spec td{font-variant-numeric:tabular-nums}
.spec tr:last-child th,.spec tr:last-child td{border-bottom:0}
.spec-note{font-size:13px;color:var(--muted)}
.scroll-hint{display:none;font-size:13px;color:var(--muted)}
@media (max-width:700px){.scroll-hint.multi{display:block}}

/* CTA band */
.cta{background:var(--navy);color:var(--white);border-radius:24px;padding:44px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:28px;align-items:center}
.cta p{color:var(--light);font-size:17px;line-height:1.6}

/* prose */
.prose{display:flex;flex-direction:column;gap:16px;font-size:17px;line-height:1.7;color:var(--muted);max-width:44em}
.prose strong{color:var(--navy)}

.hide{display:none!important}

@media (max-width:600px){
  .wrap{padding:0 20px}
  .section{padding:64px 0}
  .hero .grid-2{padding-top:32px;padding-bottom:56px}
  .hero-media>img{height:320px}
  .p-media{min-height:300px;padding:24px}
  .p-media img{max-height:280px}
  .form{padding:22px}
  .cta{padding:28px}
  .strip{padding:22px}
  .dl{grid-template-columns:80px minmax(0,1fr)}
  .spec th,.spec td{padding:11px 14px}
  .spec tbody th{min-width:150px}
  .catnav{top:76px}
}

@media print{
  .site-header,.site-footer,.wa-float,.cta,.catnav,.no-print,.related{display:none!important}
  body{background:#fff}
  .p-top{border:0}
  .spec-scroll{overflow:visible;border:0}
  .spec{min-width:0;font-size:11pt}
  .spec thead th{background:#0E2338!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .spec .grp th{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .section{padding:24px 0}
}
