/* Palette and type lifted from apps/frontend's theme so this page reads as Pilot.
   Futura and Canela are self-hosted commercial faces there; Work Sans stands in
   here rather than copying licensed font files into a second app. */
:root {
  --pink: #d30f54;
  --plum: #3b1956;
  --pink-light: #f9828c;
  --pink-wash: #ffeeef;
  --ink: #453c37;
  --ink-soft: #80746c;
  --cream: #f6f3f1;
  --surface: #ffffff;
  --line: #e3dad5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 3rem;
}

header img {
  height: 2.25rem;
  width: auto;
}

.eyebrow {
  margin: 0;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--pink-wash);
  color: var(--pink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.375rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--plum);
}

.lede {
  margin: 0 0 3rem;
  font-size: 1.0625rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

section {
  margin-bottom: 2.75rem;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
}

p {
  margin: 0 0 0.875rem;
}

code {
  font-family: 'Inter', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  font-weight: 500;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.url {
  margin: 0 0 1.5rem;
}

.url code {
  display: inline-block;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  border-color: var(--pink-light);
  color: var(--pink);
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}

dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(7rem, auto) 1fr;
  gap: 0.5rem 1.25rem;
  align-items: baseline;
}

dt {
  font-weight: 600;
}

dd {
  margin: 0;
  color: var(--ink-soft);
}

dl.tools {
  grid-template-columns: minmax(11rem, auto) 1fr;
}

ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--ink-soft);
}

li code,
dd code {
  white-space: normal;
}

.note {
  margin: 0;
  padding: 0.875rem 1rem;
  border-left: 2px solid var(--pink-light);
  background: var(--surface);
  border-radius: 0 6px 6px 0;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

footer {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

a {
  color: var(--pink);
  text-decoration-color: var(--pink-light);
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-color: var(--pink);
}

@media (max-width: 34rem) {
  main {
    padding-top: 2.5rem;
  }

  dl,
  dl.tools {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  dd {
    margin-bottom: 0.75rem;
  }
}
