/* ==========================================================================
   Cart & Charge skin, revision 4
   Bright owner manual world: white and mint gray, emerald, lime highlights
   Motif: the four segment battery charge bar with outline and cap
   Iteration notes: targeted header fix only. Kadence owns the header layout
   again (no flex, padding, height or child rules from this skin), nav link
   styling is desktop only (min-width:1025px), mobile header, toggle and
   drawer are untouched. Everything else identical to the approved revision 3.
   ========================================================================== */

/* Typography note: no external font loading, so both stacks lead with widely
   installed, metric compatible system faces. "Inter" and "Source Sans 3" stay
   first for visitors who already have them installed; Segoe UI, Roboto and
   Helvetica Neue provide stable metrics everywhere else. */

:root {
  --sf-color-primary: #0A7458;
  --sf-color-primary-dark: #075E47;
  --sf-color-accent: #B8EE3A;
  --sf-color-text: #1E2A26;
  --sf-color-muted: #50635B;
  --sf-color-background: #FFFFFF;
  --sf-color-surface-tint: #F2F7F4;
  --sf-color-surface-dark: #0B3B2E;
  --sf-color-on-dark: #F0F8F3;
  --sf-color-border: #DCE6E0;
  --sf-font-base: "Source Sans 3", "Source Sans Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --sf-font-heading: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --sf-radius: 12px;
  --sf-radius-sm: 6px;
  --sf-space-sm: 1rem;
  --sf-space-md: 2rem;
  --sf-space-lg: 4rem;
  --sf-space-xl: 6rem;
  --sf-maxwidth: 73.75rem;
  --sf-shadow-sm: 0 1px 2px rgba(11, 59, 46, 0.06), 0 2px 8px rgba(11, 59, 46, 0.05);
  --sf-shadow-md: 0 6px 24px rgba(11, 59, 46, 0.10), 0 2px 6px rgba(11, 59, 46, 0.06);
  --sf-scrim: linear-gradient(180deg, rgba(11, 59, 46, 0.05) 0%, rgba(11, 59, 46, 0.55) 100%);
  --sf-logo-height: 44px;
  --sf-logo-height-scrolled: 38px;
  --sf-charge-bar: repeating-linear-gradient(90deg, var(--sf-color-accent) 0 9px, transparent 9px 12px);
  --sf-gutter: clamp(1.25rem, 4vw, 2rem);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--sf-color-background);
  color: var(--sf-color-text);
  font-family: var(--sf-font-base);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--sf-color-accent);
  color: var(--sf-color-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sf-font-heading);
  color: var(--sf-color-text);
  letter-spacing: -0.022em;
  line-height: 1.15;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  letter-spacing: -0.028em;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

a {
  color: var(--sf-color-primary);
  text-decoration-color: rgba(10, 116, 88, 0.35);
  text-underline-offset: 3px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

a:hover {
  color: var(--sf-color-primary-dark);
  text-decoration-color: var(--sf-color-primary-dark);
}

:focus-visible {
  outline: 2px solid var(--sf-color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

img {
  border-radius: 0;
}

/* Anchor targets clear the compact header */
.site-main [id] {
  scroll-margin-top: 90px;
}

/* --------------------------------------------------------------------------
   Header: background, bottom border and the scrolled state only.
   Kadence owns layout, spacing and the mobile drawer. No flex, grid, gap,
   padding or height rules on .site-header, #masthead or their children.
   -------------------------------------------------------------------------- */

.site-header,
#masthead {
  background: var(--sf-color-background);
  border-bottom: 1px solid var(--sf-color-border);
  transition: box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

html.sf-scrolled .site-header,
html.sf-scrolled #masthead {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  backdrop-filter: blur(10px) saturate(1.15);
  box-shadow: 0 1px 0 var(--sf-color-border), 0 6px 20px rgba(11, 59, 46, 0.07);
}

/* Logo sized only through the platform variables, transparent background */
.site-header img.custom-logo,
#masthead img.custom-logo,
.site-branding .custom-logo {
  height: var(--sf-logo-height);
  width: auto;
  display: block;
}

html.sf-scrolled .site-header img.custom-logo,
html.sf-scrolled #masthead img.custom-logo,
html.sf-scrolled .site-branding .custom-logo {
  height: var(--sf-logo-height-scrolled);
}

/* Desktop nav links only. Below 1025px Kadence styles the mobile header,
   toggle and drawer on its own: no pills, borders, backgrounds or padding
   from this skin. */
@media (min-width: 1025px) {
  .site-header .menu a,
  #masthead .menu a,
  .site-header nav a,
  #masthead nav a {
    font-family: var(--sf-font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--sf-color-text);
    text-decoration: none;
    padding: 10px 12px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color 160ms ease, border-color 160ms ease;
  }

  .site-header .menu a:hover,
  #masthead .menu a:hover,
  .site-header nav a:hover,
  #masthead nav a:hover {
    color: var(--sf-color-primary-dark);
  }

  .site-header .current-menu-item > a,
  #masthead .current-menu-item > a,
  .site-header a[aria-current="page"],
  #masthead a[aria-current="page"] {
    color: var(--sf-color-primary);
    border-bottom-color: var(--sf-color-accent);
  }

  .site-header nav ul,
  #masthead nav ul,
  .site-header .menu,
  #masthead .menu {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2px;
  }
}

