/* Lead-gen landing template (first used on /guides/measurement-plan/, November 2026).
   The offer is the peak: a form in a sticky rail beside the reading column on desktop (straight
   after the intro on phones), the template itself shown as a sheet, and the same form again on
   the page's one Granite band. The closing photo band follows. Tokens come from styles.css. */

.lp-layout{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);grid-template-areas:"head rail" "body rail";gap:0 72px;padding-block:64px 0}
.lp-head{grid-area:head}
.lp-rail{grid-area:rail}
.lp-body{grid-area:body}
.lp-rail-inner{position:sticky;top:24px}
.lp-head h1{font-size:54px;font-weight:800;line-height:1.04;letter-spacing:-.025em;text-wrap:balance}
.lp-intro{max-width:34em;margin-top:24px;font-size:19px;line-height:1.65;color:var(--ink-muted)}

/* Panel holding a form: white, hairline border, no shadow (it doesn't float over a photo). */
.lp-panel{display:flex;flex-direction:column;gap:16px;padding:32px;border:1px solid var(--scree);border-radius:8px;background:var(--white)}
.lp-panel h2{font-size:26px;font-weight:800;line-height:1.15;letter-spacing:-.015em}
.lp-panel>p{color:var(--ink-muted)}
.lp-form{display:flex;flex-direction:column;gap:18px}
.lp-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.lp-form input{display:block;width:100%;min-height:48px;padding:10px 14px;border:1px solid var(--scree);border-radius:6px;background:var(--white);color:var(--granite);font-size:16px;font-weight:400}
.lp-form input:hover{border-color:var(--slate)}
.lp-form input:focus{outline:3px solid var(--blue);outline-offset:1px;border-color:var(--blue)}
.lp-form .button{width:100%}
.lp-form .form-note{margin-top:0}
.lp-form-status{font-size:15px}
.lp-form-status:empty,.lp-turnstile:empty{display:none}
.lp-success{display:flex;flex-direction:column;gap:12px}
.lp-success h3{font-size:21px;font-weight:800;line-height:1.3}
.lp-success p{color:var(--ink-muted)}
.lp-success .button{align-self:flex-start}

/* Reading column sections, split by Scree rules. */
.lp-section{padding-top:var(--block)}
.lp-section+.lp-section{margin-top:var(--block);border-top:1px solid var(--scree)}
.lp-h2{font-size:36px;font-weight:800;line-height:1.1;letter-spacing:-.02em;text-wrap:balance}
.lp-section>p{max-width:40em;margin-top:16px;color:var(--ink-muted)}

/* The questions: a simple numbered list, 30px circles on Scree-ruled rows. */
.lp-questions{counter-reset:q;margin-top:28px;padding:0;border-top:2px solid var(--granite);list-style:none}
.lp-questions li{counter-increment:q;display:grid;grid-template-columns:30px minmax(0,1fr);gap:20px;align-items:start;padding-block:18px;border-bottom:1px solid var(--scree);font-size:18px;line-height:1.5}
.lp-questions li::before{content:counter(q);display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--blue);color:var(--white);font-size:15px;font-weight:800;line-height:1}

/* The worked example, drawn as the template sheet the visitor will copy. */
.lp-sheet{margin-top:28px;border:1px solid var(--scree);border-radius:8px;background:var(--white);overflow:hidden}
.lp-sheet-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 20px;padding:14px 20px;border-bottom:1px solid var(--scree)}
.lp-sheet-file{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:600}
.lp-sheet-file svg{flex:none}
.lp-sheet-note{font-size:14px;color:var(--slate)}
.lp-sheet-grid{width:100%;border-collapse:collapse;counter-reset:row;font-size:16px;line-height:1.45}
.lp-sheet-grid th,.lp-sheet-grid td{padding:12px 16px;border-bottom:1px solid var(--mist);text-align:left;vertical-align:top}
.lp-sheet-grid thead th{padding-block:8px;border-bottom:1px solid var(--scree);background:var(--snow);color:var(--slate);font-size:13px;font-weight:400}
.lp-sheet-grid .lp-sheet-idx{width:44px;padding-inline:0;border-right:1px solid var(--scree);background:var(--snow);color:var(--slate);font-size:13px;font-weight:400;text-align:center}
.lp-sheet-grid tbody tr{counter-increment:row}
.lp-sheet-grid tbody .lp-sheet-idx::before{content:counter(row)}
.lp-sheet-grid tbody th[scope="row"]{width:34%;border-right:1px solid var(--mist);font-weight:600}
.lp-sheet-grid tbody tr:last-child>*{border-bottom:0}
.lp-sheet-tabs{display:flex;gap:4px;padding:0 0 0 44px;border-top:1px solid var(--scree);background:var(--snow)}
.lp-sheet-tabs span{padding:8px 16px;border-inline:1px solid var(--scree);background:var(--white);color:var(--blue);font-size:13px;font-weight:600}

/* Who should be in the room: columns under a 2px Signal Blue rule inside one white panel. */
.lp-roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 32px;margin:24px 0 0;padding:28px;border:1px solid var(--scree);border-radius:8px;background:var(--white);list-style:none}
.lp-roles li{display:flex;flex-direction:column;gap:6px;padding-top:14px;border-top:2px solid var(--blue);color:var(--ink-muted);font-size:16px;line-height:1.5}
.lp-roles li:last-child:nth-child(odd){grid-column:1/-1}
.lp-roles b{color:var(--granite);font-size:18px;font-weight:600;line-height:1.35}
.lp-section .lp-roles+p{margin-top:20px}

