/* theme-gen: generated industry / use-case / hub pages (industries.py). Loaded after theme.css.
   Everything is scoped to .gx (the wrapper industries.py puts around each generated page body). */
.ch-missed-call { --accent: var(--c-missed); }
.gx { --accent: var(--m-blue); }
.gx.ch-sms { --accent: var(--c-sms); } .gx.ch-whatsapp { --accent: var(--c-wa); } .gx.ch-rcs { --accent: var(--c-rcs); }
.gx.ch-ivr { --accent: var(--c-ivr); } .gx.ch-voice-broadcast { --accent: var(--c-voice); } .gx.ch-missed-call { --accent: var(--c-missed); }

/* ---------- rhythm: tighter bands, fewer full-width borders ---------- */
.gx .band { padding-block: 88px; }
.gx .band--tight, .gx .gx-band--links { padding-block: 56px; }
.gx .band > .wrap.stack { gap: 28px !important; }
.gx .section-head { gap: 10px; }
.gx .section-head h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.032em; line-height: 1.12; }
.gx .section-head .lead { font-size: 17px; color: var(--m-text-2); }
.gx .band--tint { background: linear-gradient(180deg, rgba(15,23,42,.55), rgba(11,17,32,.35)); border-block: 1px solid var(--m-line); }
.gx .band--soft { background: radial-gradient(800px 360px at 100% 0%, rgba(99,102,241,.10), transparent 60%), radial-gradient(700px 300px at 0% 100%, rgba(34,211,238,.06), transparent 60%), var(--m-bg-2); border-block: 1px solid var(--m-line); }
.gx .gx-band--pains, .gx .gx-band--tpl, .gx .gx-band--tips { padding-top: 64px; }
.gx .gx-faq > .band { padding-block: 88px; }
.gx [id$="-title"] { scroll-margin-top: 96px; }

/* ---------- hero ---------- */
.gx .gx-hero .wrap { padding-block: 32px 56px; }
.gx .gx-hero h1 { font-size: clamp(34px, 4.4vw, 54px); }
.gx .gx-hero .pill .dot { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent), 0 0 12px var(--accent); }
.gx .gx-hero .tags { gap: 8px; }
.gx .gx-hero .tags .tag { font-size: 13px; padding: 5px 12px; background: rgba(148,163,184,.07); border: 1px solid var(--m-line-2); }
.gx .gx-hero .ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.gx .gx-hero__media { position: relative; }
.gx .gx-hero__media::before { content: ""; position: absolute; inset: 8% 6% 4% 2%; border-radius: 40%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 34%, transparent), transparent 75%), radial-gradient(60% 50% at 70% 30%, rgba(99,102,241,.28), transparent 70%); filter: blur(28px); }
.gx .gx-hero__media .hero-media { position: relative; }
.gx .hero-media img { filter: drop-shadow(0 28px 50px rgba(0,0,0,.55)) drop-shadow(0 0 1px rgba(148,163,184,.35)); }

/* ---------- brief: answer + key facts as one compact two-column block ---------- */
.gx .gx-brief { padding-block: 0 56px; position: relative; }
.gx .gx-brief__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; margin-top: -24px; position: relative; z-index: 2; }
.gx .gx-brief--toc .gx-brief__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.gx .gx-brief__main { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 84px; }
.gx .gx-brief .answer { max-width: none; padding: 22px 24px; border-radius: 18px; background: linear-gradient(160deg, rgba(30,41,74,.9), rgba(15,23,42,.92)); }
.gx .gx-brief .answer p { font-size: 16px; line-height: 1.62; }
.gx .gx-brief .updated { font-size: 13px; padding-left: 4px; }
.gx .gx-brief__side { background: linear-gradient(180deg, rgba(19,28,49,.85), rgba(15,23,42,.85)); border: 1px solid var(--m-line); border-radius: 18px; padding: 22px 24px 10px; display: flex; flex-direction: column; gap: 12px; }
.gx .gx-brief--toc .gx-brief__side { padding: 20px; }
.gx .gx-brief__side .section-head h2 { font-size: 13px; font-family: var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--m-cyan); font-weight: 700; }
.gx .gx-brief .facts { grid-template-columns: 1fr; border-top: 0; }
.gx .gx-brief .facts > div { grid-template-columns: 132px 1fr; padding: 10px 0; font-size: 14.5px; line-height: 1.5; }
.gx .gx-brief .facts > div:last-child { border-bottom: 0; }
.gx .gx-brief .facts dt { font-size: 13px; padding-top: 1px; }
.gx .gx-brief .facts dd { color: var(--m-text); }
.gx .gx-brief .facts dd a { color: var(--m-blue-2); }
.gx-toc { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gx-toc__h { width: 100%; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--m-text-2); }
.gx-toc a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; text-decoration: none;
  color: var(--m-strong); background: rgba(148,163,184,.06); border: 1px solid var(--m-line-2); transition: border-color .15s, background .15s; }
