:root {
  color-scheme: light;
  --ink: #1b1424;
  --muted: #5c5267;
  --wash: #f8f5ff;
  --accent: #6640bc;
  --line: #e4daef;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--wash);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
body { min-width: 280px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.frame {
  width: min(1200px, 100% - 112px);
  margin-inline: auto;
}

.header { border-bottom: 1px solid var(--line); }

.header-content, .footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-content { min-height: 72px; }

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

.brand-icon { border-radius: 9px; }
.brand-wordmark { filter: brightness(0); }

.header-download {
  padding: 10px 16px;
  border: 1px solid #c7b8e2;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 670;
  text-decoration: none;
}

.header-download:hover { background: #ede5fb; }

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(35px, 6vw, 92px);
  padding-block: 55px 64px;
}

.hero-label {
  font-size: 0.875rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
}

h1, h2, h3 { letter-spacing: -0.055em; }

h1 {
  max-width: 650px;
  font-size: clamp(3rem, 5.2vw, 5.2rem);
  font-weight: 760;
  line-height: 1.02;
  text-wrap: balance;
}

h1 em { display: inline-block; color: var(--accent); font-style: normal; }

.hero-description {
  max-width: 410px;
  margin-block: 23px 27px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.55;
}

.store-button {
  display: inline-grid;
  justify-items: start;
  min-width: 150px;
  padding: 12px 20px 13px;
  border-radius: 11px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  transition: background-color 140ms ease;
}

.store-button:hover { background: #472a80; }
.store-small { font-size: 0.8125rem; line-height: 1.15; }
.store-large { font-size: 1.44rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.04em; }

.hero-figure {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #e9dff5;
  border-radius: 23px;
}

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
}

.hero-figure figcaption {
  position: absolute;
  inset: auto 17px 17px auto;
  padding: 7px 11px;
  border-radius: 6px;
  color: white;
  background: #20182ce8;
  font-size: 0.8125rem;
  line-height: 1.2;
}

.examples {
  padding-block: 65px 78px;
  background: #fff;
  border-block: 1px solid var(--line);
}

h2 {
  font-size: clamp(2rem, 3.55vw, 3.4rem);
  line-height: 1.08;
  font-weight: 750;
  text-wrap: balance;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 31px;
}

.example-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--wash);
}

.example-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.14;
  object-fit: cover;
  background: #e9dff5;
}

.example-card figcaption { padding: 19px 19px 22px; }
.example-card h3 { font-size: 1.375rem; font-weight: 720; }
.example-card p { margin-top: 6px; color: var(--muted); font-size: 1rem; line-height: 1.48; }

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 67px;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-content { min-height: 75px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer a { text-underline-offset: 0.21em; }

@media (max-width: 900px) {
  .frame { width: calc(100% - 60px); }
  .hero { gap: 28px; }
  .example-grid { gap: 14px; }
  .example-card figcaption { padding: 14px; }
}

@media (max-width: 660px) {
  .frame { width: calc(100% - 44px); }
  .header-content { min-height: 63px; }
  .header-download { display: none; }
  .hero { grid-template-columns: 1fr; gap: 27px; padding-block: 37px 38px; }
  .hero-label { margin-bottom: 12px; }
  h1 { max-width: 490px; font-size: clamp(2.55rem, 9.25vw, 3.6rem); text-wrap: initial; }
  .hero-description { margin-block: 16px 20px; }
  .hero-figure { border-radius: 15px; }
  .hero-image { aspect-ratio: 1 / 1.05; }
  .examples { padding-block: 38px 42px; }
  .example-grid { grid-template-columns: 1fr; margin-top: 23px; }
  .example-card img { aspect-ratio: 1.37; }
  .closing { align-items: flex-start; flex-direction: column; padding-block: 40px; gap: 19px; }
  .footer-content { flex-wrap: wrap; gap: 9px 20px; padding-block: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .store-button { transition: none; }
}
