:root {
  color-scheme: light;
  --bg: #fbf1f6;
  --bg-alt: #f6e7f0;
  --card: #fffdfb;
  --card-tinted: #fbf4f8;
  --ink: #463240;
  --ink-soft: #6e5a67;
  --muted: #9a8793;
  --line: rgba(70, 50, 64, .18);
  --outline: #463240;
  --rose: #f4c6db;
  --rose-deep: #d98bb3;
  --rose-soft: #fae3ee;
  --plum: #5c4655;
  --lilac: #d9cbf2;
  --lilac-deep: #9c86d4;
  --mint: #bfe8cf;
  --mint-deep: #4e9e74;
  --peach: #f7d8b8;
  --peach-deep: #c98a4b;
  --sky: #c3def4;
  --sky-deep: #5b8fbf;
  --shadow-neo: 0 3px 0 rgba(70, 50, 64, .16);
  --shadow-soft: 0 16px 38px rgba(70, 50, 64, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 42%, #fff8fb 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(70, 50, 64, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(70, 50, 64, .025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 72%);
  pointer-events: none;
  content: "";
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  background: rgba(251, 241, 246, .78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
}

.brand-icon,
.hero-icon,
.page-icon,
.greeting-card img {
  display: block;
  object-fit: cover;
  box-shadow: var(--shadow-neo), 0 14px 30px rgba(217, 139, 179, .22);
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-nav a {
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.top-nav a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

main {
  overflow: hidden;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, .98fr);
  align-items: center;
  gap: 52px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 36px;
}

.hero-copy {
  max-width: 690px;
  animation: riseIn .7s ease both;
}

.hero-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 22px;
  border-radius: 24px;
}

.page-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 20px;
}

.eyebrow,
.updated {
  color: var(--muted);
  font-size: 14px;
}

.eyebrow {
  margin: 0 0 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
.brand,
.button,
.app-card strong,
.quick-grid strong,
.macro-ring strong {
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(62px, 10vw, 112px);
  line-height: .9;
}

h2 {
  max-width: 820px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(31px, 4.8vw, 48px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.2;
}

.hero-lede,
.section-copy {
  color: var(--ink-soft);
  font-size: 19px;
}

.hero-lede {
  max-width: 670px;
  margin-bottom: 28px;
  font-size: 21px;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1.5px solid var(--outline);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(180deg, var(--rose), rgba(244, 198, 219, .86));
  color: var(--ink);
  box-shadow: var(--shadow-neo), var(--shadow-soft);
}

.button.secondary {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-neo);
}

.phone-visual {
  display: flex;
  min-height: 610px;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  perspective: 1100px;
  animation: riseIn .8s .1s ease both;
}

.phone-frame {
  position: relative;
  overflow: hidden;
  width: min(100%, 360px);
  min-height: 650px;
  padding: 18px;
  border: 1.5px solid var(--outline);
  border-radius: 42px;
  background: linear-gradient(180deg, #fff9fc, var(--rose-soft) 48%, var(--bg-alt));
  box-shadow: var(--shadow-neo), 0 28px 70px rgba(70, 50, 64, .16);
  transform: rotateX(4deg) rotateY(-7deg) scale(.86);
  transform-origin: top center;
}

.phone-frame::after {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(70, 50, 64, .1);
  border-radius: 32px;
  pointer-events: none;
  content: "";
}

.phone-top {
  width: 92px;
  height: 7px;
  margin: 4px auto 22px;
  border-radius: 999px;
  background: rgba(70, 50, 64, .2);
}

.app-card,
.quick-grid > div,
.macro-ring {
  position: relative;
  border: 1.5px solid var(--outline);
  background: var(--card);
  box-shadow: var(--shadow-neo), 0 10px 24px rgba(70, 50, 64, .06);
}

.app-card {
  margin-bottom: 14px;
  padding: 18px;
  border-radius: 24px;
}

.greeting-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
}

.greeting-card img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.coach-card {
  background: var(--lilac);
}

.app-card span,
.quick-grid span,
.macro-ring span {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.app-card strong,
.quick-grid strong,
.macro-ring strong {
  display: block;
  margin: 4px 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

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

.macro-ring {
  display: grid;
  min-height: 178px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at center, var(--card) 0 48%, transparent 49%),
    conic-gradient(var(--rose-deep) 0 68%, rgba(70, 50, 64, .1) 68% 100%);
}

.macro-ring > div {
  display: grid;
  width: 130px;
  height: 130px;
  place-items: center;
  padding: 18px;
  border: 1.5px solid rgba(70, 50, 64, .12);
  border-radius: 999px;
  background: var(--card);
  text-align: center;
}

.macro-ring strong {
  font-size: 38px;
}

.macro-ring small {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.quick-grid > div {
  min-height: 76px;
  padding: 14px 16px;
  border-radius: 20px;
}

.quick-grid > div:nth-child(1) {
  background: var(--rose-soft);
}

.quick-grid > div:nth-child(2) {
  background: var(--lilac);
}

.quick-grid > div:nth-child(3) {
  background: var(--mint);
}

.section,
.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.feature-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.feature-card,
.info-card {
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--outline);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow-neo), var(--shadow-soft);
}

.feature-card {
  min-height: 260px;
  padding: 24px;
  transition: transform .24s ease, box-shadow .24s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-neo), 0 24px 52px rgba(70, 50, 64, .12);
  transform: translateY(-4px);
}

.feature-card span,
.info-card span {
  position: relative;
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-weight: 900;
  text-transform: uppercase;
}

.feature-card h3,
.feature-card p,
.info-card h2,
.info-card p {
  position: relative;
}

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

.rose-card {
  background: var(--rose-soft);
}

.lilac-card {
  background: var(--lilac);
}

.mint-card {
  background: var(--mint);
}

.peach-card {
  background: var(--peach);
}

.sky-card {
  background: var(--sky);
}

.contact-card {
  background: var(--card);
}

.concept-section,
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .52fr);
  align-items: center;
  gap: 34px;
  border-top: 1px solid var(--line);
}

