:root {
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  background: #16181d;
  background-image: radial-gradient(circle at 50% -10%, rgba(245, 166, 35, 0.12), transparent 55%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}
body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: #f2f0ea;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #f5a623;
}
a:hover,
a:focus {
  color: #ffd98a;
}

/* ---- header ---- */
.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 13.5px;
  color: #f2f0ea;
}
.brand:hover,
.brand:focus {
  color: #f2f0ea;
}
.brand-ball {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  background: radial-gradient(circle at 35% 30%, #ffd98a, #f5a623 55%, #a5660c 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3) inset;
}
.back-link {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- main content ---- */
main {
  flex: 1;
  width: 100%;
}
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 24px 64px;
}
.breadcrumbs {
  font-size: 12.5px;
  color: rgba(242, 240, 234, 0.5);
  margin-bottom: 18px;
}
.breadcrumbs a {
  color: rgba(242, 240, 234, 0.7);
}
.breadcrumbs span[aria-hidden] {
  margin: 0 4px;
}
h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.25;
  margin: 0 0 6px;
  color: #f2f0ea;
}
.dek {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(242, 240, 234, 0.65);
  margin: 0 0 20px;
}
.dek-secondary {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(242, 240, 234, 0.55);
  margin: 0 0 16px;
}
h2 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 34px 0 12px;
  color: #ffd98a;
}
h3 {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 22px 0 8px;
  color: #ffd98a;
}
p,
li {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(242, 240, 234, 0.88);
}
p {
  margin: 0 0 14px;
}
ul {
  padding-left: 22px;
  margin: 0 0 14px;
}
li {
  margin-bottom: 8px;
}
strong {
  color: #f2f0ea;
}

/* ---- call to action (the entire point of these pages) ---- */
.cta {
  display: inline-block;
  background: #f5a623;
  color: #16181d;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 13px 20px;
  border-radius: 12px;
  margin: 4px 0 28px;
}
.cta:hover,
.cta:focus {
  background: #ffd98a;
  color: #16181d;
}

/* ---- goal list ---- */
.goal-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.goal-item {
  background: #1e2129;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 0;
}
.goal-title {
  font-weight: 700;
  color: #f2f0ea;
  margin: 0 0 6px;
}
.goal-meta {
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(245, 166, 35, 0.85);
}
.goal-summary {
  margin: 0 0 6px;
  color: rgba(242, 240, 234, 0.78);
}
.goal-reward {
  margin: 0;
  font-size: 13.5px;
  color: rgba(242, 240, 234, 0.6);
}

/* ---- /machines index ---- */
.machine-index {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin: 20px 0 8px;
}
.machine-index li {
  background: #1e2129;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0;
}
.machine-index a {
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: block;
}
.index-meta {
  display: block;
  font-size: 12px;
  color: rgba(242, 240, 234, 0.5);
  margin-top: 3px;
}

/* ---- non-affiliation callout ---- */
.callout {
  background: #1e2129;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 28px 0 0;
}
.callout p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(242, 240, 234, 0.6);
}

/* ---- footer ---- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}
.footer-inner {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  padding: 24px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.footer-contact {
  font-size: 13px;
  color: rgba(242, 240, 234, 0.6);
}
.footer-copy {
  font-size: 11.5px;
  color: rgba(242, 240, 234, 0.35);
}

@media (min-width: 560px) {
  h1 {
    font-size: 32px;
  }
}