/* Related reading: Scree-ruled rows. */
.lp-reading{margin:24px 0 0;padding:0;border-top:2px solid var(--granite);list-style:none}
.lp-reading a{display:block;padding:14px 0;border-bottom:1px solid var(--scree);color:var(--granite);font-size:18px;font-weight:600;line-height:1.4;text-decoration:none}
.lp-reading a:hover{color:var(--blue)}

/* The harder columns: each column name drawn as a sheet header cell, the advice beside it. */
.lp-columns{margin-top:24px;border-top:2px solid var(--granite)}
.lp-columns>div{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,7fr);gap:8px 24px;align-items:start;padding-block:18px;border-bottom:1px solid var(--scree)}
.lp-columns dt{justify-self:start;padding:3px 10px;border:1px solid var(--scree);border-radius:4px;background:var(--snow);font-size:15px;font-weight:600;line-height:1.4}
.lp-columns dd{margin:0;color:var(--ink-muted)}

/* Testing: a real sequence, so the Timeline component (vertical): blue circles on a 2px line, the last one outlined. */
.lp-steps{counter-reset:s;margin:28px 0 0;padding:0;list-style:none}
.lp-steps li{counter-increment:s;position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);gap:20px;padding-bottom:28px;font-size:18px;line-height:1.5}
.lp-steps li>span{padding-top:9px}
.lp-steps li::before{content:counter(s);position:relative;z-index:1;display:grid;place-items:center;width:44px;height:44px;border:2px solid var(--blue);border-radius:50%;background:var(--blue);color:var(--white);font-size:17px;font-weight:800;line-height:1}
.lp-steps li::after{content:"";position:absolute;left:21px;top:44px;bottom:0;width:2px;background:var(--blue)}
.lp-steps li:last-child{padding-bottom:0}
.lp-steps li:last-child::before{background:var(--white);color:var(--blue)}
.lp-steps li:last-child::after{display:none}

/* Where plans go wrong: columns under a 2px Aspen Gold rule (gold marks what's off). */
.lp-pitfalls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 32px;margin-top:28px;padding:28px;border:1px solid var(--scree);border-radius:8px;background:var(--white);list-style:none}
.lp-pitfalls li{padding-top:14px;border-top:2px solid var(--gold-line);font-size:18px;font-weight:600;line-height:1.4}

/* The page's one Granite band: the offer again, beside the same form. */
.lp-get{margin-top:var(--section);background:var(--granite);color:var(--white)}
.lp-get-inner{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:40px 72px;align-items:start;padding-block:var(--band)}
.lp-get-copy{display:flex;flex-direction:column;gap:16px}
.lp-get-copy p{max-width:30em;color:var(--mist);font-size:19px;line-height:1.65}
.lp-get .lp-panel{border-color:var(--white);color:var(--granite)}

/* The line before the closing band. */
.lp-together .wrap{padding-block:var(--block) 0}
.lp-together p{max-width:44em;font-size:21px;line-height:1.5}
.lp-together a{font-weight:600}
.lp-together+.hv-closing{margin-top:var(--block)}

@media (max-width:900px){
 .lp-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "rail" "body";padding-block:40px 0}
 .lp-rail{margin-top:32px}
 .lp-rail-inner{position:static}
 .lp-head h1{font-size:34px;line-height:1.08}
 .lp-intro{margin-top:16px;font-size:16px}
 .lp-panel{padding:24px 20px}
 .lp-panel h2,.lp-h2{font-size:26px;line-height:1.15;letter-spacing:-.015em}
 .lp-pair{grid-template-columns:minmax(0,1fr)}
 .lp-questions li{gap:14px;font-size:16px}
 .lp-sheet-grid{font-size:14px}
 .lp-sheet-grid th,.lp-sheet-grid td{padding:10px 12px}
 .lp-sheet-grid .lp-sheet-idx{width:32px}
 .lp-sheet-grid tbody th[scope="row"]{width:40%}
 .lp-sheet-tabs{padding-left:32px}
 .lp-pitfalls{grid-template-columns:minmax(0,1fr);gap:20px;padding:20px}
 .lp-pitfalls li{font-size:16px}
 .lp-columns>div{grid-template-columns:minmax(0,1fr);gap:8px}
 .lp-roles{grid-template-columns:minmax(0,1fr);gap:20px;padding:20px}
 .lp-roles b{font-size:16px}
 .lp-steps li{grid-template-columns:36px minmax(0,1fr);gap:14px;font-size:16px;padding-bottom:22px}
 .lp-steps li::before{width:36px;height:36px;font-size:15px}
 .lp-steps li::after{left:17px;top:36px}
 .lp-steps li>span{padding-top:6px}
 .lp-reading a{font-size:16px}
 .lp-get-inner{grid-template-columns:minmax(0,1fr)}
 .lp-get-copy p{font-size:16px}
 .lp-together p{font-size:18px}
 .lp-success .button{align-self:stretch}
}
