/* =====================================================================
   tena.energy: one stylesheet for every page. Mobile first.
   Brand: green #65A670, dark green #3F7F4A, charcoal #384143, tint #EDF5EE.
   Buttons use the dark green: white text on #65A670 does not meet WCAG AA.
   ===================================================================== */
:root {
  --green: #65a670;
  --green-dark: #3f7f4a;
  --green-darker: #33683d;
  --charcoal: #384143;
  --ink: #232b2d;
  --muted: #586264;
  --tint: #edf5ee;
  --line: #d9e3da;
  --white: #fff;
  --storm: #1b1f24;
  --storm-2: #242a31;
  --on-dark: #f2f5f2;
  --on-dark-muted: #b9c3bd;
  --danger: #a23b2a;
  --amber: #8a5a00;
  --radius: 14px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(20, 30, 25, .06), 0 8px 24px rgba(20, 30, 25, .07);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--white); color: var(--charcoal); font: 400 16px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--green-darker); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.05rem, 7.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 5.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { display: inline-block; font: 700 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--green-darker); margin-bottom: 14px; }
.lead { font-size: 1.12rem; color: var(--muted); }
.small { font-size: .88rem; color: var(--muted); }
.price-now { font-family: var(--serif); font-weight: 700; color: var(--ink); white-space: nowrap; }
.strike { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--muted); white-space: nowrap; }

/* the launch offer: prices with the code until the 20 are sold, then the normal prices */
html:not(.offer-ended) .when-normal { display: none !important; }
html.offer-ended .when-launch { display: none !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border: 2px solid var(--green-dark); border-radius: 12px;
  background: var(--green-dark); color: var(--white); font: 800 1.06rem/1.2 var(--sans);
  text-decoration: none; cursor: pointer; transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--green-darker); border-color: var(--green-darker); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 58px; font-size: 1.15rem; padding: 14px 30px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--green-dark); }
.btn-ghost:hover { background: var(--tint); color: var(--green-darker); }
.btn[disabled], .btn.is-busy { opacity: .6; cursor: not-allowed; }
.btn svg { width: 20px; height: 20px; flex: none; }
.wa-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.wa-link svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 599px) { .btn-block-sm { width: 100%; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; }
.lockup { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.lockup .tena { font: 800 1.6rem/1 var(--serif); letter-spacing: .02em; }
.lockup .by { font-size: .78rem; color: var(--muted); }
.lockup img { height: 17px; width: auto; }
.lockup .logo-light { display: none; }
.site-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.header-phone svg { width: 22px; height: 22px; }
.header-phone span { display: none; }
.header-buy { min-height: 44px; padding: 8px 16px; font-size: .95rem; }
@media (min-width: 900px) {
  .site-nav { display: flex; gap: 26px; }
  .site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; }
  .site-nav a:hover { color: var(--green-dark); }
  .header-phone { width: auto; padding: 0 10px; gap: 8px; font-weight: 700; }
  .header-phone span { display: inline; }
}
/* dark header (home and business): continues into the storm hero */
.dark-top .site-header { background: var(--storm); border-bottom-color: rgba(255, 255, 255, .08); }
.dark-top .lockup, .dark-top .header-phone, .dark-top .site-nav a { color: var(--on-dark); }
.dark-top .lockup .by { color: var(--on-dark-muted); }
.dark-top .lockup .logo-dark { display: none; }
.dark-top .lockup .logo-light { display: block; }
.dark-top .site-nav a:hover { color: var(--green); }

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 70% at 85% 0%, #2c343d 0%, var(--storm) 55%) var(--storm); color: var(--on-dark); padding: 26px 0 40px; }
.hero::before { /* faint lightning glow at the top right */
  content: ""; position: absolute; right: -10%; top: -30%; width: 70%; height: 90%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(170, 190, 255, .16), transparent);
}
.hero .container { position: relative; display: grid; gap: 28px; }
.hero h1 { color: var(--white); margin-bottom: 14px; max-width: 15ch; }
.hero .lead { color: var(--on-dark-muted); max-width: 34rem; margin-bottom: 20px; font-size: 1.08rem; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(101, 166, 112, .55); border-radius: 999px; background: rgba(101, 166, 112, .12); color: #cfe7d3; font: 800 .8rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(101, 166, 112, .25); }
.price-block { display: grid; gap: 6px; padding: 16px 18px; margin-bottom: 18px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); background: rgba(255, 255, 255, .05); max-width: 30rem; }
.price-block .row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.price-block .price-now { color: var(--white); font-size: 2.6rem; line-height: 1; }
.price-block .installed { font-weight: 700; color: var(--on-dark); }
.price-block .strike { color: var(--on-dark-muted); font-size: 1.05rem; }
.price-block .sub { color: var(--on-dark-muted); font-size: .95rem; }
.price-block .sub b { color: var(--on-dark); }
.left-pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: #ffd27a; font-size: .92rem; }
.left-pill[hidden] { display: none; }
.cpa-note { font-size: .82rem; color: var(--on-dark-muted); margin: 0; }
.hero .cta { display: grid; gap: 12px; justify-items: start; }
.hero .cta .btn { width: 100%; max-width: 30rem; }
.hero .wa-link { color: var(--on-dark); }
.hero .wa-link:hover { color: var(--green); }
.hero-art { margin: 0; border-radius: var(--radius); overflow: hidden; background: #1f2025; }
.hero-art img { width: 100%; aspect-ratio: 800 / 452; object-fit: cover; }
@media (min-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero .container { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
  .hero .cta .btn { width: auto; }
  .hero-art { -webkit-mask-image: radial-gradient(85% 85% at 60% 50%, #000 60%, transparent 100%); mask-image: radial-gradient(85% 85% at 60% 50%, #000 60%, transparent 100%); }
}

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--storm); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head p { color: var(--muted); }
.section-dark .section-head p { color: var(--on-dark-muted); }
@media (min-width: 900px) { .section { padding: 88px 0; } }

/* certifications strip */
.certs { padding: 18px 0; border-bottom: 1px solid var(--line); background: var(--white); }
.certs .container { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; justify-content: center; }
.certs .label { font-size: .85rem; color: var(--muted); width: 100%; text-align: center; }
.cert { display: inline-flex; flex-direction: column; align-items: center; min-width: 88px; }
.cert b { font-family: var(--serif); color: var(--ink); font-size: 1.05rem; }
.cert span { font-size: .74rem; color: var(--muted); }
@media (min-width: 900px) { .certs .label { width: auto; } }

/* what's included */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-size: 1.05rem; }
.ticks li::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--green-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.ticks li b { color: var(--ink); }
.ticks li span { display: block; color: var(--muted); font-size: .94rem; }
.included-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .included-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; } }

