/* Scrollstop — shared styles
 * Tokens
 *   paper  #F1EFFF  lilac page
 *   ink    #16123F  text, outlines
 *   ultra  #3D2BFF  primary actions
 *   bird   #E3261B  ladybird red, used sparingly
 *   sun    #FFD33D  highlighter
 */
:root {
  --paper: #F1EFFF;
  --paper-2: #E4E0FF;
  --ink: #16123F;
  --ink-2: #4A4578;
  --ultra: #3D2BFF;
  --bird: #E3261B;
  --sun: #FFD33D;
  --white: #ffffff;
  --radius: 18px;
  --display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ultra); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(241, 239, 255, 0.86); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(22, 18, 63, 0.08); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.logo svg { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 16px/1 var(--body);
  padding: 15px 24px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ultra); color: var(--white); text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.btn.ghost { background: var(--white); color: var(--ink); }
.btn.small { padding: 10px 16px; font-size: 14px; box-shadow: 0 3px 0 var(--ink); }
.btn[disabled] { opacity: 0.55; cursor: progress; transform: none; }

.mark { background: linear-gradient(transparent 12%, var(--sun) 12%, var(--sun) 92%, transparent 92%); padding: 0 0.12em; border-radius: 4px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(44px, 7vw, 86px); font-weight: 800; }
h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; }
h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }

/* phone frame used for previews */
.phone {
  position: relative; background: var(--ink); padding: 10px; border-radius: 34px;
  box-shadow: 0 30px 60px -20px rgba(22, 18, 63, 0.45);
}
.phone canvas { width: 100%; height: auto; border-radius: 25px; background: #000; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: 600 14px/1 var(--body); padding: 9px 14px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--ink); background: var(--white); color: var(--ink);
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }

footer.site { padding: 48px 0 60px; border-top: 1px solid rgba(22, 18, 63, 0.1); margin-top: 40px; color: var(--ink-2); font-size: 15px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
footer.site .made { display: flex; align-items: center; gap: 8px; margin-left: auto; }
footer.site .made svg { width: 22px; height: 22px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
