/* ---------- hero: the front ---------- */
.hx {
  position: relative;
  display: flex;
  align-items: center;
  min-height: max(620px, calc(100vh - 150px));
  overflow: hidden;
  background: #fff;
}
.hx-stage { position: absolute; inset: 0; cursor: crosshair; }
.hx-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hx-copy {
  position: relative;
  z-index: 2;
  width: min(52%, 720px);
  padding: 80px 0 88px 64px;
}
.hx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 13px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.005em;
  color: var(--ink);
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 6px 20px -14px rgba(14, 21, 32, .35);
}
.hx-kicker i,
.hx-event-tag::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--blue);
  animation: hxBlink 1.4s steps(2, jump-none) infinite;
}
.hx h1 {
  margin-top: 30px;
  font-size: clamp(3rem, 6.4vw, 6.6rem);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -.055em;
}
.hx h1 .ln { display: block; }
.hx .hero-sub {
  margin-top: 30px;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.65;
}
.hx .hero-ctas { margin-top: 38px; gap: 10px; }
.hx .btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.005em;
  text-transform: none;
  padding: 14px 24px;
  border-radius: 999px;
  transition: background .25s, border-color .25s, box-shadow .25s, transform .25s cubic-bezier(.16, 1, .3, 1);
}
.hx .btn .a { font-family: var(--sans); transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.hx .btn:not(.line) { box-shadow: 0 10px 30px -12px rgba(46, 107, 230, .7); }
.hx .btn:hover { transform: translateY(-1px); }
.hx .btn:not(.line):hover { box-shadow: 0 14px 34px -12px rgba(46, 107, 230, .85); }
.hx .btn:hover .a { transform: translateX(3px); }
.hx .btn.line { background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* the domain box: the product, straight from the hero */
.hx-check {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 520px;
  padding: 6px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 18px 40px -24px rgba(14, 21, 32, .35);
  transition: border-color .25s, box-shadow .25s;
}
.hx-check:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(46, 107, 230, .12), 0 18px 40px -24px rgba(14, 21, 32, .35);
}
.hx-check input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: 500 15px var(--sans);
  color: var(--ink);
  padding: 10px 8px 10px 18px;
}
.hx-check input::placeholder { color: var(--faint); }
.hx-check button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 14px var(--sans);
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  cursor: pointer;
  box-shadow: 0 10px 30px -12px rgba(46, 107, 230, .7);
  transition: background .25s;
}
.hx-check button:hover { background: var(--blue-deep); }
.hx-check button .a { transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.hx-check button:hover .a { transform: translateX(3px); }
.hx-check-note { margin-top: 14px; font-size: 13px; color: var(--faint); }
.hx-check-note a { margin-left: 4px; color: var(--ink); text-decoration: none; border-bottom: 1px solid #cdd6e0; }
.hx-check-note a:hover { color: var(--blue); border-color: var(--blue); }

/* rail: the numbers and the latest line of the front log */
.hx-rail {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--line);
  background: #fff;
}
.hx-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 17px 26px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
.hx-stat:first-child { padding-left: 64px; }
.hx-stat b {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.005em;
}
.hx-stat b::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--blue);
}
.hx-stat span {
  font-size: 13px;
  color: var(--faint);
}
.hx-stat.live b { color: var(--blue); }
.hx-event {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 0 26px;
  overflow: hidden;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--body);
}
.hx-event-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  font-weight: 500;
  color: var(--ink);
}
#hxEvent { display: flex; gap: 12px; white-space: nowrap; }
#hxEvent.in { animation: hxIn .55s cubic-bezier(.16, 1, .3, 1); }
#hxEvent time { color: var(--faint); }
#hxEvent span { color: var(--ink); }
#hxEvent em { font-style: normal; font-weight: 500; color: var(--blue); }
#hxEvent em.warm { color: #b45309; }

/* entrance */
@keyframes hxUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hxIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes hxBlink { 50% { opacity: .15; } }
.hx-kicker, .hx h1 .ln, .hx .hero-sub, .hx-check, .hx-check-note, .hx-rail {
  animation: hxUp .9s cubic-bezier(.16, 1, .3, 1) both;
}
.hx-kicker { animation-delay: .05s; }
.hx h1 .ln:nth-child(1) { animation-delay: .12s; }
.hx h1 .ln:nth-child(2) { animation-delay: .2s; }
.hx h1 .ln:nth-child(3) { animation-delay: .28s; }
.hx .hero-sub { animation-delay: .42s; }
.hx-check { animation-delay: .52s; }
.hx-check-note { animation-delay: .6s; }
.hx-rail { animation-delay: .9s; }
@media (prefers-reduced-motion: reduce) {
  .hx *, .hx-rail, .hx-rail * { animation: none !important; }
}

@media (max-width: 1240px) {
  .hx-stat:nth-child(4) { display: none; }
}
@media (max-width: 900px) {
  .hx { display: block; min-height: 0; }
  .hx-copy { width: auto; padding: 56px 32px 44px; }
  .hx-stage { position: relative; height: 460px; border-top: 1px solid var(--line); }
  .hx-rail { flex-wrap: wrap; }
  .hx-stat:first-child { padding-left: 32px; }
  .hx-stat:nth-child(3) { border-right: 0; }
  .hx-event {
    flex: 0 0 100%;
    justify-content: flex-start;
    padding: 14px 32px;
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 600px) {
  .hx-copy { padding: 44px 20px 36px; }
  .hx-stage { height: 400px; }
  .hx-stat { flex: 1 1 50%; padding: 14px 20px; }
  .hx-stat:first-child { flex-basis: 100%; padding-left: 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hx-stat:nth-child(2) { border-right: 1px solid var(--line); }
  .hx-event { padding: 14px 20px; }
  .hx-check { flex-direction: column; align-items: stretch; border-radius: 22px; }
  .hx-check input { padding: 12px 14px; }
  .hx-check button { justify-content: center; }
  #hxEvent span { display: none; }
}
