:root {
  color-scheme: dark;
  --ink: #fff7eb;
  --muted: #cdbdaf;
  --ember: #f5a447;
  --ember-soft: #ffd79a;
  --line: rgba(245, 164, 71, 0.24);
  --panel: rgba(42, 26, 20, 0.86);
  --base: #120c09;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--base);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(205, 100, 36, 0.18), transparent 38rem),
    linear-gradient(180deg, #1b100c 0%, var(--base) 62%);
}

main {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 64px 0 80px;
}

.mark {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 18px;
  background: rgba(245, 164, 71, 0.08);
  box-shadow: 0 0 36px rgba(245, 164, 71, 0.14);
}

.flame {
  position: relative;
  display: block;
  width: 18px;
  height: 24px;
  transform: rotate(45deg);
  border-radius: 16px 16px 16px 4px;
  background: var(--ember);
  box-shadow: 0 0 15px rgba(245, 164, 71, 0.5);
}

.flame::after {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 9px;
  height: 12px;
  border-radius: 10px 10px 10px 3px;
  background: var(--ember-soft);
  content: "";
}

h1,
h2 {
  letter-spacing: -0.025em;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(2.3rem, 7vw, 4rem);
  line-height: 1.05;
}

h2 {
  margin: 2.2rem 0 0.55rem;
  color: var(--ember-soft);
  font-size: 1.15rem;
}

p,
li {
  color: var(--muted);
}

.lede {
  max-width: 610px;
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.meta {
  margin: 10px 0 34px;
  color: #9f8e81;
  font-size: 0.9rem;
}

.card {
  padding: clamp(22px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: 26px;
  margin-top: 36px;
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.45rem;
}

a {
  color: var(--ember-soft);
  text-underline-offset: 3px;
}

a:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--ember-soft);
  outline-offset: 4px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #21130d;
  background: var(--ember);
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  color: var(--ember-soft);
  background: transparent;
}

footer {
  padding-top: 34px;
  color: #8e7c70;
  font-size: 0.86rem;
}

@media (max-width: 520px) {
  main {
    padding-top: 40px;
  }

  .card {
    border-radius: 20px;
  }
}
