:root {
  color-scheme: dark;
  --bg: #020202;
  --ink: #f8fafc;
  --ink-soft: rgba(248, 250, 252, 0.82);
  --ink-muted: rgba(248, 250, 252, 0.62);
  --ink-faint: rgba(248, 250, 252, 0.42);
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.075);
  --accent: #22d3ee;
  --accent-soft: rgba(34, 211, 238, 0.42);
  --shadow: rgba(0, 0, 0, 0.76);
  --max-width: 76rem;
  --font-body: Inter, "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: Inter, "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 2, 2, 0.42), rgba(2, 2, 2, 0) 17%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018), transparent 20%, transparent 80%, rgba(255, 255, 255, 0.018));
  opacity: 0.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 40;
  padding: 0.7rem 0.9rem;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(2, 2, 2, 0.78);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.site-nav {
  width: min(calc(100% - 2rem), var(--max-width));
  height: 5rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  max-width: 100%;
  color: var(--ink);
  text-decoration: none;
  transition: color 180ms ease;
}

.brand:hover,
.brand:focus-visible {
  color: var(--accent);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-mark img {
  width: auto;
  height: 3.25rem;
  object-fit: contain;
  filter: drop-shadow(0 0 0.7rem rgba(34, 211, 238, 0.22));
}

.brand-name {
  overflow: hidden;
  color: currentColor;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.005em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-standby {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.34rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
}

.hero-section {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  justify-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 6.75rem 1.25rem 6rem;
  background: var(--bg);
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-section::before {
  background:
    linear-gradient(180deg, rgba(2, 2, 2, 0.34), rgba(2, 2, 2, 0.12) 34%, rgba(2, 2, 2, 0.7) 82%, var(--bg)),
    linear-gradient(90deg, rgba(2, 2, 2, 0.7), rgba(2, 2, 2, 0.18) 42%, rgba(2, 2, 2, 0.7));
}

.hero-section::after {
  background:
    linear-gradient(180deg, transparent 58%, rgba(2, 2, 2, 0.58) 78%, var(--bg)),
    linear-gradient(90deg, var(--bg), transparent 18%, transparent 82%, var(--bg));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.hero-image {
  width: 30rem;
  max-width: none;
  opacity: 0.82;
  filter: saturate(0.88) brightness(0.9) contrast(1.05);
  transform: translateY(2.3rem);
}

.hero-content {
  width: min(100%, 68rem);
  min-width: 0;
  margin: 0 auto;
  text-align: center;
  text-shadow: 0 1.4rem 3.4rem var(--shadow);
  transform: translateY(-5%);
}

.hero-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.012em;
  line-height: 0.9;
  text-wrap: balance;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
}

.hero-domains {
  margin: 1.4rem auto 0;
  max-width: 21rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-domains span {
  display: inline-block;
}

.hero-line {
  margin: 1rem 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 640;
  line-height: 1.45;
}

.signal-block {
  width: max-content;
  max-width: 100%;
  margin: 1.45rem auto 0;
  padding-left: 1rem;
  border-left: 1px solid var(--accent-soft);
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 620;
  line-height: 1.58;
  text-align: left;
}

.signal-block p {
  margin: 0;
}

.signal-block span {
  color: var(--ink-faint);
}

.cursor {
  display: inline-block;
  flex: 0 0 auto;
  background: var(--accent);
  box-shadow: 0 0 1.1rem rgba(34, 211, 238, 0.24);
  animation: cursor-blink 1.15s steps(1) infinite;
}

.cursor-small {
  width: 0.52rem;
  height: 1.03rem;
}

.foundation-rail {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max-width));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-faint);
  font-size: 0.68rem;
  font-weight: 680;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.foundation-rail span {
  min-width: 0;
}

@keyframes cursor-blink {
  50% {
    opacity: 0.08;
  }
}

@media (min-width: 48rem) {
  .site-nav {
    width: min(calc(100% - 4rem), var(--max-width));
    height: 5.8rem;
  }

  .brand-mark img {
    height: 3.5rem;
  }

  .brand-name {
    font-size: 1.18rem;
  }

  .nav-standby {
    font-size: 0.95rem;
  }

  .hero-section {
    padding: 7rem 2rem 6.5rem;
  }

  .hero-content {
    transform: translateY(-7%);
  }

  .hero-image {
    width: 45rem;
    opacity: 0.84;
    transform: translate(6rem, 1rem);
  }

  .hero-title {
    font-size: 5.25rem;
  }

  .hero-title span {
    display: inline;
  }

  .hero-domains {
    margin-top: 1.4rem;
    max-width: none;
    font-size: 0.9rem;
  }

  .hero-line {
    font-size: 1.32rem;
  }

  .signal-block {
    font-size: 1rem;
  }

  .foundation-rail {
    gap: 1.1rem;
    font-size: 0.72rem;
  }
}

@media (min-width: 76rem) {
  .hero-section {
    padding-top: 8.55rem;
    padding-bottom: 7rem;
  }

  .hero-image {
    width: 54rem;
    opacity: 0.86;
    transform: translate(9rem, 0.75rem);
  }

  .hero-title {
    font-size: 6.7rem;
  }

  .hero-domains {
    font-size: 0.95rem;
  }
}

@media (max-width: 23rem) {
  .site-nav {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  .brand {
    gap: 0.6rem;
  }

  .brand-mark img {
    height: 2.75rem;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .nav-standby {
    font-size: 0.82rem;
  }

  .hero-title {
    font-size: 2.55rem;
  }

  .foundation-rail {
    width: min(calc(100% - 1.5rem), var(--max-width));
    gap: 0.42rem;
    font-size: 0.57rem;
  }
}

@media (max-width: 30rem) {
  .site-nav {
    width: min(calc(100% - 1.5rem), var(--max-width));
  }

  .brand {
    gap: 0.62rem;
  }

  .brand-mark img {
    height: 3rem;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .nav-standby {
    font-size: 0.78rem;
  }

  .hero-section {
    padding: 7.55rem 1rem 5.25rem;
  }

  .hero-title {
    font-size: 2.72rem;
  }

  .hero-domains {
    max-width: 18rem;
    font-size: 0.72rem;
  }

  .hero-line {
    font-size: 1.05rem;
  }

  .signal-block {
    font-size: 0.9rem;
  }

  .foundation-rail {
    width: min(calc(100% - 2rem), var(--max-width));
    gap: 0.6rem;
    font-size: 0.52rem;
  }

  .foundation-rail span[aria-hidden="true"] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
