:root {
  --bg: #11100d;
  --ink: #f6eddc;
  --soft-ink: #d6c2a0;
  --accent: rgb(255, 198, 87);
  --accent-2: rgb(214, 160, 58);
  --line: rgba(255, 198, 87, 0.36);
  --card: #1b1813;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1400px 600px at 10% -10%, rgba(255, 198, 87, 0.24) 0%, transparent 60%),
    radial-gradient(1200px 500px at 95% 8%, rgba(214, 160, 58, 0.18) 0%, transparent 60%),
    var(--bg);
  line-height: 1.6;
}

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

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  background: rgba(17, 16, 13, 0.86);
  z-index: 10;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-logo {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
}

nav {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--soft-ink);
  font-weight: 500;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(111deg, rgb(255, 214, 124) 14.74%, rgb(224, 168, 62) 80.2%);
  color: #1a1307;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.button.small {
  padding: 0.48rem 0.85rem;
  font-size: 0.9rem;
}

.button.full {
  width: 100%;
}

.hero {
  padding: 4.6rem 0 2.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: #d4ab62;
}

h1,
h2,
h3 {
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.15;
  margin-top: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  margin-bottom: 0.9rem;
}

h1 span {
  color: var(--accent);
}

h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.2rem);
}

.lead {
  font-size: 1.1rem;
  color: var(--soft-ink);
  max-width: 62ch;
}

.hero-cta-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}

.ghost {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #211b12;
  color: #f4e2c4;
  padding: 0.78rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

.microcopy {
  margin-top: 0.7rem;
  color: #c7b18c;
}

.cta-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.2rem 1.2rem 1.1rem;
  box-shadow: var(--shadow);
}

.cta-card ol {
  padding-left: 1.2rem;
}

.cta-card .disclosure {
  font-size: 0.8rem;
  color: #b9a684;
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(39, 31, 20, 0.72);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.2rem 0;
}

.metric-label {
  margin: 0 0 0.2rem;
  color: #cea55b;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.metric-value {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.section {
  padding: 3.4rem 0;
}

.section.alt {
  background: linear-gradient(130deg, rgba(100, 100, 100, 0.85) 0%, rgba(28, 23, 15, 0.8) 100%);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: #1f1b15;
  border-radius: 16px;
  padding: 1.1rem;
  border: 1px solid var(--line);
}

.inline-links {
  margin-top: 1rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  margin-top: 0.6rem;
  background: transparent;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(94deg, rgb(255, 224, 157) 8%, rgb(204, 150, 51) 100%);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -5px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgb(226, 172, 70);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

input[type="range"]::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(94deg, rgb(255, 224, 157) 8%, rgb(204, 150, 51) 100%);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgb(226, 172, 70);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.reward {
  margin-top: 0.4rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #edd8b4;
}

.reward-amount {
  display: inline-block;
  margin-right: 0.35rem;
  font-size: 1.45rem;
  font-weight: 700;
  color: rgb(255, 214, 124);
  line-height: 1;
  transition: font-size 0.16s ease;
}

.reward-copy {
  color: #dfc79e;
}

.tip-box {
  background: #201b15;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

.tip-box ul {
  margin: 0;
  padding-left: 1.2rem;
}

.center {
  text-align: center;
}

.basics-logo {
  margin-bottom: 1rem;
}

.basics-logo img {
  width: 96px;
  height: 96px;
  display: inline-block;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
  background: #17130f;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tiny {
  font-size: 0.85rem;
  color: #b09b79;
}

.legal-snippet {
  max-width: 980px;
}

.prose {
  max-width: 800px;
}

.prose ul {
  padding-left: 1.3rem;
}

.note {
  border-left: 4px solid var(--accent-2);
  padding-left: 1rem;
  background: rgba(214, 160, 58, 0.16);
  padding: 0.4rem 1rem;
  border-radius: 8px;
}

.code-link {
  color: var(--accent);
  font-weight: 700;
  text-underline-offset: 2px;
}

@media (max-width: 920px) {
  .hero-grid,
  .calc-grid,
  .metrics,
  .cards {
    grid-template-columns: 1fr;
  }

  nav {
    justify-content: flex-end;
  }

  .hero {
    padding-top: 3.4rem;
  }
}