/* prices */
.price-cards { display: grid; gap: 18px; }
@media (min-width: 760px) { .price-cards { grid-template-columns: 1fr 1fr; } }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 12px; align-content: start; }
.price-card h3 { margin: 0; }
.price-card .hint { color: var(--muted); font-size: .92rem; margin: -6px 0 0; }
.price-card .big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price-card .big .price-now { font-size: 2.2rem; }
.price-card .big .installed { font-weight: 700; color: var(--ink); }
.breakdown { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: .94rem; }
.breakdown li { display: flex; justify-content: space-between; gap: 12px; }
.breakdown li span:last-child { white-space: nowrap; color: var(--ink); font-weight: 600; }
.extras { margin-top: 22px; display: grid; gap: 12px; }
@media (min-width: 760px) { .extras { grid-template-columns: 1fr 1fr 1fr; } }
.extra { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: .95rem; }
.extra b { display: block; color: var(--ink); margin-bottom: 4px; }

/* how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--green-dark); font: 800 1rem/1 var(--sans); margin-bottom: 10px; }
.steps li b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }
.steps li span { color: var(--muted); font-size: .94rem; }

/* installs and "why it matters" */
.installs { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .installs { grid-template-columns: 1.1fr .9fr; gap: 48px; } }
.photo { margin: 0; }
.photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.photo figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.why { font-family: var(--serif); font-size: clamp(1.45rem, 4.4vw, 2.2rem); line-height: 1.25; color: var(--white); max-width: 30ch; margin: 0 0 22px; }
.why em { font-style: normal; color: var(--green); }

/* reviews (only when there are real ones) */
.reviews { display: grid; gap: 16px; }
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.review blockquote { margin: 0 0 10px; font-size: 1.02rem; color: var(--ink); }
.review figcaption { font-size: .88rem; color: var(--muted); font-weight: 700; }

