/* ==========================================================================
   Splash Share — self-hosted site stylesheet
   Rebuilt from the live Framer site (splashrenewable.co.uk), 2026-06-10.
   Design tokens + type scale mirror splash/marketing/website/website_design_system.md
   and values measured on the rendered original.
   Breakpoint: single, at 610px (mobile = max-width:609px).
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --green: #b1f445;        /* Primary — CTAs, highlights */
  --green-soft: #9ef34a;   /* progress segments */
  --black: #171717;        /* text, dark surfaces */
  --white: #ffffff;
  --gray: #f6f6f6;         /* card / section backgrounds */
  --bg-alt: #f2eaef;       /* alternate background (pinkish) */
  --amber: #ffca0b;        /* star ratings */
  --border: #e3e3e3;
  --border-soft: #e9e9e9;
  --muted: rgba(23, 23, 23, 0.6);
  --muted-50: rgba(23, 23, 23, 0.5);
  --nav-bg: rgba(10, 10, 10, 0.7);
  --nav-bg-mobile: rgba(26, 26, 26, 0.7);
  --ease-soft: cubic-bezier(0.44, 0, 0.56, 1);   /* Framer link/colour ease */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);     /* appear animations */
  --col: 550px;                                   /* content column */
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Manrope", "Manrope Placeholder", sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.04em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; letter-spacing: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
input, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
strong, b { font-weight: 700; }

/* ---------- Type scale (desktop base, mobile overrides at 609px) ---------- */
.t-hero  { font-size: 72px; line-height: 0.9;  letter-spacing: -0.05em; font-weight: 600; }
.t-h1    { font-size: 50px; line-height: 1;    letter-spacing: -0.05em; font-weight: 600; }
.t-h2    { font-size: 50px; line-height: 1.1;  letter-spacing: -0.05em; font-weight: 600; text-align: center; }
.t-38    { font-size: 38px; line-height: 1;    letter-spacing: -0.05em; }
.t-26    { font-size: 26px; line-height: 1.3;  letter-spacing: -0.04em; }
.t-22    { font-size: 22px; line-height: 1.2;  letter-spacing: -0.04em; }   /* 19 on mobile */
.t-20b   { font-size: 20px; line-height: 20px; letter-spacing: -0.05em; font-weight: 700; }
.t-18    { font-size: 18px; line-height: 1.4;  letter-spacing: -0.04em; }   /* 16 on mobile */
.t-17    { font-size: 17px; line-height: 1.4;  letter-spacing: -0.04em; }   /* 15 on mobile */
.t-16    { font-size: 16px; line-height: 1.3;  letter-spacing: -0.04em; }   /* 14 on mobile */
.t-15    { font-size: 15px; line-height: 1;    letter-spacing: -0.05em; }   /* 14 on mobile */
.t-14    { font-size: 13px; line-height: 1.3;  letter-spacing: -0.04em; }
.t-13    { font-size: 12px; line-height: 1.2;  letter-spacing: -0.05em; }
.t-12    { font-size: 12px; line-height: 1;    letter-spacing: -0.04em; }
.t-11    { font-size: 11px; line-height: 1;    letter-spacing: -0.05em; }
.t-num   { font-size: 48px; line-height: 0.8;  letter-spacing: -0.06em; }   /* 65 on mobile */
.muted   { color: var(--muted); }
.muted-50{ color: var(--muted-50); }
.center  { text-align: center; }

@media (max-width: 609px) {
  .t-hero { font-size: 50px; }
  .t-h1   { font-size: 34px; }
  .t-h2   { font-size: 34px; }
  .t-38   { font-size: 34px; }
  .t-26   { font-size: 24px; }
  .t-22   { font-size: 19px; }
  .t-18   { font-size: 16px; }
  .t-17   { font-size: 15px; }
  .t-16   { font-size: 14px; }
  .t-15   { font-size: 14px; }
  .t-num  { font-size: 65px; }
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--col);
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
}
.section { padding: 70px 0; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 44px; }
.section-head .sub { max-width: 360px; text-align: center; color: var(--muted); }

/* supported-charger logo strip — CSS-only marquee (no motion lib, unlike the broken Framer Ticker) (2026-06-15) */
.collab { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.collab-cap { color: var(--muted); text-align: center; }
.collab-track {
  width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.collab-row { display: flex; align-items: center; gap: 52px; width: max-content; animation: collab-scroll 30s linear infinite; }
.collab-row img { height: 63px; width: auto; flex: none; opacity: 1; }
.collab-track:hover .collab-row { animation-play-state: paused; }
@keyframes collab-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .collab-row { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: 32px 40px; }
}

/* ---------- Floating pill nav (fixed, bottom-centred) ---------- */
.nav {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 0 7px 0 13px;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  border-radius: 50px;
  box-shadow: 0 10px 21px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
}
.nav-home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 46px;
  color: var(--white);
}
.nav-home svg { width: 20px; height: 20px; }
.nav-links { display: flex; align-items: center; gap: 24px; padding: 0 10px; }
.nav-links a {
  color: var(--white);
  font-size: 16px;
  letter-spacing: -0.05em;
  transition: color 0.4s var(--ease-soft);
}
.nav-links a:hover { color: rgba(255, 255, 255, 0.7); }
.nav-cta {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 15px 20px;
  background: var(--white);
  color: var(--black);
  border-radius: 50px;
  font-size: 15px;
  letter-spacing: -0.05em;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.09);
  transition: transform 0.3s var(--ease-soft);
}
.nav-cta:hover { transform: scale(1.04); }
@media (max-width: 609px) {
  .nav { background: var(--nav-bg-mobile); }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 15px; }
  .nav-cta { font-size: 14px; }
}

