:root {
  --night: #020a25;
  --night-2: #061b54;
  --paper: #f7f8ff;
  --paper-2: #eef0ff;
  --ink: #070d2c;
  --text: #ffffff;
  --muted-dark: #4b5273;
  --muted-light: #d9ddf3;
  --blue: #50d2ff;
  --violet: #7967ff;
  --button: #5e55f2;
  --max: 1680px;
  --font: "Nunito Sans", "Avenir Next Rounded", "SF Pro Rounded", "Segoe UI Rounded", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  width: min(calc(100% - 96px), var(--max));
  min-height: 88px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--text);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
  font-size: 1.58rem;
  font-weight: 900;
  letter-spacing: 0;
}

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

.brand-lockup-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
  line-height: 1;
}

.brand-name {
  line-height: 0.95;
}

.brand-product {
  color: var(--muted-dark);
  font-size: 0.52em;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 38px;
  align-items: center;
  font-weight: 700;
}

.nav a,
.site-footer a {
  text-decoration: none;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.app-store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  text-decoration: none;
}

.app-store-badge {
  width: 190px;
  height: auto;
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 118px max(48px, calc((100vw - var(--max)) / 2)) 130px;
  display: grid;
  grid-template-columns: minmax(430px, 0.78fr) minmax(560px, 1.22fr);
  align-items: center;
  gap: 58px;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 18%, rgba(48, 105, 216, 0.34), transparent 26%),
    radial-gradient(circle at 28% 44%, rgba(52, 130, 232, 0.22), transparent 22%),
    linear-gradient(135deg, var(--night) 0%, #041642 52%, #020a25 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle at 26% 19%, rgba(255, 255, 255, 0.7) 0 1.5px, transparent 2px),
    radial-gradient(circle at 42% 25%, rgba(255, 255, 255, 0.62) 0 1.5px, transparent 2px),
    radial-gradient(circle at 88% 25%, rgba(255, 255, 255, 0.62) 0 1.5px, transparent 2px),
    radial-gradient(circle at 40% 47%, rgba(94, 210, 255, 0.42) 0 1.5px, transparent 2px),
    radial-gradient(circle at 89% 50%, rgba(255, 255, 255, 0.55) 0 1.5px, transparent 2px);
}

.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -82px;
  height: 180px;
  background: var(--paper);
  border-radius: 50% 50% 0 0 / 52% 52% 0 0;
  z-index: 0;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.45rem, 4.3vw, 4.7rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  max-width: 48ch;
  margin-top: 28px;
  color: var(--muted-light);
  font-size: 1.12rem;
  line-height: 1.62;
}

.hero-copy small {
  display: block;
  margin-top: 32px;
  color: var(--muted-light);
  font-size: 0.98rem;
}

.hero-copy .app-store-link {
  margin-top: 42px;
}

.hero-copy .app-store-badge {
  width: 218px;
}

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

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 4px;
  top: 26px;
  width: 420px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 135, 255, 0.18), transparent 68%);
}

.main-phone {
  position: absolute;
  z-index: 2;
  width: 330px;
  aspect-ratio: 472 / 966;
  object-fit: contain;
  left: 112px;
  top: 8px;
  transform: rotate(3deg);
  filter: brightness(1.08) contrast(1.08);
}

.baby {
  position: absolute;
  z-index: 3;
  width: 245px;
  aspect-ratio: 1;
  object-fit: contain;
  right: 118px;
  bottom: 78px;
}

.features {
  position: relative;
  z-index: 1;
  padding: 10px max(48px, calc((100vw - var(--max)) / 2)) 64px;
  background: var(--paper);
}

