:root {
  --bg-graphite: #10141a;
  --bg-black: #06080d;
  --text-main: #ecf1f7;
  --text-soft: #bec7d2;
  --text-muted: #8b95a1;
  --line-subtle: rgba(192, 203, 218, 0.2);
  --line-quiet: rgba(192, 203, 218, 0.12);
  --line-rail: rgba(192, 205, 222, 0.28);
  --line-rail-soft: rgba(192, 205, 222, 0.08);
  --rail-node: rgba(200, 221, 246, 0.56);
  --ambient: rgba(128, 163, 210, 0.14);
  --accent: #b7d5ff;
  --content-max: 78rem;
  --strip-height: 1.9rem;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text-main);
  font-family: "Avenir Next", "Gill Sans Nova", "Helvetica Neue", "Segoe UI", sans-serif;
  line-height: 1.35;
  letter-spacing: 0.009em;
  background-color: var(--bg-black);
  background-image:
    linear-gradient(180deg, rgba(8, 12, 18, 0.66) 0%, rgba(6, 8, 13, 0.84) 100%),
    url("Hero Background.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(54rem 26rem at 72% 18%, var(--ambient), transparent 72%);
}

main {
  min-height: 100svh;
  padding-top: var(--strip-height);
  display: flex;
  flex-direction: column;
}

.status-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: var(--strip-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line-quiet);
  background: rgba(7, 10, 14, 0.84);
  backdrop-filter: blur(3px);
}

.status-track {
  margin: 0 auto;
  width: min(var(--content-max), calc(100% - (2 * var(--space-5))));
  color: var(--text-muted);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.155em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero {
  flex: 1 1 auto;
  min-height: 0;
  width: min(var(--content-max), calc(100% - (2 * var(--space-5))));
  margin: 0 auto;
  padding-block: clamp(1.8rem, 4.2vh, 3rem) clamp(0.9rem, 1.8vh, 1.35rem);
  display: grid;
  grid-template-columns: minmax(0, 13fr) minmax(17rem, 7fr);
  column-gap: clamp(var(--space-4), 5vw, var(--space-6));
  align-items: center;
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  top: clamp(0.3rem, 1.8vh, 1.5rem);
  left: clamp(-7.5rem, -8vw, -2rem);
  right: clamp(-5.5rem, -6vw, -1rem);
  height: clamp(18rem, 47vh, 33rem);
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(
      108deg,
      rgba(10, 14, 21, 0) 8%,
      rgba(191, 209, 230, 0.074) 27%,
      rgba(130, 151, 176, 0.042) 43%,
      rgba(10, 14, 21, 0.012) 58%,
      rgba(10, 14, 21, 0) 74%
    ),
    linear-gradient(
      99deg,
      rgba(8, 12, 18, 0) 20%,
      rgba(202, 222, 245, 0.062) 40%,
      rgba(136, 157, 183, 0.036) 56%,
      rgba(8, 12, 18, 0) 74%
    ),
    linear-gradient(
      92deg,
      rgba(8, 12, 18, 0) 38%,
      rgba(184, 204, 226, 0.05) 58%,
      rgba(111, 132, 157, 0.03) 69%,
      rgba(8, 12, 18, 0) 88%
    );
  filter: saturate(0.9);
  opacity: 0.92;
  -webkit-mask-image: radial-gradient(ellipse 95% 84% at 53% 50%, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 68%, transparent 100%);
  mask-image: radial-gradient(ellipse 95% 84% at 53% 50%, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 68%, transparent 100%);
}

.hero::after {
  content: "";
  position: absolute;
  top: clamp(0.55rem, 2.3vh, 1.8rem);
  left: clamp(-3.5rem, -3vw, -0.75rem);
  right: clamp(-2.5rem, -2.6vw, -0.4rem);
  height: clamp(15rem, 41vh, 28rem);
  pointer-events: none;
  z-index: 1;
  opacity: 0.38;
  transform: rotate(-1.8deg);
  background:
    linear-gradient(
      116deg,
      rgba(7, 10, 15, 0) 12%,
      rgba(229, 239, 252, 0.1) 43%,
      rgba(176, 198, 223, 0.055) 57%,
      rgba(7, 10, 15, 0.02) 70%,
      rgba(7, 10, 15, 0) 86%
    ),
    repeating-linear-gradient(
      180deg,
      rgba(190, 208, 230, 0.018) 0 1px,
      rgba(7, 10, 15, 0) 1px 6px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(184, 204, 226, 0.012) 0 1px,
      rgba(7, 10, 15, 0) 1px 12px
    );
  -webkit-mask-image: radial-gradient(ellipse 104% 78% at 56% 49%, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.48) 71%, transparent 100%);
  mask-image: radial-gradient(ellipse 104% 78% at 56% 49%, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.48) 71%, transparent 100%);
}

