html { scroll-behavior: smooth; }
body {
  font-size: 17px;
  line-height: 1.6;
  color: #0B0B0B;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 640px) {
  body { font-size: 18px; }
}
.font-display { font-weight: 700; letter-spacing: -0.03em; }
.chip-on { background: #F05D4E; color: #fff; border-color: #F05D4E; }
.hero-wash {
  background:
    radial-gradient(ellipse 60% 55% at 8% 0%, rgba(240, 93, 78, 0.28), transparent 60%),
    radial-gradient(ellipse 45% 45% at 92% 20%, rgba(255, 158, 94, 0.26), transparent 60%),
    radial-gradient(ellipse 50% 40% at 70% 100%, rgba(255, 196, 160, 0.3), transparent 60%),
    #FFFFFF;
}
.text-gradient {
  background: linear-gradient(90deg, #F05D4E 0%, #FF8A3D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.btn-glow {
  box-shadow: 0 10px 30px -10px rgba(240, 93, 78, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(240, 93, 78, 0.7);
}
.btn-glow:active { transform: scale(0.98); }
.card-lift {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}
.card-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(11, 11, 11, 0.25);
}
.num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #F05D4E, #FF8A3D);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 20px -10px rgba(240, 93, 78, 0.7);
}
.cert-frame {
  position: relative;
  overflow: hidden;
  border-radius: 0.25rem;
  background: #fff;
  box-shadow: 0 1px 0 rgba(11, 11, 11, 0.06);
}
.cert-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(11, 11, 11, 0.08);
}
.tool-tile {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease;
}
.tool-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 93, 78, 0.45);
}
/* AI video reel — sticky pin, scrub-crossfade panels */
.reel-pin {
  position: relative;
  height: 300vh;
  background: #0b0b0b;
}
.reel-pin-sticky {
  position: sticky;
  top: 3.75rem; /* clear site header */
  height: calc(100svh - 3.75rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0b0b0b;
  border-block: 1px solid rgba(246, 244, 241, 0.08);
  transform: translateZ(0);
}
.reel-chrome {
  flex-shrink: 0;
  width: min(64rem, 100%);
  margin-inline: auto;
  padding: 1.15rem 1.25rem 0.75rem;
  box-sizing: border-box;
}
.reel-viewport {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  background: #050505;
  transform: translateZ(0);
}
.reel-panel {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  will-change: opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.reel-panel.is-active {
  z-index: 1;
}
.reel-panel video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  outline: none;
  object-fit: contain;
  object-position: center center;
  background: #050505;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  transform: translateZ(0);
}
.reel-panel video::-webkit-media-controls,
.reel-panel video::-webkit-media-controls-enclosure {
  display: none !important;
  -webkit-appearance: none;
}
.reel-footer {
  flex-shrink: 0;
  width: min(64rem, 100%);
  margin-inline: auto;
  padding: 0.85rem 1.25rem 1.25rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.reel-step-label {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(246, 244, 241, 0.55);
}
.reel-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.reel-dots span {
  display: block;
  height: 0.35rem;
  width: 1.75rem;
  border-radius: 999px;
  background: rgba(246, 244, 241, 0.18);
  transition: background 0.35s ease, width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.reel-dots span.is-active {
  width: 2.75rem;
  background: #F05D4E;
}
@media (max-width: 768px) {
  .reel-pin {
    height: 260vh;
  }
  .reel-pin-sticky {
    top: 3.5rem;
    height: calc(100svh - 3.5rem);
    height: calc(100dvh - 3.5rem);
  }
  .reel-chrome {
    padding: 0.85rem 1rem 0.5rem;
  }
  .reel-footer {
    padding: 0.65rem 1rem 1rem;
  }
  .reel-step-label {
    font-size: 0.8rem;
  }
  .reel-panel video {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee, .trust-marquee { animation: none; }
  .has-motion [data-reveal],
  .has-motion [data-reveal-stagger] {
    opacity: 1 !important;
    transform: none !important;
  }
  .how-pin { height: auto !important; }
  .how-pin-sticky { position: relative !important; height: auto !important; }
  .how-track { transform: none !important; flex-direction: column !important; width: 100% !important; }
  .how-panel { width: 100% !important; min-height: auto !important; padding-block: 1.5rem !important; opacity: 1 !important; }
  .how-dots { display: none !important; }
  .reel-pin { height: auto !important; }
  .reel-pin-sticky { position: relative !important; height: auto !important; }
  .reel-viewport {
    position: relative !important;
    height: auto !important;
    flex: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem;
    overflow: visible !important;
    padding-block: 1rem;
  }
  .reel-panel {
    position: relative !important;
    inset: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    min-height: 50vh;
    transition: none !important;
  }
  .reel-panel video { height: auto !important; max-height: 75vh; }
  .reel-dots { display: none !important; }
}
.marquee { animation: slide 70s linear infinite; }
.trust-marquee { animation: slide 45s linear infinite; }
@keyframes slide { to { transform: translateX(-50%); } }
.trust-logo {
  opacity: 0.85;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.trust-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.trust-marquee:hover {
  animation-play-state: paused;
}
.trust-stars span {
  display: inline-block;
  color: #F05D4E;
}
.has-motion [data-reveal],
.has-motion [data-reveal-stagger] {
  will-change: transform;
}
/* How it works — vertical scroll drives horizontal (RTL) panels */
.how-pin {
  position: relative;
  height: 320vh;
}
.how-pin-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: #FAF8F6;
}
.how-pin-inner {
  width: min(64rem, 100%);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.how-viewport {
  margin-top: 2rem;
  overflow: hidden;
  width: 100%;
}
.how-track {
  display: flex;
  width: 300%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.how-panel {
  box-sizing: border-box;
  width: 33.333333%;
  flex: 0 0 33.333333%;
  padding-right: 1.5rem;
  min-height: 14rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 640px) {
  .how-panel {
    padding-right: 3rem;
    min-height: 16rem;
  }
}
.how-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
  align-items: center;
}
.how-dots span {
  display: block;
  height: 0.35rem;
  width: 1.75rem;
  border-radius: 999px;
  background: rgba(11, 11, 11, 0.12);
  transition: background 0.25s ease, width 0.25s ease;
}
.how-dots span.is-active {
  width: 2.75rem;
  background: #F05D4E;
}
/* Option tiles — grid cards, not a scrolling stack */
.opt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
@media (min-width: 480px) {
  .opt-grid { gap: 0.75rem; }
}
.opt-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 4.75rem;
  height: 100%;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  padding: 0.85rem 0.75rem;
  width: 100%;
  border-radius: 1rem;
}
@media (min-width: 640px) {
  .opt-chip {
    min-height: 5rem;
    font-size: 0.95rem;
    padding: 1rem 0.9rem;
  }
}
.opt-chip:focus-visible {
  outline: 2px solid #F05D4E;
  outline-offset: 2px;
}
/* Modal: header + nav stay put; options sit in a grid without scroll */
.modal-sheet {
  display: flex;
  flex-direction: column;
  max-height: min(94svh, 44rem);
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
}
.modal-sheet [data-panel] {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}
/* Revealed only when “Other” is selected — matches contact form fields */
.other-field {
  margin-top: 0.75rem;
}
.other-field[hidden] {
  display: none;
}
.other-field input {
  width: 100%;
  border: 1px solid rgba(11, 11, 11, 0.2);
  border-radius: 1rem;
  background: #fff;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  line-height: 1.4;
  color: #0B0B0B;
  outline: none;
  font-family: inherit;
}
.other-field input:focus {
  border-color: #F05D4E;
}