/* ---------- Buttons ---------- */
/* Green pill with white icon-circle: <a class="btn"><span>Label</span><span class="btn-ic">svg</span></a> */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 6px 6px 26px;
  height: 58px;
  background: var(--green);
  border-radius: 50px;
  overflow: hidden;
  isolation: isolate;
}
.btn::after {            /* hover darken, mirrors Framer's overlay */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.11);
  opacity: 0;
  transition: opacity 0.3s var(--ease-soft);
}
.btn:hover::after { opacity: 1; }
.btn .btn-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--white);
  border-radius: 50%;
  flex: none;
}
/* Resting glyph natively points up-right (↗); rotate +45° so it reads as → at rest,
   then swing back to its native ↗ on hover — a small "send/go" micro-interaction (2026-06-29). */
.btn .btn-ic svg { width: 12px; height: 12px; transform: rotate(45deg); transition: transform 0.28s var(--ease-soft); }
.btn:hover .btn-ic svg { transform: rotate(0deg) scale(1.1); }

.btn-gray { background: var(--gray); }
.btn-gray::after { background: rgba(0, 0, 0, 0.04); }
.btn-plain {      /* gray pill without icon (hero "About") */
  display: inline-flex;
  align-items: center;
  height: 58px;
  padding: 20px 28px;
  background: var(--gray);
  border-radius: 50px;
  transition: background 0.3s var(--ease-soft);
}
.btn-plain:hover { background: #ededed; }

/* ---------- Interaction states (added 2026-06-26: launch states pass) ---------- */
.btn:active,
.btn-plain:active { transform: scale(0.97); }
.nav-cta:active { transform: scale(0.98); }
.btn:focus-visible,
.btn-plain:focus-visible,
.nav-cta:focus-visible,
.news-form button:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.btn:disabled,
.btn[aria-disabled="true"],
.btn.is-loading { opacity: 0.55; cursor: not-allowed; pointer-events: none; }
/* loading: swap the icon glyph for a spinner inside the white circle */
.btn.is-loading .btn-ic svg { display: none; }
.btn.is-loading .btn-ic::after {
  content: "";
  width: 16px; height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #171717;
  border-radius: 50%;
  animation: spin-btn 0.7s linear infinite;
}
@keyframes spin-btn { to { transform: rotate(360deg); } }

/* Inline arrow link: <a class="link-arrow">Label <svg/></a> */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  letter-spacing: -0.04em;
}
.link-arrow svg { width: 10px; height: 10px; transition: transform 0.3s var(--ease-soft); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

/* Back-link pill (detail pages) */
.backlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--black);
}
.backlink .btn-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
}
.backlink .btn-ic svg { width: 12px; height: 12px; transform: scaleX(-1); }

/* ---------- Generic cards ---------- */
.card-gray  { background: var(--gray); border-radius: 46px; padding: 9px; }
.card-white { background: var(--white); border-radius: 40px; }

/* ==========================================================================
   HERO — badge on a lanyard
   ========================================================================== */
.hero {
  position: relative;
  padding: 34px 10px 90px;   /* top room so the hanging connector isn't clipped at the page edge */
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}
.hero-stage { position: relative; width: 100%; max-width: var(--col); perspective: 1400px; }

/* Hero rig — wrapper for the badge card. The EV-plug "lanyard drop" + socket
   were removed 2026-06-30 (public, minimal design); the card now sits flush,
   with a symmetric empty grey top band mirroring the "Built in London" footer. */
.hero-rig { position: relative; }

.badge-card {
  position: relative;
  width: 100%;
  background: var(--gray);
  border-radius: 46px;
  /* empty top band mirrors the bottom "Built in London" footer band for symmetry */
  padding: 61px 9px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.badge-inner {
  width: 100%;
  background: var(--white);
  border-radius: 36px;
  padding: 30px 50px 50px;
  display: flex;
  flex-direction: column;
  gap: 44px;
  box-shadow: 0 7px 26.5px rgba(0, 0, 0, 0.03);
}
@media (max-width: 609px) {
  .badge-inner { border-radius: 30px; gap: 28px; padding: 18px 30px 30px; }
}

/* story-style progress bars at the top of the badge */
.badge-progress { display: flex; gap: 12px; }
.badge-progress span { height: 4px; border-radius: 4px; flex: 1; background: #efefef; }
.badge-progress span.on { background: var(--green-soft); }

.badge-top { display: flex; align-items: center; gap: 16px; }
.badge-avatar { width: 74px; height: 74px; border-radius: 50%; overflow: hidden; flex: none; }
.badge-avatar img { width: 100%; height: 100%; object-fit: cover; }
.badge-id .name { font-size: 22px; letter-spacing: -0.04em; }
.badge-id .role { font-size: 13px; color: var(--muted); margin-top: 2px; }
.badge-social { display: flex; gap: 8px; margin-top: 10px; }
.badge-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  transition: opacity 0.3s var(--ease-soft);
}
.badge-social a:hover { opacity: 0.6; }
.badge-social img { width: 16px; height: 16px; opacity: 0.4; }
@media (max-width: 609px) {
  .badge-social a { width: 34px; height: 34px; background: var(--white); border: 1px solid var(--border); }
}

/* staggered headline */
.hero-headline { display: flex; flex-direction: column; }
.hero-headline .l1 { text-align: left; }
.hero-headline .l2 { font-size: 50px; font-weight: 600; line-height: 1; letter-spacing: -0.05em; text-align: left; padding-left: 30%; margin: 6px 0; }
.hero-headline .l3 { text-align: right; }
@media (max-width: 609px) {
  .hero-headline .l2 { font-size: 34px; }
}

.hero-meta { display: flex; flex-direction: column; gap: 22px; }
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gray);
  border-radius: 50px;
  padding: 6px 12px 6px 8px;
  width: max-content;
}
.rating-badge svg { height: 11px; width: auto; }
.rating-badge .label { font-size: 11px; letter-spacing: -0.05em; }
.hero-desc { max-width: 432px; color: var(--muted); }

