.brand-b-theme {
  --ink: #171a1e;
  --muted: #56616e;
  --teal: #1f5ed5;
  --teal-dark: #002f6c;
  --green: #03b585;
  --green-dark: #008765;
  --sun: #1f5ed5;
  --surface: #ffffff;
  --mint: #f3f7ff;
  --mint-strong: #e5edfc;
  --line: #d7e0ed;
  --graphite: #171a1e;
  --shadow: 0 14px 32px rgba(0, 47, 108, 0.09);
  background: #ffffff;
  color: var(--ink);
}

.brand-b-theme .site-header {
  min-height: 80px;
  border-top: 4px solid var(--teal);
  border-bottom-color: #dbe3ef;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 18px rgba(0, 47, 108, 0.06);
}

.brand-b-theme .site-header::after {
  position: absolute;
  top: -4px;
  right: 0;
  width: min(24vw, 360px);
  height: 4px;
  background: var(--green);
  content: "";
}

.brand-b-theme .brand {
  align-items: center;
  gap: 10px;
}

.brand-picto {
  width: 28px;
  height: 28px;
}

.brand-name {
  color: var(--teal);
  font-family: "Arial Black", "Segoe UI", Arial, sans-serif;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
}

.brand-b-theme .site-nav {
  color: #24364b;
}

.brand-b-theme .site-nav > a:not(.nav-action)::after {
  background: var(--green);
}

.brand-b-theme .nav-action,
.brand-b-theme .primary-link {
  border-radius: 5px;
  border-color: var(--teal);
  background: var(--teal);
}

.brand-b-theme .nav-action:hover,
.brand-b-theme .nav-action:focus-visible,
.brand-b-theme .primary-link:hover,
.brand-b-theme .primary-link:focus-visible {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.brand-b-theme .hero {
  border-bottom-color: #dbe3ef;
  background: #ffffff;
}

.brand-b-theme .hero-copy {
  width: min(52%, 690px);
}

.brand-b-theme .hero-brand {
  position: absolute;
  top: clamp(58px, 7vw, 92px);
  right: clamp(36px, 7vw, 112px);
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  margin: 0;
  color: var(--teal-dark);
  font-family: "Arial Black", "Segoe UI", Arial, sans-serif;
  font-size: clamp(38px, 3.2vw, 56px);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.92), 0 1px 0 #ffffff;
}

.brand-b-theme .hero-brand img {
  display: block;
  width: clamp(72px, 6vw, 96px);
  height: clamp(72px, 6vw, 96px);
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.9));
}

.brand-b-theme .hero-statement {
  color: var(--teal-dark);
  font-weight: 780;
}

.brand-b-theme .hero-text {
  color: #3f4e5f;
}

.brand-b-theme .hero-media {
  border-left: 6px solid var(--green);
}

.brand-b-theme .section-label {
  color: var(--teal);
}

.brand-b-theme .section h2,
.brand-b-theme .chart-heading h3,
.brand-b-theme .system-node h3,
.brand-b-theme .assurance-strip h3 {
  color: var(--teal-dark);
}

.brand-b-theme .principle {
  background: var(--mint);
}

.brand-b-theme .steps li + li {
  border-color: #cbd7e9;
}

.brand-b-theme .step-icon {
  border: 1px solid #cdd9eb;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(31, 94, 213, 0.08);
}

.brand-b-theme .results {
  background: #ffffff;
}

.brand-b-theme .chart-panel {
  border-top: 4px solid var(--teal);
  border-radius: 6px;
}

.brand-b-theme .weekly-panel {
  border-top-color: var(--green);
  background: #fbfefd;
}

.regulatory-bridge {
  border-top: 1px solid #ccd9ec;
  border-bottom: 1px solid #ccd9ec;
  background: #e9f0fb;
}

.regulatory-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  gap: 96px;
  align-items: end;
}

.regulatory-copy > p {
  margin: 0;
  color: #40536a;
  font-size: 17px;
  line-height: 1.55;
}

.regulatory-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.regulatory-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 180ms ease;
}

.regulatory-link:hover svg,
.regulatory-link:focus-visible svg {
  transform: translateX(3px);
}

.regulatory-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 58px 0 0;
  border-top: 1px solid #becde3;
  border-bottom: 1px solid #becde3;
}

.regulatory-figures > div {
  padding: 25px 30px;
}

.regulatory-figures > div:first-child {
  padding-left: 0;
}

.regulatory-figures > div + div {
  border-left: 1px solid #becde3;
}

