:root {
  --mg-ink: #24201f;
  --mg-muted: #716963;
  --mg-paper: #fffaf3;
  --mg-cream: #f5eadb;
  --mg-coral: #ed7667;
  --mg-coral-soft: #fbe1da;
  --mg-sage: #638f7d;
  --mg-sage-soft: #deece4;
  --mg-blue: #4775ad;
  --mg-blue-soft: #dfeafa;
  --mg-plum: #705a8d;
  --mg-plum-soft: #e9e1f1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--mg-paper);
  color: var(--mg-ink);
  font-family: Inter, ui-rounded, "SF Pro Rounded", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
}

a {
  color: var(--mg-blue);
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.site-shell::before {
  background:
    radial-gradient(circle at 12% 10%, rgba(237, 118, 103, 0.22), transparent 26%),
    radial-gradient(circle at 83% 16%, rgba(99, 143, 125, 0.22), transparent 27%);
  content: "";
  height: 850px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
}

.site-content {
  position: relative;
}

.navbar {
  --bs-navbar-color: var(--mg-ink);
  --bs-navbar-hover-color: var(--mg-coral);
  padding: 1.25rem 0;
}

.brand-mark {
  border-radius: 22%;
  box-shadow: 0 6px 18px rgba(64, 46, 39, 0.14);
  height: 44px;
  width: 44px;
}

.navbar-brand {
  color: var(--mg-ink);
  font-size: 1.12rem;
}

.nav-download {
  border-radius: 999px;
  padding: 0.55rem 1rem;
}

.hero {
  padding: 4.5rem 0 7rem;
}

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

.eyebrow {
  color: var(--mg-coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3.25rem, 7.4vw, 6.8rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.hero h1 span {
  color: var(--mg-coral);
}

.lead {
  color: var(--mg-muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.6;
}

.app-store-badge-link {
  display: inline-block;
  flex: 0 0 auto;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.app-store-badge-link:hover {
  box-shadow: 0 14px 32px rgba(36, 32, 31, 0.25);
  transform: translateY(-2px);
}

.app-store-badge {
  border-radius: 10px;
  display: block;
  height: auto;
  max-width: 207px;
  width: 100%;
}

.download-note {
  color: var(--mg-muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.trust-row {
  color: var(--mg-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 650;
  gap: 0.6rem 1.4rem;
  margin-top: 2rem;
}

.trust-row span::before {
  color: var(--mg-sage);
  content: "✓";
  font-weight: 900;
  margin-right: 0.4rem;
}

.hero-visual {
  min-height: 480px;
  position: relative;
}

.hero-icon-wrap {
  align-items: center;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(36, 32, 31, 0.08);
  border-radius: 50%;
  box-shadow: 0 30px 75px rgba(83, 66, 53, 0.16);
  display: flex;
  height: 330px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 65px;
  transform: translateX(-50%);
  width: 330px;
  z-index: 2;
}

.hero-icon {
  border-radius: 24%;
  box-shadow: 0 25px 55px rgba(36, 32, 31, 0.24);
  max-width: 220px;
  width: 62%;
}

.orbit {
  border: 1px dashed rgba(36, 32, 31, 0.12);
  border-radius: 50%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  height: 410px;
  width: 410px;
}

.orbit-two {
  height: 510px;
  width: 510px;
}

.floating-card {
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(36, 32, 31, 0.08);
  border-radius: 15px;
  box-shadow: 0 16px 40px rgba(75, 59, 50, 0.16);
  display: flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 0.7rem;
  line-height: 1.25;
  padding: 0.75rem;
  position: absolute;
  z-index: 3;
}

.floating-card small {
  color: var(--mg-muted);
  display: block;
  font-size: 0.67rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.mini-icon,
.feature-icon {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}

.mini-icon {
  height: 34px;
  width: 34px;
}

.coral { background: var(--mg-coral-soft); color: var(--mg-coral); }
.sage { background: var(--mg-sage-soft); color: var(--mg-sage); }
.blue { background: var(--mg-blue-soft); color: var(--mg-blue); }
.plum { background: var(--mg-plum-soft); color: var(--mg-plum); }
.ink { background: var(--mg-ink); color: white; }

.floating-gratitude { left: -12px; top: 48px; }
.floating-bright-spot { bottom: 22px; left: 50%; transform: translateX(-50%); }
.floating-task { right: -20px; top: 260px; }

.section-band {
  padding: 6rem 0;
}

.section-title {
  font-size: clamp(2.15rem, 5vw, 4rem);
  font-weight: 820;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.intro-band {
  background: white;
  border-bottom: 1px solid rgba(36, 32, 31, 0.07);
  border-top: 1px solid rgba(36, 32, 31, 0.07);
}

.journey-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

.journey-card {
  border-radius: 26px;
  min-height: 390px;
  overflow: hidden;
  padding: 2rem;
  position: relative;
}

.journey-card h3 {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.journey-card > p:last-child {
  color: rgba(36, 32, 31, 0.7);
  line-height: 1.65;
}

.journey-coral { background: var(--mg-coral-soft); }
.journey-blue { background: var(--mg-blue-soft); }
.journey-sage { background: var(--mg-sage-soft); }

.step-number {
  color: rgba(36, 32, 31, 0.25);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.journey-symbol {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  display: flex;
  font-size: 2.3rem;
  height: 92px;
  justify-content: center;
  margin: 2.6rem 0 2.4rem;
  width: 92px;
}

.feature-showcase {
  background: var(--mg-paper);
}

.check-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.check-list li {
  border-bottom: 1px solid rgba(36, 32, 31, 0.09);
  color: var(--mg-muted);
  padding: 0.85rem 0;
}

.check-list li::before {
  color: var(--mg-coral);
  content: "✦";
  margin-right: 0.7rem;
}

.memory-board {
  background: var(--mg-cream);
  border-radius: 30px;
  min-height: 490px;
  overflow: hidden;
  position: relative;
}

.memory-photo {
  align-items: end;
  background-position: center;
  background-size: cover;
  border: 8px solid white;
  box-shadow: 0 18px 36px rgba(64, 46, 39, 0.16);
  display: flex;
  height: 250px;
  padding: 1rem;
  position: absolute;
  width: 205px;
}

.memory-photo span {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
  padding: 0.35rem 0.65rem;
}

.photo-one {
  background-image: linear-gradient(rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.15)), url("assets/coffee.jpg");
  left: 8%;
  top: 62px;
  transform: rotate(-7deg);
}

.photo-two {
  background-image: linear-gradient(rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.15)), url("assets/green-hills.jpg");
  left: 36%;
  top: 34px;
  transform: rotate(3deg);
}

.photo-three {
  background-image: linear-gradient(rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.15)), url("assets/cake-berries.jpg");
  right: 5%;
  top: 110px;
  transform: rotate(8deg);
}

.search-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(36, 32, 31, 0.08);
  border-radius: 15px;
  bottom: 38px;
  box-shadow: 0 18px 42px rgba(64, 46, 39, 0.18);
  display: flex;
  font-size: 1.6rem;
  gap: 1rem;
  left: 50%;
  min-width: 285px;
  padding: 0.9rem 1.1rem;
  position: absolute;
  transform: translateX(-50%);
}

.search-card small,
.search-card strong {
  display: block;
  font-size: 0.74rem;
}

.search-card small { color: var(--mg-muted); font-weight: 550; }
.search-card strong { font-size: 0.86rem; }

.section-soft {
  background: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(36, 32, 31, 0.07);
  border-top: 1px solid rgba(36, 32, 31, 0.07);
}

.feature-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  background: white;
  border: 1px solid rgba(36, 32, 31, 0.08);
  border-radius: 20px;
  box-shadow: 0 8px 26px rgba(64, 46, 39, 0.05);
  min-height: 230px;
  padding: 1.7rem;
}

.feature-wide {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  grid-column: span 2;
}

.feature-icon {
  font-size: 1.25rem;
  height: 48px;
  margin-bottom: 1.5rem;
  width: 48px;
}

.feature-wide .feature-icon {
  height: 68px;
  margin-bottom: 0;
  width: 68px;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 780;
}

.feature-card p,
.privacy-content p,
.privacy-content li {
  color: var(--mg-muted);
  line-height: 1.6;
}

.privacy-card {
  background: var(--mg-cream);
}

.privacy-card a {
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.download-section {
  padding-bottom: 4rem;
}

.faq-section {
  background: var(--mg-paper);
  border-bottom: 1px solid rgba(36, 32, 31, 0.07);
}

.faq-list {
  border-top: 1px solid rgba(36, 32, 31, 0.12);
}

.faq-list details {
  border-bottom: 1px solid rgba(36, 32, 31, 0.12);
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 750;
  list-style: none;
  padding: 1.35rem 3rem 1.35rem 0;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--mg-coral);
  content: "+";
  font-size: 1.55rem;
  font-weight: 450;
  position: absolute;
  right: 0.2rem;
  top: 1rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  color: var(--mg-muted);
  line-height: 1.7;
  max-width: 720px;
  padding: 0 2rem 1.4rem 0;
}

.download-panel {
  background:
    radial-gradient(circle at 90% 0%, rgba(237, 118, 103, 0.28), transparent 34%),
    var(--mg-sage-soft);
  border: 1px solid rgba(36, 32, 31, 0.08);
  border-radius: 30px;
  padding: clamp(2rem, 6vw, 5rem);
}

.privacy-content {
  max-width: 860px;
}

.privacy-content h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.privacy-content h2 {
  font-size: 1.35rem;
  font-weight: 750;
  margin-top: 2.5rem;
}

.privacy-content ul {
  padding-left: 1.2rem;
}

.footer {
  border-top: 1px solid rgba(36, 32, 31, 0.08);
  color: var(--mg-muted);
  font-size: 0.88rem;
  padding: 2rem 0 3rem;
}

.footer a {
  color: var(--mg-muted);
}

@media (max-width: 991.98px) {
  .hero { padding-top: 2.5rem; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-card { min-height: 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-wide { grid-column: span 2; }
  .hero-visual { margin: 0 auto; max-width: 540px; }
}

@media (max-width: 767.98px) {
  .navbar { padding: 0.9rem 0; }
  .hero { padding: 2.5rem 0 4.5rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .hero-visual { min-height: 410px; transform: scale(0.9); }
  .hero-icon-wrap { height: 280px; top: 55px; width: 280px; }
  .orbit-one { height: 340px; width: 340px; }
  .orbit-two { height: 410px; width: 410px; }
  .floating-gratitude { left: 0; }
  .floating-task { right: 0; top: 230px; }
  .section-band { padding: 4.5rem 0; }
  .memory-board { min-height: 440px; }
  .memory-photo { height: 220px; width: 170px; }
  .photo-one { left: 2%; }
  .photo-two { left: 30%; }
  .photo-three { right: 1%; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { align-items: flex-start; display: block; grid-column: span 1; }
  .feature-wide .feature-icon { height: 48px; margin-bottom: 1.5rem; width: 48px; }
  .faq-list { margin-top: 0.5rem; }
}

@media (max-width: 420px) {
  .hero-visual { margin-left: -7%; width: 114%; }
  .floating-card { font-size: 0.7rem; }
  .memory-photo { height: 195px; width: 145px; }
  .photo-two { left: 28%; }
  .search-card { min-width: 255px; }
  .footer .d-flex { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .app-store-badge-link { transition: none; }
}
