/* =========================================================
   Optiwatt Marketing Site — site.css (v2)
   Direction: dark navy hero + green CTA (EnergyHub-aligned),
   chunky Inter Black display, circular framed media,
   line-art connectors, light bento sections, Plex Mono metrics.
   ========================================================= */

:root {
  /* Dark anchor: brand purple-800 family */
  --bg-dark:           #271D69; /* --ow-purple-800 */
  --bg-dark-2:         #322880;
  --bg-dark-card:      #2F2578;
  --bg-dark-card-2:    #3A2F8F;
  --bg-dark-deep:      #15103E; /* footer / deepest moments */
  --hero-fg:           #F4EFFF;
  --hero-fg-muted:     rgba(244, 239, 255, 0.78);
  --hero-fg-dim:       rgba(244, 239, 255, 0.65);
  --hero-divider:      rgba(244, 239, 255, 0.14);

  --accent-green:        #00D73F; /* --ow-green-500 — large text / on dark only */
  --accent-green-text:   #00AB32; /* --ow-green-700 — large text on white only */
  --accent-green-aa:     #006B1F; /* AA-compliant on light backgrounds, body text */
  --accent-green-soft:   rgba(0, 215, 63, 0.18);
  --accent-purple:       #AF4BFB; /* --ow-purple-500 — large text / decorative */
  --accent-purple-aa:    #7E2BC2; /* AA-compliant on light backgrounds, body text */
  --accent-purple-soft:  rgba(175, 75, 251, 0.18);
  --accent-pink:         #FB42D2; /* --ow-pink-500, accent only — never use for text */

  /* Light tints — purple-100 brand tint, not cream */
  --bg-tint:           #FBF6FF; /* --ow-purple-100 */
  --bg-tint-2:         #F2F2F2; /* --ow-grey-100 */

  --display-font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono-font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --gutter: 32px;
}

/* =========================================================
   Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--ow-font-sans);
  color: var(--ow-text);
  background: var(--ow-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: var(--accent-green-soft); color: var(--ow-text); }

/* =========================================================
   Accessibility: focus styles & utilities
   ========================================================= */
:focus:not(:focus-visible) { outline: none; } /* suppress default outline for mouse/touch focus only */

/* Default keyboard focus ring — applies to every focusable element that doesn't define its own :focus-visible.
   #AF4BFB passes 3:1 contrast on white (4.02), light purple tint (3.78), and dark hero (3.56). */
:focus-visible {
  outline: 3px solid #AF4BFB;
  outline-offset: 2px;
  border-radius: 4px;
}
:focus-visible {
  outline: 3px solid var(--accent-green);
  outline-offset: 3px;
  border-radius: 4px;
}
/* On dark sections with green CTAs, switch focus ring to white for visibility against green background */
.btn-primary:focus-visible {
  outline-color: var(--hero-fg);
  outline-offset: 3px;
}
/* Ensure focused inputs keep their existing visual cue plus a stronger ring */
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--accent-green);
  outline-offset: 1px;
}

/* Skip link — visible on keyboard focus only */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent-green);
  color: #0A1A0E;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--ow-font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  z-index: 1000;
  transition: top 0.18s ease;
}
.skip-link:focus {
  top: 16px;
}

/* Visually-hidden utility for screen reader text */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .tile-status::before {
    animation: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* =========================================================
   Typography utilities
   ========================================================= */
.eyebrow {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent-green);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent-green);
  display: inline-block;
}
.eyebrow.no-rule::before { display: none; }
.eyebrow.dark { color: var(--accent-green-aa); }
.eyebrow.dark::before { background: var(--accent-green-aa); }

.display-xl, .display-l, .display-m, .display-s {
  font-family: var(--display-font);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0;
}
.display-xl { font-size: clamp(40px, 6.4vw, 88px); }
.display-l  { font-size: clamp(40px, 6vw, 92px); }
.display-m  { font-size: clamp(32px, 4.6vw, 64px); line-height: 1.0; }
.display-s  { font-size: clamp(26px, 3vw, 40px); line-height: 1.05; letter-spacing: -0.025em; }

.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--ow-text-secondary);
  margin: 0;
  max-width: 56ch;
}
.dark-section .lede { color: var(--hero-fg-muted); }

.metric {
  font-family: var(--mono-font);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.metric-xl { font-size: clamp(56px, 6.4vw, 88px); }
.metric-l  { font-size: clamp(44px, 4.8vw, 64px); }
.metric-m  { font-size: clamp(28px, 3vw, 38px); }
.metric-s  { font-size: 22px; }

.metric-label {
  font-family: var(--mono-font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ow-text-secondary);
}
.dark-section .metric-label { color: var(--hero-fg-dim); }

/* =========================================================
   Buttons — adopts design system .ow-btn proportions, with
   color/text overrides for marketing-CTA contrast.
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 0 24px;
  border-radius: var(--ow-radius-pill, 999px);
  border: 1.5px solid transparent;
  font: 700 16px/1 var(--ow-font-sans);
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  white-space: nowrap;
  transition: transform var(--ow-dur-1, 120ms) var(--ow-ease, ease), background var(--ow-dur-2, 200ms) var(--ow-ease, ease), color var(--ow-dur-2, 200ms) var(--ow-ease, ease), border-color var(--ow-dur-2, 200ms) var(--ow-ease, ease), box-shadow var(--ow-dur-2, 200ms) var(--ow-ease, ease);
}
.btn:active { transform: scale(0.98); }

/* Size modifier matching design system .ow-btn--sm — used in nav */
.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

/* Primary — marketing override: green instead of purple, for hero contrast */
.btn-primary {
  background: var(--accent-green);
  color: #0A1A0E;
  box-shadow: 0 6px 24px -10px rgba(0, 215, 63, 0.7);
}
.btn-primary:hover {
  background: #1AE356;
  box-shadow: 0 12px 30px -10px rgba(0, 215, 63, 0.9);
}

/* Ghost on dark backgrounds — marketing addition for the dark hero */
.btn-ghost-light {
  border-color: rgba(244, 239, 255, 0.4);
  color: var(--hero-fg);
  background: transparent;
}
.btn-ghost-light:hover {
  border-color: var(--hero-fg);
  background: rgba(244, 239, 255, 0.05);
}

/* Ghost on light backgrounds — matches design system .ow-btn--ghost intent */
.btn-ghost-dark {
  border-color: var(--ow-border);
  color: var(--ow-text);
  background: transparent;
}
.btn-ghost-dark:hover {
  background: var(--ow-grey-100);
}

.btn-arrow::after {
  content: "→";
  font-size: 17px;
  margin-left: 2px;
  transition: transform 0.18s ease;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* =========================================================
   Top nav
   ========================================================= */
.site-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img { height: 26px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--hero-fg);
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--accent-green); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--accent-green);
}
/* Non-interactive nav items (for unbuilt pages) — visually match nav links but no hover/click */
.nav-links .nav-disabled {
  font-size: 14px;
  font-weight: 500;
  color: var(--hero-fg);
  padding: 4px 0;
  cursor: default;
}

/* nav variant on light pages */
.site-nav.is-light .nav-links a { color: var(--ow-text); }
.site-nav.is-light .nav-links a:hover { color: var(--accent-green-text); }
.nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--ow-radius-pill, 999px);
  background: var(--accent-purple-aa);
  color: #fff;
  font: 700 14px/1 var(--ow-font-sans);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 22px -10px rgba(126, 43, 194, 0.85);
  transition: background var(--ow-dur-2, 200ms) ease, transform var(--ow-dur-1, 120ms) ease, box-shadow var(--ow-dur-2, 200ms) ease;
}
.nav-login:hover {
  background: #6a22a6;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -10px rgba(126, 43, 194, 0.95);
}

