/* Behoss homepage: product gateway for consulting, support, and company story. */
:root {
  --home-bg: #020304;
  --home-ink: #f7f8fb;
  --home-ink-soft: rgba(247, 248, 251, 0.74);
  --home-ink-muted: rgba(247, 248, 251, 0.52);
  --home-dark: #07090d;
  --home-line: rgba(255, 255, 255, 0.13);
  --home-line-strong: rgba(255, 255, 255, 0.24);
  --home-panel: rgba(255, 255, 255, 0.065);
  --home-panel-strong: rgba(255, 255, 255, 0.1);
  --home-paper: #f6f8fc;
  --home-paper-2: #eceff6;
  --home-paper-ink: #05070d;
  --home-paper-soft: rgba(5, 7, 13, 0.66);
  --home-blue: #246bff;
  --home-cyan: #2ee7ff;
  --home-pink: #ff46d4;
  --home-amber: #ffc25a;
  --home-green: #70c95b;
  --home-radius: 8px;
  --home-shadow-dark: 0 30px 80px rgba(0, 0, 0, 0.34);
  --home-shadow-light: 0 26px 70px rgba(21, 31, 54, 0.13);
}

.home-landing-page {
  color: var(--home-ink);
  background: var(--home-bg);
  color-scheme: dark;
}

.home-landing-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px) 50%
      0 / 104px 104px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px) 50%
      0 / 104px 104px,
    linear-gradient(
      120deg,
      rgba(46, 231, 255, 0.11),
      transparent 34%,
      rgba(255, 70, 212, 0.08) 64%,
      transparent 84%
    ),
    linear-gradient(180deg, #000 0%, #05070b 44%, #000 100%);
}

.home-landing-page main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
}

.home-page-section {
  position: relative;
  scroll-margin-top: 52px;
  padding: clamp(92px, 9vw, 136px) 0;
  overflow: hidden;
}

.home-page-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.24),
    transparent
  );
  opacity: 0.7;
}

.home-kicker {
  margin: 0;
  color: var(--home-cyan);
  font-size: 13px;
  font-weight: 780;
  line-height: 1.2;
  letter-spacing: 0;
}

.home-section-head {
  max-width: 760px;
  margin: 0 auto clamp(34px, 5vw, 60px);
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.home-section-head h2,
.home-about-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-section-head p,
.home-about-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--home-ink-soft);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.68;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.home-primary-link,
.home-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 780;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform var(--motion-normal) var(--motion-ease),
    border-color var(--motion-fast) var(--motion-ease),
    background var(--motion-fast) var(--motion-ease),
    box-shadow var(--motion-fast) var(--motion-ease),
    color var(--motion-fast) var(--motion-ease);
}

.home-primary-link {
  color: #030305;
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 18px 40px rgba(46, 231, 255, 0.11);
}

.home-secondary-link {
  color: rgba(247, 248, 251, 0.9);
  border: 1px solid var(--home-line-strong);
  background: rgba(255, 255, 255, 0.055);
}

.home-primary-link:hover,
.home-secondary-link:hover {
  transform: translateY(-2px);
}

.home-primary-link:hover {
  background: #f3f7ff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 22px 48px rgba(36, 107, 255, 0.16);
}

.home-secondary-link:hover {
  border-color: rgba(46, 231, 255, 0.46);
  background: rgba(255, 255, 255, 0.09);
}

.home-hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 60px 0 42px;
  color: var(--home-ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.036) 1px, transparent 1px) 50%
      0 / 96px 96px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 50%
      0 / 96px 96px,
    linear-gradient(
      118deg,
      rgba(46, 231, 255, 0.18) 0%,
      transparent 31%,
      rgba(255, 70, 212, 0.21) 48%,
      transparent 66%,
      rgba(255, 194, 90, 0.16) 100%
    ),
    linear-gradient(116deg, #001326 0%, #081326 38%, #171033 64%, #03141c 100%);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 48px 0 auto;
  height: 56%;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      transparent 4%,
      rgba(255, 194, 90, 0.35) 22%,
      rgba(255, 70, 212, 0.32) 46%,
      rgba(36, 107, 255, 0.36) 69%,
      rgba(46, 231, 255, 0.24) 86%,
      transparent 98%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), transparent 72%);
  clip-path: polygon(0 12%, 100% 0, 100% 72%, 0 100%);
  opacity: 0.7;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30vh;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88) 82%);
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(430px, 0.82fr);
  align-items: center;
  gap: clamp(48px, 8vw, 118px);
}

.home-hero-copy {
  max-width: 700px;
}

.home-hero h1 {
  max-width: 760px;
  margin: 16px 0 0;
  color: #ffffff;
  font-size: clamp(48px, 6.2vw, 82px);
  font-weight: 780;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-hero h1 span {
  display: block;
}

.home-hero-line {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--home-ink-soft);
  font-size: clamp(18px, 1.65vw, 22px);
  font-weight: 560;
  line-height: 1.55;
  text-wrap: pretty;
}

.home-consult-showcase {
  width: min(100%, 490px);
  justify-self: end;
  display: grid;
  gap: 14px;
}

.home-product-card {
  position: relative;
  min-height: 382px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: clamp(22px, 2.7vw, 30px);
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  color: #ffffff;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.088),
      rgba(255, 255, 255, 0.035)
    ),
    rgba(8, 10, 15, 0.9);
  box-shadow: var(--home-shadow-dark);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  overflow: hidden;
}

