/* IOT-TIME · 上线前引导页 */

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

body.gate {
  box-sizing: border-box;
  margin: 0;
  padding: 26px clamp(22px, 4vw, 58px) 22px;
  height: 100svh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  position: relative;
  overflow: hidden;
  background-color: #f7f1e4;
  background-image: radial-gradient(720px 520px at 78% 12%, rgba(255, 205, 148, 0.3), transparent 70%),
    radial-gradient(620px 460px at 12% 88%, rgba(190, 216, 184, 0.22), transparent 72%);
  color: #191512;
}

.gate__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(25, 21, 18, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 21, 18, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(90% 80% at 50% 45%, #000 0%, transparent 82%);
  mask-image: radial-gradient(90% 80% at 50% 45%, #000 0%, transparent 82%);
}

.gate__top,
.gate__main,
.gate__foot {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
}

.gate__top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.gate__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-bottom: 0;
}

.gate__brand img {
  display: block;
  width: 116px;
  height: auto;
}

.gate__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #7b7264;
  white-space: nowrap;
}

.gate__status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2e6b50;
  box-shadow: 0 0 9px rgba(46, 107, 80, 0.55);
  animation: gate-pulse 2.6s ease-in-out infinite;
}

@keyframes gate-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.gate__main {
  align-self: center;
  text-align: center;
  padding: 0;
  animation: gate-in 0.8s var(--ease, ease) both;
}

@keyframes gate-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.gate__eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7b7264;
}

.gate__slogan {
  margin: 0 auto;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(56px, min(11.5vw, 18vh), 176px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  color: #191512;
}

.gate__dot {
  color: #ff0520;
}

.gate__sub {
  margin: 34px auto 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.8;
  color: #4a4238;
}

.gate__line {
  display: block;
  width: 68px;
  height: 1px;
  margin: 28px auto 18px;
  background: #cbbba1;
}

.gate__note {
  margin: 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #8b8173;
}

.gate__foot {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1fr);
  gap: 24px 36px;
  align-items: end;
  padding-top: 18px;
  border-top: 1px solid #d8ccb8;
  font-size: 10.5px;
  color: #7b7264;
}

.gate__company {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gate__company strong {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  color: #3b352d;
}

.gate__company span {
  line-height: 1.6;
}

.gate__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
}

.gate__contact a {
  color: #3b352d;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.gate__contact a:hover {
  color: #c7392b;
  border-color: #c7392b;
}

.gate__preview {
  opacity: 0.55;
  font-size: 8.5px;
}

.gate__legal a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.gate__legal a:hover {
  border-color: currentColor;
}

.gate__legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.7;
  color: #8b8173;
}

@media (max-width: 760px) {
  body.gate {
    padding: 20px 20px 18px;
    gap: 18px;
    min-height: 100svh;
  }

  .gate__brand img {
    width: 96px;
  }

  .gate__status {
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .gate__main {
    padding: 0;
  }

  .gate__slogan {
    font-size: clamp(52px, 16vw, 96px);
    line-height: 0.94;
  }

  .gate__foot {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
    padding-top: 16px;
  }

  .gate__contact {
    align-items: flex-start;
  }

  .gate__legal {
    align-items: flex-start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gate__main,
  .gate__status i {
    animation: none;
  }
}