/* Mobile menu toggle (hidden on desktop, shown <= 720px) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  margin: -9px -9px -9px 0;
  padding: 9px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--hero-fg);
  transition: transform 0.22s ease, opacity 0.18s ease;
}
.site-nav.is-light .nav-toggle-bar { background: var(--ow-text); }
.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO (dark)
   ========================================================= */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--hero-fg);
  padding: 96px 0 60px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  width: 900px; height: 900px;
  left: -180px; top: -200px;
  background: radial-gradient(circle, rgba(175, 75, 251, 0.4), rgba(175, 75, 251, 0) 60%);
  z-index: -2;
  pointer-events: none;
}
.hero .pink-wash {
  position: absolute;
  width: 600px; height: 600px;
  right: -150px; bottom: -200px;
  background: radial-gradient(circle, rgba(251, 66, 210, 0.18), transparent 60%);
  pointer-events: none;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 239, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: -1;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 30% 35%, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 70% at 30% 35%, black 30%, transparent 80%);
  pointer-events: none;
}

.hero-grid {
  display: block;
}
.hero-copy { max-width: 920px; }

/* ---- Consumers hero: full-bleed immersive photo, left-aligned copy ---- */
.hero-immersive {
  position: relative;
  overflow: hidden;
  padding: 96px 0 64px;
  background: var(--bg-dark);
  color: var(--hero-fg);
}
.hero-immersive::before,
.hero-immersive::after { display: none; }
.hero-immersive .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../images/hero-home-ev.jpg");
  background-size: cover;
  background-position: 70% center;
}
.hero-immersive .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(95deg, rgba(21,16,62,0.95) 0%, rgba(21,16,62,0.82) 34%, rgba(21,16,62,0.42) 60%, rgba(21,16,62,0) 88%);
}
.hero-immersive .container {
  position: relative;
  z-index: 2;
}
.hero-immersive .hero-copy { max-width: 600px; }
.hero-immersive .hero-eyebrow { color: var(--accent-green); }
.hero-immersive .hero-eyebrow::before { background: var(--accent-green); }
.hero-immersive .h1-primary { color: #fff; }
.hero-immersive .h1-two-tier .h1-secondary { color: rgba(244, 239, 255, 0.82); }
.hero-immersive .lede { color: rgba(244, 239, 255, 0.72); }
.hero-immersive .rating-badge .score { color: #fff; }
.hero-immersive .rating-badge .meta { color: rgba(244, 239, 255, 0.88); }
.hero-immersive .btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.4); }

.hero-eyebrow { margin-bottom: 20px; }
.hero h1 { margin-bottom: 22px; max-width: 16ch; }
.hero .lede { margin-bottom: 32px; max-width: 56ch; }
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Rating badge — used in hero and feature card */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-family: var(--mono-font);
}
.rating-badge .stars {
  color: var(--ow-yellow-500);
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;
}
/* enlarge tap target for the linked star rating without shifting layout */
a.stars { display: inline-block; padding: 15px 4px; margin: -15px -4px; }
.rating-badge .score {
  font-weight: 700;
  font-size: 14px;
  color: var(--hero-fg);
  letter-spacing: -0.01em;
}
.rating-badge .meta {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hero-fg-dim);
  border-left: 1px solid var(--hero-divider);
  padding-left: 12px;
}
/* When inside a light feature card, flip to dark text */
.feature-card:not(.accent) .rating-badge .score { color: var(--ow-text); }
.feature-card:not(.accent) .rating-badge .meta { color: var(--ow-text-secondary); border-left-color: var(--ow-grey-200); }

/* Light variant for use inside the (light) Consumer Platform feature card — but actually that card is .accent (dark), so this stays dark. We add a card-stat variant for cleaner placement. */
.rating-badge.card-stat {
  margin-top: 0;
  margin-bottom: 6px;
}
.rating-badge.card-stat-lg {
  margin-top: 4px;
  margin-bottom: 8px;
  gap: 14px;
}
.rating-badge.card-stat-lg .stars { font-size: 22px; letter-spacing: 2px; }
.rating-badge.card-stat-lg .score { font-size: 28px; }
.rating-badge.card-stat-lg .meta { font-size: 12px; padding-left: 14px; }

/* hero visual: circular framed dashboard + connectors + small badge */
.hero-visual {
  position: relative;
  height: 440px;
}
.frame-circle {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-dark-card);
  border: 1px solid var(--hero-divider);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
.frame-circle.f-main {
  width: 380px; height: 380px;
  right: 0; top: 24px;
}
.frame-circle.f-badge {
  width: 140px; height: 140px;
  left: -10px; bottom: 24px;
  background: linear-gradient(160deg, #3A2F8F, #1A1450);
  display: grid;
  place-items: center;
}

.dashboard-tile {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #3A2F8F, #1A1450);
  padding: 38px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tile-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.tile-tag {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hero-fg-dim);
}
.tile-status {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-green);
  display: inline-flex; align-items: center; gap: 6px;
}
.tile-status::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(0, 215, 63, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0, 215, 63, 0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(0, 215, 63, 0.05); }
}
.tile-bignum {
  font-family: var(--mono-font);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--hero-fg);
}
.tile-label {
  font-size: 12px;
  color: var(--hero-fg-muted);
  font-family: var(--mono-font);
}
.tile-chart {
  margin-top: 4px;
  height: 88px;
}
.tile-row-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--hero-divider);
}
.tile-row-stats .num {
  font-family: var(--mono-font);
  font-weight: 700;
  font-size: 16px;
  color: var(--hero-fg);
}
.tile-row-stats .lbl {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hero-fg-dim);
  margin-top: 4px;
}

.badge-content { text-align: center; padding: 10px; }
.badge-content .num {
  font-family: var(--mono-font);
  font-size: 38px;
  font-weight: 700;
  color: var(--accent-green);
  letter-spacing: -0.03em;
  display: block;
  line-height: 1;
}
.badge-content .lbl {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hero-fg-muted);
  margin-top: 8px;
  display: block;
}

.hero-connectors {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-connectors path {
  stroke: rgba(244, 239, 255, 0.18);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 4 6;
}
.hero-connectors circle { fill: rgba(244, 239, 255, 0.4); }

/* =========================================================
   Logo strip (light, just below hero)
   ========================================================= */
.logo-strip { background: var(--ow-white); padding: 72px 0 48px; }
.logo-strip-inner { text-align: center; }
.logo-strip-label {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ow-text-secondary);
  margin-bottom: 32px;
}
.logo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 36px;
}
.logo-row span {
  font-weight: 700;
  font-size: 22px;
  color: var(--ow-grey-500);
  letter-spacing: -0.01em;
  opacity: 0.85;
}

/* =========================================================
   Bento stat grid
   ========================================================= */
.bento { background: var(--ow-white); padding: 120px 0; }
.bento-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.bento-head h2 { margin: 16px 0 0; }
.bento-head p { margin: 0; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.b-card {
  background: var(--bg-tint);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.b-card.dark { background: var(--bg-dark); color: var(--hero-fg); }
.b-card.dark .metric-label { color: var(--hero-fg-dim); }
.b-card.green { background: var(--ow-green-100); }
.b-card.purple-tint { background: var(--ow-purple-100); }
.b-card.span-6 { grid-column: span 6; }
.b-card.span-4 { grid-column: span 4; }
.b-card.span-3 { grid-column: span 3; }
.b-card.span-8 { grid-column: span 8; }

.b-card .metric { color: var(--ow-text); }
.b-card.dark .metric { color: var(--hero-fg); }
.b-card.green .metric { color: var(--accent-green-text); }

.b-card .b-desc { font-size: 14px; color: var(--ow-text-secondary); margin: 0; max-width: 38ch; }
.b-card.dark .b-desc { color: var(--hero-fg-muted); }

.b-card .deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.06);
  pointer-events: none;
}
.b-card.dark .deco-circle { border-color: rgba(244,239,255,0.08); }

.spark { height: 56px; width: 100%; }

/* =========================================================
   Section: Universal device coverage
   ========================================================= */
