:root {
  --navy-950: #060d1a;
  --navy-925: #081426;
  --navy-900: #0a1628;
  --navy-850: #0f1d32;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --cyan-400: #06b6d4;
  --slate-100: #f1f5f9;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --line: rgba(96, 165, 250, 0.22);
  --panel: rgba(10, 22, 40, 0.9);
  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 8%, rgba(59, 130, 246, 0.22), transparent 26rem),
    radial-gradient(circle at 88% 16%, rgba(6, 182, 212, 0.18), transparent 30rem),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: var(--slate-100);
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px);
}

.topbar,
.launch-hero,
.portal-card,
.quick-panel {
  border: 1px solid var(--line);
  background: rgba(10, 22, 40, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 14px clamp(16px, 2vw, 24px);
  border-radius: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  color: white;
  font-weight: 900;
  box-shadow: 0 0 34px rgba(59, 130, 246, 0.32);
}

.brand-logo {
  padding: 4px;
  background: white;
  overflow: hidden;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  position: relative;
  padding-right: 0;
  white-space: nowrap;
  letter-spacing: 0;
}

.brand-wordmark span {
  color: var(--slate-100);
}

.brand-wordmark b {
  color: #2f7df7;
}

.brand-wordmark sup {
  position: static;
  margin-left: 3px;
  transform: translateY(-0.62em);
  color: white;
  font-size: 0.34em;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--slate-400);
  font-size: 0.76rem;
}

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

.top-actions a,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(96, 165, 250, 0.26);
  border-radius: 999px;
  color: var(--slate-300);
  font-size: 0.9rem;
  font-weight: 800;
}

.top-actions a:hover,
.secondary-link:hover {
  color: white;
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(59, 130, 246, 0.14);
}

.launch-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding: clamp(24px, 4vw, 46px);
  border-radius: 28px;
}

.eyebrow,
.portal-type {
  margin: 0 0 12px;
  color: var(--blue-400);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 14px;
  font-size: clamp(2.5rem, 5.6vw, 6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-wordmark {
  display: inline-flex;
  align-items: baseline;
  position: relative;
  padding-right: 0.3em;
  white-space: nowrap;
}

.hero-wordmark span {
  color: var(--slate-100);
}

.hero-wordmark strong {
  color: #2f7df7;
  font-weight: 900;
}

.hero-wordmark sup {
  position: absolute;
  top: 0.12em;
  right: 0;
  margin-left: 0;
  color: white;
  font-size: 0.2em;
  font-weight: 900;
  line-height: 1;
}

.hero-copy p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--slate-300);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}

.status-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 288px;
  padding: 16px;
  border: 1px solid rgba(6, 182, 212, 0.24);
  border-radius: 18px;
  background: rgba(6, 13, 26, 0.42);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.7);
}

.status-panel strong,
.status-panel small {
  display: block;
}

.status-panel small {
  margin-top: 3px;
  color: var(--slate-400);
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
}

.portal-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 620px;
  padding: clamp(18px, 3vw, 30px);
  border-radius: 30px;
  overflow: hidden;
}

.portal-card-accent {
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(6, 182, 212, 0.1)),
    rgba(10, 22, 40, 0.72);
}

.logo-frame {
  display: grid;
  place-items: center;
  min-height: 290px;
  padding: clamp(14px, 2.2vw, 22px);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at center, rgba(59, 130, 246, 0.18), transparent 72%),
    rgba(6, 13, 26, 0.48);
  overflow: hidden;
}

.logo-frame img {
  display: block;
  width: min(100%, 332px);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(96, 165, 250, 0.18);
}

.portal-content {
  padding: clamp(22px, 3vw, 30px) 4px 22px;
}

.portal-content h2 {
  margin-bottom: 12px;
}

.product-wordmark {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 12px;
  row-gap: 2px;
  font-size: clamp(2rem, 3vw, 3.35rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
}

.wordmark-name {
  display: inline-flex;
  align-items: baseline;
  position: relative;
  padding-right: 0.36em;
  white-space: nowrap;
}

.word-shop,
.word-product {
  color: var(--slate-100);
}

.word-command {
  color: #2f7df7;
}

.product-wordmark sup {
  position: absolute;
  top: 0.1em;
  right: 0;
  margin-left: 0;
  color: white;
  font-size: 0.22em;
  font-weight: 900;
  line-height: 1;
}

.word-product {
  margin-left: 0;
}

.portal-content p:last-child {
  margin-bottom: 0;
  color: var(--slate-300);
  font-size: 1rem;
  line-height: 1.65;
}

.portal-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.launch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  color: white;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(59, 130, 246, 0.3);
}

.launch-button:hover {
  filter: brightness(1.08);
}

.quick-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 24px;
  overflow: hidden;
}

.quick-panel a {
  min-height: 92px;
  padding: 22px;
  border-right: 1px solid rgba(96, 165, 250, 0.16);
}

.quick-panel a:last-child {
  border-right: 0;
}

.quick-panel span,
.quick-panel strong {
  display: block;
}

.quick-panel span {
  margin-bottom: 5px;
  color: var(--slate-400);
  font-size: 0.86rem;
}

.quick-panel strong {
  color: var(--slate-100);
}

@media (max-width: 980px) {
  .launch-hero,
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .status-panel {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .shell {
    padding: 12px;
  }

  .topbar,
  .portal-actions {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
  }

  .top-actions,
  .portal-actions {
    width: 100%;
  }

  .top-actions a,
  .secondary-link,
  .launch-button {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.5rem);
  }

  .portal-card {
    min-height: auto;
  }

  .logo-frame {
    min-height: 220px;
  }

  .logo-frame img {
    width: min(100%, 252px);
  }

  .product-wordmark {
    column-gap: 4px;
    font-size: clamp(1.78rem, 10vw, 2.6rem);
  }

  .word-product {
    flex-basis: 100%;
    margin-left: 0;
  }

  .quick-panel {
    grid-template-columns: 1fr;
  }

  .quick-panel a {
    border-right: 0;
    border-bottom: 1px solid rgba(96, 165, 250, 0.16);
  }

  .quick-panel a:last-child {
    border-bottom: 0;
  }
}
