:root {
  --portal-bg: #020617;
  --portal-panel: #0f172a;
  --portal-panel-soft: #111c31;
  --portal-line: rgba(255, 255, 255, 0.10);
  --portal-title: #f8fafc;
  --portal-text: #cbd5e1;
  --portal-muted: #94a3b8;
  --portal-cyan: #67e8f9;
  --portal-cyan-strong: #22d3ee;
  --portal-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

body {
  background: var(--portal-bg);
  color: var(--portal-title);
}

.portal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(34, 211, 238, 0.14), transparent 30%),
    linear-gradient(180deg, #020617 0%, #0f172a 100%);
}

.portal-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.portal-hero {
  max-width: 790px;
}

.portal-eyebrow {
  margin: 0 0 14px;
  color: var(--portal-cyan);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.30em;
  text-transform: uppercase;
}

.portal-hero h1 {
  margin: 0;
  color: var(--portal-title);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  line-height: 1.04;
  font-weight: 900;
}

.portal-subtitle {
  margin: 18px 0 0;
  color: var(--portal-title);
  font-size: 1.25rem;
  font-weight: 800;
}

.portal-description {
  margin: 18px 0 0;
  color: var(--portal-text);
  font-size: 1.05rem;
  line-height: 1.75;
}

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

.portal-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--portal-line);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--portal-panel), var(--portal-panel-soft));
  box-shadow: var(--portal-shadow);
}

.portal-card__icon {
  display: grid;
  min-width: 44px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: rgba(103, 232, 249, 0.12);
  color: var(--portal-cyan);
  font-size: 0.78rem;
  font-weight: 900;
}

.portal-card h2 {
  margin: 24px 0 0;
  color: var(--portal-title);
  font-size: 1.35rem;
  font-weight: 900;
}

.portal-card p {
  margin: 12px 0 26px;
  color: var(--portal-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.portal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--portal-cyan-strong);
  color: #020617;
  font-size: 0.94rem;
  font-weight: 900;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.portal-button:hover,
.portal-button:focus {
  background: var(--portal-cyan);
  box-shadow: 0 14px 28px rgba(34, 211, 238, 0.16);
  transform: translateY(-1px);
}

.portal-button:focus-visible {
  outline: 3px solid rgba(103, 232, 249, 0.28);
  outline-offset: 3px;
}

.portal-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
  color: #94a3b8;
  font-family: "Avenir Next", Pretendard, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .portal-shell {
    width: min(100% - 28px, 640px);
    padding: 46px 0;
  }

  .portal-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 34px;
  }

  .portal-card {
    min-height: 0;
    padding: 24px;
  }

  .portal-description br {
    display: none;
  }
}
