:root {
  --bg: #07101e;
  --bg-soft: #0a1424;
  --panel: rgba(17, 28, 47, .78);
  --panel-border: rgba(255,255,255,.09);
  --text: #f7f9fc;
  --muted: #a9b5c8;
  --blue: #5aa8ff;
  --violet: #9277ff;
  --green: #55d6a3;
  --shadow: 0 24px 70px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 5%, rgba(90,168,255,.14), transparent 28rem),
    radial-gradient(circle at 82% 10%, rgba(146,119,255,.13), transparent 30rem),
    linear-gradient(180deg, #07101e 0%, #091423 55%, #07101e 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .3;
  background-image:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

a { color: inherit; }

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
}

.brand-mark svg { width: 100%; height: 100%; }

.brand-text {
  font-size: 1.25rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: #c7d2e2;
  border-radius: 999px;
  font-size: .82rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 18px rgba(251,191,36,.6);
}

main { flex: 1; }

.hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 92px 0 54px;
  text-align: center;
}

.eyebrow,
.service-kicker {
  margin: 0;
  font-size: .73rem;
  letter-spacing: .19em;
  font-weight: 800;
  color: #8190a7;
}

.hero h1 {
  margin: 14px 0 20px;
  font-size: clamp(2.65rem, 6vw, 5.25rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 820;
}

.hero h1 span {
  background: linear-gradient(90deg, #7dbbff 10%, #9a83ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 660px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 335px;
  padding: 28px;
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 38%),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -48% -20%;
  height: 65%;
  filter: blur(50px);
  opacity: .11;
  pointer-events: none;
}

.watch-card::after { background: var(--blue); }
.request-card::after { background: var(--violet); }
.files-card::after { background: var(--green); }

.icon-wrap {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
}

.icon-wrap svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.watch-card .icon-wrap { color: var(--blue); }
.request-card .icon-wrap { color: var(--violet); }
.files-card .icon-wrap { color: var(--green); }

.service-copy { margin-top: 34px; }

.service-heading h2 {
  margin: 5px 0 0;
  font-size: 2rem;
  letter-spacing: -.035em;
}

.service-card p:not(.service-kicker) {
  color: var(--muted);
  line-height: 1.6;
  margin: 12px 0 0;
}

.service-button {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 13px;
  text-decoration: none;
  background: rgba(255,255,255,.04);
  font-weight: 700;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.service-button:hover,
.service-button:focus-visible {
  transform: translateY(-2px);
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.16);
  outline: none;
}

.service-button span {
  font-size: 1.2rem;
  color: #aebbd0;
}

.info-strip {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  background: rgba(255,255,255,.028);
  overflow: hidden;
}

.info-strip div {
  min-height: 88px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-strip div + div {
  border-left: 1px solid rgba(255,255,255,.07);
}

.info-strip strong {
  font-size: .92rem;
  margin-bottom: 5px;
}

.info-strip span {
  color: #8f9db1;
  font-size: .82rem;
}

footer {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #738198;
  font-size: .78rem;
}

.footer-sep { opacity: .45; }

/* Phone layout: services stack vertically and become touch-first. */
@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 28px, 560px);
  }

  .topbar {
    min-height: 76px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-text {
    font-size: 1.08rem;
  }

  .status-pill {
    padding: 8px 10px;
    font-size: .72rem;
  }

  .hero {
    padding: 58px 6px 34px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 14vw, 4.1rem);
  }

  .hero-copy {
    font-size: .98rem;
    line-height: 1.6;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    min-height: 0;
    padding: 22px;
    border-radius: 20px;
  }

  .service-copy {
    margin-top: 22px;
  }

  .service-heading h2 {
    font-size: 1.72rem;
  }

  .service-card p:not(.service-kicker) {
    margin-top: 8px;
    font-size: .94rem;
  }

  .service-button {
    margin-top: 24px;
    min-height: 50px;
  }

  .info-strip {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .info-strip div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.07);
  }

  .info-strip div:nth-child(4) {
    border-top: 1px solid rgba(255,255,255,.07);
  }

  footer {
    flex-wrap: wrap;
    text-align: center;
    padding: 30px 15px;
    line-height: 1.8;
  }
}

@media (max-width: 430px) {
  .status-pill span:last-child {
    display: none;
  }

  .status-pill {
    width: 36px;
    height: 36px;
    justify-content: center;
    padding: 0;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-copy {
    max-width: 330px;
  }

  .info-strip {
    grid-template-columns: 1fr;
  }

  .info-strip div + div {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.07);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
