:root {
  --bg: #0b1218;
  --bg-2: #121c26;
  --ink: #e8eef4;
  --muted: #93a4b5;
  --line: rgba(232, 238, 244, 0.12);
  --accent: #2bb3a0;
  --accent-2: #e8a04a;
  --card: rgba(18, 28, 38, 0.88);
  --radius: 18px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Syne", "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  backdrop-filter: blur(14px);
  background: rgba(11, 18, 24, 0.78);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  border-radius: 8px;
  object-fit: cover;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #1f8f80);
  color: #04110f;
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  font-size: 0.9rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 15% 20%, rgba(43, 179, 160, 0.28), transparent 60%),
    radial-gradient(700px 420px at 85% 15%, rgba(232, 160, 74, 0.18), transparent 55%),
    linear-gradient(165deg, #0a1016 0%, #132131 48%, #0b1218 100%);
  z-index: -2;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 72%);
  z-index: -1;
  animation: drift 28s linear infinite;
}

@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(-72px); }
}

.hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0 72px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
}

.hero-slider {
  position: relative;
  margin-top: 4px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(232, 238, 244, 0.16);
  background: #071015;
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hero-slider-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(52vh, 520px);
  overflow: hidden;
}

.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 0.65s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 20px 18px;
  font-family: var(--display);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(transparent, rgba(6, 12, 18, 0.92) 48%);
  color: var(--ink);
}

.hero-slider-btn {
  appearance: none;
  position: absolute;
  top: 50%;
  z-index: 3;
  translate: 0 -50%;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(232, 238, 244, 0.22);
  background: rgba(10, 18, 24, 0.72);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-slider-btn:hover {
  background: rgba(43, 179, 160, 0.28);
  border-color: rgba(43, 179, 160, 0.55);
  transform: scale(1.05);
}

.hero-slider-btn.prev { left: 12px; }
.hero-slider-btn.next { right: 12px; }

.hero-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.hero-dot {
  appearance: none;
  pointer-events: auto;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(232, 238, 244, 0.35);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 22px;
  background: var(--accent);
}

.hero-copy {
  padding-bottom: 8px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.lead {
  margin: 22px 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(18, 28, 38, 0.55), transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 40px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.about-grid,
.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

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

.stat,
.card,
.contact-card,
.plink {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.stat strong,
.card h3 {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.stat p,
.card p {
  margin: 0;
  color: var(--muted);
}

.platform-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.plink {
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.plink:hover {
  border-color: rgba(43, 179, 160, 0.55);
  transform: translateY(-2px);
}

.plink span {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.plink em {
  color: var(--muted);
  font-style: normal;
}

.contact-card dl {
  margin: 0;
  display: grid;
  gap: 18px;
}

.contact-card dt {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.contact-card dd {
  margin: 0;
  font-size: 1.05rem;
}

.contact-card a {
  color: var(--accent);
}

.footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
}

.footer-brand img {
  border-radius: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

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

  .hero-slide {
    transition: none;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .about-grid,
  .cards,
  .platform-links {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 88px;
    min-height: auto;
    gap: 20px;
  }

  .hero-slider-viewport {
    max-height: min(42vh, 360px);
    aspect-ratio: 4 / 3;
  }

  .hero-slider-btn {
    width: 38px;
    height: 38px;
    font-size: 1.35rem;
  }

  .hero-slider-btn.prev { left: 8px; }
  .hero-slider-btn.next { right: 8px; }
}
