:root {
  --bg: #07111f;
  --bg-soft: #101d31;
  --bg-deep: #040814;
  --surface: rgba(10, 22, 40, 0.72);
  --surface-strong: rgba(14, 28, 48, 0.92);
  --surface-border: rgba(170, 210, 255, 0.16);
  --text: #eff6ff;
  --muted: #aebdd3;
  --accent: #42d5c8;
  --accent-2: #ffb85c;
  --accent-3: #ff6b7a;
  --accent-4: #6ca8ff;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --content-width: min(1160px, calc(100vw - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(66, 213, 200, 0.24), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(255, 184, 92, 0.24), transparent 24%),
    radial-gradient(circle at 75% 40%, rgba(108, 168, 255, 0.18), transparent 22%),
    radial-gradient(circle at 18% 72%, rgba(255, 107, 122, 0.16), transparent 26%),
    linear-gradient(160deg, #030711 0%, #08111e 40%, #111b31 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 95%);
}

body::after {
  content: "";
  position: fixed;
  inset: auto -12% -12% auto;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 107, 122, 0.18) 0%, rgba(255, 107, 122, 0) 62%);
  filter: blur(18px);
  z-index: 0;
}

.page-shell {
  width: var(--content-width);
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.hero,
.section,
.footer,
.platform-strip {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 1.25rem 0 2rem;
}

.topbar,
.hero-grid,
.service-grid,
.team-grid,
.timeline,
.client-cloud,
.footer {
  display: grid;
  gap: 1.25rem;
}

.topbar {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  margin-bottom: 3rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1.1rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(66, 213, 200, 0.95), rgba(60, 134, 255, 0.95));
  color: #06111e;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3,
dt {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

h1 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.15;
}

.lead,
.service-card p,
.team-card p,
.timeline p,
.footer p,
.hero-card p,
.form-note,
.team-meta {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.pill-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.pill-link {
  justify-self: end;
  padding: 0.88rem 1.2rem;
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button {
  padding: 0.95rem 1.35rem;
  font-weight: 800;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), #69a4ff);
  color: #04111a;
}

.button.secondary {
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.pill-link:hover,
.button:hover {
  transform: translateY(-2px);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
  align-items: stretch;
}

.hero-copy,
.hero-card,
.service-card,
.team-card,
.timeline article,
.footer,
.clients-panel,
.logo-card {
  border: 1px solid var(--surface-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -12% -18% auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66, 213, 200, 0.16), transparent 65%);
  pointer-events: none;
}

.hero-copy .lead {
  max-width: 62ch;
  margin-top: 1.35rem;
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.stats div {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

dt {
  font-size: 1.45rem;
  margin-bottom: 0.3rem;
}

dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.hero-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.status-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0.35rem rgba(66, 213, 200, 0.18);
}

.feature-list {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.95rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text);
  line-height: 1.6;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.67rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.platform-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 1rem 0 0.2rem;
}

.platform-strip span,
.client-cloud span,
.team-role {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.platform-strip span {
  padding: 0.75rem 1rem;
  color: #d9e8fa;
}

.section {
  padding: 4rem 0 0;
}

.section-heading {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.section-heading h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.04;
}

.section-heading.compact h2 {
  max-width: 19ch;
}

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

.service-card,
.team-card,
.timeline article {
  padding: 1.45rem;
  border-radius: var(--radius-md);
}

.service-card {
  min-height: 100%;
}

.service-card p,
.team-card p,
.timeline p {
  margin-top: 0.75rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 1.5rem;
}

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

.team-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-section {
  overflow: hidden;
}

.team-heading {
  max-width: 58rem;
  margin-bottom: 1.8rem;
}

.team-heading h2 {
  max-width: 18ch;
}

.team-grid-featured {
  align-items: stretch;
}

.team-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(10, 22, 40, 0.84);
}

.team-card-accent {
  height: 0.38rem;
  width: 100%;
}

.team-card-amazon .team-card-accent {
  background: linear-gradient(90deg, #42d5c8, #6ca8ff);
}

.team-card-meta .team-card-accent {
  background: linear-gradient(90deg, #ffb85c, #ff6b7a);
}

.team-card-support .team-card-accent {
  background: linear-gradient(90deg, #8f9cff, #42d5c8);
}

.team-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.45rem;
}

.team-focus {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.team-card h3 {
  margin-top: 0.7rem;
  font-size: 1.8rem;
  line-height: 1.05;
}

.team-lead {
  margin-top: 0.95rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.65;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.team-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d9e8fa;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.team-tags-brands span {
  background: rgba(66, 213, 200, 0.08);
  border-color: rgba(66, 213, 200, 0.18);
}

.team-link,
.contact-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.team-link:hover,
.contact-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.team-meta {
  margin-top: 0.85rem;
  max-width: 18ch;
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline span {
  display: inline-flex;
  margin-bottom: 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-2);
}

.client-cloud {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.client-cloud span {
  justify-content: center;
  padding: 1.15rem 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.clients-section {
  overflow: hidden;
}

.clients-panel {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(66, 213, 200, 0.12), transparent 32%),
    radial-gradient(circle at bottom right, rgba(255, 184, 92, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--surface-strong);
}

.clients-panel::before,
.clients-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  pointer-events: none;
}

.clients-panel::before {
  top: 1.25rem;
  right: 1.25rem;
  width: 9rem;
  height: 9rem;
  background: radial-gradient(circle, rgba(108, 168, 255, 0.18), transparent 70%);
}

.clients-panel::after {
  bottom: 0.6rem;
  left: 0.6rem;
  width: 10rem;
  height: 10rem;
  background: radial-gradient(circle, rgba(255, 107, 122, 0.16), transparent 72%);
}

.clients-intro {
  position: relative;
  z-index: 1;
  max-width: 56ch;
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  padding: 0.35rem 0;
  margin: 0 -0.25rem;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.logo-marquee + .logo-marquee {
  margin-top: 1rem;
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  animation: marquee-left 34s linear infinite;
}

.logo-marquee.reverse .logo-marquee-track {
  animation-name: marquee-right;
  animation-duration: 38s;
}

.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 15rem;
  height: 7.25rem;
  padding: 1rem;
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.92)),
    rgba(255, 255, 255, 0.92);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-card-wide {
  flex-basis: 21rem;
}

.logo-card-xl {
  flex-basis: 30rem;
}

.accent-coral {
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 107, 122, 0.16),
    0 0 32px rgba(255, 107, 122, 0.12);
}

.accent-gold {
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 184, 92, 0.2),
    0 0 32px rgba(255, 184, 92, 0.12);
}

.accent-cyan {
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(66, 213, 200, 0.18),
    0 0 32px rgba(66, 213, 200, 0.14);
}

.accent-orange {
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 123, 58, 0.18),
    0 0 32px rgba(255, 123, 58, 0.14);
}

.accent-blue {
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(108, 168, 255, 0.18),
    0 0 32px rgba(108, 168, 255, 0.14);
}

.client-cloud-text {
  margin-top: 1.2rem;
}

.support-copy {
  max-width: 56ch;
}

.contact-card,
.support-form {
  padding: 1.45rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.contact-card {
  display: grid;
  gap: 0.55rem;
  width: min(100%, 28rem);
  margin-top: 1rem;
}

.contact-label {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-2);
}

.support-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.support-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.support-form input,
.support-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.support-form input:focus,
.support-form textarea:focus {
  border-color: rgba(66, 213, 200, 0.7);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(66, 213, 200, 0.12);
}

.support-form textarea {
  resize: vertical;
  min-height: 8rem;
}

.full-width {
  grid-column: 1 / -1;
}

.footer {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  margin-top: 4rem;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
}

.footer-note {
  justify-self: end;
  text-align: right;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

@keyframes marquee-right {
  from {
    transform: translateX(calc(-50% - 0.5rem));
  }
  to {
    transform: translateX(0);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .split,
  .service-grid,
  .timeline,
  .client-cloud,
  .footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-grid-wide {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .client-cloud-text {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100vw - 1rem, 100%);
  }

  .topbar,
  .hero-grid,
  .split,
  .service-grid,
  .support-form,
  .timeline,
  .client-cloud,
  .footer {
    grid-template-columns: 1fr;
  }

  .pill-link,
  .footer-note {
    justify-self: start;
    text-align: left;
  }

  .hero {
    padding-top: 0.7rem;
  }

  h2 {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .platform-strip {
    gap: 0.7rem;
  }

  .logo-card {
    flex-basis: 12.5rem;
    height: 6.2rem;
  }

  .logo-card-wide {
    flex-basis: 17rem;
  }

  .logo-card-xl {
    flex-basis: 22rem;
  }

  .clients-panel {
    padding: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track,
  .logo-marquee.reverse .logo-marquee-track {
    animation: none;
  }
}
