:root {
  --ink: #291b26;
  --muted: #6d5965;
  --paper: #fffaf8;
  --blush: #f4d9dd;
  --rose: #c96f8e;
  --plum: #7d1e68;
  --mint: #dfece4;
  --line: rgba(41, 27, 38, 0.14);
  --shadow: 0 28px 80px rgba(72, 37, 55, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(255, 250, 248, 0.94), rgba(255, 250, 248, 0.7));
  backdrop-filter: blur(18px);
}

.brand-mark,
.site-header nav {
  display: flex;
  align-items: center;
}

.brand-mark {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.site-header nav {
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.93rem;
}

.site-header a {
  transition: color 180ms ease;
}

.site-header a:hover {
  color: var(--plum);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  align-items: center;
  gap: clamp(28px, 6vw, 96px);
  padding: 92px clamp(20px, 6vw, 86px) 46px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(201, 111, 142, 0.3), transparent 28%),
    linear-gradient(115deg, #fffaf8 0%, #fff0ee 54%, #eed9de 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.hero-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(125, 30, 104, 0.22);
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--plum);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(4.2rem, 8vw, 8rem);
}

h2 {
  max-width: 820px;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
}

.hero-line {
  margin: 20px 0 0;
  color: var(--plum);
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.12;
}

.hero-body,
.section-copy p,
.sticky-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-body {
  max-width: 540px;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: 34px;
}

.play-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 20px 10px 12px;
  border-radius: 8px;
  color: #fff;
  background: #111;
  box-shadow: 0 18px 38px rgba(41, 27, 38, 0.22);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.play-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 46px rgba(41, 27, 38, 0.28);
}

.play-button img {
  width: 38px;
  height: 38px;
}

.play-button span {
  display: grid;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.05;
}

.play-button small {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.82;
}

.text-link {
  color: var(--plum);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: min(720px, 72svh);
}

.phone {
  position: absolute;
  width: min(36vw, 405px);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.phone-primary {
  right: 4%;
  top: 2%;
  rotate: 4deg;
  animation: float-main 7s ease-in-out infinite;
}

.phone-secondary {
  left: 14%;
  bottom: -12%;
  width: min(28vw, 315px);
  rotate: -8deg;
  opacity: 0.9;
  animation: float-soft 8s ease-in-out infinite;
}

.ritual-section,
.feature-section,
.download-section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 6vw, 86px);
}

.ritual-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(36px, 6vw, 88px);
  border-top: 1px solid var(--line);
}

.section-copy p {
  max-width: 560px;
}

.ritual-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.ritual-steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.ritual-steps span {
  grid-row: span 2;
  color: var(--rose);
  font-weight: 900;
}

.ritual-steps strong {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

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

.feature-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(36px, 6vw, 82px);
  background: #271722;
  color: #fffaf8;
}

.sticky-copy {
  position: sticky;
  top: 118px;
  align-self: start;
}

.sticky-copy .eyebrow {
  color: #ffb8ca;
}

.sticky-copy p {
  color: rgba(255, 250, 248, 0.72);
}

.sticky-copy ul {
  display: grid;
  gap: 13px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.sticky-copy li {
  padding-left: 24px;
  color: rgba(255, 250, 248, 0.84);
  position: relative;
}

.sticky-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffb8ca;
}

.screenshot-run {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(14px, 2vw, 26px);
}

.screenshot-run img {
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  transition:
    transform 260ms ease,
    opacity 260ms ease;
}

.screenshot-run img:nth-child(2) {
  margin-top: 72px;
}

.screenshot-run img:nth-child(3) {
  margin-top: 32px;
}

.screenshot-run img:hover {
  transform: translateY(-10px) scale(1.015);
}

.download-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  background:
    linear-gradient(rgba(255, 250, 248, 0.86), rgba(255, 250, 248, 0.86)),
    url("assets/2.png") center 18% / cover;
}

.download-section h2 {
  max-width: 860px;
}

.play-button-dark {
  flex: 0 0 auto;
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 6vw, 86px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer span {
  color: var(--ink);
  font-weight: 800;
}

footer a:hover {
  color: var(--plum);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float-main {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -16px, 0);
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 12px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 920px) {
  .site-header nav {
    display: none;
  }

  .hero,
  .ritual-section,
  .feature-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 640px;
  }

  .phone {
    width: min(78vw, 390px);
  }

  .phone-secondary {
    width: min(58vw, 300px);
  }

  .sticky-copy {
    position: static;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .hero {
    padding-inline: 18px;
  }

  .hero-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
  }

  h1 {
    font-size: clamp(4rem, 19vw, 6.3rem);
  }

  .hero-actions,
  .play-button {
    width: 100%;
  }

  .play-button {
    justify-content: center;
  }

  .hero-visual {
    min-height: 525px;
    margin-inline: -18px;
  }

  .phone-primary {
    right: 5%;
    width: min(82vw, 360px);
  }

  .phone-secondary {
    left: -8%;
    bottom: -7%;
    width: min(58vw, 260px);
  }

  .ritual-section,
  .feature-section,
  .download-section {
    padding-inline: 18px;
  }

  .ritual-steps li {
    grid-template-columns: 42px 1fr;
  }

  .screenshot-run {
    display: flex;
    overflow-x: auto;
    margin-inline: -18px;
    padding: 0 18px 18px;
    scroll-snap-type: x mandatory;
  }

  .screenshot-run img {
    flex: 0 0 72vw;
    scroll-snap-align: center;
  }

  .screenshot-run img:nth-child(n) {
    margin-top: 0;
  }

  footer {
    align-items: start;
    flex-direction: column;
  }
}