/* phase helper */
.helper { display: grid; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .helper { grid-template-columns: 1fr auto; align-items: center; padding: 32px; } }
.helper p { margin: 0; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 800; color: var(--ink); position: relative; min-height: 52px; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 700 1.4rem/1 var(--sans); color: var(--green-dark); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 18px 16px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* closing call to action */
.final-cta { text-align: center; display: grid; justify-items: center; gap: 12px; }
.final-cta .btn { width: 100%; max-width: 26rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--storm); color: var(--on-dark-muted); padding: 44px 0 110px; font-size: .94rem; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--green); }
.footer-grid { display: grid; gap: 26px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } .site-footer { padding-bottom: 44px; } }
.site-footer .lockup { color: var(--on-dark); margin-bottom: 12px; }
.site-footer .lockup .by { color: var(--on-dark-muted); }
.site-footer h2, .site-footer h3 { font: 800 .8rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark); margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 28px; padding-top: 18px; font-size: .84rem; }

/* sticky "Buy now" bar on phones (home), shown once the hero button has scrolled away */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); transform: translateY(110%); transition: transform .2s ease; }
.sticky-buy.show { transform: none; }
.sticky-buy .btn { flex: 1; min-height: 50px; }
.sticky-buy .wa { flex: none; width: 54px; padding: 0; background: var(--white); color: var(--green-dark); }
html.has-cookie-banner .sticky-buy { display: none; }
@media (min-width: 900px) { .sticky-buy { display: none; } }