.hero-buttons { display: flex; align-items: center; gap: 14px; }

.hero-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 22px;
  color: var(--black);
  font-size: 12px;
  letter-spacing: -0.05em;
}
.hero-location svg { width: 13px; height: 14px; opacity: 0.4; }
.hero-location .muted { color: var(--muted); }

/* ==========================================================================
   FEATURES — image cards with floating pill bar
   ========================================================================== */
.feature-grid { display: flex; flex-direction: column; gap: 24px; }
.feature-card {
  position: relative;
  display: flex;
  height: 400px;
  border-radius: 42px;
  padding: 6px;
  overflow: hidden;
  align-items: flex-end;
}
.feature-card .bg {
  position: absolute;
  inset: 0;
  border-radius: 42px;
  overflow: hidden;
}
.feature-card .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.6s var(--ease-soft);
}
.feature-card:hover .bg img { transform: scale(1.06); }
.feature-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  height: 70px;
  background: var(--white);
  border-radius: 50px;
  padding: 8px;
}
.feature-bar .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: var(--black);
  border-radius: 50%;
  flex: none;
  overflow: hidden;
}
.feature-bar .logo img { width: 30px; height: 30px; object-fit: contain; }
/* FAQ hub category icons are inline SVGs sitting on the dark (.black) logo chip —
   flip their dark stroke/fill to white so they're visible (feature pages use img logos, unaffected). */
.feature-bar .logo svg { width: 30px; height: 30px; }
.feature-bar .logo svg [stroke="#171717"] { stroke: #fff; }
.feature-bar .logo svg [fill="#171717"] { fill: #fff; }
.feature-bar .txt { flex: 1; min-width: 0; }
.feature-bar .txt .ti { font-size: 16px; letter-spacing: -0.04em; }
.feature-bar .txt .su { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feature-bar .go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: var(--gray);
  border-radius: 50%;
  flex: none;
}
.feature-bar .go svg { width: 14px; height: 14px; transition: width 0.3s var(--ease-soft), height 0.3s var(--ease-soft); }
.feature-card:hover .go svg { width: 19px; height: 19px; }
@media (max-width: 609px) {
  .feature-bar .txt .su { white-space: normal; }
}

/* ==========================================================================
   CHARGING FLOW — gray shell, green heading card, alternating steps
   ========================================================================== */
.flow-shell {
  background: var(--gray);
  border-radius: 46px;
  padding: 9px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.flow-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--green);
  border-radius: 40px;
  padding: 32px 44px;
  overflow: hidden;
}
.flow-head .num { font-size: 96px; line-height: 0.8; letter-spacing: -0.06em; color: var(--white); font-weight: 600; }
.flow-head .ti  { font-size: 38px; line-height: 1; letter-spacing: -0.05em; }
.flow-head .su  { font-size: 13px; color: rgba(23, 23, 23, 0.7); margin-top: 8px; }
.flow-head .ladder { position: absolute; right: 36px; top: 50%; transform: translateY(-50%); width: 96px; opacity: 0.9; }
@media (max-width: 609px) {
  .flow-head { padding: 26px 28px; }
  .flow-head .num { font-size: 72px; }
  .flow-head .ti { font-size: 34px; }
  .flow-head .ladder { width: 64px; right: 20px; }
}

.flow-steps {
  background: var(--white);
  border-radius: 40px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.flow-step {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  gap: 18px;
}
.flow-step .heading { font-size: 22px; letter-spacing: -0.04em; text-align: right; }
.flow-step .desc { font-size: 16px; color: var(--muted); }
.flow-step .marker { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.flow-step .dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  border: 6px solid var(--white);
  box-shadow: 0 0 0 1px var(--border);
}
.flow-step .stepnum { font-size: 20px; font-weight: 700; letter-spacing: -0.05em; color: var(--green); }
.flow-step > :first-child { text-align: right; }
.flow-step > :last-child { text-align: left; }
.flow-cta { display: flex; justify-content: center; padding: 16px 0 10px; }

/* ==========================================================================
   ACCORDIONS — host benefits (rows) + FAQ (pill cards)
   ========================================================================== */
.acc-row { border-top: 1px solid var(--border); }
.acc-row:last-child { border-bottom: 1px solid var(--border); }
/* host "Sharing = Caring" accordion — match original's narrower column (450px, not the full 550) (2026-06-16) */
#host-benefits [data-accordion-group] { max-width: 450px; width: 100%; margin: 0 auto; }
.acc-q {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 26px 4px;
  text-align: left;
}
.acc-q .ic { width: 26px; height: 26px; flex: none; }
.acc-q .ic svg { width: 100%; height: 100%; }
.acc-q .ti { flex: 1; font-size: 22px; letter-spacing: -0.04em; }
.acc-q .tog { position: relative; width: 18px; height: 18px; flex: none; }
.acc-q .tog::before,
.acc-q .tog::after {
  content: "";
  position: absolute;
  background: var(--black);
  transition: transform 0.35s var(--ease-soft), opacity 0.35s var(--ease-soft);
}
.acc-q .tog::before { left: 0; right: 0; top: 8px; height: 2px; }
.acc-q .tog::after { top: 0; bottom: 0; left: 8px; width: 2px; }
.acc-row.open .acc-q .tog::after { transform: scaleY(0); }
.acc-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-soft);
}
.acc-a > div { overflow: hidden; }
.acc-a p { padding: 0 4px 28px; color: var(--muted); font-size: 16px; line-height: 1.45; max-width: 92%; }