.devices { background: var(--bg-tint); padding: 112px 0; }
.devices-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.devices-head h2 { margin: 18px 0 0; }
.devices-head p { margin: 0; }

.device-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.device-card {
  background: var(--ow-white);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.device-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(14, 20, 33, 0.25);
}
.device-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--accent-green);
  display: grid;
  place-items: center;
}
.device-icon svg { width: 34px; height: 34px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.device-card h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.device-card p { margin: 0; font-size: 14px; color: var(--ow-text-secondary); }
.protocol-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--ow-grey-200);
}
.chip {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--ow-grey-100);
  color: var(--ow-grey-500);
}

.proto-wall {
  margin-top: 56px;
  padding: 36px;
  background: var(--ow-white);
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,0.04);
}
.proto-wall .label {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ow-text-secondary);
  margin-bottom: 18px;
}
.proto-wall .chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.proto-wall .chip { background: var(--bg-tint-2); font-size: 12px; padding: 7px 14px; }

/* =========================================================
   Section: Stack Value (Outcomes) — icon grid, no boxes
   ========================================================= */
.outcomes { background: var(--ow-white); padding: 120px 0; }

/* In-section feature image (peak smoothing comparison) sitting above the icon grid */
.strategies-feature {
  margin: 0 auto 72px;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.strategies-feature img {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--ow-grey-200);
  box-shadow: 0 24px 48px -28px rgba(39, 29, 105, 0.18);
}
.strategies-feature figcaption {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ow-text-secondary);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}
.outcomes-head { max-width: 760px; margin: 0 auto 72px; text-align: center; }
.outcomes-head h2 { margin: 16px 0; }
.outcomes-head p { margin: 0 auto; }

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px 32px;
}
.outcome {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.outcome-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--accent-green);
  display: grid; place-items: center;
  position: relative;
}
.outcome-icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.outcome-icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px dashed rgba(175, 75, 251, 0.25);
}
.outcome h4 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.outcome p { margin: 0; font-size: 13px; color: var(--ow-text-secondary); line-height: 1.5; }

/* =========================================================
   Section: Platform Components
   ========================================================= */
.platform { background: var(--bg-tint); padding: 120px 0; }
.platform-head { max-width: 760px; margin-bottom: 56px; }
.platform-head h2 { margin: 16px 0; }
.platform-head p { margin: 0; }

/* =========================================================
   Banded platform components (Utility / Optiwatt / Consumer)
   ========================================================= */
.platform-band {
  position: relative;
  padding: 48px 36px;
  margin-bottom: 24px;
  border-radius: 28px;
  border: 1px solid var(--ow-grey-200);
}
.platform-band:last-child { margin-bottom: 0; }

/* Subtle background tints per band — purple for utility, neutral for platform, green for consumer */
.platform-band.band-utility {
  background: linear-gradient(180deg, rgba(175, 75, 251, 0.04), rgba(175, 75, 251, 0.01));
  border-color: rgba(175, 75, 251, 0.18);
}
.platform-band.band-platform {
  background: var(--ow-white);
  border-color: var(--ow-grey-200);
}
.platform-band.band-consumer {
  background: linear-gradient(180deg, rgba(0, 215, 63, 0.05), rgba(0, 215, 63, 0.01));
  border-color: rgba(0, 215, 63, 0.22);
}

.band-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
  max-width: 760px;
}
.band-head .band-tag {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}
.band-utility .band-tag { color: var(--accent-purple-aa); }
.band-platform .band-tag { color: var(--ow-text-secondary); }
.band-consumer .band-tag { color: var(--accent-green-aa); }

.band-head .band-title {
  font-family: var(--display-font);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ow-text);
  margin: 0;
  line-height: 1.1;
}
.band-head .band-sub {
  font-size: 14px;
  color: var(--ow-text-secondary);
  margin: 4px 0 0;
  max-width: 60ch;
}

/* Card grid — varies per band */
.band-grid {
  display: grid;
  gap: 16px;
}
.band-grid-utility-1 {
  grid-template-columns: 1fr;
}
.band-grid-platform {
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
}
.band-grid-consumer-3 {
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto;
}
.band-grid-consumer-3 .band-card-split {
  grid-column: 1 / -1;
}

/* Individual card inside a band */
.band-card {
  background: var(--ow-white);
  border: 1px solid var(--ow-grey-200);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: transform var(--ow-dur-2, 200ms) var(--ow-ease, ease), box-shadow var(--ow-dur-2, 200ms) var(--ow-ease, ease);
}
.band-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -20px rgba(39, 29, 105, 0.18);
}
.band-card-lg {
  padding: 28px;
  grid-row: span 1;
}

.band-card .bc-num {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--ow-text-secondary);
  margin-bottom: 2px;
}
.band-card h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ow-text);
}
.band-card-lg h4 {
  font-size: 22px;
}
.band-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ow-text-secondary);
}
.band-card-lg p {
  font-size: 14px;
}

.band-card .bc-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.band-utility .band-card .bc-icon {
  background: rgba(175, 75, 251, 0.12);
  color: var(--accent-purple-aa);
}
.band-platform .band-card .bc-icon {
  background: var(--ow-grey-100);
  color: var(--ow-text-secondary);
}
.band-consumer .band-card .bc-icon {
  background: rgba(0, 215, 63, 0.14);
  color: var(--accent-green-aa);
}
.band-card .bc-icon svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none;
  stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Mockup container inside large card — grows to fill remaining space */
.band-card .bc-mock {
  margin-top: 12px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.band-card .bc-mock-phone {
  align-items: flex-end;
  justify-content: center;
}

/* Split card: two-column copy-left, screenshot-right layout
   (used for Utility Portal and Consumer Platform — keeps mockups at sharp sizes) */
.band-card-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 22px 24px;
}
.band-card-split .bc-mock {
  margin-top: 0;
  grid-column: 2;
  grid-row: 1 / span 6;
}
.band-card-split > :not(.bc-mock) {
  grid-column: 1;
}

/* In-card bullets list (same pattern as portal-feature) */
.bc-bullets {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bc-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ow-text);
  font-weight: 500;
}
.bc-bullet-mark {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-purple-soft);
  position: relative;
}
.bc-bullet-mark::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 3px;
  width: 6px;
  height: 3px;
  border-left: 1.6px solid var(--accent-purple-aa);
  border-bottom: 1.6px solid var(--accent-purple-aa);
  transform: rotate(-45deg);
}

/* Responsive */
@media (max-width: 1100px) {
  .band-grid-consumer-3,
  .band-grid-platform {
    grid-template-columns: 1fr 1fr;
  }
  .band-grid-consumer-3 .band-card-lg,
  .band-grid-platform .band-card-lg {
    grid-column: 1 / -1;
  }
}
@media (max-width: 720px) {
  .platform-band { padding: 32px 20px; }
  .band-grid-consumer-3,
  .band-grid-platform {
    grid-template-columns: 1fr;
  }
  .band-card-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .band-card-split .bc-mock {
    grid-column: 1;
    grid-row: auto;
    justify-content: center;
  }
}

/* Rating badge inside band-card adopts light-card colors automatically */
.band-card .rating-badge .score { color: var(--ow-text); }
.band-card .rating-badge .meta { color: var(--ow-text-secondary); border-left-color: var(--ow-grey-200); }

/* 4 marquee cards: 2x2 grid */
.feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.feature-card {
  background: var(--ow-white);
  border-radius: 28px;
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px -30px rgba(39, 29, 105, 0.25);
}
.feature-card .feat-num {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ow-text-secondary);
}
.feature-card h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ow-text-secondary);
  line-height: 1.55;
}
.feature-card .feat-mock {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 130px;
}
.feature-card .feat-mock svg { display: block; max-width: 100%; height: auto; }
.feature-card.accent {
  background: linear-gradient(160deg, var(--bg-dark-card), var(--bg-dark));
  color: var(--hero-fg);
  border-color: var(--hero-divider);
}
.feature-card.accent .feat-num { color: var(--accent-green); }
.feature-card.accent p { color: var(--hero-fg-muted); }

