/* ==========================================================================
   Phixr — Owner's guide (guides/selling-your-field-service-business.html)
   Loaded after styles.css + site.css; reuses the site header, hero band and footer.
   ========================================================================== */

.g-skip { position: absolute; left: 16px; top: -60px; z-index: 10000; padding: 10px 16px; border-radius: 10px; background: #17112D; color: #fff; font-weight: 700; text-decoration: none; }
.g-skip:focus { top: 16px; }

.g-kicker { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; color: #540DEE; }
.g-kicker::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #FF6B6B; flex: none; }

/* ---------- Hero ---------- */
.g-hero { padding-bottom: 110px; }
.g-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 70px; align-items: center; }
.g-hero-copy { padding-top: 56px; }
.g-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: 13px; font-weight: 600; color: #cfc6ff; }
.g-crumbs a { color: #cfc6ff; text-decoration: none; }
.g-crumbs a:hover { color: #fff; }
.g-crumbs [aria-current] { color: #fff; }
.g-hero h1 { max-width: 820px; }
.g-hero h1 span { color: #A7ABFF; }
.g-hero .g-sub { max-width: 720px; margin: 0 0 18px !important; font-size: 22px !important; line-height: 1.45 !important; font-weight: 600; color: #fff !important; }
.g-hero .g-lede { max-width: 700px; margin: 0 !important; font-size: 18px !important; line-height: 1.65 !important; color: #e3dcff !important; }
.g-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.g-actions .btn, .g-cta .btn, .g-download .btn, .g-speak .btn { font-weight: 700; font-size: 15px; padding: 15px 24px; text-decoration: none; }
.g-btn-light { color: #fff; border: 1px solid rgba(255,255,255,.6); background: transparent; }
.g-btn-light:hover { background: rgba(255,255,255,.12); }
.g-meta { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 34px 0 0; padding: 0; list-style: none; font-size: 13.5px; font-weight: 600; color: #d9d2ff; }
.g-meta li { position: relative; }
.g-meta li + li { padding-left: 14px; }
.g-meta li + li::before { content: ""; position: absolute; left: 0; top: .55em; width: 4px; height: 4px; border-radius: 50%; background: #FF6B6B; }
.g-hero-cover { padding-top: 40px; }
.g-hero-cover img { display: block; width: 100%; height: auto; border-radius: 10px; transform: rotate(3deg); box-shadow: 0 40px 80px rgba(23,17,45,.45), 0 0 0 1px rgba(255,255,255,.12); }

/* ---------- Layout ---------- */
.g-main { background: #fff; padding: 90px 0 120px; }
.g-layout { display: grid; grid-template-columns: 250px minmax(0, 780px); gap: 72px; justify-content: center; align-items: start; }

/* Table of contents: sticky sidebar on desktop, collapsible on mobile */
.g-toc-wrap { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; scrollbar-width: thin; }
.g-toc { border-top: 1px solid #E4E1F0; padding-top: 16px; }
.g-toc summary { list-style: none; cursor: default; font-size: 11px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; color: #8a8599; margin-bottom: 12px; }
.g-toc summary::-webkit-details-marker { display: none; }
.g-toc ol { list-style: none; margin: 0; padding: 0; }
.g-toc li a { display: flex; gap: 10px; padding: 7px 0 7px 12px; border-left: 2px solid #EEEBF6; font-size: 13.5px; line-height: 1.35; font-weight: 500; color: #5c5670; text-decoration: none; transition: color .2s, border-color .2s; }
.g-toc li a span { flex: none; width: 20px; font-weight: 700; color: #A7ABFF; font-variant-numeric: tabular-nums; }
.g-toc li a:hover { color: #540DEE; }
.g-toc li a.is-active { color: #540DEE; font-weight: 700; border-left-color: #FF6B6B; }
.g-toc-dl { display: inline-flex; gap: 8px; margin-top: 18px; padding: 10px 16px; border-radius: 999px; border: 1px solid #540DEE; color: #540DEE; font-size: 13px; font-weight: 700; text-decoration: none; }
.g-toc-dl:hover { background: rgba(84,13,238,.06); }

/* ---------- Article typography ---------- */
.g-article { font-size: 18.5px; line-height: 1.75; color: #3d3650; min-width: 0; }
.g-article p { margin: 0 0 20px; }
.g-article a:not(.btn) { color: #540DEE; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(84,13,238,.3); text-underline-offset: 3px; }
.g-article a:not(.btn):hover { text-decoration-color: #540DEE; }
.g-article strong { color: #17112D; }
.g-intro p:first-child { font-size: 22px; line-height: 1.55; color: #17112D; font-weight: 500; }
.g-sec { scroll-margin-top: 100px; padding-top: 30px; }
.g-sec + .g-sec, .g-intro + .g-sec { margin-top: 40px; border-top: 1px solid #EEEBF6; }
.g-sec h2 { display: flex; align-items: baseline; gap: 16px; margin: 26px 0 24px; font-size: clamp(30px, 3vw, 42px); font-weight: 800; line-height: 1.08; letter-spacing: -.04em; color: #17112D; }
.g-num { flex: none; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #F3F0FE; color: #540DEE; font-size: 15px; letter-spacing: 0; font-variant-numeric: tabular-nums; transform: translateY(-6px); }
.g-article h3 { margin: 38px 0 12px; font-size: 22px; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; color: #540DEE; }
.g-term { margin: 26px 0 6px !important; font-size: 18.5px; }
.g-term + p { margin-top: 0; }
.g-article ul { margin: 0 0 22px; padding: 0; list-style: none; }
.g-article ul li { position: relative; padding-left: 24px; margin: 8px 0; }
.g-article ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: #FF6B6B; }
.g-questions { counter-reset: q; margin: 4px 0 24px; padding: 0; list-style: none; }
.g-questions li { counter-increment: q; position: relative; padding: 12px 0 12px 52px; border-bottom: 1px solid #EEEBF6; font-weight: 500; color: #17112D; }
.g-questions li::before { content: counter(q); position: absolute; left: 0; top: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #540DEE; color: #fff; font-size: 14px; font-weight: 800; }

.g-callout { margin: 30px 0 !important; padding: 4px 0 4px 24px; border-left: 3px solid #FF6B6B; font-size: clamp(21px, 2vw, 25px); line-height: 1.4; letter-spacing: -.015em; color: #17112D; }
.g-callout strong { font-weight: 800; }
.g-formula { margin: 22px 0 !important; padding: 22px 26px; border-radius: 16px; background: linear-gradient(135deg, #3A01AC, #540DEE); color: #fff; font-size: clamp(19px, 2vw, 24px); line-height: 1.35; text-align: center; font-variant-numeric: tabular-nums; }
.g-formula strong { color: #fff; font-weight: 800; }

/* Financial tables */
.g-table { margin: 22px 0 26px; border: 1px solid #E4E1F0; border-radius: 16px; overflow: hidden; }
.g-table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.g-table thead th { padding: 13px 20px; background: #540DEE; color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; text-align: left; }
.g-table tbody th { padding: 14px 20px; font-weight: 500; color: #3d3650; text-align: left; }
.g-table td { padding: 14px 20px; font-weight: 700; color: #17112D; white-space: nowrap; }
.g-table .num { text-align: right; }
.g-table tbody tr + tr > * { border-top: 1px solid #EEEBF6; }
.g-table tbody tr:nth-child(even) > * { background: #FAF9FC; }
.g-table tr.total > * { border-top: 2px solid #540DEE !important; background: #F3F0FE !important; color: #540DEE; font-weight: 800; }

/* CTAs */
.g-cta { position: relative; overflow: hidden; margin: 48px 0; padding: 44px 46px; border-radius: 24px; color: #fff;
  background: radial-gradient(circle at 92% 8%, #6139FF 0, transparent 45%), linear-gradient(135deg, #3A01AC, #540DEE); }
.g-cta::after { content: ""; position: absolute; width: 320px; height: 320px; right: -140px; top: -160px; border: 2px solid #FF6B6B; border-radius: 50%; pointer-events: none; }
.g-cta h2 { position: relative; margin: 0 0 12px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; line-height: 1.12; letter-spacing: -.035em; color: #fff; }
.g-cta h2 span { color: #A7ABFF; }
.g-cta p { position: relative; max-width: 560px; margin: 0 0 26px; font-size: 17px; line-height: 1.6; color: #e9e1ff; }
.g-cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 14px; }
.g-cta .g-btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.6); background: transparent; }
.g-cta .g-btn-ghost:hover { background: rgba(255,255,255,.12); }
.g-speak { margin: 26px 0 !important; }

/* PDF download */
.g-download { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 34px; align-items: center; margin: 48px 0; padding: 34px; border-radius: 24px; background: #F5F3FE; border: 1px solid #E7E2FB; scroll-margin-top: 100px; }
.g-download-cover img { display: block; width: 100%; height: auto; border-radius: 6px; transform: rotate(-3deg); box-shadow: 0 20px 40px rgba(46,0,140,.25); }
.g-download h2 { margin: 12px 0 10px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; color: #17112D; }
.g-download p { margin: 0 0 22px; font-size: 16.5px; line-height: 1.6; }
.g-download-meta { margin: 12px 0 0 !important; font-size: 13px !important; color: #8a8599; }

/* Author */
.g-author { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 22px; margin: 48px 0; padding: 30px 0; border-top: 1px solid #E4E1F0; border-bottom: 1px solid #E4E1F0; }
.g-author-mark { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, #540DEE, #7B73FF); color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.g-author-name { margin: 10px 0 0 !important; font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: #17112D; }
.g-author-role { margin: 0 0 10px !important; font-size: 14px; font-weight: 600; color: #7B73FF; }
.g-author p:last-of-type { font-size: 16.5px; line-height: 1.6; }
.g-link { font-size: 15px; }

/* Related + disclaimer */
.g-related { margin: 40px 0; }
.g-related ul { margin-top: 14px !important; }
.g-related li { font-size: 16.5px; }
.g-disclaimer { margin-top: 40px !important; padding: 18px 22px; border-radius: 12px; background: #FAF9FC; font-size: 14px !important; line-height: 1.6 !important; color: #6E6A80; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .g-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 48px; }
  .g-hero-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; }
}
@media (max-width: 900px) {
  .g-hero-grid { grid-template-columns: 1fr; }
  .g-hero-cover { display: none; }
  .g-main { padding: 50px 0 90px; }
  .g-layout { grid-template-columns: 1fr; gap: 0; }
  .g-toc-wrap { position: sticky; top: 78px; z-index: 20; max-height: none; overflow: visible; margin: 0 -5vw 26px; padding: 0 5vw; }
  .g-toc { border: 1px solid #E4E1F0; border-radius: 14px; padding: 0; background: #fff; box-shadow: 0 10px 30px rgba(46,0,140,.08); }
  .g-toc summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 15px 18px; font-size: 12px; color: #540DEE; }
  .g-toc summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid #540DEE; border-bottom: 2px solid #540DEE; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
  .g-toc[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
  .g-toc ol { max-height: 55vh; overflow-y: auto; padding: 0 18px 6px; }
  .g-toc-dl { margin: 6px 18px 16px; }
}
@media (max-width: 640px) {
  .g-hero .g-sub { font-size: 19px !important; }
  .g-hero .g-lede { font-size: 16.5px !important; }
  .g-meta { font-size: 12.5px; gap: 6px 20px; }
  .g-article { font-size: 17px; }
  .g-intro p:first-child { font-size: 19px; }
  .g-sec h2 { gap: 12px; }
  .g-num { width: 38px; height: 38px; font-size: 13px; transform: translateY(-3px); }
  .g-table table { font-size: 14.5px; }
  .g-table thead th, .g-table tbody th, .g-table td { padding: 12px 14px; }
  .g-table td { white-space: normal; }
  .g-cta { padding: 32px 24px; }
  .g-download { grid-template-columns: 1fr; padding: 26px 22px; gap: 18px; }
  .g-download-cover { width: 120px; }
  .g-author { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
  .g-author-mark { width: 56px; height: 56px; font-size: 18px; }
  .g-actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .g-hero-cover img, .g-download-cover img { transform: none; }
  html { scroll-behavior: auto !important; }
}
@media print {
  .px-header, .g-toc-wrap, .g-cta, .g-download, .px-footer, .g-hero-cover, .g-actions { display: none !important; }
  .g-layout { display: block; }
}

/* ---------- Download gate (email first) ---------- */
button.g-toc-dl { background: transparent; font-family: inherit; cursor: pointer; }
button.btn { font-family: inherit; cursor: pointer; }
.g-gate { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: #3d3650;
  box-shadow: 0 40px 100px rgba(23,17,45,.45); overflow: auto; }
.g-gate::backdrop { background: rgba(23,17,45,.62); backdrop-filter: blur(3px); }
.g-gate[open] { animation: gGateIn .35s cubic-bezier(.22,1,.36,1); }
@keyframes gGateIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.g-gate-in { display: grid; grid-template-columns: 210px minmax(0, 1fr); }
.g-gate-cover { display: flex; align-items: center; justify-content: center; padding: 34px 26px; background: radial-gradient(circle at 80% 10%, #6139FF 0, transparent 50%), linear-gradient(160deg, #3A01AC, #540DEE); }
.g-gate-cover img { width: 100%; height: auto; border-radius: 6px; transform: rotate(-4deg); box-shadow: 0 20px 40px rgba(23,17,45,.45); }
.g-gate-body { padding: 38px 38px 30px; }
.g-gate h2 { margin: 12px 0 8px; font-size: 28px; font-weight: 800; line-height: 1.1; letter-spacing: -.035em; color: #17112D; }
.g-gate-lead { margin: 0 0 20px; font-size: 15.5px; line-height: 1.55; }
.g-field { margin-bottom: 14px; }
.g-field label { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #17112D; }
.g-field label em { font-style: normal; font-weight: 600; letter-spacing: .04em; text-transform: none; color: #8a8599; }
.g-field .req { color: #FF6B6B; }
.g-field input { width: 100%; box-sizing: border-box; padding: 13px 14px; border: 1px solid #DCD7E6; border-radius: 12px; background: #FCFBFE; font: inherit; font-size: 16px; color: #17112D; outline: none; transition: border-color .2s, box-shadow .2s; }
.g-field input:focus { border-color: #540DEE; box-shadow: 0 0 0 3px rgba(84,13,238,.14); }
.g-field input[aria-invalid="true"] { border-color: #FF6B6B; box-shadow: 0 0 0 3px rgba(255,107,107,.18); }
.g-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g-check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; font-size: 14.5px; line-height: 1.45; color: #3d3650; cursor: pointer; }
.g-check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #540DEE; }
.g-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.g-gate-submit { width: 100%; justify-content: center; font-weight: 700; font-size: 15.5px; padding: 15px 24px; border: 0; }
.g-gate-submit[disabled] { opacity: .7; cursor: progress; }
.g-gate-status { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.g-gate-status.err { background: #FFF1F1; color: #B42318; }
.g-gate-privacy { margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: #8a8599; }
.g-gate-privacy a, .g-gate-next a { color: #540DEE; font-weight: 600; }
.g-gate-done p { font-size: 15.5px; line-height: 1.55; margin: 0 0 20px; }
.g-gate-done .btn { font-weight: 700; padding: 15px 24px; text-decoration: none; }
.g-gate-next { margin-top: 20px !important; font-size: 14.5px !important; }
.g-gate-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border: 1px solid #DCD7E6; border-radius: 50%; background: #fff; cursor: pointer; }
.g-gate-close span { position: absolute; left: 11px; right: 11px; top: 50%; height: 2px; margin-top: -1px; background: #17112D; border-radius: 2px; transform: rotate(45deg); }
.g-gate-close span + span { transform: rotate(-45deg); }
html.g-gate-lock { overflow: hidden; }
@media (max-width: 640px) {
  .g-gate { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .g-gate-in { grid-template-columns: 1fr; }
  .g-gate-cover { display: none; }
  .g-gate-body { padding: 64px 22px 30px; }
  .g-two { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { .g-gate[open] { animation: none; } }

/* ---------- Bonus: Business Sale Readiness Checklist ---------- */
.g-bonus-pill { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 18px 12px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 16px;
  background: rgba(23,17,45,.28); color: #fff; font: inherit; font-size: 14.5px; line-height: 1.4; text-align: left; cursor: pointer; transition: background .2s, border-color .2s; max-width: 640px; }
.g-bonus-pill:hover { background: rgba(23,17,45,.42); border-color: rgba(255,255,255,.6); }
.g-bonus-pill b { color: #fff; }
.g-bonus-star { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #FF6B6B; color: #fff; font-size: 16px; }
.g-bonus-arrow { flex: none; color: #FF6B6B; font-weight: 800; }

.g-bonus { position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 44px; margin: 52px 0; padding: 40px; border-radius: 28px; overflow: hidden; scroll-margin-top: 100px;
  color: #fff; background: radial-gradient(circle at 12% 18%, #6139FF 0, transparent 42%), linear-gradient(140deg, #2E008C, #540DEE 70%, #6139FF); }
.g-bonus::after { content: ""; position: absolute; width: 380px; height: 380px; right: -170px; bottom: -200px; border: 2px solid #FF6B6B; border-radius: 50%; pointer-events: none; }
.g-bonus-visual { position: relative; align-self: start; min-height: 360px; }
.g-bonus-sheet { position: absolute; left: 34px; top: 6px; width: 230px; height: auto; border-radius: 6px; transform: rotate(5deg); box-shadow: 0 24px 50px rgba(23,17,45,.45); }
.g-bonus-cover { position: absolute; left: 0; top: 70px; width: 190px; height: auto; border-radius: 6px; transform: rotate(-6deg); box-shadow: 0 24px 50px rgba(23,17,45,.5); }
.g-bonus-badge { position: absolute; z-index: 3; left: 190px; top: -6px; display: grid; place-items: center; width: 82px; height: 82px; border-radius: 50%; background: #FF6B6B; color: #fff;
  font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-12deg); box-shadow: 0 10px 24px rgba(255,107,107,.45); }
.g-bonus-copy { position: relative; z-index: 1; min-width: 0; }
.g-bonus-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #FF6B6B; color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.g-bonus h2 { margin: 16px 0 12px; font-size: clamp(30px, 3vw, 40px); font-weight: 800; line-height: 1.05; letter-spacing: -.04em; color: #fff; }
.g-article .g-bonus p { color: #e9e1ff; }
.g-bonus-lead { font-size: 17px !important; line-height: 1.6 !important; margin-bottom: 18px !important; }
.g-article .g-bonus ul.g-bonus-list { margin: 0 0 16px; }
.g-article .g-bonus ul.g-bonus-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0 10px 0; margin: 0; border-top: 1px solid rgba(255,255,255,.16); }
.g-article .g-bonus ul.g-bonus-list li::before { display: none; }
.g-bonus-list b { display: block; font-size: 16px; color: #fff; line-height: 1.3; }
.g-bonus-list div span { display: block; font-size: 14px; line-height: 1.45; color: #cfc6ff; }
.g-tick { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; background: #fff; position: relative; }
.g-tick::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #540DEE; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.g-bonus-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px !important; }
.g-bonus-facts span { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); font-size: 13px; font-weight: 700; color: #fff; }
.g-bonus-dl { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.22); }
.g-bonus-dl h3 { margin: 0 0 8px !important; font-size: 22px !important; color: #fff !important; }
.g-bonus-dl p { font-size: 15.5px; line-height: 1.6; margin-bottom: 18px; }
.g-bonus-dl .btn { font-weight: 700; font-size: 15px; padding: 15px 24px; border: 0; }
.g-article .g-bonus .g-download-meta { color: #cfc6ff !important; }

.g-bonus-inline { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0 !important; padding: 6px 12px; border-radius: 999px; background: #FF6B6B; color: #fff !important; font-size: 12px !important; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.g-toc-bonus { margin: 10px 0 0; font-size: 12.5px; font-weight: 700; color: #FF6B6B; }

.g-gate-bonus { display: flex; gap: 12px; align-items: flex-start; margin: -4px 0 18px; padding: 12px 14px; border-radius: 12px; background: #FFF3F1; border: 1px solid #FFD6D2; }
.g-gate-bonus-star { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #FF6B6B; color: #fff; font-size: 13px; }
.g-gate-bonus b { display: block; font-size: 14px; color: #17112D; }
.g-gate-bonus span { display: block; font-size: 13px; line-height: 1.45; color: #6E6A80; }
.g-gate-cover { position: relative; }
.g-gate-cover .g-gate-sheet { position: absolute; width: 62%; top: 14%; right: 6%; transform: rotate(6deg); box-shadow: 0 16px 30px rgba(23,17,45,.4); }
.g-gate-cover img:not(.g-gate-sheet) { position: relative; z-index: 1; }
.g-gate-cover .g-bonus-badge { left: auto; right: 14px; top: 18px; width: 64px; height: 64px; font-size: 11.5px; }

@media (max-width: 1100px) { .g-bonus { grid-template-columns: 1fr; } .g-bonus-visual { min-height: 300px; max-width: 320px; } }
@media (max-width: 640px) {
  .g-bonus { padding: 28px 22px; margin: 40px -5vw; border-radius: 0; }
  .g-bonus-visual { min-height: 250px; transform: scale(.82); transform-origin: left top; margin-bottom: -40px; }
  .g-bonus-pill { font-size: 13.5px; }
}
.g-star { display: inline-block; flex: none; vertical-align: -2px; }
.g-bonus-star .g-star { width: 16px; height: 16px; }
.g-bonus-visual { align-self: center; }
.g-bonus-facts span { font-size: 12.5px; }
@media (max-width: 640px) { .g-bonus-visual { margin-bottom: -10px; } }
.g-gate-bonus .g-gate-bonus-star { display: grid; place-items: center; } .g-gate-bonus .g-gate-bonus-star .g-star { width: 15px; height: 15px; }
/* bonus showcase + popup: single cover image (no checklist sheet / badge) */
.g-bonus-visual { min-height: 0; }
.g-bonus-cover { position: static; display: block; width: 100%; max-width: 260px; transform: rotate(-4deg); margin: 10px auto 0; }
@media (max-width: 1100px) { .g-bonus-visual { min-height: 0; } .g-bonus-cover { max-width: 200px; margin: 0; } }
@media (max-width: 640px) { .g-bonus-visual { transform: none; margin-bottom: 0; } .g-bonus-cover { max-width: 150px; } }

/* ---------- Align with the site type scale (body 18px/1.65; article H2 40px as on Insights articles) ---------- */
.g-article { font-size: 18px; line-height: 1.65; }
.g-term { font-size: 18px; }
.g-sec h2 { font-size: clamp(30px, 2.8vw, 40px); }
.g-hero h1 { line-height: .96; letter-spacing: -.055em; }
@media (max-width: 640px) { .g-article { font-size: 17px; } }

/* ---------- Specialist guides: card row in the main guide (after chapter 02) ---------- */
.g-spec h2 { display: block; }
.g-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.g-article a.g-spec-card { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 18px; border: 1px solid #E4E1F0; border-radius: 16px; background: #fff; text-decoration: none; color: inherit; font-weight: 400; transition: border-color .2s, box-shadow .2s, transform .2s; }
.g-article a.g-spec-card:hover { border-color: #CAC7FF; box-shadow: 0 10px 24px rgba(23,17,45,.07); transform: translateY(-2px); }
.g-spec-k { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #6E6A93; }
.g-spec-t { font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; color: #17112D; }
.g-spec-d { font-size: 15.5px; line-height: 1.55; color: #5c5670; }
.g-spec-go { margin-top: 6px; font-size: 14px; font-weight: 700; color: #540DEE; }
@media (max-width: 640px) { .g-spec-grid { grid-template-columns: 1fr; } }

/* ---------- Sector sub-guides ---------- */
.g-hero--sub { padding-bottom: 90px; }
.g-hero--sub .g-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
.g-hero-photo { margin: 56px 0 0; }
.g-hero-photo img { display: block; width: 100%; aspect-ratio: 7 / 5; object-fit: cover; border-radius: 26px; box-shadow: 0 30px 60px rgba(23,6,90,.35); }
.g-toc-main { margin-top: 18px; }
.g-cta--quiet { background: #F6F4FD !important; color: #17112D; }
.g-cta--quiet::after { border-color: #CAC7FF; }
.g-cta--quiet h2 { color: #17112D !important; }
.g-cta--quiet p { color: #4c4658 !important; }
.g-cta--quiet .g-btn-ghost { color: #540DEE !important; border-color: #540DEE !important; }
.g-cta--quiet .g-btn-ghost:hover { background: rgba(84,13,238,.06) !important; }
@media (max-width: 900px) {
  .g-hero--sub .g-hero-grid { grid-template-columns: 1fr; }
  .g-hero-photo { margin-top: 10px; max-width: 520px; }
}
.g-hero-photo img { height: auto !important; aspect-ratio: 7 / 5 !important; }
.g-spec-go { margin-top: auto !important; padding-top: 8px; }

/* TOC: specialist guides entry (between chapters 02 and 03) */
.g-toc li.g-toc-spec > a span { color: #FF6B6B; }
.g-toc .g-toc-sub { list-style: none; margin: 2px 0 6px 0; padding: 0 0 0 34px; border-left: 2px solid #EEEBF6; }
.g-toc .g-toc-sub li { margin: 0; padding: 0; }
.g-toc .g-toc-sub li::before { display: none; }
.g-toc .g-toc-sub a { display: block; padding: 4px 0; border-left: 0; font-size: 12.5px; color: #6E6A93; }
.g-toc .g-toc-sub a:hover { color: #540DEE; }

/* Supporting guides: related guides cards */
.g-relguides { margin: 52px 0 10px; padding-top: 34px; border-top: 1px solid #EEEBF6; }
.g-relguides h2 { margin: 10px 0 18px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; color: #17112D; }

/* Sector guides band: top of the guide, after the introduction, before the contents and chapter 1 */
.g-sectors { grid-column: 1 / -1; margin: 0 0 64px; padding: 0 0 52px; border-bottom: 1px solid #EEEBF6; }
.g-sectors h2 { margin: 10px 0 10px; font-size: clamp(28px, 2.8vw, 38px); font-weight: 800; line-height: 1.1; letter-spacing: -.04em; color: #17112D; }
.g-sectors > p { max-width: 720px; margin: 0 0 24px; font-size: 18px; line-height: 1.65; color: #4c4658; }
.g-sectors .g-spec-grid { margin-top: 0; }
.g-sectors a.g-spec-card { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 18px; border: 1px solid #E4E1F0; border-radius: 16px; background: #fff; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s, background .2s; }
.g-sectors a.g-spec-card:hover, .g-sectors a.g-spec-card:focus-visible { border-color: #540DEE; background: #FCFBFF; box-shadow: 0 12px 26px rgba(84,13,238,.08); transform: translateY(-2px); outline: none; }
.g-sectors a.g-spec-card:hover .g-spec-go span { transform: translateX(3px); }
.g-article a.g-spec-card:hover { border-color: #540DEE; }
@media (max-width: 900px) { .g-sectors { margin-bottom: 40px; padding-bottom: 36px; } }
@media (min-width: 901px) { .g-sectors { margin-bottom: -24px; } }

/* Sector guides → main guide: understated transition */
.g-sectors { border-bottom: 0; padding-bottom: 0; }
.g-sectors > p { margin: 0 0 12px; }
.g-sectors > p:last-of-type { margin-bottom: 26px; }
.g-transition { margin-top: 56px; padding-top: 40px; border-top: 1px solid #E4E1F0; max-width: 780px; }
.g-transition h2 { margin: 0 0 12px; font-size: clamp(24px, 2.3vw, 30px); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; color: #17112D; }
.g-transition p { margin: 0; font-size: 18px; line-height: 1.65; color: #4c4658; }
@media (min-width: 901px) { .g-sectors { margin-bottom: -16px; } }
@media (max-width: 900px) { .g-transition { margin-top: 40px; padding-top: 30px; } }

/* Opening: complete-guide heading + introduction (full width), sector guides move into the article */
.g-opening { grid-column: 1 / -1; max-width: 780px; margin: 0 0 -12px; padding: 0 0 52px; border-bottom: 1px solid #EEEBF6; }
.g-opening .g-transition { margin: 0 0 26px; padding: 0; border-top: 0; }
.g-opening .g-transition h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.08; letter-spacing: -.04em; margin-bottom: 16px; }
.g-opening .g-intro { font-size: 18.5px; line-height: 1.75; color: #3d3650; }
.g-opening .g-intro p { margin: 0 0 20px; }
.g-opening .g-intro p:last-child { margin-bottom: 0; }
.g-article .g-sectors { margin: 0; padding: 0; border: 0; scroll-margin-top: 100px; }
.g-article .g-sectors > p { font-size: 18px; }
.g-sectors + .g-sec { margin-top: 56px; border-top: 1px solid #EEEBF6; }
@media (max-width: 900px) { .g-opening { margin-bottom: 40px; padding-bottom: 36px; } }

/* Sector guides inside the opening, full-width panels under the intro */
.g-opening { max-width: none; }
.g-opening .g-transition, .g-opening .g-intro { max-width: 780px; }
.g-opening .g-sectors { grid-column: auto; margin: 48px 0 0; padding: 0; border: 0; scroll-margin-top: 100px; }
.g-opening .g-sectors h2 { font-size: clamp(22px, 2vw, 27px); letter-spacing: -.03em; margin: 8px 0 8px; }
.g-opening .g-sectors > p { max-width: 760px; font-size: 16px; line-height: 1.6; margin: 0 0 6px; }
.g-opening .g-sectors > p:last-of-type { margin-bottom: 22px; }
.g-opening .g-spec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.g-opening a.g-spec-card { padding: 16px 18px 15px; gap: 5px; }
.g-opening .g-spec-k { font-size: 10px; }
.g-opening .g-spec-t { font-size: 15.5px; line-height: 1.28; letter-spacing: -.015em; }
.g-opening .g-spec-d { font-size: 13.5px; line-height: 1.5; }
.g-opening .g-spec-go { font-size: 13px; }
@media (max-width: 1100px) { .g-opening .g-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .g-opening .g-spec-grid { grid-template-columns: 1fr; } }

/* Sector guides panel (option 3): soft band with one divided strip */
.g-opening .g-sectors { background: linear-gradient(135deg, #F4F2FF 0%, #FBF7FF 100%); border: 1px solid #ECE8FB !important; border-radius: 22px; padding: 30px 32px 28px !important; }
.g-opening .g-sectors .g-spec-grid { gap: 0; background: #fff; border: 1px solid #E6E2FA; border-radius: 16px; overflow: hidden; }
.g-opening .g-sectors a.g-spec-card { border: 0; border-radius: 0; border-left: 1px solid #EEEBF6; background: #fff; }
.g-opening .g-sectors a.g-spec-card:first-child { border-left: 0; }
.g-opening .g-sectors a.g-spec-card:hover { transform: none; box-shadow: none; background: #FAF8FF; }
@media (max-width: 1100px) { .g-opening .g-sectors a.g-spec-card:nth-child(odd) { border-left: 0; } .g-opening .g-sectors a.g-spec-card:nth-child(n+3) { border-top: 1px solid #EEEBF6; } }
@media (max-width: 600px) { .g-opening .g-sectors { padding: 24px 18px 20px !important; border-radius: 18px; } .g-opening .g-sectors a.g-spec-card { border-left: 0 !important; } .g-opening .g-sectors a.g-spec-card:nth-child(n+2) { border-top: 1px solid #EEEBF6; } }
