@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=DM+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* The field guide needs the full workspace width, as in the supplied reference.
   Retain the site's navigation/header/footer, without the chat-only advice rail. */
.gp-shell:has(#explore-services) .gp-workspace { margin-right: 0; }
.gp-shell:has(#explore-services) .gp-main { padding: 0; max-width: none; }
.gp-shell:has(#explore-services) .gp-context-rail { display: none; }

:root {
  --ex-bg: #090f12;
  --ex-side: #0a1316;
  --ex-panel: #0c1518;
  --ex-panel-2: #0f1d20;
  --ex-soft: #0b1416;
  --ex-line: #1f2c30;
  --ex-line-2: #33434a;
  --ex-text: #e7eae5;
  --ex-text-2: #dfe4e0;
  --ex-muted: #c2cdca;
  --ex-dim: #9aa6a4;
  --ex-mint: #b6e5d7;
  --ex-mint-dark: #0b1a1b;
  --ex-gold: #d4b483;
  --ex-warn-bg: #17130e;
  --ex-warn-line: #2c2418;
  --ex-warn-text: #e9dcc4;
}

.ex-page, .ex-page * { box-sizing: border-box; }
.ex-page {
  color: var(--ex-text);
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding: 0;
}
.ex-page button, .ex-page select { font: inherit; }
.ex-page button { color: inherit; }
.ex-page :focus-visible { outline: 2px solid var(--ex-mint); outline-offset: 3px; }
.ex-page a { color: var(--ex-mint); text-decoration: none; }
.ex-page .ex-serif { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; letter-spacing: -.01em; }
.ex-page .ex-mono {
  color: var(--ex-dim);
  font: 500 11px/1.4 'IBM Plex Mono', ui-monospace, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ex-wrap {
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: 40px 32px 58px;
  display: flex;
  flex-direction: column;
  gap: 27px;
}
.ex-intro { display: flex; flex-direction: column; gap: 10px; }
.ex-intro h1 { margin: 0; color: var(--ex-text); font-size: clamp(40px, 4.2vw, 56px); line-height: 1.02; }
.ex-intro h1 em { color: var(--ex-mint); font-style: italic; }
.ex-lead { margin: 0; max-width: 700px; color: var(--ex-muted); font-size: 16px; line-height: 1.6; }
.ex-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ex-group {
  width: 100%; min-height: 132px; display: flex; align-items: flex-start; gap: 16px;
  padding: 22px; border: 1px solid var(--ex-line); border-radius: 16px; background: var(--ex-soft);
  text-align: left; cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.ex-group:hover { background: var(--ex-panel-2); transform: translateY(-1px); }
.ex-group[aria-pressed="true"] { background: var(--ex-panel-2); }
.ex-group[data-group="investigations"][aria-pressed="true"] { border-color: var(--ex-mint); }
.ex-group[data-group="security"][aria-pressed="true"] { border-color: var(--ex-gold); }
.ex-group-icon {
  flex: none; width: 52px; height: 52px; display: grid; place-items: center;
  border: 1px solid var(--ex-line); border-radius: 14px; background: #101a1d;
}
.ex-group-copy { display: flex; flex-direction: column; gap: 6px; }
.ex-group-copy .ex-serif { font-size: 30px; line-height: 1.05; }
.ex-group-copy .ex-group-summary { color: var(--ex-muted); font-size: 14px; line-height: 1.5; }
.ex-finder {
  display: flex; flex-direction: column; gap: 12px; padding: 18px 20px;
  border: 1px dashed #2f4b47; border-radius: 16px; background: var(--ex-soft);
}
.ex-finder-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.ex-finder-heading strong { font-size: 15px; }
.ex-finder-heading span { color: var(--ex-dim); font-size: 14px; }
.ex-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ex-pill {
  min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 14px; border: 1px solid var(--ex-line-2); border-radius: 999px;
  background: transparent; color: var(--ex-text-2); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}
.ex-pill:hover, .ex-pill[aria-pressed="true"] { border-color: var(--ex-mint); }
.ex-pill[aria-pressed="true"] { background: #14252a; color: #f1f0e9; }
.ex-facets .ex-pill { background: #0e171a; }
.ex-summary { margin: 0; color: var(--ex-text-2); font-size: 14px; }
.ex-summary strong { color: var(--ex-mint); font-weight: 600; }
.ex-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ex-where { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; color: var(--ex-dim); font-size: 14px; }
.ex-country-select {
  appearance: none; min-height: 44px; max-width: 100%; padding: 0 38px 0 14px;
  border: 1px solid var(--ex-line-2); border-radius: 10px; color: var(--ex-text);
  background: #0e171a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239aa6a4' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
}
.ex-count { margin-left: auto; color: var(--ex-dim); font-size: 13px; }
.ex-split { display: grid; grid-template-columns: minmax(360px, 1fr) minmax(0, 1.35fr); gap: 24px; align-items: start; }
.ex-list { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ex-list-head { min-height: 22px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ex-rows { display: flex; flex-direction: column; gap: 10px; }
.ex-row {
  width: 100%; min-height: 82px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 14px 16px; border: 1px solid var(--ex-line); border-radius: 14px;
  background: var(--ex-panel); text-align: left; cursor: pointer;
  transition: border-color .17s ease, background .17s ease, transform .17s ease;
}
.ex-row:hover { border-color: #3d5a57; transform: translateY(-1px); }
.ex-row[aria-pressed="true"] { border-color: var(--ex-mint); background: var(--ex-panel-2); }
.ex-row-icon {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  border-radius: 12px; background: #13262a;
}
.ex-row-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.ex-row-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 15px; font-weight: 600; }
.ex-row-summary { color: var(--ex-dim); font-size: 13px; line-height: 1.45; }
.ex-row-meta { flex: none; max-width:104px; color: var(--ex-muted); text-align: right; font-size: 12px; line-height: 1.5; }
.ex-badge { padding: 2px 8px; border-radius: 999px; background: var(--ex-mint); color: var(--ex-mint-dark); font-size: 11px; font-weight: 700; }
.ex-empty { margin: 0; padding: 18px; border: 1px dashed var(--ex-line-2); border-radius: 14px; color: var(--ex-dim); font-size: 14px; line-height: 1.5; }
.ex-sheet { min-width: 0; overflow: hidden; border: 1px solid #22353a; border-radius: 18px; background: var(--ex-panel); }
.ex-sheet section { border-bottom: 1px solid var(--ex-line); }
.ex-sheet-head { display: flex; flex-direction: column; gap: 12px; padding: 26px 28px 22px; background: var(--ex-panel-2); }
.ex-sheet-kicker { display: flex; flex-wrap: wrap; gap: 8px; }
.ex-sheet-kicker .ex-gold { color: var(--ex-gold); }
.ex-sheet-title-row { display: flex; align-items: center; gap: 14px; }
.ex-service-icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 1px solid #2f4b47; border-radius: 14px; background: #14252a; }
.ex-sheet h2 { margin: 0; font-size: 38px; line-height: 1.05; }
.ex-description { margin: 0; color: var(--ex-text-2); font-size: 15px; line-height: 1.6; }
.ex-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ex-row-planning { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--ex-line); padding-top: 10px; text-align: left; }
.ex-row-planning > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ex-row-planning .ex-mono { font-size: 9px; line-height: 1.5; }
.ex-planning-disclaimer { margin: -8px 0 0; color: var(--ex-muted); font-size: 12px; line-height: 1.6; }
.ex-row-planning strong { font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--ex-text); }
.ex-cost-unit { display: block; font-size: 11px; line-height: 1.5; font-weight: 400; color: var(--ex-muted); }
.ex-planning-note { padding: 14px 20px; background: var(--ex-panel-2); }
.ex-planning-note p { margin: 0 0 8px; color: var(--ex-muted); font-size: 12px; line-height: 1.6; }
.ex-planning-note p:last-child { margin-bottom: 0; }
.ex-fact { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-right: 1px solid var(--ex-line); }
.ex-fact:last-child { border-right: 0; }
.ex-fact:nth-child(2n) { border-right: 0; }
.ex-fact:nth-child(-n+2) { border-bottom: 1px solid var(--ex-line); }
.ex-fact strong { font-size: 15px; line-height: 1.4; }
.ex-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 22px 28px; }
.ex-checklist { display: flex; flex-direction: column; gap: 10px; }
.ex-checklist-title { color: var(--ex-mint); }
.ex-checklist-title.gold { color: var(--ex-gold); }
.ex-check-item { display: flex; gap: 10px; color: var(--ex-text-2); font-size: 14px; line-height: 1.5; }
.ex-steps-section { display: flex; flex-direction: column; gap: 14px; padding: 22px 28px; }
.ex-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ex-steps li { min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--ex-line); border-radius: 12px; background: #0f1b1e; font-size: 13px; line-height: 1.45; }
.ex-steps li span { color: var(--ex-mint); font: 500 12px 'IBM Plex Mono', monospace; }
.ex-flag { display: flex; gap: 12px; padding: 16px 28px; background: var(--ex-warn-bg); border-bottom: 1px solid var(--ex-warn-line) !important; }
.ex-flag p { margin: 0; color: var(--ex-warn-text); font-size: 14px; line-height: 1.55; }
.ex-cta { display: flex; flex-direction: column; gap: 14px; padding: 22px 28px 26px; border-bottom: 0 !important; }
.ex-cta-copy { margin: 0; color: var(--ex-muted); font-size: 14px; line-height: 1.55; }
.ex-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ex-btn, .ex-ghost {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 16px; border: 1px solid #33434a; border-radius: 10px; cursor: pointer;
  font-size: 14px; font-weight: 500; text-decoration: none !important;
}
.ex-btn { border-color: transparent; background: var(--ex-mint); color: var(--ex-mint-dark) !important; font-weight: 600; }
.ex-btn:hover { background: #cdeee4; }
.ex-ghost { background: transparent; color: var(--ex-text) !important; }
.ex-ghost:hover, .ex-ghost[aria-pressed="true"] { border-color: var(--ex-mint); }
.ex-provider { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border: 1px solid var(--ex-line); border-radius: 16px; background: var(--ex-soft); }
.ex-provider-copy { max-width: 640px; display: flex; flex-direction: column; gap: 4px; }
.ex-provider-copy strong { font-size: 16px; }
.ex-provider-copy span { color: var(--ex-dim); font-size: 14px; line-height: 1.5; }
.ex-alert { min-height: 22px; color: var(--ex-dim); font-size: 13px; }
.ex-detail-close { display: none; }
.ex-threat-note { margin: 0; color: var(--ex-gold); font-size: 13px; line-height: 1.45; }
.ex-page.ex-sheet-open { overflow: hidden; }
.ex-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1100px) {
  .ex-split { grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr); gap: 16px; }
  .ex-two { gap: 18px; padding-inline: 22px; }
  .ex-sheet-head, .ex-steps-section, .ex-flag, .ex-cta { padding-left: 22px; padding-right: 22px; }
  .ex-steps { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 899px) {
  .ex-wrap { padding: 30px 20px 42px; gap: 22px; }
  .ex-split { display: block; }
  .ex-sheet { display: none; }
  .ex-sheet.is-open {
    position: fixed; z-index: 10000; inset: auto 0 0; display: block; max-height: 92dvh;
    overflow-y: auto; border: 1px solid #33434a; border-bottom: 0; border-radius: 20px 20px 0 0;
    box-shadow: 0 -18px 50px rgba(0,0,0,.48); animation: ex-sheet-in .22s ease-out both;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .ex-detail-close {
    position: sticky; top: 0; z-index: 2; width: 100%; min-height: 48px; display: flex;
    align-items: center; justify-content: flex-end; padding: 0 20px; border: 0;
    border-bottom: 1px solid var(--ex-line); background: rgba(15,29,32,.97); color: var(--ex-muted); cursor: pointer;
  }
  .ex-detail-close span { margin-left: auto; }
  .ex-sheet-head { padding-top: 20px; }
  body.ex-modal-locked { overflow: hidden; touch-action: none; }
}
@media (max-width: 640px) {
  .ex-wrap { padding: 26px 16px 36px; gap: 20px; }
  .ex-intro h1 { font-size: 40px; }
  .ex-groups { grid-template-columns: 1fr; gap: 10px; }
  .ex-group { min-height: 110px; padding: 18px; }
  .ex-group-copy .ex-serif { font-size: 27px; }
  .ex-finder { padding: 16px; }
  .ex-where { width: 100%; align-items: flex-start; flex-direction: column; gap: 7px; margin-left: 0; }
  .ex-country-select { width: 100%; }
  .ex-count { margin-left: auto; }
  .ex-row { min-height: 82px; padding: 12px; gap: 10px; }
  .ex-row-meta { font-size: 11px; }
  .ex-row-summary { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .ex-sheet h2 { font-size: 32px; }
  .ex-sheet-head, .ex-two, .ex-steps-section, .ex-flag, .ex-cta { padding-left: 18px; padding-right: 18px; }
  .ex-facts { grid-template-columns: 1fr; }
  .ex-fact { padding: 12px 18px; border-right: 0; border-bottom: 1px solid var(--ex-line); }
  .ex-fact:last-child { border-bottom: 0; }
  .ex-two { grid-template-columns: 1fr; gap: 22px; }
  .ex-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ex-actions { display: grid; grid-template-columns: 1fr; }
  .ex-actions > * { width: 100%; }
  .ex-provider { align-items: flex-start; flex-direction: column; padding: 18px; }
}
@keyframes ex-sheet-in { from { transform: translateY(24px); opacity: .75; } to { transform: translateY(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .ex-page *, .ex-page *::before, .ex-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