/* Reading progress strip: the charge bar motif with lime segment fills */
.sf-progress {
  height: 6px;
  background: var(--sf-color-surface-tint);
  z-index: 999;
}

.sf-progress__bar {
  height: 100%;
  background-color: var(--sf-color-accent);
  background-image: repeating-linear-gradient(90deg, transparent 0 12px, rgba(11, 59, 46, 0.22) 12px 14px);
  border-radius: 0 3px 3px 0;
}

/* --------------------------------------------------------------------------
   Sections and the eyebrow charge-bar marker
   -------------------------------------------------------------------------- */

.sf-section {
  padding-block: clamp(3.25rem, 7vw, 5.5rem);
}

.sf-section--tint {
  background: var(--sf-color-surface-tint);
}

.sf-section--dark {
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(184, 238, 58, 0.08), transparent 60%),
    var(--sf-color-surface-dark);
  color: var(--sf-color-on-dark);
}

.sf-section--dark h1,
.sf-section--dark h2,
.sf-section--dark h3,
.sf-section--dark h4 {
  color: var(--sf-color-on-dark);
}

.sf-section--dark p {
  color: rgba(240, 248, 243, 0.82);
}

.sf-section--dark a {
  color: var(--sf-color-accent);
}

.sf-section--dark a:hover {
  color: #D6F77E;
}

/* Eyebrow label above H2 headings */
.sf-eyebrow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--sf-font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sf-color-primary);
  margin-bottom: var(--sf-space-sm);
}

/* The signature motif: an outlined battery with a cap and four lime segments.
   Rendered once here and reused on footer widget titles. */
.sf-eyebrow::before,
.sf-footer__title::before {
  content: "";
  display: block;
  box-sizing: border-box;
  width: 59px;
  height: 13px;
  padding: 2px 6px 2px 2px;
  border: 1.5px solid var(--sf-color-primary);
  border-radius: 3px;
  background-image:
    linear-gradient(var(--sf-color-primary), var(--sf-color-primary)),
    repeating-linear-gradient(90deg, var(--sf-color-accent) 0 9px, transparent 9px 12px);
  background-size: 2px 5px, 48px 100%;
  background-position: right 1px top 50%, left top;
  background-repeat: no-repeat;
  background-clip: content-box, content-box;
}

.sf-section--dark .sf-eyebrow {
  color: var(--sf-color-accent);
}

.sf-section--dark .sf-eyebrow::before,
.sf-footer__title::before {
  border-color: rgba(240, 248, 243, 0.55);
  background-image:
    linear-gradient(rgba(240, 248, 243, 0.55), rgba(240, 248, 243, 0.55)),
    repeating-linear-gradient(90deg, var(--sf-color-accent) 0 9px, transparent 9px 12px);
}

/* --------------------------------------------------------------------------
   Hero (split): editorial headline left, sunlit photo right at full width
   -------------------------------------------------------------------------- */

.sf-hero {
  position: relative;
  background:
    radial-gradient(64rem 36rem at -12% -18%, rgba(184, 238, 58, 0.08), transparent 68%),
    var(--sf-color-background);
  padding-block: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}

.sf-hero--split {
  align-items: center;
  row-gap: 2.25rem;
}

