:root {
  --cnc-orange: #F97316;
  --cnc-orange-600: #EA580C;
  --cnc-amber: #F59E0B;
  --cnc-orange-50: #FFF7ED;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

details>summary {
  list-style: none;
  cursor: pointer;
}

details>summary::-webkit-details-marker {
  display: none;
}

details[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-chevron {
  transition: transform 200ms ease;
}

.hero-gradient {
  background: linear-gradient(135deg, #FB923C 0%, #FBBF24 50%, #F97316 100%);
}

.warm-bg {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFFBEB 50%, #F0FDF4 100%);
}

.phone-frame {
  border-radius: 2.5rem;
  border: 8px solid #1F2937;
  background: #1F2937;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.how-step-frame {
  max-width: 340px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

@media (min-width: 1024px) {
  .how-step-frame {
    max-width: 360px;
  }
}

.how-step-trigger {
  cursor: zoom-in;
}

.how-step-trigger:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

.how-step-trigger:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.6);
  outline-offset: 4px;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
}

.lightbox__image {
  position: relative;
  z-index: 1;
  max-width: min(86vw, 560px);
  max-height: 72vh;
  border-radius: 2rem;
  border: 8px solid #1F2937;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  background: #1F2937;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(15, 23, 42, 0.6);
  color: #FFFFFF;
  font-size: 24px;
  line-height: 1;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(15, 23, 42, 0.62);
  color: #FFFFFF;
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox__nav:hover {
  background: rgba(15, 23, 42, 0.78);
}

.lightbox__nav--prev {
  left: max(14px, calc(50% - 340px));
}

.lightbox__nav--next {
  right: max(14px, calc(50% - 340px));
}

@media (max-width: 640px) {
  .lightbox__nav {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    font-size: 24px;
  }

  .lightbox__nav--prev {
    left: 10px;
  }

  .lightbox__nav--next {
    right: 10px;
  }
}

.hero-app-frame {
  box-shadow: 0 18px 45px rgba(249, 115, 22, 0.2);
}

.how-step-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid #FED7AA;
  margin-bottom: 1rem;
  background: #FFF7ED;
}

.flip-card {
  perspective: 1200px;
  min-height: 220px;
}

.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 500ms ease;
}

.flip-card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 1rem;
  transition: opacity 200ms ease;
}

.flip-card__back {
  transform: rotateY(180deg);
  background: rgba(255, 255, 255, 0.8);
  opacity: 0;
}

.flip-card:hover .flip-card__inner {
  transform: rotateY(180deg);
}

.flip-card:hover .flip-card__front {
  opacity: 0;
}

.flip-card:hover .flip-card__back {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .flip-card__inner {
    transition: none;
  }

  .how-step-frame {
    transition: none;
  }
}

.video-placeholder {
  border-radius: 1.5rem;
  border: 1px solid #FED7AA;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFFBEB 50%, #FFFFFF 100%);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder__inner {
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed #FDBA74;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #FED7AA;
  background: #FFF7ED;
  color: #9A3412;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.team-avatar-wrap {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  border: 4px solid #FFF7ED;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
}

.team-avatar {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

.team-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.team-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #FED7AA;
  color: #1F2937;
  background: #FFF7ED;
  transition: transform 150ms ease, box-shadow 150ms ease, color 150ms ease;
}

.team-link:hover {
  color: #EA580C;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.2);
  transform: translateY(-1px);
}

.team-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.team-link__icon {
  width: 18px;
  height: 18px;
  display: block;
}

.cookie-banner {
  transform: translateY(100%);
  transition: transform 250ms ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}