/* ---------------------------------------------------------------- guides and compare pages
   Reading pages on the marketing kit: a sticky "on this page" list, the article on one measure, and a
   side card with the next step, so a 1440 screen is filled edge to edge with no blank column.
   Sections are content height (no one screen rule) per the Fig round 2 spacing. */
.gd-sec { padding-top: clamp(112px, 11vw, 152px) !important; padding-bottom: 0 !important; height: auto !important; min-height: 0 !important; }
.gd-sec > .wrap { padding-bottom: 0; }
.gd-sec + .gd-sec--tight { margin-top: 0; }
.gd-sec--tight { padding-top: var(--s-7) !important; border-top: 1px solid var(--line); }

.gd-crumbs ol { list-style: none; margin: 0 0 var(--s-6); padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.gd-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.gd-crumbs a { color: var(--muted); text-decoration: none; }
.gd-crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.gd-crumbs [aria-current] { color: var(--ink); }

/* article layout */
.gd-layout { align-items: start; }
.gd-toc { position: sticky; top: 104px; display: grid; gap: var(--s-3); max-height: calc(100vh - 128px); overflow: auto; }
.gd-toc ul { list-style: none; margin: 0; padding: 0; display: grid; }
.gd-toc a { display: block; padding: 7px 0 7px var(--s-3); font-size: 14.5px; line-height: 1.4; color: var(--muted); text-decoration: none; box-shadow: inset 1px 0 0 var(--line); }
.gd-toc a:hover { color: var(--ink); box-shadow: inset 2px 0 0 var(--p-action); }
.gd-article { display: grid; gap: var(--s-6); min-width: 0; }
.gd-head { display: grid; gap: var(--s-4); padding-bottom: var(--s-6); border-bottom: 1px solid var(--line); }
.gd-head h1 { font-size: clamp(36px, 4.2vw, 56px); line-height: 1.05; text-wrap: balance; }
.gd-head .link, .gd-head a { color: var(--p-action); }
.gd-prose h2 { font: 600 24px/1.3 var(--font-text); letter-spacing: -0.015em; }
.gd-prose h3 { font-size: 18px; }
.gd-prose ol { list-style: decimal; padding-left: 1.3em; display: grid; gap: var(--s-2); }
.gd-prose ol li::marker { color: var(--p-action); font-weight: 600; }
.gd-prose strong { font-weight: 650; color: var(--ink); }
.gd-prose blockquote { margin: var(--s-5) 0; padding: var(--s-4) var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.gd-prose code { font-family: var(--font-mono); font-size: .88em; padding: 2px 6px; border-radius: 6px; background: var(--surface); }
.gd-prose pre { overflow-x: auto; padding: var(--s-4) var(--s-5); border-radius: 12px; background: var(--p-inv-bg); color: var(--p-inv-ink); font-size: 14px; line-height: 1.6; }
.gd-prose pre code { padding: 0; background: none; color: inherit; }
.gd-prose hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-7) 0; }

.gd-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.gd-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.gd-table th, .gd-table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.gd-table thead th { font-weight: 600; background: var(--surface); white-space: nowrap; }
.gd-table tbody tr:last-child > * { border-bottom: 0; }
.gd-table--cmp tbody th { font-weight: 600; width: 26%; }
.gd-table--cmp td:nth-child(2) { background: color-mix(in oklab, var(--p-action) 5%, transparent); }

/* side card */
.gd-side { position: sticky; top: 104px; }
/* one column the card's own width: the button's one line label used to set a column wider than the card,
   pushing everything past the right padding */
.gd-cta { container-type: inline-size; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); padding: var(--s-5); border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.gd-cta__h { font: 600 22px/1.25 var(--font-text); letter-spacing: -0.015em; text-wrap: balance; }
.gd-cta .btn { justify-self: stretch; justify-content: center; text-align: center; white-space: normal; height: auto; min-height: 44px; padding-inline: var(--s-4); }
@container (max-width: 299px) { .gd-cta .btn { font-size: 15px; padding-inline: var(--s-3); } .gd-cta .btn svg { display: none; } }
.gd-cta__links { list-style: none; margin: 0; padding: var(--s-4) 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 15px; }
.gd-cta__links a { color: var(--ink); text-decoration: none; }
.gd-cta__links a:hover { color: var(--p-action); text-decoration: underline; text-underline-offset: 3px; }

/* questions under an article */
.gd-faq { display: grid; gap: 0; padding-top: var(--s-6); border-top: 1px solid var(--line); }
.gd-faq > h2 { font: 600 24px/1.3 var(--font-text); margin-bottom: var(--s-4); }
.gd-faq .faq__item { display: grid; gap: var(--s-2); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.gd-faq .faq__item h3 { font: 600 17px/1.4 var(--font-text); }
.gd-faq .faq__item p { color: var(--muted); line-height: 1.6; }

/* index pages and related cards */
.gd-index__head { align-items: start; margin-bottom: var(--s-7); }
.gd-index__head h1 { font-size: clamp(44px, 5.4vw, 76px); line-height: 1; }
.gd-index__lead .gd-card { min-height: 100%; }
.gd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter, 24px); }
.gd-card { gap: var(--s-2) !important; text-decoration: none; transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s ease; }
.gd-card:hover { transform: translateY(-2px); }
.gd-card > h3 { font-size: 20px; line-height: 1.3; }
.gd-card > p { margin: 0 !important; }
.gd-card__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: var(--s-4); font-size: 15px; font-weight: 550; color: var(--p-action); }
.gd-card__go .m-arrow { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.gd-rel__h { font: 600 28px/1.2 var(--font-text); margin-bottom: var(--s-5); }
.gd-card--cmp .gd-chips { margin-top: auto; padding-top: var(--s-4); }
.gd-card--cmp .gd-chips a { min-height: 34px; padding: 0 12px; font-size: 14px; background: var(--bg); }
.gd-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gd-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-strong, var(--line)); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; }
.gd-chips a:hover { border-color: var(--p-action); color: var(--p-action); }

/* footer: five link columns next to the logo */
.footer__brand .footer__lede { font-size: 15px; }

@media (max-width: 1279px) {
  .gd-toc { display: none; }
  .gd-article { grid-column: 1 / span 8 !important; }
  .gd-side { grid-column: 9 / span 4 !important; }
}
@media (max-width: 1023px) {
  .gd-article, .gd-side, .gd-index__head > * { grid-column: 1 / -1 !important; }
  .gd-side { position: static; }
  .gd-index__head { gap: var(--s-6); }
  .gd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1 !important; }
}
@media (max-width: 639px) {
  .gd-crumbs li:last-child { display: none; }
  .gd-crumbs li:nth-last-child(2)::after { content: ""; }
  .gd-sec { padding-top: 96px !important; padding-bottom: var(--s-7) !important; }
  .gd-grid { grid-template-columns: 1fr; }
  .gd-head h1 { font-size: 34px; }
  .gd-table table { font-size: 14px; }
  .gd-table th, .gd-table td { padding: 10px 12px; }
  .gd-cta { padding: var(--s-5); }
}
