/* Veralba Energy — landing pages v2
   Layout concept: morning-light editorial. Photography carries the people, Abhaya carries the sentence,
   an italic picks out the word that matters, thin Sunrise strokes act as the hand-drawn annotations.
   Single light theme by design (brand palette is built on dawn light). */
:root{
  color-scheme: light;
  --certainty:#4d7c4d;  /* primary green: titles on light, main surfaces */
  --clarity:#c6de71;    /* highlight words + buttons only */
  --trust:#273e31;      /* deep green: dark surfaces, body ink */
  --sunrise:#ffa84a;    /* thin lines, annotations, small accents */
  --dawn:#f7f5e7;       /* page ground instead of white */
  --paper:#fffdf6;      /* raised surfaces */
  --ink:#273e31;
  --muted:#5a6a5f;
  --line:#e2dfcb;
  --solar:#e3a33a;      /* chart: solar generation (warm amber) */
  --error:#a8322a;
  --title:"Abhaya Libre",Georgia,"Times New Roman",serif;
  --accent:"Crimson Pro","Minion Pro",Georgia,serif;
  --body:"DM Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --maxw:1180px;
  --r:16px;
  --shadow:0 24px 50px -24px rgba(39,62,49,.45);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--dawn);color:var(--ink);font:400 17px/1.62 var(--body)}