/* FAQ pill cards */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 40px; padding: 12px 19px 12px 30px; }
.faq-item .acc-q { padding: 7px 0; }
.faq-item .acc-q .ti { font-size: 16px; }
.faq-item .acc-q .tog-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: var(--gray);
  border-radius: 50%;
  flex: none;
  transition: transform 0.35s var(--ease-soft);
}
.faq-item.open .tog::after { transform: scaleY(0); }
.faq-item .acc-a p { padding: 6px 60px 18px 0; font-size: 17px; }
.faq-foot { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 34px; }
.faq-foot .q { font-size: 12px; color: var(--muted); }
/* full FAQ page — category headings (2026-06-15) */
.faq-cat { font-size: 22px; letter-spacing: -0.04em; font-weight: 600; margin: 50px 0 16px; padding-left: 6px; }
.faq-cat:first-of-type { margin-top: 8px; }
/* FAQ detail (sub)pages — more breathing room so questions don't feel packed (Andy 2026-06-29).
   The h1 in .listing-head already names the topic, so drop the duplicate .faq-cat heading. No images here. */
.faq-page { margin-top: 28px; }
.faq-page .faq-cat { display: none; }
.faq-page .faq-list { gap: 16px; }
.faq-page .faq-item { padding-top: 4px; padding-bottom: 4px; }
.faq-page .faq-item .acc-q { padding: 15px 0; }
@media (max-width: 609px) { .faq-cat { font-size: 19px; margin-top: 40px; } }
@media (max-width: 609px) {
  .faq-item .acc-a p { padding-right: 10px; }
  .earn-bar { height: 74px; }
}

/* ==========================================================================
   EARNING POTENTIAL — progress bars
   ========================================================================== */
.earn-list { display: flex; flex-direction: column; gap: 18px; }
.earn-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 80px;
  border-radius: 18px;
  background: var(--gray);
  padding: 0 26px 0 13px;
  overflow: hidden;
}
.earn-bar .fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--green);
  border-radius: 18px;
  transition: width 1.1s var(--ease-out);
  z-index: 0;
}
.earn-bar .ic, .earn-bar .txt, .earn-bar .amt { z-index: 1; }
.earn-bar.in .fill { width: var(--fill); }
.earn-bar .ic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: var(--white);
  border-radius: 14px;
  flex: none;
}
.earn-bar .ic img { width: 26px; height: 26px; }
.earn-bar .txt { position: relative; flex: 1; }
.earn-bar .txt .ti { font-size: 16px; }
.earn-bar .txt .su { font-size: 13px; color: var(--muted); }
.earn-bar .amt {
  position: relative;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  font-size: 13px;
  border-radius: 50px;
  padding: 8px 14px;
  flex: none;
}
.earn-note { margin-top: 26px; text-align: center; font-size: 14px; color: var(--black); line-height: 1.5; }
.earn-note p + p { color: var(--muted); }
#testimonials .section-head .sub { color: var(--black); }

/* ==========================================================================
   TESTIMONIALS — avatar pill + phone carousel
   ========================================================================== */
.avatar-pill {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border-radius: 50px;
  padding: 6px;
  margin: 4px 0 10px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.avatar-pill .av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--white);
  overflow: hidden;
  margin-left: -14px;
}
.avatar-pill .av:first-child { margin-left: 0; }
.avatar-pill .av img { width: 100%; height: 100%; object-fit: cover; }
.avatar-pill .heart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray);
  margin-left: -14px;
}
.avatar-pill .heart svg { width: 18px; height: 18px; fill: var(--green); }

.phone-stage { position: relative; display: flex; justify-content: center; margin-top: 50px; }
.phone {
  position: relative;
  width: 350px;
  height: 714px;
  border-radius: 52px;
  background: var(--green);
  overflow: hidden;
  box-shadow: 0 0 0 11px #2c2c2e, 0 0 0 13px #1c1c1e, 0 30px 60px rgba(0, 0, 0, 0.25);
}
.phone .island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 30px;
  background: var(--black);
  border-radius: 20px;
  z-index: 3;
}
.phone-ui { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 60px 28px 36px; z-index: 2; }
.phone-progress { display: flex; gap: 10px; margin-bottom: 26px; }
.phone-progress span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.33); overflow: hidden; position: relative; }
.phone-progress span i { position: absolute; inset: 0 100% 0 0; background: var(--white); }
.phone-progress span.done i { inset: 0; }
.phone-person { display: flex; align-items: center; gap: 12px; }
.phone-person .av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; }
.phone-person .nm { color: var(--white); font-size: 15px; }
.phone-person .rl { color: rgba(255, 255, 255, 0.6); font-size: 13px; }
.phone-quote { margin-top: auto; }
.phone-quote .stars { height: 13px; margin-bottom: 18px; }
.phone-quote .stars svg { height: 13px; width: auto; }
.phone-quote blockquote {
  margin: 0;
  color: var(--white);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.04em;
  min-height: 270px;
}
.phone-quote .who { margin-top: 28px; }
.phone-quote .who .nm { color: var(--white); font-size: 15px; }
.phone-quote .who .rl { color: rgba(255, 255, 255, 0.6); font-size: 13px; margin-top: 3px; }
.phone-tap { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 4; }
.phone-tap.l { left: 0; }
.phone-tap.r { right: 0; }
/* hand asset (9dhZrKmAWHLHuMDD4tfApCOXUnM.png) available but disabled —
   original only shows it on a side-screen desktop variant */
.phone-hand { display: none; }