@media (min-width: 1024px) {
  .sf-hero--split {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
  }
}

/* Split hero text column: left aligned at every width, eyebrow included */
.sf-hero--split .sf-hero__content,
.sf-hero--split .sf-hero__inner {
  text-align: left;
}

.sf-hero--split .sf-eyebrow {
  align-items: flex-start;
}

.sf-hero--split .wp-block-buttons {
  justify-content: flex-start;
}

/* Deliberate dark green-charcoal headline; higher specificity so parent
   theme link and heading colours cannot leak in */
body .sf-hero .sf-hero__heading,
body .sf-hero__heading {
  color: var(--sf-color-text);
  font-size: clamp(2.35rem, 5.4vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0 0 1.1rem;
  max-width: 17ch;
  text-wrap: balance;
}

.sf-hero__tagline {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--sf-color-muted);
  max-width: 34rem;
  margin-bottom: var(--sf-space-md);
}

.sf-hero__media {
  align-self: center;
}

.sf-hero__media img,
.sf-hero .wp-block-image img {
  border-radius: var(--sf-radius);
  box-shadow: var(--sf-shadow-md);
}

.sf-hero--overlay .sf-hero__inner {
  position: relative;
  z-index: 2;
}

.sf-hero--overlay .sf-hero__heading,
.sf-hero--overlay .sf-hero__tagline,
body .sf-hero--overlay .sf-hero__heading {
  color: #FFFFFF;
  text-shadow: 0 1px 12px rgba(11, 59, 46, 0.45);
}

/* --------------------------------------------------------------------------
   Buttons: emerald, 10px radius, 44px plus tap targets
   -------------------------------------------------------------------------- */

.wp-block-button__link,
.wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 26px;
  font-family: var(--sf-font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  color: #FFFFFF;
  background: var(--sf-color-primary);
  border: 1px solid var(--sf-color-primary);
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.wp-block-button__link:hover,
.wp-element-button:hover {
  background: var(--sf-color-primary-dark);
  border-color: var(--sf-color-primary-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(10, 116, 88, 0.25);
}

.wp-block-button__link:active,
.wp-element-button:active {
  transform: translateY(0);
  box-shadow: none;
}

.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-element-button {
  background: transparent;
  color: var(--sf-color-primary);
  border: 1.5px solid var(--sf-color-primary);
}

.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-element-button:hover {
  background: var(--sf-color-primary);
  color: #FFFFFF;
}

/* Lime buttons live only on dark panels, where their dark text passes AA */
.sf-section--dark .wp-block-button__link,
.sf-section--dark .wp-element-button,
.sf-cta .wp-block-button__link,
.sf-cta .wp-element-button {
  background: var(--sf-color-accent);
  border-color: var(--sf-color-accent);
  color: var(--sf-color-text);
}

.sf-section--dark .wp-block-button__link:hover,
.sf-section--dark .wp-element-button:hover,
.sf-cta .wp-block-button__link:hover,
.sf-cta .wp-element-button:hover {
  background: #CDF76B;
  border-color: #CDF76B;
  color: var(--sf-color-text);
  box-shadow: 0 6px 18px rgba(184, 238, 58, 0.28);
}

/* --------------------------------------------------------------------------
   Feature grid and cards: thin borders, 12px radius, gentle lift
   -------------------------------------------------------------------------- */

.sf-feature-grid {
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.sf-feature-card {
  background: var(--sf-color-background);
  border: 1px solid var(--sf-color-border);
  border-radius: var(--sf-radius);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  box-shadow: var(--sf-shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.sf-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sf-shadow-md);
  border-color: rgba(10, 116, 88, 0.35);
}

.sf-feature-card h3 {
  margin-top: 0;
  position: relative;
  padding-bottom: 12px;
}

.sf-feature-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 6px;
  border-radius: 3px;
  background-image: var(--sf-charge-bar);
  background-size: 48px 6px;
  background-repeat: no-repeat;
}

.sf-feature-card p {
  color: var(--sf-color-muted);
  margin-bottom: 0;
}

.sf-section--dark .sf-feature-card {
  background: rgba(240, 248, 243, 0.05);
  border-color: rgba(240, 248, 243, 0.16);
}

.sf-section--dark .sf-feature-card p {
  color: rgba(240, 248, 243, 0.78);
}

/* --------------------------------------------------------------------------
   Media plus text rows
   -------------------------------------------------------------------------- */

.sf-media-text {
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.sf-media-text__media img {
  border-radius: var(--sf-radius);
  box-shadow: var(--sf-shadow-md);
}

.sf-media-text__content h2 {
  margin-top: 0;
}

.sf-media-text__content p {
  color: var(--sf-color-muted);
  font-size: 1.08rem;
}

.sf-section--dark .sf-media-text__content p {
  color: rgba(240, 248, 243, 0.8);
}

/* --------------------------------------------------------------------------
   Stats: big emerald figures, lime on dark
   -------------------------------------------------------------------------- */

.sf-stats__grid {
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.sf-stats__item {
  background: var(--sf-color-background);
  border: 1px solid var(--sf-color-border);
  border-radius: var(--sf-radius);
  padding: clamp(1.5rem, 3vw, 2.25rem) 1.5rem;
  text-align: center;
  box-shadow: var(--sf-shadow-sm);
}

.sf-stats__value {
  font-family: var(--sf-font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--sf-color-primary);
}

.sf-stats__label {
  display: block;
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sf-color-muted);
}

.sf-section--dark .sf-stats__item {
  background: rgba(240, 248, 243, 0.05);
  border-color: rgba(240, 248, 243, 0.16);
}

.sf-section--dark .sf-stats__value {
  color: var(--sf-color-accent);
}

.sf-section--dark .sf-stats__label {
  color: rgba(240, 248, 243, 0.75);
}

/* --------------------------------------------------------------------------
   Steps: emerald number discs, in normal flow above the heading
   -------------------------------------------------------------------------- */

.sf-steps {
  gap: clamp(1.25rem, 3vw, 2rem);
}

.sf-steps__item {
  background: var(--sf-color-background);
  border: 1px solid var(--sf-color-border);
  border-radius: var(--sf-radius);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  box-shadow: var(--sf-shadow-sm);
}

.sf-steps__item::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--sf-color-primary);
  color: #FFFFFF;
  font-family: var(--sf-font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 0 0 5px var(--sf-color-surface-tint);
}

.sf-steps__item h3 {
  margin-top: 0;
}

.sf-steps__item p {
  color: var(--sf-color-muted);
}

/* --------------------------------------------------------------------------
   Tabs
   -------------------------------------------------------------------------- */

.sf-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--sf-color-border);
  padding-bottom: 0;
}

