/* AdversaryAI homepage only (index.html). landing.css is shared by ~190 pages, so everything here is scoped to
   body.home or to the homepage's own h- classes. Tokens (--bg, --panel, --line, --red...) come from landing.css. */
body.home{--call:#22c55e}
@media (max-width:640px){body.home .wrap{padding:0 16px}}
body.home .section{padding:64px 0}
@media (min-width:1024px){body.home .section{padding:96px 0}}
/* narrow desktops: the five header links and both actions on one line */
@media (min-width:921px) and (max-width:1080px){body.home .nav-links{gap:18px}body.home .nav-links a{font-size:.9rem}}

/* ---------- hero ---------- */
.h-hero{position:relative;padding:24px 0 48px;scroll-margin-top:68px}
.h-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(560px 320px at 80% 28%,rgba(255,46,63,.12),transparent 70%);pointer-events:none}
.h-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "act" "fig" "more"}
.h-hero-copy{grid-area:copy}.h-hero-act{grid-area:act}.h-call{grid-area:fig}.h-hero-more{grid-area:more;margin-top:18px}
.h-hero h1{font-size:clamp(1.85rem,7.6vw,3.6rem);line-height:1.08;margin:6px 0 14px}
.h-hero h1 .accent{display:block;font-size:.62em;line-height:1.2;margin-top:8px;letter-spacing:-.01em}
/* ?a= audiences (data-aud, set by the inline script): longer headlines whose accent sits mid-sentence, so it stays
   inline at full size */
.h-hero[data-aud] h1{font-size:clamp(1.75rem,6.6vw,3.2rem)}
.h-hero[data-aud] h1 .accent{display:inline;font-size:inherit;line-height:inherit;margin:0;letter-spacing:inherit}
.h-hero .sub{color:var(--muted);font-size:1.02rem;line-height:1.55;max-width:560px;margin:0}
.h-hero .hero-ctas{margin:20px 0 10px}.h-hero .hero-ctas .btn{width:100%;min-height:52px}
.h-hero .hero-note{margin:0 0 20px}
@media (max-width:640px){.h-hero .hero-ctas .btn-lg{padding:14px 20px;font-size:1.05rem}}
/* the default hero's two free starts: a sales call (one tap) and a job interview (the job, then one tap; js/practice.js
   sends it as hint=). Both fit above the fold on a 375px phone; the picture comes under them there, a 300px square, so a
   phone visitor sees who they will talk to (2026-10-29: 76% of home visitors left after this one screen of text). */
