@font-face {
  font-family: "Satoshi";
  src: url("assets/fonts/Satoshi-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("assets/fonts/Satoshi-VariableItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #060708;
  --bg-soft: #060708;
  --surface: #0d0f12;
  --surface-raised: #121419;
  --surface-hover: #15181d;
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.055);
  --text: #f6f7f9;
  --muted: #8d929d;
  --quiet: #5e646e;
  --blue: #158bff;
  --blue-bright: #48a8ff;
  --blue-soft: rgba(21, 139, 255, 0.14);
  --cyan: #42d9ff;
  --green: #34d58c;
  --orange: #ff9d4f;
  --violet: #a27bff;
  --max: 1120px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Responsive rhythm.
     The whole site uses three breakpoints and nothing else:
       1040px  compact desktop / landscape tablet
        860px  tablet — the mobile navigation takes over here
        640px  phone
     Layouts read these tokens instead of hard-coding a gutter or a section gap,
     so mobile spacing stays consistent across styles.css, pages.css,
     platform.css, subpages.css, footer.css and legal-doc.css. */
  --gutter: 24px;
  --header-h: 74px;
  --space-section: 105px;
  --space-block: 56px;
  --space-item: 22px;
}

@media (max-width: 860px) {
  :root {
    --gutter: 20px;
    --header-h: 64px;
    --space-section: 88px;
    --space-block: 44px;
    --space-item: 18px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 18px;
    --space-section: 72px;
    --space-block: 32px;
    --space-item: 16px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

html.inertial-scroll {
  scroll-behavior: auto;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(24, 134, 255, 0.045), transparent 31rem),
    var(--bg);
  font-family: "Satoshi", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: white;
  background: rgba(21, 139, 255, 0.72);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  padding: 0 var(--gutter);
  transition: background 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(5, 6, 7, 0.74);
  border-color: rgba(255, 255, 255, 0.065);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px) saturate(130%);
}

.site-header::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 360px;
  height: 1px;
  content: "";
  pointer-events: none;
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(-50%);
  transition: width 620ms var(--ease), background-color 620ms ease;
}

.site-header.is-scrolled::after {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
}

.nav-shell {
  display: grid;
  width: min(100%, var(--max));
  height: var(--header-h);
  margin: 0 auto;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
}

.brand {
  display: inline-flex;
  width: 145px;
  align-items: center;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 35px;
  color: #d6d8dc;
  font-size: 13px;
  font-weight: 650;
}

.desktop-nav a,
.login-link {
  position: relative;
  transition: color 200ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  background: #fff;
  transition: transform 280ms var(--ease);
}

.desktop-nav a:hover,
.login-link:hover {
  color: white;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.desktop-nav a[aria-current="page"] {
  color: #fff;
}

.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 23px;
}

.login-link {
  color: #c4c7cc;
  font-size: 13px;
  font-weight: 650;
}

.login-link span {
  margin-left: 5px;
  color: var(--quiet);
}

.button {
  display: inline-flex;
  min-height: 45px;
  padding: 0 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 720;
  line-height: 1;
  transition: transform 220ms var(--ease), border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
}

.button--outline {
  color: #eef0f2;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.035);
}

.button--outline:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.055);
}

.button--primary {
  color: white;
  border-color: rgba(140, 185, 230, 0.22);
  background: linear-gradient(180deg, #2a6bad 0%, #133f70 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 1px 3px rgba(0, 0, 0, 0.3);
}

.button--primary:hover {
  border-color: rgba(150, 195, 235, 0.3);
  background: linear-gradient(180deg, #316faf 0%, #164a80 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 2px 6px rgba(0, 0, 0, 0.34);
}

.button--ghost {
  color: #d4d7dc;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.button--ghost:hover {
  color: white;
  border-color: rgba(255, 255, 255, 0.18);
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 1280px;
  padding: 142px var(--gutter) 0;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(ellipse 62% 44% at 50% 38%, rgba(124, 160, 199, 0.11), transparent 74%),
    linear-gradient(180deg, #18202f 0%, #0e131d 52%, var(--bg) 100%);
}

.hero::before {
  position: absolute;
  z-index: -3;
  top: -280px;
  left: 50%;
  width: 1150px;
  height: 1000px;
  content: "";
  transform: translateX(-50%);
  opacity: 0.32;
  background: radial-gradient(ellipse, rgba(112, 148, 185, 0.1), transparent 70%);
  filter: blur(46px);
}

.hero::after {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 520px;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(6, 7, 8, 0) 0%,
    rgba(6, 7, 8, 0.22) 28%,
    rgba(6, 7, 8, 0.72) 68%,
    var(--bg) 94%,
    var(--bg) 100%
  );
}

.particle-field {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 2%, black 15%, black 74%, transparent 97%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(100%, 840px);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  min-height: 25px;
  padding: 0 10px;
  align-items: center;
  color: #9299a4;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.055em;
}

.hero h1 {
  max-width: 850px;
  margin: 30px auto 20px;
  color: var(--muted);
  font-size: clamp(46px, 4.8vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

.hero-highlight {
  background: linear-gradient(180deg, #ffffff 0%, #d5d9e0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 650px;
  margin: 0 auto;
  color: #858b95;
  font-size: 16px;
  line-height: 1.52;
  text-wrap: balance;
}

.hero-cta {
  display: flex;
  margin-top: 37px;
  justify-content: center;
  align-items: center;
  gap: 22px;
}

.hero-cta .button {
  min-height: 48px;
  padding: 0 23px;
}

.cta-note {
  display: flex;
  min-height: 40px;
  padding-left: 19px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  color: #626873;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
  font-size: 13px;
  line-height: 1.38;
}

.cta-note strong {
  color: #979ca5;
  font-weight: 520;
}

.dashboard-stage {
  position: absolute;
  z-index: 5;
  top: 500px;
  right: 0;
  left: 0;
  width: min(calc(100% - 56px), var(--max));
  margin: 0 auto;
}

.dashboard-glow {
  display: none;
}

.dashboard {
  --tilt: 13deg;
  --dash-scale: 1;
  position: relative;
  display: grid;
  width: 100%;
  min-height: 676px;
  overflow: hidden;
  transform: perspective(3200px) rotateX(var(--tilt)) scale(var(--dash-scale));
  transform-origin: center top;
  border: 1px solid rgba(255, 255, 255, 0.115);
  border-radius: 19px;
  background: #090a0c;
  box-shadow:
    0 110px 220px rgba(0, 0, 0, 0.46),
    0 24px 58px rgba(0, 0, 0, 0.56),
    0 0 0 1px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  grid-template-columns: 187px 1fr;
  grid-template-rows: 36px 1fr;
  font-family: "Segoe UI Variable Text", "Segoe UI", Inter, Arial, sans-serif;
  -webkit-font-smoothing: auto;
  text-rendering: auto;
  font-synthesis: none;
  will-change: transform;
}

.dashboard-browser-bar {
  display: grid;
  min-width: 0;
  height: 36px;
  padding: 0 13px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.018)),
    #0b0d10;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  grid-column: 1 / -1;
  grid-template-columns: 1fr auto 1fr;
}

.browser-traffic {
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-dot {
  display: block;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.35);
}

.browser-dot--close {
  background: #ff5f57;
}

.browser-dot--minimize {
  background: #febc2e;
}

.browser-dot--maximize {
  background: #28c840;
}

.browser-address {
  display: flex;
  width: 240px;
  height: 21px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #777f89;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.18);
  font-size: 7px;
  font-weight: 560;
  letter-spacing: 0.015em;
}

.browser-address svg {
  width: 9px;
  height: 9px;
  fill: none;
  stroke: #69717b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.browser-toolbar {
  display: flex;
  justify-self: end;
  gap: 5px;
}

.browser-toolbar i {
  display: block;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.018);
}

.dashboard.is-settled {
  transform: none;
  will-change: auto;
}

.dashboard .chart-line,
.dashboard .now-dot,
.dashboard .health-ring-progress,
.dashboard .live-series--production,
.dashboard .portal-chart-line {
  filter: none !important;
}

.dashboard .chart-tooltip {
  backdrop-filter: none;
}

.dashboard::after {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  opacity: 0.6;
  background: linear-gradient(90deg, transparent, rgba(94, 182, 255, 0.5), transparent);
}

.dashboard-sidebar {
  display: flex;
  min-width: 0;
  padding: 24px 15px 17px;
  flex-direction: column;
  border-right: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.035), transparent 30%),
    linear-gradient(180deg, #101216, #0b0d10);
}

.dashboard-brand {
  width: 106px;
  margin: 0 8px 26px;
}

.dashboard-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.dashboard-site {
  display: grid;
  min-height: 54px;
  margin-bottom: 22px;
  padding: 9px 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  grid-template-columns: auto 1fr auto;
  gap: 8px;
}

.site-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(52, 213, 140, 0.65);
}

.dashboard-site strong,
.dashboard-site small {
  display: block;
}

.dashboard-site strong {
  color: #dfe2e6;
  font-size: 10px;
  line-height: 1.3;
}

.dashboard-site small {
  margin-top: 1px;
  color: #686e78;
  font-size: 8px;
}

.chevron {
  color: #676d76;
  font-size: 11px;
}

.dashboard-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dashboard-sidebar nav button {
  display: flex;
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  align-items: center;
  gap: 10px;
  color: #757b85;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font-family: inherit;
  font-size: 10px;
  font-weight: 610;
  text-align: left;
  appearance: none;
  cursor: pointer;
  user-select: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.dashboard-sidebar nav button:hover {
  color: #d7d9dd;
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-sidebar nav button:focus-visible {
  color: #eef6ff;
  outline: none;
  border-color: rgba(45, 153, 255, 0.3);
  box-shadow: 0 0 0 2px rgba(29, 145, 255, 0.1);
}

.dashboard-sidebar nav button.active {
  color: #eef6ff;
  border-color: rgba(36, 146, 255, 0.13);
  background: linear-gradient(90deg, rgba(23, 137, 247, 0.17), rgba(23, 137, 247, 0.055));
  box-shadow: inset 2px 0 0 #1d91ff;
}

.dashboard-sidebar nav button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.dashboard-help {
  display: flex;
  margin-top: auto;
  padding: 11px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.018);
}

.dashboard-help > span {
  display: grid;
  width: 23px;
  height: 23px;
  color: #aeb3bb;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 10px;
  place-items: center;
}

.dashboard-help strong,
.dashboard-help small {
  display: block;
}

.dashboard-help strong {
  color: #b4b9c0;
  font-size: 8px;
}

.dashboard-help small {
  color: #5e646d;
  font-size: 7px;
}

.dashboard-main {
  min-width: 0;
  padding: 23px 23px 20px;
  scroll-margin-top: 122px;
  background:
    radial-gradient(circle at 62% 12%, rgba(22, 102, 180, 0.045), transparent 31%),
    #090a0c;
}

.dashboard-topbar {
  display: flex;
  margin-bottom: 20px;
  justify-content: space-between;
  align-items: center;
}

.dash-overline {
  display: block;
  margin-bottom: 4px;
  color: #59606a;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.dashboard-topbar h2 {
  margin: 0;
  color: #e7e9ec;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.dashboard-controls {
  display: flex;
  align-items: center;
  gap: 9px;
}

.live-pill {
  display: inline-flex;
  height: 28px;
  padding: 0 10px;
  align-items: center;
  gap: 6px;
  color: #78d5aa;
  border: 1px solid rgba(52, 213, 140, 0.15);
  border-radius: 999px;
  background: rgba(52, 213, 140, 0.06);
  font-size: 8px;
  font-weight: 650;
}

.live-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52, 213, 140, 0.7);
  animation: livePulse 2s ease-in-out infinite;
}