/* ==========================================================================
   BANNER — dark download card
   ========================================================================== */
.banner-card {
  position: relative;
  background: var(--black);
  border-radius: 46px;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
}
.banner-card .bgimg { position: absolute; inset: 0; }
.banner-card .bgimg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; }
.banner-card .bgimg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); }
.banner-card .inner { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.banner-card h2 { color: var(--white); font-size: 44px; line-height: 1.08; width: 100%; }
.banner-card .sub { color: rgba(255, 255, 255, 0.8); text-align: center; max-width: 420px; }
.banner-card .stores { display: flex; gap: 26px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }
.banner-card .btn { min-width: 200px; justify-content: space-between; }
/* store-badge glyphs: keep them upright (don't inherit the .btn arrow's 45° rotation) and a touch larger for legibility */
.stores .btn .btn-ic svg { transform: none; width: 16px; height: 16px; }
.stores .btn:hover .btn-ic svg { transform: scale(1.08); }

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.news-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 6px 6px 24px;
  max-width: 450px;
  margin: 0 auto;
}
.news-form .at { color: var(--muted); display: flex; }
.news-form .at svg { width: 18px; height: 18px; }
.news-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  height: 56px;
  font-size: 15px;
}
.news-form input::placeholder { color: var(--muted); }
.news-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
  transition: transform 0.3s var(--ease-soft);
}
.news-form button:hover { transform: scale(1.06); }
.news-form button svg { width: 14px; height: 14px; }
#newsletter .sub { max-width: 560px; }
.news-caption { margin-top: 18px; text-align: center; font-size: 12px; color: var(--muted); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: 80px 10px 110px; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.footer-person { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-person .av { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; margin-bottom: 10px; }
.footer-person .nm { font-size: 22px; }
.footer-person .rl { font-size: 13px; color: var(--muted); }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gray);
  border-radius: 50%;
  transition: background 0.3s var(--ease-soft);
}
.footer-social a:hover { background: var(--border); }
.footer-social img { width: 16px; height: 16px; opacity: 0.4; }

.footer-contact {
  width: 100%;
  max-width: var(--col);
  background: var(--gray);
  border-radius: 46px;
  padding: 9px 9px 26px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.footer-form-card {
  background: var(--white);
  border-radius: 40px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (max-width: 609px) {
  .footer-form-card { padding: 40px 24px; }
}
.footer-form-card .head { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-form-card .head .sub { text-align: center; color: var(--muted); max-width: 360px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.field {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gray);
  border-radius: 46px;
  padding: 0 24px;
  height: 64px;
}
.field svg { width: 17px; height: 17px; color: var(--muted); flex: none; }
.field input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: 0;
  height: 100%;
  font-size: 15px;
}
.field input::placeholder { color: var(--muted); }
.contact-form .btn { align-self: center; margin-top: 10px; }
.form-status { text-align: center; font-size: 13px; color: var(--muted); display: none; }
.form-status.show { display: block; }
.form-status.ok { color: var(--black); }   /* success — dark text, never green-on-white (brand rule) */
.form-status.err { color: #c0392b; }       /* error */
.field:focus-within { box-shadow: 0 0 0 2px var(--green); }   /* keyboard/click focus ring */

/* O1.29 — free-text message field + T&Cs consent (added 2026-06-15) */
.field.field-area { align-items: flex-start; height: auto; border-radius: 28px; padding: 18px 24px; }
.field.field-area svg { margin-top: 2px; }
.field textarea {
  flex: 1; min-width: 0; background: none; border: 0; outline: 0;
  font-size: 15px; line-height: 1.5; resize: vertical; min-height: 78px; padding: 0;
  font-family: inherit;
}
.field textarea::placeholder { color: var(--muted); }
.consent { display: flex; align-items: flex-start; gap: 10px; padding: 2px 8px; cursor: pointer; }
.consent input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--green); }
.consent span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.consent a { color: var(--black); text-decoration: underline; }

.footer-help { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 10px 0 0; }
.footer-help .sub { color: var(--muted); font-size: 17px; }
@media (max-width: 609px) {
  .footer-help .sub { font-size: 15px; }
}
.footer-copy { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; }
.lbl-m { display: none; }
@media (max-width: 609px) {
  .lbl-d { display: none; }
  .lbl-m { display: inline; }
}
.footer-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
}
.footer-location svg { width: 13px; height: 14px; opacity: 0.4; }
.footer-location .muted { color: var(--muted); }

/* footer link columns — established-company structure (2026-06-16) */
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 64px; margin-top: 34px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; min-width: 130px; text-align: left; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 3px; }
.footer-col a { font-size: 14px; color: var(--black); text-decoration: none; opacity: 0.7; transition: opacity 0.2s var(--ease-soft); }
.footer-col a:hover { opacity: 1; }
@media (max-width: 609px) { .footer-links { gap: 28px 44px; margin-top: 28px; } }

/* ==========================================================================
   DETAIL PAGES (features / guides)
   ========================================================================== */
.detail { max-width: var(--col); margin: 0 auto; padding: 50px 10px 120px; }
.detail-top { display: flex; flex-direction: column; gap: 26px; margin-bottom: 26px; }
.detail-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.detail-date { font-size: 13px; color: var(--muted); }

.meta-card {
  background: var(--gray);
  border-radius: 46px;
  padding: 9px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.meta-card .photo { border-radius: 40px; overflow: hidden; aspect-ratio: 16 / 10; }
.meta-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.meta-rows { display: flex; flex-direction: column; gap: 6px; }
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--white);
  border-radius: 50px;
  padding: 8px 24px 8px 8px;
}
.meta-row .lab { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.meta-row .lab .ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray);
}
.meta-row .lab .ic svg { width: 17px; height: 17px; }
.meta-row .val { font-size: 16px; text-align: right; }
@media (max-width: 609px) {
  .meta-row .val { font-size: 14px; }
}

