:root {
  --blue: var(--cs-color-accent,#007ACC);
  --deep: var(--cs-color-primary-hover,#005a99);
  --ink: var(--cs-color-text,#18314b);
  --muted: var(--cs-color-text-muted,#65778a);
  --light: #ECECEC;
  --line: var(--cs-color-border,#dce7ef);
  --white: var(--cs-color-surface,#fff);
  --bg: var(--cs-color-background,#f7fafc);
  --shadow: 0 16px 55px rgba(0,73,121,.075);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font: 16px/1.65 var(--cs-font-family, 'Segoe UI',Arial,sans-serif);
  color: var(--ink);
  background: #fff;
}

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

button,input,select {
  font: inherit;
}

button {
  cursor: pointer;
}

.wrap {
  max-width: 1180px;
  margin: auto;
  padding: 0 26px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  vertical-align: middle;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5edf4;
}

.nav-wrap {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -.7px;
  white-space: nowrap;
}

.brand small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.35px;
  color: #8291a0;
  margin-top: 6px;
}

.brand-mark {
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: linear-gradient(145deg,var(--blue),var(--deep));
  color: white;
  display: grid;
  place-items: center;
  font-size: 25px;
  box-shadow: 0 6px 14px #007acc2c;
}

.brand-blue {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links>a {
  font-size: 14px;
  font-weight: 650;
  color: #52657b;
  transition: color .2s;
}

.nav-links>a:hover,.nav-links>a.active {
  color: var(--blue);
}

.nav-links .nav-signup {
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--blue);
  color: white;
  display: flex;
  gap: 9px;
  align-items: center;
  box-shadow: 0 4px 14px #007acc20;
}

.nav-signup .icon {
  width: 16px;
  height: 16px;
}

.mobile-menu {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.hero {
  background: radial-gradient(circle at 85% 36%,#d5efff 0,transparent 32%),linear-gradient(120deg,#fbfdff 15%,#eef8ff 90%);
  border-bottom: 1px solid #e9f2f8;
  overflow: hidden;
}

.hero-grid {
  min-height: 590px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 32px;
  padding-top: 64px;
  padding-bottom: 70px;
}

.eyebrow,.kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--blue);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #c8e6fa;
  background: #edf8ff;
  border-radius: 40px;
  padding: 9px 13px;
  letter-spacing: 1.25px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(39px,4.5vw,65px);
  line-height: 1.12;
  letter-spacing: -2.8px;
  margin: 25px 0 20px;
  font-weight: 800;
  max-width: 600px;
}

.hero h1 span {
  color: var(--blue);
}

.hero-copy>p {
  font-size: 17px;
  color: var(--muted);
  max-width: 515px;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 31px 0 29px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 13px 23px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .2s,box-shadow .2s;
}

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

.primary, .btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 25px #007acc28;
}

.primary:hover, .btn-primary:hover {
  background: var(--deep);
}

.ghost, .outline, .btn-secondary {
  border-color: #c4dcea;
  background: #fff;
  color: var(--deep);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #718699;
  font-size: 13px;
}

.hero-note .icon {
  color: var(--blue);
  width: 17px;
}

.hero-visual {
  height: 460px;
  position: relative;
  display: grid;
  place-items: center;
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(0,122,204,.13);
  border-radius: 50%;
}

.orbit-one {
  width: 440px;
  height: 440px;
}

.orbit-two {
  width: 350px;
  height: 350px;
}

.dashboard {
  position: relative;
  z-index: 2;
  width: min(100%,464px);
  background: white;
  border: 1px solid #d9e6ee;
  box-shadow: 0 35px 70px #005a992e;
  border-radius: 18px;
  overflow: hidden;
  transform: rotate(-2deg);
}

.dashboard-head {
  height: 50px;
  border-bottom: 1px solid #e8edf1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 700;
  color: #627588;
}

.dash-dots {
  display: flex;
  gap: 5px;
}

.dash-dots i {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: #d5e2eb;
}

.dash-dots i:first-child {
  background: #87c8eb;
}

.dash-status {
  font-size: 10px;
  color: #6891a7;
}

.dash-status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #29ad81;
  margin-right: 5px;
}

.dashboard-body {
  padding: 19px;
}

.dash-banner {
  background: linear-gradient(115deg,#007ACC,#005a99);
  color: white;
  border-radius: 12px;
  padding: 24px;
}

.dash-tiny {
  font-size: 9px;
  letter-spacing: 1.4px;
  opacity: .8;
}

.dash-banner strong {
  font-size: 21px;
  display: block;
  margin: 7px 0 2px;
}

.dash-banner p {
  font-size: 12px;
  margin: 0;
  color: #dceffd;
}

.dash-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 13px;
}

.dash-tiles>div {
  border: 1px solid #edf1f5;
  border-radius: 10px;
  padding: 14px;
  display: grid;
  gap: 3px;
}

.dash-tiles .icon {
  color: var(--blue);
  width: 19px;
}

.dash-tiles strong {
  font-size: 12px;
}

.dash-tiles span {
  font-size: 10px;
  color: #8a9ba8;
}

.dash-bars {
  padding: 16px 4px 2px;
}

.dash-bars>span {
  font-size: 11px;
  font-weight: 700;
}

.bar {
  height: 6px;
  background: #edf3f8;
  border-radius: 10px;
  margin-top: 10px;
  overflow: hidden;
}

.bar:before {
  content: "";
  display: block;
  width: var(--w);
  height: 100%;
  background: linear-gradient(90deg,#007ACC,#6ac7f4);
  border-radius: 10px;
}

.float-label {
  position: absolute;
  z-index: 4;
  right: -8px;
  bottom: 37px;
  background: white;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--deep);
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 12px 30px #005a9922;
}

.float-label .icon {
  color: #159fc8;
}

.section {
  padding: 88px 0;
}

.section-intro {
  text-align: center;
  max-width: 730px;
  margin: 0 auto 42px;
}

.section-intro h2,.about-layout h2,.donation-layout h2 {
  font-size: clamp(29px,3.2vw,40px);
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin: 13px 0;
}

.section-intro p,.about-layout p,.donation-layout p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.feature-grid article {
  padding: 30px;
  background: #fff;
  border: 1px solid #e5edf4;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.feature-icon,.service-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: #e8f6ff;
  border-radius: 14px;
  color: var(--blue);
}

.feature-icon .icon,.service-icon .icon {
  width: 25px;
  height: 25px;
}

.feature-grid h3 {
  font-size: 18px;
  margin: 20px 0 8px;
}

.feature-grid p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.center {
  text-align: center;
  margin-top: 32px;
}

.inline-link {
  font-weight: 750;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.inline-link:hover {
  text-decoration: underline;
}

.inline-link .icon {
  width: 17px;
}

.cta-band {
  background: linear-gradient(120deg,#007ACC,#005a99);
  color: white;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.cta-inner h2 {
  font-size: clamp(27px,3.3vw,40px);
  max-width: 630px;
  line-height: 1.18;
  letter-spacing: -1px;
  margin: 13px 0;
}

.cta-inner p {
  color: #d3eaff;
  max-width: 610px;
}

.pale {
  color: #bde3ff;
}

.white-btn {
  background: white;
  color: var(--deep);
  white-space: nowrap;
}

.site-footer {
  background: #102a43;
  color: #b7c9d7;
  padding: 66px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 50px;
}

.footer-grid .brand {
  color: white;
  margin-bottom: 17px;
}

.footer-grid p {
  font-size: 13px;
  max-width: 315px;
  line-height: 1.9;
}

.footer-grid h3 {
  color: white;
  font-size: 14px;
  margin: 6px 0 20px;
}

.footer-grid>div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-grid a:not(.brand),.footer-grid span {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.footer-grid a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #2b455d;
  margin-top: 55px;
  padding-top: 21px;
  padding-bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
}

.page-hero {
  text-align: center;
  background: linear-gradient(135deg,#f2faff,#e7f5ff);
  padding: 75px 0 78px;
  border-bottom: 1px solid #e3f0f7;
}

.page-hero h1 {
  font-size: clamp(38px,5vw,56px);
  letter-spacing: -2px;
  line-height: 1.13;
  margin: 13px 0;
}

.page-hero p {
  max-width: 770px;
  margin: auto;
  color: #62798c;
  font-size: 17px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 23px;
}

.service-card {
  position: relative;
  padding: 30px;
  border: 1px solid #e3edf5;
  border-radius: 17px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .2s,border-color .2s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #b5dff5;
}

.service-index {
  position: absolute;
  top: 33px;
  right: 28px;
  color: #c5d9e7;
  font-size: 13px;
  font-weight: 800;
}

.service-card h3 {
  font-size: 20px;
  line-height: 1.35;
  min-height: 52px;
  margin: 21px 0 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  min-height: 110px;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  border-top: 1px solid #e5edf2;
  padding-top: 18px;
}

.service-card li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: #526c80;
  font-size: 13px;
  margin: 10px 0;
}

.service-card li .icon {
  width: 16px;
  height: 16px;
  color: var(--blue);
  margin-top: 3px;
}

.about-layout,.donation-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}

.about-layout h2 {
  max-width: 550px;
}

.about-art {
  background: linear-gradient(135deg,#e3f4ff,#c7e8ff);
  border-radius: 22px;
  min-height: 350px;
  padding: 32px;
  display: grid;
  place-items: center;
}

.about-art-inner {
  background: #fff;
  padding: 35px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 20px 50px #005a9920;
  max-width: 320px;
}

.about-art-inner .icon {
  width: 70px;
  height: 70px;
  color: var(--blue);
}

.about-art-inner strong {
  display: block;
  font-size: 21px;
  line-height: 1.25;
  margin: 19px 0 8px;
}

.about-art-inner p {
  font-size: 13px;
}

.muted {
  background: #f6fafd;
}

.values-grid {
  grid-template-columns: repeat(4,1fr);
}

.donation-layout {
  align-items: start;
}

.form-card {
  padding: 32px;
  border: 1px solid #e0eaf1;
  border-radius: 19px;
  box-shadow: var(--shadow);
  background: white;
}

.form-card h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.3;
}

.form-card>p {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 25px;
}

.form-card label,.field {
  display: block;
  font-size: 12px;
  font-weight: 750;
  margin: 14px 0;
  color: #3b5368;
}

.form-card input:not([type=checkbox]),.form-card select {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid #cfdfeb;
  border-radius: 9px;
  outline: none;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
}

.form-card input:focus,.form-card select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #007acc15;
}

.full {
  width: 100%;
  margin-top: 12px;
}

.form-card small {
  font-size: 11px;
  font-weight: 500;
}

.form-disclaimer {
  color: #7c8c9c;
  font-size: 11px;
  line-height: 1.65;
  margin: 15px 0 0;
}

.checkbox-line {
  display: flex!important;
  align-items: center;
  gap: 9px;
}

.checkbox-line input {
  accent-color: var(--blue);
}

.donation-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.donation-methods>div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.donation-methods p {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0 12px;
}

.donation-methods .btn {
  padding: 10px;
  font-size: 11px;
}

.bitcoin-image {
  max-width: 85px;
  max-height: 40px;
  object-fit: contain;
  display: block;
  margin: 10px 0;
}

.soon {
  text-align: center;
  min-height: 62vh;
  display: grid;
  align-items: center;
}

.soon .wrap {
  max-width: 670px;
}

.soon-icon {
  display: block;
  font-size: 55px;
  color: var(--blue);
}

.soon h1 {
  font-size: 54px;
  letter-spacing: -2px;
  margin: 10px 0;
}

.soon p {
  color: var(--muted);
  margin: 0 0 28px;
}

@media(max-width:1000px) {
  .nav-links {
    gap: 17px;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 48px;
  }
  .services-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .footer-grid {
    gap: 28px;
  }
}

@media(max-width:750px) {
  .wrap {
    padding: 0 20px;
  }
  .nav-wrap {
    height: 70px;
  }
  .brand {
    font-size: 18px;
  }
  .mobile-menu {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 20px #102a4315;
    padding: 18px 25px;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links>a {
    padding: 9px;
  }
  .nav-links .nav-signup {
    justify-content: center;
  }
  .hero-grid,.about-layout,.donation-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .hero-grid {
    padding-top: 55px;
    padding-bottom: 45px;
  }
  .hero h1 {
    font-size: clamp(38px,10vw,52px);
    letter-spacing: -2px;
  }
  .hero-visual {
    height: 400px;
  }
  .dashboard {
    max-width: 420px;
  }
  .float-label {
    right: 0;
  }
  .feature-grid,.services-grid {
    grid-template-columns: 1fr;
  }
  .service-card p,.service-card h3 {
    min-height: 0;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .footer-grid>div:first-child {
    grid-column: 1/-1;
  }
  .section {
    padding: 65px 0;
  }
  .page-hero {
    padding: 58px 0;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .orbit-one {
    width: 360px;
    height: 360px;
  }
}

@media(max-width:430px) {
  .dashboard {
    transform: none;
  }
  .hero-visual {
    height: 370px;
  }
  .dash-status {
    display: none;
  }
  .donation-methods,.values-grid {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 23px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid>div:first-child {
    grid-column: auto;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-note {
    align-items: flex-start;
  }
}

/* Protector Digital — unified corporate navbar, inspired by the Cultstent layout. */

.site-header--ecosystem {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #dce7f0;
  box-shadow: 0 3px 16px rgba(18,55,88,.035);
  backdrop-filter: blur(12px);
}

.pd-global-header {
  max-width: none;
  width: 100%;
  min-height: 72px;
  padding: 9px clamp(14px,3.5vw,52px);
  margin: 0 auto;
  display: flex;
  gap: clamp(12px,2vw,26px);
  align-items: center;
  box-sizing: border-box;
}

.pd-ecosystem-brand {
  min-width: 0;
  flex: 0 1 auto;
  margin-right: auto;
  text-decoration: none;
  color: var(--ink);
}

.pd-ecosystem-brand .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: none;
  font-size: 23px;
}

.pd-ecosystem-brand .pd-brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.1;
}

.pd-ecosystem-brand small {
  font-size: 9px;
  letter-spacing: .07em;
  margin-top: 3px;
}

.site-header--ecosystem .pd-global-nav {
  position: static;
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0;
  flex: 0 1 auto;
}

.site-header--ecosystem .pd-global-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 13px;
  border-radius: 22px;
  border: none;
  background: transparent;
  color: #36556f;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 650;
  transition: background .18s,color .18s;
}

.site-header--ecosystem .pd-global-nav a:hover {
  background: #eaf5fc;
  color: #075f99;
}

.site-header--ecosystem .pd-global-nav a[aria-current="page"] {
  background: #eaf5fc;
  color: #075f99;
}

.pd-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.pd-app-launcher {
  position: relative;
  flex: 0 0 auto;
}

.pd-launcher-button {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #36556f;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .18s;
}

.pd-launcher-button:hover,.pd-launcher-button[aria-expanded="true"] {
  background: #eaf5fc;
  color: #007acc;
}

.pd-grid-icon {
  width: 22px;
  height: 22px;
}

.pd-launcher-panel[hidden] {
  display: none!important;
}

.pd-launcher-panel {
  position: absolute;
  z-index: 140;
  top: calc(100% + 15px);
  right: -55px;
  width: min(338px,calc(100vw - 24px));
  padding: 20px;
  background: #fff;
  border: 1px solid #dbe8f1;
  border-radius: 22px;
  box-shadow: 0 17px 48px rgba(15,49,79,.17);
  color: var(--ink);
}

.pd-launcher-heading {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0 0 15px 4px;
}

.pd-launcher-heading strong {
  font-size: 1rem;
}

.pd-launcher-heading span {
  font-size: .8rem;
  color: #667e93;
}

.pd-launcher-items {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  grid-auto-rows: 1fr;
  gap: 7px;
}

.pd-launcher-item {
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  padding: 11px 3px 12px;
  text-decoration: none;
  color: #193a56;
  min-width: 0;
  transition: background .18s;
}

.pd-launcher-item:hover {
  background: #edf6fb;
}

.pd-launcher-icon {
  display: grid;
  place-items: center;
  border-radius: 14px;
  width: 46px;
  height: 46px;
  background: #e5f3ff;
  color: #006bad;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.pd-launcher-item strong {
  font-size: .79rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.pd-launcher-item small {
  font-size: .68rem;
  line-height: 1.25;
  color: #6b8194;
}

.pd-lang-switch {
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  background: #eaf6fc;
  border: 1px solid #b6dfee;
  color: #185a7f;
  border-radius: 22px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.pd-lang-switch:hover {
  background: #d9f0fc;
}

.site-header--ecosystem .pd-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  padding: 8px;
  background: transparent;
  color: #36556f;
  cursor: pointer;
}

.site-header--ecosystem .pd-nav-toggle svg {
  width: 22px;
  height: 22px;
}

.site-header--ecosystem :is(a,button):focus-visible {
  outline: 3px solid rgba(0,122,204,.36);
  outline-offset: 3px;
}

@media(max-width:850px) {
  .pd-global-header {
    flex-wrap: nowrap;
    min-height: 64px;
    padding: 7px clamp(10px,3vw,20px);
    gap: 7px;
  }
  .pd-ecosystem-brand .pd-brand-name {
    font-size: clamp(13px,3.7vw,18px);
  }
  .pd-ecosystem-brand .brand-mark {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }
  .pd-header-actions {
    gap: 3px;
  }
  .site-header--ecosystem .pd-nav-toggle {
    display: flex;
  }
  .site-header--ecosystem .pd-global-nav {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 10px;
    right: 10px;
    z-index: 130;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    background: #fff;
    border: 1px solid #dce9f2;
    border-radius: 18px;
    box-shadow: 0 15px 42px rgba(16,53,89,.16);
    max-height: min(75vh,520px);
    overflow-y: auto;
  }
  .site-header--ecosystem .pd-global-nav.open {
    display: flex;
  }
  .site-header--ecosystem .pd-global-nav a {
    width: 100%;
    justify-content: flex-start;
    white-space: normal;
    background: #f3f8fb;
    border: 1px solid #dce7ef;
    border-radius: 10px;
    padding: 12px 15px;
    min-height: 46px;
  }
  .pd-launcher-panel {
    right: -45px;
    top: calc(100% + 12px);
  }
}

@media(max-width:410px) {
  .pd-global-header {
    padding-inline: 8px;
    gap: 2px;
  }
  .pd-ecosystem-brand {
    gap: 6px;
  }
  .pd-ecosystem-brand .brand-mark {
    width: 30px;
    min-width: 30px;
    height: 30px;
    font-size: 18px;
  }
  .pd-ecosystem-brand .pd-brand-name {
    font-size: 13px;
  }
  .pd-ecosystem-brand small {
    font-size: 7px;
    letter-spacing: .02em;
  }
  .pd-launcher-button,.pd-lang-switch,.site-header--ecosystem .pd-nav-toggle {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }
  .pd-lang-switch {
    padding: 0 4px;
    font-size: 10px;
  }
  .pd-header-actions {
    gap: 0;
  }
  .pd-launcher-panel {
    right: -69px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .pd-global-header :is(a,button) {
    transition: none;
  }
}

/* Shared ecosystem header is fixed: retain the old sticky header layout offset. */

html.csui-protector-active body > main {
  padding-top: 72px;
}

@media(max-width:900px) {
  html.csui-protector-active body > main {
    padding-top: 60px;
  }
}

/* White offline fallback; the mounted footer is styled by Cultstent UI. */

.site-footer {
  background: #fff;
  color: #43576a;
  border-top: 1px solid #dce6ed;
}

.site-footer .footer-grid .brand, .site-footer .footer-grid h3 {
  color: #18314b;
}

.site-footer .footer-grid a:not(.brand) {
  color: #43576a;
}

.site-footer .footer-grid a:hover {
  color: #19455d;
  text-decoration: underline;
}

.site-footer .footer-bottom {
  border-color: #dce6ed;
}

/* Cultstent UI shell geometry — local fallback when the shared service is unavailable. */

:root {
  --cs-local-header-height: 4.5rem;
  --cs-local-footer-meta-row: 3.5rem;
}

@media (max-width:900px) {
  :root {
    --cs-local-header-height: 3.75rem;
    --cs-local-footer-meta-row: 4.5rem;
  }
}

@media (max-width:520px) {
  :root {
    --cs-local-footer-meta-row: 5.5rem;
  }
}

header.site-header--ecosystem {
  box-sizing: border-box;
  height: var(--cs-header-height,var(--cs-local-header-height));
  min-height: 0;
}

header.site-header--ecosystem .pd-global-header {
  height: 100%;
  min-height: 0;
  padding-block: 0;
}

html.csui-protector-active body > main {
  padding-top: var(--cs-header-height,var(--cs-local-header-height));
}

.site-footer {
  padding: var(--cs-footer-top,1.75rem) 0 var(--cs-footer-bottom,1.25rem);
  font-size: .875rem;
  line-height: 1.5;
}

.site-footer .footer-grid {
  grid-template-columns: minmax(0,1.25fr) minmax(0,1fr) minmax(0,.8fr) minmax(0,1.1fr);
  grid-template-rows: var(--cs-footer-main-row,15.5rem);
  gap: var(--cs-footer-row-gap,1.25rem) clamp(20px,3vw,44px);
  align-items: stretch;
}

.site-footer .footer-grid > div {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 4px;
}

.site-footer .footer-grid > div:first-child {
  grid-column: auto;
}

.site-footer .footer-grid > div:not(:first-child) {
  gap: 6px;
}

.site-footer .footer-grid h3 {
  margin: 0 0 5px;
  font-size: .875rem;
  line-height: 1.5;
}

.site-footer .footer-grid .brand {
  margin-bottom: 6px;
}

.site-footer .footer-grid p {
  font-size: .875rem;
  line-height: 1.5;
  margin: 6px 0 0;
}

.site-footer .footer-grid a:not(.brand), .site-footer .footer-grid > div:not(:first-child) span {
  font-size: .875rem;
}

.site-footer .footer-bottom {
  margin-top: var(--cs-footer-meta-gap,1.25rem);
  height: var(--cs-footer-meta-row,var(--cs-local-footer-meta-row));
  padding-block: 12px 4px;
  font-size: .75rem;
  gap: 6px 24px;
  overflow: auto;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
}

@media(max-width:900px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-rows: var(--cs-footer-main-row,15.5rem) var(--cs-footer-contact-row,8rem);
  }
}

@media(max-width:520px) {
  .site-footer .footer-grid {
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: var(--cs-footer-brand-row,8rem) var(--cs-footer-main-row,15.5rem) var(--cs-footer-resources-row,6rem) var(--cs-footer-contact-row,8rem);
  }
  .site-footer .footer-bottom {
    flex-direction: column;
    flex-wrap: nowrap;
  }
}
