/* /guides (11-23, staged): the long reading pages. Everything else comes from base.css + inner.css; this file only adds
   what those have no pattern for: the guide hero (crumb, question, byline, the short answer), the reading column with its
   "On this page" list, tables, numbered checklists, the client quote, and the sizes that keep a long question in proportion.
   Same tokens (--mx, --lime, --ink, --mono, --sans), same type scale: hero > section > row > h3 > lede > body > mono labels.
   Reading measure: 32.5em of body type, about 62-72 characters a line. */

/* ---- the hero: crumb, the question, then the byline and the short answer side by side (the work pages' summary row) ---- */
.gd-top .mass{padding-top:clamp(10px,2svh,30px);padding-bottom:clamp(30px,4.4svh,56px)}
.gd-k{margin:0 0 clamp(14px,2.2svh,26px);font:400 11.5px/1.3 var(--mono);letter-spacing:.04em;text-transform:uppercase;color:rgba(243,241,234,.62)}
.gd-k a{color:inherit;background:linear-gradient(currentColor,currentColor) 0 100%/100% 1px no-repeat;padding-bottom:2px}
.gd-k a:hover{color:var(--lime)}
.gd-top .mass h1.gd-h1{--fs:clamp(44px,min(6.2vw,12svh),112px);line-height:.94;letter-spacing:-.05em;max-width:15.5em}
.gd-h1 i{text-wrap:balance}
.gd-sum{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,9fr);gap:clamp(28px,5vw,90px);align-items:start;margin-top:clamp(26px,4.4svh,56px)}
.gd-by{margin:0;padding-top:.35em;font:400 12px/1.6 var(--mono);color:rgba(243,241,234,.62);text-wrap:pretty}
.gd-by a{color:#f3f1ea;background:linear-gradient(currentColor,currentColor) 0 100%/100% 1px no-repeat;padding-bottom:1px}
.gd-by a:hover{color:var(--lime)}
.gd-nw{white-space:nowrap}
.gd-ans{margin:0;max-width:36em;font:430 clamp(18px,1.42vw,23px)/1.42 var(--sans);letter-spacing:-.012em;color:#f3f1ea;text-wrap:pretty}
.gd-top .strip p,.gd-ixt .strip p{text-wrap:balance}
.gd-top .strip p{max-width:44em}

/* ---- the body: "On this page" on the left, held while you read; the guide on the right (the /reviews grid) ---- */
.gd{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,9fr);gap:clamp(28px,5vw,90px);align-items:start}
.gd-toc{position:sticky;top:84px}
.gd-lbl{margin:0 0 14px;font:400 11px/1.4 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:#5b5e66}
.gd-lbl span{letter-spacing:.04em;text-transform:none}
.gd-toc ol{list-style:none;margin:0;padding:0;border-top:1px solid var(--ink)}
.gd-toc li{border-bottom:1px solid rgba(20,22,26,.14)}
.gd-toc a{display:grid;grid-template-columns:2.4rem minmax(0,1fr);align-items:baseline;padding:11px 10px 11px 0;font:430 15px/1.3 var(--sans);letter-spacing:-.008em;color:var(--ink);transition:background .2s,padding .3s cubic-bezier(.16,1,.3,1)}
.gd-toc a span{font:400 11px/1 var(--mono);color:#5b5e66}
.gd-toc a b{font-weight:inherit;text-wrap:balance}
.gd-toc a:hover,.gd-toc a:focus-visible{background:var(--lime);padding-left:8px}
.gd-toc a:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}

/* the guide's sections: a number, the heading, then the reading column */
.gd-art{min-width:0;max-width:56rem}
.gd-s{scroll-margin-top:84px}
.gd-s+.gd-s{margin-top:clamp(48px,5.4vw,88px);padding-top:clamp(28px,3vw,44px);border-top:1px solid rgba(20,22,26,.14)}
.gd .gd-s h2{margin:0 0 clamp(18px,1.8vw,28px);max-width:18em;font:430 clamp(28px,2.9vw,48px)/1.04 var(--sans);letter-spacing:-.035em;text-wrap:balance}
.gd-n{display:block;margin-bottom:14px;font:400 11px/1 var(--mono);letter-spacing:.06em;color:#5b5e66}
.gd .gd-s h3{margin:clamp(30px,3vw,46px) 0 12px;max-width:26em;font:430 clamp(21px,1.75vw,28px)/1.14 var(--sans);letter-spacing:-.022em;color:var(--ink);text-wrap:balance}
.gd-s h2+h3{margin-top:0}
.gd-st::before{content:attr(data-n);display:inline-block;min-width:2.6rem;font:400 12px/1 var(--mono);letter-spacing:.06em;color:#5b5e66;vertical-align:.32em}
.gd-s p,.gd-s ul,.gd-s ol{font:400 clamp(17px,1.32vw,20px)/1.58 var(--sans);color:#2d3036}
.gd-s p,.gd-s li{text-wrap:pretty}
.gd-s p{margin:0 0 1.05em;max-width:32.5em}
.gd-s strong{font-weight:560;color:var(--ink)}
.gd-s a{color:var(--ink);background:linear-gradient(currentColor,currentColor) 0 100%/100% 1px no-repeat;padding-bottom:1px;transition:background-color .2s}
.gd-s a:hover{background-color:var(--lime)}
.gd-s code{font:400 .8em/1 var(--mono);padding:.22em .42em;background:#f1f3e6;color:var(--ink);white-space:nowrap}
.gd-s>:last-child{margin-bottom:0}

/* lists: a small square for points, a mono count for steps */
.gd-s ul,.gd-s ol{list-style:none;margin:0 0 1.2em;padding:0;max-width:32.5em}
.gd-s li{position:relative;margin:0 0 .72em;padding-left:1.45em}
.gd-s ul>li::before{content:"";position:absolute;left:.1em;top:.66em;width:6px;height:6px;background:var(--ink)}
.gd-s ol{counter-reset:g;border-top:1px solid var(--ink)}
.gd-s ol>li{counter-increment:g;margin:0;padding:clamp(12px,1.1vw,16px) 0 clamp(12px,1.1vw,16px) 2.6em;border-bottom:1px solid rgba(20,22,26,.14)}
.gd-s ol>li::before{content:counter(g,decimal-leading-zero);position:absolute;left:0;top:clamp(18px,1.55vw,22px);font:400 11px/1 var(--mono);color:#5b5e66}

/* tables: the site's ruled rows, mono labels; one card per row on a phone */
.gd-tw{max-width:48rem;margin:clamp(6px,.8vw,12px) 0 clamp(26px,2.6vw,38px)}
.gd-tb{width:100%;border-collapse:collapse;font:400 clamp(15px,1.06vw,17px)/1.45 var(--sans);color:#2d3036}
.gd-tb th,.gd-tb td{text-align:left;vertical-align:top;padding:14px 22px 14px 0;border-bottom:1px solid rgba(20,22,26,.14);text-wrap:pretty}
.gd-tb thead th,.gd-tb thead td{padding-top:0;padding-bottom:12px;border-bottom:1px solid var(--ink);font:400 11px/1.3 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:#5b5e66}
.gd-tb tbody th{width:24%;font-weight:530;color:var(--ink)}
.gd-tb td[data-l="From"]{white-space:nowrap}
.gd-s>.gd-tw:last-child tbody tr:last-child>*{border-bottom:0}
.gd-s>ol:last-child>li:last-child{border-bottom:0}
.gd-tb tbody th strong{font-weight:inherit}
.gd-tb tr>:last-child{padding-right:0}

/* the client's words, once per guide: a lime card with the button's stepped corners */
.gd-q{--c:6px;margin:clamp(30px,3.2vw,48px) 0;max-width:40em;padding:clamp(24px,2.6vw,40px) clamp(24px,2.8vw,44px);background:var(--lime);color:var(--ink);
  clip-path:polygon(0 calc(var(--c)*2),var(--c) calc(var(--c)*2),var(--c) var(--c),calc(var(--c)*2) var(--c),calc(var(--c)*2) 0,calc(100% - var(--c)*2) 0,calc(100% - var(--c)*2) var(--c),calc(100% - var(--c)) var(--c),calc(100% - var(--c)) calc(var(--c)*2),100% calc(var(--c)*2),100% calc(100% - var(--c)*2),calc(100% - var(--c)) calc(100% - var(--c)*2),calc(100% - var(--c)) calc(100% - var(--c)),calc(100% - var(--c)*2) calc(100% - var(--c)),calc(100% - var(--c)*2) 100%,calc(var(--c)*2) 100%,calc(var(--c)*2) calc(100% - var(--c)),var(--c) calc(100% - var(--c)),var(--c) calc(100% - var(--c)*2),0 calc(100% - var(--c)*2))}
.gd-q blockquote{margin:0}
.gd-s .gd-q p{margin:0;max-width:none;font:430 clamp(22px,2vw,32px)/1.16 var(--sans);letter-spacing:-.025em;color:var(--ink);text-wrap:pretty}
.gd-q figcaption{margin-top:clamp(16px,1.6vw,24px);font:400 12px/1.45 var(--mono)}

/* the common questions: the /websites FAQ, on the work pages' warm paper, sized for long questions */
.gd-faq{background:#f4f2ea;scroll-margin-top:20px}
.gd-faq.fq2{grid-template-columns:minmax(0,4fr) minmax(0,9fr);gap:clamp(28px,5vw,90px)}
.gd-faq .fq2-l h2{font-size:clamp(34px,4.4vw,72px);letter-spacing:-.045em}
.gd-faq .faq summary{font-size:clamp(20px,1.7vw,28px);line-height:1.15;text-wrap:balance}
.gd-faq .faq p{font-size:clamp(16px,1.25vw,19px);line-height:1.55;color:#2d3036;max-width:38em}
.gd-faq .faq p a{border-bottom:1px solid currentColor}

/* more guides, and the index: the /about linked rows, sized for questions */
.gd-nx h2,.gd-ix h2{font-size:clamp(34px,4.4vw,72px);letter-spacing:-.045em}
.gd-nx .rows b,.gd-ix .rows b{font-size:clamp(22px,2.2vw,36px);letter-spacing:-.03em;text-wrap:balance}
.gd-nx .rows li,.gd-ix .rows li{grid-template-columns:minmax(0,7fr) minmax(0,6fr)}
.gd-nx .rows p{color:#d9d6cd;opacity:1}
.gd-nx .more-l{color:#f3f1ea}
.gd-ix .rows small{margin-top:10px;color:#5b5e66}
.gd-ixn{text-align:right;margin:clamp(22px,2.4vw,34px) 0 0;font:400 12px/1.5 var(--mono);color:#5b5e66}
.gd-ixn a{color:var(--ink);background:linear-gradient(currentColor,currentColor) 0 100%/100% 1px no-repeat;padding-bottom:1px}

/* the sign-off: the guide's own line, never bigger than the question at the top */
.end2.gd-end h2{font-size:clamp(44px,min(6.2vw,12svh),112px);line-height:.94;letter-spacing:-.05em;max-width:14em}
.end2.gd-end h2 i{text-wrap:balance}
.end2.gd-end p{max-width:30em;text-wrap:balance}

@media(max-width:767px){
  .gd-top .mass h1.gd-h1{--fs:clamp(36px,11.6vw,56px);line-height:.96}
  /* a question whose last two words can't share a phone line ("ChatGPT's answers?") steps down a size, lede with it, so it never ends on one word */
  .gd-top.gd-tight .mass h1.gd-h1{--fs:10vw}
  .gd-top.gd-tight .gd-ans{font-size:4.1vw}
  .gd-sum{grid-template-columns:minmax(0,1fr);gap:16px;margin-top:22px}
  .gd-by{padding-top:0;font-size:11.5px}
  .gd-ans{font-size:17px;line-height:1.48}
  .gd{grid-template-columns:minmax(0,1fr);gap:clamp(40px,11vw,56px)}
  .gd-toc{position:static}
  .gd-toc a{padding:12px 0;font-size:16px}
  .gd .gd-s h2{font-size:clamp(26px,7.4vw,34px)}
  .gd .gd-s h3{font-size:21px}
  .gd-s p,.gd-s li{font-size:17px}
  .gd-s code{white-space:normal}
  /* a table becomes one card per row: the row's name, then each value under its label */
  .gd-tb thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .gd-tb,.gd-tb tbody,.gd-tb tr,.gd-tb th,.gd-tb td{display:block;width:100%}
  .gd-tb{border-top:1px solid var(--ink)}
  .gd-tb tr{padding:14px 0 16px;border-bottom:1px solid rgba(20,22,26,.14)}
  .gd-s>.gd-tw:last-child tbody tr:last-child{border-bottom:0}
  .gd-tb td[data-l="From"]{white-space:normal}
  .gd-tb th,.gd-tb td{padding:0;border:0}
  .gd-tb tbody th{font-size:18px;line-height:1.3;margin-bottom:6px}
  .gd-tb td{font-size:16px}
  .gd-tb td+td{margin-top:8px}
  .gd-tb td[data-l]::before{content:attr(data-l);display:block;margin-bottom:3px;font:400 10.5px/1.3 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:#5b5e66}
  .gd-q{padding:22px 22px 20px}
  .gd-s .gd-q p{font-size:21px}
  .gd-faq .fq2-l h2,.gd-nx h2,.gd-ix h2{font-size:clamp(30px,8.8vw,44px)}
  .gd-faq.fq2{grid-template-columns:minmax(0,1fr);gap:28px}
  .gd-faq .faq summary{font-size:19px}
  .gd-s ol>li{padding-left:2.2em}
  .gd-st::before{min-width:2.2rem}
  .gd-nx .rows li,.gd-ix .rows li{grid-template-columns:minmax(0,1fr)}
  .gd-nx .rows b,.gd-ix .rows b{font-size:clamp(21px,6vw,26px)}
  .end2.gd-end h2{font-size:clamp(34px,9.8vw,46px);line-height:.98}
}
@media(prefers-reduced-motion:reduce){.gd-toc a{transition:none}}
