:root {
  --cream: #fff7e8;
  --ivory: #fffdf7;
  --parchment: #f7ead2;
  --plum: #1b0f33;
  --plum-soft: #3f245f;
  --ink: #201a2e;
  --muted: #665f73;
  --gold: #f5c84b;
  --lavender: #c986ff;
  --sky: #6ec7ff;
  --rose: #ff8eae;
  --shadow: 0 24px 70px rgba(27, 15, 51, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 8%, rgba(201, 134, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(110, 199, 255, 0.16), transparent 24rem),
    var(--cream);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

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

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px clamp(20px, 5vw, 48px);
}

.brand {
  align-items: center;
  color: var(--plum);
  display: inline-flex;
  font-size: 20px;
  font-weight: 900;
  gap: 10px;
}

.brand img {
  border-radius: 14px;
  height: 42px;
  width: 42px;
}

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

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(40px, 7vw, 88px);
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 56px clamp(20px, 5vw, 48px) 88px;
}

.hero-copy {
  max-width: 500px;
  min-width: 0;
}

.eyebrow {
  color: var(--plum-soft);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  color: var(--plum);
  font-size: clamp(54px, 7.6vw, 96px);
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 22px;
  overflow-wrap: normal;
}

h2 {
  color: var(--plum);
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  color: var(--plum);
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.hero-lede {
  color: var(--plum);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 16px;
}

.hero-support,
.storytime-copy p,
.feature-card p,
.labs-card p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.store-pill {
  background: var(--plum);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(27, 15, 51, 0.18);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  padding: 14px 18px;
}

.hero-art,
.storytime-art,
.cta-panel,
.feature-card {
  box-shadow: var(--shadow);
}

.hero-art {
  background: #090420;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 34px;
  justify-self: end;
  max-width: 650px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hero-art::after {
  background:
    linear-gradient(90deg, rgba(245, 200, 75, 0.72), rgba(201, 134, 255, 0.68)),
    rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  content: "";
  height: 5px;
  inset: auto 34px 24px;
  position: absolute;
}

.feature-band {
  background: linear-gradient(180deg, var(--ivory), var(--parchment));
  border-bottom: 1px solid rgba(63, 36, 95, 0.08);
  border-top: 1px solid rgba(63, 36, 95, 0.08);
  padding: 84px clamp(20px, 5vw, 48px);
}

.section-heading,
.feature-grid,
.storytime,
.cta-panel,
.more-labs {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.section-heading {
  margin-bottom: 32px;
  max-width: 760px;
  text-align: center;
}

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

.feature-card {
  background: rgba(255, 253, 247, 0.88);
  border: 1px solid rgba(63, 36, 95, 0.08);
  border-radius: 28px;
  padding: 28px;
}

.pixel-dot {
  border-radius: 10px;
  display: block;
  height: 34px;
  margin-bottom: 24px;
  width: 34px;
}

.gold {
  background: var(--gold);
}

.lavender {
  background: var(--lavender);
}

.blue {
  background: var(--sky);
}

.rose {
  background: var(--rose);
}

.storytime {
  align-items: center;
  display: grid;
  gap: clamp(28px, 6vw, 72px);
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1fr);
  padding: 90px clamp(20px, 5vw, 48px);
}

.storytime-art {
  background: var(--ivory);
  border: 1px solid rgba(63, 36, 95, 0.08);
  border-radius: 34px;
  overflow: hidden;
  padding: 12px;
}

.storytime-art img {
  border-radius: 24px;
}

.cta-panel {
  align-items: center;
  background:
    radial-gradient(circle at 84% 12%, rgba(245, 200, 75, 0.28), transparent 18rem),
    linear-gradient(135deg, #21103d, #3d1d63);
  border-radius: 36px;
  color: #ffffff;
  display: flex;
  gap: 24px;
  margin-bottom: 72px;
  padding: clamp(26px, 5vw, 48px);
}

.cta-panel img {
  border-radius: 24px;
  flex: 0 0 auto;
  height: 96px;
  width: 96px;
}

.cta-panel .eyebrow,
.cta-panel h2 {
  color: #ffffff;
}

.cta-panel h2 {
  margin-bottom: 0;
}

.more-labs {
  padding: 0 clamp(20px, 5vw, 48px) 72px;
}

.labs-card {
  align-items: center;
  background: rgba(255, 253, 247, 0.88);
  border: 1px solid rgba(63, 36, 95, 0.1);
  border-radius: 30px;
  box-shadow: 0 18px 48px rgba(27, 15, 51, 0.12);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 36px);
}

.labs-card h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 8px;
}

.labs-card p {
  margin-bottom: 0;
  max-width: 640px;
}

.labs-tagline {
  color: var(--plum);
  font-weight: 900;
}

.secondary-link {
  background: var(--ivory);
  border: 1px solid rgba(63, 36, 95, 0.14);
  border-radius: 999px;
  color: var(--plum);
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 900;
  padding: 14px 18px;
}

.page-shell {
  margin: 0 auto;
  max-width: 980px;
  padding: 42px clamp(20px, 5vw, 48px) 72px;
}

.page-hero {
  margin-bottom: 28px;
}

.page-hero h1 {
  font-size: clamp(48px, 7vw, 80px);
  line-height: 0.95;
  margin-bottom: 18px;
}

.page-hero p,
.content-card p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.65;
}

.page-hero a,
.content-card a:not(.secondary-link) {
  color: var(--plum-soft);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(63, 36, 95, 0.24);
  text-underline-offset: 4px;
}

.content-card {
  background: rgba(255, 253, 247, 0.9);
  border: 1px solid rgba(63, 36, 95, 0.1);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: clamp(26px, 5vw, 44px);
}

.content-card h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 22px;
}

.content-card h3 {
  margin-bottom: 8px;
}

.topic-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.topic-list article {
  background: linear-gradient(180deg, rgba(255, 247, 232, 0.78), rgba(247, 234, 210, 0.56));
  border: 1px solid rgba(63, 36, 95, 0.08);
  border-radius: 22px;
  padding: 22px;
}

.topic-list article:last-child {
  grid-column: 1 / -1;
}

.topic-list p,
.legal-copy p {
  margin-bottom: 22px;
}

.legal-copy h3 {
  margin-top: 28px;
}

.page-link {
  display: inline-flex;
  margin-top: 12px;
}

.site-footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px clamp(20px, 5vw, 48px) 40px;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 18px;
}

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

  .hero,
  .storytime {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-art {
    justify-self: stretch;
    max-width: 760px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-top: 18px;
  }

  .hero {
    padding-bottom: 58px;
  }

  h1 {
    font-size: 56px;
    margin-bottom: 18px;
  }

  .hero-lede {
    font-size: 29px;
    margin-bottom: 14px;
  }

  .hero-art,
  .storytime-art,
  .cta-panel {
    border-radius: 26px;
  }

  .feature-band,
  .storytime {
    padding-bottom: 58px;
    padding-top: 58px;
  }

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

  .cta-panel {
    align-items: flex-start;
    border-radius: 0;
    flex-direction: column;
    margin-bottom: 28px;
  }

  .more-labs {
    padding-bottom: 44px;
  }

  .labs-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-shell {
    padding-bottom: 52px;
    padding-top: 30px;
  }

  .page-hero h1 {
    font-size: 48px;
  }

  .content-card {
    border-radius: 26px;
  }

  .topic-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}