.h-hero .h-starts{display:grid;gap:12px;margin:18px 0 10px}
.h-job{display:grid;gap:8px;margin:0}
.h-job label{font-weight:600;font-size:.95rem}
.h-job input{width:100%;min-height:50px;padding:12px 14px;border-radius:var(--radius);border:1px solid rgba(255,255,255,.18);background:var(--panel2);color:var(--text);font:inherit;font-size:16px}
.h-job input:focus{outline:2px solid var(--red);outline-offset:1px}
.h-job input::placeholder{text-overflow:ellipsis}
@media (max-width:1023px){.h-hero:not([data-aud]) .h-call{width:100%;max-width:300px;margin:18px auto 0}}
.h-call{position:relative;display:block;aspect-ratio:4/3;border-radius:16px;overflow:hidden;border:1px solid var(--line);background:#1a1e27;color:var(--text);text-decoration:none}
.h-call picture{display:block;width:100%;height:100%}.h-call img{width:100%;height:100%;object-fit:cover;object-position:50% 30%;display:block}
.h-call::after{content:"";position:absolute;left:0;right:0;bottom:0;height:45%;background:linear-gradient(transparent,rgba(7,8,11,.88));pointer-events:none}
/* phones and tablets: a square card, so the name bar sits under the chin instead of over the mouth (a 4:3 crop of
   these 4:5 portraits put it on every face). 55% keeps every hero face's chin above the bar down to a 320px phone
   with room above the hair; the shorter shade starts below the mouth. */
@media (max-width:1023px){.h-call{aspect-ratio:1/1}.h-call img{object-position:50% 55%}.h-call::after{height:34%}}
.h-pill{position:absolute;top:12px;left:12px;z-index:1;display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;background:rgba(7,8,11,.72);font-size:.8rem;font-weight:600}
.h-pill i{width:8px;height:8px;border-radius:50%;background:var(--red)}
.h-call.is-call .h-pill i{background:var(--call);animation:h-ring 1.6s infinite}
@keyframes h-ring{0%{box-shadow:0 0 0 0 rgba(34,197,94,.6)}70%,100%{box-shadow:0 0 0 10px rgba(34,197,94,0)}}
@media (prefers-reduced-motion:reduce){.h-call.is-call .h-pill i{animation:none}}
.h-bar{position:absolute;left:16px;right:16px;bottom:14px;z-index:1;display:grid;gap:2px;text-shadow:0 1px 3px rgba(0,0,0,.6)}
.h-bar strong{font-size:1.05rem}.h-bar span{font-size:.85rem;color:#d5d9e4}
/* a 44px tap target (landing.css gives it a negative margin for an inline layout this hero doesn't use) */
.h-hero-more .hero-textlink{padding:10px 0;margin:0}
.h-hero[data-nofig] .h-call{display:none}
@media (min-width:641px) and (max-width:1023px){.h-call{max-width:560px}}
@media (min-width:1024px){
 .h-hero{padding:56px 0 72px}
 .h-hero-grid{grid-template-columns:minmax(0,1fr) 440px;column-gap:64px;grid-template-areas:"copy fig" "act fig" "more fig";align-content:center}
 .h-call{aspect-ratio:4/5;align-self:center}.h-hero .hero-ctas .btn{width:auto}
 .h-hero .h-starts{max-width:560px;justify-items:start}
 .h-job{width:100%;grid-template-columns:minmax(0,1fr) auto;align-items:end;column-gap:10px}.h-job label{grid-column:1/-1}
 .h-hero[data-nofig] .h-hero-grid{grid-template-columns:minmax(0,760px);grid-template-areas:"copy" "act" "more"}}

/* ---------- gauntlet timeline ---------- */
#demo-video{scroll-margin-top:84px}
/* kept anchors that are not sections: land below the 68px sticky nav */
body.home #scorecard,body.home #plan-gauntlet,body.home #plan-champion,body.home #plan-elite{scroll-margin-top:96px}
.h-g-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "steps" "bottom";row-gap:28px}
.h-g-head{grid-area:head}.h-steps{grid-area:steps}.h-g-bottom{grid-area:bottom;align-self:start}
.h-g-head .section-lede{margin-bottom:0}
/* the Gauntlet's own start sits under its heading, before the timeline, so a phone reaches it without scrolling past
   seven steps */
.h-g-head .h-g-start{width:100%;min-height:52px;margin-top:20px}
.h-g-note{color:var(--muted);font-size:.9rem;margin:10px 0 0}
@media (min-width:1024px){.h-g-head .h-g-start{width:auto}}
.h-steps{list-style:none;margin:0;padding:0;position:relative;display:grid;gap:22px}
.h-step{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:14px;align-items:start}
/* the rail: one piece per step, from its dot's centre down to the next dot (the 22px row gap), so nothing runs on
   past the last dot */
.h-step:not(:last-child)::before{content:"";position:absolute;left:23px;top:24px;bottom:-22px;width:2px;background:var(--line)}
.h-dot,.h-mark,.h-dots{width:48px;height:48px;border-radius:50%;position:relative}
.h-dot{display:block;object-fit:cover;background:var(--panel2);box-shadow:0 0 0 3px var(--bg),0 0 0 4px var(--line)}
.h-step.is-call .h-dot{box-shadow:0 0 0 3px var(--bg),0 0 0 5px var(--call)}
.h-mark{display:block;background:var(--panel2);box-shadow:0 0 0 3px var(--bg),0 0 0 4px var(--line)}
.h-mark::after{content:"";position:absolute;inset:30%;border-radius:50%;background:var(--red)}
/* the panel: the lead's face with a "+3" badge (the other three panel faces are the ones no other interviewer in a
   run may wear, so none of them is shown) */
.h-dots{display:block;background:var(--panel2);box-shadow:0 0 0 3px var(--bg),0 0 0 4px var(--line)}
.h-dots img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.h-dots b{position:absolute;right:-6px;bottom:-4px;min-width:24px;height:24px;padding:0 4px;border-radius:999px;background:var(--panel2);border:2px solid var(--bg);font-size:.7rem;line-height:1;display:grid;place-items:center}
.h-step-n{font-size:.72rem;font-weight:700;letter-spacing:.12em;color:var(--red);margin:2px 0}
.h-step h3{font-size:1.05rem;margin:0 0 2px}.h-step-who{color:var(--muted);font-size:.85rem;margin:0 0 6px}
.h-step div>p{font-size:.95rem;margin:0}.h-step div>p.h-step-n{font-size:.72rem;margin:2px 0}.h-step div>p.h-step-who{font-size:.85rem;margin:0 0 6px}
.h-outcomes{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px!important}
.h-outcomes span{font-size:.78rem;padding:4px 10px;border-radius:999px;background:var(--panel2);border:1px solid var(--line)}
.h-g-cap,.h-price{color:var(--muted);font-size:.95rem}
.h-points{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0 0 16px}
.h-points li{padding:6px 12px;border:1px solid var(--line);border-radius:999px;font-size:.85rem;background:var(--panel)}
.h-g-bottom .btn{width:100%}
.h-link{display:inline-block;margin-top:6px;padding:10px 0;color:var(--text);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.h-link:hover{color:var(--red)}
.h-fine{font-size:.8rem;color:var(--muted);margin-top:12px}
@media (min-width:1024px){
 .h-g-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:64px;grid-template-areas:"head steps" "bottom steps";grid-template-rows:auto 1fr}
 .h-step{grid-template-columns:64px minmax(0,1fr);column-gap:18px}.h-step:not(:last-child)::before{left:31px;top:32px}
 .h-dot,.h-mark,.h-dots{width:64px;height:64px}.h-dots b{min-width:28px;height:28px;font-size:.78rem}
 .h-g-bottom .btn{width:auto}}

/* ---------- mode cards ---------- */
.h-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:28px}
.h-card{display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line);border-radius:14px;overflow:hidden;color:var(--text);text-decoration:none;transition:border-color .2s var(--ease),transform .2s var(--ease)}
.h-card:hover{border-color:rgba(255,46,63,.5);transform:translateY(-2px)}.h-card:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.h-card.is-active,.h-more a.is-active{border-color:var(--red)}
.h-card-img{position:relative;display:block;aspect-ratio:4/5;background:#1a1e27}
.h-card-img img{width:100%;height:100%;object-fit:cover;object-position:50% 25%;display:block}
.h-card-role{position:absolute;left:8px;bottom:8px;padding:4px 10px;border-radius:999px;background:rgba(7,8,11,.75);font-size:.75rem;font-weight:600}
.h-card h3{font-size:1rem;margin:12px 12px 4px}.h-card p{font-size:.85rem;line-height:1.45;color:var(--muted);margin:0 12px 10px;flex:1}
.h-card-go{margin:0 12px 14px;font-size:.85rem;font-weight:700;color:var(--red)}
.h-more{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:24px 0 0}.h-more span{color:var(--muted);font-size:.9rem}
.h-more a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--text);font-size:.88rem;text-decoration:none}
.h-more a:hover{border-color:rgba(255,46,63,.5)}.h-more a:focus-visible{outline:2px solid var(--red);outline-offset:2px}
body.home .hub-row{font-size:.92rem;margin-top:20px!important}
@media (max-width:1023px){.h-cards>.h-card:last-child:nth-child(odd){grid-column:1/-1;justify-self:center;width:calc(50% - 6px)}}
@media (min-width:1024px){.h-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.h-card h3{font-size:1.15rem;margin:16px 16px 6px}.h-card p{font-size:.92rem;margin:0 16px 12px}.h-card-go{margin:0 16px 18px}}

