:root {
  --cream: #FDF7EE;
  --cream-alt: #FAF6EB;
  --white: #FFFFFF;
  --green: #8DBA9E;
  --green-dark: #74A68C;
  --green-deep: #5E8E76;
  --blue: #A7C7E7;
  --yellow: #F7C96B;
  --yellow-dark: #F0B93E;
  --purple: #D9C6E8;
  --orange: #F49D7A;
  --navy: #2D3A4B;
  --navy-soft: #4B5A6D;
  --text-muted: #6B7686;
  --border: #ECE4D6;
  --shadow: 0 20px 40px -18px rgba(45, 58, 75, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(94, 142, 118, 0.55);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid #D9D0BE;
}
.btn-outline:hover { border-color: var(--navy); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-ghost {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.btn-ghost span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 247, 238, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-icon { width: 38px; height: 38px; object-fit: contain; }
.brand-word {
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.main-nav {
  display: flex;
  gap: 32px;
  margin: 0 auto;
}
.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy-soft);
}
.main-nav a:hover { color: var(--navy); }
.header-cta { display: flex; align-items: center; gap: 12px; }

/* Hero */
.hero { padding: 64px 0 90px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--green-deep);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  color: var(--navy);
  margin-bottom: 22px;
}
.lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--navy-soft);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}
.avatars { display: flex; }
.avatars span {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--cream);
  margin-left: -10px;
}
.avatars span:first-child { margin-left: 0; }
.hero-trust p { font-size: 14px; color: var(--text-muted); max-width: 220px; line-height: 1.4; }

/* Phones */
.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}
.phone {
  width: 260px;
  background: var(--white);
  border-radius: 34px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 58, 75, 0.06);
  overflow: hidden;
  position: absolute;
}
.phone-back { transform: translate(-92px, 6px) rotate(-4deg); z-index: 1; }
.phone-front { transform: translate(92px, -10px) rotate(4deg); z-index: 2; }
.phone-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 6px;
}
.phone-statusbar .time { font-size: 13px; font-weight: 800; color: var(--navy); }
.status-icons { display: flex; align-items: center; gap: 5px; }
.phone-content { padding: 14px 18px 18px; }
.greeting-row { display: flex; align-items: flex-start; justify-content: space-between; }
.greeting-label { margin: 0; font-size: 13px; color: var(--text-muted); font-weight: 600; }
.greeting-name { margin: 2px 0 0; font-size: 21px; color: var(--navy); }
.sun-icon { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: #FCEFD2; border-radius: 50%; }
.tasks-count { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--green-deep); }

.task-list { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.task-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #F1ECE0;
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: 0 6px 14px -10px rgba(45,58,75,0.15);
}
.task-icon {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.task-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.task-text strong { font-size: 13.5px; color: var(--navy); font-weight: 700; }
.task-text small { font-size: 11.5px; color: var(--text-muted); font-weight: 600; margin-top: 1px; }
.task-check {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #E1DACB;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.task-check.checked { background: var(--green); border-color: var(--green); }

.add-task-btn {
  margin-top: 14px;
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px;
  font-family: inherit;
  font-weight: 700;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.phone-tabbar {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #F1ECE0;
  padding: 10px 6px 14px;
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  color: #9AA3AF;
}
.tab.active { color: var(--yellow-dark); }

.success-content { text-align: center; padding-top: 6px; }
.back-arrow { display: flex; justify-content: flex-start; padding: 4px 0 20px; }
.mascot-wrap { position: relative; width: 150px; height: 150px; margin: 0 auto 22px; }
.mascot {
  width: 150px; height: 150px; border-radius: 50%;
  background: #E4EFE8;
  display: flex; align-items: center; justify-content: center;
}
.mascot-heart {
  position: absolute; top: -4px; right: -6px;
  width: 40px; height: 36px;
  background: #fff;
  border-radius: 14px 14px 14px 4px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 16px -8px rgba(45,58,75,0.3);
}
.success-title { font-size: 26px; color: var(--navy); margin-bottom: 8px; }
.success-copy { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: 26px; }
.view-progress {
  display: block;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Section shared */
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { display: block; justify-content: center; }
.section-head h2 { font-size: 36px; color: var(--navy); margin-bottom: 14px; }
.section-sub { font-size: 16px; color: var(--text-muted); line-height: 1.6; }

/* Features */
.features { padding: 100px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* How it works */
.how-it-works { padding: 40px 0 110px; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step {
  background: var(--cream-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  margin-bottom: 18px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; color: var(--navy); }
.step p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }

/* Difference banner */
.difference { padding: 0 0 110px; }
.difference-card {
  background: #EFEFE2;
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.heart-badge {
  width: 48px; height: 48px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 18px -10px rgba(45,58,75,0.2);
}
.difference-copy h2 { font-size: 34px; color: var(--navy); margin-bottom: 14px; line-height: 1.15; }
.difference-copy p { font-size: 16px; color: var(--navy-soft); margin-bottom: 26px; max-width: 380px; line-height: 1.55; }
.difference-image img {
  width: 100%;
  border-radius: 20px;
}

/* CTA */
.cta { padding: 20px 0 120px; }
.cta-inner { text-align: center; }
.cta h2 { font-size: 38px; color: var(--navy); margin-bottom: 14px; }
.cta p { font-size: 16px; color: var(--text-muted); margin-bottom: 32px; }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 64px 0 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 48px;
  flex-wrap: wrap;
}
.footer-brand p { color: #A9B2BF; font-size: 14px; margin-top: 16px; max-width: 220px; }
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 18px;
}
.lockup-icon { width: 26px; height: 26px; }
.lockup-light { background: #fff; color: var(--navy); border: 1px solid #3E4C5E; }
.footer-nav { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-nav h4 { font-size: 13px; letter-spacing: 0.06em; color: #8792A2; margin-bottom: 16px; text-transform: uppercase; }
.footer-nav a { display: block; color: #D7DCE3; font-size: 14.5px; margin-bottom: 12px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #3E4C5E;
  padding: 22px 0;
}
.footer-bottom p { font-size: 13px; color: #8792A2; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-phones { margin-top: 40px; min-height: 480px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .difference-card { grid-template-columns: 1fr; padding: 40px; }
  .difference-image { order: -1; }
}
@media (max-width: 720px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 32px 20px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: none; }
  .btn-ghost { display: flex; }
  .hero h1 { font-size: 40px; }
  .feature-grid { grid-template-columns: 1fr; }
  .phone { width: 220px; }
  .phone-back { transform: translate(-60px, 6px) rotate(-4deg); }
  .phone-front { transform: translate(60px, -10px) rotate(4deg); }
  .footer-inner { flex-direction: column; }
}