.sf-tabs__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  font-family: var(--sf-font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--sf-color-muted);
  text-decoration: none;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  transition: color 160ms ease, background 160ms ease;
}

.sf-tabs__link:hover {
  color: var(--sf-color-primary-dark);
  background: var(--sf-color-surface-tint);
}

.sf-tabs__link--active {
  color: var(--sf-color-primary);
  background: var(--sf-color-background);
  border-color: var(--sf-color-border);
  box-shadow: inset 0 -3px 0 var(--sf-color-accent);
}

.sf-tabs__panel {
  padding: clamp(1.25rem, 3vw, 2rem) 4px;
}

.sf-tabs__panel h3 {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   Marquee: quiet bordered pills
   -------------------------------------------------------------------------- */

.sf-marquee {
  overflow: hidden;
  border-block: 1px solid var(--sf-color-border);
  padding-block: 14px;
  background: var(--sf-color-background);
}

.sf-marquee__track {
  gap: 12px;
}

.sf-marquee__item {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 18px;
  font-family: var(--sf-font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--sf-color-primary-dark);
  background: var(--sf-color-surface-tint);
  border: 1px solid var(--sf-color-border);
  border-radius: 999px;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */

.sf-faq-item {
  background: var(--sf-color-background);
  border: 1px solid var(--sf-color-border);
  border-radius: var(--sf-radius);
  margin-bottom: 12px;
  box-shadow: var(--sf-shadow-sm);
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.sf-faq-item:hover {
  border-color: rgba(10, 116, 88, 0.35);
}

.sf-faq-item[open] {
  border-color: rgba(10, 116, 88, 0.45);
  box-shadow: var(--sf-shadow-md);
}

.sf-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 16px 20px;
  font-family: var(--sf-font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--sf-color-text);
  cursor: pointer;
  list-style: none;
  transition: color 160ms ease;
}

.sf-faq-item summary::-webkit-details-marker {
  display: none;
}

.sf-faq-item summary:hover {
  color: var(--sf-color-primary-dark);
}

.sf-faq-item summary::after {
  color: var(--sf-color-primary);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  flex: none;
}

.sf-faq-item > *:not(summary) {
  padding: 0 20px 18px;
  color: var(--sf-color-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Closing CTA: deep emerald panel with charge glow
   -------------------------------------------------------------------------- */

.sf-cta {
  position: relative;
  background:
    radial-gradient(34rem 18rem at 90% 0%, rgba(184, 238, 58, 0.14), transparent 60%),
    var(--sf-color-surface-dark);
  color: var(--sf-color-on-dark);
  border-radius: calc(var(--sf-radius) + 6px);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--sf-shadow-md);
}

.sf-cta h2 {
  color: var(--sf-color-on-dark);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-top: 0;
}

.sf-cta p {
  color: rgba(240, 248, 243, 0.82);
  max-width: 36rem;
  margin-inline: auto;
  font-size: 1.1rem;
}

.sf-cta .sf-eyebrow {
  align-items: center;
  color: var(--sf-color-accent);
}

/* --------------------------------------------------------------------------
   Article reading column: about 720px, single blog posts only.
   Pages (home, about, contact) keep the full content container width so the
   split hero shows two real equal columns.
   -------------------------------------------------------------------------- */

body.single-post .entry-content > *:not(.alignwide):not(.alignfull) {
  max-width: 720px;
  margin-inline: auto;
}

body.single-post .entry-content > .alignwide {
  max-width: var(--sf-maxwidth);
  margin-inline: auto;
}

/* Safety first box: pale amber, dark text, strong left border */
.site-main blockquote {
  margin: 1.75rem 0;
  padding: 1.1rem 1.4rem;
  background: #FFF6E0;
  border-left: 4px solid #B98700;
  border-radius: 0 var(--sf-radius-sm) var(--sf-radius-sm) 0;
  color: var(--sf-color-text);
  font-size: 1.02rem;
}

.site-main blockquote p {
  margin: 0;
  color: var(--sf-color-text);
}

/* Spec tables: zebra rows, sideways scroll in their own container on mobile */
.site-main .wp-block-table,
.sf-chart-block {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.site-main table,
.sf-chart-block table {
  width: 100%;
  min-width: 480px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--sf-color-border);
  border-radius: var(--sf-radius-sm);
  overflow: hidden;
  font-size: 0.98rem;
}

.site-main table caption,
.sf-chart-block table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--sf-font-heading);
  font-weight: 700;
  padding-bottom: 10px;
  color: var(--sf-color-text);
}

.site-main table th,
.sf-chart-block table th {
  font-family: var(--sf-font-heading);
  font-weight: 700;
  text-align: left;
  color: #FFFFFF;
  background: var(--sf-color-primary);
  padding: 12px 16px;
}

.site-main table td,
.sf-chart-block table td {
  padding: 11px 16px;
  border-top: 1px solid var(--sf-color-border);
}

.site-main table tbody tr:nth-child(odd) td,
.sf-chart-block table tbody tr:nth-child(odd) td {
  background: var(--sf-color-surface-tint);
}

/* --------------------------------------------------------------------------
   Content blocks: intro, At a glance box, TOC, stat card, pros and cons
   -------------------------------------------------------------------------- */

.sf-intro {
  font-size: clamp(1.15rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: var(--sf-color-muted);
}

.sf-key-takeaways {
  background: var(--sf-color-surface-tint);
  border-left: 4px solid var(--sf-color-primary);
  border-radius: 0 var(--sf-radius) var(--sf-radius) 0;
  padding: 1.4rem 1.6rem;
  margin: 1.75rem 0;
}

.sf-key-takeaways h2,
.sf-key-takeaways h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

.sf-key-takeaways ul {
  margin: 0;
  padding-left: 1.2rem;
}

.sf-key-takeaways li {
  margin-bottom: 8px;
}

.sf-key-takeaways li::marker {
  color: var(--sf-color-primary);
}

.sf-toc {
  background: var(--sf-color-background);
  border: 1px solid var(--sf-color-border);
  border-radius: var(--sf-radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--sf-shadow-sm);
}

.sf-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-weight: 600;
  color: var(--sf-color-muted);
  border-left: 3px solid var(--sf-color-border);
  padding-left: 14px;
  transition: color 160ms ease, border-color 160ms ease;
}

.sf-toc a:hover {
  color: var(--sf-color-primary-dark);
}

.sf-toc a.sf-toc__link--active {
  color: var(--sf-color-primary);
  border-left-color: var(--sf-color-accent);
}

.sf-stat-card {
  background: var(--sf-color-surface-tint);
  border: 1px solid var(--sf-color-border);
  border-radius: var(--sf-radius);
  padding: 1.75rem;
  text-align: center;
}

.sf-stat-card__value {
  font-family: var(--sf-font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sf-color-primary);
  line-height: 1.05;
}

.sf-stat-card__source {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--sf-color-muted);
}

