:root {
  --bg: #f8f8ff;
  --band: #f1f3fc;
  --surface: #ffffff;
  --surface-soft: #f4f1ff;
  --ink: #171b2a;
  --ink-soft: #4e5060;
  --muted: #8b8b9b;
  --purple: #7c3df0;
  --purple-deep: #6f31df;
  --purple-soft: #eee8ff;
  --navy: #252c3b;
  --navy-soft: #333949;
  --line: rgba(25, 28, 45, 0.08);
  --shadow: 0 26px 76px rgba(64, 55, 120, 0.12);
  --shadow-strong: 0 34px 96px rgba(23, 27, 42, 0.18);
  --container: 1184px;
  color-scheme: light;
  font-family:
    "Aptos",
    "SF Pro Display",
    "Helvetica Neue",
    "PingFang SC",
    sans-serif;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.section-wrap {
  width: min(var(--container), calc(100vw - 96px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 44px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--container), calc(100vw - 96px));
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  color: var(--purple);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.brand strong {
  color: #5935c9;
}

.brand--header {
  font-size: 24px;
}

.brand--footer {
  gap: 4px;
  font-size: 30px;
}

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 152px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(124, 61, 240, 0.28);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 558px;
  gap: 74px;
  align-items: center;
  min-height: 960px;
  padding-top: 170px;
  padding-bottom: 118px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  margin: 0 0 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: #edeffd;
  color: var(--purple);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.pill::before {
  content: "+";
  font-size: 13px;
  line-height: 1;
}

.hero h1,
.section-heading h2,
.support h2,
.vision h2,
.try h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 590px;
  font-size: clamp(4.7rem, 7.7vw, 6.7rem);
  line-height: 0.96;
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 strong,
.support h2 strong {
  color: var(--purple);
}

.hero__lead {
  max-width: 530px;
  margin: 54px 0 0;
  color: #383b4d;
  font-size: 23px;
  font-weight: 650;
  line-height: 1.44;
  letter-spacing: 0.01em;
}

.hero__note {
  margin: 24px 0 0;
  color: #7c7c8d;
  font-size: 16px;
  font-style: italic;
  line-height: 1.5;
}

.hero__image img,
.support__image img {
  width: 100%;
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.hero__image img {
  min-height: 698px;
  object-fit: cover;
}

.support {
  display: grid;
  grid-template-columns: 558px minmax(0, 1fr);
  gap: 80px;
  align-items: center;
  padding-top: 124px;
  padding-bottom: 134px;
  background: var(--band);
  box-shadow: 0 0 0 100vmax var(--band);
  clip-path: inset(0 -100vmax);
}

.support__image img {
  min-height: 558px;
  object-fit: cover;
}

.support h2 {
  font-size: clamp(2.6rem, 4.3vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.support h2 span,
.support h2 strong {
  display: block;
}

.support__copy p {
  max-width: 560px;
  margin: 42px 0 0;
  color: #4d5062;
  font-size: 20px;
  line-height: 1.65;
}

.callout {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 548px;
  min-height: 104px;
  margin-top: 34px;
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  color: var(--purple);
  font-size: 18px;
  line-height: 1.35;
  box-shadow: 0 16px 44px rgba(86, 80, 140, 0.08);
}

.callout__icon {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--purple);
  border-radius: 50%;
}

.callout__icon::before,
.callout__icon::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 8px;
  height: 2px;
  background: var(--purple);
  content: "";
  transform: translate(-50%, -50%);
}

.callout__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.intro {
  padding: 130px 0 132px;
  background: var(--bg);
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 82px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2.6rem, 4.2vw, 4.35rem);
  line-height: 1.05;
}

.section-heading p {
  max-width: 780px;
  margin: 22px auto 0;
  color: #4d5062;
  font-size: 17px;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  gap: 32px;
}

.feature-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  min-height: 380px;
  padding: 40px 40px 38px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(60, 58, 92, 0.05);
}

.feature-card h3,
.moment-card h3,
.steps h3,
.experience-grid h3 {
  margin: 34px 0 18px;
  color: var(--ink);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.feature-card p,
.moment-card p,
.steps p,
.experience-grid p {
  margin: 0;
  color: #4d5062;
  font-size: 16px;
  line-height: 1.72;
}

.icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: currentColor;
  color: var(--purple);
  mask: var(--mask) center / contain no-repeat;
}

.feature-card > .icon,
.experience-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--purple-soft);
  color: var(--ink);
}

