/* BillMaple — landing 2026. Colours mirror the app (constants/Colors.ts). */
:root {
  --navy: #0D3B73;
  --navy-700: #0A2F5C;
  --navy-900: #061E3A;
  --blue: #1A5FAE;
  --sky: #4A9FD4;
  --sky-soft: #D6EAF8;
  --maple: #E63946;
  --amber: #F4A261;
  --green: #2DC653;

  --text: #0A1E3D;
  --text-2: #4B5563;
  --text-inv: #FFFFFF;
  --text-inv-2: rgba(255, 255, 255, .74);
  --bg: #FFFFFF;
  --bg-tint: #F3F7FC;
  --card: #FFFFFF;
  --border: #E3E9F1;
  --shadow: 0 1px 2px rgba(13, 59, 115, .06), 0 12px 32px rgba(13, 59, 115, .10);
  --shadow-lg: 0 24px 60px rgba(6, 30, 58, .35);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --r-sm: 10px; --r: 16px; --r-lg: 28px;
  --fs-xs: .8125rem; --fs-sm: .9375rem; --fs-md: 1.0625rem; --fs-lg: 1.25rem; --fs-xl: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); --fs-hero: clamp(2.5rem, 1.6rem + 4vw, 4.25rem);
  --wrap: 1160px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: var(--fs-md); line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--s4), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: var(--s2); background: var(--navy-900); color: #fff; padding: var(--s2) var(--s4); border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: var(--s2); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); font-weight: 700; text-decoration: none; border-radius: 999px; transition: transform .15s, background-color .15s, box-shadow .15s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--maple); color: #fff; box-shadow: 0 6px 18px rgba(230, 57, 70, .35); }
.btn-primary:hover { background: #cf2f3c; }
.btn-sm { padding: 10px 18px; font-size: var(--fs-sm); }
.btn-lg { padding: 16px 28px; font-size: var(--fs-md); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .2s, box-shadow .2s; }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: var(--s4); }
.brand img { width: 110px; height: auto; }
.brand .logo-dark { display: none; }
.nav-links { display: none; gap: var(--s6); }
.nav-links a, .lang { color: var(--text-inv); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); opacity: .9; }
.nav-links a:hover, .lang:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav-cta { display: flex; align-items: center; gap: var(--s4); }
.menu-btn { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.menu-btn span { width: 22px; height: 2px; background: var(--text-inv); transition: transform .2s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu { background: var(--navy-900); padding: var(--s2) var(--s4) var(--s5); display: grid; }
.mobile-menu a { color: #fff; text-decoration: none; font-weight: 600; padding: var(--s3) 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav.scrolled { background: #fff; backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--border); }
.nav.scrolled .logo-light { display: none; }
.nav.scrolled .logo-dark { display: block; }
.nav.scrolled .nav-links a, .nav.scrolled .lang { color: var(--text); }
.nav.scrolled .menu-btn span { background: var(--text); }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--text-inv); padding: 120px 0 var(--s7);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(74, 159, 212, .35), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(230, 57, 70, .18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 70%); }
.hero-grid { display: grid; gap: var(--s7); align-items: center; }
.chip { display: inline-flex; gap: var(--s2); align-items: center; font-size: var(--fs-xs); font-weight: 600; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.hero h1 { font-size: var(--fs-hero); font-weight: 800; margin: var(--s5) 0 var(--s5); letter-spacing: -.035em; }
.hl { background: linear-gradient(90deg, #FF8A8F, var(--maple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: var(--fs-lg); color: var(--text-inv-2); max-width: 34ch; }
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); margin-top: var(--s6); }
.store img { height: 52px; width: auto; }
.store:hover img { transform: translateY(-2px); }
.store img { transition: transform .15s; }
.store-soon { display: inline-flex; align-items: center; gap: var(--s2); height: 52px; padding: 0 var(--s4); border-radius: var(--r-sm); border: 1px dashed rgba(255,255,255,.35); color: var(--text-inv-2); font-size: var(--fs-sm); font-weight: 600; }
.store-soon svg { width: 18px; height: 18px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s5); font-size: var(--fs-sm); color: var(--text-inv-2); }
.hero-proof li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: var(--s2); }

