:root {
  /* Palette from the Apollo dashboard: purple, magenta, pink, yellow. */
  --ink: #14012e;
  --ink-soft: #5f5271;
  --paper: #fffdf6;
  --white: #ffffff;
  --line: #ebe5f2;

  --purple: #5003c0;
  --purple-hover: #6418dc;
  --magenta: #ab03a9;
  --pink: #ff467a;
  --yellow: #ffd51e;
  --deep: #1c0347;
  --green: #14713a;

  --yellow-bg: #fff4c2;
  --pink-bg: #ffe1ea;
  --purple-bg: #ebe0fb;

  --radius: 20px;
  --wrap: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Segoe UI', system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

:target { scroll-margin-top: 88px; }
section[id] { scroll-margin-top: 72px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }
.btn-small { padding: 10px 20px; font-size: .95rem; }
.btn-primary { background: var(--purple); color: var(--white); }
.btn-primary:hover { background: var(--purple-hover); }
.btn-ghost { background: var(--white); border-color: var(--ink); color: var(--ink); }
.btn-light { background: var(--yellow); color: var(--ink); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.brand b { font-weight: 700; }
.logo { width: 34px; height: 34px; flex: none; }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--purple); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 0;
  text-align: center;
}
.hero-inner { position: relative; }
.hero h1 { max-width: 14ch; margin: 0 auto; }
.lead {
  max-width: 40ch;
  margin: 28px auto 0;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--ink-soft);
  text-wrap: balance;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}
.hero-shot {
  position: relative;
  max-width: 1240px;
  margin-top: 16px;
  padding: 0 8px;
}

.shape { position: absolute; border-radius: 28px; }
.shape-a { width: 150px; height: 150px; background: var(--yellow); top: 120px; left: -40px; transform: rotate(14deg); }
.shape-b { width: 110px; height: 110px; background: var(--pink); top: 330px; left: 7%; border-radius: 50%; }
.shape-c { width: 170px; height: 170px; background: var(--purple); top: 90px; right: -50px; transform: rotate(-12deg); }
.shape-d { width: 96px; height: 96px; background: var(--magenta); top: 350px; right: 8%; transform: rotate(20deg); }

/* Tiles */
.tiles-section { padding: 40px 0 104px; }
.tiles-section h2 { text-align: center; margin-bottom: 44px; }
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tile {
  min-height: 210px;
  padding: 26px;
  border-radius: var(--radius);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}
.tile h3 { font-size: 1.45rem; }
.tile p { font-size: 1rem; line-height: 1.45; }
.tile-orange { background: #d81b60; }
.tile-amber  { background: var(--purple); }
.tile-green  { background: #0b7f76; }
.tile-teal   { background: #2563eb; }
.tile-pink   { background: var(--magenta); }
.tile-blue   { background: #c2410c; }

/* Feature rows */
.feature { padding: 96px 0; }
.feature-peach { background: var(--yellow-bg); }
.feature-mint  { background: var(--pink-bg); }
.feature-sky   { background: var(--purple-bg); }
.feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 32px;
}
.feature-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature-flip .feature-text { order: 2; }
.feature-flip .feature-shot { order: 1; }
.feature-text p { margin-top: 20px; color: var(--ink-soft); }
.feature-shot { margin: -24px -32px; }

.dots {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.dots li {
  position: relative;
  padding-left: 36px;
  font-weight: 600;
}
.dots li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .12em;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
}
.dots li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: calc(.12em + 5px);
  width: 6px;
  height: 11px;
  border: solid var(--white);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.feature-peach .dots li::before { background: var(--yellow); }
.feature-peach .dots li::after  { border-color: var(--ink); }
.feature-mint .dots li::before  { background: var(--pink); }
.feature-sky .dots li::before   { background: var(--purple); }

/* CTA */
.cta { padding: 96px 0; }
.cta-inner {
  background: var(--purple);
  color: var(--white);
  border-radius: 32px;
  padding: 72px 32px;
  text-align: center;
  max-width: calc(var(--wrap) - 48px);
}
.cta-inner h2 { max-width: 20ch; margin: 0 auto; }
.cta-inner p { margin: 18px auto 32px; font-size: 1.15rem; max-width: 52ch; text-wrap: balance; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-left: auto;
}
.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
}
.footer-links a:hover { color: var(--purple); }
.footer-note {
  flex-basis: 100%;
  font-size: .9rem;
  color: var(--ink-soft);
}
.footer-note a {
  color: var(--purple);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-inner .btn { margin-left: auto; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .feature { padding: 72px 0 48px; }
  .feature-inner { grid-template-columns: 1fr; gap: 8px; }
  .feature-flip .feature-text { order: 1; }
  .feature-flip .feature-shot { order: 2; }
  .feature-shot { margin: 0 -24px; }
  .shape-b, .shape-d { display: none; }
  .shape-a { width: 90px; height: 90px; top: 24px; left: -36px; }
  .shape-c { width: 100px; height: 100px; top: 16px; right: -44px; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 72px; }
  .hero-shot { padding: 0; margin-top: 8px; }
  .hero-shot img { width: 116%; max-width: none; margin-left: -8%; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; gap: 14px; }
  .tiles-section { padding: 24px 0 72px; }
  .feature-shot { margin: 0 -16px; }
  .cta { padding: 64px 0; }
  .cta-inner { padding: 52px 22px; border-radius: 24px; margin: 0 16px; width: auto; }
  .footer-links { margin-left: 0; flex-basis: 100%; }
}

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