@font-face { font-family: "Apercu"; src: url("/brand/apercu-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Apercu"; src: url("/brand/apercu-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Apercu"; src: url("/brand/apercu-medium.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Apercu Mono"; src: url("/brand/apercu-mono.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  font-family: "Apercu", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--canvas);
  --ink: #151515;
  --muted: #6d6d69;
  --line: #deded8;
  --canvas: #f7f7f3;
  --surface: #fff;
  --accent: #1747e8;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--canvas); color: var(--ink); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

.chrome { height: 58px; padding: 0 22px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; z-index: 20; }
.brand { justify-self: start; display: flex; gap: 11px; align-items: center; color: inherit; text-decoration: none; }
.brand img { display: block; width: 122px; height: 24px; object-fit: contain; object-position: left center; }
.brand-context { padding-left: 11px; border-left: 1px solid var(--line); font: .65rem "Apercu Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 24px; }
.primary-nav a { color: var(--muted); text-decoration: none; font-size: .82rem; font-weight: 600; }
.primary-nav a.active { color: inherit; }
.download-link { justify-self: end; color: inherit; text-decoration: none; border: 1px solid var(--line); border-radius: 7px; padding: 8px 11px; font-size: .78rem; }
.download-link span { margin-left: 5px; color: var(--accent); }
.concepts { display: flex; gap: 3px; padding: 3px; border-radius: 8px; background: color-mix(in srgb, var(--ink) 5%, transparent); }
.concepts button { border: 0; background: transparent; padding: 7px 10px; display: flex; gap: 6px; align-items: center; border-radius: 6px; cursor: pointer; color: var(--muted); font-size: .8rem; }
.concepts button b { font-size: .68rem; font-weight: 650; opacity: .65; }
.concepts button.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px #00000014; }
.downloads { justify-self: end; position: relative; }
.downloads > button { border: 1px solid var(--line); background: transparent; border-radius: 7px; padding: 8px 11px; cursor: pointer; font-size: .78rem; }
.downloads > button span { margin-left: 5px; }
.downloads-menu { position: absolute; top: calc(100% + 9px); right: 0; width: 260px; padding: 9px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 18px 50px #0002; border-radius: 10px; z-index: 30; }
.downloads-menu section { display: grid; grid-template-columns: 86px 1fr; align-items: center; min-height: 46px; border-bottom: 1px solid var(--line); padding: 5px 6px; }
.downloads-menu section:last-child { border-bottom: 0; }
.downloads-menu strong { font-size: .76rem; }
.downloads-menu section div { display: flex; justify-content: flex-end; gap: 5px; }
.downloads-menu a { color: inherit; text-decoration: none; border: 1px solid var(--line); border-radius: 5px; padding: 5px 7px; font-size: .7rem; }

main { min-height: calc(100vh - 58px); }
.search-box { display: flex; align-items: center; gap: 11px; background: var(--surface); border: 1px solid var(--line); }
.search-box svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; flex: 0 0 auto; color: var(--muted); }
.search-box input, .index-search input { min-width: 0; width: 100%; border: 0; outline: 0; color: inherit; background: transparent; }
.entity-picker { display: flex; gap: 4px; }
.entity-picker button { border: 0; background: transparent; color: var(--muted); border-radius: 999px; padding: 7px 12px; cursor: pointer; font-size: .8rem; }
.entity-picker button.active { color: var(--surface); background: var(--ink); }
.arrow { font-weight: 400; font-size: 1rem; }
.empty { padding: 80px 20px; color: var(--muted); text-align: center; grid-column: 1 / -1; }
.skeleton { height: 68px; margin-bottom: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--line) 50%, transparent), color-mix(in srgb, var(--surface) 90%, transparent), color-mix(in srgb, var(--line) 50%, transparent)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* 1 — Spotlight search */
.concept-1 { --canvas: #f5f5f0; --surface: #fff; --ink: #151515; --muted: #74746e; --line: #dbdbd3; --accent: #1747e8; }
.search-concept { width: min(900px, calc(100% - 32px)); margin: 0 auto; padding: clamp(50px, 8vh, 100px) 0; }
.search-box.jumbo { min-height: 76px; border-radius: 15px; padding: 0 22px; box-shadow: 0 14px 50px #23231a0d; }
.search-box.jumbo svg { width: 25px; height: 25px; }
.search-box.jumbo input { font-size: clamp(1.15rem, 2.3vw, 1.7rem); letter-spacing: -.025em; }
.search-concept > .entity-picker { justify-content: center; margin: 18px 0 38px; }
.unified { border-top: 1px solid var(--line); }
.search-result { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(80px, auto) 20px; gap: 14px; align-items: center; padding: 14px 3px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.search-result:hover { color: var(--accent); }
.entity-glyph { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #e9e9e2; color: #4d4d49; font-size: .68rem; font-weight: 700; letter-spacing: .04em; }
.entity-glyph.company { border-radius: 8px; background: #e3e8fa; color: #193da5; }
.result-copy { min-width: 0; }
.result-copy strong, .result-copy small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-copy strong { font-size: .95rem; letter-spacing: -.01em; }
.result-copy small, .result-trailing { color: var(--muted); font-size: .76rem; margin-top: 4px; }
.result-trailing { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 2 — Dense directory */
.concept-2 { --canvas: #0b0f16; --surface: #111722; --ink: #eef2f8; --muted: #8290a4; --line: #263041; --accent: #52d5ff; }
.concept-2 .chrome { background: #0b0f16; }
.concept-2 .brand-mark { background: var(--accent); color: #071018; }
.directory-concept { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: calc(100vh - 58px); }
.directory-tools { border-right: 1px solid var(--line); padding: 28px 18px; }
.directory-title { font-size: 1.5rem; font-weight: 650; letter-spacing: -.04em; margin-bottom: 24px; }
.directory-tools .entity-picker { flex-direction: column; }
.directory-tools .entity-picker button { text-align: left; border-radius: 6px; font-size: .9rem; }
.directory-tools .entity-picker button.active { background: #1b2635; color: var(--accent); }
.search-box.compact { margin-top: 22px; border-radius: 7px; padding: 0 10px; background: #0a0f16; }
.search-box.compact input { padding: 10px 0; font-size: .84rem; }
.directory-main { padding: 26px 30px; overflow: hidden; }
.result-meta { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 13px; }
.directory-main .results { overflow: auto; border: 1px solid var(--line); border-radius: 7px; }
.directory-main table { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 820px; }
.directory-main th { text-align: left; color: var(--muted); font-size: .67rem; text-transform: uppercase; letter-spacing: .1em; padding: 11px 14px; background: #0c121b; }
.directory-main td { padding: 12px 14px; border-top: 1px solid var(--line); color: #b9c3d2; font-size: .8rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.directory-main td.primary { color: var(--ink); font-weight: 600; }
.directory-main tbody tr { cursor: pointer; }
.directory-main tbody tr:hover { background: #17202e; }
.pagination { display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: var(--muted); font-size: .75rem; margin-top: 12px; }
.pagination button { width: 34px; height: 30px; border-radius: 5px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.pagination button:disabled { opacity: .35; }

/* 3 — Company-first */
.concept-3 { --canvas: #11100e; --surface: #181713; --ink: #f6f0e4; --muted: #aaa18f; --line: #38352d; --accent: #ffb52e; }
.concept-3 .chrome { background: #11100e; }
.concept-3 .brand-mark { background: var(--accent); color: #1b1305; }
.company-concept { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 46px 0 80px; }
.company-search { display: grid; grid-template-columns: 1fr minmax(320px, 520px); align-items: center; gap: 30px; margin-bottom: 42px; }
.company-search > span { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1; letter-spacing: -.065em; font-weight: 670; }
.search-box.line { background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; }
.search-box.line input { padding: 7px 0; font-size: 1rem; }
.company-results { border-top: 1px solid var(--line); }
.company-line { width: 100%; display: grid; grid-template-columns: minmax(220px, 1.3fr) 1fr 120px 25px; align-items: center; gap: 22px; padding: 20px 4px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.company-line:hover { color: var(--accent); }
.company-name { font-size: 1.25rem; font-weight: 590; letter-spacing: -.025em; }
.company-industry, .company-people { color: var(--muted); font-size: .82rem; }
.company-people { text-align: right; }

/* 4 — Gateway X directory */
.concept-4 { --canvas: #f8f8f3; --surface: #fff; --ink: #000; --muted: #686863; --line: #d8d8cf; --accent: #d7e845; --green: #000; }
.concept-4 .chrome { background: rgba(255,255,255,.94); color: #000; --line: #d8d8cf; --surface: #fff; --muted: #686863; backdrop-filter: blur(14px); }
.cards-concept { width: min(1560px, calc(100% - 36px)); margin: 0 auto; padding: 24px 0 70px; }
.cards-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; position: sticky; top: 58px; z-index: 8; background: color-mix(in srgb, var(--canvas) 94%, transparent); backdrop-filter: blur(14px); padding: 12px 0; }
.cards-count { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px 2px; }
.search-box.capsule { width: min(720px, 70vw); border-radius: 10px; border: 1.5px solid var(--ink); padding: 0 14px; box-shadow: 3px 3px 0 var(--accent); }
.search-box.capsule input { padding: 11px 0; font-size: .94rem; }
.concept-4 .entity-picker button.active { background: var(--ink); color: #fff; }
.card-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.entity-card { min-height: 150px; padding: 13px; display: flex; flex-direction: column; align-items: flex-start; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--surface); text-align: left; cursor: pointer; box-shadow: 2px 2px 0 #d8d8cf; }
.entity-card.company { background: radial-gradient(circle at 82% 12%, #8cc63e 0, #d7e845 38%, #fff 108%); color: #000; border-color: #000; }
.entity-card:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--accent); }
.card-type { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; opacity: .65; }
.entity-card strong { margin-top: 15px; font-size: 1rem; letter-spacing: -.025em; }
.entity-card p { color: currentColor; opacity: .72; font-size: .76rem; line-height: 1.35; margin: 8px 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.card-foot { margin-top: auto; font-size: .75rem; opacity: .64; }
.search-prompt { grid-column: 1 / -1; min-height: 260px; display: grid; place-content: center; gap: 8px; padding: 40px 20px; border: 1px dashed var(--line); border-radius: 9px; color: var(--muted); text-align: center; }
.search-prompt strong { color: var(--ink); font-size: 1.05rem; }
.search-prompt span { font-size: .88rem; }
.cards-more { display: flex; justify-content: center; min-height: 58px; padding-top: 18px; }
.cards-more:empty { min-height: 0; padding: 0; }
.cards-more button { border: 1.5px solid var(--ink); border-radius: 7px; background: var(--accent); padding: 10px 16px; cursor: pointer; font-size: .8rem; font-weight: 600; box-shadow: 2px 2px 0 var(--ink); }
.cards-more button:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.cards-more button:disabled { opacity: .55; cursor: wait; transform: none; }

.people-filters { width: min(720px, 100%); margin: 0 0 16px; }
.people-filters summary { width: max-content; color: var(--muted); cursor: pointer; font-size: .78rem; font-weight: 600; list-style-position: outside; }
.people-filters summary span:not(:empty) { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 7px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .68rem; }
.filter-fields { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; padding: 12px 0 4px; }
.filter-fields label span { display: block; margin-bottom: 5px; color: var(--muted); font-size: .72rem; }
.filter-fields input { width: 100%; min-height: 38px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); padding: 8px 10px; color: inherit; }
.filter-fields input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.filter-fields button { min-height: 38px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); padding: 8px 11px; cursor: pointer; font-size: .75rem; }
.filter-fields button:disabled { opacity: .4; cursor: default; }

/* Home */
.home-page { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: clamp(24px, 4.5vh, 55px) 0 90px; }
.home-intro { display: grid; grid-template-columns: minmax(0, 820px) minmax(230px, 1fr); gap: clamp(40px, 7vw, 92px); align-items: end; }
.home-kicker, .home-action-number { font: .72rem "Apercu Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.home-intro h1 { margin: 7px 0 10px; font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: .92; letter-spacing: -.06em; }
.home-intro-copy > p:last-child { max-width: 620px; margin: 0; color: var(--muted); font-size: 1.1rem; line-height: 1.5; }
.enrichment-checklist { margin-bottom: 5px; padding: 18px 0 4px; border-top: 1.5px solid var(--ink); }
.enrichment-checklist > p { margin: 0 0 16px; font: .72rem "Apercu Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.enrichment-checklist ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.enrichment-checklist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: center; font-size: .88rem; line-height: 1.25; }
.enrichment-checklist li span { width: 24px; height: 24px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--accent); color: var(--ink); font-size: .78rem; font-weight: 700; box-shadow: 1.5px 1.5px 0 var(--ink); }
.home-actions { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 10px; margin-top: clamp(26px, 4.5vh, 50px); }
.home-action { min-height: 260px; display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border: 1.5px solid var(--ink); border-radius: 9px; background: var(--surface); box-shadow: 3px 3px 0 #d8d8cf; }
.home-action.primary { background: radial-gradient(circle at 92% 0, #8cc63e 0, #d7e845 42%, #fff 115%); box-shadow: 3px 3px 0 #000; }
.home-action-number { margin: 0 0 45px; }
.home-action h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -.04em; }
.home-action > p:not(.home-action-number) { max-width: 55ch; margin: 0 0 24px; color: #3f3f3b; font-size: .9rem; line-height: 1.5; }
.home-action a { margin-top: auto; border-radius: 6px; background: #000; color: #fff; padding: 9px 11px; text-decoration: none; font-size: .78rem; }
.home-action a span { margin-left: 8px; color: var(--accent); }
.home-action.primary a span { color: #d7e845; }

/* Downloads */
.downloads-page { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 23px 0 90px; }
.downloads-heading { display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 40px; align-items: end; padding-bottom: 13px; border-bottom: 2px solid var(--ink); }
.downloads-heading h1 { font-size: clamp(2rem, 3vw, 2.5rem); letter-spacing: -.055em; line-height: .95; margin: 0; }
.download-note { border: 1.5px solid #000; border-radius: 9px; background: radial-gradient(circle at 92% 0, #8cc63e 0, #d7e845 42%, #fff 115%); padding: 20px; box-shadow: 3px 3px 0 #000; }
.download-note strong { display: block; font: .72rem "Apercu Mono", monospace; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 24px; }
.download-note p { color: #000; font-size: 1.05rem; line-height: 1.4; margin: 0; }
.download-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
.download-card { border: 1.5px solid var(--ink); border-radius: 9px; background: var(--surface); padding: 18px; min-height: 218px; box-shadow: 3px 3px 0 var(--accent); }
.download-card h2 { font-size: 1.15rem; margin: 0 0 8px; }
.download-card > p { color: var(--muted); font-size: .82rem; line-height: 1.45; margin: 0 0 22px; }
.download-options { display: grid; gap: 7px; }
.download-option { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding-top: 9px; }
.download-option div strong, .download-option div span { display: block; }
.download-option div strong { font-size: .8rem; }
.download-option div span { color: var(--muted); font-size: .7rem; margin-top: 3px; }
.download-option a { color: #fff; background: #000; border-radius: 6px; padding: 7px 9px; text-decoration: none; font-size: .72rem; }
.download-option a:hover { color: #000; background: var(--accent); }
.prompt-section { margin-top: 54px; }
.prompt-section > h2 { font-size: 1.8rem; letter-spacing: -.04em; margin: 0 0 8px; }
.prompt-section > p { color: var(--muted); margin: 0 0 20px; }
.prompts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prompt-card { border: 1px solid var(--line); background: var(--surface); border-radius: 9px; padding: 18px; }
.prompt-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.prompt-head strong { font-size: .88rem; }
.copy-button { border: 1px solid #000; background: var(--accent); border-radius: 6px; padding: 6px 8px; cursor: pointer; font-size: .7rem; }
.prompt-card pre { white-space: pre-wrap; overflow-wrap: anywhere; font: .76rem/1.55 "Apercu Mono", ui-monospace, monospace; color: #383834; margin: 0; }

/* 5 — Editorial index */
.concept-5 { --canvas: #fff; --surface: #fff; --ink: #0b0b0b; --muted: #666; --line: #1a1a1a; --accent: #0b0b0b; font-family: Georgia, "Times New Roman", serif; }
.concept-5 .chrome, .concept-5 input, .concept-5 button { font-family: Arial, Helvetica, sans-serif; }
.concept-5 .chrome { border-bottom: 2px solid var(--ink); }
.concept-5 .brand-mark { border-radius: 0; }
.concept-5 .concepts { border-radius: 0; background: transparent; }
.concept-5 .concepts button.active { box-shadow: none; text-decoration: underline; text-underline-offset: 4px; }
.index-concept { width: min(1280px, calc(100% - 40px)); margin: 0 auto; padding: 36px 0 80px; }
.index-search { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 32px; padding-bottom: 18px; border-bottom: 4px solid var(--ink); }
.index-search span { font: 700 .75rem Arial, sans-serif; text-transform: uppercase; letter-spacing: .15em; }
.index-search input { font: 2rem Georgia, serif; }
.index-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.index-columns section > h2 { display: flex; justify-content: space-between; align-items: baseline; font-size: 2.8rem; letter-spacing: -.045em; margin: 30px 0 12px; }
.index-columns h2 small { font: .72rem Arial, sans-serif; color: var(--muted); }
.index-row { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(100px, .8fr); gap: 20px; text-align: left; padding: 11px 0; border: 0; border-top: 1px solid var(--ink); background: transparent; cursor: pointer; }
.index-row span { font-size: 1.05rem; }
.index-row small { font: .72rem/1.4 Arial, sans-serif; color: var(--muted); }
.index-row:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* Shared record */
.scrim { position: fixed; inset: 0; background: #0008; z-index: 40; backdrop-filter: blur(2px); }
.record-panel { --ink: #000; --muted: #686863; --line: #d8d8cf; --surface: #fff; position: fixed; inset: 0 0 0 auto; width: min(680px, 96vw); z-index: 41; background: #fff; color: #000; transform: translateX(102%); transition: transform .2s ease; overflow-y: auto; box-shadow: -20px 0 70px #0004; font-family: "Apercu", ui-sans-serif, system-ui, sans-serif; }
.record-panel.open { transform: translateX(0); }
.close { position: sticky; top: 18px; float: right; margin: 18px 20px 0 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.4rem; z-index: 2; }
#record-content { padding: 62px 44px 80px; }
.record-kicker { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 700; }
.record h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.055em; margin: 12px 0 16px; }
.record-lead { font-size: 1.05rem; line-height: 1.55; color: #4e4e4a; margin: 0; max-width: 56ch; }
.record-actions { display: flex; gap: 8px; margin: 24px 0 28px; }
.record-actions a { color: #000; border: 1px solid #000; background: var(--accent); border-radius: 7px; padding: 8px 11px; text-decoration: none; font-size: .78rem; }
.facts { display: grid; grid-template-columns: 110px 1fr; margin: 0; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .82rem; }
.facts dt, .facts dd { padding: 6px 0; margin: 0; }
.facts dt { color: var(--muted); }
.record-section { margin-top: 34px; }
.record-section h2 { font-size: .72rem; text-transform: uppercase; letter-spacing: .11em; color: var(--muted); margin: 0 0 12px; }
.related-list { display: grid; border-top: 1px solid var(--line); }
.related-list button { display: grid; grid-template-columns: minmax(0, 1fr) minmax(80px, .7fr) 18px; gap: 12px; align-items: center; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.related-list button span { font-weight: 630; }
.related-list button small { color: var(--muted); }
.skill-list { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-list span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 9px; font-size: .76rem; }
.timeline { border-top: 1px solid var(--line); }
.timeline > div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.timeline strong, .timeline span { display: block; }
.timeline strong { font-size: .88rem; }
.timeline span { color: var(--muted); font-size: .77rem; margin-top: 4px; }
.record-loading { padding: 100px 0; color: var(--muted); }

@media (max-width: 980px) {
  .chrome { grid-template-columns: 1fr auto; }
  .download-link { display: none; }
  .concepts { position: fixed; z-index: 25; left: 10px; right: 10px; bottom: 10px; justify-content: center; border: 1px solid var(--line); box-shadow: 0 10px 35px #0004; }
  .concepts button { flex: 1; justify-content: center; }
  main { padding-bottom: 66px; }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .directory-concept { grid-template-columns: 210px minmax(0, 1fr); }
  .home-intro { grid-template-columns: minmax(0, 1fr) 250px; gap: 32px; }
  .home-intro h1 { font-size: clamp(2.25rem, 4.5vw, 2.9rem); }
}

@media (max-width: 700px) {
  .brand-context { display: none; }
  .brand img { width: 104px; }
  .chrome { padding: 0 14px; }
  .primary-nav { gap: 12px; }
  .primary-nav a { font-size: .74rem; }
  .concepts button span { display: none; }
  .search-result { grid-template-columns: 40px minmax(0, 1fr) 18px; }
  .result-trailing { display: none; }
  .directory-concept { display: block; }
  .directory-tools { border: 0; border-bottom: 1px solid var(--line); padding: 18px; }
  .directory-title { display: none; }
  .directory-tools .entity-picker { flex-direction: row; }
  .directory-main { padding: 18px 12px; }
  .company-search { grid-template-columns: 1fr; }
  .company-line { grid-template-columns: minmax(0, 1fr) 100px 20px; }
  .company-industry { display: none; }
  .card-grid, .index-columns { grid-template-columns: 1fr; }
  .cards-toolbar { align-items: stretch; flex-direction: column; }
  .search-box.capsule { width: 100%; }
  #record-content { padding: 58px 24px 70px; }
  .facts { grid-template-columns: 90px 1fr; }
  .downloads-heading, .download-groups, .prompts { grid-template-columns: 1fr; }
  .home-intro { grid-template-columns: 1fr; gap: 34px; }
  .enrichment-checklist { width: min(100%, 360px); margin-bottom: 0; }
  .home-actions, .filter-fields { grid-template-columns: 1fr; }
  .home-action { min-height: 230px; }
}

/* Password gate */
.login-page { display: grid; place-items: center; padding: 24px 16px; }
.login-card { width: min(380px, 100%); padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); display: grid; gap: 10px; }
.login-card h1 { margin: 0; font-size: 1.4rem; font-weight: 500; letter-spacing: -.02em; }
.login-card p { margin: 0 0 8px; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.login-card label { font-size: .78rem; font-weight: 600; }
.login-card input { border: 1px solid var(--line); border-radius: 7px; padding: 10px 12px; background: var(--canvas); color: inherit; }
.login-card input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.login-card button { margin-top: 6px; border: 0; border-radius: 7px; padding: 11px 14px; background: var(--ink); color: var(--surface); cursor: pointer; font-weight: 500; }
.login-card .login-error { margin: 0; color: #b42318; font-size: .82rem; }