.features h2,
.plus h2,
.how h2,
.faq h2,
.download h2 {
  font-size: clamp(1.9rem, 2.7vw, 2.7rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0;
}

.features h2 {
  text-align: center;
}

.feature-row {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  text-align: center;
}

.feature-row article {
  display: grid;
  justify-items: center;
}

.feature-row span {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edeaff;
}

.feature-row img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.feature-row h3 {
  margin-top: 16px;
  font-size: 1.12rem;
  font-weight: 900;
}

.feature-row p {
  margin-top: 8px;
  color: #232a52;
  line-height: 1.45;
}

.plus {
  min-height: 500px;
  padding: 34px max(48px, calc((100vw - var(--max)) / 2)) 48px;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  background: var(--paper);
  border-top: 1px solid #e2e5f4;
  overflow: hidden;
}

.plus > img {
  width: 300px;
  aspect-ratio: 602 / 966;
  object-fit: contain;
  justify-self: center;
  margin-bottom: -210px;
}

.eyebrow {
  margin-bottom: 16px;
  color: #4b45ff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plus p:not(.eyebrow),
.how p,
.faq p,
.download p {
  max-width: 48ch;
  margin-top: 16px;
  color: var(--muted-dark);
  font-size: 1.06rem;
  line-height: 1.62;
}

.plus ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.plus li {
  position: relative;
  padding-left: 36px;
  color: #1f2752;
  font-weight: 700;
}

.plus li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--button);
  color: #fff;
  font-weight: 900;
}

.how {
  padding: 72px max(48px, calc((100vw - var(--max)) / 2));
  background: #fff;
}

.how {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

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

.how-list article {
  border-top: 2px solid #dce1f4;
  padding-top: 18px;
}

.how-list h3,
.faq h3 {
  font-size: 1.15rem;
  font-weight: 900;
}

.screen-row {
  grid-column: 1 / -1;
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: end;
}

.screen-row img {
  width: min(100%, 270px);
  height: auto;
  object-fit: contain;
  justify-self: center;
}

.faq {
  padding: 72px max(48px, calc((100vw - var(--max)) / 2));
  background: var(--paper);
}

.faq-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 76px;
}

.faq-list article {
  border-top: 1px solid #dfe3f4;
  padding-top: 18px;
}

.download {
  width: min(calc(100% - 96px), var(--max));
  margin: 0 auto 34px;
  padding: 38px 74px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  border-radius: 28px;
  background: #ececff;
}

.download > img {
  border-radius: 22px;
}

.download p {
  margin-top: 8px;
}

.site-footer {
  width: min(calc(100% - 96px), var(--max));
  margin: 0 auto;
  padding: 24px 0 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.site-footer .brand {
  color: var(--ink);
  font-size: 1.18rem;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  color: var(--muted-dark);
  font-weight: 800;
}

.legal-page {
  color: var(--ink);
  background: var(--paper);
}

.legal-page .topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e1e5f3;
  background: rgba(247, 248, 255, 0.9);
  backdrop-filter: blur(18px);
}

.shell,
.legal-shell {
  width: min(calc(100% - 48px), 960px);
  margin: 0 auto;
}

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

.legal-page .brand {
  color: var(--ink);
  font-size: 1.25rem;
}

.legal-page .brand img {
  width: 42px;
  height: 42px;
}

.legal-links,
.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted-dark);
  font-weight: 800;
}

.legal-links a,
.legal-card a,
.legal-panel a,
.legal-footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-main {
  padding: 44px 0 76px;
}

.legal-panel,
.legal-card {
  padding: 28px 0;
  border-bottom: 1px solid #dfe3f4;
}

.legal-hero {
  padding-top: 10px;
}

.legal-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.legal-lead {
  max-width: 66ch;
  margin-top: 18px;
  color: var(--muted-dark);
  font-size: 1.12rem;
  line-height: 1.7;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.legal-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #ececff;
  color: #303760;
  font-size: 0.92rem;
  font-weight: 800;
}

.legal-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 4px solid var(--button);
  background: #ececff;
  color: #2b335c;
  line-height: 1.6;
}

.legal-card h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 900;
}

.legal-card h3 {
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 900;
}

.legal-card p,
.legal-card li {
  color: var(--muted-dark);
  font-size: 1.02rem;
  line-height: 1.7;
}

.legal-card ul,
.legal-card ol {
  margin: 10px 0 0;
  padding-left: 1.3rem;
}

