/* Guides: the article pages and their index (Nov 2026).

   On the homepage's system (planner.css + components.css), like Plans and
   About: a light hero on the mist band, the shimmering lime button, links
   underlined in lime, and the closing box on the dark topo ground. The
   article itself stays a single reading column. */

.guide{--nav-h:76px}
.guide .mmonav a,.guide .footer a{text-decoration:none}

/* ---------- hero ---------- */
.guide-hero{padding-block:clamp(48px,6vw,88px) clamp(40px,5vw,64px);border-bottom:1px solid var(--border)}
.guide-hero .wrap{max-width:calc(760px + 2 * var(--wrap-x))}
.guide-hero .eyebrow{display:inline-block;text-decoration:none}
.guide-hero h1{color:var(--teal-900);font-size:clamp(34px,4.2vw,54px);line-height:1.08;max-width:20ch}
.guide-hero .sub{margin-top:clamp(16px,2vw,22px);max-width:36em;font-size:var(--t-lede);line-height:var(--lh-lede);color:var(--teal-600)}
.guide-byline{margin-top:22px;font-size:var(--t-small);color:var(--teal-600)}
.guide-byline a{color:var(--teal);font-weight:var(--w-med);text-decoration:none;border-bottom:2px solid var(--lime)}

/* ---------- the article ---------- */
.guide main.section{padding-block:clamp(44px,5vw,72px)}
.guide-prose{max-width:760px;margin:0 auto;font-size:var(--t-body);color:var(--teal);line-height:1.8}
.guide-prose h2{color:var(--teal);font-size:var(--t-h3);margin:48px 0 14px;line-height:1.25}
.guide-prose h3{color:var(--teal);font-size:var(--t-h4);margin:28px 0 8px;line-height:1.3}
.guide-prose p{margin:0 0 16px}
.guide-prose ul,.guide-prose ol{margin:0 0 18px;padding-left:22px}
.guide-prose li{margin-bottom:8px}
.guide-prose li::marker{color:var(--lime-deep);font-weight:var(--w-btn)}
.guide-prose strong{color:var(--teal);font-weight:var(--w-btn)}
/* links: teal with the lime rule under them, as on the homepage */
.guide-prose a:not(.btn),.guide-list a{color:var(--teal);font-weight:var(--w-med);text-decoration:none;border-bottom:2px solid var(--lime);padding-bottom:1px}
.guide-prose a:not(.btn):hover{border-bottom-color:var(--teal)}

/* the short answer, first thing on the page */
.guide-answer{background:var(--mist);border-left:4px solid var(--lime-deep);border-radius:0 var(--r-lg) var(--r-lg) 0;padding:22px 26px;margin:0 0 32px}
.guide-answer .lbl{display:block;font-size:var(--t-fine);font-weight:var(--w-btn);letter-spacing:.16em;text-transform:uppercase;color:var(--teal-600);margin-bottom:8px}
.guide-answer p{font-size:var(--t-h4);line-height:1.55;font-weight:var(--w-med)}
.guide-answer p:last-child{margin-bottom:0}

/* worked numbers */
.guide-math{background:var(--white);border:1px solid var(--border);border-radius:var(--r-lg);padding:20px 26px;margin:0 0 22px}
.guide-math p{margin-bottom:6px}
.guide-math p:last-child{margin-bottom:0}

/* questions: the FAQ rows from the homepage, without the toggle */
.guide-faq{margin-top:56px}
.guide-faq h3{margin:0;padding-top:20px;border-top:1px solid var(--border)}
.guide-faq h3 + p{color:var(--teal-600)}

/* ---------- closing box: the homepage close, in a card ---------- */
.guide-cta{background:var(--topo);border-radius:var(--r-lg);padding:clamp(28px,4vw,44px);margin:56px 0 0;text-align:center}
.guide-cta h2{color:var(--white);margin:0 0 12px}
.guide-cta p{color:var(--sage-lift);margin:0 auto 22px;max-width:32em}
.guide-cta .btn{margin-top:4px}
.guide-cta .fine{font-size:var(--t-fine);margin:14px auto 0}
.guide-prose .guide-cta a:not(.btn){color:var(--white);border-bottom-color:var(--lime)}

/* mailing list sign-up, under the trial box */
.guide-list-cta{background:var(--mist);border-radius:var(--r-lg);padding:clamp(24px,3vw,32px);margin:16px 0 0}
.guide-list-cta h2{font-size:var(--t-h4);color:var(--teal);margin:0 0 8px}
.guide-list-cta p{margin-bottom:18px;color:var(--teal-600)}
.guide-list-cta .btn--quiet{background:var(--white)}

/* more guides */
.guide-more{max-width:760px;margin:56px auto 0;padding-top:28px;border-top:1px solid var(--border)}
.guide-more h2{font-size:var(--t-h4);margin:0 0 14px;color:var(--teal)}
.guide-more ul{list-style:none;padding:0}
.guide-more li{padding:12px 0;border-bottom:1px solid var(--border);margin:0}
.guide-more li a{border-bottom:0 !important;display:block}
.guide-more li a::after{content:" \2192";color:var(--teal-600)}

/* ---------- index ---------- */
.guide-list{max-width:760px;margin:0 auto;display:grid;gap:14px;list-style:none;padding:0}
.guide-list a.guide-card{border-bottom:0;padding-bottom:26px}
.guide-card{display:block;background:var(--mist);border-radius:var(--r-lg);padding:26px 28px;text-decoration:none;color:var(--teal);transition:transform .15s ease,background .15s ease}
.guide-card:hover{transform:translateY(-2px);background:#e2e9eb}
.guide-card:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.guide-card h2,.guide-card h3{font-size:var(--t-h4);margin:0 0 8px;color:var(--teal);line-height:1.3}
.guide-card h2::after{content:" \2192";color:var(--teal-600);font-weight:var(--w-body)}
.guide-card p{margin:0;color:var(--teal-600);line-height:1.6;font-weight:var(--w-body)}

@media (max-width:600px){
  .guide-answer{padding:18px 20px}
  .guide-answer p{font-size:var(--t-body)}
}
