@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --accent: #D2452B;
  --accent-end: #F2A65A;
  --wordmark-end: #D9661F;
  --bg: #FFFBF8;
  --surface: #FFFFFF;
  --text: #1C1512;
  --muted: #6B5B54;
  --line: #EADFD8;
  --gutter: 24px;
  --measure: 680px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17110F;
    --surface: #211917;
    --text: #F6EFEA;
    --muted: #B5A49C;
    --line: #362B27;
    --wordmark-end: #F2A65A;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 16px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

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

.wrap {
  width: 100%;
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* Top bar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--bg);
}

.topbar::after {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-end));
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
}

.home {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.home img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.home span {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.3px;
  background: linear-gradient(90deg, var(--accent), var(--wordmark-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-color-scheme: dark) {
  .home span {
    background: none;
    color: #FFFFFF;
  }
}

.topbar nav {
  display: flex;
  gap: 20px;
}

.topbar nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

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

/* Document pages */

main {
  flex: 1;
  padding-top: 56px;
  padding-bottom: 64px;
}

h1 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 16px;
}

h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 40px 0 12px;
}

.lead {
  color: var(--muted);
}

ul.data {
  padding-left: 20px;
}

ul.data li {
  margin-bottom: 6px;
}

/* Cards and steps */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0;
}

.card h2 {
  margin-top: 0;
}

.card > :last-child {
  margin-bottom: 0;
}

ol.steps {
  padding-left: 20px;
  margin: 0 0 16px;
}

ol.steps li {
  margin-bottom: 8px;
}

.note {
  color: var(--muted);
  font-size: 15px;
}

.mail {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 500;
}

/* Footer */

.site-footer {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  padding: 28px 0 40px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 16px;
}

.site-footer nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.site-footer nav a:hover {
  color: var(--accent);
}

.site-footer p {
  margin: 0 0 6px;
}