/* 4 supporting components: compact strip */
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.support-card {
  background: var(--ow-white);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.support-card .s-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-purple-soft);
  color: var(--accent-purple);
  display: grid; place-items: center;
  margin-bottom: 8px;
}
.support-card .s-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.support-card h4 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.support-card p { margin: 0; font-size: 12px; color: var(--ow-text-secondary); line-height: 1.45; }

/* =========================================================
   Section: Insights (replaces .perf — DARK)
   ========================================================= */
.insights {
  background: var(--bg-dark);
  color: var(--hero-fg);
  padding: 128px 0;
  position: relative;
  overflow: hidden;
}
.insights::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  right: -200px; top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(175, 75, 251, 0.32), transparent 60%);
  pointer-events: none;
}
.insights-head { max-width: 760px; margin-bottom: 56px; }
.insights-head h2 { margin: 18px 0; }
.insights-head p { color: var(--hero-fg-muted); margin: 0; }

.insights-main {
  background: var(--bg-dark-card);
  border-radius: 28px;
  padding: 36px;
  border: 1px solid var(--hero-divider);
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 20px;
}
.insights-main .im-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.insights-main h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.insights-main .im-tabs {
  display: flex; gap: 6px; padding: 4px; background: rgba(244,239,255,0.05); border-radius: 999px;
}
.insights-main .im-tab {
  font-family: var(--mono-font); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
  color: var(--hero-fg-muted); border: 1px solid transparent; cursor: default;
}
.insights-main .im-tab.is-active {
  background: var(--bg-dark);
  color: var(--accent-green);
  border-color: var(--hero-divider);
}
.insights-main .im-legend {
  display: flex; gap: 18px; flex-wrap: wrap; padding-top: 4px;
}
.insights-main .im-legend span {
  font-family: var(--mono-font); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hero-fg-dim);
  display: inline-flex; align-items: center; gap: 8px;
}
.insights-main .im-legend span::before {
  content: ""; display: inline-block; width: 14px; height: 2px; background: var(--accent-green); border-radius: 2px;
}
.insights-main .im-legend span.dashed::before { background: transparent; border-top: 2px dashed rgba(244,239,255,0.5); height: 0; }
.insights-main .im-chart { width: 100%; height: 280px; }
/* =========================================================
   Insights main: portal-style event detail
   ========================================================= */
.insights-main .im-event-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.insights-main .im-event-meta .em-title {
  font-family: var(--ow-font-sans);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hero-fg);
  margin: 0;
}
.insights-main .im-event-meta .em-when {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hero-fg-dim);
}
.insights-main .im-event-meta .em-desc {
  font-size: 13px;
  color: var(--hero-fg-muted);
  margin: 4px 0 0;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.kpi {
  background: rgba(244, 239, 255, 0.04);
  border: 1px solid var(--hero-divider);
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kpi .kpi-lbl {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hero-fg-dim);
  line-height: 1.3;
}
.kpi .kpi-val {
  font-family: var(--mono-font);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-purple);
}
.kpi.green .kpi-val { color: var(--accent-green); }
.kpi.neutral .kpi-val { color: var(--hero-fg); }

@media (max-width: 1100px) {
  .kpi-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .kpi .kpi-val { font-size: 22px; }
}

.insights-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.insight-side {
  background: var(--bg-dark-card);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--hero-divider);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.insight-side .is-eyebrow {
  font-family: var(--mono-font); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hero-fg-dim);
}
.insight-side h4 { font-size: 18px; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.insight-side p { margin: 0; font-size: 13px; color: var(--hero-fg-muted); }
.insight-side .ev-chart { width: 100%; height: 140px; }

/* =========================================================
   Section: Integration (simplified flow, NOT a 3-col grid)
   ========================================================= */
.integration { background: var(--ow-white); padding: 120px 0; }
.integration-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.integration-head h2 { margin: 16px 0; }
.integration-head p { margin: 0 auto; }

.flow-diagram {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 56px;
}
.flow-node {
  background: var(--bg-tint);
  border-radius: 24px;
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.flow-node.center {
  background: var(--bg-dark);
  color: var(--hero-fg);
  padding: 36px 24px;
}
.flow-node .n-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ow-white);
  color: var(--accent-purple);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.flow-node.center .n-icon { background: var(--accent-green); color: var(--bg-dark); }
.flow-node .n-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flow-node h4 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.flow-node .n-list {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
}
.flow-node .n-list .chip { background: var(--ow-white); }
.flow-node.center .n-list .chip { background: var(--bg-dark-card); color: var(--hero-fg-muted); }

.flow-arrow {
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ow-grey-400);
}
.flow-arrow svg { width: 100%; height: 18px; }

.flow-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding-top: 48px; border-top: 1px solid var(--ow-grey-200);
}
.flow-stats > div { text-align: left; }
.flow-stats .num {
  font-family: var(--mono-font); font-size: 32px; font-weight: 700; letter-spacing: -0.03em; color: var(--ow-text);
}
.flow-stats .lbl { font-size: 13px; color: var(--ow-text-secondary); margin-top: 4px; }

/* =========================================================
   Top announcement banner
   ========================================================= */
.top-banner {
  background: var(--accent-purple-aa);
  color: #fff;
  position: relative;
  z-index: 60;
}
.top-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--mono-font);
  letter-spacing: 0.04em;
}
.top-banner .tag {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: #fff;
  color: var(--accent-purple-aa);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
}
.top-banner a {
  color: var(--hero-fg);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.top-banner a:hover { color: var(--accent-green); }
.top-banner .arrow { transition: transform 0.18s ease; }
.top-banner a:hover .arrow { transform: translateX(3px); }

/* Adjust nav position when banner is present — hero padding stays unchanged */
.has-banner .site-nav { top: 56px; }

/* =========================================================
   Bento: device-type breakdown inline
   ========================================================= */
.b-card .device-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 239, 255, 0.12);
}
.b-card .device-split > div { display: flex; flex-direction: column; gap: 4px; }
.b-card .device-split .ds-num {
  font-family: var(--mono-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--hero-fg);
  letter-spacing: -0.02em;
}
.b-card .device-split .ds-lbl {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hero-fg-dim);
}

/* =========================================================
   ResiFlex highlight section
   ========================================================= */
.resiflex {
  background: var(--ow-white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.resiflex::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  left: -250px; top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(175, 75, 251, 0.08), transparent 60%);
  pointer-events: none;
}
.resiflex-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 80px;
  align-items: center;
  position: relative;
}
.resiflex-copy h2 { margin: 16px 0; }
.resiflex-copy .lede { margin: 0 0 28px; }
.resiflex-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ow-purple-100);
  color: var(--accent-purple-aa);
  border: 1px solid rgba(126, 43, 194, 0.25);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}
.resiflex-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-purple);
}

.algo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.algo-grid.algo-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .algo-grid.algo-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .algo-grid.algo-grid-4 { grid-template-columns: 1fr; }
}
.algo-card {
  background: var(--bg-tint);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(175, 75, 251, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.algo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -24px rgba(175, 75, 251, 0.25);
}
.algo-card .algo-num {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent-purple-aa);
  font-weight: 600;
}
.algo-card h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.algo-card p {
  margin: 0;
  font-size: 13px;
  color: var(--ow-text-secondary);
  line-height: 1.5;
}
.algo-card .algo-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--accent-purple);
  opacity: 0.4;
}