/* ---------- cookie notice (small, at the bottom; never over the hero's Buy button) ---------- */
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; background: var(--ink); color: var(--on-dark); border-radius: 12px; box-shadow: 0 8px 28px rgba(0, 0, 0, .25); font-size: .86rem; line-height: 1.4; }
.cookie-bar p { margin: 0; flex: 1 1 220px; }
.cookie-bar a { color: #cfe7d3; }
.cookie-bar .actions { display: flex; gap: 8px; }
.cookie-bar button { min-height: 40px; padding: 6px 14px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: var(--on-dark); font: 700 .88rem/1 var(--sans); cursor: pointer; }
.cookie-bar button[data-choice="accepted"] { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
@media (min-width: 760px) { .cookie-bar { left: auto; max-width: 520px; } }

/* ---------- simple pages (business, legal, 404) ---------- */
.page-hero { padding: 40px 0 8px; }
.page-hero h1 { font-size: clamp(1.9rem, 6vw, 3rem); max-width: 22ch; }
.dark-top .page-hero { background: var(--storm); color: var(--on-dark); padding-bottom: 44px; }
.dark-top .page-hero h1 { color: var(--white); }
.dark-top .page-hero .lead { color: var(--on-dark-muted); }
.cards { display: grid; gap: 16px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.review-note { background: #fff7e6; border: 1px solid #f0d9a8; color: #5b4300; border-radius: 10px; padding: 12px 14px; font-size: .9rem; }
.placeholder { background: #fff7e6; padding: 0 4px; border-radius: 4px; color: #5b4300; }

/* ---------- forms (order, pay) ---------- */
.form-step { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 20px 18px; margin: 0 0 16px; }
.form-step legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; font: 700 1.2rem/1.2 var(--serif); color: var(--ink); display: flex; align-items: center; gap: 10px; }
.form-step legend + * { clear: both; }
.step-no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green-dark); color: var(--white); font: 800 .85rem/1 var(--sans); flex: none; }
@media (min-width: 760px) { .form-step { padding: 26px; } }
.choices { display: grid; gap: 10px; }
@media (min-width: 600px) { .choices.two { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 16px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--white); min-height: 56px; }
.choice:hover { border-color: #b7cdb9; }
.choice input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--green-dark); }
.choice:has(input:checked) { border-color: var(--green-dark); background: var(--tint); }
.choice b { display: block; color: var(--ink); font-size: 1.02rem; }
.choice .desc { display: block; color: var(--muted); font-size: .9rem; }
.choice .cprice { display: block; margin-top: 6px; font-weight: 800; color: var(--ink); }
.choice .cprice .strike { font-weight: 600; margin-left: 6px; font-size: .92rem; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; color: var(--ink); font-size: .95rem; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #c5d1c7; border-radius: 10px; background: var(--white);
  font: 500 16px/1.3 var(--sans); color: var(--ink);
}
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(101, 166, 112, .45); outline-offset: 0; border-color: var(--green-dark); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field .err { display: none; color: var(--danger); font-size: .88rem; font-weight: 600; }
.field.invalid .err { display: block; }
.row2 { display: grid; gap: 0 14px; }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr; } }
.area-msg { display: none; margin: 4px 0 14px; padding: 12px 14px; border-radius: 10px; background: #fff3ef; border: 1px solid #f1c7bb; color: #6e2a1d; font-size: .94rem; }
.area-msg.show { display: block; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid #c5d1c7; border-radius: 12px; overflow: hidden; }
.stepper button { width: 52px; height: 52px; border: 0; background: var(--tint); color: var(--ink); font: 700 1.4rem/1 var(--sans); cursor: pointer; }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.stepper output { min-width: 56px; text-align: center; font: 800 1.15rem/1 var(--sans); color: var(--ink); }
.plug-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.promo-row .btn { min-height: 50px; padding: 8px 18px; }
.msg { margin: 6px 0 0; font-size: .92rem; font-weight: 600; }
.msg:empty { display: none; }
.msg.ok { color: var(--green-darker); }
.msg.err { color: var(--danger); }
.form-error { color: var(--danger); font-weight: 700; margin: 10px 0 0; }
.form-error:empty { display: none; }

/* order layout and summary */
.order-layout { display: grid; gap: 8px; padding-bottom: 40px; }
@media (min-width: 980px) { .order-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; } }
.summary { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 20px 18px; box-shadow: var(--shadow); }
@media (min-width: 980px) { .summary { position: sticky; top: 84px; padding: 24px; } }
.summary h2 { font-size: 1.35rem; margin-bottom: 12px; }
.sum-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; }
.sum-lines li span:last-child { white-space: nowrap; font-weight: 600; color: var(--ink); }
.sum-lines li.discount span:last-child { color: var(--green-darker); }
.sum-total, .sum-due { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.sum-total { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font: 700 1.5rem/1.2 var(--serif); color: var(--ink); }
.sum-due { margin-top: 6px; font-weight: 800; color: var(--green-darker); }
.sum-due[hidden], .sum-balance[hidden] { display: none; }
.sum-balance { font-size: .9rem; color: var(--muted); margin: 4px 0 0; }
.sum-empty { color: var(--muted); font-size: .95rem; }
.reassure { font-size: .9rem; color: var(--muted); margin: 14px 0; }
.terms { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: .92rem; cursor: pointer; margin: 6px 0 4px; }
.terms input { width: 22px; height: 22px; margin: 0; accent-color: var(--green-dark); }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
.secure-note svg { width: 15px; height: 15px; color: var(--green-dark); flex: none; }

/* thank-you and payment result */
.result { max-width: 680px; padding: 40px 0 64px; }
.result h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
.result .facts { display: grid; gap: 4px 16px; grid-template-columns: auto 1fr; margin: 18px 0; padding: 16px 18px; background: var(--tint); border-radius: 12px; }
.result .facts dt { color: var(--muted); }
.result .facts dd { margin: 0; font-weight: 800; color: var(--ink); }
.result .actions { display: grid; gap: 12px; margin: 22px 0; }
@media (min-width: 600px) { .result .actions { grid-template-columns: auto auto; justify-content: start; } }
.next-steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; counter-reset: n; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.next-steps li::before { content: counter(n); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--green-dark); font-weight: 800; }
.spinner { display: inline-block; width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--green-dark); border-radius: 50%; animation: spin 1s linear infinite; vertical-align: -4px; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* narrow phones: the hero has its own Buy now button, so the header keeps only the logo and phone */
.header-buy { white-space: nowrap; }
@media (max-width: 459px) {
  .header-buy { display: none; }
  .lockup .tena { font-size: 1.45rem; }
  .lockup img { height: 15px; }
}
@media (max-width: 599px) {
  .cookie-bar { padding: 8px 10px; gap: 6px 10px; font-size: .8rem; }
  .cookie-bar p { flex-basis: 150px; }
  .cookie-bar button { min-height: 36px; padding: 4px 12px; }
}
/* checkout header on phones: WhatsApp and phone as icons only */
.checkout .header-actions .wa-link { min-width: 44px; min-height: 44px; justify-content: center; }
@media (max-width: 459px) { .checkout .header-actions .wa-link span { display: none; } .checkout .header-actions { gap: 2px; } }
/* the footer is dark on every page: always the light logo there */
.site-footer .lockup .logo-dark { display: none; }
.site-footer .lockup .logo-light { display: block; }
/* links on the tinted sections: the darker green keeps them above 4.5:1 */
.section-tint a:not(.btn), .result .facts a, .area-msg a { color: var(--green-darker); }