.hero-main {
  max-width: 44rem;
  position: relative;
  z-index: 2;
}

.hero-kicker {
  margin: 0 0 0.72rem;
  color: var(--text-muted);
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1.1;
}

.domain {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.072em;
  line-height: 0.86;
  font-weight: 540;
  font-size: clamp(3.15rem, 8.9vw, 7.2rem);
  color: #f3f8ff;
  text-wrap: balance;
}

.sale-line {
  margin: 0.78rem 0 0;
  text-transform: uppercase;
  letter-spacing: 0.148em;
  max-width: 34ch;
  font-size: clamp(1.27rem, 1vw + 0.93rem, 1.92rem);
  font-weight: 640;
  color: #f7fbff;
  text-shadow: 0 0 0.75rem rgba(166, 193, 225, 0.16);
}

.offer-line {
  margin: 0.6rem 0 0;
  max-width: 44ch;
  font-size: clamp(0.93rem, 0.28vw + 0.84rem, 1.04rem);
  color: #d8e1ec;
}

.support-line {
  margin: 0.45rem 0 0;
  max-width: 48ch;
  font-size: clamp(0.86rem, 0.22vw + 0.79rem, 0.96rem);
  color: var(--text-soft);
  line-height: 1.45;
}

.hero-contact {
  padding-left: clamp(var(--space-3), 2.6vw, var(--space-4));
  border-left: 1px solid var(--line-subtle);
  position: relative;
  z-index: 2;
  isolation: isolate;
}

.hero-contact::before {
  content: "";
  position: absolute;
  inset: -1.2rem -1.3rem -1.1rem -1.55rem;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      ellipse 88% 95% at 44% 50%,
      rgba(4, 8, 14, 0.56) 0%,
      rgba(4, 8, 14, 0.34) 45%,
      rgba(4, 8, 14, 0) 100%
    ),
    linear-gradient(
      96deg,
      rgba(5, 9, 15, 0.5) 0%,
      rgba(5, 9, 15, 0.22) 50%,
      rgba(5, 9, 15, 0) 100%
    );
  -webkit-mask-image: radial-gradient(ellipse 90% 84% at 46% 50%, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.58) 66%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 84% at 46% 50%, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.58) 66%, transparent 100%);
}

.inquiry {
  margin: 0;
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  position: relative;
  z-index: 1;
}

.inquiry-label {
  margin: 0 0 0.34rem;
  color: var(--text-muted);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.inquiry a {
  width: fit-content;
  color: #e9f0fb;
  text-decoration: none;
  font-size: clamp(1rem, 0.28vw + 0.91rem, 1.14rem);
  letter-spacing: 0.008em;
}

.inquiry a:hover,
.inquiry a:focus-visible {
  color: #f8fbff;
}

.surname-proof {
  border-top: 1px solid var(--line-quiet);
  padding-block: clamp(0.86rem, 1.9vh, 1.35rem);
}

.proof-inner {
  width: min(var(--content-max), calc(100% - (2 * var(--space-5))));
  margin: 0 auto;
}

.stat-band {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-2);
}

.stat-item {
  min-width: 0;
  display: grid;
  gap: 0.28rem;
  align-content: start;
  position: relative;
  padding-top: 0.88rem;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0.08rem;
  left: 0;
  width: 0.34rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--rail-node);
  box-shadow:
    0 0 0 0.2rem rgba(166, 189, 216, 0.1),
    0 0 0.9rem rgba(141, 173, 207, 0.14);
  animation: rail-node-pulse 9s ease-in-out infinite;
  animation-delay: calc(var(--node-offset, 0) * 0.55s);
}

.stat-item::after {
  content: "";
  position: absolute;
  top: 0.32rem;
  left: 0.16rem;
  width: 1px;
  height: 0.56rem;
  background: linear-gradient(180deg, rgba(191, 207, 226, 0.44) 0%, rgba(191, 207, 226, 0.14) 100%);
}

.stat-item:nth-child(1) {
  --node-offset: 0;
}