.sf-pros-cons {
  gap: 1.25rem;
}

.sf-pros-cons > * {
  border: 1px solid var(--sf-color-border);
  border-radius: var(--sf-radius);
  padding: 1.4rem 1.6rem;
  background: var(--sf-color-background);
}

.sf-sources {
  font-size: 0.92rem;
  color: var(--sf-color-muted);
  border-top: 1px solid var(--sf-color-border);
  padding-top: 1.25rem;
  margin-top: 2.5rem;
}

.sf-contact-info {
  background: var(--sf-color-background);
  border: 1px solid var(--sf-color-border);
  border-radius: var(--sf-radius);
  padding: 1.75rem;
  box-shadow: var(--sf-shadow-sm);
}

.sf-contact__org {
  font-family: var(--sf-font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--sf-color-text);
}

/* --------------------------------------------------------------------------
   Statistics grid (article data)
   -------------------------------------------------------------------------- */

.sf-statistic-grid__grid {
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.sf-statistic-grid__item {
  background: var(--sf-color-background);
  border: 1px solid var(--sf-color-border);
  border-top: 4px solid var(--sf-color-primary);
  border-radius: var(--sf-radius);
  padding: 1.5rem;
  box-shadow: var(--sf-shadow-sm);
}

.sf-statistic-grid__value {
  font-family: var(--sf-font-heading);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--sf-color-primary);
}