.gx-toc a:hover { border-color: color-mix(in srgb, var(--accent) 70%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent); color: #fff; }
.gx-brief--toc .gx-toc { flex-direction: column; align-items: stretch; gap: 6px; }
.gx-brief--toc .gx-toc a { border-radius: 10px; justify-content: space-between; }
.gx-brief--toc .gx-toc a::after { content: "↓"; color: var(--m-text-2); font-weight: 400; }

/* ---------- problems: numbered, accent rule ---------- */
.gx .gx-pain { position: relative; padding: 22px 22px 22px 22px; gap: 8px; background: linear-gradient(180deg, rgba(19,28,49,.7), rgba(15,23,42,.4)); }
.gx .gx-pain::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 1px; background: linear-gradient(90deg, rgba(251,113,133,.7), transparent); }
.gx .gx-pain__n { font: 700 13px var(--font-mono, ui-monospace); color: #FDA4AF; letter-spacing: .06em; }
.gx .gx-benefit .tile { width: 36px; height: 36px; border-radius: 10px; background: rgba(52,211,153,.12); color: var(--m-good); border-color: rgba(52,211,153,.28); }

/* ---------- use cases ---------- */
.gx .gx-uc { gap: 10px; }
.gx .gx-uc .tag, .gx .gx-uc .card-head .tag { background: color-mix(in srgb, var(--accent) 14%, transparent); color: color-mix(in srgb, var(--accent) 60%, white); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); font-size: 12px; }
.gx .gx-out { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--m-line-2); font-weight: 600; }

