:root {
  color-scheme: light dark;
  --bg: #0f172a;
  --bg-overlay: rgba(15, 23, 42, 0.82);
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.16);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --border: rgba(148, 163, 184, 0.24);
  --radius-lg: 28px;
  --radius-md: 18px;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.16), transparent 58%),
    linear-gradient(160deg, rgba(30, 41, 59, 0.92), var(--bg));
  color: var(--text-primary);
}

body {
  line-height: 1.6;
}

.launchpad {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 64px) clamp(20px, 6vw, 48px) 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.launchpad-header {
  background: var(--bg-overlay);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.4);
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  color: var(--accent);
}

.launchpad-header h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  line-height: 1.1;
}

.intro {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.subdomain-section {
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
}

.subdomain-section h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2rem);
}

.subdomain-section p {
  margin: 0;
  color: var(--text-secondary);
}

.subdomain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.subdomain-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  text-decoration: none;
  background: rgba(15, 23, 42, 0.72);
  color: inherit;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.subdomain-card:hover,
.subdomain-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.45);
}

.subdomain-card .label {
  font-size: 1.1rem;
  font-weight: 600;
}

.subdomain-card .url {
  font-size: 0.9rem;
  color: var(--text-secondary);
  word-break: break-all;
}

.site-footer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-top: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 520px) {
  .launchpad {
    gap: 28px;
  }

  .subdomain-grid {
    grid-template-columns: 1fr;
  }
}