.hero-visual { position: relative; justify-self: center; width: min(100%, 320px); padding: var(--s5) 0; }
.device { display: block; }
.device img { width: 100%; height: auto; filter: drop-shadow(0 28px 48px rgba(6, 30, 58, .45)); }
.toast { position: absolute; display: flex; gap: var(--s3); align-items: center; background: rgba(255,255,255,.97); color: var(--text); border-radius: var(--r); padding: var(--s3) var(--s4); box-shadow: 0 14px 36px rgba(6, 30, 58, .32); width: max-content; max-width: 270px; }
.toast b { display: block; font-size: var(--fs-sm); line-height: 1.3; }
.toast small { display: block; font-size: var(--fs-xs); color: var(--text-2); }
.t1 { top: 6%; left: -14%; }
.t2 { top: 46%; right: -18%; }
.t3 { bottom: 4%; left: -10%; }
.ti { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; font-size: 18px; }
.ti-green { background: #DDF6E3; } .ti-amber { background: #FDEBDC; } .ti-blue { background: var(--sky-soft); } .ti-red { background: #FFE1E3; }
@media (max-width: 520px) {
  .t1 { top: 0; left: -4%; } .t2 { right: -4%; } .t3 { left: 0; }
  .toast { max-width: 230px; padding: var(--s2) var(--s3); }
}
@media (min-width: 960px) {
  .hero { padding-top: 150px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero-visual { width: 340px; }
}

.providers { margin-top: var(--s8); text-align: center; }
.providers p { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--text-inv-2); font-weight: 600; }
.providers ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3) var(--s6); margin-top: var(--s4); }
.providers li { font-weight: 700; font-size: var(--fs-md); color: rgba(255,255,255,.62); }