.note-stack,
.legal-links {
  display: grid;
  gap: 12px;
}

.note-stack article,
.legal-links a {
  display: grid;
  min-height: 70px;
  align-content: center;
  padding: 14px 18px;
  border: 1.5px solid var(--outline);
  border-radius: 20px;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-neo);
}

.note-stack article:nth-child(2) {
  background: var(--peach);
}

.note-stack article:nth-child(3) {
  background: var(--sky);
}

.note-stack span {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-links a {
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 56px;
  font-weight: 900;
}

.legal-links a::after {
  color: var(--rose-deep);
  content: ">";
}

.page-shell {
  padding: 48px 0 86px;
}

.page-hero {
  max-width: 900px;
  margin-bottom: 34px;
}

.page-hero h1 {
  font-size: clamp(42px, 6.8vw, 68px);
  line-height: .98;
}

.info-card {
  min-height: 230px;
  padding: 24px;
}

.info-card h2 {
  font-size: 24px;
}

.compact-grid {
  grid-template-columns: repeat(2, 1fr);
}

.site-footer {
  display: flex;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--rose-deep);
  text-decoration: none;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .home-hero,
  .concept-section,
  .split-section {
    grid-template-columns: 1fr;
  }

  .home-hero {
    gap: 28px;
    padding-top: 22px;
  }

  .phone-frame {
    min-height: 610px;
    transform: none;
  }

  .phone-visual {
    display: none;
  }

  .feature-grid,
  .info-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .top-nav {
    gap: 12px;
  }

  .top-nav a {
    font-size: 13px;
  }

  h1 {
    font-size: clamp(56px, 18vw, 74px);
  }

  .hero-lede,
  .section-copy {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .feature-card,
  .info-card {
    border-radius: 22px;
  }
}
