:root {
  --primary: #f5a623;
  --primary-dark: #d4891c;
  --secondary: #1b1b3a;
  --background: #f7f7f7;
  --surface: #ffffff;
  --text-primary: #1b1b3a;
  --text-secondary: #8e8e93;
  --separator: #f0f0f0;
  --label: #8e8e93;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--secondary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary-dark);
}

.topbar {
  background: var(--secondary);
  color: #fff;
}

.topbar-inner,
.wrap,
.footer-inner {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--secondary);
  font-size: 15px;
  font-weight: 800;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: #fff;
}

.hero {
  padding: 40px 0 8px;
}

.kicker {
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15;
  font-weight: 800;
}

.lede,
.updated {
  color: var(--text-secondary);
}

.updated {
  margin: 0 0 28px;
  font-size: 14px;
  font-weight: 700;
}

.card {
  background: var(--surface);
  border-radius: 20px;
  padding: 28px 28px 8px;
  box-shadow: 0 8px 24px rgba(27, 27, 58, 0.06);
}

h2 {
  margin: 28px 0 10px;
  font-size: 20px;
  font-weight: 800;
}

h2:first-child {
  margin-top: 0;
}

p,
ul {
  margin: 0 0 16px;
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--secondary);
  font-weight: 800;
  text-decoration: none;
}

.btn:hover {
  background: var(--primary-dark);
  color: var(--secondary);
}

.footer {
  padding: 28px 0 40px;
  color: var(--label);
  font-size: 14px;
}

.footer a {
  color: var(--secondary);
}

@media (max-width: 640px) {
  .topbar-inner,
  .wrap,
  .footer-inner {
    width: calc(100% - 32px);
  }

  .card {
    padding: 22px 20px 4px;
    border-radius: 16px;
  }

  .nav {
    gap: 12px;
  }
}