img{max-width:100%;height:auto;display:block}
a{color:var(--certainty)}
:focus-visible{outline:3px solid var(--sunrise);outline-offset:2px}
.wrap{max-width:var(--maxw);margin:0 auto;padding-inline:20px}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- Type ---------- */
h1,h2,h3{font-family:var(--title);font-weight:500;line-height:1.06;margin:0;letter-spacing:-.012em;text-wrap:balance}
h1{font-size:clamp(2.4rem,5.2vw,4.1rem)}
h2{font-size:clamp(2rem,3.9vw,3rem);color:var(--certainty)}
h3{font-size:1.35rem;color:var(--trust);line-height:1.2}
.hl{font-family:var(--accent);font-style:italic;font-weight:400;letter-spacing:0}
.dark .hl,.hero .hl{color:var(--clarity)}
/* hand-drawn underline in Sunrise */
.u{position:relative;white-space:nowrap}
.u::after{content:"";position:absolute;left:-2%;right:-4%;bottom:-.12em;height:.32em;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13 C 45 5, 95 4, 197 9 M 20 16 C 70 11, 130 11, 180 14' fill='none' stroke='%23ffa84a' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/100% 100%;pointer-events:none}
/* hand-drawn circle */
.o{position:relative;white-space:nowrap;padding-inline:.08em}
.o::after{content:"";position:absolute;inset:-.14em -.22em -.06em -.2em;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 80' preserveAspectRatio='none'%3E%3Cpath d='M30 12 C 90 -2, 190 4, 212 30 C 228 55, 150 76, 90 74 C 30 72, 2 58, 8 36 C 13 20, 60 8, 120 9' fill='none' stroke='%23ffa84a' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/100% 100%;pointer-events:none}
.eyebrow{font:700 .76rem/1.3 var(--body);letter-spacing:.16em;text-transform:uppercase;color:var(--certainty);margin:0 0 16px}
.dark .eyebrow,.hero .eyebrow{color:var(--clarity)}
.lede{font-size:1.12rem;max-width:36em;margin:18px 0 0}
p{margin:0}
.stack{display:grid;gap:16px}

/* ---------- Header ---------- */
.top{background:var(--paper);border-bottom:1px solid var(--line);position:relative;z-index:6}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;height:84px}
.top .logo img{height:58px;width:auto}
.call{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:.95rem;text-decoration:none;color:var(--trust);border:1.5px solid var(--certainty);border-radius:999px;padding:9px 17px;white-space:nowrap}
.call svg{width:17px;height:17px;flex:none}
.call:hover{background:var(--certainty);color:#fff}

/* ---------- Hero ---------- */
/* light morning hero: sentence + photo on the left, the form as a deep-green card on the right */
.hero{background:linear-gradient(180deg,var(--paper) 0%,var(--dawn) 100%);border-bottom:1px solid var(--line)}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);grid-template-areas:"text form" "photo form";gap:36px 56px;padding-block:60px 72px;align-items:start}
.hero-text{grid-area:text}
.hero h1{color:var(--trust);max-width:14em}
.hero h1 .hl{color:var(--certainty)}
.hero .eyebrow{color:var(--certainty)}
.hero .lede{color:var(--ink)}
.hero-img{grid-area:photo;border-radius:var(--r);overflow:hidden;aspect-ratio:16/9;background:#d9d4bd;margin:0}
.hero-img img{width:100%;height:100%;object-fit:cover;object-position:var(--focus,50% 50%)}
.hero-img figcaption{display:none}
.hero .formcard{grid-area:form}
.chips{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:22px;padding:0;list-style:none;font-size:.95rem;color:var(--muted)}
.chips li{display:flex;align-items:center;gap:8px}
.chips li::before{content:"";width:18px;height:18px;border-radius:50%;flex:none;background:var(--clarity) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23273e31' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/12px}

/* ---------- Form ---------- */
.formcard{background:var(--trust);color:#fff;border-radius:var(--r);box-shadow:var(--shadow);padding:30px 28px 24px;scroll-margin-top:16px;justify-self:end;width:100%;max-width:480px}
.formcard h2{font-size:1.8rem;color:#fff}
.formcard .sub{margin:8px 0 20px;color:#cfdcc4;font-size:.95rem}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.field{margin:0 0 12px;min-width:0}
.field label,.field legend{display:block;font-size:.85rem;font-weight:700;margin-bottom:5px;color:#eef3e6}
.opt{font-weight:400;color:#b9c8b0}
input[type=text],input[type=email],input[type=tel],select{width:100%;font:inherit;font-size:16px;color:var(--ink);background:#fff;border:1.5px solid #cdd4c3;border-radius:10px;padding:11px 12px;min-height:48px;appearance:none;-webkit-appearance:none}
select{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%234d7c4d' stroke-width='2.2'/%3E%3C/svg%3E") no-repeat right 12px center/18px;padding-right:38px}
input:focus,select:focus{outline:none;border-color:var(--certainty);box-shadow:0 0 0 3px rgba(198,222,113,.65)}
.field.bad input,.field.bad select{border-color:#ff9b73;box-shadow:0 0 0 2px rgba(255,155,115,.35)}
.msg{font-size:.82rem;color:#ffc2a6;margin-top:4px}
.msg button{font:inherit;color:var(--clarity);text-decoration:underline;background:none;border:0;padding:0;cursor:pointer}
fieldset{border:0;padding:0;margin:0 0 12px;min-width:0}
.pills{display:flex;flex-wrap:wrap;gap:8px}
.pills label{margin:0;font-weight:500;font-size:.92rem;cursor:pointer;position:relative}
.pills input{position:absolute;opacity:0;width:1px;height:1px}
.pills span{display:inline-block;border:1.5px solid rgba(255,255,255,.28);background:rgba(255,255,255,.06);color:#eef3e6;border-radius:999px;padding:8px 14px}
.pills input:checked+span{background:var(--clarity);border-color:var(--clarity);color:var(--trust);font-weight:700}
.pills input:focus-visible+span{outline:3px solid var(--sunrise);outline-offset:2px}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:10px;border:0;cursor:pointer;background:var(--clarity);color:var(--trust);font:700 1rem/1 var(--body);letter-spacing:.02em;border-radius:999px;padding:17px 26px;min-height:54px;text-decoration:none;transition:background .15s,transform .15s}
.btn:hover{background:#b7d358}
.btn:active{transform:translateY(1px)}
.btn[disabled]{opacity:.65;cursor:wait}
.btn.full{width:100%}
.fine{font-size:.76rem;color:#b9c8b0;margin-top:12px;line-height:1.45}
.fine a{color:var(--clarity)}
.formerror{display:none;background:#fbeae7;border:1px solid #efc2bb;color:#6f1e18;border-radius:10px;padding:12px 14px;font-size:.9rem;margin-bottom:12px}
.formerror.show{display:block}
.testpanel{display:none;color:var(--ink);background:#fff6e8;border:1.5px dashed var(--sunrise);border-radius:10px;padding:12px;font-size:.8rem;margin-top:12px;white-space:pre-wrap;word-break:break-word}
.hp{position:absolute;left:-9999px}

/* ---------- Accreditation strip ---------- */
.badges{background:var(--paper);border-bottom:1px solid var(--line)}
.badges .wrap{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:18px 48px;padding-block:22px}
.badges p{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--muted)}
.badges img{height:46px;width:auto}
.badges img.tall{height:58px}

/* ---------- Sections ---------- */
section.s{padding-block:96px}
.paper{background:var(--paper)}
.dark{background:var(--trust);color:#fff}
.dark h2{color:#fff}
.dark p{color:#dfe8d4}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center}
.split.rev>:first-child{order:2}
.photo{border-radius:var(--r);overflow:hidden;background:#d9d4bd}
.photo img{width:100%;height:100%;object-fit:cover}
.photo.tall{aspect-ratio:4/5}
.photo.wide{aspect-ratio:3/2}
.cap{font-size:.8rem;color:var(--muted);margin-top:10px}
.checks{list-style:none;padding:0;margin:26px 0 0;display:grid;gap:14px}
.checks li{display:grid;grid-template-columns:26px 1fr;gap:12px;align-items:start}
.checks li::before{content:"";width:22px;height:22px;margin-top:3px;border-radius:50%;background:var(--clarity) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23273e31' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/13px}
.head{max-width:720px;margin-bottom:44px}
.head p{color:var(--muted);margin-top:14px}
.aside{font-family:var(--accent);font-style:italic;font-size:1.45rem;line-height:1.35;color:var(--trust);border-left:2px solid var(--sunrise);padding-left:18px;margin-top:28px;max-width:28em}

/* ---------- Energy-flow chart ---------- */
.chartbox{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:26px 26px 18px;position:relative}
.chartbox figcaption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 20px;align-items:baseline;margin-bottom:10px}
.chartbox figcaption strong{font:500 1.25rem var(--title);color:var(--trust)}
.legend{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:.82rem;color:var(--muted)}
.legend span{display:inline-flex;align-items:center;gap:7px}
.legend i{width:14px;height:10px;border-radius:3px;display:inline-block}
.chart-scroll{overflow-x:auto}
.chart svg{display:block;width:100%;height:auto;min-width:520px;font-family:var(--body)}
.chart .tick{font-size:12px;fill:#6b7a6f;font-variant-numeric:tabular-nums}
.chart .note{font-family:var(--accent);font-style:italic;font-size:17px;fill:#273e31}
.chart .grid{stroke:#e8e5d3;stroke-width:1}
.tip{position:absolute;pointer-events:none;background:var(--trust);color:#fff;font-size:.8rem;line-height:1.45;padding:8px 11px;border-radius:8px;transform:translate(-50%,-110%);white-space:nowrap;opacity:0;transition:opacity .12s;font-variant-numeric:tabular-nums}
.tip.on{opacity:1}
.chart-note{font-size:.8rem;color:var(--muted);margin-top:8px}

/* ---------- Reviews ---------- */
.rating{display:inline-flex;align-items:center;gap:10px;font-weight:700;color:var(--trust);margin-top:14px}
.stars{color:#e0a032;letter-spacing:2px}
.reviews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.review{margin:0;background:var(--paper);border-radius:var(--r);padding:28px;display:flex;flex-direction:column;gap:14px;border:1px solid var(--line)}
.review blockquote{margin:0;font:400 1.22rem/1.45 var(--title);color:var(--trust)}
.review figcaption{font-size:.86rem;color:var(--muted);margin-top:auto}
.review figcaption b{color:var(--trust)}
.installs{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:14px;margin-top:22px}
.installs .photo{aspect-ratio:4/5}
.installs .photo:first-child{aspect-ratio:auto}

/* ---------- Price ---------- */
.price{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px;align-items:start}
.range{background:var(--dawn);border:1px solid var(--line);border-radius:var(--r);padding:28px;margin-top:28px}
.range .lab{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--muted)}
.nums{display:flex;justify-content:space-between;align-items:baseline;font:500 2.1rem/1 var(--title);color:var(--trust);margin-top:10px;font-variant-numeric:tabular-nums}
.bar{height:10px;border-radius:99px;background:linear-gradient(90deg,var(--clarity),var(--certainty));margin:14px 0 10px}
.ends{display:flex;justify-content:space-between;gap:18px;font-size:.84rem;color:var(--muted)}
.ends span:last-child{text-align:right}
.range .note{font-size:.8rem;color:var(--muted);border-top:1px solid var(--line);margin-top:18px;padding-top:14px}
.drivers{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:16px}
.drivers li{display:grid;grid-template-columns:42px 1fr;gap:14px;align-items:start}
.drivers img{width:42px;height:42px}
.drivers strong{display:block;color:var(--trust)}
.drivers span{font-size:.94rem;color:var(--muted)}
.pull{margin:30px 0 0;background:var(--trust);color:#fff;border-radius:var(--r);padding:26px 28px}
.pull blockquote{margin:0;font:400 1.2rem/1.45 var(--title)}
.pull figcaption{font-size:.84rem;color:#cfdcc4;margin-top:12px}

/* ---------- Price examples + validity (added 5 Oct 2026) ---------- */
.examples{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:0}
.examples li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:10px 0;border-top:1px dashed var(--line);font-size:.95rem;color:var(--ink)}
.examples li span{min-width:0}
.examples b{font:500 1.2rem/1.1 var(--title);color:var(--trust);white-space:nowrap;font-variant-numeric:tabular-nums}
.valid{margin-top:16px;font-size:.88rem;color:var(--trust);background:#fff3e2;border-left:3px solid var(--sunrise);border-radius:6px;padding:10px 14px}
.solaronly{margin-top:18px;padding-top:14px;border-top:1px dashed var(--line);font-size:.95rem;color:var(--ink)}
.solaronly strong{color:var(--certainty)}
.finance{margin-top:10px;font-size:.88rem;color:var(--certainty);font-weight:700}

/* ---------- Aftercare ---------- */
.care{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:64px;align-items:center}
.timeline{list-style:none;padding:0;margin:30px 0 0;position:relative;display:grid;gap:22px}
.timeline::before{content:"";position:absolute;left:43px;top:10px;bottom:10px;width:2px;background:repeating-linear-gradient(var(--sunrise) 0 6px,transparent 6px 11px)}
.timeline li{display:grid;grid-template-columns:88px 1fr;gap:18px;align-items:start;position:relative}
.when{font:500 1.05rem/1.2 var(--title);color:var(--clarity);background:var(--trust);border:1.5px solid var(--sunrise);border-radius:999px;text-align:center;padding:8px 6px;position:relative;z-index:1}
.timeline strong{display:block;color:#fff;font-weight:700}
.timeline span{color:#cfdcc4;font-size:.95rem}
.warranty{display:flex;align-items:center;gap:16px;margin-top:30px;padding:18px 20px;border:1px solid rgba(198,222,113,.35);border-radius:var(--r)}
.warranty b{font:500 2.4rem/1 var(--title);color:var(--clarity);white-space:nowrap}
.warranty span{color:#e7eedb}

/* ---------- Steps ---------- */
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;counter-reset:s}
.step{border-top:2px solid var(--certainty);padding-top:20px}
.step .n{font:500 1rem var(--title);color:var(--sunrise)}
.step h3{margin:6px 0 8px}
.step p{color:var(--muted);font-size:.96rem}

/* ---------- FAQ ---------- */
.faq{max-width:820px}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;list-style:none;padding:20px 44px 20px 0;font:500 1.28rem/1.3 var(--title);color:var(--trust);position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:8px;top:15px;font:400 1.7rem var(--body);color:var(--certainty)}
.faq details[open] summary::after{content:"–"}
.faq details p{color:var(--muted);padding-bottom:20px;max-width:62ch}

/* ---------- Final CTA with lightning mask ---------- */
.final .wrap{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px;align-items:center}
.mask{aspect-ratio:1732/2733;max-height:520px;width:100%;-webkit-mask:url(img/isotype.svg) no-repeat center/contain;mask:url(img/isotype.svg) no-repeat center/contain}
.mask img{width:100%;height:100%;object-fit:cover;object-position:35% 45%}
.final h2{max-width:14em}
.final p{margin:16px 0 28px;max-width:32em}
.final .alt{display:block;margin-top:16px;color:var(--clarity);font-weight:700;text-decoration:none}

footer{background:var(--trust);color:#c9d6c1;font-size:.86rem;border-top:1px solid rgba(198,222,113,.2)}
footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;padding-block:34px}
footer img{height:46px;width:auto}
footer a{color:#e7efdc}

/* ---------- Mobile sticky ---------- */
.sticky{position:fixed;left:0;right:0;bottom:0;z-index:20;display:none;gap:10px;background:var(--paper);border-top:1px solid var(--line);padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));box-shadow:0 -10px 24px -14px rgba(39,62,49,.4);transform:translateY(110%);transition:transform .25s}
.sticky.show{transform:none}
.sticky .btn{flex:1;padding:14px 16px;min-height:50px}
.sticky .callbtn{flex:0 0 50px;height:50px;border-radius:50%;border:1.5px solid var(--certainty);display:grid;place-items:center;color:var(--trust)}
.sticky .callbtn svg{width:21px;height:21px}

@media (max-width:980px){
  .split,.price,.care,.final .wrap{grid-template-columns:minmax(0,1fr);gap:36px}
  .hero .wrap{grid-template-columns:minmax(0,1fr);grid-template-areas:"photo" "text" "form";gap:28px}
  .split.rev>:first-child{order:0}
  .formcard{justify-self:stretch;max-width:none}
  .reviews{grid-template-columns:minmax(0,1fr)}
  .steps{grid-template-columns:minmax(0,1fr)}
  .installs{grid-template-columns:1fr 1fr}
  .installs .photo:first-child{grid-column:1/-1;aspect-ratio:16/10}
  .mask{max-height:380px}
}
@media (max-width:700px){
  body{font-size:16px}
  .wrap{padding-inline:16px}
  section.s{padding-block:64px}
  .top .wrap{height:70px}
  .top .logo img{height:48px}
  .call .num{display:none}
  .hero .wrap{padding-block:20px 40px;gap:24px}
  .hero-img{aspect-ratio:3/2}
  .chips{display:none}
  .grid2{grid-template-columns:minmax(0,1fr)}
  .formcard{padding:24px 18px 20px}
  .badges .wrap{gap:16px 28px}
  .badges img{height:36px}
  .badges img.tall{height:46px}
  .badges p{width:100%;text-align:center}
  .nums{font-size:1.7rem}
  .timeline li{grid-template-columns:78px 1fr;gap:14px}
  .timeline::before{left:38px}
  .sticky{display:flex}
  footer .wrap{padding-bottom:110px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* Price list (battery + solar landings) */
.tiers{list-style:none;margin:14px 0 0;padding:0;border-top:1px solid var(--line)}
.tiers li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:13px 0;border-bottom:1px solid var(--line);font-size:.98rem;color:var(--ink)}
.tiers li span{min-width:0}
.tiers li small{display:block;font-size:.82rem;color:var(--muted);margin-top:2px}
.tiers li strong{font:600 1.35rem/1.1 var(--title);color:var(--trust);white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right}
.tiers li strong em{display:block;font:400 .78rem/1.3 var(--body);font-style:normal;color:var(--muted)}
.tiers li.top{background:#fff;margin:0 -14px;padding:13px 14px;border:2px solid var(--clarity);border-radius:10px}
.tiers .badge{display:inline-block;background:var(--clarity);color:var(--trust);font:700 .68rem/1 var(--body);letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:5px 9px;margin-left:6px;vertical-align:middle}
.range .why{margin-top:16px;font-size:.92rem;color:var(--ink)}
.range .btn{margin-top:18px}