/* Mobile preview styled like the white-label app */
.resiflex-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.resiflex-phone {
  width: 240px;
  height: 480px;
  background: linear-gradient(180deg, #fff, #FBF6FF);
  border-radius: 36px;
  border: 8px solid var(--bg-dark);
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(39, 29, 105, 0.4);
}
.resiflex-phone::before {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 5px;
  background: var(--bg-dark);
  border-radius: 999px;
}
.resiflex-screen {
  padding: 28px 18px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.resiflex-screen .rs-brand {
  font-family: var(--mono-font);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--accent-purple);
  font-weight: 700;
  margin-top: 6px;
}
.resiflex-screen .rs-greeting {
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
  color: var(--ow-text);
}
.resiflex-screen .rs-card {
  background: linear-gradient(160deg, var(--accent-purple), var(--ow-purple-700));
  color: #fff;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.resiflex-screen .rs-card .rs-cap { font-family: var(--mono-font); font-size: 9px; letter-spacing: 0.18em; opacity: 0.85; }
.resiflex-screen .rs-card .rs-num { font-family: var(--mono-font); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.resiflex-screen .rs-card .rs-progress { height: 4px; background: rgba(255,255,255,0.25); border-radius: 999px; overflow: hidden; margin-top: 4px; }
.resiflex-screen .rs-card .rs-progress::after { content: ""; display: block; width: 76%; height: 100%; background: var(--accent-green); }
.resiflex-screen .rs-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.resiflex-screen .rs-mini {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.resiflex-screen .rs-mini .rs-cap { font-family: var(--mono-font); font-size: 8px; letter-spacing: 0.16em; color: var(--ow-text-secondary); text-transform: uppercase; }
.resiflex-screen .rs-mini .rs-mn { font-family: var(--mono-font); font-size: 16px; font-weight: 700; color: var(--ow-text); letter-spacing: -0.02em; }
.resiflex-screen .rs-mini.green .rs-mn { color: var(--accent-green-text); }
.resiflex-screen .rs-event {
  background: var(--ow-purple-100);
  border-radius: 12px;
  padding: 12px;
  font-size: 11px;
  color: var(--accent-purple);
  display: flex;
  align-items: center;
  gap: 8px;
}
.resiflex-screen .rs-event::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-purple);
}
.resiflex-meta {
  position: absolute;
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ow-text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.resiflex-meta::before {
  content: ""; width: 30px; height: 1px; background: var(--ow-grey-300); display: inline-block;
}
.resiflex-meta.top { top: 30px; left: -40px; }
.resiflex-meta.bottom { bottom: 30px; right: -40px; }
.resiflex-meta.bottom::before { display: none; }
.resiflex-meta.bottom::after { content: ""; width: 30px; height: 1px; background: var(--ow-grey-300); display: inline-block; }

/* =========================================================
   Integration: 3-category section (replaces protocol-only wall)
   ========================================================= */
.int-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.int-cat {
  background: var(--bg-tint);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.int-cat .ic-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--ow-grey-300);
}
.int-cat .ic-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ow-white);
  color: var(--accent-purple);
  display: grid; place-items: center;
}
.int-cat .ic-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.int-cat h4 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.int-cat .ic-chips .chip.chip-control {
  background: var(--accent-green-soft);
  color: var(--accent-green-aa);
  font-weight: 600;
}
.int-cat .ic-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.int-cat .ic-chips .chip { background: var(--ow-white); }
.int-cat p { margin: 0; font-size: 13px; color: var(--ow-text-secondary); }

/* =========================================================
   Contact form (replaces CTA strip)
   ========================================================= */
.contact {
  background: var(--bg-dark);
  color: var(--hero-fg);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  width: 800px; height: 800px;
  left: -100px; bottom: -300px;
  background: radial-gradient(circle, rgba(175, 75, 251, 0.32), transparent 60%);
  pointer-events: none;
}
.contact::after {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  right: -100px; top: -200px;
  background: radial-gradient(circle, rgba(251, 66, 210, 0.18), transparent 60%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact-copy h2 { margin: 18px 0; }
.contact-copy p { color: var(--hero-fg-muted); margin: 0 0 28px; max-width: 40ch; }
.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--hero-divider);
}
.contact-meta .cm-row {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--hero-fg-muted);
}
.contact-meta .cm-row span:first-child {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent-green);
  flex-shrink: 0;
  width: 80px;
}

.contact-form {
  background: var(--ow-white);
  border-radius: 28px;
  padding: 36px;
  border: 1px solid var(--ow-grey-200);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.req-star {
  color: var(--accent-green-aa);
  font-weight: 700;
}
.form-required-note {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ow-text-secondary);
  margin: 0 0 4px;
}
.field label {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ow-text-secondary);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: var(--ow-white);
  border: 1px solid var(--ow-grey-300);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ow-text);
  font-family: var(--ow-font-sans);
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ow-text-secondary);
  opacity: 0.7;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-green-aa);
  background: var(--ow-white);
}
.field textarea { min-height: 110px; }
.contact-form button {
  background: var(--accent-green);
  color: #0A1A0E;
  border: 1.5px solid transparent;
  height: 56px;
  padding: 0 24px;
  border-radius: var(--ow-radius-pill, 999px);
  font: 700 16px/1 var(--ow-font-sans);
  cursor: pointer;
  transition: transform var(--ow-dur-1, 120ms) var(--ow-ease, ease), background var(--ow-dur-2, 200ms) var(--ow-ease, ease), box-shadow var(--ow-dur-2, 200ms) var(--ow-ease, ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.contact-form button:active { transform: scale(0.98); }
.contact-form button:hover {
  background: #1AE356;
  box-shadow: 0 12px 30px -10px rgba(0, 215, 63, 0.7);
}
.contact-form .form-foot {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ow-text-secondary);
  text-align: center;
}

/* =========================================================
   Responsive additions
   ========================================================= */
@media (max-width: 1100px) {
  .resiflex-grid { grid-template-columns: 1fr; gap: 56px; }
  .resiflex-preview { min-height: 460px; }
  .int-categories { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .feature-cards { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-row { grid-template-columns: 1fr; }
  .flow-diagram { grid-template-columns: 1fr; gap: 8px; }
  .flow-arrow { transform: rotate(90deg); width: 56px; margin: 0 auto; }
  .flow-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .top-banner-inner { font-size: 13px; padding: 12px 14px; }
  .has-banner .site-nav { top: 58px; }
  .top-banner .tag { font-size: 12px; padding: 2px 6px; }
  .b-card .device-split { grid-template-columns: 1fr; gap: 10px; }
  .algo-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .resiflex-meta { display: none; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .insights-main .im-stats { grid-template-columns: 1fr 1fr; }
  .flow-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
}



/* =========================================================
   Section: Enterprise integrations
   ========================================================= */
.enterprise { background: var(--bg-tint); padding: 120px 0; }
.enterprise-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.enterprise h2 { margin: 18px 0; }
.enterprise .lede { margin-bottom: 32px; }
.enterprise-bullets { list-style: none; padding: 0; margin: 0; }
.enterprise-bullets li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.enterprise-bullets li:last-child { border-bottom: 1px solid rgba(0,0,0,0.07); }
.enterprise-bullets .num {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ow-text-secondary);
  padding-top: 4px;
  flex-shrink: 0;
}
.enterprise-bullets h4 { margin: 0; font-size: 16px; font-weight: 700; }
.enterprise-bullets p { margin: 4px 0 0; font-size: 14px; color: var(--ow-text-secondary); }

.soc-card {
  background: var(--ow-white);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}
.soc-card .soc-shield {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--accent-green);
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.soc-card .soc-shield svg { width: 40px; height: 40px; }
.soc-card h3 { margin: 0 0 10px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.soc-card p { margin: 0 0 24px; font-size: 14px; color: var(--ow-text-secondary); }
.soc-card .chip { background: var(--bg-tint); }

/* =========================================================
   CTA strip (dark)
   ========================================================= */
.cta-strip {
  background: var(--bg-dark);
  color: var(--hero-fg);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  width: 800px; height: 800px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 215, 63, 0.1), transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-inner h2 { margin: 0; max-width: 18ch; }
.cta-inner .cta-sub {
  margin-top: 16px;
  color: var(--hero-fg-muted);
  font-size: 17px;
  max-width: 44ch;
}
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--bg-dark-deep); color: var(--hero-fg-muted); padding: 72px 0 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.35fr 1fr;
  gap: 40px;
}
.footer-brand .footer-logo-img { height: 30px; width: auto; display: block; }
.footer-copy { margin: 24px 0 0; font-size: 15px; line-height: 1.6; color: var(--hero-fg-dim); }
.footer-col h3 {
  font-size: 17px;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: #fff;
  font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.footer-col li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--hero-fg-muted); }
.footer-col a { font-size: 15px; color: var(--hero-fg-muted); text-decoration: none; transition: color 0.18s ease; display: inline-flex; align-items: center; gap: 10px; }
.footer-col a:hover { color: #fff; }
.fc-icon { color: var(--accent-purple); display: inline-flex; flex-shrink: 0; }
.fc-icon svg, .fs-icon svg { width: 18px; height: 18px; display: block; }
.fs-icon { display: inline-flex; flex-shrink: 0; }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.06s; }
.reveal.delay-2 { transition-delay: 0.12s; }
.reveal.delay-3 { transition-delay: 0.18s; }
.reveal.delay-4 { transition-delay: 0.24s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { height: 460px; max-width: 480px; margin: 0 auto; }
  .frame-circle.f-main { width: 380px; height: 380px; }
  .frame-circle.f-badge { width: 140px; height: 140px; }
  .arch-grid { grid-template-columns: 1fr; gap: 16px; }
  .arch-col.center { margin: 0; }
  .arch-sub-stats { grid-template-columns: repeat(2, 1fr); }
  .perf-grid { grid-template-columns: 1fr; }
  .enterprise-grid { grid-template-columns: 1fr; gap: 48px; }
  .device-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .bento-head { grid-template-columns: 1fr; gap: 20px; }
  .b-card.span-3, .b-card.span-4, .b-card.span-6, .b-card.span-8 { grid-column: span 6; }
}
@media (max-width: 720px) {
  .hero { padding: 130px 0 80px; }
  .hero-visual { height: 380px; }
  .frame-circle.f-main { width: 300px; height: 300px; }
  .dashboard-tile { padding: 30px 26px; }
  .tile-bignum { font-size: 44px; }
  .device-grid { grid-template-columns: 1fr; }
  .b-card.span-3, .b-card.span-4, .b-card.span-6, .b-card.span-8 { grid-column: span 12; }
  .nav-toggle { display: flex; width: 44px; height: 44px; }
  .nav-inner { gap: 16px; }
  .site-nav .btn-primary.btn-sm,
  .site-nav .nav-login { margin-left: auto; height: 44px; }
  /* larger touch targets on mobile (>= 44px) */
  .footer-col a { min-height: 44px; }
  .footer-col ul { gap: 4px; }
  #primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    background: var(--bg-dark-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.6);
  }
  .nav-open #primary-nav { display: block; }
  #primary-nav .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0;
  }
  #primary-nav .nav-links a {
    display: block;
    padding: 14px var(--gutter, 32px);
    font-size: 16px;
  }
  #primary-nav .nav-links a.is-active::after { display: none; }
  .arch-sub-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .b-card { padding: 28px; }
}