.sf-statistic-grid__label {
  font-weight: 600;
  margin-top: 8px;
}

.sf-statistic-grid__source {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--sf-color-muted);
}

/* --------------------------------------------------------------------------
   Charts
   -------------------------------------------------------------------------- */

.sf-chart-block {
  background: var(--sf-color-background);
  border: 1px solid var(--sf-color-border);
  border-radius: var(--sf-radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--sf-shadow-sm);
  margin-block: 2rem;
}

.sf-chart-block h2,
.sf-chart-block h3 {
  margin-top: 0;
}

.sf-chart__source {
  display: block;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--sf-color-muted);
}

/* Bar chart: length comes from var(--sf-bar-value), we style look only */
.sf-chart--bar .sf-chart__row {
  display: grid;
  grid-template-columns: minmax(90px, 150px) 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.sf-chart__label {
  font-weight: 600;
  font-size: 0.95rem;
}

.sf-chart__track {
  background: var(--sf-color-surface-tint);
  border-radius: var(--sf-radius-sm);
  height: 22px;
  overflow: hidden;
}

.sf-chart__bar {
  height: 100%;
  border-radius: var(--sf-radius-sm);
  background: linear-gradient(90deg, var(--sf-color-primary), #0E8F6C);
}

.sf-chart__value {
  font-family: var(--sf-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sf-color-primary-dark);
  min-width: 3ch;
  text-align: right;
}

/* Line chart: quiet grid, emerald points and segments */
.sf-chart--line .sf-chart__plot {
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, var(--sf-color-surface-tint) 39px 40px);
  border: 1px solid var(--sf-color-border);
  border-radius: var(--sf-radius-sm);
}

.sf-chart__point {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sf-color-primary);
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 2px var(--sf-color-primary);
}

.sf-chart__segment {
  background: var(--sf-color-primary);
  height: 3px;
  border-radius: 2px;
}

.sf-chart__axis {
  font-size: 0.82rem;
  color: var(--sf-color-muted);
}

.sf-chart__tick {
  font-size: 0.82rem;
  color: var(--sf-color-muted);
}

/* --------------------------------------------------------------------------
   Timeline
   -------------------------------------------------------------------------- */

