:root {
  --bg: #0B0D10;
  --bg-raise: #12151A;
  --bg-raise-2: #171B21;
  --ink: #EEF1F4;
  --muted: #8B93A0;
  --line: rgba(238, 241, 244, 0.10);
  --line-strong: rgba(238, 241, 244, 0.16);
  --accent: #4D8DFF;
  --accent-soft: rgba(77, 141, 255, 0.16);
  --accent-glow: rgba(77, 141, 255, 0.38);
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  font: 400 16px/1.45 var(--sans);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px calc(16px + env(safe-area-inset-bottom));
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 42% at 50% -8%, rgba(77, 141, 255, 0.16), transparent 58%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(77, 141, 255, 0.05), transparent 70%);
}

.shell, .foot { position: relative; z-index: 1; }

.shell {
  width: 100%;
  max-width: 420px;
  margin-top: clamp(24px, 4.2vh, 48px);
  animation: rise 0.7s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 22px;
}

.mark {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow:
    0 0 0 1px rgba(77, 141, 255, 0.12),
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 32px rgba(77, 141, 255, 0.18);
  margin-bottom: 14px;
}

.mark svg { display: block; width: 100%; height: 100%; }

h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

h1 b { font-weight: 700; }

.tagline {
  margin: 10px 0 0;
  max-width: 22em;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 450;
  text-wrap: pretty;
}

.stack {
  display: grid;
  gap: 7px;
}

.card,
.cta {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  min-height: 56px;
  -webkit-tap-highlight-color: transparent;
}

.card {
  position: relative;
  gap: 12px;
  padding: 10px 16px 10px 18px;
  background: linear-gradient(180deg, var(--bg-raise-2), var(--bg-raise));
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, transform 0.22s var(--ease), background 0.2s ease;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.85;
}

.card-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-title {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.card-meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card-go {
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--muted);
  border-top: 1.5px solid var(--muted);
  transform: rotate(45deg);
  opacity: 0.7;
}

.cta {
  justify-content: center;
  margin-top: 12px;
  padding: 0 20px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 8px 28px rgba(77, 141, 255, 0.28);
  transition: transform 0.22s var(--ease), box-shadow 0.22s ease, filter 0.2s ease;
}

.suite {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.suite h2 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.suite ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.suite li {
  padding: 10px 11px 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(18, 21, 26, 0.65);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.3;
}

.foot {
  width: 100%;
  max-width: 420px;
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 0;
  color: var(--muted);
  font-size: 12.5px;
}

.foot a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
}

.foot .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

.foot a:hover { color: var(--ink); }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    border-color: rgba(77, 141, 255, 0.55);
    transform: translateY(-1px);
    background: linear-gradient(180deg, #1a1f27, #14181e);
  }
  .card:hover .card-go { border-color: var(--accent); opacity: 1; }
  .cta:hover {
    filter: brightness(1.06);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 12px 32px rgba(77, 141, 255, 0.38);
    transform: translateY(-1px);
  }
}

.card:active, .cta:active {
  transform: translateY(0) scale(0.985);
  transition-duration: 0.08s;
}

@media (prefers-reduced-motion: reduce) {
  .shell { animation: none; }
  .card, .cta { transition: none; }
  .card:hover, .cta:hover, .card:active, .cta:active { transform: none; }
}

@media (min-width: 720px) {
  .shell { margin-top: clamp(36px, 6vh, 64px); max-width: 440px; }
  .mark { width: 72px; height: 72px; border-radius: 20px; }
  h1 { font-size: 24px; }
  .foot { max-width: 440px; }
}