.legal-card p + p,
.legal-card ul + p,
.legal-card ol + p {
  margin-top: 12px;
}

.legal-card li + li {
  margin-top: 0.5rem;
}

.legal-card strong {
  color: var(--ink);
}

.legal-footer {
  border-top: 1px solid #dfe3f4;
  background: #fff;
}

.legal-footer-inner {
  padding: 28px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.legal-company-card {
  max-width: 650px;
  color: var(--muted-dark);
  line-height: 1.55;
}

.legal-company-card p + p {
  margin-top: 10px;
}

.cookie-banner {
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 18px;
  width: min(calc(100% - 28px), 980px);
  padding: 14px;
  transform: translateX(-50%);
  border-radius: 30px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 22px 64px rgba(5, 8, 25, 0.24), 0 6px 18px rgba(5, 8, 25, 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner-copy {
  min-width: 0;
  padding-left: 8px;
  display: grid;
  gap: 2px;
  color: var(--muted-dark);
  font-size: 0.91rem;
  line-height: 1.45;
}

.cookie-banner-copy strong {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 900;
}

.cookie-banner-copy a {
  margin-left: 0.18em;
  color: var(--button);
  font-weight: 850;
  text-underline-offset: 0.16em;
}

.cookie-banner-dismiss {
  min-width: 94px;
  min-height: 46px;
  padding: 0 22px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--button));
  box-shadow: 0 12px 28px rgba(94, 85, 242, 0.25);
  font-weight: 900;
  cursor: pointer;
}

.cookie-banner-dismiss:hover {
  filter: brightness(1.06);
}

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 16px;
    border-radius: 26px;
  }

  .cookie-banner-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }

  .cookie-banner-copy {
    padding-left: 0;
  }

  .cookie-banner-dismiss {
    width: 100%;
  }
}

a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

@media (max-width: 1040px) {
  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 118px;
    min-height: auto;
  }

  .hero h1 {
    max-width: 12ch;
  }

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

  .main-phone {
    left: 50%;
    transform: translateX(-50%) rotate(3deg);
  }

  .baby {
    right: 10%;
  }

  .plus,
  .how {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .plus > img {
    order: 2;
    margin-bottom: -260px;
  }

  .how-list,
  .screen-row {
    grid-template-columns: 1fr;
  }

  .screen-row img {
    width: min(100%, 360px);
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(calc(100% - 24px), var(--max));
    min-height: 74px;
  }

  .brand {
    font-size: 1.28rem;
  }

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

  .header-store {
    display: none;
  }

  .hero {
    padding: 104px 16px 112px;
    gap: 14px;
  }

  .hero h1 {
    max-width: 8.7ch;
    font-size: clamp(2.78rem, 13vw, 3.85rem);
  }

  .hero-copy p {
    max-width: calc(100vw - 32px);
    font-size: 1.06rem;
  }

  .app-store-badge {
    width: min(100%, 218px);
  }

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

  .main-phone {
    width: 285px;
    top: 12px;
    left: 50%;
    filter: brightness(1.05) contrast(1.06);
  }

  .baby {
    width: 178px;
    top: 360px;
    right: 4%;
    bottom: auto;
  }

  .features {
    padding: 34px 16px 54px;
  }

  .feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
  }

  .feature-row span {
    width: 82px;
    height: 82px;
  }

  .plus,
  .how,
  .faq {
    padding-left: 16px;
    padding-right: 16px;
  }

  .plus {
    min-height: 620px;
  }

  .plus > img {
    width: 270px;
    margin-bottom: -225px;
  }

  .faq-list,
  .download {
    grid-template-columns: 1fr;
  }

  .download {
    width: min(calc(100% - 24px), var(--max));
    padding: 28px 24px;
  }

  .download > img {
    width: 64px;
    height: 64px;
  }

  .site-footer {
    width: min(calc(100% - 24px), var(--max));
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .shell,
  .legal-shell {
    width: min(calc(100% - 24px), 960px);
  }

  .topbar-inner,
  .legal-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