.feature-card > .icon {
  display: inline-grid;
  background: var(--purple-soft);
  mask: none;
}

.feature-card > .icon::before,
.experience-icon .icon {
  display: block;
  width: 30px;
  height: 30px;
  background: var(--ink);
  content: "";
  mask: var(--mask) center / contain no-repeat;
}

.icon--pet {
  --mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3a6 6 0 0 0-6 6v3a6 6 0 0 0 12 0V9a6 6 0 0 0-6-6Zm-3 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm6 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm-3 5c-2 0-3-1.4-3-2.4h2c0 .3.4.7 1 .7s1-.4 1-.7h2c0 1-1 2.4-3 2.4Z'/%3E%3Cpath d='M4 17h16v2H4v-2Z'/%3E%3C/svg%3E");
}

.icon--parent,
.icon--nodes,
.icon--decision {
  --mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 5a3 3 0 1 1 6 0 3 3 0 0 1-6 0Zm10 8a3 3 0 1 1 0 6 3 3 0 0 1 0-6ZM4 15a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm7-8 5 7-1.6 1.2-5-7L11 7Zm-4 11h7v2H7v-2Z'/%3E%3C/svg%3E");
}

.icon--trend,
.icon--graph {
  --mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 18h16v2H4v-2Zm1-2 4-5 4 3 5-8 2 1-6.5 10L9.4 14 6.6 17 5 16Z'/%3E%3C/svg%3E");
}

.icon--scale {
  --mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 3h12v2h-3v3.5l4 4V21H5v-8.5l4-4V5H6V3Zm5 2v4.3L7 13.2V19h10v-5.8l-4-3.9V5h-2Z'/%3E%3C/svg%3E");
}

.icon--food {
  --mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 2h2v8a2 2 0 0 0 2 2V2h2v10a4 4 0 0 1-3 3.9V22H6v-6.1A4 4 0 0 1 3 12V2h2v8h1V2Zm12 0h2v20h-2v-7h-3V6a4 4 0 0 1 3-4Z'/%3E%3C/svg%3E");
}

.icon--routine {
  --mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2h2v4h-2V2ZM4.2 5.6l1.4-1.4L8.4 7 7 8.4 4.2 5.6ZM2 12h4v2H2v-2Zm16 0h4v2h-4v-2Zm.4-7.8 1.4 1.4L17 8.4 15.6 7l2.8-2.8ZM12 8a5 5 0 1 1 0 10 5 5 0 0 1 0-10Zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6Z'/%3E%3C/svg%3E");
}

.icon--medical,
.icon--case {
  --mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 3h6v3h5v15H4V6h5V3Zm2 3h2V5h-2v1Zm-5 2v11h12V8H6Zm5 2h2v3h3v2h-3v3h-2v-3H8v-2h3v-3Z'/%3E%3C/svg%3E");
}

.icon--check {
  --mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m10 16.6-4.3-4.3 1.4-1.4 2.9 2.9 6.9-6.9 1.4 1.4L10 16.6Z'/%3E%3Cpath d='M12 3a9 9 0 1 0 9 9h-2a7 7 0 1 1-7-7V3Z'/%3E%3C/svg%3E");
}

.memory {
  padding: 0 0 136px;
}

.memory__inner {
  padding: 108px 80px 88px;
  border-radius: 64px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-strong);
}

.section-heading--dark {
  margin-bottom: 72px;
}

.section-heading--dark h2 {
  max-width: 940px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(2.5rem, 4.1vw, 4rem);
  line-height: 0.98;
}

.section-heading--dark p {
  color: rgba(255, 255, 255, 0.76);
}

