:root {
  color-scheme: dark;
  --ink: #f4f7ff;
  --muted: #a6b0c8;
  --cyan: #70eaff;
  --violet: #aa83ff;
  --panel: rgba(9, 13, 29, 0.82);
  --line: rgba(182, 202, 255, 0.17);
}

* { box-sizing: border-box; }

html { min-width: 320px; background: #080b17; scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #080b17;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(5, 8, 19, .44) 0%, rgba(5, 8, 19, .7) 36%, rgba(5, 8, 19, .86) 100%),
    radial-gradient(ellipse at 50% 28%, rgba(26, 49, 98, .18), transparent 53%),
    url("./roblox-night-voxel-bg.webp");
  background-position: center, center, center 40%;
  background-size: cover, cover, cover;
  background-repeat: no-repeat;
  transform: scale(1.025);
}

.backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(4, 7, 17, .28), transparent 48%, rgba(4, 7, 17, .28));
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 30px, 540px);
  margin: 0 auto;
  padding: max(22px, env(safe-area-inset-top)) 0 max(34px, env(safe-area-inset-bottom));
}

.site-header { display: flex; justify-content: center; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.brand-mark { display: block; width: 45px; height: 45px; filter: drop-shadow(0 0 13px rgba(72, 198, 255, .28)); }
.brand-mark svg { display: block; width: 100%; height: 100%; }
.brand-copy { display: grid; gap: 3px; text-align: left; }
.brand-copy strong { font-size: 14px; letter-spacing: .01em; }
.brand-copy > span { color: #9aa8ca; font-size: 9px; font-weight: 750; letter-spacing: .17em; }

.intro { padding: 38px 7px 24px; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 13px;
  color: #b2c2e5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(112, 234, 255, .9);
}

h1 {
  max-width: 470px;
  margin: 0 auto;
  font-size: clamp(31px, 8vw, 44px);
  font-weight: 820;
  letter-spacing: -.055em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 span {
  color: transparent;
  background: linear-gradient(100deg, #82ecff 8%, #b0a0ff 60%, #f1a5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.intro-copy {
  max-width: 355px;
  margin: 13px auto 0;
  color: #c0c9dc;
  font-size: 14px;
  line-height: 1.55;
  text-wrap: balance;
}

.services { display: grid; gap: 13px; }

.service-card {
  display: block;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 19px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .045);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(112, 234, 255, .47);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .32), 0 0 25px rgba(73, 134, 255, .11);
}

.service-card:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.card-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1280 / 769;
  background: #151a30;
}

.card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 320ms ease;
}

.service-card:hover .card-image img { transform: scale(1.025); }

.image-shade {
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 18, .27));
}

.image-index {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .75);
}

.image-index i { color: rgba(239, 244, 255, .68); font-style: normal; font-weight: 650; }

.card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px 15px;
}

.card-text { display: grid; gap: 5px; min-width: 0; }
.card-kicker { color: #9daece; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.card-text > strong { font-size: clamp(15px, 4vw, 17px); letter-spacing: -.025em; line-height: 1.25; }
.card-cta { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; color: var(--cyan); font-size: 12px; font-weight: 750; }
.card-arrow { flex: 0 0 auto; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(123, 207, 255, .24); border-radius: 50%; color: #c4f6ff; background: rgba(84, 157, 255, .1); font-size: 16px; transition: background 180ms ease, transform 180ms ease; }
.service-card:hover .card-arrow { transform: translate(2px, -2px); background: rgba(84, 157, 255, .23); }

.site-footer {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 27px;
  padding-top: 18px;
  border-top: 1px solid rgba(197, 211, 255, .13);
  text-align: center;
}

.footer-mark { width: 24px; height: 2px; border-radius: 5px; background: linear-gradient(90deg, #63dffb, #9c7dff); box-shadow: 0 0 14px rgba(99, 223, 251, .46); }
.site-footer p { margin: 0; color: #99a6c2; font-size: 11px; line-height: 1.55; }
.site-footer p strong { color: #dce6ff; font-size: 12px; }
.site-footer small { color: #737f9c; font-size: 10px; }

@media (min-width: 700px) {
  .page-shell { padding-top: 32px; }
  .intro { padding-top: 47px; padding-bottom: 27px; }
  .services { gap: 15px; }
  .card-content { padding: 16px 18px 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
