/* geo.css — GEO Studio.
 *
 * GEO Studio owns its <body> class like Interviewer and GrowthCanvas do: the main app's
 * themes never reach it. Paper is the default (and, for now, the only) theme, tuned to the
 * Growthguru.ai Creative palette (docs/mockups/creative/Growthguru Creative v5.html): ink
 * #0b1b36, violet accents, the #f3f7fd tint and #e3eaf6 lines. Everything below reads the
 * tokens, never a raw colour, so a second theme is one more token block (rule 5).
 */

body.geo-app.theme-paper {
  --bg: #ffffff;
  --bg-secondary: #f3f7fd;
  --bg-tertiary: #eef2f9;
  --bg-hover: #f3edff;
  --border: #e3eaf6;
  --border-strong: #c4b5fd;
  --text: #0b1b36;
  --text-secondary: #5b6680;
  --text-tertiary: #6b7590;
  --accent: #6d28d9;
  --accent-dark: #4c1d95;
  --accent-soft: #f3edff;
  --accent-mid: #a78bfa;
  --on-accent: #ffffff;
  --good: #047857;
  --good-soft: #ecfdf5;
  --good-border: #a7f3d0;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --warn-border: #fde68a;
  --bad: #b42318;
  --bad-soft: #fef3f2;
  --bad-border: #fecdca;
  --dot: #c9d3e6;
  --shadow: 0 24px 48px -38px rgba(10, 42, 94, .35);
  --shadow-lift: 0 28px 56px -30px rgba(10, 42, 94, .38);

  /* Growthguru.ai Creative brand set (docs/mockups/creative/Growthguru Creative v5.html):
     the front page and the GEO Studio bar. The hero is brand chrome, the same under every
     theme, like the violet site header above it. */
  --gg-ink: #0b1b36;
  --gg-violet: #4c1d95;
  --gg-violet-bright: #6d28d9;
  --gg-lilac: #c4b5fd;
  --gg-periwinkle: #a5b4fc;
  --gg-sky: #7dd3fc;
  --gg-hero-1: #0b3a8c;
  --gg-hero-2: #1d4ed8;
  --gg-hero-3: #4338ca;
  --gg-hero-4: #6d28d9;
  --gg-hero-glow: #a78bfa;
  --gg-on-hero: #ffffff;
  --gg-hero-lead: #e0e7ff;
  --gg-hero-shadow: rgba(15, 10, 60, .55);
  --gg-tint: #f3f7fd;
  --gg-line: #e3eaf6;
  --gg-muted: #5b6680;
}