.memory__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.memory-card {
  min-height: 246px;
  padding: 40px 48px;
  border-radius: 36px;
}

.memory-card--muted {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.memory-card--active {
  border: 1px solid rgba(159, 115, 255, 0.34);
  background: linear-gradient(145deg, #342d64, #3b2875);
}

.label {
  margin: 0 0 28px;
  color: #a69fb9;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.memory-card--active .label {
  color: #a879ff;
}

.memory-list {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.memory-list li {
  position: relative;
  padding-left: 36px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 16px;
  line-height: 1.35;
}

.memory-list li::before {
  position: absolute;
  top: 0.05em;
  left: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.memory-list--bad li::before {
  color: #ff3b4e;
  content: "x";
}

.memory-list--good li::before {
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 12px;
  content: "✓";
}

.memory__foot {
  margin: 66px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  text-align: center;
}

.moments {
  padding: 118px 0 136px;
  background: var(--bg);
}

.moment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 66px 32px;
}

.moment-card {
  min-height: 336px;
  padding: 48px 50px 44px;
  border-radius: 42px;
  background: #f1f3fc;
}

.moment-card > .icon {
  width: 40px;
  height: 40px;
}

.moment-card h3 {
  margin-top: 38px;
  font-size: 31px;
}

.moment-card p {
  max-width: 470px;
  font-size: 17px;
}

.metric {
  display: inline-grid;
  place-items: center;
  min-width: 126px;
  min-height: 76px;
  margin: 28px 0 0 170px;
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--purple-soft);
  color: #8a53f4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
}

.metric--text {
  min-width: 136px;
}

.mini-chart,
.mini-nodes,
.mini-clock,
.mini-heart {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  background: var(--purple);
}

.mini-chart {
  mask: var(--mask) center / contain no-repeat;
  --mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 18h16v2H4v-2Zm2-2 4-5 3 3 5-8 2 1-6.5 10-3.2-3.2L7.6 17 6 16Z'/%3E%3C/svg%3E");
}

.mini-nodes {
  mask: var(--mask) center / contain no-repeat;
  --mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 4a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm10 10a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0-10a3 3 0 1 1 0 6 3 3 0 0 1 0-6ZM9.8 8.2l4.4 2.6-1 1.7-4.4-2.6 1-1.7Zm4.4 3.3 1 1.7-4.4 2.6-1-1.7 4.4-2.6Z'/%3E%3C/svg%3E");
}

.mini-clock {
  border: 3px solid var(--purple);
  border-radius: 50%;
  background: transparent;
  position: relative;
}

.mini-clock::before,
.mini-clock::after {
  position: absolute;
  left: 50%;
  top: 50%;
  content: "";
  width: 3px;
  background: var(--purple);
  transform-origin: top center;
}

.mini-clock::before {
  height: 8px;
  transform: rotate(0deg) translate(-50%, -100%);
}

.mini-clock::after {
  height: 10px;
  transform: rotate(135deg) translate(-50%, -100%);
}

.mini-heart {
  mask: var(--mask) center / contain no-repeat;
  --mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21 4.6 13.8a5 5 0 0 1 7-7.1l.4.4.4-.4a5 5 0 0 1 7 7.1L12 21Z'/%3E%3C/svg%3E");
}

.workflow {
  padding: 128px 0 112px;
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 54px;
  margin-top: 96px;
}

.steps article span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 21px;
  font-weight: 900;
}

.steps h3 {
  margin-top: 52px;
  font-size: 26px;
}

.steps p {
  max-width: 220px;
  font-size: 16px;
}

.workflow__banner {
  display: grid;
  place-items: center;
  min-height: 88px;
  margin: 74px 0 0;
  border-radius: 18px;
  background: #eef0ff;
  color: var(--purple);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
}

.experience {
  padding: 130px 0 138px;
  background: var(--band);
}

.experience .section-heading h2 {
  max-width: 1100px;
  margin: 0 auto;
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px;
}

.experience-grid article {
  min-height: 320px;
}

.experience-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 54px;
}

.experience-icon .icon {
  background: var(--purple);
}

