:root {
  --primary: #ed9f89;
  --secondary: #89a996;
  --accent: #c5b7e3;
  --bg: #fdf7f5;
  --card: #f4e6e0;
  --text: #333333;
  --white: #fffdfc;
  --shadow-soft: 0 14px 34px rgba(51, 51, 51, 0.09);
  --shadow-hover: 0 20px 42px rgba(51, 51, 51, 0.13);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.2;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.bg-shape {
  position: fixed;
  border-radius: 50%;
  z-index: -1;
  filter: blur(6px);
  opacity: 0.5;
}

.bg-shape-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -140px;
  right: -90px;
}

.bg-shape-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  bottom: -120px;
  left: -120px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--bg) 80%, white 20%);
  border-bottom: 1px solid rgba(51, 51, 51, 0.08);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover {
  background: var(--card);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 72px 0 44px;
}

.hero-text {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.eyebrow {
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 600;
}

.hero h1 {
  margin-top: 10px;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.hero p {
  margin-top: 14px;
  font-size: 1.03rem;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  text-decoration: none;
  padding: 12px 20px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-primary {
  background: var(--primary);
  color: #2a201d;
}

.btn-light {
  background: var(--white);
  color: var(--text);
  border-color: rgba(51, 51, 51, 0.12);
}

.hero-card {
  border-radius: var(--radius-xl);
  background: var(--card);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.hero-card h2 {
  font-size: 1.4rem;
}

.hero-card ul {
  margin-top: 14px;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.section {
  padding: 58px 0;
}

.section-soft {
  background: color-mix(in srgb, var(--card) 75%, white 25%);
}

.section-accent {
  padding-top: 12px;
}

.section-header h2 {
  margin-top: 8px;
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
}

.cards-3,
.cards-2 {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

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

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

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(51, 51, 51, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card h3 {
  font-size: 1.2rem;
}

.card p {
  margin-top: 8px;
}

.timeline {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.video-page {
  background: #000;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-viewer-root,
.video-page {
  height: 100%;
  overflow: hidden;
}

.video-page .bg-shape {
  display: none;
}

.video-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: 64px;
  padding: env(safe-area-inset-top) 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.video-topbar-left,
.video-topbar-right {
  width: 72px;
  height: 56px;
  display: flex;
  align-items: center;
}

.video-topbar-right {
  justify-content: flex-end;
}

.video-home {
  pointer-events: auto;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.video-audio-toggle {
  pointer-events: auto;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
}

.audio-icon {
  width: 21px;
  height: 21px;
  display: none;
}

.video-audio-toggle.is-muted .icon-muted {
  display: block;
}

.video-audio-toggle.is-unmuted .icon-unmuted {
  display: block;
}

.video-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  letter-spacing: 0.02em;
  font-size: 1rem;
  font-weight: 700;
}

.reels-app {
  position: relative;
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-y;
}

.reels-app::-webkit-scrollbar {
  display: none;
}

.reel-slide {
  position: relative;
  isolation: isolate;
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #000;
}

.reel-video {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  object-fit: cover;
  background: #111;
  contain: paint;
}

.video-feedback {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 100;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  opacity: 0;
  pointer-events: none;
}

.video-feedback.show {
  animation: feedback-pop 700ms ease forwards;
}

.video-feedback-icon {
  width: 34px;
  height: 34px;
  display: none;
}

.video-feedback.play .icon-play {
  display: block;
}

.video-feedback.pause .icon-pause {
  display: block;
}

.scroll-hint {
  position: absolute;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease;
}

.scroll-hint.is-visible,
.scroll-hint.is-hiding {
  visibility: visible;
}

.scroll-hint.is-visible {
  opacity: 1;
}

.scroll-hint.is-hiding {
  opacity: 0;
}

.scroll-hint-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(65, 65, 65, 0.4);
  opacity: 0;
  transition: opacity 200ms ease;
}

.scroll-hint-content {
  position: relative;
  z-index: 1;
  width: min(44vw, 260px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #fff;
  transform: scale(0.98);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.scroll-hint.is-visible .scroll-hint-backdrop {
  opacity: 1;
}

.scroll-hint.is-visible .scroll-hint-content {
  opacity: 1;
  transform: scale(1);
}

.scroll-hint.is-hiding .scroll-hint-backdrop {
  opacity: 0;
  transition-duration: 240ms;
}

.scroll-hint.is-hiding .scroll-hint-content {
  opacity: 0;
  transform: scale(0.98);
  transition-duration: 240ms;
}

.scroll-hint-arrow {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.65));
}

.scroll-hint.is-visible .scroll-hint-arrow {
  animation: scroll-hint-bounce 900ms ease-in-out infinite;
}

@keyframes feedback-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.75);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

@keyframes scroll-hint-bounce {
  0%,
  100% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(8px);
  }
}

/* Desktop viewer: keep a centered vertical 9:16 stage with black side gutters. */
@media (min-width: 900px) {
  .reels-app {
    aspect-ratio: 9 / 16;
    width: min(calc(100dvh * 9 / 16), 100vw);
    max-width: calc(100dvh * 9 / 16);
  }

  .reel-slide {
    width: 100%;
  }
}

.step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #2f2940;
  font-weight: 700;
  margin-bottom: 10px;
}

.banner {
  background: linear-gradient(130deg, var(--accent), #d9cef0);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.banner h2 {
  max-width: 620px;
}

.footer {
  margin-top: 58px;
  padding: 46px 0 28px;
  background: var(--card);
  border-top: 1px solid rgba(51, 51, 51, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.contact-card p + p {
  margin-top: 12px;
}

.contact-card p {
  overflow-wrap: anywhere;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(51, 51, 51, 0.12);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-enabled .reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

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

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

}

@media (max-width: 680px) {
  .site-header {
    position: static;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: 14px 0;
    gap: 12px;
  }

  .brand {
    font-size: 1.1rem;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .nav-links a {
    justify-content: center;
    text-align: center;
    background: var(--white);
    border: 1px solid rgba(51, 51, 51, 0.08);
    padding: 10px 8px;
  }

  .hero {
    gap: 16px;
    padding: 36px 0 28px;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 7.5vw, 2.1rem);
  }

  .hero p {
    font-size: 0.98rem;
  }

  .eyebrow {
    letter-spacing: 0.08em;
    font-size: 0.7rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-text,
  .hero-card,
  .card,
  .step,
  .banner {
    padding: 20px;
  }

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

  .btn {
    width: 100%;
  }

  .section {
    padding: 42px 0;
  }

  .banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    margin-top: 42px;
    padding: 36px 0 22px;
  }
}

@media (max-width: 420px) {
  .nav-links {
    grid-template-columns: 1fr;
  }
}

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

  .reels-app {
    scroll-behavior: auto;
  }

  .scroll-hint.is-visible {
    animation: none;
    opacity: 0;
  }

  .scroll-hint-backdrop,
  .scroll-hint-content {
    transition: none;
  }
}
