:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #211b38;
  background: #f7f5fc;
  line-height: 1.7;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: #5a43bd; }

header,
footer,
main {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand {
  color: #211b38;
  font-weight: 800;
  text-decoration: none;
}

nav { display: flex; gap: 16px; }

main {
  background: #fff;
  border: 1px solid #e7e2f4;
  border-radius: 28px;
  padding: clamp(28px, 6vw, 56px);
  box-shadow: 0 18px 52px rgb(42 27 86 / 8%);
}

h1, h2 { line-height: 1.3; }
h1 { margin-top: 0; font-size: clamp(2rem, 7vw, 3.5rem); }
h2 { margin-top: 2.2rem; font-size: 1.25rem; }
.eyebrow { color: #6a54cb; font-weight: 800; letter-spacing: .08em; }
.muted { color: #6e687b; }
.button {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: 14px;
  background: #5d49c7;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 0 48px;
  color: #6e687b;
  font-size: .9rem;
}

.app-home header,
.app-home footer,
.app-home main { width: min(1120px, calc(100% - 40px)); }
.app-home main { padding: 0; overflow: hidden; }
.app-home a:focus-visible { outline: 3px solid #8f78ee; outline-offset: 5px; }
.launch-hero {
  padding: clamp(32px, 7vw, 72px);
  color: #fff;
  background: linear-gradient(120deg, #241a4b, #6046d7);
}
.launch-hero .eyebrow { margin-top: 0; color: #ddd4ff; }
.launch-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -.045em; }
.hero-question { margin-bottom: 8px; font-size: clamp(1.1rem, 2.4vw, 1.45rem); font-weight: 700; }
.hero-description { color: #ede8ff; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.hero-actions .button { margin-top: 0; background: #fff; color: #38246f; }
.text-link { color: #fff; font-weight: 700; text-underline-offset: 5px; }
.hero-availability { margin: 24px 0 4px; color: #ede8ff; font-size: .9rem; }
.hero-note { margin: 0; color: #ddd4ff; font-size: .9rem; }
.marketing-section { padding: clamp(28px, 5vw, 56px); }
.marketing-section + .marketing-section { border-top: 1px solid #e7e2f4; }
.marketing-section > .eyebrow,
.video-copy > .eyebrow { margin-top: 0; }
.marketing-section > h2,
.video-copy > h2 { margin-top: 12px; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.03em; }
.preview-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.preview-gallery figure { margin: 0; min-width: 0; }
.preview-gallery a { display: block; border-radius: 20px; overflow: hidden; border: 1px solid #e7e2f4; background: #f7f5fc; }
.preview-gallery img { display: block; width: 100%; height: auto; }
.preview-gallery figcaption { display: grid; gap: 6px; padding: 18px 2px 0; }
.preview-gallery figcaption strong { line-height: 1.5; }
.preview-gallery figcaption > span:last-child { color: #6e687b; font-size: .9rem; }
.step-number { color: #6a54cb; font-size: .8rem; font-weight: 800; letter-spacing: .08em; }
.media-note { margin: 24px 0 0; color: #6e687b; font-size: .85rem; }
.video-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); align-items: center; gap: 28px 48px; background: #faf9ff; }
.video-section video { display: block; width: 100%; height: auto; border-radius: 20px; background: #211b38; box-shadow: 0 12px 30px rgb(42 27 86 / 10%); }
.video-transcript { grid-column: 1 / -1; color: #6e687b; font-size: .9rem; }
.video-transcript summary { cursor: pointer; color: #5a43bd; font-weight: 700; }
.feature-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 28px 0; }
.feature-panel { padding: 24px; border: 1px solid #e7e2f4; border-radius: 20px; background: #faf9ff; }
.feature-panel h2 { margin-top: 10px; font-size: 1.2rem; }
.feature-panel p:last-child { margin-bottom: 0; }
.feature-label { margin: 0; color: #6a54cb; font-size: .8rem; font-weight: 800; }
.paid-panel { background: #f0ecff; }
.closing-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.closing-actions .button:last-child { color: #5a43bd; background: #f0ecff; }

@media (max-width: 760px) {
  .preview-gallery { gap: 12px; }
  .preview-gallery a { border-radius: 12px; }
  .preview-gallery figcaption { font-size: .9rem; }
  .video-section { gap: 24px; grid-template-columns: minmax(0, 1fr) minmax(180px, 240px); }
  .feature-panels { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  header { align-items: flex-start; gap: 12px; }
  nav { flex-direction: column; gap: 4px; text-align: right; }
  main { border-radius: 22px; padding: 28px 22px; }
  .app-home header,
  .app-home footer,
  .app-home main { width: calc(100% - 28px); }
  .launch-hero { padding: 32px 24px; }
  .launch-hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-description br { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .marketing-section { padding: 32px 22px; }
  .preview-gallery { grid-template-columns: 1fr; gap: 28px; }
  .preview-gallery figure { width: min(100%, 320px); margin-inline: auto; }
  .preview-gallery a { border-radius: 18px; }
  .preview-gallery figcaption { font-size: 1rem; }
  .video-section { grid-template-columns: 1fr; }
  .video-section video { width: min(100%, 300px); margin-inline: auto; }
  .feature-panel { padding: 20px; }
  .closing-actions { flex-direction: column; align-items: flex-start; gap: 0; }
}
