:root {
  --ink: #2d1528;
  --ink-soft: #594253;
  --muted: #8b6f82;
  --canvas: #fff9fb;
  --surface: #ffffff;
  --rose: #fa5a88;
  --rose-deep: #e11d74;
  --rose-soft: #ffe6ee;
  --mint: #b9f3d0;
  --mint-deep: #167a4f;
  --blue: #5b6be8;
  --blue-soft: #e7eaff;
  --gold: #f7c948;
  --border: #efd7df;
  --shadow: 0 22px 55px rgba(45, 21, 40, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.landing {
  max-width: none;
  padding: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

p,
ul {
  margin-bottom: 0.85rem;
}

ul {
  padding-left: 1.25rem;
}

a {
  color: var(--rose-deep);
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.lead {
  font-size: 1.05rem;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(239, 215, 223, 0.9);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(250, 90, 136, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--rose-deep);
}

.hero-band {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 4rem 0 2.4rem;
  background:
    radial-gradient(circle at 20% 22%, rgba(250, 90, 136, 0.18), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(91, 107, 232, 0.15), transparent 30%),
    linear-gradient(135deg, #fff9fb 0%, #ffe9ef 55%, #f7fff8 100%);
}

.hero-background {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: url("/acts-icon.png");
  background-repeat: no-repeat;
  background-position: right 8vw top 38px;
  background-size: min(48vw, 520px);
  filter: saturate(1.05);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 440px;
}

.hero-copy {
  max-width: 700px;
  padding-bottom: 3.5rem;
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--rose-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin-bottom: 1rem;
  font-size: clamp(4rem, 12vw, 8.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 1.4rem;
  color: var(--ink-soft);
  font-size: clamp(1.22rem, 2.2vw, 1.55rem);
  line-height: 1.35;
}

.hero-lead span {
  display: block;
}

.hero-lead-script {
  margin-top: 0.55rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-style: italic;
  line-height: 1.22;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.app-store-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(45, 21, 40, 0.1);
  border-radius: 8px;
  padding: 0.75rem 1.05rem;
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(45, 21, 40, 0.18);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.app-store-button:hover {
  background: #44213b;
}

.phone-stage {
  position: absolute;
  right: 0;
  bottom: -118px;
  display: flex;
  justify-content: flex-end;
  width: min(35vw, 360px);
  pointer-events: none;
}

.phone-shell {
  width: min(100%, 360px);
  padding: 12px;
  border: 1px solid rgba(45, 21, 40, 0.1);
  border-radius: 34px;
  background: #32172b;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.phone-screen {
  min-height: 520px;
  overflow: hidden;
  border-radius: 26px;
  padding: 1.1rem;
  background: linear-gradient(180deg, #fff8fb 0%, #ffffff 62%, #f1fff6 100%);
}

.phone-top,
.memory-card,
.task-meta,
.feed-header,
.social-preview article,
.feature-steps article {
  display: flex;
  align-items: center;
}

.phone-top {
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.phone-top img {
  width: 48px;
  height: 48px;
  border-radius: 15px;
}

.phone-top span,
.memory-card span,
.feed-header span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.phone-top strong,
.memory-card strong,
.feed-header strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #f2dce5;
}

.progress-track span {
  display: block;
  width: 46%;
  height: 100%;
  border-radius: inherit;
  background: var(--rose);
}

.task-card,
.memory-card,
.deed-list article,
.feature-panel,
.social-preview,
.metrics-grid > div {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.task-card {
  margin-top: 1rem;
  padding: 1rem;
}

.task-card-featured {
  border-color: rgba(250, 90, 136, 0.38);
  background: var(--rose-soft);
}

.task-meta {
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.task-meta span {
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  font-weight: 800;
}

.task-card h2 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
  line-height: 1.25;
}

.task-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}

.memory-card {
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.8rem;
  background: #f4fff8;
}

.memory-photo {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(22, 122, 79, 0.18), rgba(247, 201, 72, 0.45)),
    url("/acts-icon.png") center / 48px 48px no-repeat;
}

.metrics-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

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

.metrics-grid > div {
  padding: 1rem;
  background: #fffafb;
}

.metrics-grid strong {
  display: block;
  color: var(--rose-deep);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.metrics-grid strong.is-loading {
  color: var(--muted);
}

.metrics-grid span {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 650;
}

.section-grid,
.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: start;
}

.section-grid {
  padding: 4.25rem 0;
}

.section-copy {
  position: sticky;
  top: 104px;
}

.section-copy h2,
.feature-panel h2,
.final-cta h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy p {
  color: var(--ink-soft);
}

.deed-list {
  display: grid;
  gap: 1rem;
}

.deed-list article {
  padding: 1.1rem;
  box-shadow: 0 14px 34px rgba(45, 21, 40, 0.06);
}

.deed-list span {
  display: inline-flex;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  color: var(--mint-deep);
  background: #e6faee;
  font-size: 0.75rem;
  font-weight: 800;
}

.deed-list h3 {
  font-size: 1.2rem;
  line-height: 1.28;
}

.deed-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.experience-band {
  padding: 4.25rem 0;
  background: #f3fff7;
}

.experience-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  align-items: center;
}

.feature-panel,
.social-preview {
  padding: 1.35rem;
  box-shadow: 0 18px 46px rgba(45, 21, 40, 0.08);
}

.feature-panel h2 {
  max-width: 760px;
}

.feature-steps {
  display: grid;
  gap: 0.8rem;
}

.feature-steps article {
  align-items: flex-start;
  gap: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
}

.feature-steps span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--rose);
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-steps h3 {
  margin-bottom: 0.2rem;
  font-size: 1.08rem;
}

.feature-steps p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.social-preview {
  background: #ffffff;
}

.feed-header {
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.social-preview article {
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--border);
}

.avatar {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--rose);
  font-weight: 900;
}

.avatar-blue {
  background: var(--blue);
}

.avatar-green {
  background: var(--mint-deep);
}

.social-preview h3 {
  margin-bottom: 0.1rem;
  font-size: 0.98rem;
  line-height: 1.3;
}

.social-preview p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.final-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.3rem;
  align-items: center;
  padding: 3.5rem 0;
}

.final-cta img {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(250, 90, 136, 0.25);
}

.final-cta h2 {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  text-align: center;
}

.site-footer p {
  margin-bottom: 0.5rem;
}

@media (max-width: 860px) {
  .hero-band {
    padding-top: 3.4rem;
  }

  .hero-grid,
  .section-grid,
  .experience-grid,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .phone-stage {
    display: none;
  }

  .section-copy {
    position: static;
  }

  .phone-shell {
    transform: none;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .final-cta {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .header-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.8rem 0;
  }

  .site-nav {
    width: 100%;
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    white-space: nowrap;
  }

  .hero-copy h1 {
    font-size: 4rem;
  }

  .hero-lead {
    font-size: 1.12rem;
  }

  .phone-screen {
    min-height: 540px;
  }
}
