@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --purple: #6c4cf1;
  --purple-dark: #4b2fd1;
  --purple-soft: #f3efff;
  --text: #12121a;
  --muted: #60606d;
  --line: #e9e9ef;
  --card: #ffffff;
  --shadow: 0 18px 50px rgba(30, 22, 70, 0.10);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 10%, rgba(124, 92, 255, .08), transparent 26%),
    linear-gradient(#fff, #fff);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(230, 230, 237, .85);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.04em;
}

.brand img {
  border-radius: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: .93rem;
  font-weight: 500;
}

.main-nav a {
  transition: color .2s ease, transform .2s ease;
}

.main-nav a:hover {
  color: var(--purple);
}

.nav-download {
  padding: 11px 18px;
  color: white !important;
  background: linear-gradient(135deg, #7b5cff, #5938df);
  border-radius: 11px;
  box-shadow: 0 10px 25px rgba(108, 76, 241, .23);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  border-radius: 10px;
  background: var(--purple-soft);
}

.menu-button span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

/* Hero */
.hero {
  padding: 54px 0 38px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  min-height: 590px;
  gap: 40px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--purple);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.hero h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.065em;
}

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

.hero-text {
  max-width: 560px;
  margin: 28px 0 26px;
  color: #353541;
  font-size: 1.06rem;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 192px;
  padding: 10px 17px 9px;
  color: #fff;
  background: #050505;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.14);
}

.app-store-badge .apple {
  font-size: 2rem;
  line-height: 1;
}

.app-store-badge span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.app-store-badge small {
  font-size: .68rem;
}

.app-store-badge strong {
  font-size: 1.25rem;
  font-weight: 500;
}

.purchase-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: .92rem;
}

.purchase-note span {
  color: var(--purple);
}

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

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(.2px);
}

