:root {
  --bg: #14110e;
  --raised: #231c17;
  --paper: #f3eadc;
  --ink: #1c1612;
  --acid: #d6f25c;
  --acid-ink: #1a2208;
  --stamp: #e24b3b;
  --muted: #a89888;
  --fog: #d9cbb8;
  --line: #3a322b;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(ellipse 70% 40% at 80% -10%, color-mix(in srgb, var(--paper) 12%, transparent), transparent 60%),
    var(--bg);
  color: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
}

a {
  color: inherit;
}

.bar,
main,
footer {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

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

.mark {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.35rem;
  text-decoration: none;
}

.go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 0.95rem;
}

.go.solid {
  background: var(--acid);
  color: var(--acid-ink);
  border-color: var(--acid);
  font-weight: 500;
}

.go:hover,
.textlink:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem 0 3.5rem;
}

.kicker,
.card-kicker,
.tag,
.steps span {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acid);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 560;
  text-wrap: balance;
}

h1 {
  margin: 0.6rem 0 0;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.95;
  font-style: italic;
}

.lead {
  max-width: 38rem;
  color: var(--fog);
  font-size: 1.125rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
  margin-top: 1.5rem;
}

.textlink {
  color: var(--fog);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 1.25rem;
  min-height: 22rem;
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 1px 0 rgb(255 248 236 / 0.35) inset,
    0 22px 50px rgb(0 0 0 / 0.42);
}

.card-kicker {
  color: var(--stamp);
}

.card h2 {
  margin: 1rem 0 0;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15;
  font-style: italic;
}

.signoff {
  margin-top: auto;
  padding-top: 2rem;
  font-family: var(--display);
  font-style: italic;
}

.scale,
.steps {
  padding: 1rem 0 3rem;
}

.scale-head,
.steps > h2 {
  max-width: 36rem;
}

.scale-head h2,
.steps > h2 {
  margin: 0;
  font-size: 2.2rem;
  font-style: italic;
}

.scale-head p {
  color: var(--fog);
}

.levels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.levels button {
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 0;
  background: var(--raised);
  color: var(--fog);
  font: inherit;
  cursor: pointer;
}

.levels button[aria-checked="true"] {
  background: var(--acid);
  color: var(--acid-ink);
}

.help {
  margin-top: 1.25rem;
  max-width: 40rem;
}

.blurb {
  margin: 0.35rem 0 0;
  color: var(--fog);
  font-size: 1.05rem;
}

.steps ol {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.steps li {
  background: var(--raised);
  border-radius: 1rem;
  padding: 1.1rem 1.1rem 1.25rem;
}

.steps h3 {
  margin: 0.8rem 0 0.35rem;
  font-size: 1.45rem;
  font-style: italic;
}

.steps p {
  margin: 0;
  color: var(--fog);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer a {
  color: var(--fog);
}

@media (max-width: 800px) {
  .hero,
  .steps ol {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 2rem;
    padding-top: 1rem;
  }

  .card {
    min-height: 18rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .go:hover,
  .textlink:hover {
    transform: none;
  }
}