.regulatory-figures dt {
  color: var(--teal);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.regulatory-figures dd {
  max-width: 310px;
  margin: 10px 0 0;
  color: #4b5e73;
  font-size: 14px;
  line-height: 1.5;
}

.brand-b-theme .chart-source {
  color: var(--teal);
}

.brand-b-theme .icon-button {
  border-color: #bdcbe0;
  border-radius: 5px;
}

.brand-b-theme .energy-chart:focus-visible {
  outline-color: rgba(31, 94, 213, 0.3);
}

.brand-b-theme .grid-line {
  stroke: #e0e6ef;
}

.brand-b-theme .axis-line,
.brand-b-theme .focus-line {
  stroke: #9aa8ba;
}

.brand-b-theme .axis-text,
.brand-b-theme .axis-unit {
  fill: #566579;
}

.brand-b-theme .system-section {
  background: #f3f7ff;
}

.brand-b-theme .system-node {
  border-color: #cfdaea;
  border-top: 4px solid var(--teal);
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0, 47, 108, 0.06);
}

.brand-b-theme .hardware-node {
  border-top-color: var(--green);
}

.brand-b-theme .equipment-visual,
.brand-b-theme .flow-connector,
.brand-b-theme .system-index {
  color: var(--teal);
}

.brand-b-theme .equipment-visual {
  grid-template-rows: 1fr;
  height: 150px;
  margin-inline: 0;
  overflow: hidden;
}

.brand-b-theme .equipment-visual img {
  width: 100%;
  height: 138px;
  object-fit: contain;
  transform: scale(1.35);
}

.brand-b-theme .system-protocols,
.brand-b-theme .assurance-word,
.brand-b-theme .system-feedback p {
  color: var(--green-dark);
}

.brand-b-theme .system-feedback,
.brand-b-theme .assurance-strip article + article {
  border-color: #c8d5e7;
}

.brand-b-theme .system-feedback strong {
  color: #233b59;
}

.monitoring-branch {
  position: relative;
  width: min(100%, 1080px);
  margin: 0 auto;
  padding-top: 108px;
}

.monitoring-link {
  position: absolute;
  top: 8px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--green-dark);
  transform: translateX(-50%);
}

.monitoring-link span {
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.monitoring-link svg {
  width: 30px;
  height: 68px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.monitoring-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 34px;
  align-items: center;
  padding: 24px;
  border: 1px solid #cfdaea;
  border-top: 4px solid var(--green);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 47, 108, 0.08);
}

.monitor-screen {
  display: block;
  overflow: hidden;
  border: 1px solid #c7d4e6;
  border-radius: 5px;
  background: #ffffff;
  color: inherit;
  box-shadow: 0 8px 18px rgba(0, 47, 108, 0.08);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.monitor-screen-link:hover {
  border-color: var(--teal);
  box-shadow: 0 14px 28px rgba(0, 47, 108, 0.16);
  transform: translateY(-2px);
}

.monitor-screen-link:focus-visible {
  outline: 3px solid rgba(31, 94, 213, 0.32);
  outline-offset: 4px;
}

.monitor-screen-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 29px;
  padding: 0 10px;
  background: var(--teal-dark);
}

.monitor-screen-bar > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.monitor-screen-bar strong {
  margin-left: auto;
  color: #ffffff;
  font-size: 9px;
  letter-spacing: 0;
}

.monitor-dashboard-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1604 / 813;
  object-fit: contain;
}

.monitoring-copy .system-index {
  margin-bottom: 8px;
}

.monitoring-copy h3 {
  margin: 0 0 9px;
  color: var(--teal-dark);
  font-size: 22px;
  line-height: 1.2;
}

.monitoring-copy > p:not(.system-index):not(.monitoring-features) {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.monitoring-copy .monitoring-features {
  margin: 16px 0 0;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.field-reference {
  border-top: 1px solid #d7e0ed;
  background: #ffffff;
}

.reference-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1.42fr);
  gap: 88px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.reference-portrait {
  width: 100%;
  max-width: 350px;
  margin: 0;
  justify-self: end;
}

.reference-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid #cfdaea;
  border-radius: 6px;
  object-fit: cover;
  object-position: center 12%;
  box-shadow: 0 18px 38px rgba(0, 47, 108, 0.13);
}

.reference-content h2 {
  max-width: 760px;
  margin: 0;
  color: var(--teal-dark);
  font-size: 46px;
  font-weight: 780;
  line-height: 1.08;
}

.reference-lead {
  max-width: 780px;
  margin: 24px 0 0;
  color: #3f4e5f;
  font-size: 17px;
  line-height: 1.65;
}

.reference-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 23px 0 0;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.reference-status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(3, 181, 133, 0.12);
}

.reference-testimonial {
  max-width: 820px;
  margin: 34px 0 26px;
  padding: 2px 0 3px 28px;
  border-left: 4px solid var(--green);
}

.reference-testimonial > p {
  margin: 0;
  color: var(--teal-dark);
  font-size: 22px;
  font-weight: 620;
  line-height: 1.45;
}

.reference-testimonial cite {
  display: grid;
  gap: 3px;
  margin-top: 20px;
  color: #56616e;
  font-size: 14px;
  font-style: normal;
  line-height: 1.4;
}

.reference-testimonial cite strong {
  color: var(--teal-dark);
  font-size: 15px;
}

.reference-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.reference-link:hover,
.reference-link:focus-visible {
  color: var(--teal-dark);
}