.dashboard-controls button {
  display: grid;
  width: 29px;
  height: 29px;
  padding: 0;
  color: #737983;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
  place-items: center;
}

.dashboard-controls button svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.dashboard-avatar {
  display: grid;
  width: 29px;
  height: 29px;
  color: #e5e8ec;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: linear-gradient(145deg, #34404c, #11151a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 8px;
  font-weight: 760;
  place-items: center;
}

.dashboard-kpis {
  display: grid;
  margin-bottom: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-kpis article,
.chart-card,
.health-card {
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.027), rgba(255, 255, 255, 0.017));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.012);
}

.dashboard-kpis article {
  min-height: 104px;
  padding: 14px 15px 12px;
  border-radius: 14px;
}

.kpi-head {
  display: flex;
  margin-bottom: 8px;
  align-items: center;
  justify-content: space-between;
  color: #717781;
  font-size: 9px;
}

.kpi-head svg {
  width: 13px;
  fill: none;
  stroke: #4f5760;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.dashboard-kpis strong {
  display: block;
  color: #eceef0;
  font-size: 23px;
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.dashboard-kpis strong small {
  color: #8a909a;
  font-size: 11px;
  font-weight: 560;
}

.dashboard-kpis p {
  display: flex;
  margin: 9px 0 0;
  align-items: center;
  gap: 6px;
  color: #777e87;
  font-size: 8px;
}

.dashboard-kpis p span {
  display: inline-flex;
  padding: 2px 5px;
  color: #50d79a;
  border: 1px solid rgba(52, 213, 140, 0.14);
  border-radius: 4px;
  background: rgba(52, 213, 140, 0.07);
  font-weight: 700;
}

.status-check {
  display: grid;
  width: 14px;
  height: 14px;
  color: var(--green);
  border: 1px solid rgba(52, 213, 140, 0.15);
  border-radius: 50%;
  background: rgba(52, 213, 140, 0.05);
  font-size: 7px;
  font-style: normal;
  place-items: center;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(190px, 0.86fr);
  gap: 10px;
}

.chart-card,
.health-card {
  min-height: 340px;
  padding: 15px;
  border-radius: 14px;
}

.card-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-heading h3 {
  margin: 0 0 2px;
  color: #dfe2e6;
  font-size: 10px;
  font-weight: 680;
}

.card-heading p {
  margin: 0;
  color: #626872;
  font-size: 8px;
}

.chart-legend {
  display: flex;
  padding-top: 2px;
  gap: 12px;
  color: #777d86;
  font-size: 7px;
}

.chart-legend span {
  position: relative;
  padding-left: 9px;
}

.chart-legend span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--blue-bright);
}

.chart-legend .consumption::before {
  background: #818b99;
}

.chart-wrap {
  position: relative;
  height: 267px;
  margin-top: 16px;
  padding: 0 4px 20px 34px;
}

.y-axis {
  position: absolute;
  top: 0;
  bottom: 21px;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #606873;
  font-size: 7px;
}

.energy-chart {
  width: 100%;
  height: 100%;
  overflow: visible;
  shape-rendering: geometricPrecision;
}

.chart-wrap.is-interactive .energy-chart {
  cursor: crosshair;
  touch-action: pan-y;
}

.chart-wrap.is-interactive .energy-chart:focus,
.chart-wrap.is-interactive .energy-chart:focus-visible {
  outline: none;
}

.grid-lines path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.055);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.chart-area {
  fill: url(#chartFill);
}

.chart-line {
  fill: none;
  stroke: #65b8ff;
  stroke-linecap: round;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.consumption-line {
  fill: none;
  stroke: #777f8b;
  stroke-dasharray: 5 5;
  stroke-linecap: round;
  stroke-width: 1.45;
  vector-effect: non-scaling-stroke;
}

.now-line {
  stroke: rgba(83, 177, 255, 0.28);
  stroke-dasharray: 3 4;
  vector-effect: non-scaling-stroke;
}

.now-dot {
  fill: #e8f5ff;
  stroke: #158bff;
  stroke-width: 4;
  filter: url(#lineGlow);
  vector-effect: non-scaling-stroke;
}

.x-axis {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 34px;
  display: flex;
  justify-content: space-between;
  color: #606873;
  font-size: 7px;
}

.chart-tooltip {
  position: absolute;
  z-index: 4;
  top: 35px;
  left: 55%;
  display: flex;
  width: 105px;
  padding: 8px 9px;
  flex-direction: column;
  border: 1px solid rgba(100, 183, 255, 0.17);
  border-radius: 7px;
  background: rgba(9, 12, 16, 0.91);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  pointer-events: none;
  will-change: top, left;
  transition:
    top 90ms linear,
    left 90ms linear,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.chart-tooltip span,
.chart-tooltip strong,
.chart-tooltip small {
  display: block;
}

.chart-tooltip span {
  color: #6d7681;
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 0.055em;
}

.chart-tooltip strong {
  margin: 3px 0 2px;
  color: #e9edf2;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}

.chart-tooltip small {
  color: #77818d;
  font-size: 7px;
  line-height: 1.3;
}

.chart-wrap.is-inspecting .chart-tooltip {
  border-color: rgba(100, 183, 255, 0.32);
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.44), 0 0 20px rgba(22, 140, 255, 0.08);
}

.dashboard-summary {
  display: grid;
  margin-top: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-summary article {
  min-width: 0;
  min-height: 78px;
  padding: 11px 13px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.016));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.012);
}

.summary-head,
.summary-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-head {
  color: #6f7680;
  font-size: 8px;
}

.summary-head i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 8px rgba(21, 139, 255, 0.45);
}

.summary-head i.ok {
  background: var(--green);
  box-shadow: 0 0 8px rgba(52, 213, 140, 0.42);
}

.dashboard-summary strong {
  display: flex;
  margin-top: 5px;
  align-items: baseline;
  gap: 4px;
  color: #e5e8ec;
  font-size: 17px;
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.dashboard-summary strong small {
  color: #777e88;
  font-size: 8px;
  font-weight: 560;
  letter-spacing: 0;
}

.summary-foot {
  margin-top: 7px;
  color: #626973;
  font-size: 7px;
}

.summary-positive {
  color: #4fd498;
  font-weight: 700;
}

.summary-bar {
  width: 70px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.summary-bar i {
  display: block;
  width: 84%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #158bff, #63bcff);
  box-shadow: 0 0 8px rgba(21, 139, 255, 0.32);
}

.dashboard-pages {
  position: relative;
  min-height: 527px;
  transition: opacity 240ms cubic-bezier(.22, 1, .36, 1), filter 240ms cubic-bezier(.22, 1, .36, 1),
    transform 240ms cubic-bezier(.22, 1, .36, 1);
}

.dashboard-pages.is-switching {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(5px);
}

.dashboard-page[hidden] {
  display: none !important;
}

.portal-metrics,
.portal-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.portal-metrics {
  margin-bottom: 10px;
}

.portal-metric,
.portal-panel,
.portal-bottom-grid article {
  border: 1px solid rgba(255, 255, 255, 0.115);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.027), rgba(255, 255, 255, 0.017));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.012);
}

.portal-metric {
  min-width: 0;
  min-height: 104px;
  padding: 14px 15px 12px;
  border-radius: 14px;
}

.portal-metric > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9aa3ae;
  font-size: 10px;
}

.portal-metric > strong {
  display: block;
  margin-top: 8px;
  color: #eceef1;
  font-size: 25px;
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.portal-metric > strong small {
  color: #959ca6;
  font-size: 12px;
  font-weight: 560;
}

.portal-metric > p {
  margin: 9px 0 0;
  color: #969fa9;
  font-size: 9px;
}

.metric-signal,
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2196ff;
  box-shadow: 0 0 8px rgba(33, 150, 255, 0.38);
}

.metric-signal--green,
.status-dot--ok {
  background: #34d58c;
  box-shadow: 0 0 8px rgba(52, 213, 140, 0.42);
}

.metric-signal--amber,
.status-dot--warn {
  background: #ff9f43;
  box-shadow: 0 0 8px rgba(255, 159, 67, 0.38);
}

.metric-positive {
  color: #50d79a !important;
  font-weight: 700;
}

.portal-page-grid {
  display: grid;
  margin-bottom: 10px;
  grid-template-columns: minmax(0, 2.25fr) minmax(190px, 0.86fr);
  gap: 10px;
}

.portal-panel {
  min-width: 0;
  min-height: 340px;
  padding: 15px;
  overflow: hidden;
  border-radius: 14px;
}

.page-live,
.page-filter {
  display: inline-flex;
  height: 25px;
  padding: 0 9px;
  align-items: center;
  gap: 6px;
  color: #818a96;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.018);
  font-size: 8px;
  font-style: normal;
  font-weight: 600;
}

.page-live {
  color: #67d6a5;
  border-color: rgba(52, 213, 140, 0.14);
  background: rgba(52, 213, 140, 0.05);
}

.page-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34d58c;
  box-shadow: 0 0 7px rgba(52, 213, 140, 0.55);
  animation: livePulse 1.5s ease-in-out infinite;
}

.live-chart-tools,
.live-telemetry-legend {
  display: flex;
  align-items: center;
}

.live-chart-tools {
  gap: 13px;
}

.live-telemetry-legend {
  gap: 10px;
  color: #7f8792;
  font-size: 7px;
}

.live-telemetry-legend span {
  position: relative;
  padding-left: 8px;
  white-space: nowrap;
}

.live-telemetry-legend span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 2px;
  content: "";
  transform: translateY(-50%);
  border-radius: 999px;
  background: #a99cf0;
}

.live-telemetry-legend .is-export::before {
  background: #59df9a;
}

.live-telemetry-legend .is-consumption::before {
  background: #ffbd4a;
}

.portal-live-chart {
  position: relative;
  height: 267px;
  margin-top: 16px;
  padding: 0 6px 20px 40px;
}

.portal-live-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.portal-chart-scale {
  position: absolute;
  top: 0;
  bottom: 21px;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #747d88;
  font-size: 8px;
}

.portal-grid-lines path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.055);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.portal-chart-line {
  fill: none;
  stroke: #65b8ff;
  stroke-linecap: round;
  stroke-width: 2;
  filter: url(#lineGlow);
  vector-effect: non-scaling-stroke;
}

.live-series {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  vector-effect: non-scaling-stroke;
}

.live-series--production {
  stroke: #a99cf0;
  filter: drop-shadow(0 0 2px rgba(169, 156, 240, 0.22));
}

.live-series--export {
  stroke: #59df9a;
  stroke-dasharray: 3.5 3;
}

.live-series--consumption {
  stroke: #ffbd4a;
  stroke-dasharray: 6 4;
}

.live-cursor {
  stroke: rgba(199, 207, 217, 0.46);
  stroke-dasharray: 3 4;
  vector-effect: non-scaling-stroke;
}

.live-series-dot {
  fill: #0b0d10;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  animation: liveDot 1.6s ease-in-out infinite;
}

.live-series-dot--production {
  stroke: #a99cf0;
}

.live-series-dot--export {
  stroke: #59df9a;
}

.live-series-dot--consumption {
  stroke: #ffbd4a;
}

.live-readout {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 51px;
  display: flex;
  width: 252px;
  padding: 9px 10px;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 7px;
  background: rgba(12, 15, 17, 0.94);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.36);
}

