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

html {
  overflow-x: hidden;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  font-family: Outfit, sans-serif;
  color: #0f172a;
  background: #f3f6fb;
  overflow-x: hidden;
  position: relative;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.42;
  animation: float 18s ease-in-out infinite;
}

.orb--1 {
  width: min(60vw, 420px);
  height: min(60vw, 420px);
  background: linear-gradient(135deg, #7dd3fc, #38bdf8);
  top: -12%;
  left: -10%;
}

.orb--2 {
  width: min(50vw, 340px);
  height: min(50vw, 340px);
  background: linear-gradient(135deg, #bae6fd, #0ea5e9);
  bottom: -8%;
  right: -8%;
  opacity: 0.36;
  animation-delay: -6s;
}

.orb--3 {
  width: min(40vw, 280px);
  height: min(40vw, 280px);
  background: linear-gradient(135deg, #93c5fd, #38bdf8);
  top: 48%;
  left: 50%;
  opacity: 0.22;
  animation-name: floatCenter;
  animation-delay: -12s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(3%, -4%) scale(1.05);
  }
  66% {
    transform: translate(-2%, 3%) scale(0.98);
  }
}

@keyframes floatCenter {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  33% {
    transform: translate(-47%, -54%) scale(1.05);
  }
  66% {
    transform: translate(-52%, -47%) scale(0.98);
  }
}

.main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 940px;
  text-align: center;
}

.logo {
  display: block;
  height: clamp(2.1rem, 5vw, 2.6rem);
  width: auto;
  margin: 0 0 1rem;
}

.title {
  margin: 0 0 0.45rem;
  max-width: 18ch;
  font-size: clamp(1.35rem, 3.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #1e293b;
}

.tagline {
  margin: 0 0 1.15rem;
  max-width: 34ch;
  font-size: clamp(0.9rem, 1.8vw, 0.98rem);
  font-weight: 300;
  line-height: 1.45;
  color: #94a3b8;
}

.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: min(100%, 380px);
  margin: 0 0 1.5rem;
}

.divider span:first-child,
.divider span:last-child {
  flex: 1;
  height: 1px;
  background: #e8edf3;
}

.divider span:nth-child(2) {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b0bac7;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  width: 100%;
  max-width: 860px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.75rem 1.25rem 1.35rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

a.card:hover,
a.card:focus-visible {
  transform: translateY(-4px);
  border-color: #d5e0ec;
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 18px 40px rgba(15, 23, 42, 0.12);
  outline: none;
}

a.card:focus-visible {
  outline: 2px solid #1a73e8;
  outline-offset: 3px;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  margin: 0 0 1.1rem;
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.card--yaga .card__icon {
  color: #c45d4f;
  background: #fdece9;
}

.card--osta .card__icon {
  color: #c45f1c;
  background: #fff0e6;
}

.card--soon .card__icon {
  color: #64748b;
  background: #f1f5f9;
}

.card__name {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.card__desc {
  margin: 0 0 1.35rem;
  min-height: 2.5em;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.45;
  color: #64748b;
}

.card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.card--yaga .card__btn {
  background: #e07a6a;
  box-shadow: 0 6px 16px rgba(224, 122, 106, 0.28);
}

.card--osta .card__btn {
  background: #e07830;
  box-shadow: 0 6px 16px rgba(224, 120, 48, 0.28);
}

.card--yaga:hover .card__btn,
.card--yaga:focus-visible .card__btn {
  background: #d46959;
}

.card--osta:hover .card__btn,
.card--osta:focus-visible .card__btn {
  background: #cf6a24;
}

.card__btn--muted {
  background: #e8edf3;
  color: #94a3b8;
  box-shadow: none;
}

.card__badge {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.card--soon {
  cursor: not-allowed;
  background: #fafbfc;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.footer {
  position: relative;
  z-index: 1;
  margin-top: 1.75rem;
  font-size: 0.78rem;
  color: #b0bac7;
}

.footer a {
  color: #64748b;
  text-decoration: none;
}

.footer a:hover {
  color: #1a73e8;
}

@media (max-width: 820px) {
  .cards {
    max-width: 380px;
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .card {
    padding: 1.45rem 1.25rem 1.2rem;
  }

  .card__desc {
    min-height: 0;
    margin-bottom: 1.1rem;
  }

  .title {
    max-width: 16ch;
  }
}

@media (max-width: 480px) {
  body {
    padding: 1.15rem 1rem;
    justify-content: center;
    gap: 1.35rem;
  }

  .main {
    flex: 0 1 auto;
  }

  .logo {
    height: 2rem;
    margin-bottom: 0.85rem;
  }

  .title {
    font-size: 1.3rem;
  }

  .tagline {
    margin-bottom: 1rem;
    font-size: 0.9rem;
  }

  .divider {
    margin-bottom: 1.2rem;
  }

  .card__icon {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.2rem;
  }

  .footer {
    margin-top: 0;
    flex-shrink: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb {
    animation: none;
  }

  .orb--3 {
    transform: translate(-50%, -50%);
  }

  a.card:hover,
  a.card:focus-visible {
    transform: none;
  }
}
