:root {
  --ink: #0b0d10;
  --ink-soft: #15181d;
  --paper: #f4f5f2;
  --white: #ffffff;
  --muted: #9da2aa;
  --muted-dark: #656b74;
  --line: #dfe1dd;
  --line-dark: #292d33;
  --red: #ff5b5f;
  --red-strong: #ee454b;
  --green: #59d18d;
  --amber: #ffbd62;
  --blue: #65a8ff;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

img { display: block; max-width: 100%; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(calc(100% - 48px), var(--max));
  height: 92px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: var(--white);
}

.brand { display: inline-flex; align-items: center; gap: 15px; justify-self: start; }
.brand-mark { position: relative; display: block; width: 74px; flex: 0 0 74px; }
.brand-mark img {
  width: 100%;
  height: auto;
  clip-path: polygon(0 0, 49% 0, 49% 42%, 100% 42%, 100% 100%, 0 100%);
}
.brand-name { font-size: .86rem; font-weight: 600; letter-spacing: .04em; }
.brand-signal { position: absolute; z-index: 1; top: 0; right: 1px; width: 39px; height: 18px; overflow: visible; }
.brand-signal polyline {
  fill: none;
  stroke: var(--red);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  opacity: 0;
  animation: brand-line-cycle 7.2s linear infinite;
}
.brand-signal circle {
  fill: var(--red);
  transform-box: fill-box;
  transform-origin: center;
  animation: brand-dot-cycle 7.2s ease-in-out infinite;
}
.brand-signal circle:nth-of-type(1) { --move-a: -2.5px; --move-b: 1.2px; --move-c: -1.5px; }
.brand-signal circle:nth-of-type(2) { --move-a: 2px; --move-b: -2.2px; --move-c: 1.2px; }
.brand-signal circle:nth-of-type(3) { --move-a: -1.6px; --move-b: 2px; --move-c: -1px; }
.brand-signal circle:nth-of-type(4) { --move-a: 2.3px; --move-b: -1.5px; --move-c: 1.5px; }

@keyframes brand-dot-cycle {
  0%, 31%, 84%, 100% { transform: translateY(0) scale(1); }
  7% { transform: translateY(var(--move-a)) scale(1); }
  15% { transform: translateY(var(--move-b)) scale(1); }
  23% { transform: translateY(var(--move-c)) scale(1); }
  89% { transform: translateY(0) scale(1.18); }
  93% { transform: translateY(0) scale(.94); }
  97% { transform: translateY(0) scale(1.08); }
}

@keyframes brand-line-cycle {
  0%, 36% { stroke-dashoffset: 1; opacity: 0; }
  38% { stroke-dashoffset: 1; opacity: 1; }
  62%, 70% { stroke-dashoffset: 0; opacity: 1; }
  82% { stroke-dashoffset: -1; opacity: 1; }
  83%, 100% { stroke-dashoffset: -1; opacity: 0; }
}

.main-nav { display: flex; gap: 30px; font-size: .9rem; color: #c8cbd0; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--white); }

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

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 3px 5px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(11,13,16,.3);
  color: rgba(255,255,255,.42);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .06em;
}

.language-switcher button {
  min-width: 30px;
  min-height: 26px;
  padding: 0 6px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.language-switcher button:hover,
.language-switcher button:focus-visible { color: var(--white); }

.language-switcher button.is-active {
  background: var(--white);
  color: var(--ink);
}

.language-switcher > span { opacity: .45; }

.portal-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 19px;
  border: 1px solid var(--red);
  border-radius: 8px;
  background: var(--red);
  color: var(--ink);
  font-weight: 750;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.portal-button:hover { background: var(--red-strong); border-color: var(--red-strong); transform: translateY(-2px); }
.portal-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.section-rail { display: none; }

@media (min-width: 1200px) {
  .section-rail {
    position: fixed;
    z-index: 9;
    top: 50%;
    right: 17px;
    display: grid;
    gap: 3px;
    padding: 11px 8px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 99px;
    background: rgba(11,13,16,.72);
    box-shadow: 0 12px 34px rgba(0,0,0,.16);
    backdrop-filter: blur(10px);
    transform: translateY(-50%);
  }

  .section-rail::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 24px;
    bottom: 24px;
    right: 13px;
    width: 1px;
    background: rgba(255,255,255,.16);
  }

  .section-rail a {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    padding-right: 13px;
    color: #777e88;
    font-size: .75rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    transition: color .2s ease;
  }

  .section-rail a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 2px;
    width: 5px;
    height: 5px;
    border-radius: 99px;
    background: #737a84;
    box-shadow: 0 0 0 3px rgba(11,13,16,.82);
    transform: translateY(-50%);
    transition: height .22s ease, background .22s ease, box-shadow .22s ease;
  }

  .section-rail a:hover,
  .section-rail a:focus-visible,
  .section-rail a.is-active { color: var(--white); }

  .section-rail a.is-active::after {
    height: 15px;
    background: var(--red);
    box-shadow: 0 0 0 3px rgba(11,13,16,.82), 0 0 0 6px rgba(255,91,95,.1);
  }
}

.hero {
  min-height: 760px;
  padding: 172px max(24px, calc((100vw - var(--max)) / 2)) 92px;
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  gap: clamp(56px, 7vw, 110px);
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 26%, rgba(255,91,95,.12), transparent 26%),
    linear-gradient(120deg, #090b0d 0%, #101318 62%, #0b0d10 100%);
}

.hero-copy { max-width: 570px; }
.eyebrow, .section-number { margin: 0 0 28px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  font-weight: 750;
}
.eyebrow { color: #c8cbd0; display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(89,209,141,.13); animation: live-indicator 2s ease-in-out infinite; }

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 28px;
  font-size: clamp(3.8rem, 7.2vw, 7.2rem);
  line-height: .88;
  letter-spacing: -.065em;
  font-weight: 780;
}

