/* SurgeAtlas 9.2.1 — layouts with real content width, distinct card rhythms, and accessible motion.
   Source glyphs are actual vendored Simple Icons; no external font/icon CDN. */
:root { --sa13-ink: #172d3d; --sa13-teal: #227a76; --sa13-coral: #e9995c; --sa13-stroke: #d2e1e2; }
html { scroll-padding-top: 186px; }
body { overflow-x: clip; }
.site-shell, .main-content, .site-header, .header-inner, .explorer, .filter-panel,
.sa10-hero, .sa10-hero-copy, .sa10-hero-visual, .sa10-category-section,
.sa10-spotlight, .sa12-sector-page, .sa12-sector-head, .sa12-sector-text,
.sa12-guide, .sa12-guide-body, .sa12-guide-article, .sa12-source-card,
.sa11-brief, .sa11-brief-hero, .sa11-brief-section, .sa13-measurement,
.sa13-story-cards, .sa12-guide-card, .sa12-credit-license, .sa8-workspace-grid,
.sa8-summary-grid, .sa8-plan-grid, .sa8-watch-row { min-width: 0; max-width: 100%; }
.main-content img, .main-content video, .main-content svg { max-width: 100%; }
.main-content h1, .main-content h2, .main-content h3,
.main-content p, .main-content a, .main-content strong { overflow-wrap: break-word; }
.main-content a:focus-visible, .main-content button:focus-visible,
.site-header a:focus-visible, .site-header button:focus-visible,
input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #e99b68; outline-offset: 3px; }
.main-content section[id], .main-content article[id], .main-content div[id=explore] { scroll-margin-top: 190px; }

/* Brand-forward category cards: visible columns rather than a cut-off carousel. */
.sa10-category-track.sa13-category-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: row; grid-auto-columns: auto; gap: 14px;
  width: 100%; max-width: 100%; padding: 5px 1px 18px;
  overflow: visible; scroll-snap-type: none; scrollbar-width: none;
}
.sa10-category-tile.sa13-category-card {
  min-height: 169px; padding: 18px 17px 16px; gap: 10px;
  border-radius: 17px; scroll-snap-align: none;
  position: relative; isolation: isolate; overflow: hidden;
  background: #fff; border: 1px solid #d5e1e5;
  box-shadow: 0 3px 0 rgba(27, 68, 77, .02);
  transition: border-color .28s ease, box-shadow .28s ease, background-color .28s ease, transform .28s ease;
}
.sa10-category-tile.sa13-category-card::before {
  content: ''; position: absolute; inset: 0 auto auto 0; height: 4px; width: 100%;
  background: var(--sa13-category-accent, #397c80); opacity: .8;
}
.sa13-category-card:nth-child(6n+1){ --sa13-category-accent:#e4a15f; background:#fcf7ef; }
.sa13-category-card:nth-child(6n+2){ --sa13-category-accent:#449b91; background:#edf7f4; }
.sa13-category-card:nth-child(6n+3){ --sa13-category-accent:#658bd1; background:#f0f5fc; }
.sa13-category-card:nth-child(6n+4){ --sa13-category-accent:#ad759e; background:#f9f2f8; }
.sa13-category-card:nth-child(6n+5){ --sa13-category-accent:#c28b54; background:#fcf6ee; }
.sa13-category-card:nth-child(6n+6){ --sa13-category-accent:#6e9eaf; background:#edf5f8; }
.sa10-category-tile.sa13-category-card:hover,
.sa10-category-tile.sa13-category-card:focus-visible {
  border-color: var(--sa13-category-accent,#459c97);
  box-shadow: 0 18px 36px rgba(18, 46, 58, .13);
  transform: translateY(-4px);
}
.sa13-card-top { display:flex; gap:8px; justify-content:space-between; align-items:flex-start; min-width:0; width:100%; }
.sa13-card-top .sa10-category-visual {
  flex:0 0 46px; display:grid; place-items:center; border-radius:13px;
  width:46px; height:46px; background:rgba(255,255,255,.72); color:#1c5968;
  border:1px solid rgba(28,75,88,.1);
  box-shadow: 0 4px 11px rgba(24, 48, 64, .06);
}
.sa13-card-top .sa10-category-visual svg { width:25px; height:25px; }
.sa13-brandmarks { display:flex; gap:5px; align-items:center; justify-content:flex-end; flex-wrap:wrap; min-width:0; }
.sa13-mark { display:inline-grid; place-items:center; flex:0 0 30px;
  width:30px; height:30px; border:1px solid rgba(20,52,69,.09);
  border-radius:9px; background:#fff; color:var(--mark,#286674);
  box-shadow:0 3px 8px rgba(20,54,65,.07); transition:transform .24s ease,box-shadow .24s ease;
}
.sa13-mark svg { width:19px!important; height:19px!important; color:inherit!important; fill:currentColor!important; }
.sa13-category-card:hover .sa13-mark:nth-child(2), .sa13-category-card.sa13-interacting .sa13-mark:nth-child(2) { transform: translateY(-4px); }
.sa13-category-card:hover .sa13-mark:nth-child(3), .sa13-category-card.sa13-interacting .sa13-mark:nth-child(3) { transform: translateY(-6px); }
.sa13-category-card .sa10-category-label { margin-top:10px; font-size:clamp(15px,1.35vw,19px); line-height:1.15; font-weight:750; color:#1a3945; }
.sa13-category-summary { font-size:12px; line-height:1.45; color:#526973; max-width:32ch; }
.sa10-category-section .sa10-section-top { align-items:end; }
.sa10-category-section .sa10-section-top h2 { max-width:20ch; }

/* Better card semantics and tactile feedback across all page types. */
.sa12-guide-card, .sa12-source-card, .sa12-question, .sa12-credit-card,
.trend-card, .sa12-workflow-grid article, .sa12-credit-card, .sa8-panel {
  transition: box-shadow .26s ease, border-color .26s ease, transform .26s ease;
}
.sa12-guide-card:hover, .sa12-source-card:hover, .sa12-question:hover,
.sa12-credit-card:hover, .trend-card:hover, .sa12-workflow-grid article:hover {
  transform:translateY(-3px); box-shadow:0 17px 38px rgba(20,53,70,.11);
  border-color:#9dbec3;
}
.sa12-guide-card:focus-within, .sa12-source-card:focus-within, .trend-card:focus-within { outline:2px solid #60a3a8; outline-offset:3px; }
.sa12-guide-card .sa12-guide-img img, .sa12-credit-card>img { transition:transform .55s cubic-bezier(.2,.7,.3,1); }
.sa12-guide-card:hover .sa12-guide-img img, .sa12-credit-card:hover>img { transform: scale(1.025); }
.sa12-guide-card .sa12-guide-img, .sa12-credit-card { overflow:hidden; }
.sa12-workflow-grid article { border-radius:16px; }
.sa12-issue-marker, .sa12-guide-meta { max-width:100%; }
.sa12-question-grid { gap:16px; }
.sa12-question { min-height:165px; padding:24px; display:flex; flex-direction:column; gap:15px; }
.sa12-question span { font:650 11px/1.5 system-ui, sans-serif; letter-spacing:0; color:var(--sa12-accent); }
.sa12-question h3 { margin:0; font-size:clamp(17px,1.7vw,23px); line-height:1.4; }
.sa12-method-steps li { grid-template-columns:36px minmax(0,1fr); align-items:start; }
.sa12-method-steps li>.sa13-move-icon { width:30px; height:30px; display:grid;place-items:center;border-radius:50%;
  color:#2f8b7c; background:#e4f2eb; border:1px solid #b9dad0; font-size:inherit; }
.sa13-move-icon svg { width:16px!important;height:16px!important; }
.sa12-process-list li { grid-template-columns:52px minmax(0,1fr); align-items:start; gap:18px; }
.sa12-process-list li>.sa13-process-icon { font-size:inherit; width:43px;height:43px; display:grid;place-items:center;
  background:#e6f1ef;border:1px solid #c6dedd;border-radius:12px;color:#317e82; }
.sa13-process-icon svg { width:23px!important;height:23px!important; }
.sa12-source-card-top span { font:650 11px/1.4 system-ui, sans-serif; letter-spacing:0; }
.sa12-source-card-top svg { width:37px!important;height:37px!important; }
.sa12-source-card { border-radius:16px; gap:13px; }
.sa12-source-card p { font-size:13px; line-height:1.75; }
.sa12-guide-rail nav a { overflow-wrap:anywhere; }
.sa12-guide-rail nav a span { min-width:0; }
.sa12-guide-chapter .sa13-chapter-icon { display:grid; place-items:center;width:33px;height:33px;color:#488c82;
  border:1px solid #b9dad3;background:#e9f4f1;border-radius:9px; }
.sa12-chapter-mark { justify-content:flex-start; }
.sa12-chapter-mark .sa13-chapter-icon svg { width:20px;height:20px; }
.sa13-sector-identity { display:flex;align-items:center;gap:12px;justify-content:space-between;width:100%;min-height:45px;margin:5px 0 10px; }
.sa13-sector-identity .sa12-sector-symbol { position:static;opacity:1;display:grid;place-items:center;width:49px;height:49px;
  background:#e1f1ea24;border:1px solid #e8f8f655;border-radius:14px;color:#8ee2d4; }
.sa13-sector-identity .sa13-mark { width:37px;height:37px;flex-basis:37px;border-radius:11px; }
.sa13-sector-identity .sa13-mark svg { width:23px!important;height:23px!important; }
.sa12-sector-text h1 { overflow-wrap:normal; }
.sa12-guide-image-label:empty { display:none; }
.sa12-card-count, .sa12-visual-caption, .sa13-hidden-decoration { display:none!important; }
.sa12-guide-cover img { object-fit:cover; }

/* Actual measured trend page: trustworthy numbers, natural language, flexible chart. */
.sa13-measured-hero { gap: clamp(22px,3vw,38px);grid-template-columns:minmax(0,1.25fr) minmax(245px,.75fr); }
.sa13-source-eyebrow { display:inline-flex;align-items:center;gap:10px;color:#b4e8da; font-size:12px; font-weight:680; line-height:1.4; }
.sa13-source-eyebrow svg { width:27px!important;height:27px!important;flex-shrink:0; }
.sa13-measured-hero .sa11-brief-intro { font-size:clamp(14px,1.5vw,18px);line-height:1.8;max-width:66ch; }
.sa13-measured-hero h1 { max-width:100%;font-size:clamp(34px,3.8vw,62px);letter-spacing:-1.6px;line-height:1.12; }
.sa13-measured-hero h1 span { color:#91d6cc; }
.sa13-measured-facts { display:grid; gap:0;align-content:center;padding:16px 20px;backdrop-filter:none; }
.sa13-measured-facts>div { padding:13px 0;border-bottom:1px solid #ffffff1d;min-width:0; }
.sa13-measured-facts>div:last-child { border-bottom:0; }
.sa13-measured-facts span { display:block;color:#bbd9e3;letter-spacing:.2px;text-transform:none;font:600 12px/1.4 system-ui,sans-serif; }
.sa13-measured-facts strong { display:block;margin:4px 0 0;font-size:16px;line-height:1.4;white-space:normal; }
.sa13-observed-story { margin:25px 0; padding:clamp(23px,3vw,34px); background:#f1f6f4; border:1px solid #d3e2dd; border-radius:17px; }
.sa13-story-intro h2 { margin:9px 0; color:#163744; font-size:clamp(26px,2.6vw,37px);letter-spacing:-.8px;line-height:1.2; }
.sa13-story-intro p { font-size:14px;line-height:1.75;max-width:66ch;color:#516972; }
.sa13-soft-label { color:#327f81; font-weight:760; letter-spacing:.1px;font-size:12px;line-height:1.5; }
.sa13-story-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:21px 0 0; }
.sa13-story-card { min-width:0;background:#fff;border:1px solid #d8e4e4;border-radius:13px;padding:21px 19px; }
.sa13-story-card>span { display:block;color:#54717b;font-size:12px;line-height:1.35; }
.sa13-story-card>strong { display:block;font-size:clamp(26px,2.8vw,40px);letter-spacing:-.8px;line-height:1.18;color:#193a48;margin:10px 0 4px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere; }
.sa13-story-card>small { color:#617d80;font-size:12px; }
.sa13-change-note { margin:18px 0 0!important; padding:15px 17px;line-height:1.65;font-size:13px;color:#2c4b58;
 background:#fff;border-left:3px solid #4ca397;border-radius:8px; }
.sa13-chart-section .detail-chart { min-width:0;width:100%; }
.sa13-chart-section .chart-shell { max-width:100%;min-width:0;overflow:hidden; }
.sa13-chart-section .chart-legend { display:flex;flex-wrap:wrap;gap:8px 17px; }
.sa13-interpretation { display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:25px;
 border:1px solid var(--sa10-border);border-radius:18px;padding:clamp(22px,3vw,37px);margin:24px 0;background:var(--sa10-surface); }
.sa13-interpretation h2 {font-size:clamp(26px,2.7vw,36px);color:var(--sa10-ink);line-height:1.2;letter-spacing:-.9px;margin:12px 0; }
.sa13-interpretation p {font-size:13px;line-height:1.75;color:var(--sa10-quiet); }
.sa13-interpretation-list {display:grid;gap:9px;align-content:center; }
.sa13-interpretation-list>div {display:flex;gap:12px;align-items:center;background:var(--sa10-tint);
 border:1px solid var(--sa10-border);border-radius:11px;padding:13px; }
.sa13-interpretation-list>div>p {margin:0; font-size:14px;line-height:1.55;color:var(--sa10-ink); }
.sa13-check-icon { display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:9px;background:#d5eee7;color:#227d72; }
.sa13-check-icon svg { width:17px;height:17px; }
.sa13-related-topic { margin:26px 0 42px;padding:clamp(23px,3vw,38px);display:grid;
 grid-template-columns:1fr 1fr;gap:30px;align-items:center;background:#172f44;color:#e9f6f7;border-radius:16px; }
.sa13-related-topic h2 {font-size:clamp(25px,2.5vw,36px);line-height:1.23;color:#fff;margin:10px 0;letter-spacing:-.6px; }
.sa13-related-topic p {font-size:13px;line-height:1.7;color:#b4d3df; }
.sa13-related-topic>div:last-child {display:grid;gap:9px; }
.sa13-related-topic a {display:block;text-decoration:none;background:#ffffff0d;color:#e4f4f4;
 border:1px solid #ffffff30;padding:14px 16px;border-radius:10px;font-size:14px;line-height:1.4;transition:background .2s,border-color .2s; }
.sa13-related-topic a:hover {background:#ffffff1b;border-color:#8ecdc7; }
.sa13-related-topic .sa13-soft-label {color:#9ee4d7; }
.sa11-brief-side { overflow-wrap:anywhere; }
.sa11-raw-table .table-scroll { max-width:100%;overflow:auto; }
.sa11-raw-table table { min-width:0;width:100%; }
.sa11-brief .sa11-source-links a {overflow-wrap:anywhere; }

/* Buttons and legal/account screens: smaller, natural labels and non-occluding layout. */
.sa10-primary-cta,.sa10-outline-cta,.sa12-action-primary,.sa12-action-quiet,
.button-primary,.button-outline,.sa8-action,.sa8-secondary {justify-content:center;box-sizing:border-box;overflow-wrap:break-word;}
.sa10-primary-cta:hover,.sa12-action-primary:hover,.sa8-action:hover,
.button-primary:hover {filter:brightness(1.06);transform:translateY(-2px);}
.sa8-auth-card input,.sa8-auth-card select,.contact-form input,.contact-form textarea,
.filter-panel input,.filter-panel select {max-width:100%;min-width:0;box-sizing:border-box;}
.sa8-plan-grid>* { min-width:0; }
.sa8-table-wrap,.table-scroll {max-width:100%; overflow-x:auto; }
.site-footer {overflow-wrap:anywhere;}
.sa12-guide-head-image,.sa12-playbook-cover,.sa12-sector-image {overflow:hidden;}

/* Dark-mode backgrounds retain card contrast without relying on generated gradients. */
html[data-theme=dark] .sa13-category-card:nth-child(n) {background:#1c3440;color:#f0f7f8;border-color:#375764; }
html[data-theme=dark] .sa13-category-card .sa10-category-label {color:#f4f9f7;}
html[data-theme=dark] .sa13-category-summary {color:#c3d9dc;}
html[data-theme=dark] .sa13-card-top .sa10-category-visual {background:#2d5159;color:#afe4d8;}
html[data-theme=dark] .sa13-observed-story {background:#213943;border-color:#395b60;}
html[data-theme=dark] .sa13-story-intro h2,html[data-theme=dark] .sa13-story-card>strong {color:#f3f8f8;}
html[data-theme=dark] .sa13-story-intro p,html[data-theme=dark] .sa13-story-card>span,html[data-theme=dark] .sa13-story-card>small {color:#bfd7df;}
html[data-theme=dark] .sa13-story-card {background:#172f3c;border-color:#395963;}
html[data-theme=dark] .sa13-change-note {background:#172f3c;color:#d8eaef;}
html[data-theme=dark] .sa13-interpretation-list>div {background:#19343e;}
html[data-theme=dark] .sa13-interpretation-list>div>p {color:#e7f5f7;}
html[data-theme=dark] .sa12-process-list li>.sa13-process-icon, html[data-theme=dark] .sa13-chapter-icon,html[data-theme=dark] .sa13-move-icon{background:#2c5053;color:#b4e5db;border-color:#52837d;}
html[data-theme=dark] .sa13-mark {background:#f9fafa;border-color:#d3dfdc;}

@media (max-width: 1199px) { .sa10-category-track.sa13-category-grid {grid-template-columns:repeat(3,minmax(0,1fr));} }
@media (max-width: 960px) {
 .sa13-measured-hero {grid-template-columns:minmax(0,1fr);}
 .sa13-interpretation {grid-template-columns:minmax(0,1fr);}
 .sa13-related-topic {grid-template-columns:minmax(0,1fr);gap:15px;}
 .sa12-sector-text h1 {font-size:clamp(34px,5vw,51px);}
}
@media (max-width: 720px) {
 html {scroll-padding-top:193px;}
 .main-content section[id], .main-content article[id], .main-content div[id=explore] {scroll-margin-top:194px;}
 .sa10-category-track.sa13-category-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;}
 .sa13-category-card:nth-child(n) {min-height:167px;padding:15px 13px 14px;}
 .sa13-card-top .sa10-category-visual {width:42px;height:42px;flex-basis:42px;}
 .sa13-brandmarks {gap:4px;}
 .sa13-mark {width:24px;height:24px;flex-basis:24px;border-radius:7px;}
 .sa13-mark svg {width:16px!important;height:16px!important;}
 .sa13-category-card .sa10-category-label {font-size:16px;}
 .sa13-category-summary {font-size:11px;line-height:1.5;}
 .sa13-measured-hero {padding:26px 20px;gap:20px;}
 .sa13-measured-hero h1 {font-size:clamp(31px,8vw,43px);letter-spacing:-1px;}
 .sa13-measured-facts {padding:12px 16px;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 17px;}
 .sa13-measured-facts>div:nth-last-child(2) {border-bottom:0;}
 .sa13-measured-facts strong {font-size:14px;}
 .sa13-story-cards {grid-template-columns:repeat(2,minmax(0,1fr));}
 .sa13-story-card:last-child {grid-column:1/-1;}
 .sa13-story-card {padding:17px 14px;}
 .sa13-related-topic {padding:24px 20px;}
 .sa12-process-list li {gap:11px;padding:19px 16px;grid-template-columns:38px minmax(0,1fr);}
 .sa12-process-list li>.sa13-process-icon {width:37px;height:37px;}
 .sa12-guide-chapter h2 {font-size:clamp(23px,7vw,32px);}
 .sa12-question-grid {grid-template-columns:minmax(0,1fr);}
 .sa12-question {min-height:0;padding:19px;}
 .sa13-sector-identity {margin:0 0 13px;flex-wrap:wrap;}
 .sa13-sector-identity .sa13-brandmarks{justify-content:flex-start;}
 .sa10-category-section {margin-top:26px;}
 .sa11-brief-actions {display:flex;flex-direction:column;align-items:stretch;}
 .sa11-brief-actions a {width:100%;min-height:46px;}
 .sa12-source-card h3 {overflow-wrap:normal;}
}
@media (max-width: 370px) {
 .sa13-category-card:nth-child(n) {padding:13px 11px 13px; min-height:169px;}
 .sa13-card-top .sa10-category-visual {width:37px;height:37px;flex-basis:37px;}
 .sa13-card-top .sa10-category-visual svg {width:21px;height:21px;}
 .sa13-mark {width:22px;height:22px;flex-basis:22px;}
 .sa13-mark svg {width:14px!important;height:14px!important;}
 .sa13-story-cards {grid-template-columns:minmax(0,1fr);}
 .sa13-story-card:last-child {grid-column:auto;}
 .sa13-measured-facts {grid-template-columns:minmax(0,1fr);}
 .sa13-measured-facts>div:nth-last-child(2) {border-bottom:1px solid #ffffff1d;}
}
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { animation-duration:.01ms!important; animation-iteration-count:1!important;
   scroll-behavior:auto!important;transition-duration:.01ms!important; }
 .sa10-category-tile.sa13-category-card:hover, .sa12-guide-card:hover, .trend-card:hover {transform:none;}
}
