/* boopanimator.com - one stylesheet for every page. Boop's own colours: a deep navy and its pink. */
:root {
  --bg: #f4f5fa;
  --panel: #ffffff;
  --sunk: #e9ecf4;
  --ink: #161a2c;
  --muted: #586079;
  --rule: #d8dce8;
  --accent: #d6246e;
  --accent-ink: #ffffff;
  --shadow: 0 18px 50px rgb(22 26 44 / 0.14);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1220;
    --panel: #161a2b;
    --sunk: #1d2236;
    --ink: #e6e9f2;
    --muted: #9ca4bd;
    --rule: #2c3249;
    --accent: #ff5c9a;
    --accent-ink: #161a2b;
    --shadow: 0 18px 50px rgb(0 0 0 / 0.45);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    17px / 1.6 system-ui,
    "Segoe UI",
    -apple-system,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent);
  text-underline-offset: 2px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* THE WORDMARK: Boop, and its ball bouncing beside it. */
.wordmark {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.08em;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.ball {
  display: inline-block;
  width: 0.24em;
  height: 0.24em;
  margin-bottom: 0.08em;
  border-radius: 50%;
  background: var(--accent);
  transform-origin: 50% 100%;
  animation: boop 1.1s infinite;
}
@keyframes boop {
  0% {
    transform: translateY(0) scale(1.3, 0.72);
    animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1);
  }
  12% {
    transform: translateY(-0.08em) scale(0.88, 1.14);
    animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1);
  }
  50% {
    transform: translateY(-0.5em) scale(1, 1);
    animation-timing-function: cubic-bezier(0.6, 0, 0.8, 0.3);
  }
  88% {
    transform: translateY(-0.08em) scale(0.88, 1.14);
    animation-timing-function: cubic-bezier(0.6, 0, 0.8, 0.3);
  }
  100% {
    transform: translateY(0) scale(1.3, 0.72);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ball {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* The top bar. */
header.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
header.top .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
header.top .wordmark {
  font-size: 30px;
}
header.top nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
  align-items: center;
}
header.top nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
header.top nav a:hover {
  color: var(--ink);
}
@media (max-width: 640px) {
  header.top nav a.hide-small {
    display: none;
  }
}

/* Buttons. A button with nowhere to go yet says so and cannot be pressed. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
}
.button.ghost {
  background: none;
  color: var(--accent);
}
.button.small {
  padding: 7px 16px;
  font-size: 14px;
}
.button.soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

/* The opening. */
.hero {
  padding: 72px 16px 40px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 auto 18px;
  max-width: 14em;
}
.hero .lede {
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--muted);
  max-width: 38em;
  margin: 0 auto 28px;
}
.hero .actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}
.shot {
  margin: 44px auto 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  background: var(--panel);
}

/* Sections. */
section {
  padding: 64px 0;
}
section h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
}
section .intro {
  color: var(--muted);
  max-width: 40em;
  margin: 0 0 32px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.feature {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 22px 22px 18px;
}
.feature h3 {
  margin: 0 0 6px;
  font-size: 19px;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
.feature .dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.split ul {
  padding-left: 1.2em;
  color: var(--muted);
}
.split li {
  margin-bottom: 6px;
}

/* Pricing. */
.price {
  max-width: 460px;
  margin: 0 auto;
  background: var(--panel);
  border: 2px solid var(--accent);
  border-radius: 18px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
}
.price .amount {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price .per {
  color: var(--muted);
  font-size: 18px;
}
.price ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
}
.price li {
  padding: 8px 0 8px 28px;
  border-top: 1px solid var(--rule);
  position: relative;
}
.price li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.price .actions {
  display: grid;
  gap: 10px;
}

/* Questions. */
.faq {
  max-width: 780px;
}
.faq details {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
.faq summary {
  font-weight: 700;
  cursor: pointer;
}
.faq details p {
  margin: 10px 0 0;
  color: var(--muted);
}

/* The foot of every page. */
footer.foot {
  border-top: 1px solid var(--rule);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 15px;
}
footer.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}
footer.foot .wordmark {
  font-size: 22px;
}
footer.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
footer.foot nav a {
  color: var(--muted);
}

/* The legal pages: one readable column. */
.legal {
  max-width: 760px;
  padding: 48px 16px 64px;
}
.legal h1 {
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.legal .updated {
  color: var(--muted);
  margin: 0 0 32px;
}
.legal h2 {
  font-size: 22px;
  margin: 32px 0 8px;
}