.live-readout span,
.live-readout small {
  color: #77818d;
  font-size: 8px;
}

.live-readout strong {
  margin: 3px 0 2px;
  color: #edf1f5;
  font-size: 12px;
}

.portal-x-axis {
  position: absolute;
  right: 6px;
  bottom: 0;
  left: 40px;
  display: flex;
  justify-content: space-between;
  color: #747d88;
  font-size: 8px;
}

.power-flow {
  display: flex;
  height: 270px;
  padding: 14px 5px 2px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.flow-node {
  display: grid;
  width: 100%;
  min-height: 58px;
  padding: 9px 11px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
  grid-template-columns: 32px 1fr auto;
}

.flow-node i {
  display: grid;
  width: 25px;
  height: 25px;
  color: #8e97a3;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
  font-style: normal;
  place-items: center;
}

.flow-node--source i {
  color: #68baff;
  border-color: rgba(33, 150, 255, 0.18);
  background: rgba(33, 150, 255, 0.07);
}

.flow-node span {
  color: #838b96;
  font-size: 9px;
}

.flow-node strong {
  color: #e4e7eb;
  font-size: 10px;
}

.flow-connector {
  position: relative;
  width: 1px;
  height: 19px;
  overflow: hidden;
  background: rgba(33, 150, 255, 0.16);
}

.flow-connector span {
  position: absolute;
  top: -8px;
  left: 0;
  width: 1px;
  height: 8px;
  background: #2196ff;
  box-shadow: 0 0 5px #2196ff;
  animation: flowDown 1.5s linear infinite;
}

.portal-bottom-grid article {
  display: grid;
  min-width: 0;
  min-height: 78px;
  padding: 11px 13px;
  border-radius: 10px;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
}

.portal-bottom-grid article > span {
  color: #969fa9;
  font-size: 9px;
}

.portal-bottom-grid article > strong {
  color: #e9ebee;
  font-size: 19px;
  font-weight: 680;
  letter-spacing: -0.025em;
  grid-column: 1;
}

.portal-bottom-grid article > em {
  align-self: end;
  color: #8c95a0;
  font-size: 8px;
  font-style: normal;
  grid-column: 2;
  grid-row: 2;
}

.portal-status--ok {
  color: #50d79a !important;
}

.portal-status--warn {
  color: #ffb267 !important;
}

.forecast-bars {
  display: flex;
  height: 270px;
  padding: 24px 10px 2px;
  align-items: end;
  justify-content: space-between;
  gap: 13px;
  background: repeating-linear-gradient(to bottom, transparent 0 53px, rgba(255, 255, 255, 0.052) 53px 54px);
}

.forecast-bars > div {
  display: grid;
  height: 100%;
  flex: 1;
  align-items: end;
  justify-items: center;
  grid-template-rows: 1fr auto auto;
  gap: 5px;
}

.forecast-bars > div > span {
  position: relative;
  display: flex;
  width: min(42px, 72%);
  height: 100%;
  align-items: end;
  overflow: hidden;
  border-radius: 5px 5px 2px 2px;
  background: rgba(255, 255, 255, 0.025);
}

.forecast-bars > div > span i {
  width: 100%;
  height: var(--bar);
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(55, 164, 255, 0.9), rgba(22, 140, 255, 0.28));
  box-shadow: 0 -5px 16px rgba(22, 140, 255, 0.12);
}

.forecast-bars .is-current > span {
  outline: 1px solid rgba(84, 183, 255, 0.24);
  outline-offset: 3px;
}

.forecast-bars strong {
  color: #aab1ba;
  font-size: 9px;
}

.forecast-bars small {
  color: #737b86;
  font-size: 8px;
}

.weather-list,
.diagnostic-list,
.period-list {
  margin-top: 17px;
}

.weather-list > div,
.diagnostic-list > div,
.period-list > div {
  display: flex;
  min-height: 59px;
  padding: 0 4px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.weather-list > div:last-child,
.diagnostic-list > div:last-child,
.period-list > div:last-child {
  border-bottom: 0;
}

.weather-list > div > i {
  display: grid;
  width: 29px;
  height: 29px;
  color: #7dbfff;
  border: 1px solid rgba(33, 150, 255, 0.13);
  border-radius: 8px;
  background: rgba(33, 150, 255, 0.045);
  font-size: 13px;
  font-style: normal;
  place-items: center;
}

.weather-list span,
.period-list span {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.weather-list span strong,
.period-list span {
  color: #b8bec6;
  font-size: 9px;
}

.weather-list span small,
.period-list span small {
  margin-top: 3px;
  color: #69727d;
  font-size: 8px;
}

.weather-list > div > b,
.period-list > div > strong {
  color: #dce0e5;
  font-size: 11px;
}

.asset-table {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.asset-row {
  display: grid;
  min-height: 52px;
  padding: 0 12px;
  align-items: center;
  color: #838b96;
  border-bottom: 1px solid rgba(255, 255, 255, 0.052);
  font-size: 9px;
  grid-template-columns: 1.55fr 0.85fr 0.65fr 0.65fr;
}

.asset-row:last-child {
  border-bottom: 0;
}

.asset-row--head {
  min-height: 38px;
  color: #626b76;
  background: rgba(255, 255, 255, 0.015);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.asset-row > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.asset-icon {
  display: grid;
  width: 23px;
  height: 23px;
  color: #7cbcff;
  border: 1px solid rgba(33, 150, 255, 0.13);
  border-radius: 6px;
  background: rgba(33, 150, 255, 0.045);
  font-size: 8px;
  font-style: normal;
  place-items: center;
}

.diagnostic-list > div {
  justify-content: space-between;
}

.diagnostic-list span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #858d98;
  font-size: 9px;
}

.diagnostic-list strong {
  color: #bac0c7;
  font-size: 9px;
}

.diagnostic-score {
  margin-top: 12px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
}

.diagnostic-score span {
  color: #737c87;
  font-size: 8px;
}

.diagnostic-score strong {
  float: right;
  color: #e7eaee;
  font-size: 13px;
}

.diagnostic-score > i {
  display: block;
  height: 4px;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.diagnostic-score > i b {
  display: block;
  width: 98%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #168cff, #58b7ff);
}

.history-bars {
  display: flex;
  height: 256px;
  padding: 25px 6px 2px;
  align-items: end;
  justify-content: space-between;
  gap: 9px;
  background: repeating-linear-gradient(to bottom, transparent 0 50px, rgba(255, 255, 255, 0.052) 50px 51px);
}

.history-bars > div {
  display: grid;
  height: 100%;
  flex: 1;
  grid-template-rows: 1fr auto;
  gap: 7px;
}

.history-bars > div > span {
  position: relative;
  display: flex;
  height: 100%;
  align-items: end;
  justify-content: center;
}

.history-bars > div > span i,
.history-bars > div > span b {
  position: absolute;
  bottom: 0;
  border-radius: 3px 3px 1px 1px;
}

.history-bars > div > span i {
  left: 18%;
  width: 48%;
  height: var(--actual);
  background: linear-gradient(180deg, rgba(55, 164, 255, 0.92), rgba(22, 140, 255, 0.26));
}

.history-bars > div > span b {
  right: 12%;
  width: 20%;
  height: var(--target);
  background: rgba(255, 255, 255, 0.16);
}

.history-bars > div.is-current > span i {
  box-shadow: 0 0 14px rgba(33, 150, 255, 0.2);
}

.history-bars small {
  color: #737b86;
  font-size: 8px;
  text-align: center;
}

.history-legend {
  display: flex;
  margin-top: 10px;
  justify-content: flex-end;
  gap: 15px;
  color: #737c87;
  font-size: 8px;
}

.history-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.history-legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #2196ff;
}

.history-legend span:last-child i {
  background: rgba(255, 255, 255, 0.22);
}

.period-list > div {
  min-height: 63px;
  justify-content: space-between;
}

@keyframes liveDot {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.38)); }
}

@keyframes flowDown {
  from { transform: translateY(0); }
  to { transform: translateY(27px); }
}

.dashboard [data-dashboard-counter] {
  color: inherit;
  font: inherit;
  font-variant-numeric: tabular-nums;
  font-weight: inherit;
}

.browser-address {
  color: #89919c;
  font-size: 8px;
}

.dashboard-brand {
  width: 112px;
}

.dashboard-site strong {
  color: #e1e4e8;
  font-size: 11px;
}

.dashboard-site small {
  color: #7b838e;
  font-size: 9px;
}

.dashboard-sidebar nav button {
  min-height: 40px;
  color: #858d98;
  font-size: 11px;
}

.dashboard-sidebar nav button svg {
  width: 16px;
  height: 16px;
}

.dashboard-help strong {
  color: #c0c5cc;
  font-size: 9px;
}

.dashboard-help small {
  color: #747c87;
  font-size: 8px;
}

.dash-overline {
  color: #727b87;
  font-size: 9px;
}

.dashboard-topbar h2 {
  color: #e9ebee;
  font-size: 20px;
}

.live-pill,
.dashboard-avatar {
  font-size: 9px;
}

.dashboard-kpis article,
.chart-card,
.health-card,
.dashboard-summary article {
  border-color: rgba(255, 255, 255, 0.115);
}

.kpi-head {
  color: #9aa3ae;
  font-size: 10px;
}

.dashboard-kpis strong {
  color: #eceef1;
  font-size: 25px;
}

.dashboard-kpis strong small {
  color: #959ca6;
  font-size: 12px;
}

.dashboard-kpis p {
  color: #969fa9;
  font-size: 9px;
}

.status-check {
  font-size: 8px;
}

.card-heading h3 {
  color: #e2e5e8;
  font-size: 12px;
}

.card-heading p {
  color: #929ba6;
  font-size: 9px;
}

.chart-legend {
  color: #89919c;
  font-size: 8px;
}

.y-axis,
.x-axis {
  color: #89939f;
  font-size: 8px;
}

.chart-tooltip {
  width: 116px;
  padding: 9px 10px;
}

.chart-tooltip span,
.chart-tooltip small {
  font-size: 8px;
}

.chart-tooltip strong {
  font-size: 13px;
}