/* =========================================================
   PARTNERS PAGE — Ecosystem section wrapper
   ========================================================= */
.ecosystem {
  background: var(--ow-white);
  padding: 96px 0 80px;
}
.ecosystem-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.ecosystem-head h2 { margin: 16px 0 0; }

/* =========================================================
   PARTNERS PAGE — Sticky section nav banner
   ========================================================= */
.partner-nav {
  background: var(--ow-purple-800);
  border-top: 1px solid rgba(175, 75, 251, 0.25);
  border-bottom: 1px solid rgba(175, 75, 251, 0.25);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.25);
}
.partner-nav-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
  flex-wrap: wrap;
}
.partner-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(244, 239, 255, 0.08);
  border: 1px solid rgba(244, 239, 255, 0.2);
  color: var(--hero-fg);
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--ow-dur-2, 200ms) ease, border-color var(--ow-dur-2, 200ms) ease, color var(--ow-dur-2, 200ms) ease;
}
.partner-nav-link:hover {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #0A1A0E;
}

/* =========================================================
   PARTNERS PAGE — Per-category sections
   ========================================================= */
.partner-section {
  padding: 96px 0;
  background: var(--ow-white);
  scroll-margin-top: 80px;
}
.partner-section-tint { background: var(--ow-purple-100); }
.partner-section-head {
  max-width: 760px;
  margin: 0 0 48px;
}
.partner-section-head h2 { margin: 16px 0; }
.partner-section-head .lede { margin: 0; }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.partner-grid-2col { grid-template-columns: repeat(2, 1fr); }

.partner-card {
  background: var(--ow-white);
  border: 1px solid var(--ow-grey-200);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform var(--ow-dur-2, 200ms) var(--ow-ease, ease), box-shadow var(--ow-dur-2, 200ms) var(--ow-ease, ease);
}
.partner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -20px rgba(39, 29, 105, 0.18);
}
.partner-card .pc-num {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent-purple-aa);
  font-weight: 600;
  margin-bottom: 2px;
}
.partner-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ow-text);
}
.partner-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ow-text-secondary);
}

/* Stat strip below grid (OEMs section) */
.partner-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding: 36px;
  background: var(--ow-purple-100);
  border-radius: 20px;
  border: 1px solid rgba(175, 75, 251, 0.18);
}
.ps-stat { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.ps-num {
  font-family: var(--mono-font);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-purple-aa);
}
.ps-label {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ow-text-secondary);
  font-weight: 500;
}

/* Aggregators: 2-col layout (grid left, dark stat strip right) */
.partner-aggr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.partner-stat-strip {
  background: linear-gradient(160deg, var(--ow-purple-800), #1A1450);
  color: var(--hero-fg);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid rgba(175, 75, 251, 0.3);
  position: sticky;
  top: 100px;
}
.pss-eyebrow {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin: 0;
  font-weight: 600;
}
.pss-stat { display: flex; flex-direction: column; gap: 4px; }
.pss-num {
  font-family: var(--mono-font);
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hero-fg);
}
.pss-label {
  font-size: 12px;
  line-height: 1.4;
  color: var(--hero-fg-muted);
}

/* Contact form select (partner-type dropdown) */
.contact-form .field select {
  background: var(--ow-white);
  border: 1px solid var(--ow-grey-300);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ow-text);
  font-family: var(--ow-font-sans);
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%235D5D5D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.contact-form .field select:focus {
  outline: none;
  border-color: var(--accent-green-aa);
}

/* Responsive — partner sections */
@media (max-width: 1100px) {
  .partner-grid, .partner-grid-2col {
    grid-template-columns: repeat(2, 1fr);
  }
  .partner-aggr-layout {
    grid-template-columns: 1fr;
  }
  .partner-stat-strip {
    position: static;
  }
}
@media (max-width: 720px) {
  .partner-grid, .partner-grid-2col {
    grid-template-columns: 1fr;
  }
  .partner-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .partner-nav-inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .ecosystem, .partner-section {
    padding: 56px 0;
  }
}

/* =========================================================
   PARTNERS PAGE — Ecosystem LIST format (replaces hub diagram)
   ========================================================= */
.ecosystem-list {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.eco-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--ow-white);
  border: 1px solid var(--ow-grey-200);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--ow-dur-2, 200ms) var(--ow-ease, ease), border-color var(--ow-dur-2, 200ms) var(--ow-ease, ease), box-shadow var(--ow-dur-2, 200ms) var(--ow-ease, ease);
}
.eco-item:hover {
  transform: translateX(4px);
  border-color: var(--accent-purple-aa);
  box-shadow: 0 16px 32px -22px rgba(39, 29, 105, 0.22);
}
.eco-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(175, 75, 251, 0.1);
  color: var(--accent-purple-aa);
  display: grid;
  place-items: center;
}
.eco-icon svg {
  width: 22px; height: 22px;
  stroke: currentColor; fill: none;
  stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.eco-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.eco-cat {
  font-family: var(--display-font);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ow-text);
}
.eco-desc {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ow-text-secondary);
  line-height: 1.5;
}
.eco-arrow {
  font-size: 18px;
  color: var(--ow-text-secondary);
  flex-shrink: 0;
  transition: transform var(--ow-dur-2, 200ms) ease, color var(--ow-dur-2, 200ms) ease;
}
.eco-item:hover .eco-arrow {
  color: var(--accent-purple-aa);
  transform: translateX(3px);
}