.detail-body { display: flex; flex-direction: column; gap: 34px; margin-top: 44px; }
.detail-step h2 { font-size: 26px; line-height: 1.3; letter-spacing: -0.04em; font-weight: 600; margin-bottom: 10px; }
.detail-step p { font-size: 18px; line-height: 1.4; color: var(--muted); }
.detail-img { border-radius: 12px; overflow: hidden; background: var(--gray); aspect-ratio: 16 / 10; }
.detail-img.portrait { aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; }
.detail-img.portrait img { max-height: 100%; max-width: 100%; object-fit: contain; margin: 0 auto; }
.detail-img.wide { aspect-ratio: auto; }   /* wide/landscape screenshots: show in full, no side-crop */
.detail-img.wide img { width: 100%; height: auto; object-fit: contain; }
@media (max-width: 609px) {
  .detail-step h2 { font-size: 24px; }
  .detail-step p { font-size: 18px; }
}

/* image placeholders — "build now, screenshots later" (Phase 4, 2026-06-15) */
.is-placeholder { background: var(--gray); border: 1.5px dashed var(--border); }
.detail-img.is-placeholder, .meta-card .photo.is-placeholder { display: flex; align-items: center; justify-content: center; }
.detail-img.portrait.is-placeholder { aspect-ratio: 3 / 4; max-width: 320px; margin: 0 auto; width: 100%; }

/* wide placeholder — landscape/desktop-portal screenshots (Task 3, 2026-06-29)
   Renders full column width, landscape ratio (~16:9), centred icon + label.
   On mobile (~390px) a full-width landscape box is only ~220px tall — legible
   enough for a placeholder; when real screenshots land, Andy can verify at that
   width. We do NOT shrink below 160px so the icon+label remains readable. */
.detail-img.wide.is-placeholder {
  aspect-ratio: 16 / 9;
  width: 100%;
  min-height: 160px;
}
@media (max-width: 609px) {
  /* On narrow viewports wide placeholders already fit naturally (full-width,
     ~219px tall at 390px). No further rule needed — kept here for documentation. */
}

.ph-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 22px; max-width: 86%; }
.ph-inner svg { width: 30px; height: 30px; color: var(--muted); flex: none; }
.ph-tag { font-size: 13px; font-weight: 600; color: var(--black); }
.ph-desc { font-size: 13px; color: var(--muted); line-height: 1.45; }
.gr-logo.is-placeholder { display: flex; align-items: center; justify-content: center; background: var(--gray); color: var(--muted); font-size: 18px; font-weight: 700; }

/* TEMP 2026-06-30 — hide all "screenshot needed" placeholders on the live public
   site until real screenshots are added. Markup stays in place (tracked in
   /_PLACEHOLDERS.md). To restore one: add the real <img> and drop the
   "is-placeholder" class from that element. When all are done, delete this rule. */
.detail-img.is-placeholder { display: none !important; }

/* index grids for features / guides listing pages */
.listing-head { padding: 70px 0 10px; }
.listing-grid { display: flex; flex-direction: column; gap: 24px; padding: 40px 0 90px; }

/* ==========================================================================
   PRIVACY / plain text pages
   ========================================================================== */
.prose { max-width: var(--col); margin: 0 auto; padding: 60px 10px 130px; }
.prose h1 { margin-bottom: 30px; }
.prose h2 { font-size: 38px; line-height: 1; letter-spacing: -0.05em; margin: 44px 0 14px; }
.prose p, .prose li { font-size: 18px; line-height: 1.45; color: var(--muted-50); margin-bottom: 14px; }
.prose ul { padding-left: 22px; margin: 0 0 14px; }
@media (max-width: 609px) {
  .prose h2 { font-size: 34px; }
  .prose p, .prose li { font-size: 16px; }
}

/* ==========================================================================
   Scroll-appear animation system
   data-appear: up | up-sm | down | left | right | scale  (+ data-delay="ms")
   ========================================================================== */
