/* Direction one: a blue-lavender masthead, a raised shortcut panel, and a browsing canvas.
   Radius roles: 28px section surfaces, 20px cards, 12px controls, pill-shaped tags. */
/* Page composition; shared foundations and controls live in ui-kit.css. */
/* Programmatic section landings are not controls. */
#home:focus, #industry-picker:focus, .page h1[tabindex="-1"]:focus { outline: none; }
.page { animation: none; }

/* Statistics use the spare upper-right space; shortcuts form the masthead's lower panel. */
.home-hero-surface {
  width: calc(100% - 64px);
  max-width: 1280px;
  margin: 16px auto 0;
  border: 1px solid #dce3f7;
  border-radius: var(--radius-panel);
  background: var(--hero-background);
  box-shadow: var(--shadow-raised);
  overflow: hidden;
}
.home-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 332px;
  gap: 40px;
  align-items: start;
  padding: 28px 40px 24px;
}
.home-intro { min-width: 0; padding: 0; }
#home .eyebrow {
  gap: 8px;
  padding: 6px 12px;
  border-color: #ccd7f1;
  background: rgb(255 255 255 / 80%);
  color: #465783;
  font-size: 12px;
  line-height: 20px;
  font-weight: 600;
}
.dot { width: 8px; height: 8px; background: #6e7fe8; box-shadow: none; }
#home h1 {
  max-width: 1000px;
  margin: 16px 0;
  color: #162145;
  font-size: 44px;
  line-height: 56px;
  font-weight: 700;
  letter-spacing: -1px;
}
#home h1 .line { display: block; white-space: normal; }
#home .lead {
  max-width: 760px;
  margin: 0;
  color: #53627d;
  font-size: 17px;
  line-height: 30px;
  font-weight: 400;
}
#home .cta-row { gap: 16px; margin: 20px 0 0; }
.home-summary {
  min-width: 0;
  border: 1px solid #dce2f2;
  border-radius: var(--radius-card);
  padding: 24px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 8px 24px rgb(65 85 150 / 6%);
}
.home-summary h2 {
  margin: 0 0 16px;
  color: #4f5f7c;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.summary-grid { --columns: 1; display: grid; gap: 16px; }
.summary-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.summary-item + .summary-item { border-top: 1px solid #dbe2f1; padding-top: 16px; }
.summary-item strong {
  color: #25345b;
  font-size: 36px;
  line-height: 44px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
}
.summary-item strong.summary-word { font-size: 28px; letter-spacing: 0; }
.summary-item p {
  margin: 0;
  color: #58667f;
  font-size: 13px;
  line-height: 24px;
}

/* A complete group, not six floating labels. */
.home-finder-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  border-top: 1px solid #dce2f2;
}
.finder-panel {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 20px 40px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.finder-intro h2 {
  margin: 0 0 12px;
  color: var(--aux-heading);
  font-size: 20px;
  line-height: 32px;
  font-weight: 600;
}
.finder-intro h3 {
  margin: 0 0 8px;
  color: var(--aux-label);
  font-size: 15px;
  line-height: 26px;
  font-weight: 500;
}
.finder-intro p {
  margin: 0;
  color: var(--aux-body);
  font-size: 14px;
  line-height: 26px;
}
.shortcut-grid { --columns: 3; display: grid; gap: 12px; min-width: 0; }
.shortcut {
  position: relative;
  display: block;
  min-height: 64px;
  padding: 10px 28px 10px 16px;
  border: 1px solid #dce2f2;
  border-radius: var(--radius-control);
  background: #f8faff;
  color: #566384;
  text-align: left;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.shortcut-category {
  display: block;
  color: var(--aux-label);
  font-size: 12px;
  line-height: 20px;
  font-weight: 400;
}
.shortcut-arrow { position: absolute; top: 14px; right: 12px; color: var(--aux-label); font-size: 14px; }
.shortcut:hover { background: #edf1ff; border-color: #a5b4e8; }

/* Industry browsing owns a separate canvas and six complete, equal-width cards. */
.industry-zone {
  margin-top: 24px;
  padding: 24px 0 0;
  border-top: 1px solid #e2e7f2;
  background: #eef1f8;
  scroll-margin-top: 96px;
}
.browse-container { width: calc(100% - 96px); max-width: 1200px; margin: 0 auto; }
#home .section-head { margin: 0 0 16px; padding: 0; }
#home .section-head h2 { margin: 0; font-size: 28px; line-height: 40px; font-weight: 700; }
#home .industry-grid { --columns: 3; display: grid; gap: 24px; }
.summary-grid, .shortcut-grid, #home .industry-grid {
  grid-template-columns: repeat(var(--columns), minmax(0, var(--column-size, 1fr)));
}
#home .industry-card {
  min-width: 0;
  min-height: 368px;
  padding: 24px;
  border: 1px solid #dce2ee;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
#home .industry-card:hover {
  border-color: #b6c3e8;
  transform: none;
  box-shadow: var(--shadow-hover);
}
#home .industry-card > div:first-child { display: block; min-width: 0; }
.industry-heading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  margin-bottom: 8px;
}
#home .industry-card h3 { margin: 0; font-size: 22px; line-height: 32px; font-weight: 700; }
.industry-heading a { color: inherit; text-decoration: none; }
.industry-heading a:hover { color: var(--deep); }
.industry-icon { display: block; width: 88px; height: 88px; margin: -8px -8px -8px 0; object-fit: contain; }
#home .industry-card .desc {
  min-height: 48px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 24px;
}
#home .samples {
  display: block;
  min-height: 72px;
  margin: 0;
  color: #33425e;
  font-size: 14px;
  line-height: 24px;
  overflow: visible;
  -webkit-line-clamp: unset;
}
#home .samples b { display: block; color: #66738b; font-size: 12px; line-height: 20px; font-weight: 400; }
.sample-values { font-weight: 600; overflow-wrap: anywhere; }
#home .entry-block.compact { min-height: 32px; margin-top: 20px; }
#home .card-foot {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  border-top: 1px solid #edf0f6;
  padding-top: 16px;
  font-size: 13px;
  line-height: 24px;
}
#home .card-foot .badge-row { display: grid; gap: 0; }
#home .card-foot .badge {
  padding: 0;
  background: none;
  color: #65728a;
  border: 0;
  font-size: 12px;
  line-height: 20px;
  font-weight: 400;
}
#home .note {
  margin: 0;
  border-top: 0;
  padding: 36px 0 32px;
  color: #64718a;
  font-size: 12px;
  line-height: 24px;
}