/* ---------- sections ---------- */
.section { padding: var(--s9) 0; }
.section-tint { background: var(--bg-tint); }
.section-dark { background: var(--navy-900); color: var(--text-inv); }
.sec-head { max-width: 760px; margin-bottom: var(--s7); }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head h2 { font-size: var(--fs-xl); font-weight: 800; }
.sec-head p:not(.eyebrow) { margin-top: var(--s4); color: var(--text-2); font-size: var(--fs-lg); }
.section-dark .sec-head p:not(.eyebrow) { color: var(--text-inv-2); }
.eyebrow { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--maple); margin-bottom: var(--s3); }
.section-dark .eyebrow { color: #FF8A8F; }
@media (max-width: 640px) { .section { padding: var(--s8) 0; } }

/* problem */
.pain-grid { display: grid; gap: var(--s4); }
@media (min-width: 600px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pain-grid { grid-template-columns: repeat(4, 1fr); } }
.pain { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s2); }
.pain-num { font-size: 2.75rem; font-weight: 800; letter-spacing: -.04em; color: var(--navy); line-height: 1; }
.pain-num span { font-size: 1.5rem; color: var(--maple); margin-left: 2px; }
.pain h3 { font-size: var(--fs-lg); margin-top: var(--s2); }
.pain p:not(.pain-num) { color: var(--text-2); font-size: var(--fs-sm); }
.pain .src { margin-top: auto; padding-top: var(--s3); font-size: var(--fs-xs) !important; color: #6B7280 !important; }
.answer { margin-top: var(--s7); display: flex; gap: var(--s5); align-items: center; padding: var(--s5) var(--s6); border-radius: var(--r-lg); background: linear-gradient(120deg, var(--navy), var(--blue)); color: var(--text-inv); }
.answer img { border-radius: 14px; flex: none; }
.answer p { font-size: var(--fs-lg); color: var(--text-inv-2); }
.answer strong { color: #fff; }
@media (max-width: 640px) { .answer { flex-direction: column; align-items: flex-start; padding: var(--s5); } }

/* steps */
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: var(--s4); }

/* features */
.feature { display: grid; gap: var(--s6); align-items: center; padding: var(--s7) 0; }
.feature + .feature { border-top: 1px solid var(--border); }
.feature-media { justify-self: center; width: min(100%, 380px); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: linear-gradient(180deg, #006CB6, #00306C); box-shadow: var(--shadow); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.f-tag { display: inline-flex; gap: var(--s2); align-items: center; font-weight: 700; font-size: var(--fs-sm); color: var(--navy); background: var(--sky-soft); padding: 6px 14px; border-radius: 999px; }
.feature-copy h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); font-weight: 800; margin: var(--s4) 0 var(--s4); }
.feature-copy > p { color: var(--text-2); font-size: var(--fs-md); max-width: 52ch; }
.checks { display: grid; gap: var(--s3); margin-top: var(--s5); }
.checks li { position: relative; padding-left: 32px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #DDF6E3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23178A35' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: var(--s8); padding: var(--s8) 0; }
  .feature.reverse .feature-media { order: 2; }
}

/* live TOU widget */
.feature-media.phone { display: block; width: min(100%, 320px); aspect-ratio: auto; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.feature-media.phone img { height: auto; filter: drop-shadow(0 24px 40px rgba(6, 30, 58, .22)); }
.feature-media.phone-wide { width: min(100%, 440px); }
.feature-media.phone-top { display: block; width: min(100%, 440px); aspect-ratio: auto; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.feature-media.phone-top img { height: auto; filter: drop-shadow(0 24px 40px rgba(6, 30, 58, .22)); }
.feature-media.live { aspect-ratio: auto; background: none; box-shadow: none; overflow: visible; }
.tou { --c: var(--green); background: var(--navy-900); color: #fff; border-radius: var(--r-lg); padding: var(--s6) var(--s5); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.tou::before { content: ""; position: absolute; inset: -40% -40% auto auto; width: 300px; height: 300px; border-radius: 50%; background: var(--c); opacity: .22; filter: blur(60px); transition: background-color .4s; }
.tou[data-state="mid"] { --c: var(--amber); }
.tou[data-state="on"] { --c: var(--maple); }
.tou-top { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-sm); color: var(--text-inv-2); position: relative; }
.tou-clock { font-variant-numeric: tabular-nums; font-weight: 700; color: #fff; }
.tou-period { position: relative; margin-top: var(--s5); font-size: 2.5rem; font-weight: 800; letter-spacing: -.03em; color: var(--c); line-height: 1.1; }
.tou-price { position: relative; color: var(--text-inv-2); }
.tou-price b { color: #fff; font-size: var(--fs-lg); }
.tou-bar { position: relative; display: flex; height: 14px; border-radius: 7px; overflow: hidden; margin-top: var(--s5); background: rgba(255,255,255,.1); }
.tou-bar .seg { height: 100%; }
.seg.off, .k-off { background: var(--green); } .seg.mid, .k-mid { background: var(--amber); } .seg.on, .k-on { background: var(--maple); }
.tou-now { position: absolute; top: -3px; bottom: -3px; width: 4px; margin-left: -2px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 2px var(--navy-900); z-index: 1; }
.tou-scale { display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,.55); margin-top: 6px; }
.tou-next { position: relative; margin-top: var(--s5); font-weight: 700; }
.tou-tip { position: relative; color: var(--text-inv-2); font-size: var(--fs-sm); margin-top: var(--s1); }
.tou-legend { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin-top: var(--s5); font-size: var(--fs-xs); color: var(--text-inv-2); }
.tou-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.tou-foot { font-size: var(--fs-xs); color: #6B7280; margin-top: var(--s3); text-align: center; }

/* timeline */
.timeline { max-width: 720px; margin-inline: auto; display: grid; gap: var(--s4); position: relative; }
.timeline::before { content: ""; position: absolute; left: 88px; top: 8px; bottom: 8px; width: 2px; background: rgba(255,255,255,.12); }
.timeline li { display: grid; grid-template-columns: 76px 1fr; gap: var(--s6); align-items: center; }
.timeline time { font-weight: 800; font-size: var(--fs-sm); text-align: right; color: var(--sky); font-variant-numeric: tabular-nums; }
.note { display: flex; gap: var(--s3); align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: var(--s3) var(--s4); }
.note b { display: block; }
.note small { display: block; color: var(--text-inv-2); font-size: var(--fs-sm); }
@media (max-width: 560px) {
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; gap: var(--s2); padding-left: var(--s6); }
  .timeline time { text-align: left; }
}

/* who */
.who-grid { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.who { padding: var(--s6) var(--s5); border-radius: var(--r); border: 1px solid var(--border); }
.who-ico { font-size: 2rem; }
.who h3 { font-size: var(--fs-lg); margin: var(--s3) 0 var(--s2); }
.who p { color: var(--text-2); font-size: var(--fs-sm); }

/* trust */
.trust { display: grid; gap: var(--s7); align-items: center; }
.trust-copy h2 { font-size: var(--fs-xl); font-weight: 800; }
.trust-copy p:not(.eyebrow) { color: var(--text-2); font-size: var(--fs-lg); margin-top: var(--s4); }
.trust-list { display: grid; gap: var(--s3); }
.trust-list li { background: var(--card); border-radius: var(--r); padding: var(--s4) var(--s5); box-shadow: var(--shadow); display: grid; gap: 2px; }
.trust-list span { color: var(--text-2); font-size: var(--fs-sm); }
@media (min-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } }

/* pricing */
.price-card { display: grid; gap: var(--s6); max-width: 920px; margin-inline: auto; padding: var(--s6); border-radius: var(--r-lg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.plan { font-weight: 700; color: var(--navy); }
.price-big { font-size: 2.75rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: var(--s2) 0 var(--s3); }
.price-sub { color: var(--text-2); font-size: var(--fs-sm); margin-bottom: var(--s5); max-width: 36ch; }
.price-note { margin-top: var(--s3); font-size: var(--fs-xs); color: var(--text-2); }
.price-list { margin-top: 0; align-content: center; }
@media (min-width: 800px) { .price-card { grid-template-columns: 1fr 1fr; padding: var(--s7); } .price-list { border-left: 1px solid var(--border); padding-left: var(--s7); } }

/* faq */
.faq-wrap { display: grid; gap: var(--s6); }
.faq { display: grid; gap: var(--s3); }
.faq details { background: var(--card); border-radius: var(--r); padding: 0 var(--s5); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s5) 0; font-weight: 700; display: flex; justify-content: space-between; gap: var(--s4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--navy); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: var(--s5); color: var(--text-2); }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: 1fr 1.6fr; align-items: start; } }

/* cta */
.cta { background: linear-gradient(135deg, var(--maple), #B71C2B); color: #fff; padding: var(--s8) 0; }
.cta-grid { display: grid; gap: var(--s6); align-items: center; }
.cta h2 { font-size: var(--fs-xl); font-weight: 800; }
.cta p { color: rgba(255,255,255,.88); font-size: var(--fs-lg); margin-top: var(--s3); max-width: 46ch; }
.cta .store-soon { border-color: rgba(255,255,255,.5); color: #fff; }
.qr { margin: 0; background: #fff; color: var(--text); padding: var(--s3); border-radius: var(--r); text-align: center; justify-self: start; display: grid; grid-template-columns: 168px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.qr img { display: block; width: 168px; max-width: none; height: 168px; }
.qr figcaption { font-size: .75rem; line-height: 1.3; margin-top: var(--s2); color: var(--text-2); }
@media (min-width: 800px) { .cta-grid { grid-template-columns: 1fr auto; } }
@media (max-width: 799px) { .qr { display: none; } }

/* footer */
.footer { background: var(--navy-900); color: var(--text-inv-2); padding: var(--s8) 0 var(--s5); font-size: var(--fs-sm); }
.foot-grid { display: grid; gap: var(--s6); grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.foot-brand img { width: 120px; margin-bottom: var(--s3); }
.footer h3 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: var(--s3); }
.footer nav a, .foot-link { display: block; color: var(--text-inv-2); text-decoration: none; padding: 4px 0; }
.foot-link { background: none; border: 0; font: inherit; cursor: pointer; text-align: left; }
.foot-link:hover { color: #fff; }
.footer nav a:hover { color: #fff; }
.foot-bottom { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: var(--s2); }
.disclaimer { font-size: var(--fs-xs); color: rgba(255,255,255,.5); }

/* reveal — content stays visible if JS never runs */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* pain question, secondary CTA, problem→fix, from→to */
.hero-q { margin-top: var(--s5); font-size: var(--fs-lg); font-weight: 600; color: #FFB3B7; max-width: 32ch; }
.hero-q + h1 { margin-top: var(--s3); }
.btn-ghost { display: inline-flex; align-items: center; gap: var(--s2); height: 52px; padding: 0 var(--s2); color: #fff; font-weight: 700; font-size: var(--fs-sm); text-decoration: none; }
.btn-ghost:hover { text-decoration: underline; text-underline-offset: 6px; }
.pain .fix { margin-top: var(--s2); padding: var(--s3); border-radius: var(--r-sm); background: #E9F8EE; color: #14532D !important; font-size: var(--fs-sm); }
.pain .fix b { color: #14532D; }
.from-to { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin-bottom: var(--s4); font-size: var(--fs-sm); }
.from-to s { color: #6B7280; text-decoration-color: var(--maple); text-decoration-thickness: 2px; }
.from-to span { color: var(--maple); font-weight: 800; }
.from-to b { color: #14532D; background: #E9F8EE; padding: 4px 10px; border-radius: 999px; }

/* contact form (FAQ side column) */
.faq-side { display: grid; gap: var(--s5); align-content: start; }
.faq-side .sec-head { margin-bottom: 0; }
.contact { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: var(--s5); display: grid; gap: var(--s4); }
.contact h3 { font-size: var(--fs-lg); }
.contact-sub { color: var(--text-2); font-size: var(--fs-sm); margin-top: calc(-1 * var(--s3)); }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-sm); font-weight: 700; }
.field input, .field select, .field textarea { font: inherit; font-size: var(--fs-sm); color: var(--text); background: var(--bg-tint); border: 1.5px solid var(--border); border-radius: var(--r-sm); padding: 12px 14px; width: 100%; transition: border-color .15s, background-color .15s; }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230D3B73' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 3px rgba(26, 95, 174, .15); }
.field [aria-invalid="true"] { border-color: var(--maple); }
.err { color: #C62828; font-size: var(--fs-xs); }
.btn-md { padding: 14px 24px; font-size: var(--fs-sm); border: 0; cursor: pointer; font-family: inherit; justify-self: start; }
.btn[disabled] { opacity: .6; cursor: progress; }
.form-note { font-size: var(--fs-xs); color: var(--text-2); }
.form-status { font-size: var(--fs-sm); font-weight: 600; padding: var(--s3) var(--s4); border-radius: var(--r-sm); }
.form-status.ok { background: #E8F7EE; color: #1B7F3B; }
.form-status.fail { background: #FDECEE; color: #B71C2B; }
@media (max-width: 959px) { .faq-side { display: contents; } .faq-wrap .contact { order: 2; } }

/* cookie consent (Quebec Law 25) */
.consent { position: fixed; z-index: 60; left: var(--s4); right: var(--s4); bottom: var(--s4); max-width: 340px; background: var(--card); color: var(--text); border-radius: var(--r); border: 1px solid var(--border); box-shadow: 0 16px 40px rgba(6, 30, 58, .22); padding: var(--s4); display: grid; gap: var(--s2); font-size: var(--fs-xs); line-height: 1.5; }
.consent[hidden] { display: none; }
.consent-title { font-weight: 800; font-size: var(--fs-sm); }
.consent p { color: var(--text-2); }
.consent-title, .consent p.consent-title { color: var(--text); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-top: var(--s1); }
.consent-actions .btn { justify-self: stretch; padding: 9px 16px; font-size: var(--fs-xs); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }
@media (prefers-reduced-motion: no-preference) { .consent { animation: consent-in .35s ease both; } @keyframes consent-in { from { opacity: 0; transform: translateY(16px); } } }
@media (min-width: 800px) { .consent { left: auto; right: var(--s5); bottom: var(--s5); } }

/* ---------- how it works: capture → AI reads → reminded ---------- */
.flow { display: grid; gap: var(--s5); }
.flow-step { display: grid; gap: var(--s5); align-content: start; }
.flow-visual { position: relative; height: 320px; display: grid; place-items: center; border-radius: var(--r-lg);
  background: radial-gradient(120% 90% at 50% 0%, #fff 0%, rgba(255,255,255,.55) 60%, transparent 100%); }
.flow-copy h3 { font-size: var(--fs-lg); margin-bottom: var(--s2); }
.flow-copy p { color: var(--text-2); font-size: var(--fs-sm); max-width: 36ch; }
.flow-copy .step-n { margin-bottom: var(--s3); }
.flow-link { display: grid; place-items: center; height: 40px; }
.flow-link span { width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; }
.flow-link span::before { content: ""; width: 10px; height: 10px; border: solid var(--maple); border-width: 0 3px 3px 0; transform: translateY(-2px) rotate(45deg); }

/* mock UI shared */
.ln { display: block; height: 6px; border-radius: 3px; background: #E3E9F1; }
.w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.cap { position: absolute; background: #fff; border-radius: 14px; box-shadow: 0 12px 30px rgba(13, 59, 115, .16); padding: 14px; display: grid; gap: 8px; font-size: 12px; line-height: 1.3; color: var(--text); }
.cap small { display: block; color: var(--text-2); font-size: 11px; }
.cap-tag { position: absolute; top: -12px; left: 12px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; box-shadow: 0 4px 10px rgba(13, 59, 115, .25); }
.cap-paper { width: 168px; left: calc(50% - 96px); top: 30px; transform: rotate(-4deg); padding: 22px 18px 18px; }
.paper-head b { font-size: 13px; }
.paper-total { display: flex; justify-content: space-between; align-items: end; gap: 8px; border-top: 1px dashed #CBD5E1; padding-top: 8px; margin-top: 4px; }
.paper-total b { font-size: 14px; }
.paper-total small { white-space: nowrap; }
.vf { position: absolute; width: 16px; height: 16px; border: 3px solid var(--maple); }
.vf-tl { top: 4px; left: 4px; border-width: 3px 0 0 3px; border-top-left-radius: 6px; }
.vf-tr { top: 4px; right: 4px; border-width: 3px 3px 0 0; border-top-right-radius: 6px; }
.vf-bl { bottom: 4px; left: 4px; border-width: 0 0 3px 3px; border-bottom-left-radius: 6px; }
.vf-br { bottom: 4px; right: 4px; border-width: 0 3px 3px 0; border-bottom-right-radius: 6px; }
.cap-pdf { width: 130px; white-space: nowrap; right: 0; top: 8px; transform: rotate(6deg); padding: 10px 12px; grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
.pdf-ico { width: 34px; height: 42px; border-radius: 6px; background: #FFE1E3; color: var(--maple); font-weight: 800; font-size: 10px; display: grid; place-items: end center; padding-bottom: 6px; position: relative; }
.pdf-ico::before { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 10px 10px 0; border-color: transparent #fff transparent transparent; filter: drop-shadow(-1px 1px 0 #F5B5BA); }
.cap-mail { width: 158px; right: 2%; bottom: 14px; transform: rotate(-3deg); }
.cap-mail .cap-tag { top: auto; bottom: -12px; left: auto; right: 12px; }
.mail-bar { display: flex; gap: 4px; }
.mail-bar i { width: 7px; height: 7px; border-radius: 50%; background: #E3E9F1; }
.mail-from { font-size: 12px; }

.ui-card { width: min(250px, 86%); background: #fff; border-radius: 20px; box-shadow: 0 16px 40px rgba(13, 59, 115, .18); overflow: hidden; font-size: 12px; line-height: 1.3; }
.ui-head { background: linear-gradient(160deg, var(--navy), var(--navy-900)); color: #fff; padding: 14px 16px 12px; }
.ui-head b { display: block; font-size: 15px; }
.ui-head small { color: rgba(255,255,255,.7); font-size: 11px; }
.ui-btn { display: block; margin: 0 14px 14px; text-align: center; background: var(--navy); color: #fff; font-weight: 700; border-radius: 999px; padding: 9px; }
.scan-thumb { position: relative; margin: 12px 14px 4px; padding: 12px; border-radius: 10px; background: #F3F7FC; display: grid; gap: 6px; overflow: hidden; }
.beam { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--sky), transparent); box-shadow: 0 0 12px 2px rgba(74, 159, 212, .6); }
.scan-fields { padding: 4px 14px 10px; }
.scan-fields li { display: grid; grid-template-columns: 1fr auto 18px; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid #EEF2F7; }
.scan-fields li:last-child { border-bottom: 0; }
.scan-fields span { color: var(--text-2); }
.scan-fields .blue { color: var(--blue); font-size: 14px; }
.chk { font-style: normal; width: 18px; height: 18px; border-radius: 50%; background: #DDF6E3; color: #1B7F3B; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.ai-badge { position: absolute; top: 4px; right: 4%; background: #fff; color: var(--navy); font-size: 11px; font-weight: 800; padding: 6px 12px; border-radius: 999px; box-shadow: 0 8px 20px rgba(13, 59, 115, .18); }
.ai-badge::before { content: "✨ "; }

.bill-rows { padding: 6px 12px 12px; display: grid; gap: 8px; }
.bill-rows li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 8px; row-gap: 6px; border: 1px solid #E3E9F1; border-radius: 12px; padding: 9px 10px; }
.bill-rows p b { display: block; font-size: 12px; }
.bill-rows small { color: var(--text-2); font-size: 11px; }
.bill-rows .due-soon { color: #C2410C; font-weight: 700; }
.bill-rows .amt { font-weight: 800; font-size: 13px; text-align: right; }
.pay, .paid { grid-column: 2; justify-self: end; font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 4px 10px; }
.pay { background: var(--navy); color: #fff; }
.paid { background: #DDF6E3; color: #1B7F3B; }
.bill-rows p { grid-row: span 2; align-self: center; }
.flow-toast { top: 4px; right: 0; max-width: 230px; padding: 10px 14px; transform: rotate(2deg); }
.list-card { margin-top: 62px; }
.scan-card { margin-top: 26px; }
.flow-toast b { font-size: 13px; }

@media (min-width: 960px) {
  .flow { grid-template-columns: 1fr 44px 1fr 44px 1fr; gap: var(--s4); align-items: start; }
  .flow-link { height: 320px; }
  .flow-link span::before { transform: translateX(-2px) rotate(-45deg); }
  .flow-copy { padding-inline: var(--s2); }
}
@media (max-width: 959px) {
  .flow-step { max-width: 440px; margin-inline: auto; width: 100%; }
}

/* motion: plays once when the section scrolls into view (content is fully visible without JS) */
@media (prefers-reduced-motion: no-preference) {
  .js .flow:not(.play) .cap, .js .flow:not(.play) .chk, .js .flow:not(.play) .flow-toast { opacity: 0; }
  .flow.play .cap { animation: cap-in .5s cubic-bezier(.2,.8,.2,1) both; }
  .flow.play .cap-pdf { animation-delay: .12s; }
  .flow.play .cap-mail { animation-delay: .24s; }
  @keyframes cap-in { from { opacity: 0; translate: 0 16px; } }
  .flow.play .beam { animation: beam 1.6s ease-in-out .5s 2 both; }
  @keyframes beam { 0% { top: 0; } 50% { top: calc(100% - 3px); } 100% { top: 0; } }
  .flow.play .chk { animation: pop .35s cubic-bezier(.3,1.6,.5,1) both; }
  .flow.play .scan-fields li:nth-child(1) .chk { animation-delay: 1.1s; }
  .flow.play .scan-fields li:nth-child(2) .chk { animation-delay: 1.35s; }
  .flow.play .scan-fields li:nth-child(3) .chk { animation-delay: 1.6s; }
  .flow.play .scan-fields li:nth-child(4) .chk { animation-delay: 1.85s; }
  @keyframes pop { from { opacity: 0; transform: scale(.3); } }
  .flow.play .flow-toast { animation: toast-in .5s cubic-bezier(.2,.8,.2,1) 2.3s both; }
  @keyframes toast-in { from { opacity: 0; transform: translateY(-12px) rotate(2deg); } }
}

/* ---------- Plus: one account, two people ---------- */
.plus { position: relative; overflow: hidden; display: grid; gap: var(--s6); align-items: center; margin-top: var(--s7); padding: var(--s6); border-radius: var(--r-lg); color: #fff;
  background: radial-gradient(500px 300px at 90% 10%, rgba(74, 159, 212, .35), transparent 65%), radial-gradient(400px 260px at 0% 100%, rgba(230, 57, 70, .22), transparent 65%), linear-gradient(150deg, var(--navy), var(--navy-900)); box-shadow: var(--shadow-lg); }
.plus-badge { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--fs-xs); font-weight: 700; padding: 4px 14px 4px 4px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); margin-bottom: var(--s4); }
.plus-badge b { background: var(--maple); color: #fff; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; padding: 4px 10px; border-radius: 999px; }
.plus h3 { font-size: var(--fs-xl); font-weight: 800; }
.plus h3 span { background: linear-gradient(90deg, #FF8A8F, var(--maple)); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: .72em; }
.plus-copy > p:not(.plus-badge) { color: var(--text-inv-2); margin-top: var(--s3); max-width: 52ch; }
.checks-inv { margin-top: var(--s4); }
.checks-inv li { color: #fff; }
.plus-visual { display: flex; align-items: center; justify-content: center; gap: var(--s3); }
.mini-phone { width: 168px; background: #fff; color: var(--text); border-radius: 26px; padding: 14px 12px; border: 6px solid #0A0F1A; box-shadow: 0 18px 40px rgba(0,0,0,.35); font-size: 11px; line-height: 1.3; display: grid; gap: 6px; }
.mini-phone:first-child { transform: rotate(-4deg); }
.mini-phone:last-child { transform: rotate(4deg); }
.mp-who { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--text-2); }
.av { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 11px; }
.av-a { background: var(--maple); } .av-b { background: var(--blue); }
.mp-label { color: var(--text-2); margin-top: 4px; }
.mp-total { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: -4px; }
.mp-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 6px; align-items: center; border: 1px solid #E3E9F1; border-radius: 10px; padding: 7px 8px; }
.mp-row span { font-weight: 800; text-align: right; }
.mp-row i { grid-column: 1 / -1; justify-self: start; font-style: normal; font-size: 10px; font-weight: 700; border-radius: 999px; padding: 2px 8px; }
.plus-link { position: relative; z-index: 2; flex: none; display: grid; justify-items: center; gap: 6px; margin-inline: calc(-1 * var(--s5)); }
.plus-link em { font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: var(--maple); padding: 4px 10px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.plus-link b { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 20px; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
@media (min-width: 900px) { .plus { grid-template-columns: 1.1fr 1fr; padding: var(--s7); } }
@media (max-width: 480px) { .plus { padding: var(--s5); } .mini-phone { width: 122px; padding: 10px 9px; border-width: 5px; border-radius: 22px; font-size: 10px; } .mp-total { font-size: 18px; } .mp-who .av { width: 18px; height: 18px; font-size: 9px; } .plus-link { margin-inline: -30px; } .mini-phone:first-child { transform: rotate(-3deg); } .mini-phone:last-child { transform: rotate(3deg); } .plus-link b { width: 38px; height: 38px; font-size: 16px; } }

.price-plus { display: flex; gap: var(--s2); align-items: flex-start; margin-top: var(--s4); padding: var(--s3) var(--s4); border-radius: var(--r-sm); background: var(--sky-soft); color: var(--navy); font-size: var(--fs-sm); line-height: 1.45; }

/* French page: longer words — slightly smaller hero headline so it keeps 3 lines */
:root[lang^="fr"] { --fs-hero: clamp(2.25rem, 1.1rem + 3.3vw, 3.6rem); }
.nav-cta .btn { white-space: nowrap; }
.lbl-sm { display: none; }
@media (max-width: 420px) { .lbl-lg { display: none; } .lbl-sm { display: inline; } }

/* ---------- testimonials + who ---------- */
.quotes { display: grid; gap: var(--s5); max-width: 980px; margin-inline: auto; }
.quote { margin: 0; position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s7) var(--s6) var(--s6); box-shadow: var(--shadow); display: grid; gap: var(--s5); align-content: space-between; }
.quote::before { content: "“"; position: absolute; top: 4px; left: var(--s5); font-size: 5rem; line-height: 1; font-weight: 800; color: var(--maple); opacity: .9; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: var(--fs-lg); line-height: 1.5; font-weight: 500; color: var(--text); }
.quote figcaption { display: flex; gap: var(--s3); align-items: center; }
.quote figcaption b { display: block; }
.quote figcaption small { color: var(--text-2); font-size: var(--fs-sm); }
.quote figcaption small::before { content: "📍 "; }
.q-av { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--maple), #B71C2B); }
.q-av-b { background: linear-gradient(135deg, var(--blue), var(--navy)); }
.quotes-note { text-align: center; font-size: var(--fs-xs); color: var(--text-2); margin-top: var(--s4); }
.who-title { text-align: center; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .14em; color: var(--text-2); margin: var(--s8) 0 var(--s4); }
.who-row { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.who-row li { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s3); row-gap: 2px; padding: var(--s4) var(--s5); border-radius: var(--r); background: var(--bg-tint); }
.who-row span { grid-row: span 2; font-size: 1.6rem; }
.who-row small { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.5; }
@media (min-width: 800px) { .quotes { grid-template-columns: 1fr 1fr; } }

/* ---------- savings example (off-peak feature) ---------- */
.example { margin-top: var(--s5); padding: var(--s4) var(--s5); border-radius: var(--r); background: #EAF7EE; border-left: 4px solid var(--green); }
.ex-label { font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: #1B7F3B; }
.example b { font-size: var(--fs-md); }
.ex-math { font-size: var(--fs-xs); color: var(--text-2); margin-top: 4px; }

/* ---------- Android waitlist (final CTA) ---------- */
a.store-soon { text-decoration: none; transition: border-color .15s, color .15s; }
a.store-soon:hover { border-color: #fff; color: #fff; }
.waitlist { margin-top: var(--s5); max-width: 460px; display: grid; gap: var(--s2); }
.waitlist label { font-size: var(--fs-sm); color: rgba(255,255,255,.9); }
.w-row { display: flex; gap: var(--s2); }
.w-row input { flex: 1; min-width: 0; font: inherit; font-size: var(--fs-sm); padding: 12px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.14); color: #fff; }
.w-row input::placeholder { color: rgba(255,255,255,.65); }
.w-row input:focus { outline: none; border-color: #fff; background: rgba(255,255,255,.22); }
.w-row input[aria-invalid="true"] { border-color: #FFD3D6; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.w-row .btn { justify-self: auto; flex: none; }
.cta .w-status { font-size: var(--fs-sm); font-weight: 600; min-height: 1.4em; margin-top: 0; }
