:root {
  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --bg: #000;
  --card: #0a0a0a;
  --muted: rgba(255, 255, 255, 0.7);
  --line: rgba(255, 255, 255, 0.14);
  --orange: #f26027;
  --red: #ee2146;
  --grad: linear-gradient(to right, #f26027 0%, #ee2146 100%);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(128, 128, 128, 0.5) transparent;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ── Button ──────────────────────────────────────────────── */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  min-height: 36px;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: -120%;
  left: 0;
  width: 55%;
  height: 340%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 35%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.08) 65%,
    transparent 100%
  );
  transform: translateX(-180%) rotate(25deg);
  opacity: 0;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 10px 28px rgba(238, 33, 70, 0.28);
}

.btn:hover::before {
  opacity: 1;
  animation: shine-sweep 0.75s ease forwards;
}

.btn--lg {
  min-height: 52px;
  padding: 0 1.6rem;
  font-size: 1rem;
}

@keyframes shine-sweep {
  0% {
    transform: translateX(-180%) rotate(25deg);
  }
  100% {
    transform: translateX(280%) rotate(25deg);
  }
}

/* ── Floating pill nav ───────────────────────────────────── */

.nav {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
  transition: top 0.3s ease;
}

.nav.is-scrolled {
  top: 10px;
}

.nav__inner {
  pointer-events: auto;
  width: min(680px, calc(100% - 2rem));
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 1.4rem 0 1.25rem;
  border-radius: 999px;
  background: rgba(28, 28, 28, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  transition:
    height 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  animation: nav-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nav.is-scrolled .nav__inner {
  height: 56px;
  background: rgba(20, 20, 20, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 32px rgba(0, 0, 0, 0.4);
}

@keyframes nav-in {
  from {
    opacity: 0;
    transform: translateY(-18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.nav__brand img {
  height: 36px;
  width: auto;
  transition: transform 0.3s ease, height 0.3s ease;
}

.nav.is-scrolled .nav__brand img {
  height: 32px;
}

.nav__brand:hover img {
  transform: scale(1.04);
}

.nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.35rem;
  flex: 0 0 auto;
}

.nav__links a {
  position: relative;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  padding-bottom: 0.15rem;
  transition: color 0.25s ease;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 2px;
  border-radius: 999px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
}

/* ── Compact hero ────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding: 7.25rem clamp(1.25rem, 4vw, 3rem) 2.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__glow {
  position: absolute;
  right: -8%;
  top: -10%;
  width: min(620px, 80vw);
  height: min(420px, 50vw);
  background:
    radial-gradient(circle at 40% 40%, rgba(242, 96, 39, 0.28), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(238, 33, 70, 0.18), transparent 55%);
  filter: blur(10px);
  pointer-events: none;
  animation: glow-breathe 5.5s ease-in-out infinite;
}

@keyframes glow-breathe {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

.eyebrow,
.hero h1,
.lead,
.hero__meta {
  position: relative;
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation-delay: 0.08s;
}

.hero h1 {
  margin: 0 0 0.9rem;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-wrap: balance;
  animation-delay: 0.18s;
}

.lead {
  margin: 0 auto;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  font-weight: 300;
  line-height: 1.65;
  animation-delay: 0.28s;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
  animation-delay: 0.4s;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: default;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.hero__meta span:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 96, 39, 0.55);
  background: rgba(242, 96, 39, 0.12);
  color: #fff;
  box-shadow: 0 8px 22px rgba(242, 96, 39, 0.18);
}

/* ── Sections + cards ────────────────────────────────────── */

.section {
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 3.5rem;
}

.section--qc {
  padding-top: 0.5rem;
}

.section__head,
.qc-headline {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.section__head.in,
.qc-headline.in {
  opacity: 1;
  transform: none;
}

.section__head {
  margin-bottom: 1.35rem;
}

.section__label {
  margin: 0 0 0.45rem;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section__head h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.section__head p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-weight: 300;
}

.qc-headline {
  margin-bottom: 1.75rem;
  padding: 1.6rem 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(242, 96, 39, 0.35);
  background:
    radial-gradient(90% 140% at 0% 0%, rgba(242, 96, 39, 0.2), transparent 55%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent 45%),
    #0a0a0a;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.qc-headline.in:hover {
  border-color: rgba(242, 96, 39, 0.6);
  box-shadow: 0 16px 40px rgba(242, 96, 39, 0.12);
  transform: translateY(-2px);
}

.qc-headline h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.qc-headline__sub {
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 96, 39, 0.4);
  background: rgba(242, 96, 39, 0.12);
  color: #ffb08a;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease;
}

.qc-headline.in:hover .qc-headline__sub {
  transform: translateY(-1px);
  background: rgba(242, 96, 39, 0.2);
}

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

.card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100%;
  padding: 1.35rem 1.3rem 1.25rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent 42%),
    var(--card);
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  cursor: default;
}

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

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    120% 90% at 0% 0%,
    rgba(242, 96, 39, 0.18),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.card::after {
  content: '';
  position: absolute;
  top: -40%;
  left: -60%;
  z-index: 0;
  width: 55%;
  height: 180%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 45%,
    transparent 70%
  );
  transform: translateX(-30%) rotate(18deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.card.in:hover {
  border-color: rgba(242, 96, 39, 0.5);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(242, 96, 39, 0.08);
  transform: translateY(-6px);
}

.card.in:hover::before {
  opacity: 1;
}

.card.in:hover::after {
  opacity: 1;
  animation: card-shine 0.85s ease forwards;
}

@keyframes card-shine {
  from {
    transform: translateX(-40%) rotate(18deg);
  }
  to {
    transform: translateX(260%) rotate(18deg);
  }
}

.card__n,
.card h3,
.card p {
  position: relative;
  z-index: 1;
}

.card__n {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.3s ease, letter-spacing 0.3s ease;
}

.card.in:hover .card__n {
  transform: translateY(-1px) scale(1.08);
  letter-spacing: 0.12em;
}

.card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  transition: color 0.25s ease;
}

.card.in:hover h3 {
  color: #fff;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.55;
  transition: color 0.25s ease;
}

.card.in:hover p {
  color: rgba(255, 255, 255, 0.82);
}

/* ── Footer ──────────────────────────────────────────────── */

.footer {
  padding: 2rem 1.25rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
}

.footer__bar p {
  margin: 0;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 6.5rem;
    padding-bottom: 2rem;
  }

  .nav__inner {
    gap: 1.25rem;
    padding: 0 0.95rem 0 0.85rem;
  }

  .nav__links {
    gap: 0.9rem;
  }

  .nav__links a {
    font-size: 14px;
  }

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

  .footer__bar {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav__inner,
  .eyebrow,
  .hero h1,
  .lead,
  .hero__meta,
  .hero__glow,
  .card,
  .section__head,
  .qc-headline,
  .btn::before,
  .card::after {
    animation: none !important;
    transition: none !important;
  }

  .eyebrow,
  .hero h1,
  .lead,
  .hero__meta,
  .card,
  .section__head,
  .qc-headline {
    opacity: 1 !important;
    transform: none !important;
  }
}