/* Reports inherit the app's tokens in both light and dark themes. */
body.geo-app.theme-dark {
  --bg: #121827; --bg-secondary: #1b2437; --bg-tertiary: #253149; --bg-hover: #303252;
  --border: #3e4a62; --border-strong: #a78bfa; --text: #f1f5ff;
  --text-secondary: #c5cede; --text-tertiary: #aab7ce; --accent: #c4b5fd;
  --accent-dark: #ddd6fe; --accent-soft: #30264d; --accent-mid: #a78bfa;
  --on-accent: #151126; --good: #6ee7b7; --good-soft: #12382d; --good-border: #27654e;
  --warn: #fcd34d; --warn-soft: #382e19; --warn-border: #76602a;
  --bad: #fda4af; --bad-soft: #401c29; --bad-border: #88364c; --dot: #556580;
}
.insight-report { max-width: 1160px; }
.insight-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.insight-controls .btn { min-height: 44px; }
.project-workflow { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.project-workflow ol { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0; margin: 0; }
.project-workflow li { min-width: 0; position: relative; }
.project-workflow li + li { border-left: 1px solid var(--border); }
:where(#gs-app) .project-workflow a { color: var(--text-secondary); display: flex; align-items: center; gap: 10px; min-height: 84px; padding: 14px; text-decoration: none; border-bottom: 3px solid transparent; box-sizing: border-box; height: 100%; }
:where(#gs-app) .project-workflow a:hover { background: var(--bg-hover); color: var(--text); }
:where(#gs-app) .project-workflow a[aria-current="step"] { color: var(--accent); background: var(--accent-soft); border-bottom-color: var(--accent); }
.workflow-number { width: 28px; height: 28px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--border); color: var(--text-secondary); font-size: 13px; font-weight: 700; }
.project-workflow [aria-current="step"] .workflow-number { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.project-workflow b { display: block; font-size: 15px; line-height: 1.3; }
.project-workflow small { display: block; margin-top: 5px; font-size: 12px; color: var(--text-secondary); line-height: 1.35; }
.project-next { display: flex; justify-content: flex-end; padding: 10px 0; }
.project-next .btn { min-height: 48px; }
.audit-views { display: flex; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--border); }
:where(#gs-app) .audit-views a { color: var(--text-secondary); min-height: 44px; display: flex; align-items: center; text-decoration: none; border-bottom: 3px solid transparent; padding: 6px 0; }
:where(#gs-app) .audit-views a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 700; }
.audit-setup > summary, .project-report-details > summary { cursor: pointer; min-height: 44px; font-size: 18px; font-weight: 700; color: var(--text); padding: 8px 0; }
.audit-setup .qrow { margin: 12px 0; }
.audit-setup .audit-question-group { font-size: 16px; margin: 18px 0 8px; }
.audit-setup .insight-controls { margin-top: 20px; }
.project-report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project-report-card { display: flex; flex-direction: column; gap: 12px; }
.project-report-card h2 { font-size: 20px; }
.gs-head > .insight-controls { margin: 0; }
.project-report-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.project-report-card p { margin: 0; color: var(--text-secondary); }
.project-report-card .insight-controls { margin: auto 0 0; padding-top: 12px; }
.project-report-details .project-report-grid { margin-top: 18px; }
@media (max-width: 1000px) {
  :where(#gs-app) .project-workflow a { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 600px) {
  :where(#gs-app) .project-workflow a { padding: 10px 5px; align-items: center; text-align: center; min-height: 84px; gap: 6px; }
  .project-workflow small { display: none; }
  .project-workflow b { font-size: 12px; overflow-wrap: anywhere; }
  .project-workflow .workflow-number { width: 24px; height: 24px; font-size: 12px; }
  .project-report-grid { grid-template-columns: 1fr; }
}
.insight-card { padding: 26px; background: var(--bg); border: 1px solid var(--border); border-radius: 18px; margin-bottom: 20px; min-width: 0; }
.insight-card h2 { font-size: 23px; margin-bottom: 18px; }
.insight-card h3 { font-size: 17px; }
.insight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.insight-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.insight-bar { margin: 18px 0; }
.insight-bar > div:first-child { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; }
.insight-bar b { white-space: nowrap; }
.insight-track { height: 10px; border-radius: 8px; margin-top: 10px; background: var(--bg-tertiary); overflow: hidden; }
.insight-track span { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.insight-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.insight-checks article { border: 1px solid var(--border); padding: 20px; border-radius: 12px; }
.insight-checks h3 { margin: 12px 0; }
.insight-report blockquote { margin: 14px 0; padding: 10px 18px; border-left: 3px solid var(--accent-mid); background: var(--bg-secondary); color: var(--text); }
.insight-page { padding: 24px 0; border-bottom: 1px solid var(--border); }
.insight-report a, .insight-report blockquote { overflow-wrap: anywhere; }
.assessment-intro .eyebrow { margin-bottom: 12px; }
.assessment-summary { font-size: 19px; line-height: 1.7; max-width: 900px; }
.assessment-intro .btn { min-height: 48px; margin-top: 12px; }
.assessment-strength { padding: 18px 0; border-top: 1px solid var(--border); }
.assessment-strength:first-of-type { border-top: 0; }
.assessment-priority { display: flex; gap: 18px; padding: 24px 0; border-top: 1px solid var(--border); }
.assessment-priority:first-of-type { border-top: 0; }
.assessment-priority > div { min-width: 0; }
.assessment-priority .an { flex-shrink: 0; }
.assessment-priority h3 { font-size: 20px; }
.assessment-label { font-weight: 700; color: var(--text); margin-bottom: 4px; }
.assessment-evidence { margin-top: 12px; color: var(--text-secondary); }
.assessment-evidence > a { display: inline-block; min-height: 44px; padding: 8px 0; }
.assessment-coverage { padding: 24px 0; border-top: 1px solid var(--border); }
.assessment-coverage h3 { margin: 10px 0; overflow-wrap: anywhere; }
.assessment-indicator { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--text-secondary); }
.assessment-indicator::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.assessment-indicator.clear { color: var(--good); }
.assessment-indicator.partial { color: var(--warn); }
.assessment-indicator.not_seen::before { background: transparent; border: 2px solid currentColor; box-sizing: border-box; }
.insight-report details > summary { cursor: pointer; min-height: 44px; padding: 10px 0; }
.insight-question { border-bottom: 1px solid var(--border); padding: 10px 0; }
.insight-question summary span { display: block; margin-top: 6px; color: var(--text-secondary); }
.insight-action { display: flex; align-items: flex-start; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.insight-action .an { flex-shrink: 0; }
.insight-tasks { padding: 0; list-style: none; }
.insight-tasks label { display: flex; gap: 10px; align-items: center; min-height: 44px; cursor: pointer; }
.insight-tasks input { width: 20px; height: 20px; accent-color: var(--accent); flex-shrink: 0; }
#insight-status:not(:empty) { border: 1px solid var(--border); padding: 16px; margin-bottom: 20px; background: var(--bg); border-radius: 10px; }
@media (max-width: 720px) {
  .insight-grid, .insight-grid.three, .insight-checks { grid-template-columns: 1fr; }
  .insight-card { padding: 20px; }
  .insight-report .gs-head h1 { font-size: 30px; }
}

* { box-sizing: border-box; }
body.geo-app {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  background:
    radial-gradient(1100px 760px at 6% -8%, color-mix(in srgb, var(--accent) 10%, transparent) 0%, transparent 62%),
    radial-gradient(900px 700px at 100% 0%, color-mix(in srgb, var(--accent) 6%, transparent) 0%, transparent 58%),
    var(--bg-secondary);
}
/* App links only. Scoped with :where() so specificity stays at a bare `a`: page-wide, this
   rule beat sitefooter.css (navy links on the navy footer). */
:where(#gs-app) a { color: var(--accent); }
:where(#gs-app) a:hover { color: var(--accent-dark); }
.geo-app h1, .geo-app h2, .geo-app h3 { margin: 0; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.geo-app button, .geo-app input, .geo-app select, .geo-app textarea { font: inherit; }
.geo-app :focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* ── Site drawer ────────────────────────────────────────────────────────── */
/* sliding-menu.css paints the drawer with --bg-color, a main-app token this page does not
   define, so left alone it is transparent. Same treatment as pdm-workspace.css. */
.geo-app .side-menu { background-color: var(--bg-secondary); border-right: 1px solid var(--border); padding: 18px 18px 26px; color: var(--text); }
.geo-app .side-menu h2 { margin: 0 0 12px; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--text-secondary); }
.geo-app .side-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.geo-app .side-menu a { display: block; padding: 9px 10px; border-radius: 9px; color: var(--text); text-decoration: none; font-size: 14.5px; }
.geo-app .side-menu a:hover, .geo-app .side-menu a:focus-visible { background: color-mix(in srgb, var(--gg-violet) 10%, transparent); color: var(--gg-violet); }

/* ── App shell: GEO Studio's left menu beside its screens ──────────────── */
/* The violet site header above stays the Growthguru.ai menu; GEO Studio's own sections
   live in this sidebar. --header-h is the site header's height, which sliding-mnu.js
   keeps current, so the sidebar sticks directly under it. */
/* The body is a column so a short screen (the sign-in card) still puts the footer at the
   bottom of the window rather than halfway up it. */
body.geo-app { display: flex; flex-direction: column; }
.gs-shell { flex: 1 0 auto; }
.gs-shell.is-app { display: grid; grid-template-columns: 248px minmax(0, 1fr); align-items: start;
  transition: grid-template-columns .5s cubic-bezier(.2, .8, .2, 1); }
.gs-main { min-width: 0; }
.gs-side { width: 248px; position: sticky; top: var(--header-h, 72px); height: calc(100dvh - var(--header-h, 72px)); overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 20px 14px 16px; background: var(--bg); border-right: 1px solid var(--gg-line);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .35s ease; }
/* Overview is a full-width front page, so the menu steps aside: its column closes and it
   slides off to the left. Leaving Overview (Get started) reverses both, which is the
   slide-in. visibility follows the slide out so a hidden menu is not tabbable. */
.gs-shell.is-app.is-overview { grid-template-columns: 0 minmax(0, 1fr); }
.gs-shell.is-overview .gs-side { transform: translateX(-100%); opacity: 0; visibility: hidden;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .35s ease, visibility 0s linear .5s; }
/* A class `display` beats the UA's [hidden] rule, so the attribute needs restating. */
.gs-side[hidden], .gs-side-label[hidden] { display: none; }
.gs-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 6px; margin-bottom: 6px; color: var(--gg-ink); text-decoration: none; font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.gs-brand-tile { fill: var(--gg-violet); }
.gs-brand-ring { stroke: var(--on-accent); }
.gs-brand-dot { fill: var(--gg-lilac); }
.gs-side-label { padding: 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-tertiary); }
/* Workspace chooser (the Interviewer pattern): trigger with the current workspace, a menu
   of the person's workspaces, then Manage / Create. */
.gs-ws-switch { position: relative; display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.gs-ws-trigger { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-secondary); color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.gs-ws-trigger:hover:not([disabled]) { border-color: var(--border-strong); background: var(--bg-hover); }
.gs-ws-trigger[disabled] { cursor: default; opacity: .7; }
.gs-ws-mark { flex: none; width: 32px; height: 32px; border-radius: 10px; display: inline-grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--on-accent); background: linear-gradient(135deg, var(--gg-hero-2), var(--gg-violet-bright)); }
.gs-ws-copy { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.gs-ws-copy strong { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-ws-copy small { font-size: 12px; color: var(--text-secondary); }
.gs-ws-chevron { flex: none; color: var(--text-secondary); }
.gs-ws-menu { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; padding: 8px; border-radius: 16px; border: 1px solid var(--border); background: var(--bg); box-shadow: var(--shadow-lift); display: grid; gap: 2px; }
.gs-ws-menu[hidden] { display: none; }
.gs-ws-menu-head { padding: 6px 8px 8px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-tertiary); }
.gs-ws-option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border: 0; border-radius: 10px; background: transparent; color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.gs-ws-option:hover, .gs-ws-option.is-on { background: var(--bg-hover); }
.gs-ws-option .gs-ws-mark { width: 28px; height: 28px; font-size: 12px; border-radius: 8px; }
.gs-ws-option svg { flex: none; color: var(--accent); }
.gs-ws-menu-actions { display: grid; gap: 2px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--bg-tertiary); }
.gs-ws-menu-actions button { padding: 9px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--accent); font: inherit; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
.gs-ws-menu-actions button:hover { background: var(--bg-hover); }

/* Dialogs (native <dialog>): Manage workspace and New workspace */
.gs-modal { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--border); border-radius: 22px; background: var(--bg); color: var(--text); box-shadow: 0 40px 80px -30px rgba(10, 42, 94, .45); }
.gs-modal-wide { width: min(760px, calc(100vw - 32px)); }
.gs-modal::backdrop { background: color-mix(in srgb, var(--gg-ink) 45%, transparent); backdrop-filter: blur(3px); }
.gs-modal-body { display: flex; flex-direction: column; gap: 14px; padding: 26px 28px 28px; }
.geo-app .gs-modal h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 32px; line-height: 1.05; letter-spacing: -.01em; }
.gs-modal p { margin: 0; }
.gs-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.mw-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--bg-tertiary); }
.mw-head p { margin-top: 6px; }
.mw-head-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.gs-modal-x { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: var(--text-secondary); cursor: pointer; }
.gs-modal-x:hover { background: var(--bg-hover); color: var(--text); }
.mw-section h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.mw-section + .mw-section { padding-top: 14px; border-top: 1px solid var(--bg-tertiary); }

/* Workspace members (inside Manage workspace) */
.ws-person { display: flex; align-items: center; gap: 12px; }
.ws-person .gs-ws-mark { width: 34px; height: 34px; border-radius: 50%; font-size: 13px; }
.ws-act { text-align: right; width: 1%; white-space: nowrap; }
.ws-role { width: auto; min-width: 130px; padding: 8px 12px; }
.ws-sub { margin: 22px 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-tertiary); }
.gs-side-nav { display: flex; flex-direction: column; gap: 2px; }
.gs-side-nav a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: 10px; color: var(--text-secondary); text-decoration: none; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.gs-side-nav svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gs-side-nav a:hover { color: var(--gg-violet); background: var(--bg-hover); }
.gs-side-nav a[aria-current="page"] { color: var(--gg-violet); background: color-mix(in srgb, var(--gg-violet) 10%, transparent); }

@media (max-width: 900px) {
  /* The sidebar folds into a bar above the screen: sections scroll sideways. */
  .gs-shell.is-app { display: block; }
  .gs-shell.is-overview .gs-side { display: none; }
  .gs-shell.is-app:not(.is-overview) .gs-side { animation: gs-side-drop .4s cubic-bezier(.2, .8, .2, 1); }
  .gs-side { width: auto; position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 16px; border-right: 0; border-bottom: 1px solid var(--gg-line); }
  .gs-brand { margin: 0; font-size: 15px; }
  .gs-side-label { display: none; }
  .gs-ws-switch { margin: 0; flex: 1 1 200px; max-width: 280px; }
  .gs-ws-switch .gs-side-label { display: none; }
  .gs-side-nav { order: 3; flex: 1 0 100%; flex-direction: row; overflow-x: auto; }
  .gs-side-nav a { min-height: 40px; padding: 0 10px; }
}

/* ── Front page (signed out) ────────────────────────────────────────────── */
/* clip, not hidden: the tilted cards behind the hero card may poke past the column edge,
   and clip trims them without making the landing a scroll container. */
.gs-landing { display: block; overflow-x: clip; }
.gs-landing[hidden] { display: none; }

.gl-hero { position: relative; padding: clamp(48px, 6vw, 96px) clamp(16px, 4vw, 48px) calc(7vw + 40px); }
.gl-hero-bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 78% 40%, color-mix(in srgb, var(--gg-hero-glow) 35%, transparent) 0%, transparent 70%),
    linear-gradient(120deg, var(--gg-hero-1) 0%, var(--gg-hero-2) 30%, var(--gg-hero-3) 62%, var(--gg-hero-4) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7vw), 0 100%); }
.gl-hero-inner { position: relative; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.gl-hero-text { display: flex; flex-direction: column; align-items: flex-start; }
.geo-app .gl-title { font-size: clamp(38px, 4.4vw, 64px); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; color: var(--gg-on-hero); text-wrap: balance; margin: 0 0 clamp(16px, 1.8vw, 24px); }
.gl-script { display: inline-block; white-space: nowrap; font-family: Satisfy, cursive; font-weight: 400; font-size: 1.12em; letter-spacing: 0; line-height: 1;
  padding: .12em .14em .14em .22em; margin: -.12em 0 -.14em -.22em;
  background: linear-gradient(90deg, var(--gg-lilac) 0%, var(--gg-periwinkle) 55%, var(--gg-sky) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.gl-lead { margin: 0; max-width: 540px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; color: var(--gg-hero-lead); text-wrap: pretty; }
.gl-kicker { margin: 18px 0 0; font-size: clamp(17px, 1.4vw, 20px); font-weight: 800; color: var(--gg-lilac); }
.gl-ctas { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: clamp(24px, 2.8vw, 36px); }
.gl-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0; background: var(--bg); color: var(--gg-violet); font-size: 16px; font-weight: 700; cursor: pointer; white-space: nowrap; text-decoration: none; box-shadow: 0 14px 30px -12px var(--gg-hero-shadow); transition: transform .2s, box-shadow .2s; }
.gl-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px var(--gg-hero-shadow); }
.gl-cta-ghost { min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--gg-on-hero) 60%, transparent); background: transparent; color: var(--gg-on-hero); font-size: 15px; font-weight: 700; cursor: pointer; }
.gl-cta-ghost:hover { background: color-mix(in srgb, var(--gg-on-hero) 14%, transparent); }

