@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

/* Focused brand layer for consent, offline and public legal surfaces only. */
.utility-brand-page {
  --ub-emerald: #0F9D58;
  --ub-deep: #086B44;
  --ub-mint: #E6F7EE;
  --ub-paper: #FAFCF8;
  --ub-charcoal: #1F2937;
  --ub-muted: #627168;
  --ub-line: #dcebe1;
  color: var(--ub-charcoal);
  background: var(--ub-paper) !important;
  background-image:
    radial-gradient(ellipse at 12% 6%, rgba(15, 157, 88, .075), transparent 32%),
    linear-gradient(145deg, transparent 62%, rgba(230, 247, 238, .58)) !important;
}

.utility-brand-page,
.utility-brand-page * {
  box-sizing: border-box;
}

.utility-brand-layout {
  display: grid;
  grid-template-columns: minmax(235px, .76fr) minmax(0, 1.5fr);
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid rgba(8, 107, 68, .12) !important;
  border-radius: 25px !important;
  background: #fff !important;
  box-shadow: 0 22px 65px rgba(29, 77, 48, .12) !important;
}

.utility-brand-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 34px 30px;
  background:
    radial-gradient(circle at 100% 88%, rgba(255, 255, 255, .11), transparent 38%),
    linear-gradient(155deg, #0F9D58 0%, #086B44 88%);
  color: #fff;
}

.utility-brand-panel::before,
.utility-brand-panel::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.utility-brand-panel::before {
  right: -110px;
  bottom: 74px;
  width: 260px;
  height: 260px;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, .035), 0 0 0 58px rgba(255, 255, 255, .025);
}

.utility-brand-panel::after {
  right: 30px;
  bottom: 146px;
  width: 84px;
  height: 84px;
  background: rgba(230, 247, 238, .08);
}

.utility-brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: #fff !important;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.035em;
  text-decoration: none;
}

.utility-brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 11px;
  background: #fff url("/app/brand-logo.svg") center / 29px no-repeat;
  color: transparent;
  font-size: 0;
  font-weight: 800;
}

.utility-brand-wordmark .utility-brand-mark { display: none !important; }
.utility-brand-wordmark > span:last-child { font-size: 0; }
.utility-brand-wordmark::after { content: "SafiNyumbani"; font: 800 19px/1 "Manrope",sans-serif; letter-spacing: -.055em; }

.utility-brand-message {
  position: relative;
  z-index: 1;
  max-width: 260px;
  margin: 54px 0 64px;
}

.utility-brand-eyebrow {
  display: block;
  margin-bottom: 15px;
  color: #c9f1d7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
}

.utility-brand-message h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display, 'Montserrat', sans-serif);
  font-size: clamp(25px, 2.65vw, 34px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.08;
}

.utility-brand-message p {
  max-width: 230px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.7;
}

.utility-brand-note {
  color: rgba(255,255,255,.77);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.utility-brand-content,
.legal-public-content,
.offline-content {
  min-width: 0;
  padding: clamp(26px, 4.4vw, 54px);
}

.consent-page .legal-shell {
  width: min(100% - 36px, 1080px);
  max-width: 1080px;
  padding: clamp(25px, 7vh, 70px) 0;
}

.consent-page .legal-card h1 {
  margin: 0 0 10px;
  color: var(--ub-charcoal);
  font-family: var(--font-display, 'Montserrat', sans-serif);
  font-size: clamp(27px, 3.6vw, 39px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.12;
}

.consent-page .consent-intro {
  max-width: 650px;
  margin: 0;
  color: var(--ub-muted);
  font-size: 14px;
  line-height: 1.7;
}

.consent-page .document {
  margin-top: 20px;
  border: 1px solid var(--ub-line);
  border-radius: 15px;
  background: #fff;
}

.consent-page .document h2 {
  padding: 14px 17px;
  border-bottom: 1px solid var(--ub-line);
  background: #f2fbf5;
  color: var(--ub-deep);
  font-size: 14px;
  font-weight: 800;
}

.consent-page .document pre {
  max-height: 220px;
  padding: 16px 17px;
  color: #39463f;
  font-size: 13px;
  line-height: 1.72;
}

.consent-page .checks {
  gap: 10px;
  margin: 20px 0 13px;
}

.consent-page .checks label {
  min-height: 52px;
  align-items: flex-start;
  margin: 0;
  padding: 14px 15px;
  border: 1px solid var(--ub-line);
  border-radius: 13px;
  background: #f8fcf9;
  color: #34433a;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.consent-page .checks input {
  margin: 1px 0 0;
  accent-color: var(--ub-emerald);
}

.consent-page #message {
  margin: 8px 0;
  color: #b42318;
  font-size: 13px;
}

.consent-page #acceptButton {
  min-height: 52px;
  border-radius: 13px;
  background: var(--ub-emerald);
  color: #fff;
  box-shadow: 0 9px 22px rgba(15, 157, 88, .19);
  transition: background .18s ease, transform .18s ease, opacity .18s ease;
}

