@charset "utf-8";

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  line-height: 1.7;
  font-family: Arial, Helvetica, sans-serif;
  color: #343044;
  background: #fff;
}

h1,
h2,
h3,
h4 {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
}

h1,
h2,
h3,
h4,
p {
  margin-bottom: 15px;
}

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

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

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(77, 47, 150, .08);
}

.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 46px;
  height: 44px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 7px 18px rgba(105, 53, 213, .14);
}

.brand-name {
  font: 700 25px/1 'Roboto', Arial, sans-serif;
  color: #4f2ad0;
  letter-spacing: -.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  color: #655d78;
}

.nav a:hover {
  color: #6832dc;
}

.hero {
  min-height: 680px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url('hero-family.jpg');
  background-size: cover;
  background-position: center center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(45, 22, 84, .84) 0%, rgba(63, 33, 118, .58) 42%, rgba(244, 190, 216, .08) 78%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 76px;
}

.hero-copy {
  max-width: 610px;
  color: #fff;
}

.eyebrow,
.section-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2.2px;
  font-weight: 700;
}

.eyebrow {
  color: #ffd34f;
  margin-bottom: 17px;
}

.hero h1 {
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.03;
  letter-spacing: -2px;
  margin-bottom: 22px;
}

.hero h1 span {
  color: #ff9ac2;
}

.hero p {
  max-width: 490px;
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .94);
  margin-bottom: 30px;
}

.hero-button {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  background: #fff;
  color: #5a2bd0;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .14);
}

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

.intro {
  padding: 92px 0 86px;
  background: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.section-label {
  color: #7a51df;
  margin-bottom: 15px;
}

.intro h2,
.section-heading h2,
.showcase-copy h2,
.closing-card h2 {
  color: #4b27c9;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -.8px;
  margin-bottom: 0;
}

.intro-text {
  color: #665f72;
  font-size: 17px;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.features {
  padding: 88px 0 98px;
  background: linear-gradient(180deg, #fbf7ff 0%, #fff6fa 100%);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

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

.feature-card {
  background: #fff;
  border: 1px solid #eee7fa;
  border-radius: 24px;
  padding: 34px 30px 32px;
  min-height: 250px;
  box-shadow: 0 12px 35px rgba(83, 46, 151, .06);
}

.feature-card.featured {
  background: linear-gradient(145deg, #f2eaff, #fff1f7);
  border-color: #ead8fb;
}

.feature-number {
  color: #b15be8;
  font: 700 13px/1 'Roboto', Arial, sans-serif;
  letter-spacing: 1.5px;
  margin-bottom: 36px;
}

.feature-card h3 {
  color: #4d2bc6;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 13px;
}

.feature-card p {
  color: #716a7e;
  margin-bottom: 0;
}

.app-showcase {
  padding: 100px 0 105px;
  background: #fff;
}

.showcase-copy {
  max-width: 650px;
  margin-bottom: 45px;
}

.showcase-copy p {
  color: #70697c;
  font-size: 17px;
  margin-top: 18px;
  max-width: 610px;
}

.screens-wrap {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(60, 34, 111, .14);
  border: 1px solid #f0eaf7;
  background: #faf8fc;
}

.screens-wrap img {
  width: 100%;
  height: auto;
}

.closing {
  padding: 20px 0 90px;
  background: #fff;
}

.closing-card {
  border-radius: 30px;
  padding: 70px 80px;
  background: linear-gradient(120deg, #f0e6ff, #fff0f6);
  text-align: center;
}

.closing-card h2 {
  max-width: 720px;
  margin: 0 auto 18px;
}

.closing-card p {
  max-width: 650px;
  margin: 0 auto;
  color: #6d6678;
  font-size: 17px;
}

.footer {
  padding: 35px 0 28px;
  background: #30234c;
  text-align: center;
  color: rgba(255, 255, 255, .55);
  font-size: 14px;
}

.footer p {
  margin-bottom: 7px;
}

.footer a {
  color: rgba(255, 255, 255, .78);
}

.footer a:hover {
  color: #ff9ac2;
}

/* Legal pages */
.legal-header {
  background: #fff;
  border-bottom: 1px solid #eee7f5;
}

.legal-main {
  padding: 120px 0 70px;
}

.legal-main .page_width {
  max-width: 920px;
}

.legal-main h1 {
  color: #4b27c9;
  font-size: 42px;
  margin-bottom: 35px;
}

.legal-main h2 {
  color: #5a32c8;
  font-size: 21px;
  margin-top: 30px;
  margin-bottom: 12px;
}

.legal-main p {
  color: #55505f;
  margin-bottom: 17px;
}

.legal-main a {
  color: #6637d7;
}

@media screen and (max-width: 780px) {
  .page_width {
    width: min(100% - 30px, 1120px);
  }

  .topbar {
    height: 68px;
  }

  .nav {
    gap: 14px;
    font-size: 12px;
  }

  .nav a:nth-child(1),
  .nav a:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: 610px;
  }

  .hero-image {
    background-position: center center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(45, 22, 84, .86), rgba(63, 33, 118, .5));
  }

  .hero h1 {
    font-size: 48px;
    letter-spacing: -1.5px;
  }

  .hero p {
    font-size: 17px;
  }

  .intro,
  .features,
  .app-showcase {
    padding: 65px 0;
  }

  .intro-grid,
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-card {
    min-height: 0;
  }

  .closing-card {
    padding: 48px 25px;
  }

  .legal-main {
    padding: 90px 0 55px;
  }

  .legal-main h1 {
    font-size: 34px;
  }
}