.experience-grid h3 {
  margin: 0 0 16px;
  font-size: 22px;
}

.experience-grid p {
  max-width: 318px;
}

.vision {
  background: var(--purple);
  color: #fff;
}

.vision__inner {
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: 118px 0 112px;
  text-align: center;
}

.vision h2 {
  max-width: 860px;
  color: #fff;
  font-size: clamp(3rem, 5vw, 5.1rem);
  line-height: 1.05;
}

.vision p {
  max-width: 820px;
  margin: 52px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 23px;
  line-height: 1.55;
}

.vision span {
  margin-top: 52px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  letter-spacing: 0.18em;
}

.try {
  padding: 122px 0 128px;
  background:
    radial-gradient(circle at 50% 44%, rgba(124, 61, 240, 0.11), transparent 22rem),
    var(--bg);
  text-align: center;
}

.try h2 {
  font-size: clamp(3.1rem, 5vw, 5.2rem);
  line-height: 1.04;
}

.try p {
  margin: 38px 0 0;
  color: #424557;
  font-size: 20px;
}

.try__sub {
  margin-top: 24px !important;
  color: #8a8b9b !important;
  font-size: 17px !important;
}

.qr-card {
  display: grid;
  place-items: center;
  width: 256px;
  min-height: 310px;
  margin: 58px auto 0;
  padding: 26px 26px 30px;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 26px 66px rgba(31, 27, 55, 0.15);
}

.qr-card img {
  width: 176px;
  height: 176px;
  object-fit: contain;
}

.qr-card strong {
  margin-top: 22px;
  color: var(--purple);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.site-footer {
  background: #fff;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 90px 0 64px;
}

.footer-top p {
  margin: 28px 0 0;
  color: #303244;
  font-size: 16px;
}

address {
  display: grid;
  gap: 6px;
  margin: 0;
  color: #161927;
  font-style: normal;
  text-align: left;
}

address span {
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

address a {
  font-size: 20px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 42px 0 72px;
  border-top: 1px solid var(--line);
}

.footer-bottom nav {
  display: flex;
  gap: 34px;
}

.footer-bottom a,
.footer-bottom p {
  margin: 0;
  color: #303244;
  font-size: 13px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .section-wrap,
  .site-header {
    width: min(100% - 48px, 760px);
  }

  .brand--header {
    font-size: 22px;
  }

  .hero,
  .support {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero {
    padding-top: 150px;
  }

  .hero__image,
  .support__image {
    max-width: 560px;
  }

  .feature-grid--four,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .memory__inner {
    padding: 82px 40px;
  }

  .memory__cards,
  .moment-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .moment-card p,
  .experience-grid p,
  .steps p {
    max-width: none;
  }

  .metric {
    margin-left: 0;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .site-header {
    top: 22px;
  }

  .header-button {
    min-width: auto;
    min-height: 42px;
    padding: 0 18px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
    padding-bottom: 78px;
  }

  .hero h1 {
    font-size: clamp(4rem, 18vw, 5.8rem);
  }

  .hero__lead {
    font-size: 19px;
  }

  .hero__image img,
  .support__image img {
    min-height: 430px;
    border-radius: 30px;
  }

  .support,
  .intro,
  .moments,
  .workflow,
  .experience,
  .try {
    padding-top: 80px;
    padding-bottom: 88px;
  }

  .support h2,
  .section-heading h2,
  .experience .section-heading h2 {
    font-size: clamp(2.3rem, 11vw, 3.4rem);
  }

  .feature-grid--four,
  .steps {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .moment-card {
    min-height: auto;
    padding: 32px;
  }

  .memory {
    padding-bottom: 86px;
  }

  .memory__inner {
    border-radius: 38px;
    padding: 66px 24px;
  }

  .memory-card {
    padding: 32px 26px;
  }

  .steps {
    gap: 42px;
    margin-top: 62px;
  }

  .steps h3 {
    margin-top: 22px;
  }

  .vision__inner {
    min-height: auto;
    padding: 88px 0;
  }

  .vision h2,
  .try h2 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  .vision p,
  .try p {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