.sf-timeline ol {
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--sf-color-border);
}

.sf-timeline li {
  position: relative;
  margin-bottom: 1.75rem;
}

.sf-timeline li::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sf-color-accent);
  border: 3px solid var(--sf-color-primary);
}

.sf-timeline__date {
  display: inline-block;
  font-family: var(--sf-font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sf-color-primary);
  background: var(--sf-color-surface-tint);
  border: 1px solid var(--sf-color-border);
  border-radius: var(--sf-radius-sm);
  padding: 3px 10px;
  margin-bottom: 6px;
}

.sf-timeline__title {
  font-family: var(--sf-font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.sf-timeline__text {
  color: var(--sf-color-muted);
}

/* --------------------------------------------------------------------------
   Methodology and related reading
   -------------------------------------------------------------------------- */

.sf-methodology {
  background: var(--sf-color-surface-tint);
  border: 1px solid var(--sf-color-border);
  border-radius: var(--sf-radius);
  padding: 1.75rem;
  font-size: 0.97rem;
  color: var(--sf-color-muted);
}

.sf-methodology h2 {
  font-size: 1.2rem;
  margin-top: 0;
}

.sf-methodology__details {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 8px 20px;
  margin-top: 1rem;
}

.sf-methodology__details dt {
  font-weight: 700;
  color: var(--sf-color-text);
}

.sf-methodology__details dd {
  margin: 0;
}

.sf-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.sf-related__link {
  display: block;
  padding: 14px 18px;
  background: var(--sf-color-background);
  border: 1px solid var(--sf-color-border);
  border-radius: 10px;
  font-family: var(--sf-font-heading);
  font-weight: 600;
  text-decoration: none;
  color: var(--sf-color-text);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.sf-related__link:hover {
  border-color: rgba(10, 116, 88, 0.4);
  box-shadow: var(--sf-shadow-sm);
  transform: translateY(-1px);
  color: var(--sf-color-primary-dark);
}

.sf-related__description {
  display: block;
  margin-top: 4px;
  font-family: var(--sf-font-base);
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--sf-color-muted);
}

/* --------------------------------------------------------------------------
   Affiliate and newsletter CTAs (article level)
   -------------------------------------------------------------------------- */

.sf-affiliate-cta,
.sf-newsletter-cta {
  background: var(--sf-color-surface-tint);
  border: 1px solid var(--sf-color-border);
  border-left: 4px solid var(--sf-color-primary);
  border-radius: var(--sf-radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin-block: 2.25rem;
}

.sf-affiliate-cta h2,
.sf-newsletter-cta h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.sf-affiliate-cta__disclosure {
  margin-top: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--sf-color-muted);
}

.sf-newsletter-cta__note {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--sf-color-muted);
}

/* --------------------------------------------------------------------------
   Calculator: real form controls with visible focus
   -------------------------------------------------------------------------- */

.sf-calculator {
  background: var(--sf-color-background);
  border: 1px solid var(--sf-color-border);
  border-radius: var(--sf-radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--sf-shadow-sm);
  margin-block: 2.25rem;
}

.sf-calculator__title {
  font-family: var(--sf-font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  margin-top: 0;
}

.sf-calculator__intro {
  color: var(--sf-color-muted);
}

.sf-calculator__fields {
  display: grid;
  gap: 16px;
  margin-block: 1.25rem;
}

@media (min-width: 781px) {
  .sf-calculator__fields {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sf-calculator__label {
  display: block;
  font-family: var(--sf-font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.sf-calculator__unit {
  font-weight: 400;
  color: var(--sf-color-muted);
  font-size: 0.88rem;
}

.sf-calculator__input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  font: inherit;
  color: var(--sf-color-text);
  background: var(--sf-color-background);
  border: 1.5px solid var(--sf-color-border);
  border-radius: 10px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.sf-calculator__input:hover {
  border-color: rgba(10, 116, 88, 0.45);
}

.sf-calculator__input:focus {
  outline: 2px solid var(--sf-color-primary);
  outline-offset: 1px;
  border-color: var(--sf-color-primary);
}

.sf-calculator__result {
  background: var(--sf-color-surface-dark);
  color: var(--sf-color-on-dark);
  border-radius: var(--sf-radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
}

.sf-calculator__result-label {
  font-family: var(--sf-font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(240, 248, 243, 0.85);
}

.sf-calculator__value {
  font-family: var(--sf-font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sf-color-accent);
}

.sf-calculator__result-unit {
  color: rgba(240, 248, 243, 0.75);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Images in content
   -------------------------------------------------------------------------- */

figure.wp-block-image {
  margin-block: 2rem;
}

figure.wp-block-image img {
  border-radius: var(--sf-radius);
  box-shadow: var(--sf-shadow-sm);
}

figure.wp-block-image figcaption {
  font-size: 0.88rem;
  color: var(--sf-color-muted);
  text-align: center;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Scroll reveal (hero is never .sf-animate, LCP stays instant)
   -------------------------------------------------------------------------- */

.sf-animate {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.sf-animate.sf-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Footer: deep emerald world, battery markers on widget titles
   -------------------------------------------------------------------------- */

.sf-footer,
footer.site-footer {
  background:
    radial-gradient(50rem 22rem at 100% 0%, rgba(184, 238, 58, 0.07), transparent 55%),
    var(--sf-color-surface-dark);
  color: rgba(240, 248, 243, 0.82);
  margin-top: clamp(3rem, 7vw, 5.5rem);
}

.sf-footer__grid {
  max-width: var(--sf-maxwidth);
  margin-inline: auto;
  padding: clamp(2.75rem, 6vw, 4.5rem) var(--sf-gutter) 2.5rem;
  display: grid;
  gap: 2.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 781px) {
  .sf-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sf-footer__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.sf-footer__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--sf-font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sf-color-on-dark);
  margin: 0 0 1rem;
}

.sf-footer__widget p {
  margin: 0 0 0.9rem;
  font-size: 0.97rem;
  line-height: 1.6;
}

.sf-footer__widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sf-footer__widget li {
  margin-bottom: 4px;
}

.sf-footer__widget a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: rgba(240, 248, 243, 0.82);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.sf-footer__widget a:hover {
  color: var(--sf-color-accent);
  border-bottom-color: var(--sf-color-accent);
}

.sf-footer__bottom {
  border-top: 1px solid rgba(240, 248, 243, 0.14);
  padding: 18px var(--sf-gutter);
  text-align: center;
  font-size: 0.86rem;
  color: rgba(240, 248, 243, 0.6);
}

/* --------------------------------------------------------------------------
   Responsive polish: 360px up to 1600px, one column on mobile, three max
   -------------------------------------------------------------------------- */

@media (max-width: 780px) {
  body {
    font-size: 1rem;
  }

  .sf-section {
    padding-block: 3rem;
  }

  .sf-feature-grid,
  .sf-stats__grid,
  .sf-steps,
  .sf-statistic-grid__grid {
    grid-template-columns: 1fr;
  }

  .sf-chart--bar .sf-chart__row {
    grid-template-columns: minmax(70px, 110px) 1fr auto;
    gap: 8px;
  }

  .sf-hero__heading {
    max-width: none;
  }
}

@media (min-width: 781px) {
  .sf-feature-grid,
  .sf-stats__grid,
  .sf-statistic-grid__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sf-feature-grid,
  .sf-stats__grid,
  .sf-statistic-grid__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sf-animate {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .sf-marquee__track {
    animation: none;
  }

  .wp-block-button__link,
  .wp-element-button,
  .sf-feature-card,
  .sf-related__link,
  .sf-faq-item {
    transition: none;
  }

  .wp-block-button__link:hover,
  .wp-element-button:hover,
  .sf-feature-card:hover,
  .sf-related__link:hover {
    transform: none;
  }
}

/* Kadence header integrity */
#masthead.site-header{display:block;padding:0;gap:0;min-height:0;height:auto}
#masthead > #main-header,#masthead > #mobile-header{width:100%;max-width:none;flex:none;margin:0;border:0;overflow:visible}
#masthead .site-branding a{border:0;border-radius:0;background:none;padding:0;box-shadow:none}
#masthead .site-branding img.custom-logo{height:44px;width:auto;max-height:none}
#masthead #main-header .site-main-header-inner-wrap{min-height:72px}
#masthead #mobile-header .site-main-header-inner-wrap{min-height:60px}
@media (max-width:1024px){#masthead .site-branding img.custom-logo{height:36px}}