/* ---------- how it works ---------- */
.h-how-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "proof" "ctas";row-gap:24px}
.h-how-copy{grid-area:copy}.h-proof{grid-area:proof}.h-how-ctas{grid-area:ctas;display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin:0;align-self:start}
.h-how-steps{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:18px;counter-reset:s}
.h-how-steps li{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:12px}
.h-how-steps li::before{counter-increment:s;content:"0" counter(s);font-weight:800;color:var(--red);font-size:1.1rem;line-height:1.4}
.h-how-steps h3{font-size:1.05rem;margin:0 0 4px}.h-how-steps p{color:var(--muted);margin:0;font-size:.95rem}
.h-how .sample-link{display:inline-block;padding:10px 0}
@media (max-width:640px){.h-how-ctas .btn{width:100%}}
@media (min-width:1024px){.h-how-grid{grid-template-columns:minmax(0,5fr) minmax(0,6fr);column-gap:64px;grid-template-areas:"copy proof" "ctas proof";grid-template-rows:auto 1fr}}

/* ---------- pricing ---------- */
.h-free,.h-run{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:var(--panel);margin:24px 0}
.h-free p,.h-run p{flex:1 1 260px;margin:0;color:var(--muted)}.h-free strong,.h-run strong{color:var(--text);margin-right:6px}
.h-free a,.h-run a{display:inline-block;padding:10px 0;color:var(--text);font-weight:700;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.h-free a:hover,.h-run a:hover{color:var(--red)}
.h-run .h-dot{flex:0 0 48px}
/* phones: the face beside the text (a 260px text basis wrapped it under the face), the link on its own row */
@media (max-width:640px){.h-run{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px 14px;align-items:start}.h-run a{grid-column:1/-1;justify-self:start}}
@media (min-width:941px){body.home .plans{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1080px}}
/* Monthly / Yearly switch above the plans (landing.js wirePlanPeriod); each card holds both prices, one hidden */
body.home .plan-period{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:20px 0 0}
body.home .plan-period[hidden],body.home .plans [hidden]{display:none!important}
body.home .plan-period-box{display:inline-flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:999px;background:var(--panel)}
body.home .plan-period-box button{min-height:44px;padding:0 20px;border:0;border-radius:999px;background:transparent;color:var(--muted);font:inherit;font-weight:700;cursor:pointer}
body.home .plan-period-box button[aria-pressed="true"]{background:var(--red);color:#fff}
body.home .plan-period-box button:focus-visible{outline:2px solid var(--red);outline-offset:2px}
body.home .plan-period-note{margin:0;color:var(--muted);font-size:.9rem}
body.home .plans{margin-top:24px}
body.home .elite-line a{display:inline-block;padding:10px 0}
body.home .teams-band .hero-note a{display:inline-block;padding:6px 0}

/* ---------- footer: tidy grid, markup unchanged ---------- */
body.home .footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px}
@media (min-width:1024px){body.home .footer-links{grid-template-columns:repeat(4,minmax(0,1fr));flex:1}}

/* ---------- 2026-11-05 simpler home: the hero's pick list, shorter phone page ---------- */
/* the default hero: six one-tap conversations; an ?a= audience gets its one try button instead */
.h-hero .h-aud-try{display:none}.h-hero[data-aud] .h-aud-try{display:inline-flex}
.h-hero[data-aud] .h-pick,.h-hero[data-aud] .h-pick-q,.h-hero[data-aud] .h-pick-more{display:none}
.h-hero:not([data-aud]) .hero-textlink{display:none}
.h-hero:not([data-aud]) .h-starts{gap:0;margin:20px 0 6px}
.h-pick-q{font-weight:700;font-size:1.02rem;margin:0 0 10px}
.h-pick{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.h-pick a{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;column-gap:12px;min-height:60px;padding:8px 14px 8px 8px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);text-decoration:none;transition:border-color .2s var(--ease),background .2s var(--ease)}
.h-pick a::after{content:"\203A";font-size:1.6rem;line-height:1;color:var(--red);font-weight:700}
.h-pick a:hover,.h-pick a:active{border-color:rgba(255,46,63,.6);background:var(--panel2)}
.h-pick a:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.h-pick img{width:44px;height:44px;border-radius:50%;object-fit:cover;background:var(--panel2)}
.h-pick span{display:grid;gap:1px;min-width:0}.h-pick b{font-size:1rem;line-height:1.25}
.h-pick small{font-size:.83rem;line-height:1.3;color:var(--muted)}
.h-pick-more{display:inline-block;padding:12px 0 0;color:var(--text);font-size:.9rem;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.h-pick-more:hover{color:var(--red)}
.h-hero:not([data-aud]) .hero-note{margin:8px 0 12px}
@media (min-width:641px){.h-pick{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* phones and tablets: the faces are in the list now, so the big call card goes (desktop keeps it beside the copy) */
@media (max-width:1023px){.h-hero:not([data-aud]) .h-call{display:none}.h-hero:not([data-aud]){padding-bottom:28px}}
@media (max-width:640px){.h-hero:not([data-aud]) .kicker{display:none}.h-hero h1{margin-top:4px}.h-hero .sub{font-size:.97rem}}
/* phones: the Gauntlet is its pitch and its button, with every stage one tap away on its own page */
@media (max-width:1023px){.h-steps,.h-g-cap,.h-points,.h-fine{display:none}.h-g-grid{row-gap:12px}}
/* the monthly plans sit behind one line on every screen; the reply packs stay open */
.h-plans{margin:8px 0 0;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.h-plans>summary{cursor:pointer;list-style:none;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px;font-weight:700}
.h-plans>summary::-webkit-details-marker{display:none}
.h-plans>summary::after{content:"+";font-size:1.4rem;color:var(--red)}.h-plans[open]>summary::after{content:"\2212"}
.h-plans>summary:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.h-plans[open]{padding-bottom:16px}.h-plans>:not(summary){margin-left:16px;margin-right:16px}
body.home .h-plans .plans{margin-top:16px}
/* phones: teams are one short paragraph and the pilot line */
@media (max-width:640px){body.home .teams-band ul{display:none}body.home .teams-band>div>p{font-size:.92rem}body.home .teams-band .btn{width:100%}}
/* the team pilot under the pick list (2026-11-07): its own line, under "and 125 more" */
.h-pick-team{display:block;padding-top:6px}
.h-hero[data-aud] .h-pick-team{display:none}
body.home .teams-band{scroll-margin-top:72px}
