/* Generated by scripts/create-animation-library.mjs */
:root {
  --ink: #111315;
  --paper: #f7f2e8;
  --muted: #6f746f;
  --line: rgba(17, 19, 21, 0.16);
  --green: #b6f36b;
  --cyan: #68d8d6;
  --coral: #ff7a66;
  --blue: #6d8cff;
  --violet: #9b7dff;
  --shadow: 0 18px 55px rgba(17, 19, 21, 0.18);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(17, 19, 21, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 19, 21, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
}

.brand {
  color: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.back-link,
.chip,
.ghost-button,
.solid-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 14px;
  text-decoration: none;
  white-space: nowrap;
}

.back-link,
.ghost-button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
}

.solid-button {
  border: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.ghost-button,
.solid-button {
  cursor: pointer;
}

.chip {
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero {
  display: grid;
  min-height: 42vh;
  align-items: end;
  padding: clamp(44px, 8vw, 112px) 0 36px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(42px, 8vw, 108px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.1;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.lead {
  max-width: 720px;
  font-size: clamp(18px, 2.2vw, 24px);
}

.demo-stage {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

.demo-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.grid {
  display: grid;
  gap: 16px;
}

.demo-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 10px 30px rgba(17, 19, 21, 0.08);
}

.demo-card a {
  color: inherit;
  text-decoration: none;
}

.section-pad {
  padding: clamp(42px, 8vw, 96px) 0;
}

.swatch {
  min-height: 180px;
  border-radius: 8px;
  border: 1px solid rgba(17, 19, 21, 0.12);
}

.fine-print {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 700px) {
  .site-shell {
    width: min(100% - 24px, 1180px);
  }

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

  h1 {
    font-size: clamp(36px, 11vw, 48px);
    line-height: 0.98;
  }

  .hero h1 {
    max-width: 9ch;
  }

  .hero .lead {
    max-width: 32ch;
  }

  .back-link,
  .chip,
  .ghost-button,
  .solid-button {
    min-height: 38px;
    padding-inline: 12px;
  }
}
