:root {
  --bg: #FFFBFA;
  --ink: #1F1C1B;
  --muted: #6B6560;
  --line: #E8E2DE;
  --card: #FFFFFF;
  --coral: #E8576A;
  --coral-deep: #D44558;
  --coral-soft: #FCE8EB;
  --sand: #F3EEEA;
  --hero-ink: #FFF8F6;
  --radius: 20px;
  --font: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0;
}
h1 { font-size: clamp(3rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2.4rem, 6vw, 4.25rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.03em; }
p { margin: 0; color: var(--muted); }
em { font-style: normal; color: var(--ink); font-weight: 600; }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1rem;
}
.section-label.light { color: rgba(255, 248, 246, 0.75); }

/* ——— Nav ——— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  color: #fff;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease),
    color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 251, 250, 0.88);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  color: var(--ink);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.nav .logo-mark-dark { display: none; }
.nav.scrolled .logo-mark-light { display: none; }
.nav.scrolled .logo-mark-dark { display: block; }
.footer .logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: none;
}
.nav-links {
  display: none;
  gap: 1.75rem;
  margin-left: auto;
  margin-right: 1rem;
  color: inherit;
  opacity: 0.85;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav.scrolled .nav-links { opacity: 1; color: var(--muted); }
.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: inherit; opacity: 1; }
.nav.scrolled .nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav .btn-nav { margin-left: auto; }
@media (min-width: 720px) {
  .nav-links { display: flex; }
  .nav .btn-nav { margin-left: 0; }
  .nav { padding: 1rem 2.5rem; }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font-weight: 650;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 24px rgba(31, 28, 27, 0.18);
}
.btn-primary:hover { background: #000; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.18);
  color: var(--hero-ink);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-nav {
  background: #fff;
  color: var(--coral-deep);
  padding: 0.55rem 1.05rem;
  font-size: 0.875rem;
  box-shadow: 0 4px 16px rgba(31, 28, 27, 0.12);
}
.btn-nav:hover { background: #fff; color: var(--ink); }
.nav.scrolled .btn-nav {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 87, 106, 0.3);
}
.nav.scrolled .btn-nav:hover { background: var(--coral-deep); }
.btn-lg { padding: 1.05rem 1.75rem; font-size: 1.05rem; }

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 7.5rem 1.25rem 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 200, 190, 0.35), transparent 55%),
    linear-gradient(165deg, #E8576A 0%, #D44558 42%, #C23A4E 100%);
  color: var(--hero-ink);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: auto -20% -30% -20%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(255, 251, 250, 0.22), transparent 65%);
  pointer-events: none;
  animation: glow-pulse 6s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.brand-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0 auto 1.5rem;
}
.brand-icon {
  width: clamp(64px, 12vw, 80px);
  height: clamp(64px, 12vw, 80px);
  border-radius: 22%;
  object-fit: cover;
  box-shadow:
    0 12px 40px rgba(31, 28, 27, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  animation: icon-lift 4.5s ease-in-out infinite;
}
@keyframes icon-lift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
}
.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 248, 246, 0.88);
  max-width: 34rem;
  margin: 0 auto 1.75rem;
  font-weight: 450;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero-visual {
  position: relative;
  z-index: 2;
  margin-top: 3rem;
  width: 100%;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}
.phone {
  width: min(280px, 82vw);
  background: var(--card);
  border-radius: 32px;
  padding: 1.1rem 1rem 1.35rem;
  box-shadow:
    0 40px 80px rgba(31, 28, 27, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.2);
  color: var(--ink);
  transform: translateY(12%);
}
.phone.float {
  animation: phone-float 5s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(12%); }
  50% { transform: translateY(8%); }
}
.phone-notch {
  width: 84px;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  margin: 0.2rem auto 1.1rem;
}
.phone-hero-card {
  background: linear-gradient(155deg, #f7f2ef, #ebe4df);
  border-radius: 16px;
  padding: 1.1rem;
  margin-bottom: 0.85rem;
}
.phone-chip {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 650;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.45rem;
  color: var(--muted);
}
.phone-title {
  font-weight: 750;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}
.rings { display: flex; gap: 0.65rem; }
.ring {
  flex: 1;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 0.55rem 0.6rem;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}
.ring strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 750;
  margin-top: 0.15rem;
  letter-spacing: -0.02em;
}
.phone-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.35rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 550;
  text-align: left;
}
.phone-row:last-child { border-bottom: 0; }
.phone-row.done { color: var(--muted); text-decoration: line-through; }
.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--coral);
  flex-shrink: 0;
}
.phone-row.done .dot {
  background: var(--coral);
  box-shadow: inset 0 0 0 3px #fff;
}

@media (min-width: 900px) {
  .hero { padding-top: 8.5rem; }
  .phone { width: 300px; }
}

/* ——— Problem ——— */
.problem {
  max-width: 780px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  text-align: center;
}
.problem h2 { margin-bottom: 1.35rem; }
.problem p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6;
  max-width: 36rem;
  margin: 0 auto;
}

