:root {
  color-scheme: light;
  --bg: #f7f2ea;
  --ink: #1c1a19;
  --muted: #5f564f;
  --accent: #ff7f5c;
  --accent-dark: #e45e3e;
  --card: #fffaf2;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "Playfair Display", sans-serif;
  background: radial-gradient(circle at top, #fff2df 0%, #f6efe6 45%, #efe6db 100%);
  color: var(--ink);
  min-height: 100vh;
}

.bg-orb {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  z-index: 0;
}

.orb-a {
  top: -100px;
  left: -120px;
  background: #ffd2c4;
}

.orb-b {
  bottom: -140px;
  right: -120px;
  background: #ffd98a;
}

.hero {
  position: relative;
  z-index: 1;
  padding: 24px 20px 56px;
}

.hero__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  letter-spacing: 0.4px;
}

.cta {
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff3e5;
  border: 1px solid rgba(28, 26, 25, 0.15);
}

.hero__content {
  text-align: left;
  display: grid;
  gap: 16px;
}

.hero__eyebrow {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.hero__title {
  font-size: 36px;
  margin: 0;
  font-weight: 800;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: 18px;
  margin: 0;
  color: var(--muted);
  min-height: 26px;
}

.typewriter {
  border-right: 2px solid var(--accent);
  padding-right: 4px;
  white-space: nowrap;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:active {
  transform: translateY(1px);
}

.button--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 127, 92, 0.4);
}

.button--ghost {
  background: transparent;
  border: 1px solid rgba(28, 26, 25, 0.2);
  color: var(--ink);
}

main {
  display: grid;
  gap: 32px;
  padding: 0 20px 56px;
  position: relative;
  z-index: 1;
}

.feature {
  background: var(--card);
  border-radius: 28px;
  padding: 24px 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature__text h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

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

.carousel {
  overflow-x: auto;
}

.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 12px;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
}

.carousel__track::-webkit-scrollbar {
  height: 6px;
}

.carousel__track::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}

.carousel__card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: 0 0 10px 0;
  display: grid;
  color: #fff;
  font-weight: 600;
  scroll-snap-align: start;
}

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

.carousel__card figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.feature--start {
  text-align: center;
}

.start__actions {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.start__note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  padding: 24px 20px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

@media (min-width: 768px) {
  .hero {
    padding: 32px 64px 72px;
  }

  .hero__title {
    font-size: 52px;
  }

  .hero__content {
    max-width: 560px;
  }

  main {
    padding: 0 64px 80px;
    gap: 40px;
  }

  .feature {
    padding: 32px;
  }

  .carousel__track {
    grid-auto-columns: minmax(240px, 1fr);
  }
}