/* ---------- templates: message previews ---------- */
.gx .gx-tpls { align-items: stretch; }
.gx .card.tpl { padding: 0; gap: 0; overflow: hidden; border-radius: 18px; background: #0B1222; border: 1px solid var(--m-line-2); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.gx .tpl__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--m-line); background: rgba(19,28,49,.9); }
.gx .tpl__ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--accent) 20%, transparent); color: color-mix(in srgb, var(--accent) 65%, white); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.gx .tpl__ic .ico { width: 18px; height: 18px; }
.gx .tpl__meta { display: flex; flex-direction: column; min-width: 0; flex: 1; gap: 1px; }
.gx .tpl__meta .title { font-size: 15px; font-weight: 700; color: var(--m-strong); line-height: 1.3; }
.gx .tpl__cat { font-size: 12px; color: var(--m-text-2); }
.gx .tpl__copy { flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(148,163,184,.08); color: var(--m-strong); border: 1px solid var(--m-line-2); font: 600 13px var(--font-body); cursor: pointer; }
.gx .tpl__copy:hover { background: var(--m-grad); border-color: transparent; color: #fff; }
.gx .tpl__copy:focus-visible { outline: 2px solid var(--m-cyan); outline-offset: 2px; }
.gx .tpl__screen { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 16px 20px; }
.gx .tpl__day { align-self: center; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--m-text-2); background: rgba(148,163,184,.08); padding: 3px 10px; border-radius: 999px; }
.gx .tpl__bubble { position: relative; max-width: 94%; border-radius: 4px 16px 16px 16px; padding: 10px 12px 8px; background: #1E293B; color: #E2E8F0; box-shadow: 0 1px 0 rgba(255,255,255,.04) inset; }
.gx .tpl__bubble .tpl__text { all: unset; display: block; white-space: pre-wrap; word-break: break-word; font: 14px/1.55 var(--font-body); color: inherit; }
.gx .tpl__time { display: block; text-align: right; font-size: 11px; color: rgba(226,232,240,.55); margin-top: 4px; }
.gx .tpl__time b { color: #53BDEB; font-weight: 600; letter-spacing: -2px; margin-left: 2px; }
.gx .tpl__text .v { color: #93C5FD; background: rgba(59,130,246,.16); border-radius: 5px; padding: 0 3px; font-family: var(--font-mono, ui-monospace); font-size: .88em; }
.gx .tpl__text i { font-size: 0; font-style: normal; }
/* WhatsApp (dark mode chat) */
.gx .tpl--wa .tpl__screen { background: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1.4px) 0 0 / 14px 14px, #0B141A; }
.gx .tpl--wa .tpl__day { background: #182229; color: #8696A0; }
.gx .tpl--wa .tpl__bubble { background: #202C33; color: #E9EDEF; }
.gx .tpl--wa .tpl__text .v { color: #7DD3A8; background: rgba(52,211,153,.14); }
.gx .tpl--wa .tb { display: inline-block; width: 100%; margin-top: 8px; border-top: 1px solid rgba(233,237,239,.10); }
.gx .tpl--wa .tb .b { display: inline-block; width: 100%; padding: 8px 0 2px; text-align: center; color: #53BDEB; font-weight: 600; font-size: 14px; }
.gx .tpl--wa .tb .b + .b { border-top: 1px solid rgba(233,237,239,.10); padding-top: 8px; }
/* SMS / missed-call auto-reply */
.gx .tpl--sms .tpl__screen { background: linear-gradient(180deg, #0E1628, #0B1222); }
.gx .tpl--sms .tpl__bubble { background: #263248; border-radius: 18px 18px 18px 6px; }
.gx .tpl--sms .tb .b { display: inline-block; margin: 6px 6px 0 0; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--m-line-2); font-size: 13px; color: var(--m-blue-2); }
/* RCS rich card */
.gx .tpl--rcs .tpl__screen { background: linear-gradient(180deg, #110F26, #0B1222); }
.gx .tpl__bubble--card { width: 100%; max-width: 100%; padding: 0; overflow: hidden; border-radius: 16px; background: #1B2034; }
.gx .tpl__media { height: 74px; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.28) 0 22px, transparent 23px), radial-gradient(circle at 10% 120%, rgba(255,255,255,.18) 0 44px, transparent 45px), linear-gradient(135deg, #4A3BC4, #8E7CF0 60%, #B9AEFA); }
.gx .tpl__media .ico { width: 30px; height: 30px; }
.gx .tpl__bubble--card .tpl__text { padding: 12px 14px 14px; }
.gx .tpl--rcs .rt { font-weight: 700; color: #fff; font-size: 15px; }
.gx .tpl--rcs .rb { color: #CBD5E1; }
.gx .tpl--rcs .tb { display: inline-block; width: 100%; margin-top: 4px; }
.gx .tpl--rcs .tb .b { display: inline-block; margin: 6px 6px 0 0; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(167,139,250,.5); color: #C4B5FD; font-weight: 600; font-size: 13px; }
.gx .tpl--rcs .tpl__text .v { color: #C4B5FD; background: rgba(167,139,250,.16); }
/* IVR / voice broadcast: audio prompt */
.gx .tpl--voice .tpl__screen { background: linear-gradient(180deg, #121426, #0B1222); align-items: stretch; }
.gx .tpl__audio { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(148,163,184,.07); border: 1px solid var(--m-line); }
.gx .tpl__audio .play { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--accent); color: #0B1120; box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 50%, transparent); }
.gx .tpl__audio .play .ico { width: 17px; height: 17px; }
.gx .tpl__audio .bars { flex: 1; display: flex; align-items: center; justify-content: space-between; height: 26px; }
.gx .tpl__audio .bars i { width: 3px; border-radius: 2px; background: color-mix(in srgb, var(--accent) 70%, white); opacity: .8; }
.gx .tpl__audio .dur { font: 600 12px var(--font-mono, ui-monospace); color: var(--m-text-2); }
.gx .tpl--voice .tpl__text { all: unset; display: block; white-space: pre-wrap; word-break: break-word; font: 14.5px/1.65 var(--font-body); color: #E2E8F0; padding: 2px 4px 0 14px; border-left: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.gx .tpl--voice .tpl__text .k { color: #0B1120; background: color-mix(in srgb, var(--accent) 85%, white); border-radius: 6px; padding: 0 5px; font-weight: 700; white-space: nowrap; }
.gx .tpl--voice .tpl__text .v { color: #FDE68A; background: rgba(251,191,36,.14); }
.gx .gx-note { padding-left: 2px; }

/* ---------- how it works ---------- */
.gx .gx-how { display: flex; flex-direction: column; gap: 16px; }
.gx .gx-how .steps { counter-reset: none; gap: 14px; position: relative; }
.gx .gx-how .steps li { padding: 20px; gap: 8px; background: linear-gradient(180deg, rgba(19,28,49,.95), rgba(15,23,42,.95)); }
.gx .gx-how .steps .n { width: 32px; height: 32px; font-size: 14px; }
.gx .gx-how .steps strong { font-size: 16px; }
.gx .gx-how__side { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.gx .gx-how__side .card { padding: 18px 20px; gap: 8px; background: rgba(15,23,42,.6); border-color: var(--m-line); }
.gx .gx-how__side .title { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.gx .gx-how__side .title .ico { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: rgba(34,211,238,.12); color: var(--m-cyan); flex: none; }
.gx .gx-how__side .text { font-size: 14px; line-height: 1.6; }
@media (min-width: 900px) {
  .gx .gx-how .steps::before { content: ""; position: absolute; left: 36px; right: 36px; top: 36px; height: 1px; background: linear-gradient(90deg, transparent, rgba(96,165,250,.45), rgba(167,139,250,.45), transparent); z-index: 0; }
  .gx .gx-how .steps li { position: relative; z-index: 1; }
}

/* ---------- other channels: compact horizontal tiles ---------- */
.gx .gx-chgrid, .gx .gx-rel { gap: 12px; }
.gx .gx-chgrid .card, .gx .gx-rel .card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 4px; padding: 18px; align-content: start; }
.gx .gx-chgrid .card-head, .gx .gx-rel .card-head { grid-row: span 3; align-self: start; }
.gx .gx-chgrid .title, .gx .gx-rel .title { font-size: 15.5px; }
.gx .gx-chgrid .text, .gx .gx-rel .text { font-size: 13.5px; }
.gx .gx-chgrid .more, .gx .gx-rel .more { font-size: 13.5px; }
.gx .gx-rel a.card:not(:has(.card-head)) { grid-template-columns: 1fr; }
.gx a.card { transition: border-color .15s, box-shadow .15s, transform .15s; }
.gx a.card:hover { transform: translateY(-2px); }

/* ---------- FAQ: heading left, questions right ---------- */
@media (min-width: 980px) {
  .gx .gx-faq > .band > .wrap { display: grid !important; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px !important; align-items: start; }
  .gx .gx-faq .section-head { position: sticky; top: 96px; }
  .gx .gx-faq .narrow { max-width: none; }
}
.gx .gx-faq .section-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.gx .gx-faq .faq { border-top: 0; display: grid; gap: 10px; }
.gx .gx-faq .faq details { border: 1px solid var(--m-line); border-radius: 14px; background: rgba(15,23,42,.6); padding: 0 18px; transition: border-color .15s, background .15s; }
.gx .gx-faq .faq details[open] { border-color: rgba(96,165,250,.35); background: rgba(19,28,49,.9); }
.gx .gx-faq .faq summary { min-height: 56px; display: flex; align-items: center; font-size: 15.5px; padding-block: 12px; }
.gx .gx-faq .faq details p { padding-bottom: 16px; font-size: 15px; line-height: 1.65; }

/* ---------- related ---------- */
.gx .gx-more { padding-top: 4px; }
.gx .linkrow { gap: 8px; padding-top: 8px; border-top: 1px solid var(--m-line); }
.gx .linkrow a, .gx .band--tint .linkrow a, .gx .band--soft .linkrow a { background: transparent; border: 1px solid var(--m-line-2); color: var(--m-text); box-shadow: none; min-height: 38px; font-weight: 500; }
.gx .linkrow a::after { content: "→"; margin-left: 8px; color: var(--m-text-2); transition: transform .15s; }
.gx .linkrow a:hover { border-color: var(--m-blue-2); color: #fff; background: rgba(59,130,246,.10); }
.gx .tags--links a.tag, .gx .card .tags--links a.tag { background: rgba(148,163,184,.06); border: 1px solid var(--m-line-2); color: var(--m-text); min-height: 36px; font-weight: 500; }
.gx .tags--links a.tag:hover { background: color-mix(in srgb, var(--accent) 16%, transparent); border-color: color-mix(in srgb, var(--accent) 60%, transparent); color: #fff; }

/* ---------- best practices (use cases) ---------- */
.gx .gx-tips .card { padding: 22px 24px; gap: 14px; }
.gx .gx-tips .title { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.gx .gx-tips .title .ico { width: 30px; height: 30px; padding: 6px; border-radius: 9px; flex: none; }
.gx .gx-do .title .ico { background: rgba(52,211,153,.12); color: var(--m-good); }
.gx .gx-measure .title .ico { background: rgba(167,139,250,.14); color: var(--m-violet); }
.gx .gx-tips .ticks li { font-size: 14.5px; }

/* ---------- cross-channel: mix, journey, per-channel ---------- */
.gx .gx-mix .card .kicker { margin-left: auto; font-size: 12px; text-align: right; color: color-mix(in srgb, var(--accent) 60%, white); }
.gx .gx-top ul.text { font-size: 14px; }
.gx .gx-top .title a { text-decoration: none; }
.gx .gx-top .title a:hover { color: var(--m-cyan); }
.gx .gx-band--journey .timeline li { padding-right: 22px; }
.gx .gx-band--journey .timeline li::after { background: var(--m-bg); border-color: var(--m-cyan); box-shadow: 0 0 12px rgba(34,211,238,.5); }
.gx .gx-band--journey .timeline strong { color: var(--m-strong); }

/* ---------- hubs: modern directory ---------- */
.gx .gx-hubhero .wrap { padding-block: 32px 64px; }
.gx .gx-hubhero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px 48px; align-items: end; }
.gx .gx-hubhero h1 { font-size: clamp(34px, 4.4vw, 54px); }
.gx .gx-hubhero .answer { max-width: none; border-radius: 18px; padding: 20px 22px; }
.gx .gx-hubhero .answer p { font-size: 15.5px; line-height: 1.6; }
.gx .gx-pill { padding-left: 6px; }
.gx .gx-pill__ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 25%, transparent); color: color-mix(in srgb, var(--accent) 60%, white); }
.gx .gx-pill__ic .ico { width: 14px; height: 14px; }
.gx .gx-jump { position: sticky; top: 64px; z-index: 6; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; padding: 12px 0; background: rgba(7,11,22,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--m-line); }
.gx .gx-jump a { min-height: 38px; background: rgba(148,163,184,.06); border: 1px solid var(--m-line-2); color: var(--m-strong); font-weight: 500; }
.gx .gx-jump a:hover { border-color: color-mix(in srgb, var(--accent) 70%, transparent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.gx .gx-jump .n { background: rgba(148,163,184,.14); color: var(--m-text); }
.gx .group-block { scroll-margin-top: 140px; gap: 16px; }
.gx .h3-group { display: flex; align-items: center; gap: 10px; color: var(--m-strong); font-size: 13px; letter-spacing: .1em; }
.gx .h3-group::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--m-line-2), transparent); }
.gx .gx-count { min-width: 24px; height: 22px; padding: 0 7px; border-radius: 11px; display: inline-grid; place-items: center; font-size: 11.5px; letter-spacing: 0; color: var(--m-text-2); background: rgba(148,163,184,.1); }
.gx .gx-dir { gap: 12px; }
.gx .gx-dcard, .gx .gx-dir .card { position: relative; overflow: hidden; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 4px; padding: 18px; align-content: start; }
.gx .gx-dir .card-head { grid-row: span 3; align-self: start; }
.gx .gx-dir .title { font-size: 15.5px; line-height: 1.35; }
.gx .gx-dir .text { font-size: 13.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gx .gx-dir .more { font-size: 13px; margin-top: 4px; }
.gx .gx-dir .tile { position: relative; background: color-mix(in srgb, var(--accent) 16%, transparent); color: color-mix(in srgb, var(--accent) 55%, white); border-color: color-mix(in srgb, var(--accent) 32%, transparent); box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 22%, transparent); }
.gx .gx-dir .card::after { content: ""; position: absolute; width: 160px; height: 160px; left: -60px; top: -70px; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .2s;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 30%, transparent), transparent); }
.gx .gx-dir a.card:hover::after { opacity: 1; }
.gx .gx-dir--uc { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gx .gx-dir--uc .card { grid-template-columns: 1fr; }
.gx .gx-dir--uc .card-head { grid-row: auto; }
.gx .card.fit { border-top: 1px solid var(--m-line); position: relative; overflow: hidden; }
.gx .card.fit::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; }
.gx .card.fit--1::before { background: var(--m-good); box-shadow: 0 0 16px var(--m-good); }
.gx .card.fit--2::before { background: var(--m-blue); box-shadow: 0 0 16px var(--m-blue); }
.gx .card.fit--3::before { background: #64748B; }
.gx .card.fit .tags--links { margin-top: 6px; }
.gx .card.fit .tags--links a.tag { min-height: 32px; font-size: 13px; }
.gx .gx-band--jobs table { font-size: 15px; }
.gx .gx-band--jobs tbody th { white-space: nowrap; }
.gx .gx-band--jobs tbody th a { color: var(--m-strong); text-decoration: none; font-weight: 600; }
.gx .gx-band--jobs tbody th a:hover { color: var(--m-cyan); }
.gx .gx-tdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 10px; background: var(--accent, var(--m-blue)); box-shadow: 0 0 10px var(--accent, var(--m-blue)); vertical-align: middle; }
.gx .gx-band--jobs tbody tr:hover { background: rgba(148,163,184,.04); }

/* ---------- tablet ---------- */
@media (max-width: 980px) {
  .gx .gx-brief__grid, .gx .gx-brief--toc .gx-brief__grid, .gx .gx-hubhero__grid { grid-template-columns: minmax(0, 1fr); }
  .gx .gx-brief__main { position: static; }
}

/* ---------- phones ---------- */
@media (max-width: 700px) {
  .gx .band { padding-block: 60px; }
  .gx .gx-faq > .band { padding-block: 60px; }
  .gx .band--tight, .gx .gx-band--links { padding-block: 44px; }
  .gx .band > .wrap.stack { gap: 22px !important; }
  .gx .section-head h2 { font-size: 28px; }
  .gx .section-head .lead { font-size: 15.5px; }
  .gx .gx-hero .wrap { padding-block: 20px 40px; }
  .gx .gx-hero h1 { font-size: 33px; }
  .gx .gx-hero .lead { font-size: 16.5px; }
  .gx .gx-hero .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .gx .gx-hero .btn-row .btn { justify-content: center; padding-inline: 12px; min-height: 48px; }
  .gx .gx-hero .tags { flex-wrap: nowrap; overflow-x: auto; margin-inline: -24px; padding: 2px 24px 4px; scrollbar-width: none; }
  .gx .gx-hero .tags::-webkit-scrollbar { display: none; }
  .gx .gx-hero .tags .tag { white-space: nowrap; flex: none; }
  .gx .gx-hero .ticks { grid-template-columns: 1fr; }
  .gx .gx-hero__media::before { inset: 10% 10% 6% 6%; }
  .gx .gx-brief { padding-bottom: 40px; }
  .gx .gx-brief__grid { margin-top: -12px; gap: 14px; }
  .gx .gx-brief .answer { padding: 18px; }
  .gx .gx-brief .answer p { font-size: 15.5px; }
  .gx .gx-brief__side { padding: 18px 18px 6px; }
  .gx .gx-brief .facts > div { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .gx .gx-brief .facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
  .gx-toc { flex-wrap: nowrap; overflow-x: auto; margin-inline: -24px; padding: 0 24px 4px; scrollbar-width: none; }
  .gx-toc::-webkit-scrollbar { display: none; }
  .gx-toc a { flex: none; min-height: 40px; }
  .gx-toc__h { display: none; }
  .gx-brief--toc .gx-toc { flex-direction: row; margin-inline: -18px; padding-inline: 0; }
  .gx .gx-brief--toc .gx-brief__side { padding: 14px 18px; overflow: hidden; }
  .gx-brief--toc .gx-toc a { border-radius: 999px; }
  .gx-brief--toc .gx-toc a::after { display: none; }
  .gx .gx-brief--toc .gx-toc__h { display: block; }
  /* swipe rails instead of tall stacks */
  .gx .gx-rail { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -24px; padding: 4px 24px 14px; scroll-padding-inline: 24px; scrollbar-width: thin; scrollbar-color: rgba(148,163,184,.3) transparent; }
  .gx .gx-rail > * { scroll-snap-align: start; min-width: 0; }
  .gx .gx-pain { padding: 16px 18px; }
  .gx .gx-pains, .gx .gx-benefits { gap: 10px; }
  .gx .gx-benefit { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; padding: 16px; }
  .gx .gx-benefit .tile { grid-row: span 2; }
  .gx .gx-chgrid .card, .gx .gx-rel .card { padding: 14px 16px; }
  .gx .gx-chgrid .text { display: none; }
  .gx .gx-chgrid .card-head { grid-row: span 2; }
  .gx .gx-rel .text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .gx .gx-how .steps { grid-template-columns: 1fr; gap: 0; }
  .gx .gx-how .steps li { flex-direction: row; align-items: flex-start; flex-wrap: wrap; column-gap: 14px; row-gap: 4px; padding: 14px 0 14px; background: none; border: 0; border-radius: 0; border-bottom: 1px solid var(--m-line); }
  .gx .gx-how .steps li strong { flex: 1 1 calc(100% - 50px); min-width: 0; padding-top: 5px; }
  .gx .gx-how .steps li .d { flex: 1 1 100%; padding-left: 46px; }
  .gx .gx-faq .faq details { padding: 0 14px; }
  .gx .gx-faq .faq summary { font-size: 15px; }
  .gx .gx-dcard, .gx .gx-dir .card { grid-template-columns: 40px 1fr; padding: 14px 16px; }
  .gx .gx-dir .tile { width: 40px; height: 40px; }
  .gx .gx-dir .text { -webkit-line-clamp: 2; }
  .gx .gx-dir.gx-rail .card { grid-template-columns: 1fr; }
  .gx .gx-dir.gx-rail .card-head { grid-row: auto; }
  .gx .gx-jump { flex-wrap: nowrap; overflow-x: auto; top: 64px; margin-inline: -24px; padding: 10px 24px; scrollbar-width: none; }
  .gx .gx-jump a { flex: none; }
  .gx .gx-hubhero .wrap { padding-block: 20px 44px; }
  .gx .gx-hubhero h1 { font-size: 33px; }
  .gx .linkrow { gap: 6px; }
  .gx .linkrow a { min-height: 44px; }
  .gx .tags--links a.tag { min-height: 40px; }
  .gx .tpl__copy { min-height: 40px; }
  .gx .gx-band--jobs .table-wrap { overflow-x: auto; }
  .gx .gx-band--jobs table { font-size: 14px; }
  .gx .gx-band--jobs tbody th { white-space: normal; }
  .gx .gx-band--jobs thead { display: none; }
  .gx .gx-band--jobs table, .gx .gx-band--jobs tbody { display: block; }
  .gx .gx-band--jobs tbody tr { display: grid; gap: 4px; padding: 14px 16px; }
  .gx .gx-band--jobs tbody th, .gx .gx-band--jobs tbody td { padding: 0; border: 0; white-space: normal; }
  .gx .gx-band--jobs tbody td:nth-child(3) a { display: inline-flex; min-height: 36px; align-items: center; font-size: 13.5px; }
}

/* final UX: section heads, FAQ and cards match the hand-written pages */
.gx .section-head > h2::before { content: ""; display: block; width: 44px; height: 3px; border-radius: 3px; margin-bottom: 18px;
  background: linear-gradient(90deg, var(--m-blue), var(--m-cyan)); box-shadow: 0 0 16px rgba(34,211,238,.45); }
.gx .section-head--center > h2::before { margin-inline: auto; }
.gx .section-head:has(> .eyebrow) > h2::before, .gx .gx-brief__side .section-head > h2::before, .gx .cta-panel h2::before { display: none; }
.gx .gx-faq .faq details { border-color: rgba(148,163,184,.13); background: linear-gradient(180deg, rgba(30,41,66,.55), rgba(15,23,42,.55)); padding: 4px 20px; }
.gx .gx-faq .faq details[open] { border-color: rgba(96,165,250,.4); background: linear-gradient(180deg, rgba(59,130,246,.10), rgba(15,23,42,.55)); }
.gx .gx-faq .faq summary { font-size: 16px; font-weight: 600; }
.gx .card, .gx .steps li { border-radius: 18px; }
@media (max-width: 700px) { .gx .section-head > h2::before { margin-bottom: 14px; } }
