:root {
  --ink: #100b07;
  --panel: #1e1711;
  --border: #3b3028;
  --cream: #f7f2ec;
  --muted: #b19c85;
  --orange: #ff6900;
  --yellow: #ffcc22;
  --focus: #ffe271;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--ink);
}
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(
      ellipse 63% 39% at 50% 2%,
      rgba(97, 48, 0, 0.46),
      transparent 72%
    ),
    var(--ink);
  font-family: Barlow, Arial, sans-serif;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.shell {
  width: min(100% - 40px, 930px);
  margin: 0 auto;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 48px;
  padding: 8px 13px;
  border: 0;
  border-radius: 11px;
  background: #fff;
  text-decoration: none;
}
.brand img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}
.top-link {
  color: #c7ae84;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.top-link:hover {
  color: var(--yellow);
}
main {
  padding: 70px 0 64px;
}
.view {
  display: none;
  animation: in 0.3s ease both;
}
.view.active {
  display: block;
}
@keyframes in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
}
.intro {
  max-width: 720px;
  margin: 5.5rem auto 0;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  padding: 7px 17px;
  border: 1px solid #8b5200;
  border-radius: 999px;
  color: #ff9a1c;
  font-size: 12px;
  font-weight: 700;
}
h1 {
  max-width: 700px;
  margin: 20px auto 25px;
  font-size: clamp(45px, 6vw, 63px);
  line-height: 0.9;
}
.accent {
  color: var(--orange);
}
.intro-copy {
  max-width: 650px;
  margin: 0 auto;
  color: #c8ae88;
  font-size: 16px;
  line-height: 1.72;
}
.intro-copy + .intro-copy {
  margin-top: 11px;
  color: #998b7a;
  font-size: 14px;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-top: 35px;
  padding: 0 34px;
  border: 0;
  border-radius: 999px;
  color: #171008;
  background: linear-gradient(100deg, var(--orange), var(--yellow));
  box-shadow: 0 10px 26px rgba(255, 103, 0, 0.18);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px;
  font-weight: 700;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 32px rgba(255, 103, 0, 0.3);
}
.flow {
  width: min(100%, 728px);
  margin: 0 auto;
}
.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #c0a77d;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 600;
}
.track {
  height: 7px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 7px;
  background: #2b241f;
}
.bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  transition: width 0.28s ease;
}
.question-title {
  margin: 33px 0 29px;
  font-size: clamp(33px, 4.2vw, 42px);
  line-height: 1.05;
}
.answers {
  display: grid;
  gap: 12px;
}
.answer {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 88px;
  padding: 17px 19px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--cream);
  background: rgba(31, 24, 18, 0.88);
  text-align: left;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}
.answer:hover {
  border-color: #80603a;
  background: #251a11;
  transform: translateX(3px);
}
.answer-key {
  display: grid;
  flex: 0 0 auto;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 50%;
  color: #211307;
  background: linear-gradient(110deg, var(--orange), var(--yellow));
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px;
  font-weight: 700;
}
.answer-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.37;
}
.back {
  margin-top: 20px;
  padding: 0;
  border: 0;
  color: #cbb48c;
  background: transparent;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px;
  font-weight: 600;
}
.back:hover {
  color: var(--yellow);
}
.capture {
  max-width: 575px;
  margin: 58px auto 0;
  padding: 37px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(30, 23, 17, 0.91);
}
.capture-stage {
  color: #f09120;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.capture-title {
  margin: 11px 0 12px;
  font-size: 43px;
  line-height: 0.98;
}
.capture-copy {
  margin-bottom: 26px;
  color: #b8a48d;
  font-size: 16px;
  line-height: 1.55;
}
.fields {
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 8px;
}
.field-label {
  color: #af9b82;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.field input {
  width: 100%;
  height: 53px;
  padding: 0 15px;
  border: 1px solid #342a22;
  border-radius: 14px;
  color: var(--cream);
  background: #120d09;
  font-size: 16px;
}
.field input::placeholder {
  color: #695d50;
}
.field input.invalid {
  border-color: #b0502b;
}
.field-error {
  min-height: 0;
  color: #ff9870;
  font-size: 13px;
  line-height: 1.35;
}
.field-error:empty {
  display: none;
}
.capture .primary {
  width: 100%;
  margin-top: 11px;
}