/* The audit illustration: one answer card, two tilted cards behind it. */
.gl-visual { position: relative; justify-self: center; width: min(100%, 440px); margin: 24px 0; }
.gl-card { border-radius: 18px; background: var(--bg); }
.gl-card-back { position: absolute; inset: 0; border: 1px solid color-mix(in srgb, var(--gg-on-hero) 70%, transparent); }
.gl-card-b1 { background: color-mix(in srgb, var(--bg) 55%, transparent); transform: rotate(5deg) translate(22px, -10px); }
.gl-card-b2 { background: color-mix(in srgb, var(--bg) 28%, transparent); transform: rotate(10deg) translate(44px, -18px); }
.gl-card-front { position: relative; padding: 22px 22px 20px; box-shadow: 0 30px 60px -28px var(--gg-hero-shadow); transform: rotate(-1.5deg); animation: gl-float 7s ease-in-out infinite; color: var(--gg-ink); }
@keyframes gl-float { 0%, 100% { transform: rotate(-1.5deg) translateY(0); } 50% { transform: rotate(-1.5deg) translateY(-10px); } }
.gl-q { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 12px; background: var(--gg-tint); border: 1px solid var(--gg-line); }
.gl-q-label { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gg-violet-bright); }
.gl-q-text { font-size: 15px; font-weight: 600; line-height: 1.4; }
.gl-engines { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; }
.gl-engines li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 4px; border-bottom: 1px solid var(--gg-line); }
.gl-engines li:last-child { border-bottom: 0; }
.gl-engine { font-size: 14px; font-weight: 700; }
.gl-pill { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid; white-space: nowrap; }
.gl-pill.good { color: var(--good); background: var(--good-soft); border-color: var(--good-border); }
.gl-pill.bad { color: var(--bad); background: var(--bad-soft); border-color: var(--bad-border); }
.gl-score { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--gg-line); }
.gl-ring { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--gg-violet-bright) 0 50%, var(--bg-tertiary) 50% 100%); }
.gl-ring span { width: 44px; height: 44px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.gl-score-text { display: flex; flex-direction: column; font-size: 13px; color: var(--gg-muted); }
.gl-score-text strong { font-size: 15px; color: var(--gg-ink); }

/* Sections below the hero. Instrument Serif headings, as in the Creative pages. */
.gl-section { padding: clamp(56px, 7vw, 104px) clamp(16px, 4vw, 48px); scroll-margin-top: 72px; }
.gl-section-tint { background: linear-gradient(180deg, var(--bg) 0%, var(--gg-tint) 100%); }
.gl-inner { max-width: 1200px; margin: 0 auto; }
.gl-eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gg-violet-bright); }
.geo-app .gl-h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(34px, 4vw, 58px); line-height: 1; letter-spacing: -.01em; color: var(--gg-ink); max-width: 760px; text-wrap: balance; }
.gl-steps { list-style: none; margin: clamp(28px, 3.5vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.gl-step, .gl-tile { background: var(--bg); border: 1px solid var(--gg-line); border-radius: 20px; padding: 28px; box-shadow: 0 24px 48px -36px rgba(10, 42, 94, .35); }
.gl-step-n { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 800; color: var(--on-accent); background: linear-gradient(135deg, var(--gg-hero-2), var(--gg-violet-bright)); }
.geo-app .gl-step h3, .geo-app .gl-tile h3 { margin: 18px 0 8px; font-size: 19px; font-weight: 800; color: var(--gg-ink); letter-spacing: -.01em; }
.geo-app .gl-tile h3 { margin-top: 0; }
.gl-step p, .gl-tile p { margin: 0; color: var(--gg-muted); font-size: 15.5px; line-height: 1.55; }
.gl-tiles { margin-top: clamp(28px, 3.5vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

.gl-close { padding: 0 clamp(16px, 4vw, 48px) clamp(56px, 7vw, 104px); }
.gl-close-inner { max-width: 1200px; margin: 0 auto; border-radius: 28px; padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 56px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px;
  background:
    radial-gradient(50% 80% at 85% 20%, color-mix(in srgb, var(--gg-hero-glow) 35%, transparent) 0%, transparent 70%),
    linear-gradient(120deg, var(--gg-hero-1) 0%, var(--gg-hero-3) 60%, var(--gg-hero-4) 100%); }
.geo-app .gl-close .gl-h2 { color: var(--gg-on-hero); }
.gl-close p { margin: 0 0 8px; max-width: 560px; font-size: 18px; color: var(--gg-hero-lead); }

@media (max-width: 900px) {
  .gl-hero-inner { grid-template-columns: 1fr; }
  .gl-visual { width: min(100%, 400px); margin-top: 8px; }
}
@media (max-width: 560px) {
  .gl-card-b2 { display: none; }
  .gl-card-b1 { transform: rotate(4deg) translate(10px, -8px); }
  .gl-cta, .gl-cta-ghost { width: 100%; justify-content: center; }
  .gl-script { white-space: normal; }
}
@keyframes gs-side-drop { from { transform: translateY(-12px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .gs-shell.is-app, .gs-side, .gs-shell.is-overview .gs-side { transition: none; animation: none; }
  .gl-card-front { animation: none; }
  .gl-cta { transition: none; }
}

/* ── Layout ─────────────────────────────────────────────────────────────── */
.gs-wrap { max-width: 1200px; margin: 0 auto; padding: 48px 32px 96px; display: flex; flex-direction: column; gap: 24px; }
.gs-wrap.narrow { max-width: 960px; }
.gs-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
/* Page titles in Instrument Serif, as the Creative section headings. */
.geo-app .gs-head h1 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(38px, 4vw, 56px); line-height: 1; letter-spacing: -.01em; }
.gs-head p { margin: 12px 0 0; font-size: 17px; line-height: 1.5; color: var(--text-secondary); max-width: 680px; }
.gs-crumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--text-tertiary); flex-wrap: wrap; }
.gs-crumb a { color: var(--text-secondary); text-decoration: none; }
.gs-crumb a:hover { color: var(--accent); }
.row { display: flex; flex-wrap: wrap; gap: 20px; }
.col-main { flex: 3 1 560px; min-width: 0; }
.col-side { flex: 2 1 340px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* ── Primitives ─────────────────────────────────────────────────────────── */
.card { background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.card h2 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .2s, box-shadow .2s, transform .2s; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: var(--on-accent) !important; box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-primary:hover:not([disabled]) { background: var(--accent-dark); transform: translateY(-1px); }
.btn-secondary { background: var(--bg); border-color: var(--border); color: var(--text) !important; }
.btn-secondary:hover:not([disabled]) { background: var(--bg-hover); border-color: var(--border-strong); color: var(--accent-dark) !important; }
.btn-ghost { background: transparent; color: var(--text-secondary) !important; }
.btn-ghost:hover:not([disabled]) { background: var(--bg-tertiary); color: var(--text) !important; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--border); color: var(--text-secondary); background: var(--bg); white-space: nowrap; }
.pill.goal { border-color: color-mix(in srgb, var(--accent) 25%, var(--border)); color: var(--accent); background: var(--accent-soft); }
.pill.good { border-color: var(--good-border); color: var(--good); background: var(--good-soft); }
.pill.warn { border-color: var(--warn-border); color: var(--warn); background: var(--warn-soft); }
.muted { color: var(--text-secondary); }
.faint { color: var(--text-tertiary); }
.mono { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 13px; }
.num { font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.bar { height: 6px; border-radius: 3px; background: var(--bg-tertiary); overflow: hidden; }
.bar > span { display: block; height: 6px; border-radius: 3px; background: var(--accent); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .lbl { font-size: 14px; font-weight: 600; color: var(--text); }
.input, .textarea, .select { width: 100%; color: var(--text); background: var(--bg); border: 1px solid color-mix(in srgb, var(--border) 70%, var(--text-tertiary)); border-radius: 12px; padding: 11px 14px; line-height: 1.55; }
.textarea { resize: vertical; min-height: 120px; }
.input::placeholder, .textarea::placeholder { color: var(--text-tertiary); }
.input:focus, .textarea:focus, .select:focus { border-color: var(--accent); outline: 3px solid color-mix(in srgb, var(--accent) 18%, transparent); }
.seg { display: inline-flex; gap: 2px; padding: 4px; background: var(--bg-tertiary); border: 1px solid var(--border); border-radius: 999px; flex-wrap: wrap; }
.seg button { min-height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid transparent; background: transparent; color: var(--text-secondary); font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--bg); color: var(--accent); border-color: var(--border); box-shadow: 0 1px 2px rgba(20, 32, 43, .08); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.tabs button { min-height: 44px; padding: 0 14px; background: transparent; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--text-secondary); font-size: 15px; font-weight: 600; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.tw { overflow-x: auto; }
table.gs { border-collapse: collapse; width: 100%; font-size: 14px; }
table.gs th { text-align: left; font-size: 12px; font-weight: 600; color: var(--text-secondary); padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.gs td { padding: 13px 12px; border-bottom: 1px solid var(--bg-tertiary); vertical-align: middle; }
table.gs tr:last-child td { border-bottom: none; }
.switch { width: 48px; height: 28px; flex: none; border-radius: 14px; border: none; padding: 3px; cursor: pointer; display: inline-flex; align-items: center; background: var(--dot); justify-content: flex-start; }
.switch[aria-checked="true"] { background: var(--accent); justify-content: flex-end; }
.switch::after { content: ""; width: 22px; height: 22px; border-radius: 11px; background: var(--bg); box-shadow: 0 1px 2px rgba(20, 32, 43, .2); }
.empty { text-align: center; padding: 56px 24px; }
.empty h2 { font-size: 22px; }
.empty p { color: var(--text-secondary); max-width: 520px; margin: 10px auto 20px; }
.notice { display: flex; gap: 12px; align-items: flex-start; border-radius: 14px; padding: 14px 16px; border: 1px solid var(--border); background: var(--bg); font-size: 14px; }
.notice.warn { border-color: var(--warn-border); background: var(--warn-soft); }
.notice.good { border-color: var(--good-border); background: var(--good-soft); }
.notice.info { border-color: color-mix(in srgb, var(--accent) 25%, var(--border)); background: var(--accent-soft); }
.spinner { width: 18px; height: 18px; border-radius: 9px; border: 2px solid color-mix(in srgb, var(--accent) 25%, transparent); border-top-color: var(--accent); animation: gs-spin .8s linear infinite; flex: none; }
@keyframes gs-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

/* ── Projects ───────────────────────────────────────────────────────────── */
.strip { display: flex; flex-wrap: wrap; background: var(--bg); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.strip > div { flex: 1 1 220px; padding: 16px 20px; border-right: 1px solid var(--bg-tertiary); }
.strip > div:last-child { border-right: none; }
.strip .v { font-size: 24px; font-weight: 800; margin-top: 4px; letter-spacing: -.02em; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.pc { display: flex; flex-direction: column; gap: 18px; background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 26px; text-decoration: none; color: var(--text) !important; min-height: 250px; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s, border-color .2s; }
.pc:hover { border-color: var(--border-strong); box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.pc .big { font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--accent); }
.pc .foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--bg-tertiary); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.pc.new { border-style: dashed; border-color: var(--border-strong); background: color-mix(in srgb, var(--bg) 60%, transparent); align-items: center; justify-content: center; text-align: center; box-shadow: none; }
.plus { width: 48px; height: 48px; border-radius: 24px; background: var(--accent-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--accent); }

/* ── Review ─────────────────────────────────────────────────────────────── */
.fact { display: grid; grid-template-columns: minmax(120px, 170px) minmax(0, 1fr); gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--bg-tertiary); }
.fact:last-child { border-bottom: none; }
.fact > * { min-width: 0; overflow-wrap: anywhere; }
.brief-values { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.brief-values li { padding-left: 2px; white-space: normal; line-height: 1.6; }
.fact .qrow .input { min-width: 0; }
.fact .k { font-size: 13px; font-weight: 600; color: var(--text-secondary); padding-top: 2px; }
.fact .q { font-size: 13px; color: var(--text-tertiary); margin-top: 6px; font-style: italic; }
.fact.goal-row { background: color-mix(in srgb, var(--accent) 4%, var(--bg)); margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
.qrow { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.qrow .input { padding: 9px 12px; font-size: 14px; }
.ready { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; color: var(--gg-on-hero); border-radius: 22px; padding: 26px 30px;
  background: radial-gradient(50% 90% at 88% 20%, color-mix(in srgb, var(--gg-hero-glow) 35%, transparent) 0%, transparent 70%),
              linear-gradient(120deg, var(--gg-hero-1) 0%, var(--gg-hero-3) 60%, var(--gg-hero-4) 100%); }
.geo-app .ready h2 { color: var(--gg-on-hero); font-size: 21px; }
.ready p { margin: 6px 0 0; color: var(--gg-hero-lead); }
.ready .btn { background: var(--bg); color: var(--accent-dark) !important; min-height: 48px; box-shadow: 0 14px 30px -12px var(--gg-hero-shadow); }
.ready .btn:hover:not([disabled]) { background: var(--bg-tertiary); }

/* ── Project ────────────────────────────────────────────────────────────── */
.hero-n { font-size: 116px; font-weight: 700; line-height: .85; color: var(--accent); }
.stat { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--bg-tertiary); }
.stat:last-child { border-bottom: none; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--text-secondary); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.cell { display: inline-block; vertical-align: middle; }
.cell.recommended { width: 22px; height: 22px; border-radius: 11px; background: var(--accent); }
.cell.listed { width: 22px; height: 22px; border-radius: 11px; background: var(--accent-mid); }
.cell.mentioned { width: 22px; height: 22px; border-radius: 11px; border: 2px solid var(--accent); }
.cell.not_named { width: 6px; height: 6px; border-radius: 3px; background: var(--dot); }
.cell.not_tested { width: 14px; height: 2px; background: var(--warn); }
.legend .cell.recommended, .legend .cell.listed, .legend .cell.mentioned { width: 12px; height: 12px; }
table.mx td.c, table.mx th.c { text-align: center; width: 70px; padding-left: 4px; padding-right: 4px; }
table.mx tr.goal-row { background: color-mix(in srgb, var(--accent) 4%, var(--bg)); }
.act { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--bg-tertiary); }
.act:last-child { border-bottom: none; }
.an { width: 28px; height: 28px; flex: none; border-radius: 14px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.claims { margin: 10px 0 0; padding-left: 18px; font-size: 14px; color: var(--text-secondary); }
.flagged { color: var(--warn); font-weight: 600; }
.bad { color: var(--bad); font-weight: 600; }
.auditing { display: flex; align-items: center; gap: 14px; }

/* ── Do next ────────────────────────────────────────────────────────────── */
.action { display: flex; gap: 16px; align-items: flex-start; }
.action.lead { border-color: var(--border-strong); box-shadow: var(--shadow-lift); }
.why { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--text-secondary); }
.doc { background: color-mix(in srgb, var(--bg-secondary) 50%, var(--bg)); border: 1px solid var(--bg-tertiary); border-radius: 12px; padding: 18px 20px; font-size: 14px; line-height: 1.7; color: var(--text); white-space: pre-wrap; max-height: 260px; overflow: auto; }
.done { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--bg-tertiary); flex-wrap: wrap; }
.done:last-child { border-bottom: none; }

/* ── Reports ────────────────────────────────────────────────────────────── */
.rc { display: flex; flex-direction: column; text-align: left; padding: 0; background: var(--bg); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; cursor: pointer; color: var(--text); box-shadow: var(--shadow); }
.rc:hover { border-color: var(--border-strong); box-shadow: var(--shadow-lift); }
.rc[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.thumb { height: 120px; background: color-mix(in srgb, var(--accent) 5%, var(--bg-tertiary)); display: flex; align-items: flex-end; justify-content: center; padding-top: 16px; border-bottom: 1px solid var(--bg-tertiary); }
.pg { width: 168px; height: 104px; background: var(--bg); border-radius: 6px 6px 0 0; box-shadow: 0 4px 14px rgba(20, 32, 43, .10); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.ln { display: block; height: 5px; border-radius: 3px; background: var(--bg-tertiary); }
.ln.ink { background: var(--accent); }
.ln.mid { background: var(--accent-mid); }
.rb { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.side-panel { position: sticky; top: calc(var(--header-h, 72px) + 20px); background: var(--bg); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.toc { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; font-size: 14px; }
.toc b { font-size: 12px; color: var(--accent); min-width: 16px; }

/* Report side panel: its head, and the numbered steps (project, then format). */
.sp-head { padding: 24px 24px 16px; border-bottom: 1px solid var(--bg-tertiary); background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg) 100%); }
.geo-app .sp-head h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 30px; line-height: 1.05; margin-top: 6px; }
.step-n { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; font-size: 12px; font-weight: 800; color: var(--on-accent); background: linear-gradient(135deg, var(--gg-hero-2), var(--gg-violet-bright)); vertical-align: middle; }

/* ── Connections: the MCP guide ────────────────────────────────────────── */
.cx-url { background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg) 100%); }
.cx-url-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.cx-url-row code { flex: 1 1 280px; min-width: 0; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 15px; color: var(--text); overflow-wrap: anywhere; }
.cx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.cx-card { display: flex; flex-direction: column; gap: 12px; }
.cx-steps { margin: 0; padding: 0; list-style: none; counter-reset: cx; display: grid; gap: 12px; }
.cx-steps li { counter-increment: cx; display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.cx-steps li::before { content: counter(cx); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 12px; font-weight: 800; color: var(--on-accent); background: linear-gradient(135deg, var(--gg-hero-2), var(--gg-violet-bright)); }
.cx-note { margin: auto 0 0; padding-top: 10px; border-top: 1px solid var(--bg-tertiary); font-size: 13.5px; }
.cx-can { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--text); }

/* ── Connect page (static/geo/connect.html) ────────────────────────────── */
body.gc-page { justify-content: center; }
.gc-wrap { width: min(100%, 560px); margin: 0 auto; padding: 8vh 16px 48px; }
.gc-card { background: var(--bg); border: 1px solid var(--border); border-radius: 22px; padding: 32px; box-shadow: var(--shadow-lift); display: flex; flex-direction: column; gap: 10px; }
.gc-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--gg-ink); margin-bottom: 6px; }
.gc-card p { margin: 0; }
.gc-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gc-scopes { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.gc-card [hidden] { display: none; }
#gc-signin:not([hidden]), #gc-details:not([hidden]) { display: flex; flex-direction: column; gap: 10px; }

/* ── Toast ──────────────────────────────────────────────────────────────── */
.gs-toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 50; width: min(520px, calc(100vw - 32px)); }
.gs-toast { background: var(--text); color: var(--bg); padding: 12px 16px; border-radius: 10px; font-size: 14px; box-shadow: var(--shadow-lift); }
.gs-toast.err { background: var(--bad); color: var(--on-accent); }

@media (max-width: 720px) {
  .gs-wrap { padding: 28px 16px 72px; }
  .gs-head h1 { font-size: 32px; }
  .hero-n { font-size: 84px; }
  .fact { grid-template-columns: 1fr; }
  .fact.goal-row { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .card { padding: 18px; }
}