.home-product-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--home-amber),
    var(--home-pink),
    var(--home-blue),
    var(--home-cyan)
  );
}

.home-product-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 92px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.24),
    transparent
  );
}

.home-product-head {
  display: grid;
  gap: 10px;
}

.home-product-head span {
  color: var(--home-cyan);
  font-size: 13px;
  font-weight: 760;
}

.home-product-head strong {
  max-width: 9em;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 39px);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: 0;
}

.home-mini-form {
  display: grid;
  grid-template-columns: minmax(82px, 0.36fr) minmax(0, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--home-radius);
  background: rgba(255, 255, 255, 0.08);
}

.home-mini-form span,
.home-mini-form b {
  min-height: 43px;
  display: flex;
  align-items: center;
  padding: 10px 13px;
  background: rgba(255, 255, 255, 0.043);
  font-size: 13px;
  line-height: 1.35;
}

.home-mini-form span {
  color: var(--home-ink-muted);
  font-weight: 680;
}

.home-mini-form b {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 720;
}

.home-result-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.home-result-strip span {
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--home-radius);
  color: rgba(247, 248, 251, 0.78);
  background: rgba(255, 255, 255, 0.055);
  font-size: 13px;
  font-weight: 720;
  text-align: center;
}

.home-price-row {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--home-radius);
  color: #030305;
  background: linear-gradient(90deg, #ffffff, #eef6ff 58%, #ffffff);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.28);
}

.home-price-row span {
  color: rgba(3, 3, 5, 0.64);
  font-size: 14px;
  font-weight: 760;
}

.home-price-row strong {
  color: #030305;
  font-size: clamp(19px, 1.85vw, 25px);
  font-weight: 820;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.home-about {
  min-height: calc(100vh - 48px);
  display: grid;
  align-items: center;
  padding: 0;
  color: var(--home-ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px) 50%
      0 / 104px 104px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px) 50%
      0 / 104px 104px,
    linear-gradient(180deg, #000 0%, #06080d 52%, #000 100%);
}

.home-about-grid {
  min-height: 660px;
  padding: clamp(70px, 6.8vw, 92px) 0;
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(46px, 8vw, 112px);
}

.home-about-mark {
  position: relative;
  width: min(100%, 430px);
  min-height: 430px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0.035) 42%,
      rgba(255, 255, 255, 0.08)
    ),
    conic-gradient(
      from 215deg,
      rgba(255, 194, 90, 0.34),
      rgba(255, 70, 212, 0.32),
      rgba(36, 107, 255, 0.42),
      rgba(46, 231, 255, 0.3),
      rgba(255, 194, 90, 0.34)
    ),
    #05070d;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 28px 86px rgba(36, 107, 255, 0.18),
    0 18px 62px rgba(255, 70, 212, 0.14),
    var(--home-shadow-dark);
  overflow: hidden;
}

.home-about-mark::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.58), rgba(5, 8, 17, 0.22)),
    linear-gradient(
      45deg,
      rgba(255, 194, 90, 0.12),
      rgba(255, 70, 212, 0.14),
      rgba(46, 231, 255, 0.13)
    );
  box-shadow:
    inset 0 0 46px rgba(0, 0, 0, 0.42),
    0 0 58px rgba(46, 231, 255, 0.12);
}

.home-about-mark::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.home-about-mark img {
  position: relative;
  z-index: 1;
  width: min(58%, 260px);
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 0 32px rgba(46, 231, 255, 0.24))
    drop-shadow(0 0 34px rgba(36, 107, 255, 0.26))
    drop-shadow(0 0 28px rgba(255, 70, 212, 0.2));
}

.home-about-copy {
  max-width: 760px;
}

.home-about-copy h2 {
  margin-top: 14px;
}

.home-about-copy p {
  margin-top: 22px;
}

.home-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.home-principles span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  color: rgba(247, 248, 251, 0.78);
  background: rgba(255, 255, 255, 0.055);
  font-size: 14px;
  font-weight: 720;
}

.home-about .home-primary-link {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 18px 40px rgba(255, 70, 212, 0.1);
}

.home-landing-page .site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(247, 248, 251, 0.64);
  background: #020304;
}

.home-landing-page .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.home-landing-page .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@supports (backdrop-filter: blur(8px)) {
  .home-about-mark,
  .home-price-row {
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
  }
}

@media (max-width: 980px) {
  .home-hero-grid,
  .home-about-grid {
    grid-template-columns: 1fr;
  }

  .home-consult-showcase {
    justify-self: stretch;
    width: 100%;
  }

  .home-about-grid {
    min-height: 820px;
    padding: 86px 0;
  }
}

@media (max-width: 640px) {
  .home-page-section {
    padding: 78px 0;
  }

  .home-hero {
    min-height: auto;
    padding: 92px 0 68px;
  }

  .home-hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .home-actions,
  .home-price-row {
    align-items: stretch;
    flex-direction: column;
  }

  .home-primary-link,
  .home-secondary-link {
    width: 100%;
  }

  .home-product-card,
  .home-about-grid {
    min-height: auto;
  }

  .home-mini-form {
    grid-template-columns: 1fr;
  }

  .home-result-strip {
    grid-template-columns: 1fr;
  }

  .home-about-mark {
    width: min(100%, 280px);
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-primary-link,
  .home-secondary-link,
  .home-landing-page .reveal {
    transition-duration: 0.001ms !important;
  }

  .home-primary-link:hover,
  .home-secondary-link:hover,
  .home-landing-page .reveal {
    transform: none !important;
  }
}
