html {
  height: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #edfaff;
  background:
    radial-gradient(circle at 12% 10%, rgba(36, 232, 236, 0.14), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(74, 176, 255, 0.11), transparent 31%),
    radial-gradient(circle at 48% 96%, rgba(36, 232, 236, 0.08), transparent 34%),
    linear-gradient(135deg, #061d36 0%, #062846 45%, #031a30 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.72), transparent 90%);
}

.page {
  position: relative;
  z-index: 1;
  width: min(1720px, calc(100vw - 72px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 0 18px;
  display: grid;
  grid-template-rows: 92px 156px 1fr 34px;
  gap: 22px;
  overflow: hidden;
}

.watermark {
  position: fixed;
  right: 4.5vw;
  bottom: 4.5vh;
  width: min(680px, 38vw);
  opacity: 0.13;
  filter: saturate(1.12);
  pointer-events: none;
  z-index: -1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 132px;
  height: 84px;
  object-fit: cover;
  object-position: center center;
  border: 1px solid rgba(85, 219, 247, 0.20);
  border-radius: 22px;
  background: rgba(3, 25, 48, 0.74);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
}

.brand span {
  display: grid;
  gap: 5px;
}

.brand strong {
  color: #23edf0;
  font-size: 2.05rem;
  line-height: 1;
  letter-spacing: -0.045em;
}

.brand small {
  color: #a7c0d5;
  font-size: 1.02rem;
  line-height: 1.22;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(85, 219, 247, 0.24);
  border-radius: 999px;
  background: rgba(2, 22, 42, 0.58);
  color: #c4f2ff;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(12px);
}

.pill-login {
  color: #dffbff;
  background:
    linear-gradient(180deg, rgba(12, 57, 91, 0.80), rgba(5, 30, 55, 0.82));
  border-color: rgba(36, 232, 236, 0.42);
}

.pill-login:hover,
.pill-login:focus-visible {
  border-color: rgba(116, 239, 255, 0.70);
  box-shadow:
    0 14px 42px rgba(0, 0, 0, 0.22),
    0 0 0 4px rgba(36, 232, 236, 0.08);
}

.hero-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(390px, 0.6fr);
  gap: 24px;
  align-items: stretch;
  min-height: 0;
  padding: 18px 24px;
  border: 1px solid rgba(85, 219, 247, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 0%, rgba(36, 232, 236, 0.11), transparent 38%),
    linear-gradient(180deg, rgba(9, 37, 68, 0.82), rgba(5, 25, 48, 0.90));
  box-shadow:
    0 30px 82px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-copy {
  min-width: 0;
  overflow: hidden;
}

.kicker {
  margin: 0 0 7px;
  color: #24e9ec;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  max-width: 1040px;
  color: #ecfbff;
  font-size: clamp(1.72rem, 2.12vw, 2.76rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-copy p:last-child {
  margin: 10px 0 0;
  max-width: 1040px;
  color: #aac5da;
  font-size: 0.97rem;
  line-height: 1.43;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 0;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 4px 0;
  color: #dff9ff;
  font-size: 0.92rem;
  font-weight: 650;
  text-align: left;
  white-space: nowrap;
}

.hero-facts span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #24e9ec;
  box-shadow: 0 0 18px rgba(36, 232, 236, 0.35);
}

.feature-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 20px;
  min-height: 0;
}

.tile {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 20px 19px 18px;
  border: 1px solid rgba(85, 219, 247, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.058), rgba(255,255,255,0.026) 58%),
    linear-gradient(180deg, rgba(7, 41, 72, 0.82), rgba(5, 27, 50, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.035),
    0 16px 42px rgba(0,0,0,0.20);
}

.tile::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -75px;
  top: -78px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(36, 232, 236, 0.12), transparent 70%);
}

.tile-ai {
  border-color: rgba(36, 232, 236, 0.34);
  background:
    radial-gradient(circle at 10% 0%, rgba(36, 232, 236, 0.18), transparent 40%),
    linear-gradient(145deg, rgba(36, 232, 236, 0.085), rgba(255,255,255,0.03) 58%),
    linear-gradient(180deg, rgba(7, 46, 78, 0.90), rgba(5, 27, 50, 0.92));
}

.tile-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 11px;
  margin-bottom: 13px;
  border: 1px solid rgba(36, 232, 236, 0.27);
  border-radius: 999px;
  color: #25ecee;
  background: rgba(36, 232, 236, 0.075);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tile-ai .tile-tag {
  color: #062342;
  background: linear-gradient(135deg, #26f0ef 0%, #62c7ff 100%);
  border-color: rgba(190, 252, 255, 0.55);
}

.tile h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: #ecfbff;
  font-size: clamp(1.08rem, 1.03vw, 1.24rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.tile p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #a9c2d7;
  font-size: clamp(0.88rem, 0.78vw, 0.96rem);
  line-height: 1.47;
}

.tile-ai p {
  color: #c2ddec;
}

.footer {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 30px;
  color: #9fb9ce;
  font-size: 0.92rem;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(35, 237, 240, 0.65);
}

@media (min-width: 1500px) and (min-height: 850px) {
  body {
    overflow: hidden;
  }

  .page {
    height: 100vh;
  }
}

@media (max-width: 1250px) {
  .page {
    width: min(100% - 36px, 1120px);
    grid-template-rows: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .watermark {
    right: 2vw;
    bottom: 2vh;
    width: 480px;
    opacity: 0.08;
  }

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

  .hero-facts {
    justify-content: flex-start;
  }

  .feature-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .tile {
    min-height: 190px;
  }
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 28px, 620px);
    padding: 18px 0;
    gap: 14px;
  }

  .topbar,
  .top-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .brand {
    align-items: center;
  }

  .brand img {
    width: 118px;
    height: 76px;
  }

  .brand strong,
  .brand small {
    text-align: left;
  }

  .pill {
    width: 100%;
  }

  .hero-strip {
    padding: 18px;
    border-radius: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(1.7rem, 7vw, 2.35rem);
  }

  .hero-facts,
  .feature-board {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    display: grid;
    justify-content: stretch;
  }

  .hero-facts span {
    white-space: normal;
  }

  .tile {
    min-height: auto;
    border-radius: 20px;
  }

  .watermark {
    display: none;
  }

  .footer {
    flex-wrap: wrap;
  }
}