@media (max-width: 1160px) {
  .home-hero-top { grid-template-columns: 1fr; gap: 24px; padding: 32px; }
  .home-summary { padding: 24px; }
  #home h1 { font-size: 40px; line-height: 56px; }
  .summary-grid { --columns: 3; gap: 24px; }
  .summary-item { grid-template-columns: max-content minmax(0, 1fr); gap: 12px; }
  .summary-item + .summary-item { border-top: 0; border-left: 1px solid #dbe2f1; padding: 0 0 0 20px; }
  .finder-panel { grid-template-columns: 1fr; gap: 24px; padding: 24px 32px; }
  .finder-intro p { max-width: 680px; }
  .finder-intro h2 { margin-bottom: 12px; }
  #home .industry-grid { --columns: 2; }
  #home .industry-card { min-height: 352px; }
}

@media (max-width: 720px) {
  .home-hero-surface { width: calc(100% - 32px); margin-top: 16px; border-radius: var(--radius-card); }
  .home-hero-top { padding: 28px 24px 24px; }
  #home h1 { margin: 20px 0 16px; font-size: 30px; line-height: 44px; letter-spacing: -1px; }
  #home .lead { font-size: 15px; line-height: 28px; }
  #home .cta-row { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .home-summary { padding: 24px; }
  .home-summary h2 { margin-bottom: 16px; font-size: 13px; }
  .summary-grid { --columns: 1; gap: 16px; }
  .summary-item { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center; }
  .summary-item + .summary-item { border-left: 0; border-top: 1px solid #dfe5f2; padding: 16px 0 0; }
  .summary-item strong { font-size: 30px; line-height: 40px; }
  .summary-item strong.summary-word { font-size: 24px; }
  .summary-item p { font-size: 12px; line-height: 22px; }
  .home-finder-wrap { width: 100%; margin: 0; }
  .finder-panel { gap: 24px; padding: 24px; }
  .finder-intro h2 { margin-bottom: 16px; font-size: 20px; line-height: 32px; }
  .finder-intro h3 { font-size: 15px; line-height: 26px; }
  .finder-intro p { font-size: 13px; line-height: 24px; }
  .shortcut-grid { --columns: 2; gap: 12px; }
  .shortcut { padding: 12px 20px 12px 12px; min-height: 76px; font-size: 13px; }
  .shortcut-category { font-size: 11px; }
  .shortcut-arrow { right: 8px; top: 12px; font-size: 12px; }
  .industry-zone { margin-top: 24px; padding-top: 28px; scroll-margin-top: 80px; }
  .browse-container { width: calc(100% - 32px); }
  #home .section-head { margin-bottom: 20px; }
  #home .section-head h2 { font-size: 24px; line-height: 36px; }
  #home .industry-grid { --columns: 1; gap: 16px; }
  #home .industry-card { min-height: 0; padding: 24px; }
  #home .industry-card h3 { font-size: 21px; line-height: 32px; }
  #home .industry-card .desc { min-height: 0; }
  #home .samples { min-height: 0; }
  #home .entry-block.compact { margin-top: 20px; }
  #home .card-foot { margin-top: 24px; }
  #home .note { padding: 28px 0; }
}

@media (max-width: 360px) {
  .home-hero-top { padding: 24px 20px; }
  #home h1 { font-size: 26px; line-height: 38px; }
  .home-summary, .finder-panel, #home .industry-card { padding: 20px; }
  .summary-item { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
  .shortcut-grid { gap: 10px; }
  .shortcut { padding-left: 10px; padding-right: 16px; }
  .shortcut-arrow { right: 6px; }
  .industry-icon { width: 76px; height: 76px; }
}

/* The same surfaces and type hierarchy continue through all six industry routes. */
#industry { background: var(--wash); }
#industry .container {
  width: calc(100% - 64px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 0 64px;
}
.industry-hero {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: center;
  padding: 32px;
  border: 1px solid #dce3f7;
  border-radius: var(--radius-panel);
  background: var(--hero-background);
  box-shadow: var(--shadow-raised);
}
.industry-hero > div { min-width: 0; }
.industry-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 40px;
  line-height: 52px;
  font-weight: 700;
}
.industry-hero .lead { margin-top: 16px; color: #53627d; font-size: 16px; line-height: 28px; }
.industry-summary {
  min-width: 0;
  padding: var(--space-6);
  border-color: var(--line);
  border-radius: var(--radius-card);
  background: var(--panel);
  box-shadow: var(--shadow-card);
}
.industry-summary h2 { margin: 0 0 12px; font-size: 16px; line-height: 26px; font-weight: 600; }
.industry-summary p { color: var(--muted); font-size: 14px; line-height: 26px; }
.stat-strip { --columns: 3; display: grid; gap: 8px; margin-top: 20px; }
.stat { min-width: 0; padding: 12px 8px; border-radius: var(--radius-control); background: #f1f3fa; }
.stat strong { color: #25345b; font-size: 24px; line-height: 32px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 12px; line-height: 20px; }
.industry-filter {
  margin-top: 16px;
  padding: 20px 24px;
  border-color: var(--line);
  border-radius: var(--radius-card);
  background: var(--panel);
  box-shadow: var(--shadow-card);
}
.filter-row { gap: 8px; }
#industry .filter-row .entry-term { min-height: 40px; padding: 8px 14px; font-size: 13px; line-height: 22px; }
.list-layout { grid-template-columns: minmax(0, 1fr) 288px; gap: 24px; margin-top: 28px; }
.list-layout > div, .aside { min-width: 0; }
.list-layout .section-head { margin: 0 0 16px; }
.list-layout .section-head h2 { font-size: 24px; line-height: 36px; font-weight: 600; overflow-wrap: anywhere; }
.opportunity-list { gap: 16px; }
.opportunity {
  min-width: 0;
  padding: 24px;
  border-color: var(--line);
  border-radius: var(--radius-card);
  background: var(--panel);
  box-shadow: var(--shadow-card);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
}
.opportunity > div { min-width: 0; }
.opportunity:hover { border-color: #b0bfe7; box-shadow: var(--shadow-hover); }
.opportunity h3 {
  display: block;
  overflow: visible;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.opportunity p { color: var(--muted); font-size: 14px; line-height: 26px; }
.learn {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-control);
  background: #f4f6fd;
  color: #4d5c83;
  font-size: 14px;
  line-height: 26px;
  font-weight: 500;
  -webkit-line-clamp: 3;
}
.meta { gap: 8px; margin-top: 16px; }
.aside { gap: 16px; padding-top: 52px; }
.aside-card { padding: 24px; border-color: var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.aside-card h3 { margin: 0 0 12px; color: var(--aux-heading); font-size: 16px; line-height: 26px; font-weight: 600; }
.aside-card p { color: var(--muted); font-size: 14px; line-height: 26px; }
.aside-card .badge-row { gap: 8px; }
.aside-card .badge { max-width: 100%; white-space: normal; text-align: left; overflow-wrap: anywhere; }
.filter-empty { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--panel); }
.filter-empty[hidden] { display: none; }
.filter-empty p { margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 26px; }

/* Evidence is a reading surface, not an enlarged list card. */
#source-detail { background: var(--wash); }
.source-detail { margin: 0; padding: 0 0 64px; }
.source-top {
  height: 72px;
  margin: 0;
  padding: 0 max(32px, calc((100% - 1280px) / 2));
  background: rgb(255 255 255 / 96%);
  backdrop-filter: none;
}
.source-back { color: var(--deep-2); font-weight: 600; white-space: nowrap; }
.source-content { width: calc(100% - 96px); max-width: 1000px; margin: 24px auto 0; }
.source-heading {
  padding: 32px;
  border: 1px solid #dce3f7;
  border-radius: var(--radius-panel);
  background: var(--hero-background);
  box-shadow: var(--shadow-raised);
}
.source-detail h1 {
  max-width: none;
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 34px;
  line-height: 48px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.source-card, .source-section { max-width: none; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--panel); box-shadow: var(--shadow-card); }
.source-card { margin: 0; }
.source-card.highlight { background: rgb(255 255 255 / 94%); border-color: #d2dcf5; }
.source-section { margin: 20px 0 0; }
.source-card h2, .source-section h2 { margin: 0 0 12px; color: var(--ink); font-size: 20px; line-height: 32px; font-weight: 600; }
.source-card.highlight h2 { color: #4257b3; font-size: 16px; line-height: 26px; }
.source-card p, .source-section p { color: var(--muted); font-size: 15px; line-height: 28px; overflow-wrap: anywhere; }
.source-card.highlight p { color: #42516d; font-size: 16px; line-height: 30px; font-weight: 500; }
.source-evidence-list { gap: 12px; margin-top: 20px; }
.source-evidence { padding: 20px; border-color: #e2e7f3; border-radius: var(--radius-control); background: #f8faff; }
.source-evidence-title { gap: 16px; margin-bottom: 8px; font-size: 16px; line-height: 26px; font-weight: 600; }
.source-evidence-title > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.source-ref { flex-wrap: wrap; color: var(--deep-2); font-size: 13px; line-height: 24px; font-weight: 600; }
.source-quote { border-color: #b3bfe3; color: #53627b; font-style: normal; line-height: 26px; }
.source-links { gap: 12px; margin-top: 16px; font-size: 14px; line-height: 26px; }
.source-links a { color: var(--deep-2); font-weight: 500; overflow-wrap: anywhere; }
.source-links li { padding-left: 4px; overflow-wrap: anywhere; }
.source-links li::marker { color: var(--deep-2); font-weight: 600; }
.stat-strip { grid-template-columns: repeat(var(--columns), minmax(0, var(--column-size, 1fr))); }

@media (max-width: 1160px) {
  .industry-hero { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; padding: 28px; }
  .industry-summary { padding: 20px; }
  .list-layout { grid-template-columns: minmax(0, 1fr) 264px; }
}
@media (max-width: 900px) {
  .industry-hero, .list-layout { grid-template-columns: 1fr; }
  .aside { padding-top: 0; }
  .source-evidence-title { align-items: start; }
}
@media (max-width: 720px) {
  #industry .container { width: calc(100% - 32px); padding: 16px 0 40px; }
  .industry-hero { gap: 24px; padding: 24px; border-radius: var(--radius-card); }
  .industry-hero h1 { font-size: 30px; line-height: 42px; }
  .industry-hero .lead { margin-top: 12px; font-size: 15px; line-height: 28px; }
  .industry-summary { padding: 20px; }
  .industry-summary p { font-size: 13px; line-height: 24px; }
  .stat { padding: 12px 6px; }
  .stat strong { font-size: 20px; line-height: 28px; }
  .stat span { font-size: 11px; }
  .industry-filter { padding: 16px; }
  #industry .filter-row .entry-term { padding: 8px 12px; font-size: 12px; }
  .list-layout { gap: 24px; margin-top: 24px; }
  .list-layout .section-head h2 { font-size: 22px; line-height: 32px; }
  .opportunity { padding: 20px; gap: 16px; grid-template-columns: 1fr; }
  .opportunity h3 { font-size: 18px; line-height: 28px; }
  .learn { padding: 12px; }
  .source { justify-self: start; }
  .source-top { height: 64px; gap: 12px; padding: 0 16px; }
  .source-top .brand { font-size: 18px; }
  .source-back { padding: 8px 12px; font-size: 12px; }
  .source-content { width: calc(100% - 32px); margin-top: 16px; }
  .source-heading { padding: 24px; border-radius: var(--radius-card); }
  .source-detail h1 { margin-bottom: 20px; font-size: 26px; line-height: 38px; }
  .source-card, .source-section { padding: 20px; }
  .source-card.highlight p { font-size: 15px; line-height: 28px; }
  .source-evidence { padding: 16px; }
  .source-evidence-title { display: grid; gap: 4px; }
}
@media (max-width: 360px) {
  .industry-hero { padding: 20px; }
  .industry-summary { padding: 16px; }
  .stat { padding: 12px 4px; }
  .stat-strip { gap: 6px; }
  .stat strong { font-size: 18px; line-height: 28px; }
  .stat span { font-size: 10px; }
  .source-top .brand-sub, .source-top .brand-sep { display: none; }
  .source-heading { padding: 20px; }
  .source-card, .source-section { padding: 16px; }
}

