html, body {
  margin: 0;
  padding: 0;
  background: #07101d;
  color: #eef4ff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

main#site-content {
  min-height: 100vh;
}

.portal-home {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(89, 216, 255, 0.16), transparent 20%),
    radial-gradient(circle at 88% 10%, rgba(255, 212, 92, 0.12), transparent 18%),
    radial-gradient(circle at 50% 85%, rgba(42, 98, 255, 0.10), transparent 24%),
    linear-gradient(180deg, #07101d 0%, #0b1627 50%, #09111d 100%);
  padding: 90px 24px 70px;
}

.portal-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.portal-hero {
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 30px;
  padding: 38px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}

.portal-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #71e2ff;
  margin-bottom: 16px;
}

.portal-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 900px;
}

.portal-lead {
  max-width: 780px;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.45;
  color: #d5deea;
  margin: 0 0 28px;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.portal-btn {
  display: inline-block;
  padding: 15px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease;
}

.portal-btn:hover {
  transform: translateY(-1px);
}

.portal-btn-primary {
  background: linear-gradient(135deg, #ffd95f 0%, #ffbf45 100%);
  color: #0d1521;
  box-shadow: 0 10px 24px rgba(255, 191, 69, 0.18);
}

.portal-btn-secondary {
  color: #eef4ff;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.portal-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-height: 180px;
}

.portal-card-number {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffd95f;
  margin-bottom: 12px;
}

.portal-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.1;
  color: #ffffff;
}

.portal-card p {
  margin: 0;
  color: #c8d4e5;
  font-size: 15px;
  line-height: 1.55;
}

.portal-strip {
  margin-top: 22px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.03);
  color: #d5deea;
  font-size: 15px;
}

.portal-strip strong {
  color: #ffffff;
}

.portal-bg-glow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 9999px;
  filter: blur(90px);
  opacity: 0.75;
  pointer-events: none;
  z-index: 1;
}

.portal-bg-glow-1 {
  top: -90px;
  width: 500vw;
  height: 180px;
  background: linear-gradient(90deg, rgba(0,0,0,0), rgba(87,217,255,0.16), rgba(255,212,92,0.14), rgba(0,0,0,0));
}

.portal-bg-glow-2 {
  bottom: -120px;
  width: 550vw;
  height: 220px;
  background: linear-gradient(90deg, rgba(0,0,0,0), rgba(45,92,188,0.18), rgba(0,0,0,0));
}

@media (max-width: 900px) {
  .portal-home {
    padding: 40px 16px 32px;
  }

  .portal-shell {
    max-width: 100%;
  }

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

  .portal-hero h1 {
    font-size: 34px;
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
  }

  .portal-lead {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 22px;
  }

  .portal-actions {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }

  .portal-btn {
    width: 100%;
    text-align: center;
    padding: 14px 16px;
  }

  .portal-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .portal-card {
    min-height: auto;
    padding: 18px;
    border-radius: 18px;
  }

  .portal-card h3 {
    font-size: 20px;
  }

  .portal-card p {
    font-size: 14px;
    line-height: 1.5;
  }

  .portal-strip {
    padding: 16px;
    font-size: 14px;
    line-height: 1.5;
  }

  .portal-bg-glow-1,
  .portal-bg-glow-2 {
    opacity: 0.45;
    filter: blur(70px);
  }
}