.blob-one {
  width: 390px;
  height: 390px;
  right: 55px;
  top: 80px;
  background: linear-gradient(145deg, #dce8ff, #efe5ff);
}

.blob-two {
  width: 250px;
  height: 190px;
  left: 45px;
  top: 210px;
  background: linear-gradient(145deg, #bfa8ff, #efe8ff);
  border-radius: 48% 52% 54% 46%;
}

.phone {
  position: absolute;
  width: 255px;
  height: 500px;
  padding: 10px;
  background: #101014;
  border: 2px solid #33333a;
  border-radius: 42px;
  box-shadow: 0 28px 60px rgba(35, 24, 70, .22);
}

.phone::before {
  content: "";
  position: absolute;
  z-index: 4;
  width: 95px;
  height: 23px;
  left: 50%;
  top: 9px;
  transform: translateX(-50%);
  background: #101014;
  border-radius: 0 0 15px 15px;
}

.phone-left {
  left: 85px;
  top: 15px;
  transform: rotate(-1deg);
}

.phone-right {
  right: 30px;
  top: 70px;
  transform: rotate(1deg);
}

.phone-screen {
  height: 100%;
  padding: 22px 14px 16px;
  background: #fff;
  border-radius: 33px;
  overflow: hidden;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  font-size: .52rem;
  font-weight: 700;
}

.screen-title {
  margin: 18px 0 13px;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.05;
}

.character-pair {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 8px;
  height: 190px;
  padding: 18px 15px 0;
  background: linear-gradient(#f7f3ff, #eceaf3);
  border-radius: 16px;
}

.avatar {
  position: relative;
  width: 78px;
  height: 160px;
}

.avatar .face {
  position: absolute;
  z-index: 2;
  width: 54px;
  height: 63px;
  left: 12px;
  top: 22px;
  background: #f3bb8e;
  border: 3px solid #222;
  border-radius: 45% 45% 48% 48%;
}

.avatar .face::before,
.avatar .face::after {
  content: "";
  position: absolute;
  top: 26px;
  width: 5px;
  height: 7px;
  background: #1d1d1d;
  border-radius: 50%;
}

.avatar .face::before { left: 13px; }
.avatar .face::after { right: 13px; }

.avatar .hair {
  position: absolute;
  z-index: 3;
  width: 61px;
  height: 42px;
  left: 8px;
  top: 9px;
  background: #3b2115;
  border-radius: 50% 50% 35% 35%;
}

.avatar.woman .hair {
  width: 70px;
  height: 92px;
  left: 4px;
  top: 8px;
  border-radius: 50% 50% 45% 45%;
}

.avatar .body {
  position: absolute;
  z-index: 1;
  width: 72px;
  height: 85px;
  left: 3px;
  bottom: 0;
  background: #335d78;
  border-radius: 24px 24px 6px 6px;
}

.avatar.woman .body {
  background: #9b4a53;
}

.category-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 11px 0;
  font-size: .55rem;
  text-align: center;
}

.category-row span {
  padding: 6px 2px;
  color: #6d6d75;
  background: #f4f4f7;
  border-radius: 8px;
}

.category-row .active {
  color: var(--purple);
  background: #ede8ff;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.swatches i {
  display: block;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 52%, #f3bb8e 0 25%, transparent 26%),
    radial-gradient(circle at 50% 37%, #4a291a 0 38%, transparent 39%),
    #efedf2;
  border-radius: 12px;
}

.family-card {
  display: grid;
  place-items: center;
  height: 315px;
  padding: 8px;
  background:
    linear-gradient(45deg, #f4f4f6 25%, transparent 25%),
    linear-gradient(-45deg, #f4f4f6 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f4f4f6 75%),
    linear-gradient(-45deg, transparent 75%, #f4f4f6 75%);
  background-size: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0;
  border-radius: 16px;
}

.family-card img {
  max-height: 100%;
}

.phone-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
  font-size: .7rem;
  text-align: center;
}

.phone-actions span {
  padding: 10px 4px;
  border: 1px solid #8e74ff;
  border-radius: 8px;
}

.phone-actions span:first-child {
  color: #fff;
  background: var(--purple);
}

.spark, .heart {
  position: absolute;
  z-index: 5;
  font-size: 2rem;
}

.spark-one { top: 75px; right: 12px; color: #77a8ff; }
.spark-two { top: 175px; right: -2px; color: #ffb31d; font-size: 2.8rem; }
.heart { top: 105px; left: 38px; color: #8065ff; }

/* Features */
.feature-section {
  padding: 18px 0 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  padding: 28px 14px;
  background: linear-gradient(135deg, #fbfbff, #f7f6fb);
  border: 1px solid #f0eff5;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 0 20px;
  text-align: center;
}

.feature-card:not(:last-child) {
  border-right: 1px solid #ebeaf1;
}

.feature-icon {
  font-size: 2rem;
}

.feature-card h2 {
  min-height: 46px;
  margin: 10px 0 8px;
  font-size: .92rem;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.65;
}

/* Gallery */
.gallery-section {
  padding: 55px 0 30px;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.045em;
}

.section-heading > p:last-child {
  margin-top: 8px;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.gallery-grid figure {
  display: grid;
  place-items: end center;
  min-height: 260px;
  margin: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid #ececf2;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(42, 34, 78, .08);
  overflow: hidden;
}

.gallery-grid img {
  max-height: 240px;
}

/* Download */
.download-section {
  padding: 24px 0 28px;
}

.download-card {
  position: relative;
  display: grid;
  grid-template-columns: .85fr 1.45fr .4fr;
  align-items: center;
  gap: 38px;
  min-height: 260px;
  padding: 35px 70px;
  background: linear-gradient(120deg, #eee9ff, #faf8ff 55%, #e6dfff);
  border-radius: var(--radius);
  overflow: hidden;
}

.download-phone {
  height: 250px;
  padding: 55px 18px;
  background: linear-gradient(#f8f8fb, #d7d7dc);
  border: 9px solid #16161a;
  border-bottom: 0;
  border-radius: 38px 38px 0 0;
  transform: translateY(42px);
}

.mini-app-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 7px 20px rgba(0,0,0,.08);
}

.mini-app-card img {
  width: 44px;
}

.mini-app-card div {
  display: flex;
  flex-direction: column;
}

.mini-app-card small {
  color: var(--muted);
  font-size: .65rem;
}

.mini-app-card span {
  padding: 4px 10px;
  color: var(--purple);
  background: #eeebff;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
}

.download-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.download-copy p {
  max-width: 540px;
  margin: 14px 0 22px;
  color: #373744;
}

.download-arrow {
  color: var(--purple);
  font-size: 4.8rem;
  transform: rotate(12deg);
}

/* Info cards */
.info-section {
  padding: 10px 0 35px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: linear-gradient(135deg, #fbfbff, #f7f6fb);
  border: 1px solid #f0eff5;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-grid article {
  padding: 34px;
}

.info-grid article:not(:last-child) {
  border-right: 1px solid #e6e5ec;
}

.info-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-title span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: white;
  background: var(--purple);
  border-radius: 50%;
  font-weight: 800;
}

.info-title h2 {
  margin: 0;
  font-size: 1.1rem;
}

.info-grid h3 {
  margin: 18px 0 2px;
  font-size: .86rem;
}

.info-grid p {
  margin: 7px 0;
  color: var(--muted);
  font-size: .85rem;
}

.info-grid a {
  display: inline-block;
  margin-top: 10px;
  color: var(--purple);
  font-size: .86rem;
  font-weight: 700;
}

/* Interior pages */
.page-hero {
  padding: 90px 0 45px;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  letter-spacing: -.06em;
}

.page-hero p {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.content-card {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 44px;
  background: #fff;
  border: 1px solid #ececf2;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.content-card h2 {
  margin-top: 32px;
  letter-spacing: -.03em;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p,
.content-card li {
  color: #4b4b57;
}

.content-card a {
  color: var(--purple);
  font-weight: 700;
}

.faq-list details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 750;
}

.faq-list p {
  margin-bottom: 0;
}

.support-box {
  padding: 28px;
  background: var(--purple-soft);
  border-radius: 18px;
}

.support-box a {
  font-size: 1.1rem;
}

/* Footer */
footer {
  border-top: 1px solid #ececf1;
}

.footer-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: .84rem;
}

.footer-wrap div {
  display: flex;
  gap: 20px;
}

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .hero-visual {
    width: min(720px, 100%);
    margin: 0 auto;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 28px;
  }

  .feature-card:nth-child(3) {
    border-right: 0;
  }

  .feature-card:nth-child(4),
  .feature-card:nth-child(5),
  .feature-card:nth-child(6) {
    padding-top: 24px;
    border-top: 1px solid #ebeaf1;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .download-card {
    grid-template-columns: .8fr 1.2fr;
  }

  .download-arrow {
    display: none;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 14px;
  }

  .nav-download {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    padding-top: 40px;
  }

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

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-visual {
    min-height: 430px;
  }

  .phone {
    width: 190px;
    height: 380px;
    border-radius: 32px;
  }

  .phone-left {
    left: 3%;
    top: 15px;
  }

  .phone-right {
    right: 3%;
    top: 55px;
  }

  .phone-screen {
    padding: 20px 10px 12px;
    border-radius: 24px;
  }

  .screen-title {
    margin: 10px 0 8px;
    font-size: .82rem;
  }

  .character-pair {
    height: 137px;
  }

  .avatar {
    transform: scale(.7);
    transform-origin: bottom center;
    margin: 0 -10px;
  }

  .family-card {
    height: 235px;
  }

  .category-row,
  .swatches {
    display: none;
  }

  .phone-actions {
    font-size: .55rem;
  }

  .blob-one {
    width: 290px;
    height: 290px;
    right: 10%;
  }

  .blob-two {
    left: 2%;
  }

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

  .feature-card,
  .feature-card:nth-child(3) {
    border-right: 0;
  }

  .feature-card:nth-child(odd) {
    border-right: 1px solid #ebeaf1;
  }

  .feature-card:nth-child(n+3) {
    padding-top: 24px;
    border-top: 1px solid #ebeaf1;
  }

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

  .download-card {
    grid-template-columns: 1fr;
    padding: 38px 28px;
    text-align: center;
  }

  .download-phone {
    display: none;
  }

  .download-copy {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

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

  .info-grid article:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid #e6e5ec;
  }

  .content-card {
    padding: 28px 22px;
  }

  .footer-wrap {
    padding: 22px 0;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 1.2rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero-visual {
    min-height: 365px;
  }

  .phone {
    width: 155px;
    height: 315px;
    padding: 7px;
    border-radius: 27px;
  }

  .phone::before {
    width: 65px;
    height: 16px;
    top: 7px;
  }

  .phone-screen {
    padding-top: 16px;
    border-radius: 20px;
  }

  .status-bar {
    font-size: .42rem;
  }

  .screen-title {
    font-size: .7rem;
  }

  .character-pair {
    height: 110px;
  }

  .family-card {
    height: 190px;
  }

  .phone-actions span {
    padding: 7px 2px;
  }

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

  .feature-card,
  .feature-card:nth-child(odd) {
    padding: 22px 18px !important;
    border-right: 0;
    border-top: 1px solid #ebeaf1;
  }

  .feature-card:first-child {
    border-top: 0;
  }

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

  .gallery-grid figure {
    min-height: 300px;
  }

  .gallery-grid img {
    max-height: 280px;
  }
}