.reference-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.brand-b-theme .closing {
  border-top: 7px solid var(--green);
  background: var(--teal-dark);
}

.brand-b-theme .closing .section-label {
  color: #72e5c5;
}

.brand-b-theme .primary-link.inverse {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--teal-dark);
}

.brand-b-theme .primary-link.inverse:hover,
.brand-b-theme .primary-link.inverse:focus-visible {
  border-color: #dce7f9;
  background: #dce7f9;
}

.brand-b-theme .site-footer {
  display: block;
  padding: 42px max(28px, calc((100% - var(--content)) / 2)) 20px;
  background: #171a1e;
  color: #cfd8e4;
}

.brand-b-theme .footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: start;
}

.brand-b-theme .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
}

.brand-b-theme .footer-brand img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}

.brand-b-theme .site-footer .footer-brand span {
  color: #ffffff;
  font-weight: 900;
}

.brand-b-theme .footer-intro {
  max-width: 430px;
  margin: 13px 0 0;
  color: #aeb9c7;
  font-size: 14px;
  line-height: 1.5;
}

.brand-b-theme .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  justify-content: flex-end;
}

.brand-b-theme .footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.brand-b-theme .footer-links a:hover,
.brand-b-theme .footer-links a:focus-visible {
  color: #72e5c5;
}

.brand-b-theme .footer-links svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.brand-b-theme .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid #343a42;
  color: #8592a2;
  font-size: 11px;
}

.brand-b-theme .site-footer .footer-bottom span {
  color: inherit;
  font-weight: 500;
}

@media (max-width: 940px) {
  .regulatory-intro {
    gap: 52px;
  }

  .monitoring-branch {
    padding-top: 104px;
  }

  .reference-layout {
    grid-template-columns: minmax(230px, 0.5fr) minmax(0, 1fr);
    gap: 52px;
  }

  .reference-content h2 {
    font-size: 38px;
  }

  .reference-testimonial > p {
    font-size: 19px;
  }

  .brand-b-theme .footer-main {
    grid-template-columns: minmax(0, 0.8fr) minmax(310px, 1fr);
    gap: 36px;
  }
}

@media (max-width: 760px) {
  .brand-b-theme .site-header {
    min-height: 70px;
  }

  .brand-picto {
    width: 25px;
    height: 25px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-b-theme .menu-toggle {
    border-color: #cbd7e8;
    border-radius: 5px;
    color: var(--teal-dark);
  }

  .brand-b-theme .site-nav {
    border-bottom-color: #cbd7e8;
    box-shadow: 0 14px 24px rgba(0, 47, 108, 0.12);
  }

  .brand-b-theme .hero-brand {
    top: 50%;
    right: 24px;
    margin: 0;
    font-size: clamp(30px, 9vw, 40px);
    transform: translateY(-50%);
  }

  .brand-b-theme .hero-brand img {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
  }

  .brand-b-theme .hero-copy {
    width: auto;
  }

  .brand-b-theme .hero-media {
    border-bottom: 5px solid var(--green);
    border-left: 0;
  }

  .brand-b-theme .steps li + li,
  .brand-b-theme .assurance-strip article + article {
    border-color: #c8d5e7;
  }

  .regulatory-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .regulatory-copy > p {
    font-size: 16px;
  }

  .regulatory-figures {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .regulatory-figures > div,
  .regulatory-figures > div:first-child {
    padding: 21px 0;
  }

  .regulatory-figures > div + div {
    border-top: 1px solid #becde3;
    border-left: 0;
  }

  .regulatory-figures dt {
    font-size: 29px;
  }

  .brand-b-theme .equipment-visual {
    height: 150px;
  }

  .monitoring-branch {
    padding-top: 104px;
  }

  .monitoring-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }

  .monitor-screen {
    width: 100%;
  }

  .monitoring-copy h3 {
    font-size: 20px;
  }

  .reference-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .reference-portrait {
    width: min(68vw, 250px);
    justify-self: center;
  }

  .reference-content h2 {
    font-size: 34px;
    line-height: 1.13;
  }

  .reference-lead {
    margin-top: 20px;
    font-size: 16px;
  }

  .reference-testimonial {
    margin-top: 30px;
    padding-left: 20px;
  }

  .reference-testimonial > p {
    font-size: 18px;
  }

  .brand-b-theme .site-footer {
    padding: 36px 24px 18px;
  }

  .brand-b-theme .footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .brand-b-theme .site-footer span {
    display: inline;
  }

  .brand-b-theme .footer-links {
    display: grid;
    gap: 4px;
    justify-content: stretch;
  }

  .brand-b-theme .footer-links a {
    justify-content: space-between;
    min-height: 42px;
    border-bottom: 1px solid #343a42;
  }

  .brand-b-theme .footer-bottom {
    display: grid;
    gap: 6px;
    margin-top: 28px;
  }

  .brand-b-theme .site-footer .footer-bottom span + span {
    margin-top: 0;
  }
}
