:root {
  color-scheme: light dark;
  --canvas: #faf8f0;
  --surface: #fffdf7;
  --ink: #121210;
  --muted: #646158;
  --border: #d8d4c7;
  --gold: #ffb700;
  --dark: #1c1b18;
  --font: 'Avenir Next', 'Century Gothic', 'Trebuchet MS', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--canvas);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  border-radius: 50%;
}

.brand em {
  color: #987000;
  font-style: normal;
}

.site-header nav,
footer nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header nav a,
footer nav a {
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header nav a:hover,
footer nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-header .nav-cta {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--canvas);
}

main {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  color: var(--muted);
  font-size: 0.82rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: #7d5b00;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.lede {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.5vw, 1.28rem);
  line-height: 1.65;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 14px 18px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: var(--gold);
  color: #121210;
  font-weight: 800;
  text-decoration: none;
}

article > section {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

section p,
section li,
.next-step p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

section ul,
section ol {
  display: grid;
  gap: 12px;
  padding-left: 24px;
}

.guide-links {
  padding: 0;
  list-style: none;
}

.guide-links li {
  margin: 0;
}

.guide-links a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.guide-links a:hover {
  color: #7d5b00;
}

details {
  border-top: 1px solid var(--border);
}

details:last-child {
  border-bottom: 1px solid var(--border);
}

summary {
  padding: 20px 0;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.4;
}

details p {
  margin: -4px 0 20px;
}

.next-step {
  margin-top: 80px;
  padding: 32px;
  border-radius: 22px;
  background: var(--dark);
  color: #fffdf5;
}

.next-step h2 {
  color: #fffdf5;
}

.next-step p:not(.eyebrow) {
  color: #d6d0bf;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 44px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

footer > span {
  color: var(--ink);
  font-weight: 800;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #11110f;
    --surface: #1a1916;
    --ink: #fffdf5;
    --muted: #c5c0b3;
    --border: #3d3a32;
    --dark: #050504;
  }

  .brand em,
  .eyebrow,
  .guide-links a:hover {
    color: #f5c84f;
  }

  .primary-cta {
    border-color: #f8d800;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
  }

  .site-header nav a:not(.nav-cta),
  footer nav a:not(:first-child) {
    display: none;
  }

  main {
    padding-top: 48px;
  }

  .breadcrumb {
    margin-bottom: 36px;
  }

  article > section {
    margin-top: 56px;
  }

  .next-step {
    padding: 24px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