[data-appear] {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
[data-appear="up"]    { transform: translateY(40px); }
[data-appear="up-sm"] { transform: translateY(22px); }
[data-appear="down"]  { transform: translateY(-20px); }
[data-appear="left"]  { transform: translateX(-50px); }
[data-appear="right"] { transform: translateX(50px); }
[data-appear="scale"] { transform: scale(1.12); }
[data-appear].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-appear], .lanyard { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* 404 */
.err-page { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 40px 10px; text-align: center; }

/* ===== contact/privacy/404 (agent) ===== */
.prose h3 { font-size: 24px; letter-spacing: -0.04em; font-weight: 700; margin: 24px 0 10px; }
@media (max-width: 609px) {
  .prose h3 { font-size: 22px; }
}
.prose a { text-decoration: underline; text-underline-offset: 2px; font-weight: 700; }
/* legal-doc tables (privacy policy: legal basis, processors, retention, cookies) */
.prose table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; font-size: 15px; }
.prose th, .prose td { border: 1px solid #e6e6e1; padding: 10px 13px; text-align: left; vertical-align: top; color: var(--muted-50); }
.prose th { font-weight: 700; color: #171717; background: #f7f7f4; }
@media (max-width: 700px) { .prose table { font-size: 13px; } .prose th, .prose td { padding: 7px 9px; } }
.err-card { width: 100%; max-width: var(--col); border-radius: 40px; padding-top: 40px; }
.err-card .card-white {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  padding: 50px 30px 56px;
}
.err-card .err-text { display: flex; flex-direction: column; gap: 10px; }
.err-num { font-size: 140px; line-height: 0.9; letter-spacing: -0.06em; font-weight: 600; }
@media (max-width: 609px) {
  .err-num { font-size: 96px; }
  .err-card .card-white { padding: 40px 22px 44px; }
}

/* ===== features pages (agent) ===== */
.listing-head .intro { margin-top: 18px; max-width: 420px; color: var(--muted); }
.detail-top .backlink { align-self: flex-start; }

/* ===== guides pages (agent) ===== */
/* brand logos are dark marks on white tiles — show them on a light circle, not the default black */
.guide-card .feature-bar .logo { background: var(--white); border: 1px solid var(--border-soft); }
.guide-card .feature-bar .logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ===== empirical corrections from live-site spec diff (2026-06-10) ===== */
/* live button labels use the 17/15 body preset */
.btn > span:first-child, .btn-plain { font-size: 17px; }
/* two-up image row on feature detail pages */
.detail-img-row { display: flex; gap: 6px; }
.detail-img-row .detail-img { flex: 1; min-width: 0; }
@media (max-width: 609px) {
  .btn > span:first-child, .btn-plain { font-size: 15px; }
  .badge-id .name { font-size: 19px; }
  .feature-bar .txt .ti { font-size: 14px; }
  .flow-step .heading { font-size: 19px; }
  .flow-step .desc { font-size: 14px; }
  .acc-q .ti { font-size: 19px; }
  .acc-a p { font-size: 14px; }
  .faq-item .acc-q .ti { font-size: 14px; }
  .faq-item .acc-a p { font-size: 15px; }
  .earn-bar .txt .ti { font-size: 14px; }
  .footer-person .nm { font-size: 19px; }
  .detail-step p { font-size: 16px; }
  .nav-links a { font-size: 15px; }
  .nav-cta { font-size: 14px; }
}

/* ===== detail/listing fixes (fixer B) ===== */

/* Fix 1 — guides listing: compact row layout inside a single white card, matching ref */
.guide-listing-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 40px 0 90px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 46px;
  overflow: hidden;
}
.guide-row {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 72px;
  background: var(--white);
  padding: 8px 20px 8px 12px;
  text-decoration: none;
  color: var(--black);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s var(--ease-soft);
}
.guide-row:last-child { border-bottom: none; }
.guide-row:hover { background: var(--gray); }
.guide-row .gr-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gray);
  border: 1px solid var(--border-soft);
  flex: none;
  overflow: hidden;
}
.guide-row .gr-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.guide-row .gr-txt { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 6px; }
.guide-row .gr-txt .gr-ti { font-size: 16px; letter-spacing: -0.04em; white-space: nowrap; }
.guide-row .gr-txt .gr-su { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guide-row .gr-go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gray);
  border-radius: 50%;
  flex: none;
  margin-left: 8px;
}
.guide-row .gr-go svg { width: 10px; height: 10px; transition: transform 0.3s var(--ease-soft); }
.guide-row:hover .gr-go svg { transform: translate(1px, -1px); }
@media (max-width: 609px) {
  .guide-listing-grid { border-radius: 30px; }
  .guide-row { height: 64px; padding: 8px 16px 8px 10px; }
  .guide-row .gr-logo { width: 44px; height: 44px; }
  .guide-row .gr-txt .gr-ti { font-size: 15px; }
  .guide-row .gr-txt .gr-su { font-size: 12px; }
}

/* Fix 2 — meta-card photo: robust absolute-positioned img */
.meta-card .photo {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.meta-card .photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* guide detail pages: taller ratio matches phone-screenshot proportions in ref */
.guide-detail .meta-card .photo { aspect-ratio: 4 / 3; }

/* "More features" uses the base single-column stack of full-width cards (matches the original Framer design + the homepage). */

/* Fix 5 — detail top spacing: 50px → 30px */
.detail { padding-top: 30px; }

/* ---------- Journal article byline + standfirst (matches original Framer article design) ---------- */
.article-author { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.article-author .av { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: none; background: var(--gray); }
.article-author .av img { width: 100%; height: 100%; object-fit: cover; }
.article-author .nm { font-size: 14px; font-weight: 600; letter-spacing: -0.02em; }
.article-author .dt { font-size: 13px; color: var(--muted); margin-left: 4px; }
.standfirst { font-size: 22px; line-height: 1.35; font-weight: 600; letter-spacing: -0.03em; margin-top: 26px; }
.stand-sub { font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 12px; }
@media (max-width: 609px) { .standfirst { font-size: 19px; } }

/* ---------- Journal collection (rows: thumbnail + title + date) — matches original Framer journal ---------- */
.journal-list { display: flex; flex-direction: column; gap: 14px; }
.journal-row { display: flex; align-items: center; gap: 18px; background: var(--white); border-radius: 999px; padding: 12px 28px 12px 12px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05); transition: transform 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft); }
.journal-row:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09); }
.journal-row .thumb { width: 58px; height: 58px; border-radius: 50%; overflow: hidden; flex: none; background: var(--gray); }
.journal-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.journal-row .jt { flex: 1; font-size: 18px; font-weight: 600; letter-spacing: -0.03em; color: var(--black); line-height: 1.2; }
.journal-row .jd { font-size: 14px; color: var(--muted); flex: none; white-space: nowrap; }
@media (max-width: 609px) { .journal-row { padding: 9px 18px 9px 9px; gap: 12px; } .journal-row .thumb { width: 46px; height: 46px; } .journal-row .jt { font-size: 15px; } .journal-row .jd { font-size: 12px; } }