.hero-lead { max-width: 540px; color: #b9bec5; font-size: clamp(1.05rem, 1.45vw, 1.28rem); line-height: 1.65; }
.hero-actions { margin-top: 42px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-actions p { flex-basis: 100%; margin: 5px 0 0; max-width: 370px; color: #747b84; font-size: .82rem; line-height: 1.45; }
.primary-link { display: inline-flex; align-items: center; min-height: 50px; padding: 0 23px; border: 1px solid #3b4048; border-radius: 4px; font-weight: 700; transition: border-color .2s ease, background .2s ease; }
.primary-link:hover { border-color: var(--red); background: rgba(255,91,95,.08); }
.interest-button { min-height: 50px; padding: 0 23px; border: 1px solid var(--red); border-radius: 4px; color: var(--ink); background: var(--red); font: inherit; font-weight: 750; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.interest-button:hover { border-color: var(--red-strong); background: var(--red-strong); transform: translateY(-2px); }

.portal-preview {
  min-width: 660px;
  border: 1px solid #30343b;
  border-radius: 12px;
  background: #12151a;
  box-shadow: 0 34px 100px rgba(0,0,0,.45);
  transform: perspective(1400px) rotateY(-5deg) rotateX(1deg);
  transform-origin: center left;
}

.preview-topbar { height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid #262a30; }
.preview-brand { display: flex; gap: 9px; align-items: center; }
.preview-brand img { width: 39px; }
.preview-brand span, .preview-label { font-size: .62rem; color: #747a84; letter-spacing: .12em; }
.preview-layout { display: grid; grid-template-columns: 52px 1fr; min-height: 425px; }
.preview-sidebar { border-right: 1px solid #262a30; display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 27px; }
.preview-sidebar span { width: 15px; height: 15px; border: 1px solid #4b515b; border-radius: 4px; }
.preview-sidebar .active { border-color: var(--red); background: rgba(255,91,95,.2); }
.preview-main { padding: 27px; overflow: hidden; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; }
.preview-heading small, .metrics small, .power-card small { display: block; color: #727984; font-size: .65rem; }
.preview-heading strong { display: block; margin-top: 3px; font-size: 1rem; }
.online-pill { display: flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid #273a30; border-radius: 99px; color: #97bea7; font-size: .66rem; }
.online-pill i { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.metrics article { position: relative; min-height: 105px; padding: 16px; overflow: hidden; border: 1px solid #2a2e35; border-radius: 7px; background: #171a20; }
.metrics strong { position: relative; z-index: 1; display: block; margin-top: 8px; font-size: 1.55rem; }
.metrics strong span { font-size: .7rem; color: #848a94; }
.mini-chart { position: absolute; left: 0; right: 0; bottom: 0; height: 33px; opacity: .6; clip-path: polygon(0 79%, 11% 65%, 22% 72%, 36% 30%, 50% 54%, 61% 23%, 73% 42%, 84% 12%, 100% 26%, 100% 100%, 0 100%); }
.red-chart { background: linear-gradient(to top, rgba(255,91,95,.05), rgba(255,91,95,.55)); }
.green-chart { background: linear-gradient(to top, rgba(89,209,141,.04), rgba(89,209,141,.42)); }
.preview-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 12px; margin-top: 12px; }
.fleet-list, .power-card { min-height: 186px; border: 1px solid #2a2e35; border-radius: 7px; background: #15181d; }
.fleet-list > div { min-height: 42px; padding: 0 13px; display: grid; grid-template-columns: 1.15fr .9fr .75fr; gap: 10px; align-items: center; border-top: 1px solid #24282e; font-size: .66rem; }
.fleet-list .table-head { min-height: 48px; border-top: 0; color: #6f7680; text-transform: uppercase; letter-spacing: .07em; }
.fleet-list b { justify-self: end; font-weight: 650; }
.status { justify-self: start; padding: 3px 6px; border-radius: 3px; }
.status.online { color: #72d99c; background: rgba(89,209,141,.09); }
.status.setpoint { color: #ffb6b8; background: rgba(255,91,95,.11); }
.status.alarm { color: #ffd382; background: rgba(255,186,84,.09); }
.power-card { padding: 14px; }
.power-card svg { width: 100%; margin-top: 15px; overflow: visible; }
.chart-area { fill: url(#area); }
.chart-line { fill: none; stroke: var(--red); stroke-width: 2; }
.chart-labels { display: flex; justify-content: space-between; color: #5f6670; font-size: .55rem; }

.statement, .market, .capabilities, .architecture, .company, footer { padding-left: max(24px, calc((100vw - var(--max)) / 2)); padding-right: max(24px, calc((100vw - var(--max)) / 2)); }
.statement { padding-top: 130px; padding-bottom: 130px; display: grid; grid-template-columns: .36fr 1fr; gap: 60px; }
.section-number { color: var(--red-strong); font-size: .82rem; font-weight: 650; letter-spacing: .035em; line-height: 1.35; text-transform: none; }
.statement h2, .market h2, .section-intro h2, .architecture h2, .company h2 { margin-bottom: 25px; max-width: 900px; font-size: clamp(2.25rem, 4.6vw, 4.7rem); line-height: 1.02; letter-spacing: -.05em; }
.statement > div > p { max-width: 670px; margin-left: auto; color: var(--muted-dark); font-size: 1.12rem; }

.market { padding-top: 125px; padding-bottom: 135px; background: #e9ebe7; }
.market-heading { display: grid; grid-template-columns: .36fr 1fr; gap: 60px; align-items: start; }
.market-kicker { margin: 0 0 18px; color: var(--red-strong); font-size: .88rem; font-weight: 650; letter-spacing: .035em; line-height: 1.4; text-transform: none; }
.market-stage { margin-top: 68px; display: grid; grid-template-columns: .62fr 1.38fr; border: 1px solid #cfd2ce; background: #f7f8f5; }
.market-message { padding: clamp(30px, 4vw, 54px); display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid #cfd2ce; }
.market-lead { max-width: 410px; font-size: clamp(1.16rem, 1.8vw, 1.48rem); line-height: 1.48; letter-spacing: -.018em; }
.market-points { margin-top: 54px; border-top: 1px solid #d5d8d3; }
.market-points article { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid #d5d8d3; }
.market-points span { color: var(--red-strong); font-size: .7rem; font-weight: 750; }
.market-points p { margin: 0; color: #656b74; font-size: .88rem; line-height: 1.55; }
.market-console { min-width: 0; padding: 25px; color: var(--white); background: #101318; }
.console-header { height: 42px; display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid #2a2e35; }
.console-header > div { display: flex; gap: 9px; align-items: center; color: #d8dbe0; font-size: .75rem; font-weight: 700; }
.console-header i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(255,91,95,.1); }
.console-header small { color: #666d77; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.price-plot { margin-top: 19px; padding: 20px 20px 14px; border: 1px solid #292e35; border-radius: 8px; background: #15191f; }
.plot-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.plot-heading small { display: block; color: #737b86; font-size: .65rem; }
.plot-heading strong { display: block; margin-top: 4px; font-size: 1rem; }
.negative-pill { padding: 6px 9px; border: 1px solid rgba(255,91,95,.32); border-radius: 99px; color: #ff9a9d; background: rgba(255,91,95,.08); font-size: .59rem; font-weight: 800; letter-spacing: .08em; }
.price-plot svg { display: block; width: 100%; margin-top: 13px; overflow: visible; }
.zero-line { stroke: #4a515c; stroke-width: 1; stroke-dasharray: 4 5; }
.price-area { fill: url(#price-fill); }
.price-line { fill: none; stroke: #e9ebee; stroke-width: 2.1; }
.price-point { fill: var(--red); stroke: #15191f; stroke-width: 3; }
.plot-labels { margin-top: -2px; display: flex; justify-content: space-between; color: #565e68; font-size: .57rem; }
.dispatch-flow { margin-top: 16px; display: grid; grid-template-columns: 1fr 36px 1fr 36px 1fr; align-items: center; }
.dispatch-flow article { min-height: 98px; padding: 15px; display: flex; flex-direction: column; justify-content: center; border: 1px solid #292e35; border-radius: 7px; background: #15191f; }
.dispatch-flow article small { color: #69717c; font-size: .57rem; font-weight: 750; letter-spacing: .08em; }
.dispatch-flow article strong { margin-top: 7px; font-size: .95rem; }
.dispatch-flow article span { margin-top: 3px; color: #7f8791; font-size: .65rem; }
.dispatch-flow > i { position: relative; height: 1px; background: #424852; }
.dispatch-flow > i::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid #777f89; border-right: 1px solid #777f89; transform: rotate(45deg); }
.dispatch-flow .plant-response-step { border-color: rgba(255,91,95,.32); background: rgba(255,91,95,.06); }
.dispatch-flow .plant-response-step strong { color: #ff9a9d; }

.capabilities { padding-top: 125px; padding-bottom: 135px; overflow: hidden; color: var(--white); background: var(--ink); }
.section-intro { display: grid; grid-template-columns: .36fr 1fr; gap: 60px; margin-bottom: 72px; }
.section-intro h2 { margin-bottom: 0; color: var(--white); }
.capability-kicker { margin: 0 0 18px; color: var(--red); font-size: .88rem; font-weight: 650; letter-spacing: .035em; line-height: 1.4; text-transform: none; }
.capability-system { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; border: 1px solid var(--line-dark); background: var(--line-dark); }
.capability-card { position: relative; grid-column: span 4; min-height: 365px; padding: clamp(27px, 3.2vw, 42px); overflow: hidden; background: #111419; transition: background .25s ease; }
.capability-card:hover { background: #14181d; }
.capability-card::before { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: var(--red); transition: width .45s ease; }
.capability-card:hover::before { width: 100%; }
.buffer-capability { grid-column: span 8; min-height: 430px; background: radial-gradient(circle at 70% 80%, rgba(89,209,141,.055), transparent 35%), #111419; }
.capability-top { display: flex; justify-content: space-between; align-items: flex-start; }
.capability-top > span { color: #5c636d; font-size: .75rem; font-weight: 750; }
.capability-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #353b43; border-radius: 50%; }
.capability-icon svg { width: 20px; fill: none; stroke: var(--red); stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.capability-card h3 { margin: 38px 0 13px; max-width: 490px; font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.08; letter-spacing: -.035em; }
.capability-card > p { max-width: 520px; margin-bottom: 0; color: #8d949d; font-size: 1rem; line-height: 1.6; }

.buffer-sequence {
  --buffer-cycle: 10s;
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(165px, 1fr) 34px minmax(145px, .78fr) 42px minmax(165px, 1fr);
  gap: 10px;
  align-items: center;
}
.buffer-stage { min-width: 0; min-height: 156px; padding: 13px; border: 1px solid #30363e; border-radius: 7px; background: #15191f; }
.buffer-stage-head { min-height: 20px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #7c848e; font-size: .75rem; font-weight: 750; letter-spacing: .07em; white-space: nowrap; }
.buffer-state { min-width: 0; flex: 0 0 94px; display: inline-flex; align-items: center; gap: 7px; }
.buffer-state > i, .edge-led, .portal-led { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; }
.connection-led { animation: buffer-connection-led var(--buffer-cycle) linear infinite; }
.buffer-state-label { position: relative; width: 80px; height: 1.2em; color: #aeb4bc; font-size: .75rem; font-style: normal; font-weight: 750; letter-spacing: .02em; text-align: right; }
.buffer-state-label em, .edge-memory-head b em, .portal-plot-state b { position: absolute; inset: 0; opacity: 0; font-style: normal; white-space: nowrap; }
.connection-state-connected { animation: buffer-state-connected var(--buffer-cycle) linear infinite; }
.connection-state-lost { color: #ff777b; animation: buffer-state-lost var(--buffer-cycle) linear infinite; }
.connection-state-backfill { color: #72b2ff; animation: buffer-state-backfill var(--buffer-cycle) linear infinite; }
.connection-state-synced { color: #82dca8; animation: buffer-state-synced var(--buffer-cycle) linear infinite; }

.buffer-plot { position: relative; height: 102px; margin-top: 8px; overflow: hidden; border-top: 1px solid #252a31; }
.buffer-plot svg { width: 100%; height: 76px; overflow: visible; }
.buffer-plot path { vector-effect: non-scaling-stroke; }
.buffer-axis { fill: none; stroke: #333941; stroke-width: 1; stroke-dasharray: 3 5; }
.park-signal, .portal-signal { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.park-signal { stroke-dasharray: 1; stroke-dashoffset: 1; animation: buffer-park-signal var(--buffer-cycle) linear infinite; }
.buffer-plot > small { position: absolute; left: 0; bottom: 0; color: #69717b; font-size: .75rem; font-weight: 700; letter-spacing: .06em; }

.buffer-edge { border-color: #343a43; background: #12161b; }
.edge-led { background: #4f5660; animation: buffer-edge-led var(--buffer-cycle) linear infinite; }
.edge-memory { margin-top: 15px; padding-top: 10px; border-top: 1px solid #252a31; }
.edge-memory-head { min-height: 20px; display: grid; grid-template-columns: minmax(0, 1fr) 76px; align-items: start; gap: 5px; color: #69717b; font-size: .71rem; font-weight: 700; letter-spacing: .04em; }
.edge-memory-head small { min-width: 0; }
.edge-memory-head b { position: relative; width: 76px; overflow: hidden; color: #818994; text-align: right; }
.edge-state-empty { animation: buffer-edge-empty var(--buffer-cycle) linear infinite; }
.edge-state-buffering { color: #ffbf64; animation: buffer-edge-buffering var(--buffer-cycle) linear infinite; }
.edge-state-replaying { color: #72b2ff; animation: buffer-edge-replaying var(--buffer-cycle) linear infinite; }
.edge-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 12px; }
.edge-slots > span { height: 35px; display: grid; place-items: center; overflow: hidden; border: 1px solid #30363e; border-radius: 4px; background: #171b21; }
.edge-slots svg { width: 100%; height: 23px; }
.edge-slots path { fill: none; stroke: var(--amber); stroke-width: 1.5; opacity: 0; vector-effect: non-scaling-stroke; }
.edge-slots > span:nth-child(1) path { animation: buffer-slot-one var(--buffer-cycle) linear infinite; }
.edge-slots > span:nth-child(2) path { animation: buffer-slot-two var(--buffer-cycle) linear infinite; }
.edge-slots > span:nth-child(3) path { animation: buffer-slot-three var(--buffer-cycle) linear infinite; }

.buffer-link { position: relative; height: 1px; background: #394049; }
.local-buffer-link { background: rgba(89,209,141,.38); }
.buffer-track { position: absolute; inset: 0; background: inherit; }
.buffer-link::after { content: ""; position: absolute; z-index: 2; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid #707984; border-right: 1px solid #707984; transform: rotate(45deg); }
.buffer-link > small { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); color: #5f6771; font-size: .75rem; font-weight: 700; letter-spacing: .06em; }
.buffer-stream { position: absolute; z-index: 1; inset: 0; overflow: hidden; }
.buffer-stream i { position: absolute; top: -2px; left: -5px; width: 5px; height: 5px; border-radius: 50%; animation: buffer-link-travel 1.4s linear infinite; }
.buffer-stream i:nth-child(2) { animation-delay: -.7s; }
.local-stream i, .wan-live-stream i { background: var(--green); box-shadow: 0 0 7px rgba(89,209,141,.5); }
.wan-track { animation: buffer-wan-track var(--buffer-cycle) linear infinite; }
.wan-live-stream { animation: buffer-wan-live-stream var(--buffer-cycle) linear infinite; }
.wan-backfill-stream { opacity: 0; animation: buffer-wan-backfill-stream var(--buffer-cycle) linear infinite; }
.wan-backfill-stream i { background: var(--blue); box-shadow: 0 0 7px rgba(101,168,255,.55); animation-duration: .72s; }
.wan-backfill-stream i:nth-child(2) { animation-delay: -.24s; }
.wan-backfill-stream i:nth-child(3) { animation-delay: -.48s; }
.wan-cut { position: absolute; z-index: 3; top: 50%; left: 50%; width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid rgba(255,91,95,.62); border-radius: 50%; color: #ff777b; background: #15191f; font-size: .82rem; line-height: 1; opacity: 0; transform: translate(-50%, -50%); animation: buffer-wan-cut var(--buffer-cycle) linear infinite; }

.portal-led { background: var(--green); animation: buffer-portal-led var(--buffer-cycle) linear infinite; }
.portal-signal { stroke-dasharray: 1; stroke-dashoffset: 1; animation: buffer-portal-history var(--buffer-cycle) linear infinite; }
.portal-gap { fill: none; stroke: #68717c; stroke-width: 1.3; stroke-dasharray: .035 .035; opacity: 0; animation: buffer-portal-gap var(--buffer-cycle) linear infinite; }
.portal-plot-state { right: 0; left: auto !important; width: 150px; text-align: right; }
.portal-plot-state b { color: #727b85; font-size: .75rem; }
.portal-state-live { animation: buffer-state-connected var(--buffer-cycle) linear infinite; }
.portal-state-gap { color: #ff777b !important; animation: buffer-state-lost var(--buffer-cycle) linear infinite; }
.portal-state-backfill { color: #72b2ff !important; animation: buffer-state-backfill var(--buffer-cycle) linear infinite; }
.portal-state-synced { color: #82dca8 !important; animation: buffer-state-synced var(--buffer-cycle) linear infinite; }

@keyframes buffer-connection-led {
  0%, 24%, 82%, 100% { background: var(--green); box-shadow: 0 0 0 4px rgba(89,209,141,.08); }
  26%, 56% { background: var(--red); box-shadow: 0 0 0 5px rgba(255,91,95,.1); }
  58%, 80% { background: var(--blue); box-shadow: 0 0 0 5px rgba(101,168,255,.09); }
}
@keyframes buffer-state-connected { 0%, 24% { opacity: 1; } 26%, 100% { opacity: 0; } }
@keyframes buffer-state-lost { 0%, 24%, 58%, 100% { opacity: 0; } 26%, 56% { opacity: 1; } }
@keyframes buffer-state-backfill { 0%, 56%, 82%, 100% { opacity: 0; } 58%, 80% { opacity: 1; } }
@keyframes buffer-state-synced { 0%, 80% { opacity: 0; } 82%, 100% { opacity: 1; } }
@keyframes buffer-park-signal {
  0% { stroke-dashoffset: 1; opacity: .72; }
  12%, 92% { opacity: 1; filter: drop-shadow(0 0 3px rgba(89,209,141,.2)); }
  100% { stroke-dashoffset: 0; opacity: .9; }
}
@keyframes buffer-edge-led {
  0%, 24%, 82%, 100% { background: var(--green); box-shadow: 0 0 0 4px rgba(89,209,141,.08); }
  26%, 56% { background: var(--amber); box-shadow: 0 0 0 4px rgba(255,189,98,.08); }
  58%, 80% { background: var(--blue); box-shadow: 0 0 0 4px rgba(101,168,255,.08); }
}
@keyframes buffer-edge-empty { 0%, 24%, 82%, 100% { opacity: 1; } 26%, 80% { opacity: 0; } }
@keyframes buffer-edge-buffering { 0%, 24%, 58%, 100% { opacity: 0; } 26%, 56% { opacity: 1; } }
@keyframes buffer-edge-replaying { 0%, 56%, 82%, 100% { opacity: 0; } 58%, 80% { opacity: 1; } }
@keyframes buffer-slot-one { 0%, 28%, 66%, 100% { opacity: 0; } 31%, 63% { opacity: 1; } }
@keyframes buffer-slot-two { 0%, 37%, 73%, 100% { opacity: 0; } 40%, 70% { opacity: 1; } }
@keyframes buffer-slot-three { 0%, 46%, 80%, 100% { opacity: 0; } 49%, 77% { opacity: 1; } }
@keyframes buffer-link-travel { from { left: -5px; } to { left: calc(100% + 1px); } }
@keyframes buffer-wan-track {
  0%, 24%, 82%, 100% { background: rgba(89,209,141,.38); }
  26%, 56% { background: rgba(255,91,95,.3); }
  58%, 80% { background: rgba(101,168,255,.42); }
}
@keyframes buffer-wan-live-stream { 0%, 24%, 82%, 100% { opacity: 1; } 26%, 80% { opacity: 0; } }
@keyframes buffer-wan-backfill-stream { 0%, 56%, 82%, 100% { opacity: 0; } 58%, 80% { opacity: 1; } }
@keyframes buffer-wan-cut { 0%, 24%, 58%, 100% { opacity: 0; } 27%, 56% { opacity: 1; } }
@keyframes buffer-portal-led {
  0%, 24%, 82%, 100% { background: var(--green); box-shadow: 0 0 0 4px rgba(89,209,141,.08); }
  26%, 56% { background: var(--red); box-shadow: 0 0 0 4px rgba(255,91,95,.08); }
  58%, 80% { background: var(--blue); box-shadow: 0 0 0 4px rgba(101,168,255,.08); }
}
@keyframes buffer-portal-history {
  0% { stroke-dashoffset: 1; }
  24% { stroke-dashoffset: .76; }
  26%, 56% { stroke-dashoffset: .76; }
  58% { stroke-dashoffset: .76; }
  80% { stroke-dashoffset: .2; }
  100% { stroke-dashoffset: 0; }
}
@keyframes buffer-portal-gap {
  0%, 24% { opacity: 0; stroke-dashoffset: 0; }
  26%, 56% { opacity: 1; stroke-dashoffset: 0; }
  58% { opacity: 1; stroke-dashoffset: 0; }
  80% { opacity: 1; stroke-dashoffset: -1; }
  81%, 100% { opacity: 0; stroke-dashoffset: -1; }
}

.alarm-abstract { margin-top: 34px; display: grid; grid-template-columns: 82px 1fr; gap: 22px; align-items: center; }
.cap-bell { position: relative; width: 76px; height: 76px; display: grid; place-items: center; border: 1px solid rgba(255,91,95,.35); border-radius: 50%; background: rgba(255,91,95,.055); animation: capability-bell 4.2s ease-in-out infinite; transform-origin: top center; }
.cap-bell svg { width: 30px; fill: none; stroke: var(--red); stroke-width: 1.6; }
.cap-bell b { position: absolute; top: 2px; right: 1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #17090a; background: var(--red); font-size: .7rem; animation: alarm-badge 4.2s ease-out infinite; }
@keyframes capability-bell { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(9deg); } 80% { transform: rotate(-8deg); } 85% { transform: rotate(4deg); } 90% { transform: rotate(0); } }
@keyframes alarm-badge { 0%, 68%, 100% { box-shadow: 0 0 0 0 rgba(255,91,95,0); } 76% { box-shadow: 0 0 0 7px rgba(255,91,95,.15); } 88% { box-shadow: 0 0 0 12px rgba(255,91,95,0); } }
.alarm-abstract > div:last-child { border-top: 1px solid #292e35; }
.alarm-abstract > div:last-child span { min-height: 42px; display: grid; grid-template-columns: 9px 1fr auto; gap: 8px; align-items: center; border-bottom: 1px solid #292e35; color: #858d96; font-size: .75rem; }
.alarm-abstract span i { width: 6px; height: 6px; border-radius: 50%; }
.alarm-abstract span i.critical { background: var(--red); animation: alarm-critical 2.1s ease-in-out infinite; }
.alarm-abstract span i.warning { background: var(--amber); }
.alarm-abstract span b { color: #d8dbe0; font-size: .75rem; }
@keyframes alarm-critical { 0%, 100% { opacity: .45; box-shadow: 0 0 0 0 rgba(255,91,95,0); } 50% { opacity: 1; box-shadow: 0 0 0 5px rgba(255,91,95,.09); } }

.event-abstract { position: relative; margin-top: 30px; }
.event-abstract::before { content: ""; position: absolute; top: 11px; bottom: 12px; left: 78px; width: 1px; background: #343a42; }
.event-abstract > span { position: relative; z-index: 1; min-height: 46px; display: grid; grid-template-columns: 63px 9px 1fr; gap: 11px; align-items: start; opacity: .66; animation: event-row 6s ease-in-out infinite; }
.event-abstract > span:nth-child(2) { animation-delay: 2s; }
.event-abstract > span:nth-child(3) { animation-delay: 4s; }
.event-abstract time { color: #616974; font-size: .7rem; font-variant-numeric: tabular-nums; }
.event-abstract i { width: 8px; height: 8px; margin-top: 2px; border: 2px solid #111419; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 1px #59616b; }
.event-abstract > span:nth-child(2) i { background: var(--amber); }
.event-abstract > span:nth-child(3) i { background: var(--green); }
.event-abstract b { color: #9aa1aa; font-size: .75rem; font-weight: 600; }
@keyframes event-row { 0%, 100% { opacity: .66; transform: translateX(0); } 9% { opacity: 1; transform: translateX(5px); } 24% { opacity: .82; transform: translateX(0); } }

.history-abstract { position: relative; height: 118px; margin-top: 28px; overflow: hidden; border-bottom: 1px solid #333941; background-image: linear-gradient(#242930 1px, transparent 1px), linear-gradient(90deg, #242930 1px, transparent 1px); background-size: 42px 31px; }
.history-abstract svg { position: absolute; inset: 4px 0 0; width: 100%; height: calc(100% - 5px); overflow: visible; }
.history-signal-a, .history-signal-b { fill: none; vector-effect: non-scaling-stroke; }
.history-signal-a { stroke: var(--green); stroke-width: 2; animation: history-live-signal 5.6s ease-in-out infinite; }
.history-signal-b { stroke: var(--red); stroke-width: 1.6; stroke-dasharray: 6 4; animation: history-dash 2.8s linear infinite; }
.history-abstract > i { position: absolute; left: 8%; top: 0; bottom: 0; border-left: 1px dashed #b0b6bd; opacity: 0; animation: history-cursor 5.6s ease-in-out infinite; }
@keyframes history-cursor { 0% { left: 8%; opacity: 0; } 10% { opacity: .55; } 82% { left: 91%; opacity: .55; } 93%, 100% { left: 91%; opacity: 0; } }
@keyframes history-dash { to { stroke-dashoffset: -20; } }
@keyframes history-live-signal { 0%, 100% { opacity: .65; } 20%, 82% { opacity: 1; } }

.scada-park { height: 174px; margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) 28px 98px; align-items: center; }
.park-array { position: relative; align-self: stretch; padding: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; border: 1px solid #292f36; border-radius: 7px; background-color: #0d1014; background-image: radial-gradient(circle, rgba(119,128,139,.14) .7px, transparent .8px); background-size: 11px 11px; }
.scada-unit { position: relative; min-width: 0; padding: 7px 8px; display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 6px; align-items: center; border: 1px solid #2b3138; border-radius: 4px; background: #11151a; }
.inverter-glyph { width: 24px; height: 30px; fill: none; color: #69717a; }
.inverter-glyph rect, .inverter-glyph path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.unit-data { min-width: 0; }
.unit-name { display: block; color: #8e959e; font-size: .58rem; font-weight: 750; letter-spacing: .045em; }
.unit-status { margin-top: 3px; display: grid; grid-template-columns: 5px 1fr; gap: 5px; align-items: center; color: #79d7a0; font-size: .57rem; font-weight: 760; }
.unit-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(89,209,141,.07); }
.unit-power { margin-top: 2px; display: grid; grid-template-columns: auto auto; justify-content: start; align-items: baseline; gap: 3px; color: #d3d6da; }
.unit-power b { font-size: .72rem; font-weight: 720; font-variant-numeric: tabular-nums; }
.unit-power small { color: #646c76; font-size: .53rem; }
.park-collector { position: relative; align-self: stretch; }
.park-collector::before { content: ""; position: absolute; top: 25%; bottom: 25%; left: 50%; border-left: 1px solid #59616b; }
.park-collector::after { content: ""; position: absolute; top: 50%; left: 50%; right: 0; border-top: 1px solid #59616b; }
.park-collector i { position: absolute; left: 0; width: 50%; border-top: 1px solid #464d56; }
.park-collector i:first-child { top: 25%; }
.park-collector i:nth-child(2) { top: 75%; }
.park-collector span { position: absolute; z-index: 1; top: calc(50% - 3px); right: -1px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(89,209,141,.07); animation: live-indicator 2s ease-in-out infinite; }
.relay-unit { min-height: 132px; padding: 11px 9px; display: flex; flex-direction: column; justify-content: center; border: 1px solid rgba(89,209,141,.32); border-radius: 7px; background: rgba(89,209,141,.035); }
.relay-glyph { width: 28px; height: 28px; margin-bottom: 8px; fill: none; color: #75808a; }
.relay-glyph rect, .relay-glyph circle, .relay-glyph path { fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.relay-state { margin-top: 4px; display: flex; align-items: center; gap: 5px; color: #79d7a0; font-size: .52rem; font-weight: 760; }
.relay-state i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.relay-unit > small { margin-top: 11px; color: #5f6872; font-size: .49rem; font-weight: 750; letter-spacing: .06em; }
.relay-power { margin-top: 3px; display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 4px; color: #eff1f3; }
.relay-power b { grid-area: 1 / 1; font-size: .92rem; font-weight: 760; font-variant-numeric: tabular-nums; }
.relay-power span { grid-area: 1 / 2; color: #78818b; font-size: .53rem; }
.relay-total-live { animation: inverter-run-state 7s linear infinite; }
.relay-total-fault { opacity: 0; color: #ff7c80; animation: inverter-error-state 7s linear infinite; }
.fault-unit { animation: inverter-fault-surface 7s linear infinite; }
.fault-unit .inverter-glyph { animation: inverter-fault-icon 7s linear infinite; }
.fault-unit .unit-name { animation: inverter-fault-name 7s linear infinite; }
.fault-unit .unit-status span { grid-area: 1 / 2; }
.fault-unit .unit-status i { animation: inverter-fault-dot 7s linear infinite; }
.fault-unit .unit-power b { grid-area: 1 / 1; }
.fault-unit .unit-power small { grid-area: 1 / 2; }
.fault-unit .run-copy, .fault-unit .run-power { animation: inverter-run-state 7s linear infinite; }
.fault-unit .error-copy, .fault-unit .error-power { opacity: 0; color: #ff7c80; animation: inverter-error-state 7s linear infinite; }
@keyframes inverter-fault-surface { 0%, 56%, 86%, 100% { background: #0e1115; box-shadow: inset 0 0 0 0 rgba(255,91,95,0); } 58%, 84% { background: #241416; box-shadow: inset 0 0 0 1px rgba(255,91,95,.48); } }
@keyframes inverter-fault-icon { 0%, 56%, 86%, 100% { color: #69717a; } 58%, 84% { color: var(--red); } }
@keyframes inverter-fault-name { 0%, 56%, 86%, 100% { color: #8e959e; } 58%, 84% { color: #ff9a9d; } }
@keyframes inverter-fault-dot { 0%, 56%, 86%, 100% { background: var(--green); box-shadow: 0 0 0 3px rgba(89,209,141,.07); } 58%, 84% { background: var(--red); box-shadow: 0 0 0 5px rgba(255,91,95,.1); } }
@keyframes inverter-run-state { 0%, 56%, 86%, 100% { opacity: 1; } 58%, 84% { opacity: 0; } }
@keyframes inverter-error-state { 0%, 56%, 86%, 100% { opacity: 0; } 58%, 84% { opacity: 1; } }
@keyframes live-indicator { 0%, 100% { opacity: .45; box-shadow: 0 0 0 0 rgba(89,209,141,0); } 50% { opacity: 1; box-shadow: 0 0 0 5px rgba(89,209,141,.08); } }

.market-abstract { position: relative; height: 124px; margin-top: 25px; overflow: hidden; border-bottom: 1px solid #30363e; }
.market-abstract > div { position: absolute; z-index: 2; top: 0; left: 0; display: flex; align-items: baseline; gap: 8px; }
.market-abstract small { color: #68707a; font-size: .68rem; font-weight: 750; letter-spacing: .08em; }
.market-abstract b { color: #a1a8b0; font-size: .7rem; }
.market-abstract svg { position: absolute; inset: 15px 0 0; width: 100%; height: calc(100% - 15px); overflow: visible; }
.market-abstract svg path { fill: none; stroke: #e4e6e8; stroke-width: 2; vector-effect: non-scaling-stroke; animation: market-signal 5s ease-in-out infinite; }
.market-zero { position: absolute; z-index: 1; left: 0; right: 0; top: 65%; border-top: 1px dashed #59616b; }
.market-abstract::after { content: ""; position: absolute; z-index: 3; left: 66%; top: 76%; width: 7px; height: 7px; border: 2px solid #111419; border-radius: 50%; background: var(--red); animation: market-point 2.5s ease-in-out infinite; }
.market-abstract > i { position: absolute; z-index: 2; right: 4px; bottom: 6px; color: #ff9598; font-size: .68rem; font-weight: 780; font-style: normal; letter-spacing: .08em; animation: market-negative 5s ease-in-out infinite; }
@keyframes market-signal { 0%, 100% { opacity: .55; } 24%, 78% { opacity: 1; filter: drop-shadow(0 0 0 rgba(255,255,255,0)); } 50% { filter: drop-shadow(0 0 4px rgba(255,255,255,.2)); } }
@keyframes market-point { 0%, 100% { transform: scale(.72); box-shadow: 0 0 0 0 rgba(255,91,95,0); } 50% { transform: scale(1); box-shadow: 0 0 0 7px rgba(255,91,95,.1); } }
@keyframes market-negative { 0%, 36%, 100% { opacity: .48; } 48%, 72% { opacity: 1; } }

.weather-abstract { margin-top: 28px; display: grid; grid-template-columns: .55fr 1.45fr; gap: 17px; align-items: stretch; }
.weather-abstract > div:first-child { padding-right: 16px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #2e343b; }
.weather-abstract strong { font-size: 2.9rem; line-height: 1; letter-spacing: -.06em; }
.weather-abstract > div:first-child span { margin-top: 6px; color: #717985; font-size: .72rem; }
.forecast-strip { display: grid; grid-template-columns: repeat(3, 1fr); }
.forecast-strip span { padding: 12px 7px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #2a3037; animation: forecast-step 6s ease-in-out infinite; }
.forecast-strip span:nth-child(2) { animation-delay: 2s; }
.forecast-strip span:nth-child(3) { animation-delay: 4s; }
.forecast-strip span:last-child { border-right: 0; }
.forecast-strip small { color: #606873; font-size: .68rem; font-weight: 750; }
.forecast-strip b { margin-top: 8px; color: #b9bec5; font-size: .72rem; font-weight: 650; }
@keyframes forecast-step { 0%, 100% { background: transparent; transform: translateY(0); } 10% { background: rgba(101,168,255,.075); transform: translateY(-3px); } 25% { background: transparent; transform: translateY(0); } }

.control-abstract { margin-top: 34px; }
.schedule-row { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; gap: 7px; align-items: center; }
.schedule-row small { color: #5f6771; font-size: .68rem; }
.schedule-row > span { height: 9px; border-radius: 99px; background: #30363e; }
.schedule-row > span.limited { position: relative; overflow: hidden; background: #30363e; }
.schedule-row > span.limited::after { content: ""; position: absolute; inset: 0 24% 0 28%; border-radius: inherit; background: var(--red); transform: scaleX(0); transform-origin: left; animation: control-limit 5s ease-in-out infinite; }
.control-status { margin-top: 34px; padding-top: 17px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #2d333a; }
.control-status span { display: flex; align-items: center; gap: 7px; color: #8b929b; font-size: .7rem; font-weight: 750; }
.control-status span i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: live-indicator 2s ease-in-out infinite; }
.control-status b { padding: 5px 8px; border-radius: 99px; color: #ff9a9d; background: rgba(255,91,95,.09); font-size: .68rem; font-weight: 680; animation: control-applied 5s ease-in-out infinite; }
@keyframes control-limit { 0%, 12% { transform: scaleX(0); } 38%, 82% { transform: scaleX(1); } 100% { transform: scaleX(0); transform-origin: right; } }
@keyframes control-applied { 0%, 28%, 100% { opacity: .42; } 42%, 82% { opacity: 1; box-shadow: 0 0 0 5px rgba(255,91,95,.045); } }

.notification-capability, .reporting-capability { grid-column: span 6; min-height: 390px; }
.email-abstract { margin-top: 30px; display: grid; grid-template-columns: 70px minmax(28px, 1fr) minmax(190px, 1.45fr); align-items: center; }
.email-symbol { position: relative; width: 68px; height: 68px; display: grid; place-items: center; border: 1px solid rgba(255,91,95,.34); border-radius: 50%; background: rgba(255,91,95,.05); animation: email-signal 5.6s ease-in-out infinite; }
.email-symbol svg { width: 29px; fill: none; stroke: var(--red); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.email-symbol > i { position: absolute; right: 4px; top: 5px; width: 8px; height: 8px; border: 2px solid #111419; border-radius: 50%; background: var(--red); animation: email-dot 5.6s ease-out infinite; }
.email-route { position: relative; height: 1px; overflow: hidden; background: #3c434c; }
.email-route::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid #777f89; border-right: 1px solid #777f89; transform: rotate(45deg); }
.email-route i { position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--red); animation: email-travel 5.6s ease-in-out infinite; }
.email-message { min-width: 0; padding: 15px 16px; border: 1px solid #30363e; border-radius: 7px; background: #15191f; animation: email-arrival 5.6s ease-in-out infinite; }
.email-message small { color: #ff8f93; font-size: .62rem; font-weight: 780; letter-spacing: .085em; }
.email-message strong { margin-top: 7px; display: block; overflow: hidden; color: #d3d7dc; font-size: .75rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.email-message > span { margin-top: 12px; display: flex; align-items: center; color: #68717b; font-size: .61rem; }
.email-message > span i { width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--green); }
.email-message > span b { color: #77d49d; font-size: inherit; }
@keyframes email-signal { 0%, 18%, 100% { transform: translateX(0); } 26% { transform: translateX(4px); } 34% { transform: translateX(0); } }
@keyframes email-dot { 0%, 20%, 100% { box-shadow: 0 0 0 0 rgba(255,91,95,0); } 29% { box-shadow: 0 0 0 8px rgba(255,91,95,.13); } 42% { box-shadow: 0 0 0 13px rgba(255,91,95,0); } }
@keyframes email-travel { 0%, 28% { left: 0; opacity: 0; } 34% { opacity: 1; } 57% { left: calc(100% - 5px); opacity: 1; } 62%, 100% { left: calc(100% - 5px); opacity: 0; } }
@keyframes email-arrival { 0%, 53%, 100% { border-color: #30363e; background: #15191f; } 62%, 76% { border-color: rgba(89,209,141,.38); background: rgba(89,209,141,.04); } }

.report-abstract { max-width: 640px; margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 17px; align-items: stretch; }
.report-sheet { padding: 14px 16px 12px; border: 1px solid #30363e; border-radius: 7px; background: #15191f; }
.report-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.report-head small { color: #737b85; font-size: .61rem; font-weight: 760; letter-spacing: .075em; }
.report-head span { display: flex; align-items: center; gap: 5px; color: #72d298; font-size: .57rem; font-weight: 760; animation: report-ready 5.2s ease-in-out infinite; }
.report-head span i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.report-bars { height: 61px; margin-top: 12px; padding: 0 5px 6px; display: flex; align-items: flex-end; gap: 9px; border-bottom: 1px solid #353b43; background-image: linear-gradient(#262c33 1px, transparent 1px); background-size: 100% 20px; }
.report-bars i { flex: 1; height: 46%; border-radius: 2px 2px 0 0; background: #555f69; transform-origin: bottom; animation: report-bar 5.2s ease-in-out infinite; }
.report-bars i:nth-child(2) { height: 73%; animation-delay: -.18s; }
.report-bars i:nth-child(3) { height: 57%; background: var(--red); animation-delay: -.36s; }
.report-bars i:nth-child(4) { height: 88%; animation-delay: -.54s; }
.report-metrics { margin-top: 8px; display: flex; justify-content: space-between; gap: 9px; color: #626b75; font-size: .49rem; font-weight: 700; letter-spacing: .035em; }
.report-cycle { padding: 15px 13px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid #2d333a; }
.report-cycle > i { width: 24px; height: 24px; margin-bottom: 15px; display: block; border: 1px solid #56606a; border-radius: 50%; animation: report-cycle 5.2s linear infinite; }
.report-cycle > i::before { content: ""; width: 6px; height: 6px; display: block; margin: 4px 0 0 14px; border-top: 1px solid var(--red); border-right: 1px solid var(--red); transform: rotate(23deg); }
.report-cycle span { color: #747c86; font-size: .63rem; }
.report-cycle b { margin-top: 7px; color: #d2d6da; font-size: .67rem; letter-spacing: .07em; }
@keyframes report-bar { 0%, 12%, 100% { transform: scaleY(.32); opacity: .45; } 32%, 82% { transform: scaleY(1); opacity: 1; } }
@keyframes report-ready { 0%, 30%, 100% { opacity: .46; } 42%, 84% { opacity: 1; } }
@keyframes report-cycle { 0%, 12% { transform: rotate(0); border-color: #56606a; } 45%, 82% { transform: rotate(270deg); border-color: rgba(255,91,95,.65); } 100% { transform: rotate(360deg); border-color: #56606a; } }
.architecture { padding-top: 135px; padding-bottom: 145px; }
.architecture-copy { display: grid; grid-template-columns: .36fr 1fr; gap: 60px; }
.architecture-copy > p:last-child { grid-column: 2; max-width: 740px; color: var(--muted-dark); font-size: 1.08rem; }
.architecture-blueprint {
  margin-top: 72px;
  overflow: hidden;
  border: 1px solid #272c33;
  border-radius: 12px;
  color: var(--white);
  background: #101318;
  box-shadow: 0 24px 60px rgba(11,13,16,.14);
}
.architecture-route {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid #2a2f36;
}
.route-stage {
  min-width: 0;
  min-height: 245px;
  padding: 31px 30px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #2a2f36;
}
.route-stage:last-child { border-right: 0; }
.route-index {
  display: block;
  color: #686f79;
  font-size: .69rem;
  font-weight: 720;
  letter-spacing: .08em;
}
.route-stage h3 { margin: 0 0 8px; font-size: clamp(1.08rem, 1.65vw, 1.36rem); line-height: 1.15; letter-spacing: -.025em; }
.route-stage p { margin: 0; max-width: 230px; color: #858c95; font-size: .79rem; line-height: 1.55; }
.platform-stage { background: rgba(255,91,95,.035); box-shadow: inset 0 2px 0 var(--red); }
.platform-stage .route-index { color: #ff8f92; }

.architecture-flows { padding: 26px 30px 28px; display: grid; gap: 18px; }
.architecture-flow {
  display: grid;
  grid-template-columns: minmax(205px, .3fr) 1fr;
  gap: 22px;
  align-items: center;
  color: #9299a2;
  font-size: .72rem;
  font-weight: 650;
}
.architecture-flow > i { position: relative; height: 1px; background: #434a54; }
.architecture-flow > i::after,
.architecture-flow > i::before { position: absolute; top: -10px; color: #949ba4; font-size: .9rem; font-style: normal; line-height: 1; }
.telemetry-flow > i::after { content: "→"; right: -2px; }
.control-flow > i::before { content: "←"; left: -2px; }
.architecture-flow b {
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0;
  box-shadow: 0 0 8px rgba(255,91,95,.58);
  animation: route-forward 5.2s linear infinite;
}
.control-flow b { background: #c8cdd3; box-shadow: 0 0 7px rgba(200,205,211,.45); animation-name: route-reverse; }
@keyframes route-forward { 0% { left: 0; opacity: 0; } 10%, 90% { opacity: 1; } 100% { left: calc(100% - 5px); opacity: 0; } }
@keyframes route-reverse { 0% { left: calc(100% - 5px); opacity: 0; } 10%, 90% { opacity: 1; } 100% { left: 0; opacity: 0; } }

.company { padding-top: 115px; padding-bottom: 105px; color: var(--ink); background: var(--red); }
.company-heading { display: grid; grid-template-columns: .36fr 1fr; gap: 60px; }
.company .section-number { color: #6e1518; }
.company h2 { margin-bottom: 0; }
.inhouse-lockup { margin-top: 70px; padding: clamp(16px, 1.8vw, 24px) 0; display: flex; align-items: center; gap: clamp(20px, 4vw, 58px); border-top: 1px solid rgba(11,13,16,.28); border-bottom: 1px solid rgba(11,13,16,.28); }
.inhouse-lockup strong { display: block; font-size: clamp(6.6rem, 18vw, 15.5rem); line-height: .82; letter-spacing: -.095em; font-weight: 800; transform: translateY(-.055em); }
.inhouse-lockup span { font-size: clamp(1.1rem, 2.2vw, 2rem); line-height: 1.03; font-weight: 750; text-transform: uppercase; letter-spacing: -.025em; }
.inhouse-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; background: rgba(11,13,16,.25); border: 1px solid rgba(11,13,16,.25); }
.inhouse-benefits article { min-height: 220px; padding: 28px; background: var(--red); }
.inhouse-benefits span { font-size: .72rem; font-weight: 750; color: #7d1b1f; }
.inhouse-benefits h3 { margin: 58px 0 13px; font-size: 1.35rem; letter-spacing: -.025em; }
.inhouse-benefits p { margin-bottom: 0; max-width: 310px; color: #5d1a1c; font-size: .9rem; }

footer { min-height: 128px; padding-top: 38px; padding-bottom: 30px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; color: #a4a9b0; background: var(--ink); }
.footer-name { margin: 0; color: var(--white); font-size: .9rem; font-weight: 700; letter-spacing: .035em; }
.footer-contact { display: flex; flex-direction: column; gap: 7px; }
.footer-email { width: fit-content; color: #8b929b; font-size: .82rem; transition: color .2s ease; }
.footer-email:hover { color: var(--red); }
.footer-links { justify-self: end; display: flex; gap: 26px; font-size: .86rem; }
.footer-links a:hover { color: var(--white); }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid #2a2e34; color: #5f6670; font-size: .75rem; }

body.dialog-open { overflow: hidden; }

.interest-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid #30353d;
  border-radius: 14px;
  color: var(--white);
  background: #101318;
  box-shadow: 0 34px 110px rgba(0,0,0,.58);
}

.interest-dialog[open] { animation: interest-dialog-in .22s ease-out both; }
.interest-dialog::backdrop { background: rgba(4,5,7,.78); backdrop-filter: blur(6px); }
.interest-panel { position: relative; padding: clamp(32px, 5vw, 52px); }
.interest-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid #30353d; border-radius: 50%; color: #aeb4bc; background: #15191f; font: inherit; cursor: pointer; transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.interest-close:hover { color: var(--white); border-color: #555d67; transform: rotate(4deg); }
.interest-close svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.interest-kicker { margin: 0 0 17px; color: var(--red); font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.interest-dialog h2 { max-width: 470px; margin: 0 58px 17px 0; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -.045em; }
.interest-intro { max-width: 500px; margin-bottom: 31px; color: #9da4ad; font-size: 1rem; line-height: 1.6; }
.interest-form { display: grid; gap: 20px; }
.interest-contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.interest-field { display: grid; gap: 8px; color: #c5cad0; font-size: .88rem; font-weight: 650; }
.interest-field span { display: flex; align-items: baseline; justify-content: space-between; }
.interest-field small { color: #69717b; font-size: .75rem; font-weight: 500; }
.interest-field input,
.interest-field textarea { width: 100%; border: 1px solid #343a43; border-radius: 6px; color: var(--white); background: #15191f; font: inherit; font-size: 1rem; outline: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.interest-field input { min-height: 50px; padding: 0 14px; }
.interest-field textarea { min-height: 116px; padding: 13px 14px; resize: vertical; }
.interest-field input:hover,
.interest-field textarea:hover { border-color: #4a525d; }
.interest-field input:focus,
.interest-field textarea:focus { border-color: var(--red); background: #181c22; box-shadow: 0 0 0 3px rgba(255,91,95,.1); }
.interest-hint,
.interest-error { margin: -11px 0 0; font-size: .78rem; line-height: 1.45; }
.interest-hint { color: #707781; }
.interest-error { color: #ff8589; }
.interest-submit { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid var(--red); border-radius: 6px; color: var(--ink); background: var(--red); font: inherit; font-weight: 750; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.interest-submit:hover { border-color: var(--red-strong); background: var(--red-strong); transform: translateY(-2px); }
.interest-submit svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.interest-privacy { margin: -8px 0 0; color: #69717b; font-size: .76rem; line-height: 1.45; text-align: center; }
.interest-fallback { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid #292e35; color: #777f89; font-size: .84rem; text-align: center; }
.interest-fallback a { color: var(--white); border-bottom: 1px solid #4a515a; transition: color .2s ease, border-color .2s ease; }
.interest-fallback a:hover { color: var(--red); border-color: var(--red); }

@keyframes interest-dialog-in {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

@media (min-width: 1200px) and (max-height: 850px) {
  :root { --max: 1120px; }
  .hero { min-height: 700px; padding-top: 140px; padding-bottom: 64px; gap: clamp(48px, 5vw, 68px); }
  .hero h1 { font-size: clamp(3.8rem, 6vw, 6rem); }
  .portal-preview { min-width: 580px; }
  .capability-card { grid-column: span 6; }
  .buffer-capability, .reporting-capability { grid-column: span 12; }
}

@media (max-width: 1199px) {
  .buffer-capability { grid-column: span 12; }
}

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 155px; }
  .hero-copy { max-width: 720px; }
  .portal-preview { min-width: 760px; width: 88vw; transform: none; }
  .market-stage { grid-template-columns: 1fr; }
  .market-message { border-right: 0; border-bottom: 1px solid #cfd2ce; }
  .market-points { display: grid; grid-template-columns: repeat(3, 1fr); }
  .market-points article { grid-template-columns: 28px 1fr; padding-right: 20px; border-right: 1px solid #d5d8d3; }
  .market-points article:last-child { padding-left: 20px; border-right: 0; }
  .capability-card { grid-column: span 6; }
  .buffer-capability { grid-column: span 12; }
  .reporting-capability { grid-column: span 12; }
  .company-heading { grid-template-columns: .3fr 1fr; }
}

@media (max-width: 760px) {
  .site-header { width: calc(100% - 32px); height: 76px; }
  .brand-name { display: none; }
  .brand-mark { width: 65px; flex-basis: 65px; }
  .brand-signal { width: 34px; height: 15px; }
  .portal-button { min-height: 40px; padding: 0 15px; }
  .header-actions { gap: 8px; }
  .language-switcher { gap: 1px; padding-left: 3px; padding-right: 3px; }
  .language-switcher button { min-width: 27px; padding: 0 4px; }
  .hero { min-height: auto; padding: 128px 18px 70px; gap: 48px; }
  h1 { font-size: clamp(3.25rem, 18vw, 5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-actions p { max-width: none; }
  .portal-preview { min-width: 0; width: 780px; transform: scale(.74); transform-origin: top left; margin-bottom: -115px; }
  .statement, .market-heading, .section-intro, .architecture-copy, .company-heading { grid-template-columns: 1fr; }
  .statement, .market, .capabilities, .architecture, .company, footer { padding-left: 20px; padding-right: 20px; }
  .statement { padding-top: 90px; padding-bottom: 90px; gap: 20px; }
  .statement > div > p { margin-left: 0; }
  .market { padding-top: 88px; padding-bottom: 92px; }
  .market-heading { gap: 20px; }
  .market-stage { margin-top: 44px; }
  .market-message { padding: 27px 22px; }
  .market-points { display: block; margin-top: 34px; }
  .market-points article, .market-points article:last-child { padding: 16px 0; border-right: 0; }
  .market-console { padding: 14px; }
  .console-header small { display: none; }
  .price-plot { padding: 16px 14px 12px; }
  .negative-pill { font-size: .52rem; }
  .dispatch-flow { grid-template-columns: 1fr 23px 1fr 23px 1fr; }
  .dispatch-flow article { min-height: 88px; padding: 11px; }
  .dispatch-flow article span { display: none; }
  .capabilities { padding-top: 90px; padding-bottom: 90px; }
  .section-intro { gap: 20px; margin-bottom: 45px; }
  .capability-system { grid-template-columns: 1fr; }
  .capability-card, .buffer-capability { grid-column: 1; min-height: 340px; }
  .buffer-capability { min-height: 0; }
  .buffer-sequence { grid-template-columns: 1fr; gap: 8px; }
  .buffer-link { width: 42px; justify-self: center; margin: 17px 0; transform: rotate(90deg); }
  .buffer-link > small { display: none; }
  .buffer-stage { width: 100%; }
  .weather-abstract { grid-template-columns: .65fr 1.35fr; }
  .report-abstract { grid-template-columns: minmax(0, 1fr) 118px; }
  .architecture { padding-top: 90px; padding-bottom: 90px; }
  .architecture-copy { gap: 20px; }
  .architecture-copy > p:last-child { grid-column: auto; }
  .architecture-blueprint { margin-top: 50px; border-radius: 10px; }
  .architecture-route { grid-template-columns: 1fr; }
  .route-stage { min-height: 148px; padding: 24px; border-right: 0; border-bottom: 1px solid #2a2f36; }
  .route-stage:last-child { border-bottom: 0; }
  .route-index { margin-bottom: 34px; }
  .architecture-flows { padding: 23px 24px 25px; }
  .architecture-flow { grid-template-columns: 1fr; gap: 9px; }
  .company { padding-top: 90px; padding-bottom: 80px; }
  .company-heading { gap: 20px; }
  .inhouse-lockup { margin-top: 48px; }
  .inhouse-benefits { grid-template-columns: 1fr; }
  .inhouse-benefits article { min-height: 180px; }
  .inhouse-benefits h3 { margin-top: 42px; }
  footer { grid-template-columns: 1fr; }
  .footer-links { justify-self: start; flex-wrap: wrap; }
  .copyright { grid-column: auto; }
  .interest-dialog { width: min(620px, calc(100% - 20px)); max-height: calc(100vh - 20px); border-radius: 10px; }
  .interest-panel { padding: 31px 22px 26px; }
  .interest-close { top: 13px; right: 13px; }
  .interest-dialog h2 { margin-right: 45px; }
  .interest-contact-fields { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .portal-preview { transform: scale(.56); margin-bottom: -190px; }
  .statement h2, .market h2, .section-intro h2, .architecture h2, .company h2 { font-size: 2.45rem; }
  .plot-heading { align-items: flex-start; }
  .negative-pill { max-width: 92px; text-align: center; }
  .dispatch-flow { grid-template-columns: 1fr; gap: 8px; }
  .dispatch-flow > i { width: 1px; height: 18px; justify-self: center; }
  .dispatch-flow > i::after { right: -3px; top: auto; bottom: 0; transform: rotate(135deg); }
  .capability-card { padding: 25px 23px; }
  .capability-card h3 { margin-top: 32px; }
  .buffer-capability { min-height: 0; }
  .buffer-stage-head { white-space: normal; }
  .buffer-state-label { width: 80px; }
  .alarm-abstract { grid-template-columns: 72px 1fr; gap: 16px; }
  .cap-bell { width: 68px; height: 68px; }
  .weather-abstract { grid-template-columns: 1fr; }
  .weather-abstract > div:first-child { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid #2e343b; }
  .forecast-strip span { padding-left: 4px; padding-right: 4px; }
  .scada-park { grid-template-columns: minmax(0, 1fr) 23px 91px; }
  .park-array { padding: 6px; gap: 5px; }
  .scada-unit { padding-left: 6px; padding-right: 6px; grid-template-columns: 22px minmax(0, 1fr); gap: 5px; }
  .inverter-glyph { width: 21px; height: 27px; }
  .email-abstract { grid-template-columns: 58px 24px minmax(0, 1fr); }
  .email-symbol { width: 56px; height: 56px; }
  .email-message { padding-left: 12px; padding-right: 12px; }
  .report-abstract { grid-template-columns: 1fr; gap: 13px; }
  .report-cycle { min-height: 65px; padding: 11px 13px; display: grid; grid-template-columns: 28px 1fr auto; gap: 9px; align-items: center; border-top: 1px solid #2d333a; border-left: 0; }
  .report-cycle > i { margin: 0; }
  .report-cycle b { margin: 0; }
}

@media (max-width: 380px) {
  .portal-button { padding: 0 11px; gap: 6px; }
  .portal-button svg { width: 15px; }
  .language-switcher { font-size: .62rem; }
  .language-switcher button { min-width: 24px; }
  .scada-park { grid-template-columns: minmax(0, 1fr) 20px 84px; }
  .scada-unit { grid-template-columns: 1fr; }
  .inverter-glyph { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .brand-signal polyline,
  .brand-signal circle,
  .interest-dialog[open],
  .eyebrow span,
  .cap-bell,
  .cap-bell b,
  .alarm-abstract span i.critical,
  .connection-led,
  .connection-state-connected,
  .connection-state-lost,
  .connection-state-backfill,
  .connection-state-synced,
  .park-signal,
  .edge-led,
  .edge-state-empty,
  .edge-state-buffering,
  .edge-state-replaying,
  .edge-slots path,
  .buffer-stream,
  .buffer-stream i,
  .wan-track,
  .wan-cut,
  .portal-led,
  .portal-signal,
  .portal-gap,
  .portal-state-live,
  .portal-state-gap,
  .portal-state-backfill,
  .portal-state-synced,
  .event-abstract > span,
  .history-signal-a,
  .history-signal-b,
  .history-abstract > i,
  .fault-unit,
  .fault-unit .inverter-glyph,
  .fault-unit .unit-name,
  .fault-unit .unit-status i,
  .fault-unit .run-copy,
  .fault-unit .run-power,
  .fault-unit .error-copy,
  .fault-unit .error-power,
  .relay-total-live,
  .relay-total-fault,
  .park-collector span,
  .market-abstract svg path,
  .market-abstract::after,
  .market-abstract > i,
  .forecast-strip span,
  .schedule-row > span.limited::after,
  .control-status span i,
  .control-status b,
  .email-symbol,
  .email-symbol > i,
  .email-route i,
  .email-message,
  .report-head span,
  .report-bars i,
  .report-cycle > i,
  .architecture-flow b { animation: none !important; }
  .connection-led, .portal-led { background: var(--green); box-shadow: 0 0 0 4px rgba(89,209,141,.08); }
  .edge-led { background: var(--green); box-shadow: 0 0 0 4px rgba(89,209,141,.08); }
  .connection-state-connected, .edge-state-empty, .portal-state-live { opacity: 1; }
  .connection-state-lost, .connection-state-backfill, .connection-state-synced,
  .edge-state-buffering, .edge-state-replaying,
  .portal-state-gap, .portal-state-backfill, .portal-state-synced { opacity: 0; }
  .edge-slots path, .portal-gap, .wan-cut, .buffer-stream { display: none; }
  .park-signal, .portal-signal { stroke-dashoffset: 0; }
  .brand-signal polyline { stroke-dashoffset: 0; opacity: 1; }
  .brand-signal circle { transform: none; }
  .event-abstract > span { opacity: 1; transform: none; }
  .history-abstract > i { left: 65%; opacity: .5; }
  .schedule-row > span.limited::after { transform: scaleX(1); }
  .fault-unit { background: #241416; box-shadow: inset 0 0 0 1px rgba(255,91,95,.48); }
  .fault-unit .inverter-glyph { color: var(--red); }
  .fault-unit .unit-name { color: #ff9a9d; }
  .fault-unit .unit-status i { background: var(--red); box-shadow: 0 0 0 5px rgba(255,91,95,.1); }
  .fault-unit .run-copy, .fault-unit .run-power { opacity: 0; }
  .fault-unit .error-copy, .fault-unit .error-power { opacity: 1; }
  .relay-total-live { opacity: 0; }
  .relay-total-fault { opacity: 1; }
  .telemetry-flow b { left: 70%; opacity: 1; }
  .control-flow b { left: 30%; opacity: 1; }
}

/* DMS responsive sizing fix — 2026-09-13 */
@media (min-width: 1081px) {
  :root {
    --max: 1080px;
  }

  .hero {
    min-height: 680px;
    padding-top: 140px;
    padding-bottom: 72px;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(42px, 5vw, 70px);
  }

  h1 {
    font-size: clamp(3.6rem, 5.25vw, 5.6rem);
  }

  .statement h2,
  .market h2,
  .section-intro h2,
  .architecture h2,
  .company h2 {
    font-size: clamp(2.2rem, 3.5vw, 3.65rem);
  }

  .portal-preview {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 1080px) {
  .portal-preview {
    width: 100%;
    max-width: 760px;
    min-width: 0;
    transform: none;
  }
}

@media (max-width: 760px) {
  .portal-preview {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-bottom: 0;
    overflow: hidden;
    transform: none;
  }

  .preview-layout {
    min-width: 0;
    min-height: 0;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .preview-main {
    min-width: 0;
    padding: 16px;
  }

  .preview-grid {
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .metrics,
  .fleet-list,
  .power-card {
    min-width: 0;
  }

  .inhouse-lockup {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }

  .inhouse-lockup strong {
    max-width: 100%;
    font-size: clamp(4.6rem, 24vw, 8rem);
  }

  .inhouse-lockup span {
    max-width: 16ch;
    font-size: clamp(1rem, 5vw, 1.35rem);
  }
}

@media (max-width: 520px) {
  .preview-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .preview-sidebar {
    display: none;
  }

  .preview-main {
    padding: 14px 12px;
  }
}