.consent-page #acceptButton:not(:disabled):hover {
  background: var(--ub-deep);
  transform: translateY(-1px);
}

.consent-page #acceptButton:disabled {
  background: #82bd9b;
  color: #fff;
  opacity: .78;
}

.offline-page {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  padding: 28px !important;
}

.offline-card {
  width: min(100%, 920px);
  min-height: 510px;
  text-align: left;
}

.offline-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.offline-content .offline-icon {
  width: 58px;
  height: 58px;
  margin: 0 0 22px;
  border: 1px solid #ccebd7;
  background: var(--ub-mint);
  color: var(--ub-deep);
}

.offline-content .offline-icon svg {
  width: 28px;
  height: 28px;
}

.offline-content .offline-title {
  margin: 0 0 9px;
  color: var(--ub-charcoal);
  font-size: clamp(27px, 3.5vw, 38px);
  letter-spacing: -.05em;
  line-height: 1.1;
}

.offline-content .offline-text {
  max-width: 410px;
  margin: 0 0 23px;
  color: var(--ub-muted);
  font-size: 14px;
  line-height: 1.7;
}

.offline-content .btn {
  min-height: 48px;
  margin: 0 !important;
  border-radius: 12px;
  background: var(--ub-emerald);
  box-shadow: 0 8px 20px rgba(15, 157, 88, .16);
}

.offline-content .btn:hover {
  background: var(--ub-deep);
}

.offline-content .btn.btn-secondary {
  border: 1px solid var(--ub-line);
  background: #fff;
  color: var(--ub-deep);
  box-shadow: none;
}

.offline-content .btn + .btn {
  margin-top: 10px !important;
}

.public-legal-page .legal-public-shell {
  width: min(100% - 36px, 1080px);
  max-width: 1080px;
  padding: clamp(25px, 7vh, 70px) 0;
}

.public-legal-page .legal-public-card {
  display: grid;
  grid-template-columns: minmax(235px, .76fr) minmax(0, 1.5fr);
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(8, 107, 68, .12);
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 22px 65px rgba(29, 77, 48, .12);
}

.public-legal-page .legal-public-content {
  min-width: 0;
}

.public-legal-page .legal-public-back {
  margin-bottom: 28px;
  color: var(--ub-deep);
}

.public-legal-page .legal-public-kicker {
  margin-bottom: 8px;
  color: var(--ub-emerald);
  font-size: 10px;
  letter-spacing: .13em;
}

.public-legal-page .legal-public-card h1 {
  margin: 0 0 7px;
  color: var(--ub-charcoal);
  font-size: clamp(29px, 3.7vw, 42px);
  letter-spacing: -.055em;
  line-height: 1.12;
}

.public-legal-page .legal-public-effective {
  margin-bottom: 28px;
  color: var(--ub-muted);
}

.public-legal-page .legal-public-card pre {
  padding-top: 22px;
  border-top-color: var(--ub-line);
  color: #39463f;
  font-size: 14px;
  line-height: 1.8;
}

