/* Powerup America. Mobile first. Brand system in section 4 of the brief. */

:root {
  --navy: #0A1424;
  --steel: #16243F;
  --red: #C1121F;
  --white: #F4F6FA;
  --helmet: #9AA4B8;
  --orange: #FF8A1F;
  --on-orange: #3A1A00;
  --on-red: #FFFFFF;
  --steel-light: #22345A;      /* hover and selected answer surface */
  --border: #2B3A58;           /* subtle card borders on navy */
  --radius-card: 12px;
  --radius-control: 8px;
  --head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --max: 640px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--navy); }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--white); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus { outline: none; }

/* Typography */
h1, h2, h3, .head {
  font-family: var(--head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.05;
  margin: 0;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1rem; }
.sub { color: var(--helmet); }
.helper { color: var(--helmet); font-size: 14px; line-height: 1.45; }
.tiny { font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Layout */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.screen { display: none; }
.screen.is-active { display: block; }
.screen-body { padding: 24px 0 48px; }

/* Signature stripe: red, arc white, red */
.stripe {
  height: 4px; width: 100%; border: 0; margin: 0;
  background: linear-gradient(to right, var(--red) 0 33.33%, var(--white) 33.33% 66.66%, var(--red) 66.66% 100%);
}
.stripe.divider { margin: 36px auto; max-width: var(--max); width: calc(100% - 2 * var(--gutter)); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 56px; padding: 14px 20px;
  border: 0; border-radius: var(--radius-control);
  font-family: var(--head); font-weight: 600; font-size: 1.25rem;
  text-transform: uppercase; letter-spacing: 1px; text-decoration: none;
  cursor: pointer; transition: transform 120ms ease, background 120ms ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: var(--on-red); }
.btn-primary:hover { background: #A80F1B; }
.btn-primary[disabled] { opacity: 0.7; cursor: wait; }
.btn-steel { background: var(--steel); color: var(--white); border: 1px solid var(--border); }
.btn-steel:hover { background: var(--steel-light); }
.btn-ghost {
  background: none; border: 0; color: var(--helmet); text-decoration: underline;
  min-height: 44px; padding: 10px 12px; cursor: pointer; font-family: var(--body); font-size: 16px; font-weight: 500;
}
.btn-ghost:hover { color: var(--white); }
.btn-back { align-self: flex-start; padding-left: 0; display: inline-flex; align-items: center; gap: 6px; }
.btn-back svg { width: 18px; height: 18px; }

/* Landing hero */
.hero { position: relative; width: 100%; height: 72vh; min-height: 440px; max-height: 760px; overflow: hidden; }
.hero img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: linear-gradient(to bottom, rgba(10,20,36,0) 0%, var(--navy) 100%);
}
.hero-copy {
  position: relative; margin-top: -120px; z-index: 1; text-align: left;
}
.hero-copy h1 { font-size: clamp(2.4rem, 11vw, 3.6rem); }
.hero-copy .sub { font-size: 18px; font-weight: 500; margin: 12px 0 22px; color: var(--white); }
.hero-copy .helper { text-align: center; margin-top: 10px; }

.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.trust li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.trust svg { flex: 0 0 26px; width: 26px; height: 26px; stroke: var(--helmet); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }

footer { padding: 40px 0 32px; color: var(--helmet); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 12px; }
footer a { color: var(--helmet); min-height: 44px; display: inline-flex; align-items: center; }
footer a:hover { color: var(--white); }

/* Progress bar */
.progress { position: sticky; top: 0; z-index: 5; height: 4px; background: var(--steel); }
.progress > span { display: block; height: 100%; width: 0; background: var(--orange); transition: width 220ms ease; }

/* Quiz */
.quiz-head { display: flex; justify-content: space-between; align-items: center; min-height: 48px; margin-bottom: 8px; }
.quiz-count { color: var(--helmet); font-size: 14px; font-weight: 500; }
.question { font-size: clamp(1.75rem, 7.5vw, 2.3rem); margin: 8px 0 24px; }
.answers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.answer {
  width: 100%; min-height: 60px; padding: 16px 18px; text-align: left;
  background: var(--steel); color: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-card); font-size: 18px; font-weight: 500; line-height: 1.3;
  cursor: pointer; transition: background 120ms ease, border-color 120ms ease;
}
.answer:hover { background: var(--steel-light); }
.answer.is-selected { background: var(--steel-light); border-color: var(--orange); }

/* Forms */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  width: 100%; min-height: 56px; padding: 14px 16px;
  background: var(--steel); color: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-control); font: inherit; font-size: 17px;
}
.field input::placeholder { color: #7D889E; }
.field input:focus { border-color: var(--helmet); outline: none; box-shadow: 0 0 0 3px rgba(255,138,31,0.35); }
.field input[aria-invalid="true"] { border-color: #FF7A7A; }
.error { color: #FFB4B4; font-size: 14px; margin-top: 6px; min-height: 0; }
.error:empty { display: none; }
.optional { color: var(--helmet); font-weight: 400; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0; cursor: pointer; }
.check input { flex: 0 0 24px; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--red); cursor: pointer; }
.check span { font-size: 15px; line-height: 1.45; color: var(--white); }

.center { text-align: center; }
.stack > * + * { margin-top: 16px; }
.big-choice { display: grid; gap: 14px; }
.big-choice .btn { min-height: 72px; font-size: 1.5rem; }

/* Cards */
.card {
  background: var(--steel); border: 1px solid var(--border); border-radius: var(--radius-card);
  overflow: hidden; margin-bottom: 18px;
}
.card .card-body { padding: 20px 18px 22px; }
.result-card .badge {
  display: inline-block; background: var(--orange); color: var(--on-orange);
  font-family: var(--head); font-weight: 800; font-size: 15px; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px; margin-bottom: 10px;
}
.result-card .rank { color: var(--helmet); font-size: 14px; font-weight: 500; margin-bottom: 4px; letter-spacing: 0.5px; text-transform: uppercase; }
.result-card h3 { font-size: clamp(1.9rem, 8vw, 2.4rem); margin-bottom: 8px; }
.result-card .one-liner { font-size: 17px; margin-bottom: 18px; }
.result-card .pay { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 14px 0; margin-bottom: 16px; }
.result-card .pay-row { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.result-card .pay-row b { font-family: var(--head); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.5px; }
.result-card .pay-row span { display: block; color: var(--helmet); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.result-card .source { color: var(--helmet); font-size: 13px; margin-top: 8px; }
.result-card dl { margin: 0 0 14px; }
.result-card dt { color: var(--helmet); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.result-card dd { margin: 0 0 12px; }
.result-card ul { list-style: none; margin: 0 0 12px; padding: 0; }
.result-card li { display: flex; gap: 10px; margin-bottom: 6px; font-size: 16px; }
.result-card li::before { flex: 0 0 18px; font-family: var(--head); font-weight: 800; font-size: 18px; line-height: 1.3; }
.result-card .plus li::before { content: "+"; color: var(--white); }
.result-card .minus li::before { content: "\2212"; color: var(--helmet); }
.verify { color: var(--orange); font-weight: 500; }

/* Locked card */
.locked-card {
  width: 100%; text-align: left; cursor: pointer; padding: 0; border-radius: var(--radius-card);
  background: var(--steel); border: 1px solid var(--border); color: var(--white); margin-bottom: 18px; overflow: hidden;
}
.locked-card:hover { background: var(--steel-light); }
.locked-card .card-body { display: flex; align-items: center; gap: 16px; min-height: 92px; }
.locked-card .lock { flex: 0 0 40px; width: 40px; height: 40px; stroke: var(--helmet); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.locked-card .blur { display: inline-block; filter: blur(7px); user-select: none; opacity: 0.8; }
.locked-card .rank { color: var(--helmet); font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.locked-card .cta { color: var(--helmet); font-size: 14px; margin-top: 4px; }

/* Capture card */
.capture-card .card-body { padding-top: 22px; }
.capture-card h2 { font-size: 1.9rem; margin-bottom: 6px; }
.capture-card .lead { margin-bottom: 18px; }
.disclosure { color: var(--helmet); font-size: 13px; line-height: 1.45; margin-top: 12px; }
.disclosure a { color: var(--helmet); }
.honeypot { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.notice { background: var(--steel); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 16px 18px; margin: 0 0 18px; font-size: 16px; }

.done h2 { margin-bottom: 10px; }

/* Legal pages */
.legal { padding: 32px 0 60px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 8px; }
.legal h2 { font-size: 1.4rem; margin: 28px 0 8px; }
.legal p, .legal li { font-size: 16px; }
.legal .draft { background: var(--steel); border-left: 4px solid var(--orange); padding: 12px 14px; border-radius: 8px; margin: 18px 0 24px; font-size: 15px; }
.legal a.back { display: inline-flex; align-items: center; min-height: 44px; color: var(--helmet); }

@media (min-width: 700px) {
  body { font-size: 18px; }
  .hero { height: 62vh; }
  .hero-copy { margin-top: -140px; }
  .hero-copy h1 { font-size: 4.2rem; }
  .big-choice { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
