:root {
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #1e1e1e;
  color: #f4f6f6;
  font-family: Manrope, Arial, sans-serif;
}

.wp-site-blocks > header,
.wp-site-blocks > footer,
.wp-block-post-title {
  display: none !important;
}

.wp-site-blocks,
.wp-site-blocks main,
.wp-block-post-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.home .wp-site-blocks > main,
body.home .wp-site-blocks > main > .wp-block-group,
body.home .wp-site-blocks > main .wp-block-post-content {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.wp-block-post-content > .bpyl-landing {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.bpyl-landing {
  --text: #f4f6f6;
  --muted: #aeb8b8;
  --border: #293234;
  --accent: #3776ab;
  min-height: 100vh;
  background: #1e1e1e;
  color: var(--text);
}

.bpyl-landing * {
  box-sizing: border-box;
}

.bpyl-header,
.bpyl-hero,
.bpyl-section,
.bpyl-footer {
  width: min(1440px, calc(100% - 64px)) !important;
  margin: 0 auto !important;
}

.bpyl-header {
  min-height: 60px !important;
  padding: 8px 0 !important;
  display: flex !important;
  align-items: center;
  gap: 26px;
  position: static !important;
  border-bottom: 1px solid var(--border);
  background: #1e1e1e !important;
  backdrop-filter: none !important;
}

.bpyl-wordmark {
  margin-right: auto;
  line-height: 0;
}

.bpyl-wordmark img {
  display: block;
  width: 110px;
  height: 42px;
  object-fit: contain;
}

.bpyl-header nav,
.bpyl-lang {
  display: flex;
  align-items: center;
  gap: 20px;
}

.bpyl-header a,
.bpyl-lang a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}

.bpyl-lang {
  padding-left: 20px;
  border-left: 1px solid var(--border);
}

.bpyl-lang strong {
  color: var(--accent);
}

.bpyl-hero,
.bpyl-section {
  display: block !important;
  min-height: 0 !important;
  padding: 90px 0 !important;
  border-top: 1px solid var(--border);
  scroll-margin-top: 20px;
}

.bpyl-hero {
  padding-top: 56px !important;
  border-top: 0;
}

.bpyl-route {
  display: none !important;
}

.bpyl-landing h1,
.bpyl-landing h2,
.bpyl-landing h3 {
  color: var(--text);
  margin: 0 0 22px;
}

.bpyl-landing h1 {
  max-width: 1150px;
  font-size: clamp(44px, 6vw, 88px) !important;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.bpyl-landing h2 {
  max-width: 960px;
  font-size: clamp(32px, 5vw, 52px) !important;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.bpyl-landing h3 {
  font-size: 20px !important;
  line-height: 1.3;
}

.bpyl-landing p {
  max-width: 880px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.bpyl-eyebrow {
  color: var(--accent) !important;
  font: 700 12px/1.3 Consolas, monospace !important;
  letter-spacing: 0.15em;
}

.bpyl-lead {
  color: var(--text) !important;
  font-size: 22px !important;
  line-height: 1.5 !important;
}

.bpyl-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.bpyl-button {
  display: inline-block;
  padding: 13px 19px;
  border-radius: 2px;
  background: var(--accent);
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
}

.bpyl-link-button {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.bpyl-button-small {
  padding: 10px 14px;
  font-size: 13px !important;
}

.bpyl-two,
.bpyl-about,
.bpyl-contact {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 60px !important;
}

.bpyl-grid,
.bpyl-principles {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1px !important;
  margin-top: 45px;
  background: var(--border);
  border: 1px solid var(--border);
}

.bpyl-grid article,
.bpyl-principles article {
  min-height: 0 !important;
  padding: 30px !important;
  border: 0 !important;
  background: #101617;
}

.bpyl-grid h3,
.bpyl-process li h3 {
  min-height: 0 !important;
  margin-top: 24px !important;
}

.bpyl-grid b,
.bpyl-process li > b {
  color: var(--accent);
  font-family: Consolas, monospace;
}

.bpyl-list,
.bpyl-process ol {
  margin-top: 45px;
}

.bpyl-list article {
  display: grid !important;
  grid-template-columns: 1fr 1.5fr !important;
  gap: 50px !important;
  padding: 25px 0 !important;
  border-top: 1px solid var(--border);
}

.bpyl-process ol {
  display: block !important;
  padding: 0;
  list-style: none;
}

.bpyl-process li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  padding: 24px 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--border) !important;
}

.bpyl-coop {
  text-align: left !important;
}

.bpyl-coop h2,
.bpyl-coop p {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.bpyl-contact {
  width: 100% !important;
  max-width: none !important;
  padding-left: max(32px, calc((100% - 1440px) / 2)) !important;
  padding-right: max(32px, calc((100% - 1440px) / 2)) !important;
  background: var(--accent) !important;
  color: #ffffff;
}

.bpyl-contact h2 {
  color: #ffffff;
}

.bpyl-contact p,
.bpyl-contact .bpyl-eyebrow {
  color: #e6eef5 !important;
}

.bpyl-contact > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.bpyl-contact small {
  margin-top: 28px;
}

.bpyl-contact a {
  color: #ffffff;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
}

.bpyl-footer {
  padding: 38px 0 !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  color: var(--muted);
  font-size: 13px;
}

.bpyl-footer p {
  grid-column: 1 / -1;
  font-size: 13px;
}

.trp-floating-switcher {
  display: none !important;
}

@media (max-width: 760px) {
  .bpyl-header nav,
  .bpyl-button-small {
    display: none !important;
  }

  .bpyl-header,
  .bpyl-hero,
  .bpyl-section,
  .bpyl-footer {
    width: min(100% - 28px, 1120px) !important;
  }

  .bpyl-hero,
  .bpyl-section {
    padding: 64px 0 !important;
  }

  .bpyl-two,
  .bpyl-about,
  .bpyl-contact,
  .bpyl-grid,
  .bpyl-principles,
  .bpyl-footer {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .bpyl-list article {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .bpyl-contact {
    width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}
