/* ==========================================================================
   Group 5 pages: faq, checklist, downloads, playbook, privacy, 404, thanks
   "Bright SaaS" layout pass. Loaded before saas.css; every class is g5-.
   ========================================================================== */

/* Shared ----------------------------------------------------------------- */
.g5-hero h1 { max-width: 18ch; }
.g5-hero .hero-lead { max-width: 58ch; }
.g5-hero .hero-note { max-width: 62ch; }
.hero.g5-hero { min-height: 0; display: block; }
.g5-meta { display: block; font-size: .86rem; font-weight: 650; color: var(--cobalt); margin-bottom: 8px; }
.g5-ref { display: inline-block; font-size: .82rem; font-weight: 650; color: var(--steel); background: #fff; border: 1px solid var(--hair); border-radius: 999px; padding: 4px 12px; margin: 16px 0 0; }
.section--navy .g5-ref { color: #C9D2FF; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }

/* Bottom CTA band: keep text clear of the report art on desktop */
@media (min-width: 901px) {
  .cta-band { padding-right: calc(min(34%, 400px) + 72px); }
}

/* FAQ -------------------------------------------------------------------- */
.g5-faq-layout { display: grid; grid-template-columns: 304px minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: start; max-width: 1120px; margin: 0 auto; }
.g5-topics { position: sticky; top: 100px; background: #fff; border: 1px solid var(--hair); border-radius: 20px; box-shadow: var(--s-shadow); padding: 18px 14px; }
.g5-topics-label { font-size: .8rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--steel); margin: 4px 10px 10px; }
.g5-topics ul { list-style: none; margin: 0; padding: 0; }
.g5-topics li { margin: 0; }
.g5-topics a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; color: var(--ink-2); font-weight: 550; font-size: .95rem; line-height: 1.3; transition: background .2s ease, color .2s ease; }
.g5-topics a:hover, .g5-topics a.is-on { background: #EEF2FF; color: var(--cobalt); }
.g5-tico { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; background: #EEF2FF; }
.g5-topics a:hover .g5-tico, .g5-topics a.is-on .g5-tico { background: #fff; }
.g5-tico svg { width: 16px; height: 16px; stroke: var(--cobalt); }
.g5-tname { flex: 1; }
.g5-count { flex: none; min-width: 26px; text-align: center; font-size: .78rem; font-weight: 650; color: var(--steel); background: var(--porcelain); border: 1px solid var(--hair); border-radius: 999px; padding: 2px 8px; }

.g5-faq-group { scroll-margin-top: 100px; }
.g5-faq-group + .g5-faq-group, .g5-faq-col .inline-cta + .g5-faq-group { margin-top: 52px; }
.g5-gh { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.g5-gh .s-ico { margin: 0; flex: none; }
.g5-gh h3 { font-size: 1.3rem; margin: 0; }
.g5-gh p { margin: 2px 0 0; font-size: .88rem; color: var(--steel); }
.g5-faq-group .faq summary { font-size: 1.06rem; }
.g5-faq-group .faq-body p { color: var(--ink-2); margin: 0; }
.g5-faq-col .inline-cta { max-width: none; margin: 52px 0 0; padding: 28px 30px; }
.g5-faq-col .inline-cta-txt strong { font-family: var(--display); font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; }
.g5-faq-col .inline-cta-txt p { font-size: .95rem; color: var(--steel); }

/* Checklist ------------------------------------------------------------- */
.ck-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 48px); align-items: start; max-width: 1160px; margin: 0 auto; }
.ck-main { display: grid; gap: 22px; }
.ck-group { min-width: 0; margin: 0; padding: 8px 28px 14px; background: #fff; border: 1px solid var(--hair); border-radius: 20px; box-shadow: var(--s-shadow); }
.ck-group legend { display: flex; align-items: center; gap: 14px; width: 100%; float: left; padding: 22px 0 14px; font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; color: var(--ink); }
.ck-group legend + * { clear: both; }
.ck-key { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--brand-grad); color: #fff; font-family: var(--display); font-size: 1.02rem; font-weight: 750; box-shadow: 0 10px 20px -10px rgba(76,70,245,.7); }
.ck-score { margin-left: auto; font-family: var(--font); font-size: .84rem; font-weight: 650; letter-spacing: 0; color: var(--cobalt); background: #EEF2FF; border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.ck-item { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; align-items: start; margin: 0 -14px; padding: 14px; border-top: 1px solid var(--hair); border-radius: 12px; cursor: pointer; position: relative; transition: background .2s ease; }
.ck-item:first-of-type { border-top-color: transparent; }
.ck-item:hover { background: var(--porcelain); }
.ck-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.ck-box { width: 24px; height: 24px; margin-top: 0; border: 1.5px solid var(--border-strong); border-radius: 8px; background: #fff; position: relative; transition: background .2s ease, border-color .2s ease; }
.ck-item:hover .ck-box { border-color: var(--cobalt); }
.ck-item input:checked + .ck-box { background: var(--brand-grad); border-color: transparent; box-shadow: 0 6px 14px -6px rgba(76,70,245,.7); }
.ck-item input:checked + .ck-box::after { content: ''; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(43deg); }
.ck-item input:focus-visible + .ck-box { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.ck-text { font-size: 1rem; line-height: 1.55; color: var(--ink-2); }
.ck-item input:checked ~ .ck-text { color: var(--ink); }

.ck-panel { position: sticky; top: 100px; background: #fff; border: 1px solid var(--hair); border-radius: 24px; padding: 30px 28px; box-shadow: var(--s-shadow-lg); text-align: center; }
.g5-ck-label { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: .95rem; font-weight: 700; color: var(--ink); margin: 0 0 20px; }
.g5-ck-live { white-space: nowrap; font-size: .74rem; font-weight: 650; color: var(--cobalt); background: #EEF2FF; border-radius: 999px; padding: 3px 9px; }
.ck-dial { position: relative; width: 176px; margin: 0 auto 22px; }
.ck-dial svg { width: 176px; height: 176px; display: block; }
.ck-dial svg circle:first-of-type { stroke: #EEF1F6; }
.ck-panel #ck-arc { stroke: url(#g5-ck-grad); transition: stroke-dashoffset .5s ease; }
.ck-dial-txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.ck-dial-txt strong { font-family: var(--display); font-size: 3.3rem; font-weight: 800; letter-spacing: -.05em; color: var(--ink); }
.ck-dial-txt span { font-family: var(--font); font-size: .84rem; color: var(--steel); margin-top: 4px; }
.ck-verdict { font-family: var(--display); font-weight: 700; font-size: 1.22rem; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); margin: 0 0 8px; padding-top: 20px; border-top: 1px solid var(--hair); }
.ck-advice { font-size: .94rem; color: var(--steel); margin: 0; line-height: 1.55; text-align: left; background: var(--porcelain); border-radius: 14px; padding: 14px 16px; margin-top: 12px; }
.ck-advice:empty { display: none; }
.ck-panel .btn-row { margin-top: 22px; }
.ck-panel .btn { width: 100%; justify-content: center; }
.ck-reset { margin-top: 14px; padding: 4px 2px; background: none; border: 0; color: var(--steel); font-size: .9rem; font-weight: 550; font-family: var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-strong); }
.ck-reset:hover { color: var(--cobalt); }

.g5-bands .g5-band { display: flex; flex-direction: column; }
.g5-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; width: 100%; max-width: 120px; margin-bottom: 20px; }
.g5-meter i { height: 6px; border-radius: 999px; background: #E6EAF2; }
.g5-meter--1 i:nth-child(-n+1), .g5-meter--2 i:nth-child(-n+2), .g5-meter--3 i:nth-child(-n+3), .g5-meter--4 i { background: var(--brand-grad); }
.g5-band-pts { font-family: var(--display); font-weight: 800; font-size: 2.2rem; letter-spacing: -.04em; line-height: 1.05; margin-bottom: 12px; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; align-self: flex-start; }
.g5-band-pts small { font-size: .9rem; font-weight: 650; letter-spacing: 0; margin-left: 6px; }
.g5-after { display: flex; align-items: flex-start; gap: 18px; max-width: 860px; margin: 40px auto 0; padding: 24px 28px; border-radius: 20px; background: linear-gradient(120deg, #F1F5FF, #F5F0FF); border: 1px solid #DEE5FF; }
.g5-after .s-ico { flex: none; margin: 0; }
.g5-after p { margin: 0; color: var(--ink-2); }
.g5-after strong { color: var(--ink); }

/* Downloads ------------------------------------------------------------- */
.g5-res-card { display: flex; flex-direction: column; }
.g5-res-card .s-tag { align-self: flex-start; }
.g5-res .g5-res-card > p { margin-bottom: 20px; }
.g5-res-card .s-checks { margin-bottom: 26px; }
.g5-res-card .s-checks li { font-size: .96rem; padding-bottom: 10px; }
.g5-res-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }
.g5-nopdf { margin-bottom: 0; }
.g5-big { font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 1.8vw, 1.42rem); line-height: 1.42; letter-spacing: -.015em; color: var(--ink); margin: 0 0 18px; }
.g5-body { color: var(--steel); margin: 0; }

/* Playbook ------------------------------------------------------------- */
.g5-index { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.g5-index li { margin: 0; }
.g5-index a { display: block; height: 100%; padding: 18px 20px; background: #fff; border: 1px solid var(--hair); border-radius: 16px; box-shadow: var(--s-shadow); color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.g5-index a:hover { transform: translateY(-3px); box-shadow: var(--s-shadow-lg); color: var(--ink); }
.g5-idx-ref { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--cobalt); background: #EEF2FF; border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }
.g5-index b { display: block; font-weight: 650; line-height: 1.3; }
.g5-index small { display: block; font-weight: 500; color: var(--steel); font-size: .86rem; margin-top: 4px; }

.g5-pb-sec { scroll-margin-top: 80px; }
.g5-pb-sec > .container { max-width: 1120px; }
.g5-doc-head { max-width: 760px; margin-bottom: 40px; }
.g5-doc-head h2 { margin-bottom: 16px; }
.g5-doc-head .lead { font-size: 1.08rem; }
.g5-table td:first-child { width: 24%; }
.g5-table td.td-win { width: 40%; }
.g5-table td:last-child { color: var(--steel); }
.g5-pb-sec .note { color: var(--steel); font-size: .94rem; max-width: 760px; }

.g5-sop { list-style: none; counter-reset: sop; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.g5-sop li { counter-increment: sop; margin: 0; padding: 26px 24px 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; backdrop-filter: blur(6px); }
.g5-sop li::before { content: counter(sop); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 12px; background: var(--brand-grad); font-family: var(--display); font-weight: 750; font-size: 1rem; color: #fff; box-shadow: 0 10px 20px -10px rgba(122,77,255,.9); }
.g5-sop h3 { color: #fff; margin: 0 0 8px; font-size: 1.12rem; }
.g5-sop p { color: #B9C1D3; margin: 0; font-size: .96rem; }

.g5-cols .g5-col { display: flex; flex-direction: column; }
.g5-col h3 { margin: 0 0 10px; }
.g5-col > p { color: var(--steel); }
.g5-cols .g5-col p.note { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--hair); font-size: .92rem; color: var(--steel); }
.g5-cols .g5-col > p:not(.note) { margin-bottom: 18px; }
.g5-col .note strong { color: var(--ink); }

.g5-rules { margin-top: 64px; }
.g5-rules > h3 { font-size: 1.4rem; margin: 0 0 20px; }
.g5-rules ol { list-style: none; counter-reset: rule; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.g5-rules li { counter-increment: rule; position: relative; margin: 0; padding: 24px 24px 24px 72px; background: var(--porcelain); border: 1px solid var(--hair); border-radius: 18px; color: var(--steel); font-size: .97rem; }
.g5-rules li::before { content: counter(rule); position: absolute; left: 24px; top: 24px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid #D5DEFF; color: var(--cobalt); font-weight: 750; font-size: .95rem; }
.g5-rules li strong { display: block; color: var(--ink); font-family: var(--display); font-weight: 650; font-size: 1.06rem; letter-spacing: -.01em; line-height: 1.35; margin-bottom: 6px; }

.g5-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.g5-lists .s-card:hover { transform: none; box-shadow: var(--s-shadow); }
.g5-lh { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.g5-lh .s-ico { margin: 0; flex: none; }
.g5-lh h3 { margin: 0; }
.g5-lists ul { list-style: none; margin: 0; padding: 0; }
.g5-lists li { position: relative; margin: 0; padding: 14px 0 14px 34px; border-top: 1px solid var(--hair); color: var(--steel); font-size: .97rem; }
.g5-lists li:first-child { border-top: 0; }
.g5-lists li::before { content: ''; position: absolute; left: 0; top: 17px; width: 20px; height: 20px; border-radius: 50%; background: #EEF2FF; }
.g5-lists li::after { content: ''; position: absolute; left: 6px; top: 22px; width: 8px; height: 4.5px; border-left: 2px solid var(--cobalt); border-bottom: 2px solid var(--cobalt); transform: rotate(-45deg); }
.g5-lists li strong { color: var(--ink); }
.g5-callout { margin-top: 22px; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 6px 20px; padding: 28px 30px; background: linear-gradient(120deg, #F1F5FF, #F5F0FF); border: 1px solid #DEE5FF; border-radius: 20px; }
.g5-warn { grid-row: 1 / span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-grad); box-shadow: 0 10px 20px -10px rgba(76,70,245,.7); }
.g5-warn svg { width: 22px; height: 22px; stroke: #fff; }
.g5-callout h3 { margin: 0; align-self: center; }
.g5-callout p { margin: 0; color: var(--ink-2); }
.g5-callout p strong { color: var(--ink); }

/* Privacy -------------------------------------------------------------- */
.g5-updated { display: inline-block; font-size: .88rem; font-weight: 650; color: var(--cobalt); background: #EEF2FF; border-radius: 999px; padding: 6px 14px; margin: 0; }
.g5-legal { display: grid; grid-template-columns: 260px minmax(0, 720px); justify-content: center; gap: clamp(32px, 6vw, 88px); align-items: start; }
.g5-toc { position: sticky; top: 100px; background: #fff; border: 1px solid var(--hair); border-radius: 20px; box-shadow: var(--s-shadow); padding: 18px 12px; }
.g5-toc p { font-size: .8rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--steel); margin: 4px 10px 10px; }
.g5-toc ol { list-style: none; padding: 0; margin: 0; }
.g5-toc li { margin: 0; }
.g5-toc a { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; font-size: .92rem; line-height: 1.35; color: var(--ink-2); font-weight: 550; transition: background .2s ease, color .2s ease; }
.g5-toc a span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--porcelain); border: 1px solid var(--hair); color: var(--steel); font-size: .78rem; font-weight: 700; }
.g5-toc a:hover, .g5-toc a.is-on { background: #EEF2FF; color: var(--cobalt); }
.g5-toc a.is-on span { background: var(--brand-grad); border-color: transparent; color: #fff; }
.g5-article { min-width: 0; }
.g5-article section { padding: 0 0 44px; margin: 0 0 44px; border-bottom: 1px solid var(--hair); scroll-margin-top: 100px; }
.g5-article section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.g5-article h2 { font-size: clamp(1.45rem, 2.3vw, 1.85rem); margin: 0 0 18px; display: flex; gap: 14px; align-items: center; }
.g5-article h2 span { display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--brand-grad); color: #fff; font-size: .95rem; font-weight: 750; letter-spacing: 0; box-shadow: 0 10px 20px -10px rgba(76,70,245,.7); }
.g5-article p { color: var(--ink-2); }
.g5-article .check-list { margin: 4px 0 22px; }
.g5-article .check-list li { font-size: 1rem; margin-bottom: 12px; line-height: 1.6; }
.g5-article .note { font-size: .92rem; color: var(--steel); background: var(--porcelain); border-radius: 12px; padding: 12px 16px; }
.g5-article section > :last-child { margin-bottom: 0; }
.g5-contact { margin: 0 0 18px; background: #fff; border: 1px solid var(--hair); border-radius: 16px; box-shadow: var(--s-shadow); padding: 4px 20px; }
.g5-contact div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--hair); }
.g5-contact div:first-child { border-top: 0; }
.g5-contact dt { color: var(--steel); font-weight: 550; }
.g5-contact dd { margin: 0; font-weight: 600; }

/* 404 and thanks ------------------------------------------------------- */
.hero.g5-end { min-height: 0; display: block; padding: clamp(56px, 7vw, 104px) 0 clamp(64px, 8vw, 112px); }
.hero.g5-end:not(.hero--art)::before { display: none !important; }
.g5-end-inner { max-width: 820px; text-align: center; }
.g5-end .eyebrow { display: block; margin-bottom: 14px; }
.g5-end h1 { max-width: 16ch; margin: 0 auto 20px; }
.g5-end .hero-lead { margin: 0 auto; max-width: 52ch; }
.g5-end .btn-row { justify-content: center; align-items: center; gap: 12px; margin-top: 32px; }
.g5-end-art { position: relative; width: min(320px, 76vw); margin: 0 auto 32px; padding: 14px; background: #fff; border: 1px solid var(--hair); border-radius: 28px; box-shadow: var(--s-shadow-lg); }
.g5-end-art img { display: block; width: 100%; height: auto; border-radius: 18px; }
.g5-code { position: absolute; right: -18px; bottom: 18px; margin: 0; padding: 8px 18px; background: #fff; border: 1px solid var(--hair); border-radius: 16px; box-shadow: var(--s-shadow-lg); font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1.1; letter-spacing: -.04em; }
.g5-code { color: var(--cobalt); }
.g5-mark { position: absolute; right: -16px; bottom: -16px; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--brand-grad); box-shadow: 0 16px 30px -12px rgba(76,70,245,.75); border: 4px solid #fff; }
.g5-mark svg { width: 26px; height: 26px; stroke: #fff; }

.g5-next { margin: 36px auto 0; max-width: 680px; }
.g5-next-label { font-size: .8rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--steel); margin: 0 0 14px; }
.g5-next ol { list-style: none; padding: 0; margin: 0; counter-reset: nx; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.g5-next li { counter-increment: nx; display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; margin: 0; padding: 22px; background: #fff; border: 1px solid var(--hair); border-radius: 18px; box-shadow: var(--s-shadow); }
.g5-next li::before { content: counter(nx); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-grad); color: #fff; font-family: var(--display); font-weight: 750; box-shadow: 0 10px 20px -10px rgba(76,70,245,.7); }
.g5-next li b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.06rem; letter-spacing: -.015em; color: var(--ink); margin-bottom: 4px; }
.g5-next li span { color: var(--steel); font-size: .95rem; line-height: 1.5; display: block; }

.g5-pages .g5-page { display: flex; flex-direction: column; }
.g5-page h3 { margin: 0 0 8px; }
.g5-page p { flex: 1; margin-bottom: 20px !important; }
.g5-page .x-link { align-self: flex-start; font-weight: 600; }
.g5-help { margin: 36px auto 0; text-align: center; color: var(--steel); max-width: 62ch; }
.g5-end .g5-help { margin-top: 22px; font-size: .95rem; }

/* Responsive ----------------------------------------------------------- */
@media (max-width: 980px) {
  .g5-faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .g5-topics { position: static; padding: 0; background: none; border: 0; box-shadow: none; }
  .g5-topics-label { margin: 0 0 10px; }
  .g5-topics ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .g5-topics a { padding: 7px 12px 7px 8px; gap: 8px; background: #fff; border: 1px solid var(--hair); border-radius: 999px; font-size: .9rem; }
  .g5-tico { width: 24px; height: 24px; border-radius: 999px; }
  .g5-tico svg { width: 13px; height: 13px; }
  .g5-count { min-width: 0; padding: 1px 7px; font-size: .74rem; }

  .ck-wrap { grid-template-columns: 1fr; }
  .ck-panel { position: static; order: -1; display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 22px; align-items: center; text-align: left; padding: 22px; }
  .ck-dial { grid-column: 1; grid-row: 1 / span 2; width: 112px; margin: 0; }
  .ck-dial svg { width: 112px; height: 112px; }
  .ck-dial-txt strong { font-size: 2.3rem; }
  .ck-dial-txt span { font-size: .76rem; margin-top: 2px; }
  .g5-ck-label { grid-column: 2; grid-row: 1; align-self: end; justify-content: flex-start; margin: 0 0 6px; }
  .ck-verdict { grid-column: 2; grid-row: 2; align-self: start; border-top: 0; padding-top: 0; font-size: 1.12rem; }
  .ck-advice, .ck-panel .btn-row, .ck-reset { grid-column: 1 / -1; }
  .ck-advice { margin-top: 16px; }
  .ck-reset { justify-self: start; }

  .g5-index { grid-template-columns: 1fr 1fr; }
  .g5-sop { grid-template-columns: 1fr 1fr; }
  .g5-rules ol { grid-template-columns: 1fr; }

  .g5-legal { grid-template-columns: minmax(0, 1fr); }
  .g5-toc { position: static; }
  .g5-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
}
@media (max-width: 760px) {
  .g5-gh h3 { font-size: 1.16rem; }
  .g5-faq-group .faq summary { font-size: 1rem; }
  .g5-faq-col .inline-cta { padding: 22px; }
  .ck-group { padding: 4px 18px 10px; }
  .ck-item { margin: 0 -8px; padding: 14px 8px; }
  .ck-group legend { font-size: 1.1rem; gap: 12px; flex-wrap: wrap; }
  .ck-key { width: 34px; height: 34px; font-size: .95rem; }
  .g5-after { flex-direction: column; gap: 14px; padding: 22px; }
  .g5-sop, .g5-lists, .g5-next ol { grid-template-columns: 1fr; }
  .g5-callout { grid-template-columns: 1fr; padding: 24px; }
  .g5-warn { grid-row: auto; }
  .g5-toc ol { grid-template-columns: 1fr; }
  .g5-end .s-head, .g5-end-inner { text-align: center; }

  /* Variables table: stack rows into cards on phones */
  .g5-pb-sec .table-wrap { overflow: visible; background: none; border: 0; box-shadow: none; }
  .g5-table { min-width: 0; }
  .g5-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .g5-table, .g5-table tbody, .g5-table tr, .g5-table td { display: block; width: auto !important; }
  .g5-table tr { background: #fff; border: 1px solid var(--hair); border-radius: 16px; box-shadow: var(--s-shadow); padding: 6px 18px; margin-bottom: 12px; }
  .g5-table td { padding: 10px 0; border-bottom: 1px solid var(--hair); box-shadow: none; }
  .g5-table td:last-child { border-bottom: 0; }
  .g5-table td:first-child { padding-top: 14px; font-size: 1rem; }
  .g5-table td:nth-child(2)::before, .g5-table td:nth-child(3)::before { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--steel); margin-bottom: 4px; }
  .g5-table td:nth-child(2)::before { content: 'Standard form'; color: var(--cobalt); }
  .g5-table td:nth-child(3)::before { content: 'Not allowed'; }
}
@media (max-width: 480px) {
  .g5-index { gap: 10px; }
  .g5-index a { padding: 14px; }
  .g5-index b { font-size: .95rem; }
  .g5-contact div { grid-template-columns: 1fr; gap: 2px; }
  .g5-code { font-size: 1.6rem; right: -8px; }
  .g5-mark { right: -8px; }
  .g5-ck-live { display: none; }
  .g5-end .btn-row .btn { width: 100%; justify-content: center; }
}