.utility-brand-page a:focus-visible,
.utility-brand-page button:focus-visible,
.utility-brand-page input:focus-visible {
  outline: 3px solid rgba(15, 157, 88, .5);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .utility-brand-layout,
  .public-legal-page .legal-public-card {
    grid-template-columns: 1fr;
    border-radius: 21px !important;
  }

  .utility-brand-panel {
    min-height: 0;
    padding: 19px 21px;
    background: linear-gradient(115deg, #0F9D58, #086B44);
  }

  .utility-brand-panel::before {
    right: -85px;
    bottom: -175px;
    width: 240px;
    height: 240px;
  }

  .utility-brand-panel::after,
  .utility-brand-message,
  .utility-brand-note {
    display: none;
  }

  .utility-brand-wordmark {
    font-size: 14px;
  }

  .utility-brand-mark {
    width: 31px;
    height: 31px;
    border-radius: 10px;
  }

  .utility-brand-content,
  .legal-public-content,
  .offline-content {
    padding: 25px 21px 24px;
  }

  .consent-page .legal-shell,
  .public-legal-page .legal-public-shell {
    width: min(100% - 24px, 600px);
    padding: 16px 0 26px;
  }

  .consent-page .legal-shell {
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
  }

  .consent-page .utility-brand-panel {
    padding-right: 58px;
  }

  .consent-page .document pre {
    max-height: 190px;
  }

  .offline-page {
    padding: 16px !important;
  }

  .offline-card {
    min-height: 0;
    width: min(100%, 520px);
  }

  .offline-content {
    align-items: center;
    text-align: center;
  }

  .offline-content .offline-icon {
    margin-bottom: 18px;
  }

  .offline-content .offline-text {
    margin-bottom: 21px;
  }

  .offline-content .btn {
    width: 100%;
    max-width: none !important;
  }
}

@media (max-width: 380px) {
  .utility-brand-content,
  .legal-public-content,
  .offline-content {
    padding: 22px 17px;
  }

  .consent-page .checks label {
    padding: 12px;
    font-size: 12px;
  }
}

/* Mobile-app utility surfaces: the consent, legal and offline screens share
   the soft celadon canvas and compact Safi header shown in the product UI. */
.utility-brand-page {
  --ub-emerald: #13875b;
  --ub-deep: #096746;
  --ub-mint: #e4f4e9;
  --ub-paper: #f0f8f2;
  --ub-charcoal: #20352d;
  --ub-muted: #61756a;
  --ub-line: #dcebe1;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ub-charcoal) !important;
  background: var(--ub-paper) !important;
  background-image:
    radial-gradient(ellipse at 80% 100%, rgba(137, 204, 158, .17), transparent 37%),
    linear-gradient(180deg, #f4faf5 0%, #edf7f0 100%) !important;
  font-family: var(--font-body, "DM Sans", system-ui, sans-serif);
}

.utility-brand-page a {
  color: var(--ub-deep);
}

.utility-brand-layout,
.public-legal-page .legal-public-card {
  display: block;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.consent-page .legal-shell {
  width: min(calc(100% - 32px), 490px);
  max-width: 490px;
  padding: clamp(26px, 5vh, 46px) 0 34px;
}

.consent-page .legal-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.utility-brand-panel {
  min-height: 0;
  padding: 0 0 20px;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent;
  color: var(--ub-deep);
}

.utility-brand-panel::before,
.utility-brand-panel::after {
  display: none;
}

.utility-brand-wordmark {
  gap: 8px;
  color: var(--ub-deep) !important;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.utility-brand-mark {
  width: 31px;
  height: 31px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: url("/app/brand-logo.svg");
  background-size: 31px;
}

.utility-brand-message,
.utility-brand-note {
  display: none;
}

.utility-brand-content,
.legal-public-content,
.offline-content {
  padding: 24px;
  border: 1px solid rgba(9, 103, 70, .10);
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 32px rgba(34, 87, 56, .07);
}

.consent-page .utility-brand-content {
  padding: 27px 25px 24px;
}

.consent-page .legal-card h1 {
  margin-bottom: 8px;
  text-align: center;
  font-size: clamp(24px, 6vw, 29px);
  line-height: 1.18;
  letter-spacing: -.045em;
}

.consent-page .consent-intro {
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
  font-size: 13px;
  line-height: 1.55;
}

.consent-page .document {
  margin-top: 17px;
  border-radius: 12px;
  border-color: #e2eee6;
}

.consent-page .document h2 {
  padding: 11px 14px;
  background: #f3faf5;
  font-size: 13px;
}

.consent-page .document pre {
  max-height: 138px;
  padding: 13px 14px;
  font-size: 12px;
  line-height: 1.6;
}

.consent-page .checks {
  gap: 9px;
  margin: 17px 0 11px;
}

.consent-page .checks label {
  min-height: 52px;
  gap: 11px;
  padding: 13px 14px;
  border-radius: 12px;
  background: #f8fcf9;
  font-size: 12px;
}

.consent-page .checks input {
  width: 18px;
  height: 18px;
  accent-color: var(--ub-emerald);
}

.consent-page #acceptButton {
  min-height: 48px;
  border-radius: 11px;
  font-size: 14px;
  box-shadow: 0 5px 14px rgba(19, 135, 91, .15);
}

.consent-page #acceptButton:disabled {
  background: #9acbb0;
  opacity: 1;
}

.consent-page #message {
  min-height: 18px;
  font-size: 12px;
}

.public-legal-page {
  padding: 24px 16px;
}

.public-legal-page .legal-public-shell {
  width: min(100%, 760px);
  max-width: 760px;
  padding: 0;
}

.public-legal-page .legal-public-card {
  padding: 20px;
}

.public-legal-page .utility-brand-panel {
  padding: 0 0 13px;
}

.public-legal-page .legal-public-content {
  padding: 22px clamp(20px, 5vw, 38px) 30px;
  border-radius: 18px;
}

.public-legal-page .legal-public-back {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.public-legal-page .legal-public-kicker {
  margin: 0 0 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.public-legal-page .legal-public-card h1 {
  margin: 0 0 5px;
  font-size: clamp(25px, 6vw, 32px);
  letter-spacing: -.045em;
}

.public-legal-page .legal-public-effective {
  margin: 0 0 20px;
  font-size: 12px;
}

.public-legal-page .legal-public-card pre {
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--ub-line);
  color: #3b5145;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.offline-page {
  display: flex;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  align-items: center;
  justify-content: center;
  padding: 24px 16px !important;
  background: transparent !important;
}

.offline-card {
  width: min(100%, 440px);
  min-height: 0;
}

.offline-card .utility-brand-panel {
  padding-bottom: 14px;
}

.offline-content {
  align-items: center;
  padding: 22px 26px 26px;
  text-align: center;
}

.offline-content .offline-icon {
  display: grid;
  width: min(100%, 250px);
  height: 138px;
  margin: 0 0 15px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ub-deep);
}

.offline-content .offline-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.offline-content .offline-title {
  margin: 0 0 8px;
  color: var(--ub-charcoal);
  font-size: 25px;
  letter-spacing: -.045em;
}

.offline-content .offline-text {
  max-width: 300px;
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.6;
}

.offline-content .btn {
  width: 100%;
  min-height: 46px;
  border-radius: 11px;
  font-size: 14px;
}

.offline-content .btn.btn-secondary {
  border: 0;
  background: transparent;
  color: var(--ub-deep);
  text-decoration: none;
}

.offline-content .btn + .btn {
  margin-top: 5px !important;
}

.utility-brand-page a:focus-visible,
.utility-brand-page button:focus-visible,
.utility-brand-page input:focus-visible {
  outline-color: #16714f;
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .consent-page .legal-shell {
    width: min(calc(100% - 24px), 440px);
    padding: 20px 0 calc(24px + env(safe-area-inset-bottom));
  }

  .consent-page .utility-brand-content {
    padding: 23px 18px 19px;
  }

  .consent-page .document pre {
    max-height: 112px;
  }

  .public-legal-page {
    padding: 14px 10px;
  }

  .public-legal-page .legal-public-card {
    padding: 10px;
  }

  .public-legal-page .legal-public-content {
    padding: 20px 17px 24px;
  }

  .offline-page {
    padding: 16px 12px !important;
  }

  .offline-content {
    padding: 19px 20px 20px;
  }
}

/* Keep legal copy comfortable to read on larger canvases and small phones. */
.utility-brand-page {
  font-family: 'DM Sans', system-ui, sans-serif;
}

.utility-brand-message h2,
.consent-page .legal-card h1,
.public-legal-page .legal-public-card h1,
.offline-content .offline-title {
  font-family: 'Manrope', 'DM Sans', system-ui, sans-serif;
}

.consent-page .legal-shell {
  width: min(calc(100% - 40px), 680px);
  max-width: 680px;
}

.consent-page .utility-brand-content {
  padding: clamp(28px, 4vw, 42px);
}

.consent-page .document pre {
  min-height: 200px;
  max-height: min(46vh, 460px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: #a5cdb4 #edf6ef;
}

.consent-page .checks label {
  min-height: 54px;
}

.consent-page #acceptButton {
  width: 100%;
  font-weight: 800;
}

.public-legal-page .legal-public-shell {
  width: min(100%, 900px);
  max-width: 900px;
}

.public-legal-page .legal-public-content {
  padding: clamp(26px, 5vw, 48px);
}

.public-legal-page .legal-public-card pre {
  max-width: 74ch;
  overflow-wrap: anywhere;
}

@media (min-width: 761px) and (max-width: 1024px) {
  .consent-page .legal-shell {
    width: min(calc(100% - 48px), 680px);
    padding-top: 30px;
  }

  .public-legal-page {
    padding: 28px 24px;
  }

  .public-legal-page .legal-public-shell {
    width: min(100%, 860px);
    max-width: 860px;
  }
}

@media (max-width: 760px) {
  .consent-page .utility-brand-content {
    padding: 24px 21px 22px;
  }

  .consent-page .document pre {
    min-height: 180px;
    max-height: min(43vh, 360px);
    padding: 14px;
    font-size: 13px;
    line-height: 1.7;
  }

  .consent-page .checks label {
    min-height: 56px;
    font-size: 13px;
  }

  .public-legal-page .legal-public-card pre {
    font-size: 14px;
    line-height: 1.78;
  }
}

@media (max-width: 380px) {
  .consent-page .utility-brand-content {
    padding: 21px 17px 19px;
  }

  .consent-page .document pre {
    min-height: 160px;
    max-height: min(40vh, 300px);
    font-size: 12px;
  }

  .consent-page .checks label {
    font-size: 12px;
  }
}

.utility-brand-page :is(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid #16714f;
  outline-offset: 3px;
}

/* The same considered palette follows the site's saved dark theme. */
:root[data-theme="dark"] body:has(.utility-brand-page) {
  background: #14231b;
  color: #e7f1e9;
}

:root[data-theme="dark"] .utility-brand-page {
  --ub-emerald: #55bf83;
  --ub-deep: #a3e2ba;
  --ub-mint: #244734;
  --ub-paper: #14231b;
  --ub-charcoal: #e7f1e9;
  --ub-muted: #b3c5b8;
  --ub-line: #3a5744;
  color: #e7f1e9 !important;
  background: #14231b !important;
  background-image:
    radial-gradient(ellipse at 80% 100%, rgba(67, 133, 91, .15), transparent 37%),
    linear-gradient(180deg, #17291f 0%, #14231b 100%) !important;
}

:root[data-theme="dark"] .utility-brand-page a {
  color: #a3e2ba;
}

:root[data-theme="dark"] .utility-brand-page .utility-brand-wordmark {
  color: #e7f1e9 !important;
}

:root[data-theme="dark"] .utility-brand-page .utility-brand-mark {
  border-color: rgba(192, 233, 205, .2);
  background-color: #e7f1e9;
}

:root[data-theme="dark"] .utility-brand-page .utility-brand-content,
:root[data-theme="dark"] .utility-brand-page .legal-public-content,
:root[data-theme="dark"] .utility-brand-page .offline-content {
  border-color: rgba(192, 233, 205, .15);
  background: #1c3024;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
}

:root[data-theme="dark"] .utility-brand-page.consent-page .document {
  border-color: #3a5744;
  background: #192a20;
}

:root[data-theme="dark"] .utility-brand-page.consent-page .document h2 {
  border-bottom-color: #3a5744;
  background: #233d2d;
  color: #a3e2ba;
}

:root[data-theme="dark"] .utility-brand-page.consent-page .document pre,
:root[data-theme="dark"] .utility-brand-page .public-legal-card pre {
  color: #d8e8dc;
  scrollbar-color: #537b60 #192a20;
}

:root[data-theme="dark"] .utility-brand-page.consent-page .checks label {
  border-color: #3a5744;
  background: #192a20;
  color: #d8e8dc;
}

:root[data-theme="dark"] .utility-brand-page.consent-page .consent-intro,
:root[data-theme="dark"] .utility-brand-page .legal-public-effective,
:root[data-theme="dark"] .utility-brand-page .offline-text {
  color: #b3c5b8;
}

:root[data-theme="dark"] .utility-brand-page.consent-page #message {
  color: #ffaaa2;
}

:root[data-theme="dark"] .utility-brand-page .legal-public-back,
:root[data-theme="dark"] .utility-brand-page .legal-public-kicker {
  color: #8bd5a7;
}

:root[data-theme="dark"] .utility-brand-page .offline-icon {
  border-color: #3a5744;
  background: #244734;
  color: #a3e2ba;
}

:root[data-theme="dark"] .utility-brand-page .offline-content .btn.btn-secondary {
  border: 1px solid #3a5744;
  background: #233d2d;
  color: #bde9ca;
}

:root[data-theme="dark"] .utility-brand-page :is(a, button, input, [tabindex]):focus-visible {
  outline-color: #9ce0b5;
}

:root[data-theme="dark"] .utility-brand-page :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  border-color: #496452;
  color: #e7f1e9;
  background: #17291e;
  color-scheme: dark;
}