.stat-item:nth-child(2) {
  --node-offset: 1;
}

.stat-item:nth-child(3) {
  --node-offset: 2;
}

.stat-item:nth-child(4) {
  --node-offset: 3;
}

.stat-item:nth-child(5) {
  --node-offset: 4;
}

.stat-value {
  margin: 0;
  color: #edf4ff;
  font-size: clamp(1.12rem, 0.62vw + 0.96rem, 1.52rem);
  letter-spacing: 0.012em;
  line-height: 1.02;
  font-weight: 520;
  position: relative;
}

.stat-value::before {
  content: "";
  position: absolute;
  left: 0.52rem;
  right: 0;
  top: -0.54rem;
  height: 1px;
  background: linear-gradient(90deg, var(--line-rail) 0%, var(--line-rail-soft) 100%);
}

.stat-value::after {
  content: "";
  position: absolute;
  top: -0.72rem;
  right: 0;
  width: 1px;
  height: 0.36rem;
  background: rgba(189, 205, 224, 0.2);
}

.stat-label {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(0.68rem, 0.12vw + 0.64rem, 0.76rem);
  letter-spacing: 0.02em;
  line-height: 1.26;
  max-width: 14ch;
}

a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 0.2rem;
}

@media (max-width: 72rem) {
  .hero::before {
    top: 0;
    left: -5.2rem;
    right: -4.2rem;
    height: clamp(14.5rem, 35vh, 24rem);
    opacity: 0.8;
  }

  .hero::after {
    top: 0.7rem;
    left: -1.4rem;
    right: -1.5rem;
    height: clamp(12rem, 31vh, 20rem);
    opacity: 0.3;
  }

  .status-track {
    width: min(var(--content-max), calc(100% - (2 * var(--space-4))));
  }

  .hero {
    flex: 0 0 auto;
    width: min(var(--content-max), calc(100% - (2 * var(--space-4))));
    grid-template-columns: 1fr;
    row-gap: var(--space-4);
    padding-block: var(--space-5) var(--space-4);
  }

  .hero-contact {
    border-left: 0;
    padding-left: 0;
  }

  .hero-contact::before {
    inset: -0.65rem -1rem -0.75rem -1rem;
  }

  .proof-inner {
    width: min(var(--content-max), calc(100% - (2 * var(--space-4))));
  }
}

@media (min-width: 700px) and (max-width: 899px) {
  .stat-band {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    row-gap: var(--space-4);
  }

  .stat-item {
    grid-column: span 2;
  }

  .stat-item:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .stat-item:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

@media (min-width: 900px) and (max-width: 1099px) {
  .stat-band {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--space-2);
  }
}

@media (max-width: 699px) {
  .stat-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-2) var(--space-3);
  }

  .stat-item:nth-child(5) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 42rem) {
  .hero::before {
    top: -0.35rem;
    left: -7.5rem;
    right: -6.25rem;
    height: clamp(12rem, 30vh, 18rem);
    opacity: 0.62;
  }

  .hero::after {
    top: 0.95rem;
    left: -3rem;
    right: -3.2rem;
    height: clamp(8.6rem, 22vh, 12.5rem);
    opacity: 0.23;
  }

  :root {
    --strip-height: 1.72rem;
  }

  .status-track {
    width: calc(100% - (2 * var(--space-3)));
    font-size: 0.54rem;
    letter-spacing: 0.12em;
  }

  .hero {
    width: calc(100% - (2 * var(--space-3)));
    padding-block: var(--space-5) var(--space-3);
    row-gap: var(--space-3);
  }

  .domain {
    font-size: clamp(2.9rem, 15.8vw, 4.8rem);
    letter-spacing: 0.064em;
    line-height: 0.89;
  }

  .sale-line {
    margin-top: var(--space-2);
    letter-spacing: 0.142em;
  }

  .proof-inner {
    width: calc(100% - (2 * var(--space-3)));
  }
}

@keyframes rail-node-pulse {
  0%,
  100% {
    opacity: 0.58;
    box-shadow:
      0 0 0 0.2rem rgba(166, 189, 216, 0.09),
      0 0 0.7rem rgba(141, 173, 207, 0.12);
  }
  50% {
    opacity: 0.86;
    box-shadow:
      0 0 0 0.26rem rgba(166, 189, 216, 0.05),
      0 0 1.15rem rgba(141, 173, 207, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stat-item::before {
    animation: none;
  }
}