/* ---------- Global scale — LOCKED 0.97 (Andy, 2026-06-14, dialed by feel). 1 = original 550px design.
   Re-measure the live site (Chrome extension) to confirm the exact ratio when possible. ---------- */
body { zoom: 0.97; }

/* Fix 7 — small images fill column width */
.detail-img img { width: 100%; height: 100%; object-fit: cover; }

/* Fix 9a — guide-easee meta-row icon vertical centring (explicit guard) */
.meta-row .lab { align-items: center; }

/* Fix 10 — detail body rhythm: 34px → 44px */
.detail-body { gap: 44px; }

/* ===== earnings calculator ===== */

/* --- Page layout --- */
.calc-hero { padding-top: 80px; }

/* --- Calculator card --- */
.calc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* --- Field rows --- */
.calc-field { display: flex; flex-direction: column; gap: 12px; }
.calc-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.calc-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.03em;
}
/* Live readout: dark text on white — NEVER green text on light background */
.calc-live-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.04em;
  white-space: nowrap;
  font-feature-settings: "tnum" 1;
}
.calc-unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 2px;
}
.calc-hint {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
  letter-spacing: -0.02em;
}

/* --- Slider — light-themed port of section-2 preview.
       Track = light gray, Fill = #B1F445 (var(--green)), Handle = white circle with green dot.
       Value readout is dark text (var(--black)) — never green text on white. --- */
.calc-slider { user-select: none; -webkit-user-select: none; touch-action: none; }

.calc-slider .track-wrap {
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.calc-slider .track {
  position: absolute;
  left: 0; right: 0;
  height: 6px;
  background: var(--border);
  border-radius: 999px;
}
.calc-slider .fill {
  position: absolute;
  left: 0;
  height: 6px;
  background: var(--green);   /* #B1F445 — canonical accent */
  border-radius: 999px;
  pointer-events: none;
  min-width: 6px;
}
.calc-slider .handle {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18), 0 0 0 1px var(--border);
  transform: translate(-50%, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  outline: none;
  z-index: 1;
}
.calc-slider .handle:active { cursor: grabbing; }
.calc-slider .handle:focus-visible {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18), 0 0 0 3px rgba(177, 244, 69, 0.5);
}
.calc-slider .handle::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);   /* green dot inside white handle */
}

.calc-slider .endpoints {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum" 1;
}
.calc-slider .cap-label {
  font-size: 11px;
  color: var(--muted-50);
  font-weight: 500;
}

/* --- Energy cost input --- */
.calc-cost-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 12px;
}
.calc-cost-prefix {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.03em;
}
.calc-cost-input {
  width: 52px;
  background: none;
  border: 0;
  outline: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
  text-align: right;
  font-feature-settings: "tnum" 1;
  -moz-appearance: textfield;
}
.calc-cost-input::-webkit-inner-spin-button,
.calc-cost-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* --- Power selector buttons --- */
.calc-power-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.calc-power-btn {
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--gray);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.calc-power-btn.active {
  background: var(--green);   /* #B1F445 fill — dark text on green */
  border-color: var(--green);
  color: var(--black);
}
.calc-power-btn:hover:not(.active) { background: var(--border); }
.calc-power-btn:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* --- Results block --- */
.calc-results {
  background: var(--gray);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.calc-headline-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 20px;
}
.calc-year-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.calc-year-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.calc-year-val {
  font-size: 56px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.06em;
  line-height: 1;
  font-feature-settings: "tnum" 1;
}
.calc-year-period {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.03em;
}
.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.03em;
}
.calc-breakdown-row span:first-child { color: var(--muted); }
.calc-after-elec {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 10px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.calc-after-elec strong { color: var(--black); }
.calc-recap {
  font-size: 12px;
  color: var(--muted-50);
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 10px;
}
.calc-commission-note {
  font-size: 12px;
  color: var(--muted-50);
  margin: 0;
  letter-spacing: -0.01em;
}
.calc-commission-note a { color: var(--muted); text-decoration: underline; }

/* --- Disclaimer --- */
.calc-disclaimer {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin: 0;
  line-height: 1.5;
  letter-spacing: -0.02em;
  padding: 0 8px;
}

/* --- CTA below card --- */
.calc-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* --- Tax info section --- */
.tax-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tax-row {
  display: flex;
  gap: 20px;
  padding: 28px 28px;
  border-bottom: 1px solid var(--border-soft);
}
.tax-row:last-of-type { border-bottom: 0; }
.tax-icon {
  flex: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
  color: var(--muted);
}
.tax-icon svg { width: 22px; height: 22px; }
.tax-content { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.tax-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.03em;
  margin: 0;
}
.tax-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  letter-spacing: -0.02em;
}
.tax-body br { margin-bottom: 6px; }
.tax-link {
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: var(--border);
  font-weight: 600;
}
.tax-link:hover { text-decoration-color: var(--black); }
.tax-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 28px;
  background: var(--gray);
  border-top: 1px solid var(--border);
}
.tax-notice svg { flex: none; width: 20px; height: 20px; color: var(--muted); margin-top: 1px; }
.tax-notice p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  letter-spacing: -0.02em;
}
.tax-notice a { color: var(--black); font-weight: 600; text-decoration: underline; }

/* --- Mobile overrides (max-width: 609px) --- */
@media (max-width: 609px) {
  .calc-card { padding: 24px 18px; gap: 28px; border-radius: 18px; }
  .calc-results { padding: 20px 18px; }
  .calc-year-val { font-size: 44px; }
  .tax-row { padding: 20px 18px; gap: 14px; }
  .tax-notice { padding: 16px 18px; }
  .calc-slider .cap-label { display: none; }
  .calc-cost-input { width: 44px; }
}

/* ===== end earnings calculator ===== */