/* Value-prop card icons (partner sections) */
.partner-card .pc-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(175, 75, 251, 0.12);
  color: var(--accent-purple-aa);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.partner-card .pc-icon svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none;
  stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

@media (max-width: 720px) {
  .ecosystem-list { grid-template-columns: 1fr; }
  .eco-item { padding: 16px 18px; gap: 14px; }
  .eco-icon { width: 38px; height: 38px; }
  .eco-icon svg { width: 19px; height: 19px; }
}

/* =========================================================
   CONSUMER PAGE
   ========================================================= */

/* Hero social proof badge */
.hero-social { margin-top: 20px; }

/* Savings section — number-driven */
.savings-section {
  background: var(--ow-white);
  padding: 96px 0;
}
.savings-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.savings-head h2 { margin: 16px 0; }
.savings-head .lede { margin: 0 auto; max-width: 60ch; }

.savings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.savings-stat {
  background: var(--ow-white);
  border: 1px solid var(--ow-grey-200);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  transition: transform var(--ow-dur-2, 200ms) var(--ow-ease, ease), box-shadow var(--ow-dur-2, 200ms) var(--ow-ease, ease);
}
.savings-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -20px rgba(39, 29, 105, 0.18);
}
.ss-num {
  font-family: var(--display-font);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent-green-aa);
  line-height: 1;
}
.savings-stat:nth-child(2) .ss-num { color: var(--accent-purple-aa); }
.savings-stat:nth-child(3) .ss-num { color: var(--ow-text); }
.ss-num-free { font-size: clamp(48px, 5.6vw, 66px); line-height: 0.95; }
.ss-num-free .ss-forever { display: block; font-size: 0.38em; font-weight: 700; letter-spacing: -0.01em; }
.ss-label {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ow-text-secondary);
  font-weight: 500;
  margin-top: 4px;
}

/* How it works — 3 numbered steps */
.how-section {
  background: var(--ow-purple-100);
  padding: 96px 0;
}
.how-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.how-head h2 { margin: 16px 0 0; }

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}
.how-step {
  background: var(--ow-white);
  border: 1px solid var(--ow-grey-200);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.how-num {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--accent-purple-aa);
}
.how-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(0, 215, 63, 0.14);
  color: var(--accent-green-aa);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.how-icon svg {
  width: 22px; height: 22px;
  stroke: currentColor; fill: none;
  stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.how-step h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ow-text);
}
.how-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ow-text-secondary);
}

/* App showcase — phone trio */
.app-showcase {
  background: var(--ow-white);
  padding: 96px 0;
}
.app-showcase-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.app-showcase-head h2 { margin: 16px 0; }
.app-showcase-head .lede { margin: 0 auto; }

.phone-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.phone-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.phone-caption {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 280px;
}
.pc-title {
  font-family: var(--display-font);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ow-text);
}
.pc-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ow-text-secondary);
}
/* Phone frame: the Figma mockups include their own device frame, so this is just a positioning wrapper with drop shadow */
.phone-frame {
  width: 100%;
  max-width: 300px;
  position: relative;
  filter: drop-shadow(0 30px 50px rgba(39, 29, 105, 0.22));
}
.phone-screen {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 36px;
}
/* For SVG-mode mockups (kept for back-compat / fallback) */
svg.phone-screen {
  aspect-ratio: 280 / 570;
}

/* Responsive — phone trio */
@media (max-width: 960px) {
  .phone-trio {
    grid-template-columns: 1fr;
    gap: 56px;
    max-width: 360px;
  }
  .phone-card {
    gap: 18px;
  }
}

/* Beyond / Optiwatt Home */
.beyond-section {
  background: var(--ow-purple-100);
  color: var(--ow-text);
  padding: 96px 0;
  overflow: hidden;
}
.beyond-section .eyebrow.dark {
  color: var(--accent-purple-aa);
}
.beyond-section h2 {
  color: var(--ow-text);
  margin: 16px 0;
}
.beyond-section .lede {
  color: var(--ow-text-secondary);
  margin: 0;
}

/* 2-column phone-paired layout */
.beyond-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.beyond-pair-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.beyond-pair-copy h2 { text-align: left; }
.beyond-pair-copy .eyebrow { text-align: left; }

/* Compact device list under copy */
.beyond-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.beyond-list-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}
.beyond-list-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(0, 215, 63, 0.14);
  color: var(--accent-green-aa);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.beyond-list-icon svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none;
  stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.beyond-list-item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.beyond-list-item strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ow-text);
  letter-spacing: -0.005em;
}
.beyond-list-item span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ow-text-secondary);
}

/* Phone-pair visual: layered phones (one in front, one offset behind) */
.beyond-pair-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.beyond-phone {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(39, 29, 105, 0.22));
}
.beyond-phone-back {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-46%) translateX(18%) rotate(-10deg);
  max-width: 370px;
  opacity: 0.94;
  filter: drop-shadow(0 24px 40px rgba(39, 29, 105, 0.18));
  z-index: 1;
}
.beyond-phone-front {
  position: relative;
  z-index: 2;
  transform: translateX(-18%);
}

@media (max-width: 960px) {
  .beyond-pair {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .beyond-pair-visual {
    min-height: 480px;
    order: 2;
  }
  .beyond-phone-front { transform: translateX(-8%); }
  .beyond-phone-back  { transform: translateY(-46%) translateX(16%) rotate(-10deg); }
}
@media (max-width: 600px) {
  .beyond-pair-visual {
    min-height: 380px;
  }
  .beyond-phone { max-width: 240px; }
  .beyond-phone-back { max-width: 240px; }
}

/* Testimonials grid */
.testimonials {
  background: var(--ow-white);
  padding: 96px 0;
}
.testimonials-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.testimonials-head h2 { margin: 16px 0 0; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testimonial-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-card + .testimonial-card {
  border-left: 1px solid var(--ow-grey-200);
}
.tc-stars {
  color: var(--ow-yellow-500, #FBD242);
  letter-spacing: 0.04em;
  font-size: 14px;
}
.testimonial-card blockquote {
  margin: 0;
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ow-text);
}
.testimonial-card figcaption {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ow-text-secondary);
  font-weight: 600;
}
@media (max-width: 900px) {
  .testimonial-card { padding: 0; }
  .testimonial-card + .testimonial-card {
    border-left: none;
    border-top: 1px solid var(--ow-grey-200);
    padding-top: 32px;
    margin-top: 32px;
  }
}

/* How is it free — three-step horizontal flow */
.how-free {
  background: var(--ow-purple-100);
  padding: 96px 0;
}

/* 2-column layout: copy left, vertical stack of step cards right */
.how-free-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.how-free-pair-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 96px;
}
.how-free-pair-copy .eyebrow { margin-bottom: 4px; }
.how-free-pair-copy h2 { margin: 0; }
.how-free-pitch {
  margin: 8px 0 0;
  font-family: var(--display-font);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ow-text);
  max-width: 52ch;
}
.how-free-pair-copy .how-free-lede {
  margin: 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ow-text-secondary);
}

.how-free-pair-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hf-step {
  background: var(--ow-white);
  border: 1px solid var(--ow-grey-200);
  border-radius: 20px;
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform var(--ow-dur-2, 200ms) var(--ow-ease, ease), box-shadow var(--ow-dur-2, 200ms) var(--ow-ease, ease);
}
.hf-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -20px rgba(39, 29, 105, 0.18);
}
.hf-num {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--accent-purple-aa);
}
.hf-entity {
  margin: 2px 0 4px;
  font-family: var(--display-font);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ow-text);
}
.hf-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ow-text-secondary);
}
.hf-step p strong {
  color: var(--ow-text);
  font-weight: 700;
}

