/* ChargeBuddy website: same mint/green palette as the app. */
:root {
  --bg: #F3FAF5;
  --card: #FFFFFF;
  --ink: #0B1F17;
  --muted: #4A5A52;
  --soft: #6B7B73;
  --line: #E1ECE5;
  --green: #17B457;
  --green-dark: #0E8A42;
  --lime: #86F282;
  --mint: #DDF5E5;
  --orange: #F7901E;
  --deep: #0B2A20;
  --radius: 22px;
  --shadow: 0 18px 50px -28px rgba(11, 31, 23, 0.35);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.6 Inter, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(243, 250, 245, 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { font: 800 24px/1 "Plus Jakarta Sans", Inter, sans-serif; letter-spacing: -0.6px; text-decoration: none; }
.logo b { color: var(--green); font-weight: 800; }
.nav-links { display: flex; gap: 26px; margin-left: auto; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font: 700 15px/1 Inter, sans-serif; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-line { border-color: var(--line); background: #fff; color: var(--ink); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; font-size: 26px; cursor: pointer; }

/* type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12.5px/1 Inter, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-dark); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--mint); }
h1, h2, h3 { font-family: "Plus Jakarta Sans", Inter, sans-serif; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(40px, 5.6vw, 66px); font-weight: 800; margin-top: 18px; }
h1 .g, h2 .g { color: var(--green); }
h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.lead { font-size: 19px; color: var(--muted); max-width: 540px; margin-top: 20px; }
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head .lead { font-size: 17px; }

/* store badges (coming soon until the store links exist) */
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 18px 10px 14px; text-decoration: none; min-width: 168px; }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: 10.5px; opacity: .75; letter-spacing: .02em; }
.store span { font: 700 17px/1.15 Inter, sans-serif; }
.fine { font-size: 13.5px; color: var(--soft); margin-top: 14px; }

/* phone mock */
.phone { width: 300px; border-radius: 44px; padding: 10px; background: var(--ink); box-shadow: 0 40px 80px -30px rgba(11, 31, 23, 0.45); position: relative; }
.phone img { border-radius: 34px; width: 100%; }
.phone.sm { width: 250px; border-radius: 38px; }
.phone.sm img { border-radius: 29px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding: 56px 0 40px; }
.hero-art { position: relative; display: flex; justify-content: center; min-height: 600px; align-items: center; }
.hero-art .glow { position: absolute; width: min(520px, 100%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #CFF3DA 0%, rgba(207, 243, 218, 0) 68%); }
.hero-art .phone { transform: rotate(4deg); z-index: 1; }
.hero-art .mascot { position: absolute; width: 190px; left: 2%; bottom: 30px; z-index: 2; filter: drop-shadow(0 18px 24px rgba(11, 31, 23, .2)); }
.note { position: absolute; font: 600 21px/1.15 Caveat, cursive; color: var(--ink); z-index: 2; }
.note svg { display: block; margin-top: 4px; }
.note.n1 { right: -6px; top: 70px; transform: rotate(-6deg); }
.note.n2 { right: -14px; bottom: 150px; transform: rotate(-4deg); color: #A35A00; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 10px; }
.stat { text-align: center; padding: 6px 10px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 800 30px/1.1 "Plus Jakarta Sans", sans-serif; letter-spacing: -.02em; }
.stat span { font-size: 14px; color: var(--soft); }

/* cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.icon { width: 46px; height: 46px; border-radius: 14px; background: var(--mint); display: grid; place-items: center; color: var(--green-dark); margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; }
.step-no { font: 800 14px/1 Inter; color: var(--green-dark); background: var(--mint); border-radius: 999px; padding: 6px 12px; display: inline-block; margin-bottom: 14px; }

/* feature rows */
.split > *, .hero > * { min-width: 0; }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.split.flip { grid-template-columns: 1.1fr 0.9fr; }
.feature-list { display: grid; gap: 12px; }
.feature { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border-radius: 18px; padding: 18px 20px; border: 1px solid var(--line); }
.feature .icon { margin: 0; flex: none; width: 42px; height: 42px; }
.feature p { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.pill { border-radius: 999px; padding: 9px 18px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; text-decoration: none; }
.pill.on { background: var(--green); color: #fff; border-color: var(--green); }

/* pins legend */
.pin-legend { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 22px; font-weight: 600; font-size: 15px; }
.pin-legend span { display: inline-flex; align-items: center; gap: 8px; }

/* dark band */
.band { background: var(--deep); color: #fff; border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: center; overflow: hidden; }
.band p { color: #B7C9C0; }
.band ul { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.band li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.band li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }

/* photo frames */
.photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.2; background: var(--mint); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.placeholder { display: grid; place-items: center; text-align: center; color: var(--green-dark); font-weight: 600; padding: 30px; background: repeating-linear-gradient(135deg, #E7F7EC 0 14px, #DDF5E5 14px 28px); }
.credit { font-size: 12px; color: var(--soft); margin-top: 8px; }

/* coverage */
.map-wrap { background: var(--card); border-radius: 28px; padding: 30px; box-shadow: var(--shadow); }
.state-list { list-style: none; display: grid; gap: 8px; }
.state-list li { display: flex; justify-content: space-between; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font-weight: 600; }
.state-list li span { color: var(--green-dark); }

/* xp tiles */
.xp { text-align: center; }
.xp b { display: block; font: 800 26px "Plus Jakarta Sans"; color: var(--green-dark); }
.levels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.levels span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; }
.levels span em { font-style: normal; color: var(--soft); font-weight: 500; }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green-dark); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* legal */
.legal { max-width: 780px; }
.legal h2 { font-size: 24px; margin: 38px 0 10px; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; }
.legal p, .legal li { color: #2E3D36; font-size: 16px; }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal li { margin: 5px 0; }
.legal .summary { background: var(--mint); border-radius: 18px; padding: 18px 22px; margin: 22px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 10px 0; background: #fff; border-radius: 14px; overflow: hidden; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal .tw { overflow-x: auto; }
mark.todo { background: #FFF1C2; padding: 0 4px; border-radius: 4px; }

/* cta + footer */
.cta { background: var(--card); border-radius: 28px; box-shadow: var(--shadow); padding: 44px; display: flex; gap: 30px; align-items: center; justify-content: space-between; }
.cta img { width: 140px; }
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 40px 0 50px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { font-size: 14px; margin-bottom: 10px; }
.foot ul { list-style: none; display: grid; gap: 6px; }
.foot a { text-decoration: none; color: var(--muted); font-size: 14.5px; }
.foot a:hover { color: var(--ink); }
.foot p { color: var(--soft); font-size: 14px; margin-top: 10px; max-width: 320px; }
.copy { margin-top: 30px; color: var(--soft); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

@media (max-width: 960px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 16px 24px 24px; gap: 14px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; }
  .nav .btn { display: none; }
  .hero, .split, .split.flip, .band { grid-template-columns: 1fr; }
  .hero-art { min-height: 520px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .stat:nth-child(3) { border-left: 0; }
  .foot { grid-template-columns: 1fr 1fr; }
  .cta { flex-direction: column; text-align: center; }
  .note { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .phone { width: 250px; }
  .hero-art .mascot { width: 130px; left: 0; }
  .band, .cta, .map-wrap { padding: 26px; }
  section { padding: 52px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Home hero photo (ChargeBuddy station) */
.hero-photo { position: relative; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: cover; border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(11, 31, 23, .45); display: block; }
.hero-photo .chip { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: 0 14px 30px -12px rgba(11, 31, 23, .35); font-size: 13px; line-height: 1.25; }
.hero-photo .chip b { display: block; font-size: 14px; }
.hero-photo .chip span { color: var(--soft); }
.hero-photo .c1 { left: -22px; bottom: 34px; }
.hero-photo .c2 { right: -18px; top: -18px; }
.stat b span { font: inherit; color: inherit; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .hero-photo .c1 { left: 10px; bottom: -20px; } .hero-photo .c2 { right: 10px; top: -16px; } }

/* API page code preview */
.code { background: var(--deep); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.code-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.code-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); }
.code-bar span { margin-left: auto; font-size: 12px; color: #8FB3A3; }
.code pre { margin: 0; padding: 20px 22px; overflow-x: auto; font: 500 13px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; color: #DDEBE4; }
.code .k { color: var(--lime); font-weight: 700; } .code .s { color: #A9E8B8; } .code .n { color: #F7B267; }

/* ---------- Home v2 ---------- */
.h-hero { position: relative; margin: 8px 16px 0; border-radius: 32px; overflow: hidden; min-height: min(86vh, 720px); display: flex; align-items: center; background: var(--deep); }
.h-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.h-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 22, 15, .94) 0%, rgba(5, 22, 15, .82) 34%, rgba(5, 22, 15, .25) 62%, rgba(5, 22, 15, 0) 80%), linear-gradient(0deg, rgba(5, 22, 15, .55), rgba(5, 22, 15, 0) 40%); }
.h-inner { position: relative; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding-top: 70px; padding-bottom: 110px; }
.h-copy { max-width: 560px; color: #fff; }
.h-copy h1 { color: #fff; margin-top: 22px; }
.h-copy h1 span { color: var(--lime); }
.h-copy p { color: #CFE0D7; font-size: 19px; line-height: 1.6; margin-top: 18px; max-width: 500px; }
.h-copy .store { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(10px); }
.h-copy .h-fine { font-size: 13.5px; color: #9FB8AC; margin-top: 14px; }
.h-live { display: inline-flex; align-items: center; gap: 9px; background: rgba(134, 242, 130, .14); border: 1px solid rgba(134, 242, 130, .35); color: var(--lime); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 13.5px; }
.h-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(134, 242, 130, .6); animation: livepulse 2s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 9px rgba(134, 242, 130, 0); } 100% { box-shadow: 0 0 0 0 rgba(134, 242, 130, 0); } }
.h-chips { display: flex; flex-direction: column; gap: 12px; }
.h-chip { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-radius: 18px; padding: 12px 18px 12px 14px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); min-width: 220px; }
.h-chip b { display: block; font-size: 15px; } .h-chip span { font-size: 13px; color: var(--soft); }
.h-stats { position: relative; z-index: 2; margin-top: -58px; }
.h-stats .stat b { font-size: 36px; color: var(--ink); }
.h-stats .stat:first-child b { color: var(--green-dark); }

.h-why { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.h-why > * { min-width: 0; }
.h-panel { background: linear-gradient(160deg, var(--mint), #C8EFD5); border-radius: 32px; overflow: hidden; }
.h-panel .hero-art { min-height: 560px; }
.h-panel .note.n1 { right: 6%; }
.h-list { list-style: none; counter-reset: why; margin: 26px 0 28px; padding: 0; display: grid; gap: 18px; }
.h-list li { counter-increment: why; position: relative; padding-left: 52px; }
.h-list li::before { content: counter(why, decimal-leading-zero); position: absolute; left: 0; top: 0; font: 800 15px/1 "Plus Jakarta Sans", sans-serif; color: var(--green-dark); background: var(--mint); border-radius: 10px; padding: 9px 8px; }
.h-list b { display: block; font-size: 17px; } .h-list span { color: var(--soft); font-size: 15px; }

.section-head.center { text-align: center; margin: 0 auto 40px; }
.h-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.h-track::before { content: ""; position: absolute; top: 22px; left: 16%; right: 16%; border-top: 2px dashed #B9DCC6; }
.h-step { position: relative; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 54px 26px 28px; text-align: center; margin-top: 22px; }
.h-num { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font: 800 18px/1 "Plus Jakarta Sans", sans-serif; box-shadow: 0 0 0 6px var(--bg); }
.h-ico { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; background: var(--mint); color: var(--green-dark); display: grid; place-items: center; }
.h-ico svg { width: 28px; height: 28px; }
.h-ico.pins { width: auto; padding: 0 16px; display: flex; gap: 8px; justify-content: center; align-items: center; width: fit-content; }
.h-step p { color: var(--soft); margin-top: 8px; }

.h-cov-card { background: var(--card); border-radius: 32px; box-shadow: var(--shadow); padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.h-cov-card > * { min-width: 0; }
.h-cov-card img { width: 100%; max-height: 480px; object-fit: contain; }
.h-top { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.h-top div { background: var(--bg); border-radius: 16px; padding: 14px 16px; }
.h-top span { display: block; font-size: 13.5px; color: var(--soft); }
.h-top b { font: 800 24px/1.2 "Plus Jakarta Sans", sans-serif; color: var(--green-dark); }

.h-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.h-tile { position: relative; border-radius: 28px; overflow: hidden; text-decoration: none; color: inherit; min-height: 340px; transition: transform .2s ease; }
.h-tile:hover { transform: translateY(-4px); }
.h-tile h3 { font-size: 28px; margin-top: 12px; max-width: 360px; }
.h-tile p { margin-top: 10px; max-width: 340px; }
.h-comm { background: linear-gradient(160deg, var(--mint), #C8EFD5); padding: 40px; }
.h-comm p { color: #3D5A4C; }
.h-comm img { position: absolute; right: 18px; bottom: 10px; width: 150px; }
.h-xp { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; max-width: 330px; }
.h-xp span { background: #fff; border-radius: 999px; padding: 7px 13px; font-weight: 700; font-size: 13px; color: var(--green-dark); }
.h-biz { background: var(--deep); color: #fff; display: flex; align-items: flex-end; }
.h-biz img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.h-biz::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 22, 15, .95) 15%, rgba(5, 22, 15, .1) 75%); }
.h-biz > div { position: relative; z-index: 1; padding: 40px; }
.h-biz h3 { color: #fff; } .h-biz p { color: #CFE0D7; }
.h-link { display: inline-block; margin-top: 18px; font-weight: 700; color: var(--lime); }

.h-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }

@media (max-width: 960px) {
  .h-hero { margin: 4px 10px 0; min-height: 0; align-items: flex-end; }
  .h-bg { object-position: 62% 50%; }
  .h-shade { background: linear-gradient(0deg, rgba(5, 22, 15, .97) 0%, rgba(5, 22, 15, .88) 50%, rgba(5, 22, 15, .2) 80%, rgba(5, 22, 15, .05) 100%); }
  .h-inner { flex-direction: column; align-items: stretch; padding-top: 240px; padding-bottom: 96px; }
  .h-chips { display: none; }
  .h-copy p { font-size: 17px; }
  .h-why, .h-cov-card, .h-duo, .h-faq { grid-template-columns: 1fr; gap: 32px; }
  .h-cov-card { padding: 28px; }
  .h-track { grid-template-columns: 1fr; } .h-track::before { display: none; }
  .h-panel .hero-art { min-height: 480px; }
}
@media (max-width: 560px) { .h-stats .stat b { font-size: 28px; } .h-comm img { width: 100px; } .h-tile h3 { font-size: 24px; } .h-comm, .h-biz > div { padding: 28px; } .h-comm { padding-bottom: 110px; } }
@media (prefers-reduced-motion: reduce) { .h-live i { animation: none; } .h-tile { transition: none; } }

/* Hero + numbers fit in the first screen */
.h-hero { min-height: 0; height: max(540px, calc(100svh - 176px)); }
.h-inner { padding-top: 40px; padding-bottom: 96px; align-items: center; }
.h-chips { align-self: flex-end; }
.h-copy h1 { font-size: clamp(38px, min(5.4vw, 7.4svh), 66px); margin-top: 16px; }
.h-copy p { font-size: clamp(16px, 2.1svh, 19px); margin-top: 14px; }
.h-copy .badges { margin-top: clamp(16px, 3svh, 28px); }
@media (max-width: 960px) { .h-hero { height: auto; } .h-inner { padding-top: 240px; align-items: stretch; } }

/* Full-bleed hero: photo runs edge to edge and under the header, numbers sit inside it */
body.home .site-header { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; transition: background .25s ease; }
body.home .site-header.scrolled { background: rgba(243, 250, 245, .9); backdrop-filter: blur(12px); }
body.home .site-header:not(.scrolled) .logo { color: #fff; }
body.home .site-header:not(.scrolled) .logo b { color: var(--lime); }
body.home .site-header:not(.scrolled) .nav-links a { color: rgba(255, 255, 255, .78); }
body.home .site-header:not(.scrolled) .nav-links a:hover, body.home .site-header:not(.scrolled) .nav-links a[aria-current="page"] { color: #fff; }
body.home .site-header:not(.scrolled) .menu-btn { color: #fff; }
.h-hero { margin: 0; border-radius: 0; height: auto; min-height: 100svh; display: flex; flex-direction: column; align-items: stretch; background: #04261A; }
.h-bg { object-position: 60% 30%; }
.h-shade { background:
  linear-gradient(90deg, rgba(3, 32, 19, .94) 0%, rgba(4, 44, 26, .80) 32%, rgba(8, 80, 44, .30) 58%, rgba(23, 180, 87, .10) 78%, rgba(23, 180, 87, 0) 100%),
  linear-gradient(0deg, rgba(3, 32, 19, .92) 0%, rgba(4, 44, 26, .45) 22%, rgba(4, 44, 26, 0) 42%),
  linear-gradient(180deg, rgba(3, 32, 19, .6) 0%, rgba(3, 32, 19, 0) 16%); }
.h-inner { flex: 1; padding-top: 120px; padding-bottom: 36px; align-items: center; }
.h-statwrap { position: relative; width: 100%; padding-bottom: 36px; }
.h-stats { margin-top: 0; background: rgba(255, 255, 255, .1); border: 1px solid rgba(134, 242, 130, .28); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: none; }
.h-stats .stat { border-left-color: rgba(255, 255, 255, .16); }
.h-stats .stat b, .h-stats .stat:first-child b { color: #fff; }
.h-stats .stat:first-child b { color: var(--lime); }
.h-stats .stat span { color: #BFD5CA; }
.h-why { padding-top: 96px; }
@media (max-width: 960px) {
  body.home .site-header:not(.scrolled) .nav-links.open a { color: var(--muted); }
  .h-hero { min-height: 0; }
  .h-inner { padding-top: 300px; padding-bottom: 28px; }
  .h-shade { background: linear-gradient(0deg, rgba(3, 32, 19, .97) 0%, rgba(4, 44, 26, .9) 55%, rgba(8, 80, 44, .35) 80%, rgba(3, 32, 19, .5) 100%); }
  .h-stats .stat:nth-child(3) { border-left: 0; }
  .h-why { padding-top: 64px; }
}
.h-stats { background: rgba(3, 32, 19, .55); }
.h-inner { padding-top: 100px; }
@media (max-height: 800px) and (min-width: 961px) {
  .h-inner { padding-top: 88px; padding-bottom: 22px; }
  .h-statwrap { padding-bottom: 22px; }
  .h-stats { padding: 16px 10px; }
  .h-stats .stat b { font-size: 28px; }
  .h-copy .h-fine { margin-top: 8px; }
}
.h-stats .stat b span { color: inherit; font-size: inherit; }

/* Why ChargeBuddy: before / after */
.h-why2 { padding-top: 96px; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.vs > * { min-width: 0; }
.vs-card { position: relative; border-radius: 28px; padding: 30px; overflow: hidden; }
.vs-old { background: #fff; border: 1px solid var(--line); }
.vs-new { background: linear-gradient(150deg, #0B3A27, var(--deep) 60%); color: #fff; box-shadow: 0 40px 80px -40px rgba(11, 42, 32, .6); }
.vs-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.vs-tag { font: 800 13px/1 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: #EEF2EF; color: var(--soft); }
.vs-new .vs-tag { background: rgba(134, 242, 130, .15); color: var(--lime); }
.vs-q { font: 800 20px/1.2 "Plus Jakarta Sans", sans-serif; }
.vs-old .vs-q { color: var(--soft); }
.vs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vs-card li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--bg); }
.vs-new li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); }
.vs-card li div { flex: 1; min-width: 0; }
.vs-card li b { display: block; font-size: 15.5px; }
.vs-card li span { font-size: 13.5px; color: var(--soft); }
.vs-new li span { color: #BFD5CA; }
.vs-old li b { color: #5E6E66; }
.vs-card em { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: #E4EAE6; color: var(--soft); flex: none; }
.vs-card em.ok { background: var(--green); color: #fff; }
.vs-card em.down { background: var(--orange); color: #fff; }
.vs-foot { margin-top: 18px; font-weight: 600; color: var(--soft); }
.vs-new .vs-foot { color: var(--lime); padding-right: 110px; }
.vs-new img { position: absolute; right: 14px; bottom: 6px; width: 104px; }
.why-points { margin-top: 22px; }
@media (max-width: 960px) { .vs { grid-template-columns: 1fr; } .h-why2 { padding-top: 64px; } }
@media (max-width: 560px) { .vs-card { padding: 22px; } .vs-head { flex-direction: column; align-items: flex-start; } .vs-new img { width: 80px; } .vs-new .vs-foot { padding-right: 84px; } }
.h-hero { max-height: 1100px; }
.h-hero { min-height: min(100svh, 1000px); }
@media (max-width: 960px) { .h-hero { min-height: 0; } }

/* ---------- Features v2 ---------- */
.dev { width: 280px; flex: none; border-radius: 48px; padding: 9px; background: #0B1F17; box-shadow: 0 50px 90px -40px rgba(11, 31, 23, .55), inset 0 0 0 1.5px #2C3F37; position: relative; }
.dev img { display: block; width: 100%; height: auto; border-radius: 40px; }
.f-hero { text-align: center; padding-bottom: 20px; }
.f-hero h1 { max-width: 880px; margin-left: auto; margin-right: auto; }
.f-hero .lead { max-width: 640px; margin: 18px auto 0; }
.f-pills { justify-content: center; margin-top: 26px; }
.f-trio { position: relative; display: flex; justify-content: center; align-items: flex-end; margin-top: 48px; padding: 50px 0 0; background: radial-gradient(60% 70% at 50% 100%, #C8EFD5 0%, rgba(200, 239, 213, 0) 70%); height: 560px; overflow: hidden; border-radius: 0 0 32px 32px; }
.f-trio .dev { position: absolute; bottom: -170px; }
.f-trio .mid { z-index: 2; width: 300px; bottom: -120px; }
.f-trio .side { width: 260px; opacity: .97; }
.f-trio .side.l { transform: translateX(-250px) rotate(-6deg); }
.f-trio .side.r { transform: translateX(250px) rotate(6deg); }
.fb { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 64px 0; }
.fb > * { min-width: 0; }
.fb.flip .fb-copy { order: 2; }
.fb-num { display: block; font: 800 15px/1 "Plus Jakarta Sans", sans-serif; color: var(--green-dark); margin-bottom: 14px; }
.fb h2 { margin-top: 14px; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.ticks svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--mint); color: var(--green-dark); margin-top: 1px; }
.fb-art { position: relative; display: flex; justify-content: center; align-items: center; padding: 40px 0; background: linear-gradient(160deg, var(--mint), #CDEFD8); border-radius: 32px; min-height: 640px; }
.fb-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 65%); }
.fb-chip { position: absolute; left: 22px; bottom: 54px; z-index: 3; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 12px 16px 12px 12px; box-shadow: 0 20px 40px -18px rgba(11, 31, 23, .4); }
.fb.flip .fb-chip { left: auto; right: 22px; }
.fb-chip > svg { width: 30px; height: 30px; color: var(--green-dark); }
.fb-chip b { display: block; font-size: 15px; } .fb-chip span { font-size: 13px; color: var(--soft); }
.xp-badge { font-style: normal; font: 800 14px/1 "Plus Jakarta Sans", sans-serif; background: var(--lime); color: var(--ink); border-radius: 10px; padding: 8px 9px; }
@media (max-width: 960px) {
  .fb, .fb.flip { grid-template-columns: 1fr; gap: 32px; padding: 44px 0; }
  .fb.flip .fb-copy { order: 0; }
  .fb-art { min-height: 0; padding: 36px 0; }
  .f-trio { height: 440px; }
  .f-trio .side.l { transform: translateX(-150px) rotate(-6deg); } .f-trio .side.r { transform: translateX(150px) rotate(6deg); }
  .f-trio .side { width: 200px; bottom: -120px; } .f-trio .mid { width: 240px; bottom: -110px; }
}
@media (max-width: 560px) {
  .dev { width: 240px; border-radius: 42px; } .dev img { border-radius: 34px; }
  .f-trio .side { display: none; }
  .fb-chip { left: 12px; bottom: 20px; } .fb.flip .fb-chip { right: 12px; }
}
.pins2 { display: flex; gap: 4px; }

/* Features top: section index instead of phone trio */
.f-hero { padding-bottom: 8px; }
.f-index { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 44px; text-align: left; }
.f-index a { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px 20px 24px; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .18s ease, border-color .18s ease; }
.f-index a:hover { transform: translateY(-4px); border-color: #A9DDBB; }
.f-index .icon { margin-bottom: 10px; }
.f-index b { font: 800 18px/1.25 "Plus Jakarta Sans", sans-serif; }
.f-index span:not(.fi-n) { font-size: 14px; color: var(--soft); line-height: 1.45; }
.fi-n { position: absolute; top: 20px; right: 20px; font: 800 13px/1 "Plus Jakarta Sans", sans-serif; color: #A9C2B5; }
.f-index a:hover .fi-n { color: var(--green); }
@media (max-width: 960px) { .f-index { grid-template-columns: repeat(2, 1fr); } .f-index a:last-child { grid-column: span 2; } }
@media (max-width: 560px) { .f-index { grid-template-columns: 1fr; } .f-index a:last-child { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { .f-index a { transition: none; } }

/* Business hero: full image, dashboard stays visible on the right */
.b-hero .h-bg { object-position: 50% 50%; }
.b-hero .h-shade { background:
  linear-gradient(90deg, rgba(3, 32, 19, .95) 0%, rgba(4, 44, 26, .86) 30%, rgba(8, 80, 44, .35) 46%, rgba(8, 80, 44, 0) 56%),
  linear-gradient(180deg, rgba(3, 32, 19, .55) 0%, rgba(3, 32, 19, 0) 16%); }
.b-hero .h-inner { padding-bottom: 60px; }
.b-hero .h-copy { max-width: 520px; }
.b-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .3); }
@media (max-width: 960px) {
  .b-hero { min-height: 0; }
  .b-hero .h-bg { object-position: 72% 50%; }
  .b-hero .h-shade { background: linear-gradient(0deg, rgba(3, 32, 19, .97) 0%, rgba(4, 44, 26, .9) 50%, rgba(8, 80, 44, .3) 78%, rgba(3, 32, 19, .4) 100%); }
}
.b-hero .h-copy { max-width: 470px; }
.b-hero .h-copy h1 { font-size: clamp(36px, min(4.2vw, 6.4svh), 54px); }
.b-hero .h-copy p { max-width: 430px; }
.b-note { position: absolute; right: 18px; bottom: 14px; z-index: 2; font-size: 12px; color: rgba(255, 255, 255, .85); background: rgba(3, 32, 19, .55); padding: 5px 10px; border-radius: 999px; }

/* About: hero + four values fit in the first screen */
.a-top { min-height: calc(100svh - 72px); display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3.5svh, 40px); padding: clamp(16px, 3svh, 36px) 0; }
.a-hero { padding: 0; gap: 48px; }
.a-hero h1 { font-size: clamp(36px, min(4.6vw, 7svh), 62px); margin-top: 12px; }
.a-hero .lead { font-size: clamp(15px, 2.2svh, 18px); }
.a-hero .photo { aspect-ratio: auto; height: clamp(240px, 44svh, 440px); }
.a-hero .photo img { width: 100%; height: 100%; object-fit: cover; }
.a-hero .credit { margin-top: 6px; }
.a-values { padding: 0; }
.a-values .grid-4 { gap: 16px; }
.a-values .card { padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; }
.a-values .card .icon { grid-row: span 2; margin: 0; width: 42px; height: 42px; }
.a-values .card h3 { font-size: 17px; margin: 0; }
.a-values .card p { font-size: 14px; line-height: 1.45; margin-top: 4px; }
@media (max-width: 960px) { .a-top { min-height: 0; } .a-hero .photo { height: auto; aspect-ratio: 4 / 3; } }

/* About: full-screen station photo, copy on the right over the sky */
.a-full .h-bg { object-position: 35% 60%; }
.a-full .h-shade { background:
  linear-gradient(270deg, rgba(3, 32, 19, .93) 0%, rgba(4, 44, 26, .82) 32%, rgba(8, 80, 44, .3) 52%, rgba(8, 80, 44, 0) 64%),
  linear-gradient(0deg, rgba(3, 32, 19, .9) 0%, rgba(4, 44, 26, .4) 22%, rgba(4, 44, 26, 0) 40%),
  linear-gradient(180deg, rgba(3, 32, 19, .55) 0%, rgba(3, 32, 19, 0) 16%); }
.a-full .h-inner { justify-content: flex-end; }
.a-full .h-copy { max-width: 500px; }
.a-full .h-copy h1 { font-size: clamp(36px, min(4.4vw, 6.6svh), 58px); }
.a-full .h-copy p { font-size: clamp(15px, 2.1svh, 18px); }
.a-glass { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(3, 32, 19, .55); border: 1px solid rgba(134, 242, 130, .28); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: var(--radius); padding: 20px 8px; }
.a-glass > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 4px 18px; border-left: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.a-glass > div:first-child { border-left: 0; }
.a-glass svg { grid-row: span 2; width: 22px; height: 22px; color: var(--lime); margin-top: 2px; }
.a-glass b { font: 800 16px/1.3 "Plus Jakarta Sans", sans-serif; }
.a-glass span { font-size: 13.5px; color: #BFD5CA; line-height: 1.45; margin-top: 2px; }
@media (max-width: 960px) {
  .a-full .h-bg { object-position: 30% 50%; }
  .a-full .h-shade { background: linear-gradient(0deg, rgba(3, 32, 19, .97) 0%, rgba(4, 44, 26, .9) 55%, rgba(8, 80, 44, .3) 80%, rgba(3, 32, 19, .45) 100%); }
  .a-glass { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .a-glass > div:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) { .a-glass { grid-template-columns: 1fr; } .a-glass > div { border-left: 0; } }

/* Features top fills the first screen so the first feature starts below it */
.f-hero { min-height: calc(100svh - 72px); display: flex; flex-direction: column; justify-content: center; padding: 32px 0 48px; }
.f-hero h1 { font-size: clamp(38px, min(5.2vw, 8svh), 66px); }
#discover { padding-top: 32px; }
@media (max-width: 960px) { .f-hero { min-height: 0; padding: 56px 0 24px; } }
.f-hero { align-items: center; } .f-hero .f-index { align-self: stretch; }

/* Features: full-screen light background photo behind the top section */
body.lightbg .site-header { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; transition: background .25s ease; }
body.lightbg .site-header.scrolled { background: rgba(243, 250, 245, .9); backdrop-filter: blur(12px); }
.f-bg { position: relative; background: #EEF7F1 url(/img/cb-features.webp) center 60% / cover no-repeat; padding-top: 72px; }
.f-bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 42%, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .35) 60%, rgba(255, 255, 255, 0) 100%), linear-gradient(180deg, rgba(243, 250, 245, 0) 75%, var(--bg) 100%); }
.f-bg > .wrap { position: relative; }
.f-bg .f-hero { min-height: calc(100svh - 72px); }
.f-bg .f-index a { background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (max-width: 960px) { .f-bg { background-position: 80% 60%; } .f-bg .f-hero { min-height: 0; } }

/* Support: heading + three cards fill the first screen; FAQs start below */
.s-top { min-height: calc(100svh - 72px); display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4svh, 44px); padding: 24px 0 48px; }
.s-hero { padding: 0; }
.s-hero h1 { font-size: clamp(38px, min(5.2vw, 8svh), 66px); }
@media (max-width: 960px) { .s-top { min-height: 0; padding: 56px 0 24px; } }

/* About: lighter green tint so the photo stays bright */
.a-full .h-shade { background:
  linear-gradient(270deg, rgba(3, 32, 19, .78) 0%, rgba(4, 44, 26, .55) 30%, rgba(4, 44, 26, .12) 50%, rgba(4, 44, 26, 0) 60%),
  linear-gradient(0deg, rgba(3, 32, 19, .62) 0%, rgba(3, 32, 19, 0) 30%),
  linear-gradient(180deg, rgba(3, 32, 19, .4) 0%, rgba(3, 32, 19, 0) 14%); }
.a-full .h-copy h1, .a-full .h-copy p { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.a-full .a-glass { background: rgba(3, 32, 19, .45); }
@media (max-width: 960px) { .a-full .h-shade { background: linear-gradient(0deg, rgba(3, 32, 19, .9) 0%, rgba(4, 44, 26, .7) 50%, rgba(4, 44, 26, .1) 80%, rgba(3, 32, 19, .3) 100%); } }
.a-full .h-copy { background: rgba(3, 32, 19, .42); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(134, 242, 130, .22); border-radius: 26px; padding: 30px 32px; }
.a-full .h-copy h1, .a-full .h-copy p { text-shadow: none; }
@media (max-width: 960px) { .a-full .h-copy { background: none; backdrop-filter: none; border: 0; padding: 0; } }

/* Home hero: waterfront sunset photo, text over the open sky on the left */
.home-hero .h-bg { object-position: 60% 55%; }
.home-hero .h-shade { background:
  linear-gradient(90deg, rgba(3, 32, 19, .88) 0%, rgba(4, 44, 26, .7) 30%, rgba(8, 80, 44, .28) 52%, rgba(23, 180, 87, .08) 70%, rgba(23, 180, 87, 0) 100%),
  linear-gradient(0deg, rgba(3, 32, 19, .9) 0%, rgba(4, 44, 26, .4) 22%, rgba(4, 44, 26, 0) 42%),
  linear-gradient(180deg, rgba(3, 32, 19, .55) 0%, rgba(3, 32, 19, 0) 16%); }
.home-hero .h-chips { align-self: flex-start; margin-top: 40px; }

/* Features: sunset skyline photo with green gradient, white text */
.f-bg { background: #04261A url(/img/cb-features.webp) 72% 55% / cover no-repeat; }
.f-bg::before { background:
  radial-gradient(70% 60% at 50% 45%, rgba(3, 32, 19, .78) 0%, rgba(4, 44, 26, .55) 55%, rgba(4, 44, 26, .25) 100%),
  linear-gradient(0deg, rgba(3, 32, 19, .85) 0%, rgba(3, 32, 19, 0) 35%),
  linear-gradient(180deg, rgba(3, 32, 19, .5) 0%, rgba(3, 32, 19, 0) 16%); }
.f-bg .f-hero h1 { color: #fff; }
.f-bg .f-hero h1 .g { color: var(--lime); }
.f-bg .f-hero .lead { color: #CFE0D7; }
.f-bg .f-hero .eyebrow { color: var(--lime); }
.f-bg .f-index a { background: rgba(255, 255, 255, .92); }
.f-bg + .wrap #discover { padding-top: 72px; }
.logo, .logo b { font-style: italic; }
.logo { display: inline-block; transform: skewX(-8deg); }

/* Contact form (About page) */
.contact { padding: 96px 0 24px; scroll-margin-top: 72px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-grid > * { min-width: 0; }
.cform { background: var(--card); border-radius: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 32px; display: grid; gap: 16px; }
.cform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform label { display: grid; gap: 7px; font-weight: 600; font-size: 14px; color: var(--ink); }
.cform label em { font-style: normal; font-weight: 500; color: var(--soft); }
.cform input, .cform select, .cform textarea { font: 400 15.5px/1.4 Inter, sans-serif; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100%; transition: border-color .15s ease, background .15s ease; }
.cform textarea { resize: vertical; min-height: 120px; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(23, 180, 87, .14); }
.cform .btn { justify-self: start; padding: 14px 26px; }
.cform .btn:disabled { opacity: .6; cursor: wait; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform-msg { font-size: 14.5px; min-height: 1em; }
.cform-msg.ok { color: var(--green-dark); font-weight: 600; }
.cform-msg.err { color: #B4471A; }
.cform-msg a { color: inherit; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } .contact { padding-top: 64px; } }
@media (max-width: 560px) { .cform { padding: 22px; } .cform .row2 { grid-template-columns: 1fr; } }
