:root {
  --paper: #F4F5F8;
  --paper-2: #FFFFFF;
  --paper-3: #EAECF2;
  --ink: #14161D;
  --ink-2: #3A3F4D;
  --ink-muted: #6A7080;
  --line: #DFE2EA;
  --line-strong: #C7CBD6;

  --blurple: #5865F2;
  --blurple-deep: #3B47CC;
  --blurple-soft: #E8EAFE;
  --amber: #D9862B;
  --amber-soft: #FBF0DF;
  --green: #2A9D6B;
  --red: #D94C4C;

  --dc-bg: #14161C;
  --dc-bg-2: #1C1F27;
  --dc-bg-3: #262A34;
  --dc-line: #32374380;
  --dc-text: #E1E3EA;
  --dc-text-2: #9BA1B2;
  --dc-text-3: #6E7486;

  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --wrap: 1140px;
  --r: 10px;
  --r-lg: 16px;
}

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

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 80px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.015em; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

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

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

button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--blurple);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.cmd {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--blurple);
  text-transform: lowercase;
}

.cmd::before { content: "+"; opacity: 0.55; margin-right: 1px; }

.lead {
  font-size: 1.13rem;
  color: var(--ink-2);
  max-width: 56ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.97rem;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--blurple); color: #fff; }
.btn-primary:hover { background: var(--blurple-deep); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