@media (max-width: 880px) {
  .how-free-pair {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .how-free-pair-copy {
    position: static;
  }
}

/* ============== WHO IS OPTIWATT ============== */
.who-section {
  background: var(--ow-white);
  padding: 96px 0;
}
.who-head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.who-head .eyebrow { justify-content: center; }
.who-head h2 { margin: 16px 0; color: var(--bg-dark); }
.who-head .lede { margin: 0 auto 12px; max-width: 62ch; color: var(--ow-text-secondary); }
.who-head .who-foot { color: var(--ow-text-secondary); font-size: 15px; margin: 0 auto; max-width: 62ch; opacity: 0.85; }
.who-support {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(39, 29, 105, 0.12);
}
.who-support p { color: var(--ow-text-secondary); font-size: 16px; margin: 0 auto 18px; max-width: 56ch; }

/* Download CTA */
.download-section {
  background: linear-gradient(160deg, var(--ow-purple-800), #1A1450);
  color: var(--hero-fg);
  padding: 96px 0;
}
.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.download-copy .eyebrow { color: var(--accent-green); }
.download-copy h2 {
  color: var(--hero-fg);
  margin: 16px 0;
}
.download-copy p {
  color: var(--hero-fg-muted);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
.download-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.store-badges-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.app-badge {
  display: inline-flex;
  text-decoration: none;
  transition: transform var(--ow-dur-2, 200ms) ease;
}
.app-badge:hover { transform: translateY(-2px); }
.app-badge img {
  height: 60px;
  width: auto;
  display: block;
}
.download-foot {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hero-fg-muted);
  margin: 8px 0 0;
  text-align: center;
}

/* Consumer page responsive */
@media (max-width: 900px) {
  .savings-grid,
  .how-grid,
  .beyond-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }
  .download-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .savings-grid,
  .how-grid,
  .beyond-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .savings-section,
  .how-section,
  .app-showcase,
  .beyond-section,
  .testimonials,
  .how-free,
  .who-section,
  .download-section {
    padding: 56px 0;
  }
}

/* =========================================================
   CONSUMER PAGE — Earn from utility programs (dark feature panel)
   ========================================================= */
.earn-section {
  background: var(--ow-white);
  padding: 96px 0;
}
.earn-panel {
  background: linear-gradient(160deg, var(--ow-purple-800), #1A1450);
  color: var(--hero-fg);
  border-radius: 28px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  border: 1px solid rgba(175, 75, 251, 0.3);
}
.earn-panel-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.earn-eyebrow {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-green);
  margin: 0;
}
.earn-panel-copy h2 {
  color: var(--hero-fg);
  margin: 0;
}
.earn-panel-copy .lede {
  color: var(--hero-fg-muted);
  margin: 0;
}
.earn-panel-copy em {
  font-style: normal;
  color: var(--accent-green);
  font-weight: 600;
}
.earn-foot {
  margin: 8px 0 0;
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--hero-fg-muted);
  line-height: 1.6;
  opacity: 0.8;
}

.earn-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(244, 239, 255, 0.14);
}
.earn-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(244, 239, 255, 0.14);
  align-items: start;
}
.earn-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(0, 215, 63, 0.18);
  color: var(--accent-green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.earn-icon svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none;
  stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.earn-item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.earn-item-body h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--hero-fg);
}
.earn-item-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--hero-fg-muted);
}
.earn-item-body em {
  font-style: normal;
  color: var(--accent-green);
  font-weight: 600;
}

@media (max-width: 960px) {
  .earn-panel {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 32px;
  }
}
@media (max-width: 600px) {
  .earn-section {
    padding: 56px 0;
  }
  .earn-panel {
    padding: 32px 24px;
    border-radius: 20px;
  }
}

/* Savings section — environmental impact callout */
.savings-eco {
  margin: 32px auto 0;
  max-width: 60ch;
  text-align: center;
  font-family: var(--mono-font);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ow-text-secondary);
  line-height: 1.6;
}

/* Consumer hero H1 — two-tier sizing within a single H1 element */
.h1-two-tier {
  display: flex;
  flex-direction: column;
  gap: 12px;
  line-height: 1.05;
}
.h1-two-tier .h1-primary {
  display: block;
  /* inherits display-xl sizing — stays the brand-prominent line */
}
.h1-two-tier .h1-secondary {
  display: block;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.25;
  color: var(--hero-fg-muted, rgba(244, 239, 255, 0.78));
}
@media (max-width: 640px) {
  .h1-two-tier { gap: 10px; }
}

/* Consumer — How is it free? (editorial / playful refresh) */
.how-free-lede {
  margin: 18px auto 0;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ow-text-secondary);
}

/* =========================================================
   CONSUMER PAGE — Steps section (merged showcase + how-it-works)
   Alternating image+text rows. Replaces .app-showcase + .how-section.
   ========================================================= */
.steps-section {
  background: linear-gradient(180deg, #F4ECFF 0%, #FBF6FF 50%, #FFFFFF 100%);
  padding: 80px 0;
}
.steps-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.steps-head h2 { margin: 16px 0 0; }

.steps-rows {
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 1100px;
  margin: 0 auto;
}
.step-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.step-row.reverse > .step-row-copy { order: 2; justify-self: start; }
.step-row.reverse > .step-row-visual { order: 1; justify-content: flex-end; }

.step-row-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
  justify-self: end;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: #fff;
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 6px;
  box-shadow: 0 10px 22px -8px rgba(39, 29, 105, 0.5);
}
.step-title {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ow-text);
}
.step-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ow-text-secondary);
  max-width: 48ch;
}

.step-row-visual {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.step-phone {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(39, 29, 105, 0.22));
  transition: transform 0.35s ease;
}
.step-row:hover .step-phone { transform: translateY(-8px); }

@media (max-width: 880px) {
  .step-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .step-row.reverse > .step-row-copy { order: 1; justify-self: stretch; }
  .step-row.reverse > .step-row-visual { order: 2; justify-content: center; }
  .steps-rows { gap: 64px; }
  .step-row-visual { order: 2; justify-content: center; }
  .step-row-copy { order: 1; max-width: none; justify-self: stretch; }
}

/* =========================================================
   CONSUMER PAGE — Math section, two-stat variant
   ========================================================= */
.savings-grid.two-stat {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
  margin: 0 auto;
  gap: 32px;
}

/* =========================================================
   CONSUMER PAGE — Testimonials: hero quote + social proof bar
   ========================================================= */
.testimonial-hero {
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
}
.th-stars {
  color: #B88600; /* dark gold, 3.27:1 on white — passes WCAG non-text contrast (3:1) */
  letter-spacing: 0.08em;
  font-size: 18px;
}
.testimonial-hero blockquote {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ow-text);
}
.testimonial-hero blockquote::before {
  content: "\201C";
  display: inline;
}
.testimonial-hero blockquote::after {
  content: "\201D";
  display: inline;
}
.testimonial-hero figcaption {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ow-text-secondary);
  font-weight: 600;
}

.social-proof-bar {
  margin: 64px auto 0;
  max-width: 800px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 16px;
  border-top: 1px solid var(--ow-grey-200);
  border-bottom: 1px solid var(--ow-grey-200);
}
.spb-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.spb-num {
  font-family: var(--display-font);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ow-text);
}
.spb-label {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ow-text-secondary);
}
@media (max-width: 600px) {
  .social-proof-bar {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 16px;
  }
  .spb-stat { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; text-align: left; }
  .spb-num { font-size: 22px; }
}

/* =========================================================
   CONSUMER PAGE — Beyond section: footnote for batteries
   ========================================================= */
.beyond-footnote {
  margin: 18px 0 0;
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--ow-text-secondary);
}
