/* Extras for the pages beside Home (How it works, Contact). Everything else comes from Home's own
   site.css, which these pages load first. Only Home's variables are used here, no new colours. */

/* a shorter hero than Home's */
.page-hero{padding:clamp(118px,12vw,150px) 0 clamp(50px,6vw,70px)}
.page-hero .sub{max-width:620px}

/* text column of a card row (Home's .rc) */
.rc .lead{color:var(--dim);font-size:17px;margin-top:14px}

/* the Cortex map, under its heading */
.graphic{margin-top:40px}

/* Getting started: three step cards (Home's .pane) */
.steps3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:44px;align-items:stretch}
.steps3 .pane{gap:18px}
.steps3 .pane h3{font-size:22px;line-height:1.25}
.steps3 .pane > p{color:var(--dim);font-size:15px}
.steps3 .ticks li{font-size:14.5px}
.pane .why{margin-top:auto;border-top:1px solid var(--line);padding-top:16px}
.pane .why b{display:block;color:var(--fg);font-size:14px;font-weight:600}
.pane .why p{color:var(--dim);font-size:14px;margin-top:6px}
.insights{margin:0;display:flex;flex-direction:column}
.insights div{padding:12px 0;border-top:1px solid var(--line)}
.insights div:first-child{border-top:0;padding-top:0}
.insights dt{color:var(--fg);font-weight:600;font-size:15px}
.insights dd{margin:4px 0 0;color:var(--dim);font-size:14.5px}

/* closing card beside the ask (same card as Home's form) */
.cta-card{background:var(--bg);border:1px solid var(--line);border-top:3px solid var(--accent);padding:26px}
.cta-card h3{font-size:24px}
.cta-card p{color:var(--dim);font-size:15.5px;margin-top:8px}
.cta-card .ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}

/* Contact form: a message box styled like Home's inputs */
.fld textarea{width:100%;background:var(--bg);border:1px solid var(--line2);color:var(--fg);font:inherit;font-size:16px;padding:12px 14px;outline:none;border-radius:0;resize:vertical;min-height:110px;transition:border-color .15s,box-shadow .15s}
.fld textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.fld textarea.bad{border-color:var(--red)}
.contact-ticks{margin-top:24px}
.cta a.mail{color:var(--accent);text-decoration:underline;text-underline-offset:3px}

/* a page that ends on a plain section (Contact) gets the space Home's closing band has */
main > .sec:last-of-type{padding-bottom:clamp(76px,9vw,116px)}

@media (max-width:900px){
  .steps3{grid-template-columns:minmax(0,1fr)}
}
