/* Shared layout for the Outsmart the System book funnel. */
.book-funnel-main{
  min-height:70vh;
  overflow:hidden;
}

.book-hero{
  position:relative;
  padding:clamp(52px,8vw,104px) 0 clamp(54px,8vw,96px);
}
.book-hero::before{
  content:"";
  position:absolute;
  width:440px;
  height:440px;
  right:-170px;
  top:-130px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(184,153,104,.2),rgba(184,153,104,0) 68%);
  pointer-events:none;
}
.book-hero__grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(230px,.65fr);
  gap:clamp(34px,7vw,88px);
  align-items:center;
}
.book-hero h1,
.pathfinder-hero h1,
.result-hero h1{
  max-width:820px;
  margin:12px 0 20px;
  font-family:var(--f-h);
  font-size:clamp(38px,6.2vw,76px);
  font-weight:800;
  line-height:.99;
  letter-spacing:-.04em;
}
.book-hero h1 em,
.pathfinder-hero h1 em,
.result-hero h1 em{
  color:var(--accent);
  font-style:italic;
}
.book-hero__copy{
  max-width:700px;
  color:var(--muted);
  font-size:clamp(18px,2vw,22px);
  line-height:1.62;
}
.book-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin-top:28px;
}
.book-status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:20px;
  padding:9px 13px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  font-family:var(--f-m);
  font-size:11px;
  line-height:1.4;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.book-status::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 16px color-mix(in srgb,var(--accent) 60%,transparent);
}
.book-cover{
  position:relative;
  max-width:310px;
  margin:0 auto;
}
.book-cover::after{
  content:"";
  position:absolute;
  inset:8% -9% -7% 10%;
  z-index:-1;
  border-radius:18px;
  background:rgba(184,153,104,.12);
  filter:blur(22px);
}
.book-cover img{
  display:block;
  width:100%;
  height:auto;
  border-radius:5px 12px 12px 5px;
  box-shadow:0 28px 70px rgba(0,0,0,.48);
  transform:rotate(2deg);
}
.book-note{
  margin-top:18px;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
  text-align:center;
}

.book-section{
  padding:clamp(58px,8vw,96px) 0;
  border-top:1px solid var(--line-2,var(--line));
}
.book-section--panel{
  background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,0));
}
.book-section__head{
  max-width:760px;
  margin-bottom:30px;
}
.book-section__head h2{
  margin:10px 0 14px;
  font-family:var(--f-h);
  font-size:clamp(30px,4.4vw,50px);
  line-height:1.08;
  letter-spacing:-.025em;
}
.book-section__head p{
  color:var(--muted);
  font-size:17px;
  line-height:1.7;
}
.promise-grid,
.result-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.promise-card,
.result-card{
  padding:24px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--panel-2,#0b0b0d);
}
.promise-card__number{
  display:block;
  margin-bottom:22px;
  color:var(--accent);
  font-family:var(--f-m);
  font-size:12px;
  letter-spacing:.12em;
}
.promise-card h3,
.result-card h3{
  margin:0 0 9px;
  font-family:var(--f-h);
  font-size:21px;
  line-height:1.2;
}
.promise-card p,
.result-card p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.65;
}
.path-cta{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) auto;
  gap:28px;
  align-items:center;
  padding:clamp(28px,5vw,52px);
  border:1px solid color-mix(in srgb,var(--accent) 48%,var(--line));
  border-radius:18px;
  background:
    linear-gradient(135deg,color-mix(in srgb,var(--accent) 10%,transparent),transparent 55%),
    var(--panel-2,#0b0b0d);
}
.path-cta h2{
  margin:8px 0 10px;
  font-family:var(--f-h);
  font-size:clamp(28px,4vw,44px);
  line-height:1.08;
}
.path-cta p{
  max-width:680px;
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.65;
}
.text-link{
  color:var(--accent);
  font-weight:650;
  text-underline-offset:4px;
}

.pathfinder-hero,
.result-hero{
  padding:clamp(44px,7vw,76px) 0 28px;
}
.pathfinder-hero h1,
.result-hero h1{
  max-width:900px;
  font-size:clamp(36px,5.6vw,64px);
}
.pathfinder-hero p,
.result-hero__lede{
  max-width:720px;
  color:var(--muted);
  font-size:clamp(17px,2vw,20px);
  line-height:1.65;
}
.pathfinder-shell{
  padding:0 0 clamp(70px,10vw,120px);
}
.quiz-card{
  max-width:820px;
  padding:clamp(22px,5vw,48px);
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--panel-2,#0b0b0d);
  box-shadow:0 26px 70px rgba(0,0,0,.24);
}
.quiz-progress{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  margin-bottom:30px;
}
.quiz-progress__label{
  color:var(--muted);
  font-family:var(--f-m);
  font-size:11px;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.quiz-progress__track{
  flex:1;
  max-width:240px;
  height:4px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.09);
}
.quiz-progress__fill{
  display:block;
  width:33.333%;
  height:100%;
  border-radius:inherit;
  background:var(--accent);
  transition:width .2s ease;
}
.quiz-step{
  min-width:0;
  margin:0;
  padding:0;
  border:0;
}
.quiz-step[hidden]{display:none}
.quiz-step legend{
  width:100%;
  margin:0 0 8px;
  padding:0;
  font-family:var(--f-h);
  font-size:clamp(25px,4vw,36px);
  font-weight:750;
  line-height:1.14;
}
.quiz-help{
  margin:0 0 24px;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}