.health-ring {
  position: relative;
  display: grid;
  width: 130px;
  height: 130px;
  margin: 17px auto 13px;
  overflow: visible;
  align-items: center;
  justify-items: center;
  isolation: isolate;
  border-radius: 50%;
  background: radial-gradient(circle, #0e1013 0 70%, transparent 71%);
  box-shadow: 0 0 36px rgba(21, 139, 255, 0.1);
}

.health-ring::before {
  display: none;
}

.health-ring > svg {
  position: static;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
  transform-origin: center;
  grid-area: 1 / 1;
  shape-rendering: geometricPrecision;
}

.health-ring-track,
.health-ring-progress {
  fill: none;
  stroke-width: 8;
  vector-effect: non-scaling-stroke;
}

.health-ring-track {
  stroke: rgba(255, 255, 255, 0.065);
}

.health-ring-progress {
  stroke: #2196ff;
  stroke-linecap: round;
  stroke-dasharray: 98 100;
  stroke-dashoffset: 98;
  filter: drop-shadow(0 0 4px rgba(33, 150, 255, 0.34));
}

.health-ring > div {
  position: static;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  grid-area: 1 / 1;
  pointer-events: none;
}

.health-ring > div strong {
  display: block;
  color: #eef0f3;
  font-size: 29px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.health-ring > div > span {
  display: block;
  margin-top: 6px;
  color: #8d96a1;
  font-size: 9px;
  line-height: 1;
  white-space: nowrap;
}

.health-card li {
  min-height: 33px;
  color: #969fa9;
  font-size: 9px;
}

.health-card li strong {
  color: #bac0c7;
  font-size: 9px;
}

.summary-head {
  color: #969fa9;
  font-size: 9px;
}

.dashboard-summary strong {
  color: #e9ebee;
  font-size: 19px;
}

.dashboard-summary strong small {
  color: #89919b;
  font-size: 9px;
}

.summary-foot {
  color: #747c87;
  font-size: 8px;
}

/* Dashboard legibility pass: keep the mockup size, make microcopy survive perspective. */
.browser-address {
  color: #969eaa;
  font-size: 9px;
  font-weight: 600;
}

.dashboard-site strong {
  font-size: 12px;
  line-height: 1.25;
}

.dashboard-site small {
  color: #8a929d;
  font-size: 10px;
  line-height: 1.3;
}

.dashboard-sidebar nav button {
  min-height: 42px;
  font-size: 12px;
  line-height: 1.2;
}

.dashboard-help strong {
  font-size: 10px;
  line-height: 1.25;
}

.dashboard-help small {
  color: #838b96;
  font-size: 9px;
  line-height: 1.25;
}

.dash-overline {
  color: #818a96;
  font-size: 10px;
}

.live-pill,
.dashboard-avatar {
  font-size: 10px;
}

.kpi-head,
.portal-metric > div {
  color: #a3abb5;
  font-size: 11px;
  line-height: 1.3;
}

.dashboard-kpis strong,
.portal-metric > strong {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}

.dashboard-kpis strong small,
.portal-metric > strong small {
  margin-left: 0;
  font-size: 13px;
  line-height: 1;
}

.dashboard-kpis p {
  min-height: 18px;
  align-items: center;
  color: #a0a8b2;
  font-size: 10px;
  line-height: 1.25;
}

.dashboard-kpis p span {
  flex: none;
  line-height: 1.15;
}

.status-check {
  flex: none;
  font-size: 9px;
}

.card-heading h3 {
  font-size: 13px;
  line-height: 1.25;
}

.card-heading p {
  color: #9aa3ae;
  font-size: 10px;
  line-height: 1.35;
}

.chart-legend,
.live-telemetry-legend {
  color: #929ba6;
  font-size: 9px;
  line-height: 1.3;
}

.y-axis,
.x-axis,
.portal-chart-scale,
.portal-x-axis {
  color: #89939f;
  font-size: 9px;
  font-weight: 520;
}

.chart-tooltip span,
.chart-tooltip small,
.live-readout span,
.live-readout small {
  font-size: 9px;
  line-height: 1.35;
}

.chart-tooltip strong,
.live-readout strong {
  font-size: 14px;
}

.health-ring > div > span {
  color: #9aa3ae;
  font-size: 10px;
}

.health-card ul {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.health-card li {
  display: grid;
  min-height: 36px;
  padding: 0 2px;
  align-items: center;
  color: #a1a9b3;
  border-bottom: 1px solid rgba(255, 255, 255, 0.052);
  font-size: 10px;
  line-height: 1.25;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
}

.health-card li:last-child {
  border-bottom: 0;
}

.health-card li > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.health-card li i {
  display: block;
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
}

.health-card li i.ok {
  background: #34d58c;
  box-shadow: 0 0 7px rgba(52, 213, 140, 0.42);
}

.health-card li i.watch {
  background: #ff9f43;
  box-shadow: 0 0 7px rgba(255, 159, 67, 0.34);
}

.health-card li strong {
  justify-self: end;
  color: #c7ccd2;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  white-space: nowrap;
}

.summary-head,
.portal-bottom-grid article > span {
  color: #a0a8b2;
  font-size: 10px;
  line-height: 1.25;
}

.summary-head,
.summary-foot {
  gap: 12px;
}

.dashboard-summary strong small {
  font-size: 10px;
}

.summary-foot,
.portal-bottom-grid article > em {
  color: #858e99;
  font-size: 9px;
  line-height: 1.25;
}

.summary-foot > :last-child {
  margin-left: auto;
  text-align: right;
}

.portal-metric > p {
  color: #a0a8b2;
  font-size: 10px;
  line-height: 1.3;
}

.page-live,
.page-filter {
  font-size: 9px;
}

.flow-node span {
  color: #969fa9;
  font-size: 10px;
}

.flow-node strong {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.portal-bottom-grid article > strong {
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.forecast-bars strong {
  color: #b6bcc4;
  font-size: 10px;
}

.forecast-bars small {
  color: #858e99;
  font-size: 9px;
}

.weather-list > div,
.diagnostic-list > div,
.period-list > div {
  gap: 12px;
}

.weather-list span strong,
.period-list span {
  color: #c2c7ce;
  font-size: 10px;
  line-height: 1.25;
}

.weather-list span small,
.period-list span small {
  color: #858e99;
  font-size: 9px;
  line-height: 1.25;
}

.weather-list > div > b,
.period-list > div > strong {
  min-width: 31px;
  margin-left: auto;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.asset-row {
  color: #959eaa;
  font-size: 10px;
  line-height: 1.25;
}

.asset-row--head {
  color: #7f8995;
  font-size: 9px;
}

.asset-icon {
  font-size: 9px;
}

.diagnostic-list span,
.diagnostic-list strong {
  font-size: 10px;
  line-height: 1.25;
}

.diagnostic-list strong {
  margin-left: auto;
  white-space: nowrap;
}

.diagnostic-score span {
  color: #858e99;
  font-size: 9px;
}

.diagnostic-score strong {
  font-size: 14px;
}

.history-bars small,
.history-legend {
  color: #858e99;
  font-size: 9px;
}

.period-list > div {
  padding-right: 2px;
}

/* Reference-led simplicity: a compact, neutral product preview with fewer layers. */
body {
  background: var(--bg);
}

.particle-field {
  mask-image: linear-gradient(to bottom, transparent 0%, black 7%, black 90%, transparent 100%);
}

.dashboard-glow {
  position: absolute;
  z-index: -1;
  right: 6%;
  bottom: -70px;
  left: 6%;
  display: block;
  height: 240px;
  opacity: 0.8;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(199, 205, 214, 0.22), transparent 72%);
  filter: blur(46px);
  pointer-events: none;
}

.dashboard {
  min-height: 592px;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: #090a0b;
  box-shadow:
    0 78px 180px rgba(0, 0, 0, 0.48),
    0 20px 54px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  font-family: "Satoshi", "Inter", system-ui, sans-serif;
}

.dashboard-browser-bar {
  border-bottom-color: rgba(255, 255, 255, 0.06);
  background: #0d0e10;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.dashboard::after {
  opacity: 0.3;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}

.dashboard-sidebar {
  border-right-color: rgba(255, 255, 255, 0.055);
  background: #0e0f11;
}

.dashboard-main {
  background: #090a0b;
}

.dashboard-kpis article,
.chart-card,
.health-card,
.portal-metric,
.portal-panel,
.dashboard-summary article,
.portal-bottom-grid article {
  border-color: rgba(255, 255, 255, 0.075);
  background: #111214;
  box-shadow: none;
}

.dashboard-site,
.dashboard-help,
.flow-node,
.page-live,
.page-filter {
  background: rgba(255, 255, 255, 0.018);
  box-shadow: none;
}

.dashboard-sidebar nav button.active {
  color: #eef0f2;
  border-color: rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.085);
  box-shadow: inset 2px 0 0 #c8cdd3;
}

.dashboard-sidebar nav button:hover {
  background: rgba(255, 255, 255, 0.045);
}

.dashboard-help,
.dashboard-summary,
.portal-bottom-grid {
  display: none;
}

#chartFill stop:first-child {
  stop-color: #9da8b6;
  stop-opacity: 0.15;
}

#chartFill stop:last-child {
  stop-color: #9da8b6;
  stop-opacity: 0;
}

.chart-line {
  stroke: #a4afbc;
}

.consumption-line {
  stroke: #69727d;
}

.now-line {
  stroke: rgba(255, 255, 255, 0.19);
}

.now-dot {
  fill: #f1f3f5;
  stroke: #9da8b6;
}

.chart-tooltip {
  border-color: rgba(255, 255, 255, 0.12);
  background: #0c0e11;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.chart-wrap.is-inspecting .chart-tooltip {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.health-ring {
  box-shadow: none;
}

.health-ring-progress {
  stroke: #a9b3bf;
}

.summary-bar i {
  background: #a8b1bc;
  box-shadow: none;
}

.forecast-bars > div > span i,
.history-bars > div > span i {
  background: linear-gradient(180deg, rgba(178, 187, 198, 0.88), rgba(99, 110, 123, 0.3));
  box-shadow: none;
}

/* Final dashboard type scale: no informational copy below 12px. */
.dashboard {
  font-size: 12px;
  text-rendering: optimizeLegibility;
}

.browser-address {
  font-size: 12px;
  font-weight: 650;
}

.dashboard-site strong {
  font-size: 14px;
  font-weight: 680;
}

.dashboard-site small {
  font-size: 12px;
  font-weight: 520;
}

.chevron,
.dashboard-help strong,
.dashboard-help small,
.dash-overline,
.live-pill,
.dashboard-avatar {
  font-size: 12px;
}

.dashboard-sidebar nav button {
  font-size: 13px;
  font-weight: 650;
}

.dash-overline {
  font-weight: 720;
  letter-spacing: 0.075em;
}

.dashboard-topbar h2 {
  font-size: 21px;
}

.kpi-head,
.portal-metric > div {
  font-size: 12px;
  font-weight: 540;
}

.dashboard-kpis strong,
.portal-metric > strong {
  font-size: 26px;
}

.dashboard-kpis strong small,
.portal-metric > strong small {
  font-size: 14px;
  font-weight: 600;
}

.dashboard-kpis p,
.portal-metric > p {
  display: flex;
  min-height: 20px;
  margin-top: 8px;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 540;
  line-height: 1.25;
  white-space: nowrap;
}

.dashboard-kpis p span,
.portal-metric > p b {
  flex: none;
  line-height: 1.15;
}

.status-check {
  width: 16px;
  height: 16px;
  font-size: 10px;
}

.card-heading h3 {
  font-size: 14px;
  font-weight: 700;
}

.card-heading p {
  font-size: 12px;
  font-weight: 500;
}

.chart-legend,
.live-telemetry-legend,
.y-axis,
.x-axis,
.portal-chart-scale,
.portal-x-axis {
  font-size: 12px;
  font-weight: 540;
}

.chart-legend,
.live-telemetry-legend {
  gap: 14px;
}

.chart-tooltip {
  width: 142px;
  padding: 10px 11px;
}

.chart-tooltip span,
.chart-tooltip small,
.live-readout span,
.live-readout small {
  font-size: 12px;
  font-weight: 520;
}

.chart-tooltip strong,
.live-readout strong {
  font-size: 15px;
}

.health-ring > div > span {
  font-size: 12px;
  font-weight: 540;
}

.health-card li,
.health-card li strong {
  font-size: 12px;
  font-weight: 560;
}

.summary-head,
.summary-foot,
.dashboard-summary strong small,
.portal-bottom-grid article > span,
.portal-bottom-grid article > em {
  font-size: 12px;
}

.portal-metric {
  min-height: 110px;
}

.page-live,
.page-filter {
  height: 28px;
  font-size: 12px;
  font-weight: 650;
}

.live-readout {
  width: 310px;
}

.flow-node span,
.flow-node strong,
.portal-bottom-grid article > span,
.portal-bottom-grid article > em {
  font-size: 12px;
}

.flow-node strong {
  font-size: 13px;
}

.forecast-bars strong,
.forecast-bars small,
.weather-list span strong,
.weather-list span small,
.asset-row,
.asset-row--head,
.diagnostic-list span,
.diagnostic-list strong,
.diagnostic-score span,
.history-bars small,
.history-legend,
.period-list span,
.period-list span small {
  font-size: 12px;
}

.forecast-bars strong,
.weather-list span strong,
.asset-row,
.diagnostic-list strong,
.period-list span {
  font-weight: 600;
}

.weather-list > div > b,
.period-list > div > strong {
  font-size: 13px;
}

.asset-row {
  min-height: 54px;
}

.asset-row--head {
  min-height: 40px;
  letter-spacing: 0.025em;
}

.asset-icon {
  font-size: 12px;
}

.dashboard small {
  font-size: 12px;
  line-height: 1.25;
}

/* Apple-style restraint: one quiet accent, no glow, no heavy gradients. */
.dashboard-main {
  background: #090a0c;
}

.dashboard::after {
  opacity: 0.22;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.dashboard-sidebar nav button.active {
  color: #eef0f2;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 2px 0 0 var(--blue-bright);
}

#chartFill stop:first-child {
  stop-color: #5c8ab8;
  stop-opacity: 0.14;
}

#chartFill stop:last-child {
  stop-color: #5c8ab8;
  stop-opacity: 0;
}

.chart-line {
  stroke: #7badde;
}

.now-line {
  stroke: rgba(255, 255, 255, 0.2);
}

.now-dot {
  fill: #eef4fb;
  stroke: #7badde;
}

.chart-tooltip {
  border-color: rgba(255, 255, 255, 0.12);
}

.chart-wrap.is-inspecting .chart-tooltip {
  border-color: rgba(255, 255, 255, 0.2);
}

.health-ring-progress {
  stroke: #7badde;
}

.summary-bar i {
  background: #5c8ab8;
}

.forecast-bars > div > span i,
.history-bars > div > span i {
  background: rgba(180, 197, 214, 0.55);
}

/* Interactive demo affordances. */
.dashboard-site,
.dashboard-avatar,
.page-live,
.page-filter {
  color: inherit;
  font-family: inherit;
  appearance: none;
  cursor: pointer;
}

.dashboard-site {
  width: 100%;
  text-align: left;
}

.dashboard-site:hover,
.dashboard-site:focus-visible {
  border-color: rgba(67, 164, 255, 0.2);
  background: rgba(33, 150, 255, 0.045);
  outline: none;
}

.dashboard-avatar {
  padding: 0;
}

[data-dashboard-notifications] {
  position: relative;
  cursor: pointer;
}

[data-dashboard-notifications]::after {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: #ff9f43;
}

.portal-live-chart.is-interactive svg {
  cursor: crosshair;
  touch-action: pan-y;
}

.portal-live-chart.is-interactive svg:focus,
.portal-live-chart.is-interactive svg:focus-visible {
  outline: none;
}

.live-series--production {
  stroke: #7badde;
  stroke-width: 2.2;
}

.live-series--consumption {
  stroke: #f2ad45;
  stroke-width: 1.8;
  stroke-dasharray: 7 5;
}

.live-cursor {
  stroke: rgba(255, 255, 255, 0.35);
}

.live-readout {
  transition: left 90ms linear, border-color 160ms ease, box-shadow 160ms ease;
}

.portal-live-chart.is-inspecting .live-readout {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.portal-live-chart.is-locked .live-readout {
  border-color: rgba(255, 255, 255, 0.26);
}

.page-live.is-paused {
  color: #a1a8b2;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
}

.page-live.is-paused i {
  background: #7e8792;
  box-shadow: none;
  animation: none;
}

.dashboard .is-demo-interactive {
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.dashboard .is-demo-interactive:hover,
.dashboard .is-demo-interactive:focus-visible {
  border-color: rgba(67, 164, 255, 0.24);
  background-color: rgba(33, 150, 255, 0.035);
  outline: none;
}

.dashboard .is-demo-interactive.is-demo-selected {
  border-color: rgba(67, 164, 255, 0.34);
  background-color: rgba(33, 150, 255, 0.055);
  box-shadow: inset 0 0 0 1px rgba(33, 150, 255, 0.08);
}

.forecast-bars > div.is-demo-interactive:hover > span,
.forecast-bars > div.is-demo-selected > span,
.history-bars > div.is-demo-interactive:hover > span,
.history-bars > div.is-demo-selected > span {
  outline: 1px solid rgba(84, 183, 255, 0.34);
  outline-offset: 3px;
}

.weather-list > div.is-demo-selected,
.diagnostic-list > div.is-demo-selected,
.period-list > div.is-demo-selected,
.health-card li.is-demo-selected,
.asset-row.is-demo-selected {
  background: rgba(33, 150, 255, 0.055);
}

.dashboard-popover {
  position: absolute;
  z-index: 60;
  top: 78px;
  right: 22px;
  width: 276px;
  padding: 12px;
  color: #aab2bc;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: #0d0f12;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.52);
}

.dashboard-popover[hidden] {
  display: none;
}

.dashboard-popover-heading {
  padding: 2px 3px 10px;
  color: #eef0f3;
  font-size: 13px;
  font-weight: 720;
}

.dashboard-popover-row {
  display: grid;
  min-height: 54px;
  padding: 9px 3px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  grid-template-columns: 8px 1fr;
  gap: 9px;
}

.dashboard-popover-row > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #65b8ff;
}

.dashboard-popover-row.is-warning > i {
  background: #ff9f43;
}

.dashboard-popover-row.is-success > i,
.dashboard-popover-row.is-profile > i {
  background: #34d58c;
}

.dashboard-popover-row strong,
.dashboard-popover-row small {
  display: block;
}

.dashboard-popover-row strong {
  color: #dfe3e8;
  font-size: 12px;
}

.dashboard-popover-row small {
  margin-top: 2px;
  color: #858e99;
  font-size: 12px;
}

.dashboard-demo-toast {
  position: absolute;
  z-index: 70;
  right: 16px;
  bottom: 16px;
  max-width: 310px;
  padding: 9px 12px;
  opacity: 0;
  color: #dfe8f2;
  border: 1px solid rgba(88, 180, 255, 0.22);
  border-radius: 8px;
  background: rgba(10, 14, 18, 0.96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 180ms ease;
}

.dashboard-demo-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.diagnostic-score strong {
  font-size: 15px;
}

.trust-strip {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin: 0 auto;
  padding: 44px 0 74px;
}

.trust-strip > p {
  margin: 0 0 38px;
  color: #474c55;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-align: center;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #646972;
  font-size: 17px;
  font-weight: 680;
}

.trust-logos > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-signals > span {
  white-space: nowrap;
}

.trust-signals svg {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  opacity: 0.92;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
  vector-effect: non-scaling-stroke;
}

.logo-mark {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  opacity: 0.92;
}

.logo-mark--spark::before,
.logo-mark--spark::after {
  position: absolute;
  content: "";
  background: currentColor;
  clip-path: polygon(50% 0, 58% 41%, 100% 50%, 58% 59%, 50% 100%, 42% 59%, 0 50%, 42% 41%);
}

.logo-mark--spark::before { inset: 0; }
.logo-mark--spark::after { inset: 7px; color: #050607; }
.logo-mark--disc { border: 7px solid currentColor; border-right-color: transparent; border-radius: 50%; transform: rotate(-25deg); }
.logo-mark--wave { background: repeating-linear-gradient(160deg, currentColor 0 2px, transparent 2px 5px); border-radius: 50%; }
.logo-mark--bars { background: repeating-linear-gradient(135deg, transparent 0 3px, currentColor 3px 6px); border-radius: 6px; transform: rotate(-3deg); }
.logo-mark--bolt { display: grid; color: #646972; border-radius: 50%; background: currentColor; color: #050607; font-size: 17px; font-style: normal; place-items: center; }

.section {
  position: relative;
  padding: var(--space-section) var(--gutter);
}

.section-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.platform {
  border-top: 0;
  background: var(--bg);
}

.section-intro h2 {
  margin: 25px 0 14px;
  color: #f0f2f4;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 630;
  letter-spacing: -0.048em;
  line-height: 1.04;
}

.section-intro p {
  max-width: 625px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.value-grid {
  display: grid;
  margin-top: 56px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.value-block {
  padding: 34px 32px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 22px;
  background: #0c0d10;
}

.value-block h3 {
  margin: 0 0 10px;
  color: #eff1f3;
  font-size: clamp(19px, 1.5vw, 22px);
  font-weight: 620;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.value-block p {
  margin: 0;
  color: #9199a3;
  font-size: 15px;
  line-height: 1.55;
}

.value-block--featured {
  grid-column: 1 / -1;
  padding: 44px 44px 40px;
}

.value-block--featured h3 {
  max-width: 560px;
  font-size: clamp(26px, 2.2vw, 32px);
}

.value-block--featured p {
  max-width: 460px;
  font-size: 16px;
}

.value-block--featured .value-visual {
  margin-top: 28px;
  padding-top: 24px;
}

.value-block--featured .value-figure {
  font-size: 22px;
}

.value-block--strip {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 32px;
  padding: 26px 36px;
}

.value-block--strip h3 {
  margin: 0;
  font-size: 19px;
}

.value-block--strip p {
  max-width: 440px;
  color: #9199a3;
}

.value-visual {
  display: flex;
  margin-top: 22px;
  padding-top: 20px;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 13px;
  font-weight: 590;
}

.value-visual i {
  color: #565c66;
  font-size: 13px;
  font-style: normal;
}

.value-visual span {
  color: #b9bfc7;
}

.value-figure {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: #eef0f2;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.02em;
}

.value-figure small {
  color: #838993;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.value-figure--down {
  color: #ff9d6a;
}

.value-visual--chain .is-issue {
  color: #ffb46a;
  font-weight: 630;
}

.value-visual--steps span {
  color: #767c86;
}

.value-visual--steps .is-done {
  color: #4de5a0;
  font-weight: 630;
}

/* "Not another monitoring tool." — same two headline claims, denser cards.
   Below 640px the blocks stack; the padding, gaps and figure sizes come down so a
   card is a compact statement rather than a screen-height panel. */
@media (max-width: 860px) {
  .value-grid {
    margin-top: var(--space-block);
    gap: 14px;
  }

  .value-block--featured h3,
  .value-block--featured p,
  .value-block--strip p {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .value-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .value-block {
    padding: 24px 22px;
    border-radius: 18px;
  }

  .value-block h3 {
    margin-bottom: 8px;
    font-size: 20px;
  }

  .value-block p {
    font-size: 15px;
    line-height: 1.5;
  }

  .value-block--featured {
    padding: 26px 22px 24px;
  }

  .value-block--featured h3 {
    font-size: 24px;
  }

  .value-block--featured p {
    font-size: 15px;
  }

  .value-block--featured .value-visual {
    margin-top: 20px;
    padding-top: 18px;
  }

  .value-block--featured .value-figure {
    font-size: 19px;
  }

  .value-visual {
    margin-top: 16px;
    padding-top: 14px;
    gap: 6px 8px;
    font-size: 12.5px;
  }

  .value-figure {
    font-size: 17px;
  }

  .value-block--strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 22px;
  }

  .value-block--strip h3 {
    font-size: 18px;
  }
}

.compliance-line {
  margin-top: 50px;
}

.compliance-line > p {
  margin: 0 0 18px;
  color: #989ea7;
  font-size: 12px;
}

.compliance-line div {
  display: flex;
  flex-wrap: wrap;
  color: #666c75;
  gap: 0;
  font-size: 12px;
}

.compliance-line span {
  padding: 0 18px;
  border-right: 1px solid var(--line);
}

.compliance-line span:first-child {
  padding-left: 0;
}

.compliance-line span:last-child {
  border-right: 0;
}

.features {
  padding-top: 116px;
  background: var(--bg);
}

.section-intro--center {
  text-align: center;
}

.section-intro--center p {
  margin-right: auto;
  margin-left: auto;
}

.capability-grid {
  display: grid;
  margin-top: 48px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.capability-card {
  position: relative;
  overflow: hidden;
  padding: 32px 30px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 26px;
  background: #0c0d10;
}

.capability-card svg {
  width: 23px;
  height: 23px;
  margin-bottom: 20px;
  fill: none;
  stroke: #7ea3c9;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.capability-card h3 {
  margin: 0 0 8px;
  color: #eff1f3;
  font-size: 18px;
  font-weight: 620;
  letter-spacing: -0.015em;
}

.capability-card p {
  margin: 0;
  max-width: 320px;
  color: #9199a3;
  font-size: 14px;
  line-height: 1.55;
}

/* Row 1: large site-performance card + medium anomaly card */
.capability-card--site {
  display: flex;
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
}

.capability-card--site h3 {
  font-size: clamp(21px, 1.8vw, 25px);
}

.capability-card--site p {
  max-width: 400px;
  font-size: 15px;
}

.capability-card--anomaly {
  display: flex;
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  flex-direction: column;
  justify-content: space-between;
}

/* Row 2: smaller weather card + large analytics card */
.capability-card--weather {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.capability-card--analytics {
  display: flex;
  grid-column: 2 / 4;
  grid-row: 2 / 3;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px;
}

.capability-card--analytics h3 {
  font-size: clamp(20px, 1.6vw, 23px);
}

.capability-card--analytics p {
  max-width: 380px;
  font-size: 14.5px;
}

/* Row 3: service + alerts + security */
.capability-card--service,
.capability-card--alerts {
  grid-row: 3 / 4;
}

.capability-card--service {
  display: flex;
  grid-column: 1 / 2;
  flex-direction: column;
  justify-content: space-between;
}

.capability-card--alerts {
  grid-column: 2 / 3;
}

.capability-card--security {
  grid-column: 3 / 4;
  grid-row: 3 / 4;
  padding: 28px 26px;
}

.capability-card--security h3 {
  font-size: 16px;
}

.capability-card--security p {
  max-width: none;
  font-size: 13px;
}

/* Row 4: wide API card */
.capability-card--api {
  display: flex;
  grid-column: 1 / 4;
  grid-row: 4 / 5;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 28px 40px;
}

.capability-card--api h3 {
  margin-bottom: 3px;
}

/* Site performance: live/ratio strip */
.perf-strip {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.perf-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7ea3c9;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.perf-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4de5a0;
  box-shadow: 0 0 6px rgba(77, 229, 160, .5);
}

.perf-strip strong {
  color: #f5f7f9;
  font-size: 21px;
  font-weight: 630;
  letter-spacing: -.02em;
}

.perf-strip small {
  margin-left: 4px;
  color: #838993;
  font-size: 12px;
  font-weight: 500;
}

/* Anomaly detection: signal bars */
.signal-visual {
  display: flex;
  height: 42px;
  margin-top: 22px;
  align-items: flex-end;
  gap: 5px;
}

.signal-visual i {
  flex: 1;
  border-radius: 2px 2px 1px 1px;
  background: rgba(255, 255, 255, .12);
}

.signal-visual i.is-anomaly {
  background: #ff9d6a;
}

/* Performance analytics: trend line */
.trend-visual {
  margin-top: 26px;
}

.trend-visual svg {
  display: block;
  width: 100%;
  height: 96px;
}

.trend-line {
  stroke: #7ea3c9;
  stroke-width: 2;
}

.trend-axis {
  display: flex;
  margin-top: 10px;
  padding-top: 10px;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: #6b7078;
  font-size: 11px;
}

/* Service coordination: workflow chain */
.workflow-chain {
  display: flex;
  margin-top: 22px;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-size: 12.5px;
  font-weight: 590;
}

.workflow-chain span {
  color: #767c86;
}

.workflow-chain i {
  color: #4a4f57;
  font-style: normal;
}

.workflow-chain .is-done {
  color: #4de5a0;
  font-weight: 630;
}

/* Open API & integrations: connection nodes */
.nodes-visual {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.node {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}

.node--hub {
  width: 12px;
  height: 12px;
  background: #7ea3c9;
}

.node-line {
  width: 30px;
  height: 1px;
  background: rgba(255, 255, 255, .12);
}

.comparison {
  padding-top: 122px;
  padding-bottom: 104px;
  overflow: hidden;
  background: var(--bg);
}

.comparison .section-intro h2 {
  margin: 0;
}

.comparison .section-intro p {
  max-width: 700px;
  margin: 14px auto 0;
  color: #777e88;
  font-size: 15px;
}

.comparison-scroll {
  margin-top: 34px;
  padding: 22px 3px 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
  scrollbar-width: thin;
}

.comparison-scroll:focus-visible {
  outline: 1px solid rgba(59, 158, 255, 0.55);
  outline-offset: 5px;
  border-radius: 18px;
}

.comparison-table-frame {
  position: relative;
  width: min(100%, 1024px);
  min-width: 1024px;
  margin: 0 auto;
}

.comparison-highlight {
  position: absolute;
  z-index: 0;
  top: -18px;
  bottom: -2px;
  left: 28.5%;
  width: 15.7%;
  border: 1px solid rgba(112, 194, 255, 0.48);
  border-radius: 19px;
  background: linear-gradient(180deg, #338cf4 0%, #277ce8 100%);
  box-shadow:
    0 18px 54px rgba(0, 91, 196, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.comparison-table {
  position: relative;
  z-index: 1;
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

.comparison-col--feature {
  width: 28.5%;
}

.comparison-col--sunalytiq {
  width: 15.7%;
}

.comparison-col--product {
  width: 13.95%;
}

.comparison-table th,
.comparison-table td {
  height: 47px;
  padding: 0 18px;
  border: 0;
  vertical-align: middle;
}

.comparison-table thead th {
  height: 82px;
  color: #f4f6f8;
  text-align: center;
}

.comparison-table thead th:first-child,
.comparison-table tbody th {
  text-align: left;
}

.comparison-competitor {
  display: block;
  font-size: 14px;
  font-weight: 680;
  letter-spacing: 0.015em;
  line-height: 1.1;
  text-transform: uppercase;
}

.comparison-brand-logo {
  display: block;
  width: min(108px, 100%);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.comparison-brand-head {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 7px;
}

.comparison-brand-head small {
  color: rgba(255, 255, 255, 0.72);
  max-width: 132px;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
}

.comparison-table tbody tr:nth-child(odd) th,
.comparison-table tbody tr:nth-child(odd) td:not(.comparison-sunalytiq) {
  background: #1b1b1b;
}

.comparison-table tbody tr:nth-child(odd) th {
  border-radius: 13px 0 0 13px;
}

.comparison-table tbody tr:nth-child(odd) td:last-child {
  border-radius: 0 13px 13px 0;
}

.comparison-table tbody th {
  color: #e6e9ed;
  font-size: 13px;
  font-weight: 560;
  letter-spacing: -0.01em;
}

.comparison-table tbody th strong {
  color: #fff;
  font-weight: 720;
}

.comparison-table tbody td {
  text-align: center;
}

.compare-icon {
  position: relative;
  display: inline-grid;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 520;
  line-height: 1;
  place-items: center;
}

.compare-icon::before {
  display: block;
  line-height: 1;
}

.compare-icon--yes {
  color: #34d982;
}

.compare-icon--yes::before {
  content: "✓";
}

.comparison-sunalytiq .compare-icon--yes {
  color: #fff;
}

.compare-icon--no {
  color: #ff505c;
}

.compare-icon--no::before {
  content: "×";
  font-size: 27px;
}

.compare-icon--partial {
  color: #f0b64a;
}

.compare-icon--partial::before {
  content: "~";
  transform: translateY(-2px);
  font-size: 26px;
}

.compare-combo {
  display: inline-flex;
  min-width: 62px;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

.compare-combo .compare-icon {
  width: 20px;
  height: 20px;
  font-size: 20px;
}

.compare-combo .compare-icon--no::before,
.compare-combo .compare-icon--partial::before {
  font-size: 22px;
}

.compare-separator {
  color: #656b75;
  font-size: 13px;
}

.comparison-table tfoot td {
  height: 62px;
  text-align: center;
}

.comparison-cta {
  display: inline-flex;
  min-height: 38px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #0874d8;
  font-size: 12px;
  font-weight: 720;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 42, 92, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.comparison-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 42, 92, 0.28);
}

.comparison-meta {
  width: min(100%, 1024px);
  margin: 14px auto 0;
  text-align: center;
}

.comparison-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: #8b929c;
  font-size: 13px;
}

.comparison-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.comparison-legend b {
  font-size: 17px;
  font-weight: 680;
}

.comparison-legend--yes { color: #34d982; }
.comparison-legend--partial { color: #f0b64a; }
.comparison-legend--no { color: #ff505c; }

.comparison-meta p {
  margin: 10px 0 0;
  color: #676e78;
  font-size: 12px;
  line-height: 1.5;
}

/* ---------------------------------------------------------------------------
   Comparison: two renderings of the same data.

   The desktop table needs 1024px plus the page gutters, i.e. a viewport wider
   than 1080px. Below that it used to become a horizontally scrolled desktop
   table with most columns off-screen. Instead, the identical rows are rendered
   as a native list — one card per capability, the Sunalytiq verdict directly
   under the capability name, the alternatives underneath — and the table is
   dropped from the layout entirely. Only one of the two is ever displayed, so
   nothing is duplicated for assistive technology.
   --------------------------------------------------------------------------- */
.comparison-cards,
.comparison-cards__cta {
  display: none;
}

@media (max-width: 1080px) {
  .comparison-scroll {
    display: none;
  }

  .comparison-cards {
    display: grid;
    margin: var(--space-block) 0 0;
    padding: 0;
    gap: 10px;
    list-style: none;
  }

  .comparison-card {
    padding: 18px 18px 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    background: #101012;
  }

  .comparison-card__capability {
    margin: 0 0 12px;
    color: #eef0f2;
    font-size: 16px;
    font-weight: 620;
    letter-spacing: -0.02em;
    line-height: 1.3;
    text-wrap: balance;
  }

  .comparison-card__us {
    display: flex;
    min-height: 44px;
    margin: 0 0 10px;
    padding: 0 14px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #fff;
    border: 1px solid rgba(112, 194, 255, 0.42);
    border-radius: 12px;
    background: linear-gradient(180deg, #338cf4 0%, #277ce8 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-size: 14px;
    font-weight: 680;
  }

  .comparison-card__us .compare-icon {
    color: #fff;
  }

  .comparison-card__rest {
    display: grid;
    margin: 0;
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
    column-gap: 18px;
  }

  .comparison-card__rest > div {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
  }

  .comparison-card__rest dt {
    color: #8b929c;
    font-size: 13px;
    line-height: 1.3;
  }

  .comparison-card__rest dd {
    display: flex;
    margin: 0;
  }

  .comparison-card__rest .compare-icon {
    width: 18px;
    height: 18px;
    font-size: 20px;
  }

  .comparison-card__rest .compare-icon--no::before {
    font-size: 22px;
  }

  .comparison-card__rest .compare-icon--partial::before {
    font-size: 21px;
  }

  .comparison-cards__cta {
    display: block;
    margin-top: 16px;
    text-align: center;
  }

  .comparison-meta {
    margin-top: 22px;
  }

  .comparison-legend {
    gap: 8px 18px;
  }
}

.cta-section {
  padding-top: 130px;
  padding-bottom: 64px;
}

.cta-card {
  position: relative;
  width: min(100%, var(--max));
  min-height: 430px;
  margin: 0 auto;
  padding: 108px 40px 100px;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 58% 80% at 50% 112%, rgba(14, 129, 241, 0.12), transparent 68%),
    linear-gradient(160deg, #0d1014, #080a0d 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 45px 90px rgba(0, 0, 0, 0.35);
}

.cta-card::before {
  position: absolute;
  right: -11%;
  bottom: -84%;
  left: -11%;
  height: 500px;
  content: "";
  border: 1px solid rgba(90, 169, 244, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.cta-aurora {
  position: absolute;
  bottom: -130px;
  left: 50%;
  width: 720px;
  height: 230px;
  transform: translateX(-50%);
  opacity: 0.16;
  border-radius: 50%;
  background: #138dff;
  filter: blur(80px);
  pointer-events: none;
}

.cta-card h2 {
  position: relative;
  margin: 0 0 18px;
  color: #f4f6f8;
  font-size: clamp(40px, 5vw, 61px);
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.cta-card p {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
  color: #8a909a;
  font-size: 16px;
  line-height: 1.55;
}

.cta-buttons {
  position: relative;
  display: flex;
  margin-top: 40px;
  justify-content: center;
  gap: 14px;
}

/* Site footer lives in footer.css so the legal pages can reuse it. */

/* Anchor targets clear the fixed header. */
#features,
#platform,
#how-it-works,
#dashboard-preview,
#contact,
#capabilities,
#lifecycle,
#diagnostics {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

html.reveal-enabled .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes livePulse {
  0%, 100% { opacity: 0.6; transform: scale(0.86); }
  50% { opacity: 1; transform: scale(1.18); }
}

@media (max-width: 1040px) {
  .desktop-nav {
    gap: 22px;
  }

  .dashboard {
    min-height: 552px;
    grid-template-columns: 160px 1fr;
  }

  .dashboard-sidebar {
    padding-right: 11px;
    padding-left: 11px;
  }

  .dashboard-main {
    padding: 20px 17px 16px;
  }

  .chart-card,
  .health-card {
    min-height: 316px;
  }

  .chart-wrap {
    height: 245px;
  }

  .health-ring {
    width: 122px;
    height: 122px;
  }

  /* Was 1360px, which left ~300px of empty hero below the preview at this width. */
  .hero {
    min-height: 1180px;
  }
}

/* ===========================================================================
   Tablet and below (≤860px) — the mobile navigation takes over here, and the
   product preview switches from a scaled desktop screenshot to a real,
   readable mobile product view.
   =========================================================================== */
@media (max-width: 860px) {
  /* --- Header: logo left, hamburger right, page gutters on both ------------ */
  .nav-shell {
    display: flex;
    justify-content: space-between;
  }

  .desktop-nav,
  .nav-actions {
    display: none;
  }

  .site-header::after {
    content: none;
  }

  .brand {
    width: 132px;
  }

  .menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    padding: 0;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
  }

  /* A pointer press must not leave a ring behind; keyboard focus still must. */
  .menu-toggle:focus {
    outline: none;
  }

  .menu-toggle:focus-visible {
    outline: 2px solid var(--blue-bright);
    outline-offset: 3px;
  }

  .menu-toggle span {
    display: block;
    width: 15px;
    height: 1.5px;
    border-radius: 2px;
    background: #e6e8eb;
    transition: transform 220ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }

  /* --- Mobile menu: 48px touch rows, never taller than the viewport -------- */
  .mobile-menu {
    position: fixed;
    top: calc(var(--header-h) + 6px);
    right: var(--gutter);
    left: var(--gutter);
    display: flex;
    max-height: calc(100svh - var(--header-h) - 24px);
    padding: 10px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    flex-direction: column;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(10, 11, 13, 0.96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
    backdrop-filter: blur(20px);
    overscroll-behavior: contain;
  }

  .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu > a:not(.button) {
    display: flex;
    min-height: 48px;
    padding: 0 14px;
    align-items: center;
    color: #c3c6cb;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 560;
  }

  .mobile-menu > a:not(.button):hover,
  .mobile-menu > a[aria-current="page"] {
    color: white;
    background: rgba(255, 255, 255, 0.05);
  }

  .mobile-menu .button {
    width: 100%;
    min-height: 48px;
    margin-top: 8px;
  }

  /* --- Hero: the preview joins the flow instead of being parked far below -- */
  .hero {
    min-height: 0;
    padding: calc(var(--header-h) + 44px) var(--gutter) 0;
  }

  .hero::after {
    height: 300px;
  }

  /* text-wrap: balance already shapes the break; a ch cap would only force a
     long word like "underperformance" past its own box. */
  .hero h1 {
    margin: 0 auto 14px;
    font-size: clamp(34px, 6.4vw, 50px);
    letter-spacing: -0.035em;
  }

  .hero-lede {
    max-width: 46ch;
    font-size: 16px;
  }

  .hero-cta {
    margin-top: 26px;
    gap: 18px;
  }

  /* The preview itself is reframed at the end of this stylesheet, after the
     later override passes, so those passes cannot win the cascade back. */
  .dashboard-stage {
    position: relative;
    top: auto;
    width: min(100%, 760px);
    margin: 40px auto 0;
  }

  /* --- Sections ----------------------------------------------------------- */
  .trust-strip {
    padding: 48px 0 var(--space-section);
  }

  /* The five labels are nowrap, so the row has to wrap once it stops fitting. */
  .trust-logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px 36px;
  }

  .features,
  .comparison {
    padding-top: var(--space-section);
  }

  .comparison {
    padding-bottom: var(--space-section);
  }

  .cta-section {
    padding-top: var(--space-section);
    padding-bottom: 56px;
  }

  .section-intro h2 {
    margin-top: 0;
    font-size: clamp(30px, 5.2vw, 44px);
  }

  .capability-grid {
    margin-top: var(--space-block);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-card--site,
  .capability-card--analytics,
  .capability-card--security,
  .capability-card--api {
    grid-column: 1 / 3;
  }

  .capability-card--anomaly,
  .capability-card--weather,
  .capability-card--service,
  .capability-card--alerts {
    grid-column: span 1;
  }

  .capability-card--site,
  .capability-card--anomaly,
  .capability-card--weather,
  .capability-card--analytics,
  .capability-card--service,
  .capability-card--alerts,
  .capability-card--security,
  .capability-card--api {
    grid-row: auto;
  }
}

/* ===========================================================================
   Phone (≤640px)
   =========================================================================== */
@media (max-width: 640px) {
  .brand {
    width: 124px;
  }

  /* --- Buttons: comfortable to tap, never edge-to-edge, never wrapping ----- */
  .button {
    min-height: 46px;
    padding: 0 20px;
    gap: 8px;
    font-size: 14px;
    white-space: nowrap;
  }

  .button--small {
    min-height: 42px;
    padding: 0 16px;
  }

  /* --- Hero --------------------------------------------------------------- */
  .hero {
    padding-top: calc(var(--header-h) + 34px);
  }

  .hero::after {
    height: 220px;
  }

  .dashboard-glow {
    display: none;
  }

  .hero h1 {
    margin-bottom: 12px;
    font-size: clamp(30px, 8.4vw, 40px);
    letter-spacing: -0.04em;
    line-height: 1.04;
  }

  .hero h1 br {
    display: none;
  }

  .hero-lede {
    max-width: 40ch;
    font-size: 15.5px;
    line-height: 1.5;
  }

  .hero-cta {
    margin-top: 22px;
    align-items: center;
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta .button {
    min-height: 48px;
    padding: 0 22px;
  }

  /* The pilot note reads as a caption under the CTA, not a separate block. */
  .cta-note {
    min-height: auto;
    padding: 0;
    align-items: center;
    border-left: 0;
    text-align: center;
    font-size: 13px;
    line-height: 1.35;
  }

  .dashboard-stage {
    margin-top: 30px;
  }

  /* --- Feature labels: a deliberate two-column list, not a ragged wrap ----- */
  .trust-strip > p {
    margin-bottom: 22px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .trust-logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 14px;
    justify-items: start;
    font-size: 14px;
  }

  .trust-logos > span {
    gap: 9px;
  }

  .trust-signals > span {
    white-space: normal;
  }

  /* Five labels: the last one closes the block on its own row. */
  .trust-logos > span:last-child {
    grid-column: 1 / -1;
  }

  .logo-mark,
  .trust-signals svg {
    width: 19px;
    height: 19px;
  }

  /* --- Section rhythm and headings ---------------------------------------- */
  .section-intro h2 {
    font-size: clamp(27px, 7.6vw, 36px);
    letter-spacing: -0.04em;
    line-height: 1.06;
  }

  .section-intro h2 br {
    display: none;
  }

  .section-intro p {
    font-size: 15.5px;
    line-height: 1.5;
  }

  .compliance-line div {
    flex-direction: column;
    gap: 10px;
  }

  .compliance-line span {
    padding: 0;
    border-right: 0;
  }

  /* --- Capability cards --------------------------------------------------- */
  .capability-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .capability-card--site,
  .capability-card--anomaly,
  .capability-card--weather,
  .capability-card--analytics,
  .capability-card--service,
  .capability-card--alerts,
  .capability-card--security,
  .capability-card--api {
    grid-column: 1 / -1;
  }

  .capability-card,
  .capability-card--site,
  .capability-card--analytics,
  .capability-card--security {
    padding: 24px 22px;
    border-radius: 20px;
  }

  .capability-card--api {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 24px 22px;
  }

  .capability-card svg {
    margin-bottom: 14px;
  }

  .capability-card h3,
  .capability-card--site h3,
  .capability-card--analytics h3 {
    font-size: 18px;
  }

  .capability-card p,
  .capability-card--site p,
  .capability-card--analytics p,
  .capability-card--security p {
    max-width: none;
    font-size: 15px;
    line-height: 1.5;
  }

  .perf-strip,
  .signal-visual,
  .trend-visual,
  .workflow-chain {
    margin-top: 18px;
  }

  .perf-strip {
    padding-top: 16px;
  }

  .trend-visual svg {
    height: 78px;
  }

  /* --- Closing CTA -------------------------------------------------------- */
  .cta-card {
    min-height: 0;
    padding: 52px 22px 48px;
    border-radius: 20px;
  }

  .cta-card h2 {
    font-size: clamp(28px, 8vw, 38px);
    letter-spacing: -0.035em;
  }

  .cta-card p {
    font-size: 15px;
  }

  .cta-buttons {
    margin-top: 28px;
    align-items: center;
    flex-direction: column;
    gap: 10px;
  }

  .cta-buttons .button {
    width: min(100%, 300px);
  }
}

/* Very small phones: the two-up label list collapses rather than truncating. */
@media (max-width: 380px) {
  .trust-logos {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .trust-logos > span:last-child {
    grid-column: auto;
  }
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .particle-field {
    display: none;
  }

  .health-ring-progress {
    stroke-dashoffset: 0;
    animation: none !important;
  }

  .dashboard,
  .dashboard.is-settled {
    transform: scale(var(--dash-scale));
    will-change: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* Apple product-UI pass: calmer surfaces, fewer containers, restrained accents, more air. */

.dashboard {
  background: #0a0a0b;
  border-color: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.dashboard-sidebar {
  background: var(--surface);
  border-right-color: rgba(255, 255, 255, 0.05);
}

@media (min-width: 1041px) {
  .dashboard-sidebar {
    padding: 26px 16px 18px;
  }
}

.dashboard-main,
.dashboard-browser-bar {
  background: #0a0a0b;
}

.dashboard-browser-bar {
  height: 32px;
  border-bottom-color: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.dashboard::after {
  display: none;
}

.browser-dot {
  width: 7px;
  height: 7px;
}

.browser-address {
  height: 19px;
  color: #656b74;
  border-color: rgba(255, 255, 255, 0.045);
  background: transparent;
}

.browser-toolbar i {
  border-color: rgba(255, 255, 255, 0.05);
  background: transparent;
}

@media (min-width: 1041px) {
  .dashboard-main {
    padding: 28px 28px 24px;
  }
}

.dashboard-topbar {
  margin-bottom: 28px;
}

/* Fewer visible containers: flatten card chrome, add more air. */
.dashboard-kpis article,
.chart-card,
.health-card,
.portal-metric,
.portal-panel,
.dashboard-summary article,
.portal-bottom-grid article {
  border-color: rgba(255, 255, 255, 0.05);
  background: var(--surface-raised);
  box-shadow: none;
  border-radius: var(--radius-md);
}

.dashboard-kpis {
  gap: 14px;
  margin-bottom: 16px;
}

.dashboard-kpis article {
  min-height: 118px;
  padding: 22px;
}

.dashboard-grid {
  gap: 14px;
}

.chart-card,
.health-card,
.portal-panel {
  padding: 22px;
}

.chart-wrap {
  margin-top: 22px;
}

/* Typography hierarchy: quieter labels, dominant values. */
.kpi-head,
.portal-metric > div {
  margin-bottom: 12px;
  color: #6b7078;
  font-size: 11px;
  font-weight: 500;
}

.dashboard-kpis strong,
.portal-metric > strong {
  font-size: 30px;
  font-weight: 620;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.dashboard-kpis strong small,
.portal-metric > strong small {
  color: #71767f;
}

.dashboard-kpis p,
.portal-metric > p {
  margin-top: 10px;
  color: #6b7078;
}

.card-heading h3 {
  color: #d3d6da;
  font-weight: 600;
}

.card-heading p {
  color: #63686f;
}

/* Sidebar: subtle surface highlight instead of borders, quieter icons. */
.dashboard-sidebar nav {
  gap: 7px;
}

.dashboard-sidebar nav button {
  min-height: 36px;
  border-radius: var(--radius-sm);
  color: #7a7f88;
}

.dashboard-sidebar nav button svg {
  opacity: 0.55;
  transition: opacity 200ms ease;
}

.dashboard-sidebar nav button:hover svg,
.dashboard-sidebar nav button.active svg {
  opacity: 0.95;
}

.dashboard-sidebar nav button.active {
  color: #f2f3f5;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.dashboard-sidebar nav button.active svg {
  color: var(--blue-bright);
}

.dashboard-sidebar nav button:hover {
  background: rgba(255, 255, 255, 0.035);
}

.dashboard-site {
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.dashboard-help {
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

/* Chart: quieter grid and axes, compact tooltip. */
.grid-lines path {
  stroke: rgba(255, 255, 255, 0.035);
}

.x-axis,
.y-axis {
  color: #565b62;
}

.chart-tooltip {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

/* Micro-details: quiet, consistent hover feedback on topbar controls. */
.dashboard-controls button {
  border-color: rgba(255, 255, 255, 0.05);
  background: transparent;
  transition: background 200ms ease, color 200ms ease;
}

.dashboard-controls button:hover {
  color: #c7cbd1;
  background: rgba(255, 255, 255, 0.05);
}

.dashboard-avatar {
  border-color: rgba(255, 255, 255, 0.1);
}

/* System health: thinner ring, quieter track, no dot glow. */
.health-ring-track,
.health-ring-progress {
  stroke-width: 4;
}

.health-ring-track {
  stroke: rgba(255, 255, 255, 0.08);
}

.health-card li i {
  box-shadow: none;
}

.health-card li {
  border-bottom-color: rgba(255, 255, 255, 0.045);
}

/* Dashboard sits slightly wider and dominant, with a soft fade instead of a heavy glow. */
@media (min-width: 1041px) {
  .dashboard-stage {
    width: min(calc(100% - 48px), 1280px);
  }
}

.dashboard-glow {
  opacity: 0.5;
}

/* ===========================================================================
   Product preview — mobile framing

   This block must stay last. styles.css is written as a series of override
   passes ("legibility pass", "type scale", "Apple product-UI pass"), each of
   which re-declares the preview's paddings and font sizes at the same
   specificity, so a responsive rule placed earlier would silently lose.

   What it does: below 860px the preview stops being a desktop screenshot at
   0.49 scale (which rendered ~6px microcopy and pushed both edges outside the
   viewport). The perspective tilt and the scale are dropped, the chrome
   sidebar becomes a horizontal section strip that scrolls inside the mockup,
   and the panels stack full width — so the same UI is shown at its real size.
   =========================================================================== */
@media (max-width: 860px) {
  .dashboard,
  .dashboard.is-settled {
    --dash-scale: 1;
    min-height: 0;
    transform: none;
    border-radius: 16px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr);
  }

  .dashboard-browser-bar {
    height: 30px;
    padding: 0 10px;
  }

  .browser-address {
    width: auto;
    max-width: 200px;
    height: 18px;
    padding: 0 9px;
    font-size: 11px;
  }

  .browser-toolbar {
    display: none;
  }

  .dashboard-sidebar {
    padding: 8px 10px;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 90%, transparent 100%);
    overscroll-behavior-inline: contain;
  }

  .dashboard-sidebar::-webkit-scrollbar {
    display: none;
  }

  .dashboard-brand,
  .dashboard-site {
    display: none;
  }

  .dashboard-sidebar nav {
    flex: 0 0 auto;
    flex-direction: row;
    gap: 4px;
  }

  .dashboard-sidebar nav button {
    width: auto;
    min-height: 34px;
    padding: 0 12px;
    flex: 0 0 auto;
    gap: 7px;
    font-size: 12px;
    white-space: nowrap;
  }

  .dashboard-sidebar nav button svg {
    width: 14px;
    height: 14px;
  }

  .dashboard-sidebar nav button.active {
    box-shadow: inset 0 -2px 0 var(--blue-bright);
  }

  .dashboard-main {
    padding: 18px 14px 16px;
  }

  .dashboard-topbar {
    margin-bottom: 16px;
  }

  .dashboard-topbar h2 {
    font-size: 18px;
  }

  .dashboard-pages {
    min-height: 0;
  }

  .dashboard-kpis,
  .portal-metrics {
    margin-bottom: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  /* The headline number leads on its own row; the two supporting ones pair up. */
  .dashboard-kpis article:first-child,
  .portal-metrics .portal-metric:first-child {
    grid-column: 1 / -1;
  }

  .dashboard-kpis article,
  .portal-metric {
    min-height: 0;
    padding: 14px;
  }

  .dashboard-kpis strong,
  .portal-metric > strong {
    font-size: 23px;
  }

  .kpi-head,
  .portal-metric > div {
    margin-bottom: 8px;
  }

  .dashboard-kpis p,
  .portal-metric > p {
    min-height: 0;
    margin-top: 6px;
    white-space: normal;
  }

  .dashboard-grid,
  .portal-page-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .chart-card,
  .health-card,
  .portal-panel {
    min-height: 0;
    padding: 14px;
  }

  .chart-wrap,
  .portal-live-chart {
    height: 205px;
    margin-top: 14px;
    padding: 0 2px 20px 30px;
  }

  .x-axis,
  .portal-x-axis {
    left: 30px;
  }

  .live-readout {
    left: 34px;
    width: min(230px, calc(100% - 44px));
  }

  .health-ring {
    width: 108px;
    height: 108px;
    margin: 12px auto 10px;
  }

  .health-ring > div strong {
    font-size: 24px;
  }

  .power-flow {
    height: auto;
    padding: 10px 0 2px;
  }

  .forecast-bars {
    height: 210px;
    padding: 18px 2px 2px;
    gap: 7px;
  }

  .history-bars {
    height: 200px;
    padding: 18px 0 2px;
    gap: 4px;
  }

  .asset-table {
    margin-top: 14px;
  }

  .asset-row {
    min-height: 46px;
    padding: 0 10px;
    gap: 8px;
    grid-template-columns: minmax(0, 1.5fr) auto auto;
  }

  /* "Last check" is the least useful column on a narrow preview. */
  .asset-row > span:nth-child(4) {
    display: none;
  }

  .weather-list > div,
  .diagnostic-list > div,
  .period-list > div {
    min-height: 48px;
  }

  .diagnostic-score {
    margin-top: 10px;
    padding: 11px;
  }

  /* Demo overlays are absolutely positioned inside the mockup; on a narrow
     preview they need to shrink rather than be clipped by its overflow. */
  .dashboard-popover {
    top: 62px;
    right: 10px;
    left: 10px;
    width: auto;
  }

  .dashboard-demo-toast {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }
}

@media (max-width: 640px) {
  .dashboard-main {
    padding: 16px 12px 14px;
  }

  /* Labels alone keep the section strip inside one or two thumb swipes. */
  .dashboard-sidebar nav button svg {
    display: none;
  }

  .dashboard-sidebar nav button {
    padding: 0 11px;
  }

  .chart-wrap,
  .portal-live-chart {
    height: 180px;
  }

  .forecast-bars,
  .history-bars {
    height: 175px;
  }
}

/* End of stylesheet.
   (An inert, corrupted tail of ~650 repeated fragments used to sit here. It was
   never parsed — it followed an unterminated comment — and has been removed.) */
