:root {
  --ink: #151515;
  --muted: #5a5a5a;
  --red: #ad0000;
  --red-dark: #820000;
  --yellow: #fdda00;
  --cream: #fff9e2;
  --line: #171717;
  --paper: #ffffff;
  --soft: #f5f5f0;
  --shadow: 0 10px 0 rgba(21, 21, 21, 0.08);
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.58; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 20; padding: .65rem 1rem; background: var(--yellow); color: var(--ink); font-weight: 800; }
.skip-link:focus { top: 1rem; }

.site-header { border-top: 7px solid var(--yellow); border-bottom: 1px solid #dedede; background: #fff; }
.brandbar { width: min(1180px, calc(100% - 48px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { display: inline-flex; flex-direction: column; gap: .18rem; font-family: Impact, Haettenschweiler, "Arial Black", sans-serif; font-size: 1.13rem; letter-spacing: .02em; line-height: 1; }
.wordmark span { width: max-content; padding: .18rem .48rem .15rem; background: var(--yellow); font-family: "Trebuchet MS", sans-serif; font-size: .65rem; letter-spacing: .12em; }
.brand-note { color: var(--muted); font-size: .92rem; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.page-heading { padding: 4.4rem 0 2.7rem; text-align: center; border-bottom: 2px solid var(--line); }
.eyebrow { display: inline-block; color: var(--red); font-size: .78rem; font-weight: 900; letter-spacing: .12em; line-height: 1.2; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Impact, Haettenschweiler, "Arial Black", sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; line-height: .98; }
h1 { max-width: 930px; margin: 1.1rem auto 1.3rem; font-size: clamp(2.55rem, 6vw, 5.3rem); }
.page-heading > p { max-width: 690px; margin: 0 auto 1.25rem; font-size: clamp(1.08rem, 2.4vw, 1.33rem); }
.meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.3rem; font-size: .88rem; font-weight: 800; }
.meta span::before { content: ""; display: inline-block; width: .42rem; height: .42rem; margin: 0 .6rem .1rem 0; border-radius: 50%; background: var(--red); }

.landing-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, .98fr); gap: clamp(2.5rem, 6vw, 6rem); padding: 2.25rem 0 4rem; align-items: start; }
.guide-intro { padding-top: .1rem; }
.guide-intro h2 { max-width: 500px; margin: .9rem 0 1.5rem; font-size: clamp(2.1rem, 4.5vw, 3.55rem); }
.book-row { display: flex; align-items: center; gap: 1.25rem; margin: 0 0 1.2rem; }
.cover-placeholder { width: 94px; min-width: 94px; min-height: 130px; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; border: 2px solid var(--line); border-radius: 2px; background: #fafafa; text-align: center; color: #555; box-shadow: 3px 3px 0 var(--yellow); }
.cover-image { display: block; width: 100%; height: 130px; object-fit: cover; }
.cover-placeholder strong { font-size: .76rem; line-height: 1.1; }
.cover-placeholder span { font-size: .68rem; line-height: 1.2; }
.book-icon { width: 25px; height: 25px; border: 2px solid currentColor; display: grid; place-items: center; font-size: .75rem; }
.book-copy h3 { margin-bottom: .2rem; font-size: 1.15rem; }
.book-copy p { margin-bottom: .42rem; font-weight: 700; }
.byline { color: var(--muted); font-size: .82rem; font-weight: 800; }
.guide-intro > p { max-width: 570px; margin-bottom: 1rem; }
.small-note { color: var(--muted); font-size: .77rem; }

.hero-side { align-self: start; }
.hero-art { overflow: hidden; min-height: 280px; border: 2px solid var(--line); border-radius: 8px; background: var(--soft); box-shadow: 0 5px 0 var(--yellow); }
.hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-fallback { min-height: 280px; display: grid; place-items: center; padding: 2rem; text-align: center; color: var(--muted); }
.hero-fallback[hidden] { display: none; }
.hero-fallback strong { display: block; color: var(--ink); font-family: Impact, Haettenschweiler, "Arial Black", sans-serif; font-size: 2rem; text-transform: uppercase; }
.image-caption { margin: .65rem 0 1.15rem; text-align: center; color: var(--muted); font-size: .84rem; font-weight: 700; }
.button { display: flex; align-items: center; justify-content: center; gap: .8rem; min-height: 58px; padding: .9rem 1.5rem; border: 2px solid var(--red-dark); background: var(--red); color: #fff; font-size: 1.05rem; font-weight: 900; text-decoration: none; box-shadow: var(--shadow); transition: transform .18s ease, background .18s ease; }
.button:hover, .button:focus-visible { background: var(--red-dark); transform: translateY(-2px); }
.button:focus-visible, .answer:focus-visible, .back-link:focus-visible { outline: 4px solid var(--yellow); outline-offset: 3px; }
.arrow { font-size: 1.45rem; line-height: 1; }
.under-button { margin: 1rem 0 0; text-align: center; color: var(--muted); font-size: .82rem; }

.site-footer { padding: 2rem 0 1.5rem; background: var(--cream); border-top: 1px solid #e4d78a; }
.steps { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem 1rem; margin: 0; padding: 0; text-align: center; }
.steps li { display: flex; align-items: center; gap: .75rem; font-size: .82rem; font-weight: 900; line-height: 1.25; }
.footer-step { display: flex; align-items: center; min-height: 42px; font-size: .95rem; font-weight: 900; line-height: 1.25; }
.footer-guide { color: var(--ink); }
.footer-divider { color: var(--red); font-size: 1.1rem; font-weight: 900; }
.step-number { display: grid; place-items: center; width: 34px; min-width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 50%; background: var(--yellow); font-family: Impact, Haettenschweiler, "Arial Black", sans-serif; font-size: 1.1rem; }
.steps li:first-child .step-number { background: var(--red); color: #fff; border-color: var(--red); }
.footer-note { margin: 1.35rem 0 0; color: var(--muted); font-size: .77rem; }
.fineprint { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid #e2d892; color: var(--muted); font-size: .72rem; }

.quiz-shell { max-width: 790px; padding: 3.2rem 0 4rem; }
.quiz-topline { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--muted); font-size: .8rem; font-weight: 900; }
.back-link { color: var(--red); font-weight: 900; text-decoration: none; }
.progress { height: 8px; margin: 1.2rem 0 3.2rem; background: #ecece7; border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--yellow); border-radius: inherit; }
.quiz-shell h2 { max-width: 710px; margin: .95rem 0 1.25rem; font-size: clamp(2.3rem, 5vw, 4.15rem); }
.quiz-intro { margin-bottom: 1.6rem; color: var(--muted); font-size: 1.12rem; }
.answers { display: grid; gap: .78rem; }
.answer { display: grid; grid-template-columns: 40px 1fr 24px; align-items: center; gap: .9rem; width: 100%; padding: 1rem 1rem; border: 2px solid var(--red); background: #fff; color: var(--ink); text-decoration: none; font-size: 1rem; text-align: left; transition: background .18s ease, transform .18s ease; }
.answer:hover { background: #fff7f7; transform: translateX(4px); }
.answer-letter { display: grid; place-items: center; width: 29px; height: 29px; background: var(--red); color: #fff; font-weight: 900; }
.answer-arrow { color: var(--red); font-size: 1.5rem; }
.quiz-help { margin: 1rem 0 0; text-align: center; color: var(--muted); font-size: .8rem; }
.result-card { margin-top: 2rem; padding: 2rem; border: 2px solid var(--line); border-top: 12px solid var(--yellow); background: #fff; box-shadow: var(--shadow); }
.result-card h3 { margin-bottom: .5rem; font-family: Impact, Haettenschweiler, "Arial Black", sans-serif; font-size: 2rem; text-transform: uppercase; }
.result-card p { margin-bottom: 1rem; }
.result-card .button { display: inline-flex; }
.noscript-note { max-width: 700px; margin: 2rem auto; padding: 1rem; background: var(--yellow); font-weight: 800; }

.optin-shell { max-width: 760px; padding: 4rem 0 5rem; }
.optin-card { padding: clamp(1.5rem, 5vw, 3.4rem); border: 2px solid var(--line); border-top: 12px solid var(--yellow); background: #fff; box-shadow: var(--shadow); }
.optin-card h1 { margin: .8rem 0 1rem; font-size: clamp(2.5rem, 6vw, 4.6rem); text-align: left; }
.optin-intro { max-width: 620px; margin-bottom: 2rem; font-size: 1.08rem; color: var(--muted); }
.leadconnector-embed { height: 760px; width: 100%; overflow: hidden; border-radius: 8px; background: #fff; }
.leadconnector-embed iframe { display: block; min-height: 100%; }
.completion-message { min-height: 440px; display: grid; place-content: center; gap: 1.5rem; padding: 2rem 1rem; text-align: center; }
.completion-message p { max-width: 560px; margin: 0 auto; line-height: 1.25; }
.completion-title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 900; }
.completion-reminder { font-size: clamp(1.15rem, 2.4vw, 1.55rem); }
.optin-form { display: grid; gap: 1.15rem; }
.form-field { display: grid; gap: .35rem; }
.form-field label { font-weight: 900; }
.form-field input { min-height: 54px; padding: .75rem .9rem; border: 2px solid #747474; border-radius: 2px; background: #fff; color: var(--ink); font: inherit; }
.form-field input:focus { outline: 4px solid var(--yellow); outline-offset: 2px; border-color: var(--ink); }
.optin-form .button { width: 100%; margin-top: .45rem; cursor: pointer; }
.optin-form .button:disabled { cursor: wait; opacity: .65; }
.form-status { min-height: 1.5rem; margin: 0; color: var(--muted); font-size: .9rem; }
.form-status.error { color: var(--red-dark); font-weight: 800; }
.privacy-note { margin: 1.3rem 0 0; color: var(--muted); font-size: .76rem; }

@media (max-width: 780px) {
  .brandbar, .container { width: min(100% - 32px, 620px); }
  .brandbar { min-height: 68px; }
  .brand-note { max-width: 140px; text-align: right; font-size: .78rem; }
  .page-heading { padding: 3.2rem 0 2.1rem; }
  .landing-layout { grid-template-columns: 1fr; gap: 2.8rem; padding-top: 1.8rem; }
  .hero-side { grid-row: 1; }
  .guide-intro { grid-row: 2; }
  .steps { gap: .5rem .7rem; }
  .fineprint { flex-direction: column; gap: .35rem; }
  .quiz-shell { padding-top: 2.25rem; }
}

@media (max-width: 460px) {
  body { font-size: 16px; }
  .brandbar, .container { width: calc(100% - 28px); }
  h1 { font-size: 2.65rem; }
  .meta { justify-content: flex-start; gap: .25rem; flex-direction: column; align-items: flex-start; }
  .book-row { align-items: flex-start; }
  .cover-placeholder { width: 82px; min-width: 82px; min-height: 114px; }
  .quiz-topline { align-items: flex-start; flex-direction: column-reverse; }
  .progress { margin-bottom: 2.3rem; }
  .answer { grid-template-columns: 34px 1fr 18px; gap: .55rem; padding: .9rem .7rem; }
  .answer-letter { width: 27px; height: 27px; }
  .leadconnector-embed { height: 820px; }
}