.question{
  margin:0 0 30px;
  padding:0;
  border:0;
}
.question:last-child{margin-bottom:0}
.question > legend,
.field-label{
  display:block;
  margin:0 0 12px;
  color:var(--white,#fff);
  font-size:16px;
  font-weight:650;
  line-height:1.45;
}
.choices{
  display:grid;
  gap:10px;
}
.choice{
  position:relative;
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:15px 16px;
  border:1px solid var(--line);
  border-radius:11px;
  color:var(--muted);
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease,color .16s ease;
}
.choice:hover{
  border-color:color-mix(in srgb,var(--accent) 55%,var(--line));
  color:var(--white,#fff);
}
.choice:has(input:checked){
  border-color:var(--accent);
  background:color-mix(in srgb,var(--accent) 9%,transparent);
  color:var(--white,#fff);
}
.choice input{
  width:18px;
  height:18px;
  margin:2px 0 0;
  flex:0 0 auto;
  accent-color:var(--accent);
}
.field-row{
  display:grid;
  grid-template-columns:1fr 1.35fr;
  gap:14px;
}
.input{
  width:100%;
  min-height:50px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#08080a;
  color:var(--white,#fff);
  font:inherit;
}
.input:focus-visible,
.choice:focus-within{
  outline:2px solid var(--accent);
  outline-offset:2px;
}
.consent-box{
  display:flex;
  gap:11px;
  align-items:flex-start;
  margin-top:18px;
  padding:15px;
  border:1px solid var(--line);
  border-radius:10px;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}
.consent-box input{
  width:18px;
  height:18px;
  margin:2px 0 0;
  flex:0 0 auto;
  accent-color:var(--accent);
}
.honeypot{
  position:absolute!important;
  left:-10000px!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
}
.quiz-actions{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-top:30px;
}
.quiz-actions [hidden]{display:none!important}
.quiz-error{
  min-height:22px;
  margin:16px 0 0;
  color:#ffb4a9;
  font-size:14px;
  line-height:1.5;
}
.quiz-privacy{
  max-width:820px;
  margin:16px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.6;
}

.result-band{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border:1px solid color-mix(in srgb,var(--accent) 50%,var(--line));
  border-radius:999px;
  color:var(--accent);
  font-family:var(--f-m);
  font-size:11px;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.result-layout{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);
  gap:clamp(28px,6vw,72px);
  padding:16px 0 clamp(66px,9vw,110px);
  align-items:start;
}
.result-reason{
  padding:clamp(24px,4vw,38px);
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--panel-2,#0b0b0d);
}
.result-reason h2{
  margin:0 0 14px;
  font-family:var(--f-h);
  font-size:clamp(26px,3vw,36px);
}
.result-reason p,
.result-reason li{
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
}
.result-reason ul{
  margin:18px 0 0;
  padding-left:21px;
}
.result-next{
  position:sticky;
  top:26px;
  padding:26px;
  border:1px solid color-mix(in srgb,var(--accent) 46%,var(--line));
  border-radius:16px;
  background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 9%,transparent),var(--panel-2,#0b0b0d));
}
.result-next h2{
  margin:8px 0 10px;
  font-family:var(--f-h);
  font-size:28px;
  line-height:1.13;
}
.result-next p{
  margin:0 0 20px;
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
}
.result-next .btn{width:100%;justify-content:center;text-align:center}
.result-note{
  margin-top:14px!important;
  font-size:12px!important;
}
.member-note{
  display:none;
  margin:0 0 18px;
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:10px;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}
body[data-member="true"] .member-note{display:block}
body[data-member="true"] .prospect-only{display:none}

@media (max-width:760px){
  .book-hero__grid,
  .result-layout,
  .path-cta{
    grid-template-columns:1fr;
  }
  .book-cover{
    max-width:210px;
    margin-top:10px;
  }
  .book-note{font-size:12px}
  .promise-grid,
  .result-grid,
  .field-row{
    grid-template-columns:1fr;
  }
  .path-cta .btn{width:100%;justify-content:center;text-align:center}
  .result-next{position:static}
}

@media (prefers-reduced-motion:reduce){
  .quiz-progress__fill,.choice{transition:none}
}
