:root {
  --coral: #d4574d;
  --coral-deep: #b8443b;
  --ink: #1c1412;
  --ink-muted: #5c4f4a;
  --cream: #f7f0ea;
  --blush: #f3e4dc;
  --outline: #e4d5cc;
  --dusk: #2a1a1f;
  --peach: #e8c4b0;
  --pass: #4a2f2c;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --space: clamp(1.25rem, 3.5vw, 2.75rem);
  --max: 70rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

/* —— Header —— */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 1.35rem var(--space);
  display: flex;
  align-items: center;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.wordmark img {
  height: clamp(2rem, 4vw, 2.5rem);
  width: auto;
}

/* —— Hero —— */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.04);
  animation: hero-drift 28s var(--ease) infinite alternate;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(28, 20, 18, 0.82) 0%,
      rgba(28, 20, 18, 0.55) 38%,
      rgba(28, 20, 18, 0.18) 62%,
      rgba(42, 26, 31, 0.35) 100%
    ),
    linear-gradient(to top, rgba(28, 20, 18, 0.55) 0%, transparent 42%);
}

.hero-scrim::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(6rem, 14vh, 8rem) var(--space) clamp(3rem, 8vh, 5rem);
  max-width: 38rem;
}

.brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4.25rem, 15vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  font-style: italic;
}

.headline {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 16ch;
}

.lede {
  margin: 0 0 2rem;
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: rgba(247, 240, 234, 0.78);
  max-width: 30ch;
  font-weight: 400;
}

.cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
}

.platforms {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.platforms-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 240, 234, 0.72);
}

.platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.05rem;
  border-radius: 3px;
  border: 1px solid rgba(247, 240, 234, 0.28);
  background: rgba(28, 20, 18, 0.35);
  backdrop-filter: blur(8px);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.platform-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn-primary {
  color: var(--cream);
  background: var(--coral);
  padding: 0.95rem 1.65rem;
  border-radius: 3px;
  box-shadow: 0 10px 28px rgba(212, 87, 77, 0.28);
}

a.btn-primary:hover {
  background: var(--coral-deep);
  transform: translateY(-1px);
}

.btn-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  font-style: italic;
  color: rgba(247, 240, 234, 0.9);
  border-bottom: 1px solid rgba(247, 240, 234, 0.4);
  padding-bottom: 0.15rem;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-text:hover {
  color: var(--cream);
  border-color: var(--cream);
}

@media (min-width: 720px) {
  .hero {
    align-items: center;
  }

  .hero-copy {
    padding-left: clamp(var(--space), 9vw, 6rem);
    padding-bottom: 4rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
  }

  .platforms {
    gap: 0.8rem;
  }

  .hero-photo {
    object-position: 58% center;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, 0.6%, 0);
  }
}

/* —— Preview / phone —— */

.preview {
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(232, 196, 176, 0.35), transparent 55%),
    linear-gradient(180deg, var(--blush) 0%, var(--cream) 100%);
  padding-top: clamp(4.5rem, 11vw, 7.5rem);
  padding-bottom: clamp(4.5rem, 11vw, 7.5rem);
}

.preview-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 860px) {
  .preview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.phone-stage {
  display: flex;
  justify-content: center;
  will-change: transform;
}

.phone-frame {
  position: relative;
  width: min(280px, 72vw);
  aspect-ratio: 9 / 19.2;
  border-radius: 2.15rem;
  overflow: hidden;
  background: var(--ink);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.18),
    0 0 0 10px #1a1210,
    0 32px 64px rgba(28, 20, 18, 0.35);
}

.phone-notch {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 1.05rem;
  background: #1a1210;
  border-radius: 999px;
  z-index: 4;
}

.phone-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.phone-chrome {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.65rem 1.1rem 1.35rem;
  background: linear-gradient(
    to top,
    rgba(28, 20, 18, 0.78) 0%,
    rgba(28, 20, 18, 0.25) 28%,
    transparent 48%,
    rgba(28, 20, 18, 0.25) 100%
  );
  color: var(--cream);
}

.phone-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.phone-menu,
.phone-profile {
  width: 1.15rem;
  height: 1.15rem;
  opacity: 0.9;
}

.phone-menu {
  justify-self: start;
  background:
    linear-gradient(currentColor, currentColor) 0 20% / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 0 80% / 100% 1.5px no-repeat;
}

.phone-profile {
  justify-self: end;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.phone-brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.01em;
}

.phone-meta {
  margin-top: auto;
  margin-bottom: 1rem;
}

.phone-name {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.phone-vibe {
  margin: 0;
  font-size: 0.78rem;
  opacity: 0.88;
  letter-spacing: 0.01em;
}

.phone-actions {
  display: flex;
  justify-content: center;
  gap: 1.35rem;
}

.action-btn {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  border: 1.5px solid rgba(247, 240, 234, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--cream);
  transition:
    transform 0.3s var(--ease),
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.action-pass {
  background: rgba(74, 47, 44, 0.72);
  backdrop-filter: blur(8px);
}

.action-like {
  background: rgba(232, 196, 176, 0.55);
  backdrop-filter: blur(8px);
}

.action-btn:hover {
  transform: scale(1.06);
}

.action-btn:active {
  transform: scale(0.96);
}

.action-btn.is-pulse {
  animation: action-pulse 0.55s var(--ease);
}

.phone-flash {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.phone-flash.is-like {
  background: radial-gradient(circle at 50% 70%, rgba(232, 196, 176, 0.45), transparent 55%);
  opacity: 1;
}

.phone-flash.is-pass {
  background: radial-gradient(circle at 50% 70%, rgba(74, 47, 44, 0.4), transparent 55%);
  opacity: 1;
}

@keyframes action-pulse {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

/* —— Sections shared —— */

.section {
  padding: clamp(4rem, 10vw, 7rem) var(--space);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.15rem, 5vw, 3.15rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.section-lede {
  margin: 0 0 3rem;
  color: var(--ink-muted);
  max-width: 34ch;
  font-size: 1.1rem;
}

.how {
  background: var(--cream);
  border-top: 1px solid var(--outline);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.step {
  margin: 0;
  padding: 1.35rem 0 0;
  border-top: 1.5px solid var(--coral);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--coral);
  margin-bottom: 0.65rem;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1rem;
}

.different {
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(212, 87, 77, 0.22), transparent 50%),
    var(--dusk);
  color: var(--cream);
}

.different .section-lede {
  color: rgba(247, 240, 234, 0.65);
}

.diff-list {
  display: grid;
  gap: 2.75rem;
}

@media (min-width: 720px) {
  .diff-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.diff h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--peach);
}

.diff p {
  margin: 0;
  color: rgba(247, 240, 234, 0.78);
  font-size: 1rem;
  max-width: 32ch;
}

/* —— Footer —— */

.site-footer {
  padding: 2.5rem var(--space);
  background: var(--dusk);
  border-top: 1px solid rgba(247, 240, 234, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: baseline;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--cream);
  letter-spacing: -0.02em;
}

.footer-meta {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(247, 240, 234, 0.5);
}

/* —— Motion —— */

.reveal {
  opacity: 0;
  transform: translateY(1.35rem);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

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

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.22s;
}

.reveal-delay-3 {
  transition-delay: 0.36s;
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-photo {
    animation: none;
    transform: none;
  }

  .action-btn.is-pulse {
    animation: none;
  }
}
