@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Outfit:wght@300;400;500;600;700&display=swap");

:root {
  --bg: #fffcf7;
  --bg-2: #f6efe4;
  --paper: #ffffff;
  --ink: #1c1917;
  --muted: #78716c;
  --line: #eadfd0;
  --rose: #e11d48;
  --rose-soft: #fb7185;
  --amber: #f59e0b;
  --mint: #34d399;
  --shadow: 0 18px 50px rgba(28, 25, 23, 0.08);
  --radius: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Outfit, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(251, 113, 133, 0.18), transparent 60%),
    radial-gradient(700px 420px at 95% 8%, rgba(245, 158, 11, 0.16), transparent 55%),
    radial-gradient(800px 500px at 80% 90%, rgba(52, 211, 153, 0.12), transparent 50%);
  animation: wash 18s ease-in-out infinite alternate;
}

@keyframes wash {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.08) translate(-2%, 1%); }
}

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

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

button, .btn, .store-btn {
  font-family: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  margin: 16px auto 0;
  width: min(1180px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 18px;
  background: rgba(255, 252, 247, 0.72);
  border: 1px solid rgba(234, 223, 208, 0.8);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.04);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  display: flex;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(28, 25, 23, 0.18);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.hero {
  padding: 72px 0 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 22px;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.55);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(225, 29, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

h1, h2, .display {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(48px, 7vw, 92px);
  margin-bottom: 20px;
}

h1 em {
  font-style: italic;
  color: var(--rose);
}

.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 28px;
}

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

.stage {
  position: relative;
  height: 460px;
}

.orb {
  position: absolute;
  filter: blur(2px);
  border-radius: 50%;
  opacity: 0.85;
  animation: float 7s ease-in-out infinite;
}

.orb-a {
  width: 220px;
  height: 220px;
  left: 18%;
  top: 18%;
  background: radial-gradient(circle at 30% 30%, #fb7185, #e11d48 70%);
}

.orb-b {
  width: 140px;
  height: 140px;
  right: 8%;
  top: 8%;
  background: radial-gradient(circle at 30% 30%, #fcd34d, #f59e0b 70%);
  animation-delay: -2s;
}

.orb-c {
  width: 160px;
  height: 160px;
  right: 18%;
  bottom: 10%;
  background: radial-gradient(circle at 30% 30%, #6ee7b7, #34d399 70%);
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(6deg); }
}

.phone {
  position: absolute;
  inset: 40px auto auto 50%;
  transform: translateX(-50%);
  width: 230px;
  height: 460px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 40px;
  box-shadow: var(--shadow);
  padding: 16px 14px;
  animation: phone 8s ease-in-out infinite;
  overflow: hidden;
}

@keyframes phone {
  0%, 100% { transform: translateX(-50%) rotate(-6deg); }
  50% { transform: translateX(-50%) rotate(-2deg) translateY(-10px); }
}

.phone-notch {
  width: 72px;
  height: 8px;
  background: var(--ink);
  border-radius: 99px;
  margin: 4px auto 16px;
}

.app-stack {
  display: grid;
  gap: 10px;
}

.mini-app {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 16px;
  background: var(--bg-2);
  transform: translateY(18px);
  opacity: 0;
  animation: rise 0.8s ease forwards;
}

.mini-app:nth-child(2) { animation-delay: 0.15s; }
.mini-app:nth-child(3) { animation-delay: 0.3s; }
.mini-app:nth-child(4) { animation-delay: 0.45s; }
.mini-app:nth-child(5) { animation-delay: 0.6s; }

@keyframes rise {
  to { transform: none; opacity: 1; }
}

.mini-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  flex: none;
}

.mini-app strong {
  display: block;
  font-size: 13px;
}

.mini-app span {
  font-size: 11px;
  color: var(--muted);
}

.marquee {
  margin: 20px 0 10px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  will-change: transform;
  animation: marquee 32s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-set {
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
}

.marquee-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  height: 44px;
  padding: 0 16px 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(28, 25, 23, 0.04);
}

.marquee-item svg {
  width: 22px;
  height: 22px;
  flex: none;
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-1 * var(--shift, 50%)), 0, 0); }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 28px 0 10px;
}

.stat {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}

.stat b {
  display: block;
  font-family: Fraunces, serif;
  font-size: 36px;
  letter-spacing: -0.04em;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 84px 0;
  scroll-margin-top: 92px;
}

#about {
  scroll-margin-top: 92px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(36px, 5vw, 56px);
}

.section-head p {
  max-width: 360px;
  color: var(--muted);
}

.apps {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.app-card {
  grid-column: span 4;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.app-card.wide {
  grid-column: span 6;
}

.app-card::after {
  content: "";
  position: absolute;
  inset: auto -20% 0 auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.16), transparent 70%);
  pointer-events: none;
}

.app-card:hover {
  transform: translateY(-8px) rotate(-0.4deg);
  box-shadow: var(--shadow);
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  box-shadow: 0 10px 24px rgba(28, 25, 23, 0.12);
}

.pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 10px;
}

.app-card h3 {
  font-family: Fraunces, serif;
  font-size: 28px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.app-card p {
  color: var(--muted);
  margin-bottom: 18px;
  min-height: 48px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-btn {
  height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background 0.2s ease, color 0.2s ease;
}

.store-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.about-panel {
  background: var(--ink);
  color: #fff;
  border-radius: 36px;
  padding: 42px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}

.about-panel::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -40px;
  bottom: -50px;
  background: radial-gradient(circle, var(--rose-soft), transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.about-panel h2 {
  font-size: clamp(34px, 4vw, 52px);
  margin-bottom: 16px;
  position: relative;
}

.about-panel p,
.about-copy p {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
}

.about-copy p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 16px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bg-2);
  font-size: 13px;
  font-weight: 500;
}

.cta {
  text-align: center;
  padding: 90px 24px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.7), rgba(246,239,228,0.9));
  position: relative;
  overflow: hidden;
}

.cta h2 {
  font-size: clamp(36px, 6vw, 72px);
  margin: 10px 0 16px;
}

.footer {
  padding: 48px 0 28px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.footer h3 {
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 12px;
}

.footer a {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

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

.legal-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  font-size: 13px;
}

.legal-page {
  padding: 56px 0 80px;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  font-size: clamp(36px, 5vw, 58px);
  margin-bottom: 8px;
}

.legal-card .updated {
  color: var(--muted);
  margin-bottom: 28px;
}

.legal-card h2 {
  font-size: 24px;
  margin: 28px 0 10px;
}

.legal-card p, .legal-card li {
  color: #44403c;
  margin-bottom: 12px;
}

.legal-card ol {
  padding-left: 18px;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: reveal 0.8s ease forwards;
}

.reveal-delay-1 { animation-delay: 0.1s; }
.reveal-delay-2 { animation-delay: 0.2s; }
.reveal-delay-3 { animation-delay: 0.3s; }

@keyframes reveal {
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero, .about, .footer-grid, .stats {
    grid-template-columns: 1fr;
  }

  .stage {
    height: 420px;
  }

  .app-card, .app-card.wide {
    grid-column: span 12;
  }

  .nav-links, .nav-cta {
    display: none;
  }

  .nav-links.open, .nav-cta.open {
    display: flex;
  }

  .menu-btn {
    display: grid;
    place-items: center;
  }

  .nav {
    flex-wrap: wrap;
    border-radius: 24px;
  }

  .nav.open .nav-links,
  .nav.open .nav-cta {
    display: flex;
    width: 100%;
    padding: 8px 10px 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nav.open .nav-cta .btn {
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