:root[data-theme="dark"] .utility-brand-page :is(input, textarea)::placeholder {
  color: #a8bdad;
  opacity: 1;
}

:root[data-theme="dark"] .utility-brand-page :is(.consent-page .legal-card h1, .public-legal-page .legal-public-card h1, .offline-content .offline-title) {
  color: #e7f1e9;
}

:root[data-theme="dark"] .utility-brand-page .consent-page .document {
  border-color: #3a5744;
  background: #192a20;
}

:root[data-theme="dark"] .utility-brand-page .consent-page .document h2 {
  border-bottom-color: #3a5744;
  background: #233d2d;
}

:root[data-theme="dark"] .utility-brand-page .consent-page .checks input {
  accent-color: #65c98b;
}

:root[data-theme="dark"] .utility-brand-page .consent-page #acceptButton {
  color: #fff;
  background: #176b48;
}

:root[data-theme="dark"] .utility-brand-page .consent-page #acceptButton:disabled {
  border: 1px solid #496452;
  color: #c6d8cb;
  background: #263c2e;
  opacity: 1;
}

:root[data-theme="dark"] .utility-brand-page .offline-content .offline-icon {
  border-color: #3a5744;
  background: #244734;
  color: #a3e2ba;
}

:root[data-theme="dark"] .utility-brand-page .offline-content .btn:not(.btn-secondary) {
  color: #fff;
  background: #176b48;
}

:root[data-theme="dark"] .utility-brand-page .utility-brand-panel {
  color: #e7f1e9;
}

:root[data-theme="dark"] .utility-brand-page .utility-brand-content,
:root[data-theme="dark"] .utility-brand-page .legal-public-content,
:root[data-theme="dark"] .utility-brand-page .offline-content {
  color: #e7f1e9;
}

@media (max-width: 760px) {
  :root[data-theme="dark"] .utility-brand-page .utility-brand-panel {
    background: transparent;
  }
}