/* ——— How / feature rows ——— */
.how {
  padding: 2rem 1.25rem 5rem;
  max-width: 1120px;
  margin: 0 auto;
}
.how-intro {
  text-align: center;
  margin-bottom: 4rem;
}
.how-intro h2 { margin: 0 auto; }

.feature-row {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 860px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 3.5rem 0;
  }
  .feature-row.reverse .feature-copy { order: 2; }
  .feature-row.reverse .feature-visual { order: 1; }
}

.step-num {
  display: block;
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: var(--coral);
  margin-bottom: 0.85rem;
}
.feature-copy h3 { margin-bottom: 0.85rem; }
.feature-copy p {
  font-size: 1.1rem;
  max-width: 28rem;
  line-height: 1.55;
}

.feature-visual {
  display: flex;
  justify-content: center;
}
.mini-ui {
  width: 100%;
  max-width: 340px;
  background: var(--sand);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.45s var(--ease);
}
.feature-row:hover .mini-ui { transform: translateY(-4px); }

.mini-line {
  height: 10px;
  border-radius: 999px;
  background: rgba(31, 28, 27, 0.1);
  margin-bottom: 0.75rem;
}
.mini-line.wide { width: 70%; }
.mini-line.mid { width: 50%; }
.mini-line.short { width: 35%; margin-top: 1rem; margin-bottom: 0; }
.mini-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.mini-chips span {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.mini-chips .active {
  background: var(--coral);
  color: #fff;
}

.mini-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}
.mini-day:last-child { margin-bottom: 0; }
.mini-day.muted { opacity: 0.65; }
.mini-day strong { font-weight: 650; letter-spacing: -0.02em; }
.mini-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--coral-soft);
  color: var(--coral);
}
.mini-tag.you { background: #E8F0FE; color: #3B6FD9; }
.mini-tag.them { background: #EAF6EE; color: #2F8A4E; }

.mini-budget {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.75rem;
}
.mini-budget span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.mini-budget strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}
.bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(31, 28, 27, 0.08);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), #F08A98);
}
.mini-pack {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.25rem;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--ink);
}
.mini-pack em { color: var(--muted); font-weight: 500; }

/* ——— Features list ——— */
.features {
  background: var(--sand);
  padding: 6rem 1.25rem;
}
.features-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.features-intro h2 { margin-bottom: 1rem; }
.features-intro p {
  font-size: 1.15rem;
  max-width: 30rem;
  margin: 0 auto;
}
.feature-list {
  display: grid;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid rgba(31, 28, 27, 0.1);
}
@media (min-width: 700px) {
  .feature-list { grid-template-columns: 1fr 1fr; }
  .feature-list article:nth-child(odd) { border-right: 1px solid rgba(31, 28, 27, 0.1); }
}
.feature-list article {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid rgba(31, 28, 27, 0.1);
  transition: background 0.3s ease;
}
.feature-list article:hover { background: rgba(255, 255, 255, 0.45); }
.feature-list h3 { margin-bottom: 0.65rem; font-size: 1.35rem; }
.feature-list p { font-size: 1.05rem; max-width: 22rem; }

/* ——— Mood ——— */
.mood {
  margin: 0;
  padding: 6.5rem 1.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(255, 200, 190, 0.25), transparent 55%),
    linear-gradient(160deg, #E8576A 0%, #C23A4E 100%);
  color: var(--hero-ink);
}
.mood h2 {
  color: #fff;
  margin-bottom: 1rem;
}
.mood p:last-child {
  color: rgba(255, 248, 246, 0.85);
  font-size: 1.2rem;
  font-weight: 500;
}

/* ——— CTA ——— */
.cta {
  padding: 6rem 1.25rem;
  text-align: center;
}
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta h2 { margin-bottom: 1rem; }
.cta p {
  font-size: 1.15rem;
  margin-bottom: 1.75rem;
}
.cta .btn-primary {
  background: var(--coral);
  box-shadow: 0 10px 32px rgba(232, 87, 106, 0.35);
}
.cta .btn-primary:hover { background: var(--coral-deep); }
.fine {
  font-size: 0.8rem;
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
  opacity: 0.8;
}

/* ——— Footer ——— */
.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  padding: 1.75rem 1.5rem 2.5rem;
  border-top: 1px solid var(--line);
  max-width: 1120px;
  margin: 0 auto;
}
.footer .muted { color: var(--muted); font-size: 0.9rem; }
.footer-links {
  margin-left: auto;
  display: flex;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.footer-links a { transition: color 0.2s ease; }
.footer-links a:hover { color: var(--ink); }

/* ——— Reveal animations ——— */
.hero-enter {
  animation: hero-rise 0.95s var(--ease) both;
}
.hero-enter-delay { animation-delay: 0.2s; }
@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .hero-enter,
  .hero-enter-delay,
  .phone.float,
  .brand-icon {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .phone { transform: none; }
}
