:root {
  color-scheme: dark;
  --bg: #111114;
  --bg-elev: #1a1a1f;
  --ink: #f4f1ea;
  --muted: #9a958c;
  --line: rgba(244, 241, 234, 0.12);
  --accent: #0045f9;
  --accent-ink: #fff;
  --radius: 16px;
  --max: 40rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--accent);
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header,
.site-footer {
  border-bottom: 1px solid var(--line);
}

.site-footer {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  margin-top: 4rem;
}

.site-header .wrap,
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.1rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
}

main {
  padding: 2.5rem 0 1rem;
}

h1,
h2,
h3 {
  letter-spacing: -0.04em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.1rem);
  margin: 0 0 0.8rem;
}

h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.6rem;
}

h3 {
  font-size: 1.05rem;
  margin: 1.4rem 0 0.4rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1.6rem;
  max-width: 34rem;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-ghost {
  background: var(--bg-elev);
  color: var(--ink);
  border: 1px solid var(--line);
}

.cards {
  display: grid;
  gap: 0.9rem;
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card p:last-child,
.legal p:last-child {
  margin-bottom: 0;
}

code {
  font-size: 0.92em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}

.muted,
.tiny {
  color: var(--muted);
}

.tiny {
  font-size: 0.88rem;
}

ol,
ul {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.45rem;
}

.legal p,
.legal li {
  max-width: 40rem;
}

.mail {
  word-break: break-word;
}

.site-footer .tiny {
  margin: 0;
}

.request-form {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.request-form label {
  margin-top: 0.7rem;
  font-weight: 600;
}

.request-form .optional {
  font-weight: 500;
  color: var(--muted);
}

.request-form input,
.request-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: inherit;
  font: inherit;
}

.request-form input[type="file"] {
  padding: 0.4rem 0;
  border: 0;
  background: transparent;
}

.request-form .honey {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}

.request-form .btn {
  margin-top: 1.1rem;
  align-self: flex-start;
}
