:root {
  --bg-0: #0f172a;
  --bg-1: #14223d;
  --ink: #e2e8f0;
  --muted: #a8b4ca;
  --tile-bg: rgba(11, 18, 32, 0.74);
  --tile-border: rgba(159, 184, 230, 0.2);
  --voice-glow: #34d399;
  --dart-glow: #f59e0b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
  font-family: "Avenir Next", "Sora", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, #1e3a8a 0%, transparent 36%),
    radial-gradient(circle at 85% 15%, #0f766e 0%, transparent 32%),
    linear-gradient(140deg, var(--bg-0), var(--bg-1));
}

.ambient {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.24;
  pointer-events: none;
}

.ambient-a {
  left: -140px;
  top: 20vh;
  background: #22d3ee;
  animation: driftA 14s ease-in-out infinite;
}

.ambient-b {
  right: -120px;
  bottom: 10vh;
  background: #f59e0b;
  animation: driftB 16s ease-in-out infinite;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.hero {
  text-align: center;
  margin-bottom: 30px;
  animation: riseIn 700ms ease-out both;
}

.kicker {
  margin: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #7dd3fc;
}

h1 {
  margin: 10px 0 10px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.tiles {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tile {
  position: relative;
  display: grid;
  grid-template-rows: 190px auto;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  border: 1px solid var(--tile-border);
  background: var(--tile-bg);
  backdrop-filter: blur(9px);
  overflow: hidden;
  transform: translateY(16px);
  opacity: 0;
  animation: riseIn 650ms ease-out forwards;
}

.tile:nth-child(2) {
  animation-delay: 120ms;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.45));
  pointer-events: none;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-content {
  padding: 16px 18px 18px;
}

.tile h2 {
  margin: 0;
  font-size: 1.5rem;
}

.tile p {
  margin: 8px 0 12px;
  color: var(--muted);
  line-height: 1.45;
}

.tile span {
  display: inline-block;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.tile-voice {
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.16);
}

.tile-dart {
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.16);
}

.tile-voice:hover,
.tile-voice:focus-visible {
  outline: none;
  border-color: color-mix(in srgb, var(--voice-glow) 65%, white 35%);
  box-shadow: 0 14px 36px rgba(16, 185, 129, 0.28);
  transform: translateY(-3px);
}

.tile-dart:hover,
.tile-dart:focus-visible {
  outline: none;
  border-color: color-mix(in srgb, var(--dart-glow) 65%, white 35%);
  box-shadow: 0 14px 36px rgba(245, 158, 11, 0.28);
  transform: translateY(-3px);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes driftA {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(36px, -20px);
  }
}

@keyframes driftB {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-44px, 26px);
  }
}

@media (max-width: 840px) {
  .tiles {
    grid-template-columns: 1fr;
  }

  .tile {
    grid-template-rows: 170px auto;
  }
}
