@font-face { font-family: "JetBrains Mono"; src: url("/static/fonts/JetBrainsMono-Regular.woff2") format("woff2"); font-style: normal; font-weight: 400 600; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/static/fonts/JetBrainsMono-Bold.woff2") format("woff2"); font-style: normal; font-weight: 700 800; font-display: swap; }

:root {
  --ink: #171821;
  --muted: #5d6070;
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-soft: #fff8f9;
  --line: #eadde1;
  --primary: #b4233b;
  --primary-dark: #7f1730;
  --primary-soft: #fff0f3;
  --secondary: #3949b9;
  --secondary-soft: #f0f1ff;
  --aero: #ffd4d9;
  --pink: #f59aa6;
  --yellow: #ffe36f;
  --keppel: #2ebfa5;
  --amber: #765300;
  --amber-bg: #fff8d7;
  --red: #8f243c;
  --red-bg: #fff0f4;
  --brand-gradient: linear-gradient(135deg, #9f1d42 0%, #5a2694 30%, #35259b 62%, #25249f 100%);
  --brand-gradient-hover: linear-gradient(135deg, #861936 0%, #4b2184 32%, #2c218c 65%, #1f207f 100%);
  --shadow: 0 18px 52px rgba(143, 36, 60, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #ffffff; font: 19px/1.62 "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace; }
button, input, textarea { font: inherit; }
small { font-size: 14px; }
button { cursor: pointer; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; color: white; background: var(--primary-dark); }
.skip-link:focus { top: 1rem; }
.topbar { min-height: 168px; padding: 1.2rem clamp(1.25rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; border-bottom: 0; color: white; background: var(--brand-gradient); box-shadow: 0 10px 34px rgba(45, 32, 120, .18); }
.brand { color: white; text-decoration: none; display: flex; gap: .8rem; align-items: center; }
.brand-mark { display: grid; place-items: center; width: 120px; height: 120px; overflow: hidden; color: transparent; background: url("/static/talentcerta-logo.svg") center/100% no-repeat; border: 0; border-radius: 29px; box-shadow: 0 14px 32px rgba(16, 12, 72, .24); font-size: 0; line-height: 1; text-indent: -9999px; }
.brand-copy, .brand strong, .brand small { display: block; }
.brand strong { font-size: 2rem; line-height: 1.15; letter-spacing: -.045em; }
.brand small { margin-top: .3rem; color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.35; }
.header-actions { display: flex; align-items: center; gap: 1.2rem; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .3rem; }
.site-nav a, .nav-dropdown summary { padding: .58rem .75rem; border-radius: 8px; color: rgba(255,255,255,.8); text-decoration: none; font-size: 20px; font-weight: 700; }
.site-nav > a:hover, .site-nav > a.active, .nav-dropdown summary:hover, .nav-dropdown[open] summary, .nav-dropdown.active summary { color: white; background: rgba(255,255,255,.16); }
.nav-dropdown { position: relative; }
.nav-dropdown summary { display: flex; align-items: center; gap: .4rem; cursor: pointer; list-style: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: "⌄"; font-size: .8rem; line-height: 1; transition: transform .15s ease; }
.nav-dropdown[open] summary::after { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; z-index: 30; top: calc(100% + .55rem); right: 0; width: min(270px, 80vw); padding: .45rem; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow); }
.nav-dropdown-menu::before { content: ""; position: absolute; right: 1.2rem; top: -.45rem; width: .75rem; height: .75rem; border-left: 1px solid var(--line); border-top: 1px solid var(--line); background: white; transform: rotate(45deg); }
.nav-dropdown-menu a { position: relative; display: block; padding: .75rem; color: var(--muted); }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a.active { color: var(--primary-dark); background: var(--primary-soft); }
.privacy-pill { padding: .5rem .9rem; border: 1px solid rgba(255,255,255,.24); border-radius: 99px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.84); font-size: 20px; }
.privacy-pill span { color: var(--keppel); margin-right: .3rem; }
main { max-width: 1540px; margin: auto; padding: 0 clamp(1rem, 5vw, 5rem) 5rem; }
.hero { min-height: 370px; display: grid; grid-template-columns: 1.45fr .55fr; align-items: center; gap: 5rem; padding: 4.5rem 0 3rem; }
.eyebrow { margin: 0 0 .75rem; color: var(--primary-dark); font-size: .875rem; line-height: 1.2; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0; max-width: 900px; font-size: clamp(calc(3.4rem - 37px), calc(6.5vw - 37px), calc(6.4rem - 37px)); line-height: .96; font-weight: 800; letter-spacing: -.065em; }
h1 span { color: var(--primary-dark); }
.hero-copy { max-width: 790px; margin: 1.8rem 0 0; color: var(--muted); font-size: 1.2rem; }
.product-auth-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.auth-action { display: inline-flex; align-items: center; justify-content: center; min-width: 150px; padding: .72rem 1rem; border: 2px solid var(--primary-dark); border-radius: 9px; text-decoration: none; font-size: .92rem; font-weight: 800; }
.auth-action-primary { color: white; background: var(--brand-gradient); box-shadow: 0 8px 20px rgba(53, 37, 155, .18); }
.auth-action-primary:hover { background: var(--brand-gradient-hover); }
.auth-action-secondary { color: var(--primary-dark); background: white; }
.auth-action-secondary:hover { background: var(--primary-soft); }
button.auth-action { font: inherit; cursor: pointer; }
.principles { align-self: end; padding-bottom: 1rem; }
.principles div { display: grid; grid-template-columns: 2.5rem 1fr; gap: .7rem; align-items: center; padding: .85rem 0; border-top: 1px solid var(--line); }
.principles b { color: var(--primary-dark); font-size: .875rem; }
.principles span { font-size: .92rem; }
.module-tabs { display: flex; gap: .5rem; margin-bottom: 1.25rem; }
.module-tab { padding: .9rem 1.25rem; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: transparent; font-weight: 700; }
.module-tab.active { color: white; border-color: transparent; background: var(--brand-gradient); box-shadow: 0 8px 20px rgba(53, 37, 155, .18); }
.module-panel { display: none; }
.module-panel.active { display: block; }
.workspace-grid { display: grid; grid-template-columns: minmax(330px, 430px) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.control-card, .results-card { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.control-card { padding: 1.5rem; }
.results-card { min-height: 720px; overflow: hidden; }
.card-heading { display: flex; gap: .85rem; margin-bottom: 1.25rem; }
.card-heading.compact { margin-top: 1.8rem; }
.card-heading h2 { margin: -.1rem 0 .15rem; font-size: 1.12rem; }
.card-heading p { margin: 0; color: var(--muted); font-size: .875rem; }
.step { flex: 0 0 auto; color: var(--primary-dark); font-size: .875rem; font-weight: 800; letter-spacing: .08em; }
label, legend { display: block; margin: 0 0 .5rem; font-size: .875rem; font-weight: 750; }
textarea, input[type="text"], input[type="number"] { width: 100%; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--surface-soft); outline: none; font-size: .94rem; }
select { width: 100%; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--surface-soft); font: inherit; font-size: .94rem; }
textarea { resize: vertical; }
textarea:focus, input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(180, 35, 59, .18); }
.dropzone { display: grid; place-items: center; min-height: 145px; padding: 1rem; border: 1.5px dashed #dfa9b2; border-radius: 12px; background: var(--surface-soft); text-align: center; cursor: pointer; }
.dropzone.compact-dropzone { grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .8rem; min-height: 88px; place-items: center start; text-align: left; }
.compact-dropzone .upload-icon { grid-row: 1 / 3; margin: 0; }
.compact-dropzone strong { align-self: end; }
.compact-dropzone small { align-self: start; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--primary); background: var(--primary-soft); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone strong, .dropzone small { display: block; }
.dropzone small { color: var(--muted); font-weight: 500; }
.upload-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: .4rem; border-radius: 50%; color: var(--ink); background: var(--aero); font-size: 1.25rem; }
.file-list { margin: .6rem 0 0; padding: 0; list-style: none; }
.file-list li, .selected-file { padding: .6rem .75rem; border-bottom: 1px solid #eff0f8; color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
.selected-file:empty { display: none; }
.input-divider { display: flex; align-items: center; gap: .7rem; margin: .8rem 0; color: var(--muted); font-size: .875rem; text-transform: uppercase; letter-spacing: .08em; }
.input-divider::before, .input-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.advanced { margin: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.advanced summary { padding: .8rem 0; font-weight: 750; cursor: pointer; }
.advanced[open] { padding-bottom: 1rem; }
.optional { color: var(--muted); font-weight: 500; }
.weights { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: .8rem; }
.weights label { color: var(--muted); font-weight: 600; }
.check-control { display: flex; gap: .55rem; align-items: center; margin-top: .9rem; color: var(--muted); font-weight: 600; }
.check-control input { width: 1rem; height: 1rem; accent-color: var(--primary); }
.primary-button { width: 100%; display: flex; justify-content: space-between; margin-top: 1rem; padding: 1rem 1.1rem; border: 0; border-radius: 10px; color: white; background: var(--brand-gradient); box-shadow: 0 8px 20px rgba(53, 37, 155, .2); font-weight: 800; }
.primary-button:hover { background: var(--brand-gradient-hover); }
.form-note { margin: .8rem 0 0; color: var(--muted); font-size: .875rem; text-align: center; }
fieldset { margin: 1.4rem 0; padding: 0; border: 0; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.segmented label { margin: 0; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; min-height: 72px; padding: .8rem; border: 1px solid var(--line); border-radius: 9px; }
.segmented small { display: block; color: var(--muted); font-weight: 500; }
.segmented input:checked + span { border-color: var(--primary); background: var(--primary-soft); box-shadow: inset 0 0 0 1px var(--primary); }
.empty-state, .loading-state { max-width: 550px; min-height: 720px; margin: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 3rem; text-align: center; }
.empty-state h2, .loading-state h2 { margin: .2rem 0 .5rem; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.15; font-weight: 800; }
.empty-state > p:last-child, .loading-state p { color: var(--muted); }
.radar { position: relative; display: grid; place-items: center; width: 150px; height: 150px; margin-bottom: 2.2rem; }
.radar i { position: absolute; border: 1px solid #e5b6be; border-radius: 50%; }
.radar i:nth-child(1) { inset: 0; }.radar i:nth-child(2) { inset: 24px; }.radar i:nth-child(3) { inset: 48px; }
.radar span { z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: white; background: var(--primary); font-weight: 800; }
.document-glyph { width: 110px; height: 142px; margin-bottom: 2rem; padding: 30px 20px; border: 2px solid var(--primary); border-radius: 8px; background: var(--primary-soft); transform: rotate(3deg); }
.document-glyph span { display: block; height: 5px; margin: 0 0 12px; border-radius: 3px; background: var(--primary); opacity: .75; }
.document-glyph span:nth-child(2) { width: 75%; }.document-glyph span:nth-child(4) { width: 60%; }
.spinner { width: 48px; height: 48px; margin-bottom: 1.5rem; border: 4px solid var(--primary-soft); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }
.error-state { margin: 2rem; padding: 1rem; border: 1px solid #e8b6b0; border-radius: 10px; color: var(--red); background: var(--red-bg); }
.result-toolbar { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; padding: 1.6rem; border-bottom: 1px solid var(--line); }
.result-toolbar h2 { max-width: 760px; margin: 0; font-size: 1.55rem; line-height: 1.25; font-weight: 800; }
.toolbar-actions { display: flex; gap: .5rem; }
.secondary-button { padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: .875rem; font-weight: 750; white-space: nowrap; }
.secondary-button:hover { border-color: var(--primary); color: var(--primary-dark); }
.quick-actions { display: flex; gap: .4rem; padding: .8rem 1rem; overflow-x: auto; border-bottom: 1px solid var(--line); background: #fbfcfa; }
.quick-actions button { flex: 0 0 auto; padding: .5rem .7rem; border: 1px solid transparent; border-radius: 99px; color: var(--muted); background: transparent; font-size: .875rem; font-weight: 700; }
.quick-actions button.active { color: var(--primary-dark); border-color: #dfa9b2; background: var(--primary-soft); }
#analysis-view { padding: 1.5rem; }
.section-title { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin: 1.4rem 0 .7rem; }
.section-title:first-child { margin-top: 0; }
.section-title h3 { margin: 0; font-size: 1.05rem; }
.section-title p { margin: 0; color: var(--muted); font-size: .875rem; }
.result-disclosure { margin: 1.4rem 0 .7rem; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfa; overflow: hidden; }
.result-disclosure summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .9rem 1rem; cursor: pointer; list-style: none; }
.result-disclosure summary::-webkit-details-marker { display: none; }
.result-disclosure summary strong, .result-disclosure summary small { display: block; }
.result-disclosure summary strong { font-size: 1.05rem; }
.result-disclosure summary small { margin-top: .25rem; color: var(--muted); font-size: .875rem; font-weight: 400; }
.disclosure-action::after { content: "Show"; color: var(--primary-dark); font-size: .875rem; font-weight: 800; }
.result-disclosure[open] .disclosure-action::after { content: "Hide"; }
.disclosure-content { padding: 0 1rem 1rem; }
.disclosure-content .table-wrap { background: white; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.metric { padding: 1rem; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfa; }
.metric span { display: block; color: var(--muted); font-size: .875rem; text-transform: uppercase; letter-spacing: .08em; }
.metric strong { display: block; margin-top: .3rem; font-size: 1.55rem; line-height: 1; font-weight: 800; }
.notice { margin: 1rem 0; padding: .9rem 1rem; border-left: 4px solid var(--primary); background: var(--primary-soft); font-size: .88rem; }
.notice.warning { border-color: var(--amber); background: var(--amber-bg); }
.settings-intro, .credential-note { color: var(--muted); font-size: .82rem; }
.external-llm-fields { display: grid; gap: .55rem; margin-top: .85rem; padding-top: .85rem; border-top: 1px solid var(--line); }
.external-llm-fields .check-control { margin-top: .45rem; }
.credential-note { margin: 0; padding: .7rem .8rem; border-left: 3px solid var(--keppel); background: #eefff8; }
.llm-advisory { margin: 1rem 0; padding: 1rem; border: 1px solid #b7e9d7; border-radius: 11px; background: #eefff8; }
.llm-advisory.unavailable { border-color: #f2d38a; background: var(--amber-bg); }
.llm-advisory p { margin: .7rem 0; }
.llm-advisory h4 { margin: .8rem 0 .35rem; }
.llm-advisory ul { margin: 0; padding-left: 1.2rem; }
.advisory-heading { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th, td { padding: .68rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { position: sticky; top: 0; color: #4f5263; background: var(--primary-soft); font-size: .875rem; letter-spacing: .04em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
.status { display: inline-block; min-width: 105px; padding: .2rem .45rem; border-radius: 5px; font-size: .875rem; font-weight: 800; }
.status.meets { color: #07594a; background: #d8fff0; }
.status.partially-meets { color: var(--amber); background: var(--amber-bg); }
.status.not-evident { color: var(--red); background: var(--red-bg); }
.priority-badge { display: inline-block; min-width: 104px; padding: .25rem .5rem; border-radius: 99px; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.priority-badge.must { color: #252d86; background: #dfe3ff; }
.priority-badge.nice { color: #07594a; background: #d8fff0; }
.ranking-table th:first-child, .ranking-table td:first-child { width: 64px; }
.ranking-table th:nth-child(2), .ranking-table td:nth-child(2) { min-width: 180px; }
.fit-label { display: inline-block; padding: .25rem .5rem; border-radius: 99px; color: var(--primary-dark); background: var(--primary-soft); font-weight: 800; white-space: nowrap; }
.ranking-note { margin: .65rem 0 0; color: var(--muted); font-size: .875rem; }
.candidate-card, .pitch-card, .review-section { margin-bottom: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: 11px; }
.assurance-card { margin-bottom: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfa; }
.assurance-card > h4 { margin: 0 0 .8rem; }
.candidate-card header { display: flex; justify-content: space-between; gap: 1rem; }
.candidate-card h4, .pitch-card h4, .review-section h3 { margin: 0 0 .5rem; }
.candidate-card p, .pitch-card p { margin: .35rem 0; color: var(--muted); }
.rank { color: var(--primary-dark); font-size: 1.45rem; font-weight: 800; }
.pitch-card p { color: var(--ink); }
.limitation-list { padding-left: 1.2rem; color: var(--muted); font-size: .875rem; }
.outcome-banner { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1rem; padding: 1.2rem; border-radius: 12px; color: white; background: var(--primary); }
.outcome-banner h2, .outcome-banner p { margin: 0; }
.outcome-banner p { opacity: .8; font-size: .875rem; }
.draft { padding: 1.2rem; border: 1px solid var(--line); background: #fff; box-shadow: 0 8px 25px rgba(0,0,0,.05); }
.draft h4 { margin: 1rem 0 .4rem; color: var(--primary-dark); text-transform: uppercase; letter-spacing: .08em; font-size: .875rem; }
.draft h4:first-child { margin-top: 0; }
.draft p { margin: .25rem 0; }
footer { display: flex; justify-content: space-between; padding: 1.4rem clamp(1rem, 5vw, 5rem); border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
footer a { color: inherit; }

.content-page { max-width: 1260px; margin: 0 auto; padding: 4.5rem clamp(1rem, 5vw, 5rem) 6rem; }
.page-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 4rem; align-items: end; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; font-size: clamp(calc(3.2rem - 37px), calc(6vw - 37px), calc(5.8rem - 37px)); }
.page-hero p:last-child { margin: 0; color: var(--muted); font-size: 1.05rem; }
.content-section { padding: 3.5rem 0; border-bottom: 1px solid var(--line); }
.content-section:last-child { border-bottom: 0; }
.content-section > h2 { max-width: 760px; margin: 0 0 1.8rem; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.15; }
.feature-grid, .value-grid, .pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pricing-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.billing-toggle { display: inline-flex; gap: .25rem; margin-top: 1rem; padding: .3rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.billing-toggle button { min-height: 42px; padding: .55rem .9rem; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: inherit; font-weight: 800; cursor: pointer; }
.billing-toggle button.active { background: var(--brand-gradient); color: #fff; }
.feature-card, .value-card, .pricing-card, .plan-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.feature-card:nth-child(2), .value-card:nth-child(2) { background: var(--primary-soft); }
.feature-card:nth-child(3), .value-card:nth-child(3) { background: var(--secondary-soft); }
.feature-card:nth-child(5) { background: var(--primary-soft); }
.feature-card:nth-child(6) { background: var(--secondary-soft); }
.feature-card .number, .value-card .number { display: block; margin-bottom: 2rem; color: var(--primary-dark); font-size: .875rem; font-weight: 800; }
.feature-card h3, .value-card h3, .pricing-card h2 { margin: 0 0 .7rem; font-size: 1.12rem; }
.feature-card p, .value-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.process-grid { counter-reset: process; gap: 1.25rem; }
.process-grid .feature-card { position: relative; display: flex; flex-direction: column; min-height: 220px; padding: 1.7rem; overflow: visible; }
.process-grid .feature-card .number { margin-bottom: 1.6rem; font-size: .92rem; letter-spacing: .02em; }
.process-grid .feature-card h3 { margin-bottom: .85rem; font-size: 1.2rem; line-height: 1.3; }
.process-grid .feature-card p { color: #555b70; font-size: .95rem; line-height: 1.58; }
.process-grid .feature-card:nth-child(3n + 1) { background: #ffffff; }
.process-grid .feature-card:nth-child(3n + 2) { background: var(--primary-soft); }
.process-grid .feature-card:nth-child(3n) { background: var(--secondary-soft); }
.process-grid .feature-card:not(:nth-child(3n))::after { content: "→"; position: absolute; z-index: 2; top: 50%; right: -.9rem; display: grid; width: 1.55rem; height: 1.55rem; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--primary-dark); background: white; font-size: .9rem; font-weight: 800; transform: translateY(-50%); }
.section-intro { max-width: 850px; margin: -1rem 0 1.8rem; color: var(--muted); }
.safeguard-grid { margin-bottom: 1rem; }
.safeguard-grid .feature-card { min-height: 230px; }
.safeguard-grid .feature-card:nth-child(4) { background: #fff9dc; }
.safeguard-grid .feature-card:nth-child(5) { background: var(--primary-soft); }
.safeguard-grid .feature-card:nth-child(6) { background: var(--secondary-soft); }
.safeguard-boundary { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; align-items: center; margin-top: 1rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 16px; background: #fbfcfa; }
.safeguard-boundary strong, .safeguard-boundary span { display: block; }
.safeguard-boundary span { margin-top: .3rem; color: var(--muted); font-size: .88rem; }
.safeguard-boundary .plan-button { white-space: nowrap; }
.data-boundary { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.data-boundary > div { padding-right: 1rem; border-right: 1px solid var(--line); }
.data-boundary > div:last-child { padding-right: 0; border-right: 0; }
.principle-list { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 2.5rem; margin: 0; padding: 0; list-style: none; }
.principle-list li { padding: 1rem 0; border-top: 1px solid var(--line); }
.principle-list strong { display: block; margin-bottom: .3rem; }
.principle-list span { color: var(--muted); font-size: .88rem; }
.pricing-intro { max-width: 780px; margin: 0 auto 3rem; text-align: center; }
.pricing-intro h1 { max-width: 900px; margin-inline: auto; font-size: clamp(14px, calc(5vw - 37px), calc(4.4rem - 37px)); }
.pricing-intro > p:last-child { color: var(--muted); font-size: 1.05rem; }
.pricing-edition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 1050px; margin: 0 auto; }
.edition-card { display: flex; flex-direction: column; min-height: 300px; padding: 2rem; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.edition-card:nth-child(2) { background: var(--primary-soft); }
.edition-card h2 { margin: .5rem 0; font-size: 1.8rem; }
.edition-card p { color: var(--muted); }
.edition-card .plan-button { margin-top: auto; }
.pricing-subnav { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin: 0 0 2.5rem; }
.pricing-subnav a { padding: .6rem .85rem; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); text-decoration: none; font-size: .82rem; font-weight: 800; }
.pricing-subnav a.active, .pricing-subnav a:hover { color: var(--primary-dark); border-color: var(--primary); background: var(--primary-soft); }
.three-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1180px; margin: 0 auto; }
.three-plans .pricing-card { min-height: 540px; }
.edition-note { max-width: 950px; margin: 2rem auto 0; padding: 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); color: var(--muted); font-size: .85rem; }
.pricing-card { position: relative; display: flex; flex-direction: column; min-height: 520px; }
.pricing-card.featured { border: 2px solid var(--primary); background: var(--primary-soft); transform: translateY(-.6rem); }
.plan-card { position: relative; display: flex; flex-direction: column; min-height: 510px; }
.plan-card.featured { border: 2px solid var(--primary); background: var(--primary-soft); transform: translateY(-.4rem); }
.plan-card h2 { margin: .55rem 0; font-size: 1.4rem; }
.plan-card .plan-button { margin-top: auto; }
.plan-price { margin: 1rem 0; }
.plan-price strong { display: block; font-size: 2rem; line-height: 1; letter-spacing: -.05em; }
.plan-price span { display: block; margin-top: .45rem; color: var(--muted); font-size: .82rem; }
.primary-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin: 0 auto; }
.recommended-badge { position: absolute; top: -14px; right: 1.25rem; padding: .35rem .7rem; border-radius: 99px; color: var(--ink); background: var(--yellow); font-size: .75rem; font-weight: 800; }
.plan-label { color: var(--primary-dark); font-size: .875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.price { margin: 1.2rem 0; font-size: 2.15rem; line-height: 1; font-weight: 800; letter-spacing: -.05em; }
.price small { display: block; margin-top: .55rem; color: var(--muted); font-size: .875rem; font-weight: 400; letter-spacing: 0; }
.annual-price { margin: -.55rem 0 1rem; color: var(--primary-dark); font-size: .82rem; font-weight: 800; }
.credit-packs { margin: 2rem auto; max-width: 980px; padding: 1.5rem; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(135deg, rgba(220,38,38,.055), rgba(49,46,129,.06)); }
.credit-pack-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.75fr); gap: 1.5rem; align-items: end; }
.credit-pack-heading h2 { margin: .45rem 0 0; font-size: clamp(1.65rem,3vw,2.5rem); }
.credit-pack-heading p, .credit-pack-note { color: var(--muted); }
.credit-pack-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 1.25rem; }
.credit-pack-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem; border: 1px solid rgba(76,63,196,.18); border-radius: 16px; background: rgba(255,255,255,.86); }
.credit-pack-card strong, .credit-pack-card span { display: block; }
.credit-pack-card strong { font-size: 1.05rem; }
.credit-pack-card span { margin-top: .3rem; color: var(--muted); }
.credit-pack-note { margin: 1rem 0 0; font-size: .9rem; }
@media (max-width: 720px) { .credit-pack-heading, .credit-pack-grid { grid-template-columns: 1fr; } .credit-pack-card { align-items: stretch; flex-direction: column; } }
.allowance { margin: 0 0 1rem; padding: .8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); font-size: .82rem; }
.allowance strong, .allowance span { display: block; }
.allowance span { margin-top: .2rem; color: var(--muted); }
.plan-copy { min-height: 75px; color: var(--muted); font-size: .875rem; }
.plan-features { flex: 1; margin: 1rem 0 1.5rem; padding: 0; list-style: none; }
.plan-features li { position: relative; padding: .55rem 0 .55rem 1.5rem; border-top: 1px solid rgba(90, 98, 135, .15); font-size: .875rem; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--keppel); font-weight: 800; }
.plan-button { display: block; padding: .9rem 1rem; border: 1px solid transparent; border-radius: 9px; color: white; background: var(--brand-gradient); box-shadow: 0 8px 20px rgba(53, 37, 155, .18); text-align: center; text-decoration: none; font-size: .875rem; font-weight: 800; }
.plan-button:hover { background: var(--brand-gradient-hover); }
.plan-button.secondary { color: var(--primary-dark); background: white; }
.plan-button:disabled { cursor: not-allowed; opacity: .62; }
.model-choice { margin: .3rem 0 1.5rem; padding: 1rem; border: 1px solid #dfa9b2; border-radius: 11px; background: rgba(255,255,255,.72); }
.model-choice > strong { display: block; margin-bottom: .6rem; }
.model-choice p { margin: .5rem 0; color: var(--muted); font-size: .82rem; }
.model-choice b { color: var(--ink); }
.pricing-formula { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; margin-top: 3rem; padding: 2rem; border-radius: 18px; color: white; background: #171821; }
.pricing-formula h2 { margin: .4rem 0 0; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; }
.pricing-formula dl { margin: 0; }
.pricing-formula dl > div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1rem; padding: .85rem 0; border-top: 1px solid rgba(255,255,255,.18); }
.pricing-formula dt { font-weight: 800; }
.pricing-formula dd { margin: 0; }
.pricing-formula dd strong, .pricing-formula dd span { display: block; }
.pricing-formula dd span { margin-top: .2rem; color: #cfd2e0; font-size: .82rem; }
.enterprise-strip { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: center; margin-top: 1rem; padding: 2rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.enterprise-strip h2 { margin: .4rem 0; }
.enterprise-strip p, .enterprise-strip span { color: var(--muted); }
.enterprise-strip > div:last-child > strong, .enterprise-strip > div:last-child > span { display: block; }
.enterprise-strip .plan-button { width: 100%; margin-top: 1rem; }
.ai-pricing { margin-top: 3rem; }
.billing-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.billing-choice { padding: 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.billing-choice:nth-child(2) { background: var(--primary-soft); }
.billing-choice h3 { margin: .7rem 0; font-size: 1.35rem; }
.billing-choice p { color: var(--muted); }
.billing-choice > strong { display: block; margin-top: 1.2rem; color: var(--primary-dark); }
.hybrid-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; }
.hybrid-section h2 { margin: 0 0 1rem; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.15; }
.hybrid-section > div > p:last-child { color: var(--muted); }
.feature-flow { margin: 0; padding: 0; list-style: none; }
.feature-flow li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.feature-flow li > span { color: var(--primary-dark); font-weight: 800; }
.feature-flow strong { display: block; margin-bottom: .25rem; }
.feature-flow p { margin: 0; color: var(--muted); font-size: .88rem; }
.pricing-note { max-width: 850px; margin: 2.5rem auto 0; padding: 1rem; border-left: 4px solid var(--yellow); background: var(--amber-bg); color: var(--muted); font-size: .875rem; }
.checkout-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; margin: 3rem auto 0; max-width: 1100px; padding: 2rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-soft); box-shadow: var(--shadow); scroll-margin-top: 1rem; }
.checkout-panel h2 { margin: .4rem 0 .8rem; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; }
.checkout-panel > div > p:not(.eyebrow) { color: var(--muted); }
.checkout-panel fieldset { margin: 0 0 1rem; padding: 0; border: 0; }
.checkout-panel legend { margin-bottom: .6rem; font-weight: 800; }
.choice-row { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .6rem; padding: .85rem; border: 1px solid var(--line); border-radius: 10px; background: white; cursor: pointer; }
.choice-row:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.choice-row input { width: 1.05rem; height: 1.05rem; margin-top: .15rem; accent-color: var(--primary-dark); }
.choice-row span, .choice-row strong, .choice-row small { display: block; }
.choice-row small { margin-top: .2rem; color: var(--muted); }
.disabled-choice { cursor: not-allowed; opacity: .6; }
.environment-state { padding: .7rem .85rem; border-left: 4px solid var(--keppel); background: #eefff8; font-size: .8rem; }
.environment-state.warning-state { border-color: var(--yellow); background: var(--amber-bg); }
.form-message { min-height: 1.5rem; margin: .8rem 0 0; color: var(--primary-dark); font-size: .82rem; }
.form-message.error { color: var(--red); }
.provider-transfer-notice { padding: .85rem; border-left: 4px solid var(--yellow); background: var(--amber-bg); color: var(--muted); font-size: .8rem; }
.provider-transfer-notice a { color: var(--primary-dark); font-weight: 800; }
.upgrade-dialog { width: min(620px, calc(100% - 2rem)); padding: 2rem; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: white; box-shadow: 0 28px 90px rgba(23,24,33,.3); }
.upgrade-dialog::backdrop { background: rgba(23,24,33,.48); backdrop-filter: blur(3px); }
.upgrade-dialog h2 { margin: .6rem 0; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.15; }
.upgrade-dialog > p { color: var(--muted); }
.dialog-close { float: right; width: 2.2rem; height: 2.2rem; border: 0; border-radius: 50%; color: var(--muted); background: var(--surface-soft); font-size: 1.4rem; line-height: 1; }
.dialog-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.dialog-actions form { margin: 0; }
.dialog-actions .plan-button { width: auto; }
.privacy-admin-card { margin-bottom: 1.5rem; }
.privacy-admin-card td:nth-child(4) { min-width: 280px; white-space: normal; }
.retention-table { border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
.retention-table table { min-width: 850px; }
.retention-table td { vertical-align: top; white-space: normal; }
.compact-topbar { min-height: 132px; }
.compact-topbar .brand-mark { width: 88px; height: 88px; border-radius: 23px; font-size: 2.25rem; }
.compact-topbar .brand strong { font-size: 1.6rem; }
.auth-page, .dashboard-page { padding-top: 4rem; }
.auth-intro { max-width: 760px; margin-bottom: 2.5rem; }
.auth-intro h1 { font-size: clamp(14px, calc(5vw - 37px), calc(5rem - 37px)); }
.auth-intro > p:last-child, .privacy-copy, .dashboard-heading p, .dashboard-card p { color: var(--muted); }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 1050px; }
.auth-card { display: grid; gap: 1rem; padding: 2rem; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.auth-card.featured-auth { border: 2px solid var(--primary); background: var(--primary-soft); }
.auth-card h2 { margin: .35rem 0 0; font-size: 1.8rem; }
.auth-card label { display: grid; gap: .4rem; font-size: .85rem; font-weight: 800; }
.auth-card input { width: 100%; padding: .85rem; border: 1px solid #c9cde0; border-radius: 9px; background: white; }
.auth-card input:focus { outline: 3px solid rgba(180,35,59,.22); border-color: var(--primary-dark); }
.privacy-copy { max-width: 900px; margin-top: 2rem; font-size: .82rem; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; }
.dashboard-heading h1 { font-size: clamp(14px, calc(5vw - 37px), calc(5rem - 37px)); }
.dashboard-actions, .card-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.dashboard-actions .plan-button, .card-actions .plan-button { width: auto; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.dashboard-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
.dashboard-card:nth-child(2) { background: var(--primary-soft); }
.dashboard-card > strong { display: block; margin: 1.4rem 0 .4rem; font-size: 1.8rem; }
.usage-list { margin: 1.2rem 0 0; }
.usage-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.usage-list dd { margin: 0; font-weight: 800; }
.admin-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 1.5rem; }
.admin-table-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
.admin-table-card h2 { margin: 0; }
.usage-admin-card { margin-bottom: 1.5rem; }
.usage-admin-card table { min-width: 1040px; }
.usage-consumption { min-width: 180px; }
.usage-consumption strong, .usage-consumption meter { display: block; }
.usage-consumption meter { width: 100%; height: .75rem; margin-top: .45rem; accent-color: var(--primary); }
.confirmation-card { max-width: 850px; padding: 3rem; border: 2px solid var(--primary); border-radius: 18px; background: var(--primary-soft); box-shadow: var(--shadow); }
.confirmation-card h1 { font-size: clamp(14px, calc(5vw - 37px), calc(4.5rem - 37px)); }
.confirmation-card > p:not(.eyebrow) { color: var(--muted); }

.governance-hero > div:last-child { display: grid; gap: 1rem; }
.governance-stage { margin: 0; padding: 1rem; border-left: 4px solid var(--yellow); background: var(--amber-bg); font-size: .875rem !important; }
.governance-section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: end; margin-bottom: 2rem; }
.governance-section-heading h2 { margin: 0; max-width: 760px; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.15; }
.governance-section-heading > p { margin: 0; color: var(--muted); font-size: .9rem; }
.governance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.governance-card { display: flex; flex-direction: column; min-height: 360px; padding: 1.4rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.governance-card:nth-child(2), .governance-card:nth-child(5) { background: var(--primary-soft); }
.governance-card.retention-card { border-color: #e3c65b; background: #fffbea; }
.governance-card header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; }
.layer-number { color: var(--primary-dark); font-weight: 800; }
.control-state { padding: .25rem .55rem; border-radius: 99px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.control-state.active { color: #07594a; background: #d8fff0; }
.control-state.partial { color: #252d86; background: #dfe3ff; }
.control-state.planned { color: var(--amber); background: var(--amber-bg); }
.governance-card h3 { margin: 0 0 .7rem; font-size: 1.2rem; }
.governance-card p { margin: 0; color: var(--muted); font-size: .875rem; }
.governance-card ul { margin: auto 0 0; padding: 1.2rem 0 0; list-style: none; }
.governance-card li { padding: .45rem 0; border-top: 1px solid rgba(90, 98, 135, .15); font-size: .8rem; }
.responsibility-boundary { grid-template-columns: 1fr 1.25fr auto; }
.responsibility-boundary h2 { margin: .35rem 0 0; font-size: clamp(1.45rem, 2.5vw, 2.1rem); line-height: 1.2; }
.evidence-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: start; }
.evidence-section h2, .release-boundary h2, .governance-cta h2 { margin: 0 0 .8rem; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.15; }
.evidence-section > div > p:last-child, .release-boundary > div > p:last-child { color: var(--muted); font-size: .9rem; }
.evidence-chain { margin: 0; padding: 0; list-style: none; }
.evidence-chain li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.evidence-chain li > span { color: var(--primary-dark); font-weight: 800; }
.evidence-chain strong { display: block; margin-bottom: .2rem; }
.evidence-chain p { margin: 0; color: var(--muted); font-size: .85rem; }
.release-boundary { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; padding: 2rem; border-radius: 18px; background: #171821; color: white; }
.release-boundary .eyebrow { color: var(--aero); }
.release-boundary > div > p:last-child { color: #c7c9d8; }
.release-list { margin: 0; padding: 0; list-style: none; }
.release-list li { display: grid; grid-template-columns: minmax(150px, .6fr) 1.4fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid #3a3c48; }
.release-list span { color: #c7c9d8; font-size: .82rem; }
.governance-cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 3rem 0 0; }
.governance-cta .plan-button { min-width: 210px; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  .principles { max-width: 580px; }
  .workspace-grid { grid-template-columns: 1fr; }
  .page-hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature-grid, .value-grid, .pricing-grid, .pricing-edition-grid { grid-template-columns: 1fr; }
  .process-grid .feature-card { min-height: 0; }
  .process-grid .feature-card::after { display: none !important; }
  .primary-plans, .pricing-formula, .enterprise-strip, .checkout-panel, .auth-grid, .dashboard-grid { grid-template-columns: 1fr; }
  .billing-choice-grid { grid-template-columns: 1fr; }
  .hybrid-section { grid-template-columns: 1fr; gap: 1.5rem; }
  .safeguard-boundary { grid-template-columns: 1fr; }
  .responsibility-boundary { grid-template-columns: 1fr; }
  .data-boundary > div { padding: 0 0 1rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .data-boundary > div:last-child { padding-bottom: 0; border-bottom: 0; }
  .governance-grid { grid-template-columns: 1fr 1fr; }
  .governance-section-heading, .evidence-section, .release-boundary { grid-template-columns: 1fr; gap: 1.5rem; }
  .pricing-card.featured { transform: none; }
  .results-card { min-height: 560px; }
  .empty-state, .loading-state { min-height: 560px; }
}
@media (max-width: 1350px) {
  .topbar:not(.compact-topbar) .privacy-pill { display: none; }
}
@media (min-width: 1001px) and (max-width: 1250px) {
  .pricing-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-card.featured { transform: none; }
}
@media (max-width: 680px) {
  .topbar { min-height: 128px; }.privacy-pill { display: none; }
  .brand-mark { width: 88px; height: 88px; border-radius: 23px; font-size: 2.25rem; }
  .brand strong { font-size: 1.45rem; }
  .brand small { display: none; }
  .site-nav { gap: 0; }
  .site-nav a, .nav-dropdown summary { padding: .5rem; font-size: 20px; }
  .nav-dropdown-menu { position: fixed; top: 116px; right: 1rem; left: 1rem; width: auto; }
  .nav-dropdown-menu::before { display: none; }
  .hero { min-height: 320px; padding: 3rem 0 2rem; }
  h1 { font-size: calc(3.45rem - 37px); }
  .principles { display: none; }
  .module-tabs { position: sticky; top: 0; z-index: 5; padding: .5rem 0; background: var(--paper); }
  .result-toolbar { display: block; }
  .toolbar-actions { margin-top: 1rem; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .segmented { grid-template-columns: 1fr; }
  #analysis-view { padding: 1rem; }
  footer { display: block; } footer span { display: block; }
  .principle-list { grid-template-columns: 1fr; }
  .governance-grid { grid-template-columns: 1fr; }
  .governance-card { min-height: auto; }
  .governance-card ul { margin-top: 1.3rem; }
  .release-list li { grid-template-columns: 1fr; gap: .3rem; }
  .governance-cta { display: block; }
  .governance-cta .plan-button { margin-top: 1rem; }
  .dashboard-heading { display: block; }
  .dashboard-actions { margin-top: 1rem; }
}

/* Compact Product workspace layout. The dark palette and JetBrains Mono remain shared. */
.product-page main { width: min(1180px, calc(100% - 2rem)); max-width: 1180px; margin: 0 auto; padding: 0 0 5rem; }
.compact-product-hero { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); gap: 4rem; align-items: end; padding: 3.2rem 0 1.8rem; }
.compact-product-hero h1 { max-width: 760px; margin: 0; font-size: clamp(2.4rem,5vw,4.5rem); line-height: .98; letter-spacing: -.055em; }
.compact-product-hero h1 span { color: #c44dff; text-shadow: 0 0 28px rgba(196,77,255,.2); }
.compact-product-hero .hero-copy { max-width: 760px; margin: 1.15rem 0 0; color: #a7a1b2; font-size: .92rem; }
.compact-product-hero .product-auth-actions { margin-top: 1.1rem; }
.compact-product-hero .auth-action { min-width: 118px; padding: .62rem .85rem; font-size: .78rem; }
.compact-principles { padding-bottom: .3rem; }
.compact-principles div { display: grid; grid-template-columns: 2.2rem 1fr; gap: .75rem; align-items: center; padding: .8rem 0; border-top: 1px solid #2a2530; }
.compact-principles b { color: #c44dff; font-size: .7rem; }
.compact-principles span { color: #bbb4c2; font-size: .78rem; }
.product-page .module-panel { padding: 0; }
.product-page .workspace-grid { grid-template-columns: minmax(320px, 370px) minmax(0,1fr); gap: 1rem; }
.product-page .control-card { padding: 1.15rem; }
.product-page .results-card { min-height: 650px; }
.product-page .empty-state, .product-page .loading-state { min-height: 650px; }
.product-page .card-heading { margin-bottom: 1rem; }
.product-page .card-heading.compact { margin-top: 1.35rem; }

/* Result tables keep readable columns and scroll instead of collapsing into overlaps. */
#analysis-view .table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-gutter: stable; }
#analysis-view .table-wrap table { width: max-content; min-width: 100%; table-layout: auto; }
#analysis-view .table-wrap th,
#analysis-view .table-wrap td { min-width: 150px; max-width: 320px; white-space: normal; overflow-wrap: anywhere; word-break: normal; }
#analysis-view .table-wrap th:first-child,
#analysis-view .table-wrap td:first-child { min-width: 180px; }
#analysis-view .table-wrap .status { display: inline-flex; width: fit-content; min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: normal; }
#analysis-view .ranking-table table { min-width: 790px; width: 100%; }
#analysis-view .ranking-table th:first-child,
#analysis-view .ranking-table td:first-child { min-width: 64px; width: 64px; }
#analysis-view .ranking-table th:nth-child(2),
#analysis-view .ranking-table td:nth-child(2) { min-width: 190px; }
#analysis-view .ranking-table th:nth-child(5),
#analysis-view .ranking-table td:nth-child(5) { min-width: 170px; }
@media (max-width: 900px) {
  .compact-product-hero { grid-template-columns: 1fr; gap: 1.2rem; }
  .compact-principles { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; }
  .compact-principles div { grid-template-columns: 1fr; gap: .25rem; }
  .product-page .workspace-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .product-page main { width: min(100% - 1.25rem,1180px); }
  .compact-product-hero { padding-top: 2.6rem; }
  .compact-product-hero h1 { font-size: 2.45rem; }
  .compact-principles { grid-template-columns: 1fr; }
  .compact-principles div { grid-template-columns: 2rem 1fr; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation-duration: .01ms !important; } }

/* Dark marketing system — aligned to the approved TalentCerta wireframes. */
:root {
  --ink: #f5f2fa;
  --muted: #a7a1b2;
  --paper: #07070b;
  --surface: #111018;
  --surface-soft: #0d0c12;
  --line: #2b2535;
  --primary: #bb42f4;
  --primary-dark: #c44dff;
  --primary-soft: #211227;
  --secondary: #8b5cf6;
  --secondary-soft: #171222;
  --aero: #c44dff;
  --keppel: #50d7a4;
  --amber: #f4b84b;
  --amber-bg: #211a0f;
  --red: #ff667e;
  --red-bg: #241116;
  --brand-gradient: linear-gradient(135deg, #bd3cff 0%, #a237ee 55%, #8d2cdc 100%);
  --brand-gradient-hover: linear-gradient(135deg, #cb58ff 0%, #b646f3 55%, #9b39e4 100%);
  --shadow: 0 24px 70px rgba(0, 0, 0, .3);
  --glow: 0 0 24px rgba(187, 66, 244, .42);
}

body { color: var(--ink); background: var(--paper); font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 16px; line-height: 1.55; }
button, input, textarea, select { font-family: inherit; }
.topbar { position: relative; z-index: 20; min-height: 74px; padding: .85rem clamp(1.25rem, 6vw, 5rem); border-bottom: 1px solid #1d1a24; color: var(--ink); background: rgba(7, 7, 11, .94); box-shadow: none; backdrop-filter: blur(14px); }
.marketing-topbar { position: sticky; top: 0; }
.brand { color: var(--ink); gap: .65rem; }
.brand-mark { width: 42px; height: 42px; border: 1px solid #bd3cff; border-radius: 10px; background: none; color: #c94fff; box-shadow: var(--glow); font-size: 0; text-indent: 0; }
.brand-mark::after { content: "TC"; font-size: .73rem; font-weight: 800; }
.brand strong { font-size: 1rem; letter-spacing: -.025em; }
.header-actions { gap: 1.25rem; }
.site-nav { gap: .15rem; }
.site-nav a, .nav-dropdown summary { position: relative; padding: .55rem .7rem; border-radius: 0; color: #b6b0bf; font-family: inherit; font-size: 1rem; font-weight: 700; }
.site-nav > a:hover, .site-nav > a.active { color: #ca4fff; background: transparent; }
.site-nav > a.active::after { content: ""; position: absolute; right: .7rem; bottom: .15rem; left: .7rem; height: 1px; background: #c54cff; box-shadow: 0 0 8px #c54cff; }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1rem; border-radius: 8px; color: #09070d; background: var(--brand-gradient); box-shadow: var(--glow); text-decoration: none; font-size: .82rem; font-weight: 800; }
main { max-width: none; padding: 0; }
.marketing-hero, .narrative-section, .rules-section, .audience-row, .closing-cta, .product-workspace-intro { padding-right: clamp(1.25rem, 6vw, 5rem); padding-left: clamp(1.25rem, 6vw, 5rem); }
.overline { margin: 0 0 1rem; color: #8e8799; font-family: "JetBrains Mono", monospace; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.marketing-hero { display: flex; flex-direction: column; align-items: center; min-height: 640px; padding-top: 6rem; padding-bottom: 5rem; text-align: center; }
.marketing-hero h1, .page-title-block h1, .contact-copy h1 { max-width: 1050px; margin: 0; font-size: clamp(2.5rem, 5.8vw, 5.2rem); line-height: 1.04; letter-spacing: -.055em; }
.marketing-hero h1 span, .page-title-block h1 span, .contact-copy h1 span, .narrative-section h2 span, .rules-section h2 span, .closing-cta h2 span, .governance-layers h2 span, .governance-controls h2 span { color: #bc41f3; text-shadow: 0 0 30px rgba(188, 65, 243, .24); }
.marketing-hero .hero-copy { margin: 1.35rem 0 0; color: #aaa4b5; font-size: clamp(1rem, 2vw, 1.18rem); }
.product-auth-actions { margin-top: 1.25rem; }
.marketing-hero .product-auth-actions { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero-actions { display: flex; gap: .7rem; margin-top: 1.75rem; }
.hero-actions .plan-button, .closing-cta .plan-button { width: auto; min-width: 142px; }
.plan-button, .primary-button, .auth-action-primary { border-color: #bd45ed; color: #09070d; background: var(--brand-gradient); box-shadow: var(--glow); }
.plan-button.secondary, .auth-action-secondary, .secondary-button { border-color: #4d285f; color: #f3edf7; background: transparent; box-shadow: none; }
.plan-button.secondary:hover, .auth-action-secondary:hover, .secondary-button:hover { border-color: #ba44ef; color: #cf65ff; background: #150d1a; }
.evidence-demo { width: min(880px, 100%); margin-top: 3.2rem; padding: 1.25rem; border: 1px solid #512363; border-radius: 17px; background: #0d0b12; box-shadow: 0 24px 80px rgba(0,0,0,.4); text-align: left; }
.demo-head { display: flex; justify-content: space-between; color: #8d8796; font-family: "JetBrains Mono", monospace; font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; }
.evidence-demo ol { display: grid; gap: .7rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.evidence-demo li { position: relative; display: grid; grid-template-columns: 2rem minmax(105px, .5fr) minmax(180px, 1.4fr) auto; gap: .7rem; align-items: center; padding: .8rem .65rem 1rem; border: 1px solid #221d2b; border-radius: 10px; color: #aaa4b4; font-family: "JetBrains Mono", monospace; font-size: .72rem; }
.evidence-demo li strong { color: #f5f2fa; }
.evidence-demo q { quotes: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.evidence-demo i { position: absolute; right: .65rem; bottom: .38rem; left: .65rem; height: 4px; border-radius: 3px; background: #262230; overflow: hidden; }
.evidence-demo i::after { content: ""; display: block; width: var(--score); height: 100%; border-radius: inherit; background: #bb40f3; box-shadow: 0 0 12px #bb40f3; }
.demo-rank { color: #c64eff; }
.demo-status { padding: .15rem .42rem; border: 1px solid currentColor; border-radius: 999px; font-size: .6rem; font-weight: 800; white-space: nowrap; }
.demo-status.met { color: #4fe2ad; }.demo-status.verify { color: #f4b84b; }.demo-status.missing { color: #ff647b; }
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; align-items: center; padding: 1.4rem clamp(1.25rem, 6vw, 5rem); border-top: 1px solid #1d1a24; border-bottom: 1px solid #1d1a24; color: #6f6977; font-size: .72rem; }
.trust-strip b { min-width: 145px; padding: .7rem 1rem; border-radius: 5px; color: #938d9d; background: #14121a; text-align: center; font-size: .7rem; }
.narrative-section { padding-top: 5.2rem; padding-bottom: 5.2rem; }
.narrative-section h2, .rules-section h2, .closing-cta h2, .governance-layers h2, .governance-controls > h2, .governance-boundaries h2, .retention-brief h2, .provider-brief h2 { margin: 0; font-size: clamp(2rem, 4.1vw, 3.7rem); line-height: 1.05; letter-spacing: -.045em; }
.workflow-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin-top: 2.2rem; }
.workflow-cards article, .audience-row article, .control-grid article, .retention-cards article, .pricing-faq article { padding: 1.4rem; border: 1px solid #282330; border-radius: 13px; background: #111018; }
.workflow-cards article > span, .control-grid article > span, .audience-row span { color: #c247fa; font-family: "JetBrains Mono", monospace; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.workflow-cards h3, .control-grid h3 { margin: .7rem 0 .35rem; font-size: 1.1rem; }
.workflow-cards p, .control-grid p, .audience-row p { margin: 0; color: #9891a1; font-size: .82rem; }
.workflow-visual { height: 180px; margin-bottom: 1rem; padding: 1rem; overflow: hidden; border: 1px solid #442151; border-radius: 9px; color: #bbb3c4; background: #0b0910; font-family: "JetBrains Mono", monospace; font-size: .7rem; }
.micro-heading { display: flex; justify-content: space-between; gap: .65rem; padding-bottom: .65rem; border-bottom: 1px solid #2b2532; color: #898190; text-transform: uppercase; letter-spacing: .06em; }.micro-heading b { color: #cc62f7; font-weight: 700; text-align: right; }
.requirement-visual ul,.shortlist-visual ol { display: grid; gap: .45rem; margin: .65rem 0 0; padding: 0; list-style: none; }.requirement-visual li { display: grid; grid-template-columns: 1.1rem minmax(0,1fr) auto; align-items: center; gap: .45rem; min-width: 0; padding: .42rem .5rem; border-radius: 6px; background: #141019; }.requirement-visual li i,.evidence-link i { color: #53d9a8; font-style: normal; }.requirement-visual li span { overflow: hidden; color: #eee9f1; text-overflow: ellipsis; white-space: nowrap; }.requirement-visual li em { color: #a599ad; font-size: .58rem; font-style: normal; text-transform: uppercase; }
.evidence-visual blockquote { margin: .75rem 0; padding: .75rem; border-left: 3px solid #be45ee; border-radius: 0 6px 6px 0; color: #eee9f1; background: #16101b; line-height: 1.45; }.evidence-link { display: grid; grid-template-columns: 1rem 1fr auto; align-items: center; gap: .4rem; color: #53d9a8; }.evidence-link em { color: #8f8797; font-size: .62rem; font-style: normal; }
.shortlist-visual li { display: grid; grid-template-columns: 1.3rem minmax(0,1fr) auto; align-items: center; gap: .55rem; padding: .35rem .5rem; border: 1px solid #292230; border-radius: 6px; background: #121017; }.shortlist-visual li > b { display: grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; color: #d478fb; background: #291431; }.shortlist-visual li span { color: #eee9f1; }.shortlist-visual small { display: block; margin-top: .08rem; color: #8f8797; font-size: .58rem; }.shortlist-visual li em { color: #55dfad; font-style: normal; font-weight: 800; }
.rules-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: center; padding-top: 5rem; padding-bottom: 5rem; border-top: 1px solid #1f1b26; border-bottom: 1px solid #1f1b26; background: #0d0b12; }
.rules-section a { display: inline-block; margin-top: 1.2rem; color: #cf74f5; font-size: .8rem; font-weight: 800; }
.rules-section ul { margin: 0; padding: 0; list-style: none; }.rules-section li { padding: 1rem 0; border-top: 1px solid #27222f; color: #bdb6c4; }.rules-section li::before { content: "✓"; margin-right: .8rem; color: #c54cff; }
.audience-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; padding-top: 5rem; padding-bottom: 5rem; }
.audience-row strong { display: block; margin-top: .55rem; color: #c54cff; font-size: 1.05rem; }
.closing-cta { padding-top: 5.7rem; padding-bottom: 5.7rem; border-top: 1px solid #1f1b26; text-align: center; }.closing-cta p { color: #938c9c; }.closing-cta > div { display: flex; justify-content: center; gap: .7rem; }
.product-workspace-intro { padding-top: 4.5rem; padding-bottom: 1.7rem; border-top: 1px solid #1f1b26; }.product-workspace-intro h2 { margin: 0; font-size: 2.4rem; }.product-workspace-intro > p:last-child { max-width: 720px; color: #9992a2; }
.module-panel { padding: 0 clamp(1.25rem, 4vw, 4rem) 5rem; }
.control-card, .results-card, .feature-card, .value-card, .pricing-card, .plan-card, .edition-card, .billing-choice, .checkout-panel, .auth-card, .dashboard-card, .admin-table-card, .retention-table { border-color: #2b2535; background: #111018; box-shadow: var(--shadow); }
.control-card { background: #0e0d13; }.results-card { background: #0c0b10; }
textarea, input[type="text"], input[type="number"], input[type="email"], input[type="password"], select, .dropzone, .segmented span, .choice-row { border-color: #342d3f; color: var(--ink); background: #0a090e; }
textarea::placeholder, input::placeholder { color: #706a78; }
.dropzone:hover, .dropzone:focus-within, .segmented input:checked + span, .choice-row:has(input:checked) { border-color: #b843ec; background: #19101f; }
.upload-icon { color: #09070d; background: #c64eff; }
.quick-actions, .result-disclosure, .metric, .assurance-card { border-color: #2b2535; background: #0d0c12; }
.quick-actions button.active { border-color: #9d36c9; color: #d06dff; background: #211128; }
.table-wrap, .disclosure-content .table-wrap { border-color: #302a38; background: #0b0a0f; } th { color: #d1cbd7; background: #17111d; } th, td { border-color: #29242f; }
.credential-note, .llm-advisory { border-color: #286c56; background: #0b1b16; }.llm-advisory.unavailable, .provider-transfer-notice, .pricing-note { border-color: #7a5c1c; background: #211a0f; }
.draft, .secondary-button { background: #0d0c12; }
footer { border-color: #1f1b26; color: #777180; background: #07070b; }

.content-page.dark-marketing-page { max-width: none; padding: 0; }
.page-title-block { display: flex; flex-direction: column; align-items: center; padding: 6rem clamp(1.25rem,6vw,5rem) 5rem; text-align: center; }
.page-title-block > p:not(.overline) { color: #aaa3b3; font-size: 1.08rem; }.page-title-block .plan-button { width: auto; margin-top: 1.35rem; }
.governance-layers { display: grid; grid-template-columns: .75fr 1.25fr; gap: 5rem; align-items: center; padding: 5rem clamp(1.25rem,6vw,5rem); }
.governance-layers > div:first-child > p { color: #a39cab; }
.layer-stack { display: grid; gap: .55rem; }.layer-stack article { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1rem 1.25rem; border: 1px solid #2c2635; border-radius: 11px; background: #0e0d13; }.layer-stack article.active { border-color: #a93bd3; background: #1a0f21; box-shadow: 0 0 25px rgba(187,66,244,.13); }.layer-stack span { color: #9992a2; font-size: .76rem; text-align: right; }
.governance-controls { padding: 5.3rem clamp(1.25rem,6vw,5rem); border-top: 1px solid #211d28; border-bottom: 1px solid #211d28; background: #0e0c13; }.control-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .85rem; margin-top: 2.2rem; }
.governance-boundaries { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding: 5rem clamp(1.25rem,6vw,5rem); }.governance-boundaries h2 { color: #c247fa; font-size: clamp(1.7rem,3vw,2.6rem); }.guardrail-intro { max-width: 620px; margin: .7rem 0 0; color: #aaa2b2; }.guardrail-list { display: grid; gap: .7rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }.guardrail-list li { display: grid; grid-template-columns: 2.5rem minmax(0,1fr); gap: 1rem; align-items: center; padding: 1rem; border: 1px solid #30273a; border-radius: 11px; background: #0f0d14; }.guardrail-shield { display: grid; width: 2.35rem; height: 2.65rem; place-items: center; clip-path: polygon(50% 0,92% 16%,84% 72%,50% 100%,16% 72%,8% 16%); color: #0a070d; background: linear-gradient(160deg,#d065ff,#9e36d3); font-weight: 900; }.guardrail-label { display: block; margin-bottom: .18rem; color: #bd55e9; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.guardrail-list strong { display: block; color: #f5f0f8; font-size: 1rem; }.guardrail-list p { margin: .2rem 0 0; color: #9f97a8; font-size: .82rem; }.governance-boundaries dl { margin: 1rem 0 0; }.governance-boundaries dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid #25212b; }.governance-boundaries dd { margin: 0; color: #918a99; font-family: "JetBrains Mono", monospace; font-size: .66rem; text-transform: uppercase; }
.retention-brief { padding: 5rem clamp(1.25rem,6vw,5rem); border-top: 1px solid #211d28; background: #0c0b10; }.retention-brief > p:not(.overline,.governance-disclaimer) { max-width: 900px; color: #aca5b4; }.retention-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2rem; }.retention-cards strong,.retention-cards span { display: block; }.retention-cards span { margin-top: .6rem; color: #96909f; font-size: .82rem; }.governance-disclaimer { margin-top: 1.2rem; color: #8f8798; font-size: .75rem; }
.provider-brief { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; padding: 5rem clamp(1.25rem,6vw,5rem); }.provider-brief > p { color: #aaa3b3; }.privacy-owner { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 0 clamp(1.25rem,6vw,5rem) 5rem; }.privacy-owner > div { padding: 1.3rem; border: 1px solid #292330; border-radius: 12px; }.privacy-owner strong,.privacy-owner span { display: block; }.privacy-owner span { margin-top: .5rem; color: #9992a2; font-size: .82rem; }
.governance-close { border-top: 1px solid #211d28; }

.pricing-intro h1 { font-size: clamp(2.5rem,5.8vw,5.2rem); }.pricing-intro { max-width: none; margin: 0; }
.pricing-grid-four { max-width: 1320px; margin: 0 auto; padding: 0 2rem 5rem; gap: 1rem; }
.plan-card { min-height: 535px; padding: 1.5rem; border-radius: 14px; }.plan-card.featured { border-color: #b844eb; background: #1b1021; box-shadow: 0 0 34px rgba(187,66,244,.16); transform: none; }.plan-card h2 { color: #c64fff; }.plan-card > p:not(.plan-price) { min-height: 48px; }.plan-price strong { font-size: 2.7rem; }.plan-price span { display: inline; margin-left: .3rem; }.popular-badge { position: absolute; top: 1.35rem; right: 1.25rem; padding: .3rem .65rem; border-radius: 999px; color: #100a14; background: #c34bf6; font-size: .65rem; font-weight: 800; }.plan-features li { border-color: #2b2631; }.plan-features li::before { color: #c24af5; }
.pricing-faq { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; max-width: 1320px; margin: 0 auto; padding: 0 2rem 4rem; }.pricing-faq h3 { margin: 0 0 .45rem; color: #c74fff; font-size: 1rem; }.pricing-faq p { margin: 0; color: #9f98a8; font-size: .8rem; }
.credit-packs, .pricing-formula, .checkout-panel { max-width: 1100px; margin: 0 auto 3rem; }.credit-packs { border-color: #30283a; background: #100d15; }.credit-pack-card { border-color: #31283b; background: #15111b; }.pricing-formula { border: 1px solid #2b2535; background: #0d0c12; }.checkout-panel { background: #100d15; }

.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; padding: 5.5rem clamp(1.25rem,6vw,5rem); }.contact-copy h1 { font-size: clamp(2.8rem,5.5vw,4.9rem); }.contact-copy > p:not(.overline) { max-width: 570px; color: #aaa3b4; font-size: 1.05rem; }.contact-copy ul { margin: 2rem 0; padding: 0; list-style: none; }.contact-copy li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid #28232f; }.contact-copy li strong,.contact-copy li span { display: block; }.contact-copy li strong { color: #c74fff; }.contact-copy li span { color: #a39cab; font-size: .82rem; }.contact-copy li a,.direct-contact a,.privacy-contact-strip a { align-self: center; color: #d58aff; font-size: .78rem; font-weight: 800; }.direct-contact { display: flex; flex-wrap: wrap; gap: 1rem; }
.demo-form { padding: 2rem; border: 1px solid #623078; border-radius: 17px; background: #100d16; box-shadow: 0 24px 80px rgba(0,0,0,.3); }.demo-form h2 { margin: 0 0 1rem; color: #c54cff; font-size: clamp(1.8rem,3vw,2.5rem); }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }.demo-form label { color: #c6bfcd; }.demo-form input,.demo-form select,.demo-form textarea { width: 100%; margin-top: .4rem; padding: .9rem 1rem; border: 1px solid #342d3f; border-radius: 9px; color: var(--ink); background: #0a090e; font: inherit; font-size: .94rem; }.demo-form input,.demo-form select { min-height: 3.2rem; }.phone-input-group { display: grid; grid-template-columns: minmax(7.25rem, .36fr) 1fr; gap: .55rem; margin-top: .4rem; }.demo-form .phone-input-group select,.demo-form .phone-input-group input { min-width: 0; margin-top: 0; }.interest-options { display: flex; flex-wrap: wrap; gap: .5rem; }.interest-options label { margin: 0; }.interest-options input { position: absolute; opacity: 0; }.interest-options span { display: block; padding: .65rem 1rem; border: 1px solid #3a3245; border-radius: 999px; cursor: pointer; }.interest-options input:checked + span { border-color: #c54cff; color: #0d0710; background: #c54cff; }.contact-privacy { color: #817a89; font-size: .72rem; }.privacy-contact-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin: 0 clamp(1.25rem,6vw,5rem) 5rem; padding: 1.5rem; border: 1px solid #2d2635; border-radius: 13px; }.privacy-contact-strip h2 { margin: .4rem 0; }.privacy-contact-strip p,.privacy-contact-strip strong { color: #9f98a8; font-size: .82rem; }

@media (max-width: 980px) {
  .marketing-hero { padding-top: 4.5rem; }
  .workflow-cards, .audience-row, .control-grid, .retention-cards, .pricing-faq { grid-template-columns: 1fr 1fr; }
  .rules-section, .governance-layers, .provider-brief, .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-grid-four { grid-template-columns: 1fr 1fr; }
  .contact-copy { max-width: 680px; }
}
@media (max-width: 680px) {
  .topbar { min-height: 64px; padding: .7rem 1rem; }.brand-mark { width: 36px; height: 36px; }.brand strong { font-size: .92rem; }.header-actions { gap: .3rem; }.site-nav a { padding: .45rem .35rem; font-size: .78rem; }.nav-cta { display: none; }
  .marketing-hero { min-height: 0; padding-top: 4rem; }.marketing-hero h1, .page-title-block h1, .contact-copy h1 { font-size: 2.5rem; }.evidence-demo { padding: .8rem; }.evidence-demo li { grid-template-columns: 1.5rem 1fr auto; }.evidence-demo q { display: none; }.demo-head span:last-child { display: none; }
  .workflow-cards, .audience-row, .control-grid, .retention-cards, .pricing-faq, .pricing-grid-four, .governance-boundaries, .privacy-owner, .form-grid, .privacy-contact-strip { grid-template-columns: 1fr; }
  .rules-section { gap: 2.5rem; }.layer-stack article { display: grid; }.layer-stack span { text-align: left; }.pricing-grid-four, .pricing-faq { padding-right: 1rem; padding-left: 1rem; }.contact-layout { padding-top: 4rem; }.demo-form { padding: 1.2rem; }
  .workspace-grid { grid-template-columns: 1fr; }.module-panel { padding-inline: .75rem; }.control-card { padding: 1rem; }
}

/* Product workspace depth — restrained plum surfaces separate inputs from the page. */
.product-page .control-card {
  border-color: #493957;
  background: linear-gradient(155deg, #1a1422 0%, #15101c 100%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .025);
}
.product-page .results-card {
  border-color: #40334c;
  background:
    radial-gradient(circle at 50% 31%, rgba(190, 70, 244, .075), transparent 37%),
    linear-gradient(155deg, #18131f 0%, #120f18 100%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .02);
}
.product-page textarea,
.product-page input[type="text"],
.product-page input[type="number"],
.product-page input[type="email"],
.product-page input[type="password"],
.product-page select {
  border-color: #594568;
  color: #f7f2fa;
  background: #211829;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}
.product-page textarea::placeholder,
.product-page input::placeholder {
  color: #ab9eb3;
  opacity: 1;
}
.product-page textarea:hover,
.product-page input[type="text"]:hover,
.product-page input[type="number"]:hover,
.product-page input[type="email"]:hover,
.product-page input[type="password"]:hover,
.product-page select:hover {
  border-color: #76598a;
}
.product-page textarea:focus,
.product-page input[type="text"]:focus,
.product-page input[type="number"]:focus,
.product-page input[type="email"]:focus,
.product-page input[type="password"]:focus,
.product-page select:focus {
  border-color: #bd48ef;
  outline: 2px solid rgba(189, 72, 239, .14);
  outline-offset: 1px;
}
.product-page .dropzone {
  border-color: #805494;
  background: linear-gradient(145deg, #261b2f 0%, #1e1727 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}
.product-page .dropzone:hover,
.product-page .dropzone:focus-within {
  border-color: #c04df1;
  background: linear-gradient(145deg, #2e1e39 0%, #24182d 100%);
}
.product-page .segmented span,
.product-page .choice-row,
.product-page .advanced {
  border-color: #483851;
  background: #1b1522;
}
.product-page .segmented input:checked + span,
.product-page .choice-row:has(input:checked) {
  border-color: #b84bea;
  background: #2b1835;
}
.product-page .selected-files,
.product-page .input-divider {
  border-color: #493a54;
}
.product-page .empty-state,
.product-page .loading-state {
  color: #f7f2fa;
}
.file-list:empty,
.selected-file:empty {
  display: none;
}
.file-list li,
.selected-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.file-list li > span,
.selected-file > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.remove-file {
  display: inline-grid;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  padding: 0;
  place-items: center;
  border: 1px solid #765087;
  border-radius: 50%;
  color: #f7e8ff;
  background: #2b1834;
  font: inherit;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.remove-file:hover,
.remove-file:focus-visible {
  border-color: #cb55f7;
  outline: 2px solid rgba(203, 85, 247, .24);
  outline-offset: 2px;
  background: #3b1d49;
}
.cv-upload-meter {
  display: grid;
  gap: .45rem;
  margin-top: .75rem;
  padding: .7rem .8rem;
  border: 1px solid #493957;
  border-radius: 9px;
  background: #1b1422;
}
.cv-upload-meter > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #b9afc1;
  font-size: .82rem;
}
.cv-upload-meter strong { color: #f5eaff; }
.cv-upload-meter progress {
  width: 100%;
  height: .48rem;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #33283c;
}
.cv-upload-meter progress::-webkit-progress-bar { border-radius: 999px; background: #33283c; }
.cv-upload-meter progress::-webkit-progress-value { border-radius: 999px; background: linear-gradient(90deg, #9e35d2, #cd58f7); }
.cv-upload-meter progress::-moz-progress-bar { border-radius: 999px; background: linear-gradient(90deg, #9e35d2, #cd58f7); }

/* Legibility floor — keep supporting copy readable across every public and account page. */
body { font-size: 17px; }
small { font-size: .85rem; }
.brand-mark::after { font-size: .82rem; }
.brand strong { font-size: 1.08rem; }
.nav-cta { font-size: .9rem; }
.overline,
.demo-head,
.demo-status,
.workflow-cards article > span,
.control-grid article > span,
.audience-row span,
.compact-principles b,
.compact-principles span,
.compact-product-hero .auth-action,
.layer-stack span,
.governance-boundaries dd,
.governance-disclaimer,
.popular-badge,
.contact-privacy,
.advisory-heading,
.priority-badge,
.control-state {
  font-size: .84rem;
}
.evidence-demo li,
.trust-strip,
.trust-strip b,
.workflow-visual,
.workflow-cards p,
.control-grid p,
.audience-row p,
.rules-section a,
.settings-intro,
.credential-note,
.pricing-subnav a,
.plan-price span,
.annual-price,
.allowance,
.model-choice p,
.pricing-formula dd span,
.environment-state,
.form-message,
.provider-transfer-notice,
.privacy-copy,
.governance-card li,
.evidence-chain p,
.release-list span,
.retention-cards span,
.provider-brief span,
.pricing-faq p,
.contact-copy li span,
.contact-copy li a,
.direct-contact a,
.privacy-contact-strip a,
.privacy-contact-strip p,
.privacy-contact-strip strong {
  font-size: .88rem;
  line-height: 1.55;
}
label,
legend,
textarea,
input,
select,
button,
.card-heading p,
.file-list li,
.selected-file,
.input-divider,
.form-note,
.secondary-button,
.quick-actions button,
.section-title p,
.result-disclosure summary small,
.disclosure-action::after,
.metric span,
.notice,
table,
th,
.status,
.ranking-note,
.limitation-list,
.outcome-banner p,
.draft h4,
footer,
.feature-card p,
.value-card p,
.safeguard-boundary span,
.principle-list span,
.edition-note,
.plan-copy,
.plan-features li,
.plan-button,
.feature-flow p,
.pricing-note,
.auth-card label,
.governance-section-heading > p,
.governance-card p {
  font-size: .9rem;
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .site-nav a { font-size: .84rem; }
}

/* TalentCerta brand kit and persistent light/dark appearance. */
html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f4f3f8;
  --muted: #aaa3b4;
  --paper: #07060a;
  --surface: #100d16;
  --surface-soft: #15101b;
  --line: #30263a;
  --primary: #c04dff;
  --primary-dark: #c04dff;
  --primary-soft: #211229;
  --secondary: #8424d6;
  --secondary-soft: #171020;
  --aero: #c04dff;
  --brand-gradient: linear-gradient(135deg, #c04dff 0%, #a735e8 55%, #8424d6 100%);
  --brand-gradient-hover: linear-gradient(135deg, #ce6bff 0%, #b649ef 55%, #9637df 100%);
  --shadow: 0 24px 70px rgba(0, 0, 0, .32);
  --glow: 0 0 24px rgba(192, 77, 255, .38);
}
html[data-theme="light"] {
  color-scheme: light;
  --ink: #141218;
  --muted: #625b69;
  --paper: #fbfaff;
  --surface: #ffffff;
  --surface-soft: #f6f1fa;
  --line: #ded3e5;
  --primary: #8424d6;
  --primary-dark: #6f19b9;
  --primary-soft: #f1e5fa;
  --secondary: #8424d6;
  --secondary-soft: #f4ebfb;
  --aero: #8424d6;
  --keppel: #087a5b;
  --amber: #795500;
  --amber-bg: #fff6d8;
  --red: #a5223f;
  --red-bg: #fff0f4;
  --brand-gradient: linear-gradient(135deg, #9a36e6 0%, #8424d6 58%, #6f19b9 100%);
  --brand-gradient-hover: linear-gradient(135deg, #892ccf 0%, #731cbe 58%, #5f139f 100%);
  --shadow: 0 18px 50px rgba(72, 32, 97, .12);
  --glow: 0 8px 24px rgba(132, 36, 214, .2);
}
body { background-color: var(--paper); transition: color .18s ease, background-color .18s ease; }
html[data-theme="dark"] body { background-image: radial-gradient(circle at 50% -12rem, rgba(132, 36, 214, .13), transparent 36rem); }
::selection { color: #fff; background: #8424d6; }

.brand { min-width: 178px; }
.brand::before { content: ""; display: block; width: 178px; height: 35px; background: url("/static/brand/talentcerta-logo-on-dark.svg") left center / contain no-repeat; }
.brand .brand-mark, .brand .brand-copy { display: none; }
html[data-theme="light"] .brand::before { background-image: url("/static/brand/talentcerta-logo-on-light.svg"); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .42rem; min-width: 5.1rem; min-height: 2.35rem; padding: .48rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface-soft); font-size: .78rem; font-weight: 800; line-height: 1; box-shadow: none; }
.theme-toggle:hover { color: var(--primary-dark); border-color: var(--primary); }
.theme-toggle:focus-visible { outline: 3px solid rgba(192, 77, 255, .3); outline-offset: 2px; }
.theme-toggle span:first-child { color: var(--primary-dark); font-size: 1rem; }

html[data-theme="dark"] .topbar { border-color: #211a27; background: rgba(7, 6, 10, .94); }
html[data-theme="dark"] footer { border-color: #211a27; background: #07060a; }
html[data-theme="light"] .topbar { border-color: #e7deeb; color: var(--ink); background: rgba(255, 255, 255, .94); box-shadow: 0 10px 32px rgba(54, 25, 72, .06); }
html[data-theme="light"] .site-nav a, html[data-theme="light"] .nav-dropdown summary { color: #5f5765; }
html[data-theme="light"] .site-nav > a:hover, html[data-theme="light"] .site-nav > a.active { color: #8424d6; }
html[data-theme="light"] .site-nav > a.active::after { background: #8424d6; box-shadow: none; }
html[data-theme="light"] .nav-cta, html[data-theme="light"] .plan-button, html[data-theme="light"] .primary-button, html[data-theme="light"] .auth-action-primary { color: #fff; }
html[data-theme="light"] .plan-button.secondary, html[data-theme="light"] .auth-action-secondary, html[data-theme="light"] .secondary-button { border-color: #c8b3d6; color: #6f19b9; background: #fff; }
html[data-theme="light"] .plan-button.secondary:hover, html[data-theme="light"] .auth-action-secondary:hover, html[data-theme="light"] .secondary-button:hover { border-color: #8424d6; color: #6f19b9; background: #f6effb; }

html[data-theme="light"] .marketing-hero h1 span, html[data-theme="light"] .page-title-block h1 span, html[data-theme="light"] .contact-copy h1 span, html[data-theme="light"] .narrative-section h2 span, html[data-theme="light"] .rules-section h2 span, html[data-theme="light"] .closing-cta h2 span, html[data-theme="light"] .governance-layers h2 span, html[data-theme="light"] .governance-controls h2 span { color: #8424d6; text-shadow: none; }
html[data-theme="light"] .overline, html[data-theme="light"] .marketing-hero .hero-copy, html[data-theme="light"] .page-title-block > p:not(.overline), html[data-theme="light"] .contact-copy > p:not(.overline), html[data-theme="light"] .compact-product-hero .hero-copy, html[data-theme="light"] .compact-principles span, html[data-theme="light"] .closing-cta p, html[data-theme="light"] .product-workspace-intro > p:last-child { color: var(--muted); }

html[data-theme="light"] .evidence-demo, html[data-theme="light"] .workflow-visual, html[data-theme="light"] .workflow-cards article, html[data-theme="light"] .audience-row article, html[data-theme="light"] .control-grid article, html[data-theme="light"] .retention-cards article, html[data-theme="light"] .pricing-faq article, html[data-theme="light"] .feature-card, html[data-theme="light"] .value-card, html[data-theme="light"] .pricing-card, html[data-theme="light"] .plan-card, html[data-theme="light"] .edition-card, html[data-theme="light"] .billing-choice, html[data-theme="light"] .checkout-panel, html[data-theme="light"] .auth-card, html[data-theme="light"] .dashboard-card, html[data-theme="light"] .admin-table-card, html[data-theme="light"] .retention-table, html[data-theme="light"] .assurance-card, html[data-theme="light"] .metric, html[data-theme="light"] .result-disclosure, html[data-theme="light"] .quick-actions, html[data-theme="light"] .demo-form, html[data-theme="light"] .privacy-owner > div, html[data-theme="light"] .privacy-contact-strip { border-color: var(--line); color: var(--ink); background: var(--surface); box-shadow: var(--shadow); }
html[data-theme="light"] .evidence-demo li, html[data-theme="light"] .requirement-visual li, html[data-theme="light"] .shortlist-visual li, html[data-theme="light"] .evidence-visual blockquote, html[data-theme="light"] .layer-stack article, html[data-theme="light"] .guardrail-list li, html[data-theme="light"] .credit-pack-card, html[data-theme="light"] .choice-row, html[data-theme="light"] .draft, html[data-theme="light"] .table-wrap, html[data-theme="light"] .disclosure-content .table-wrap { border-color: var(--line); color: var(--ink); background: var(--surface-soft); }
html[data-theme="light"] .evidence-demo li strong, html[data-theme="light"] .requirement-visual li span, html[data-theme="light"] .evidence-visual blockquote, html[data-theme="light"] .shortlist-visual li span, html[data-theme="light"] .guardrail-list strong { color: var(--ink); }
html[data-theme="light"] .demo-head, html[data-theme="light"] .evidence-demo li, html[data-theme="light"] .workflow-cards p, html[data-theme="light"] .control-grid p, html[data-theme="light"] .audience-row p, html[data-theme="light"] .micro-heading, html[data-theme="light"] .requirement-visual li em, html[data-theme="light"] .evidence-link em, html[data-theme="light"] .shortlist-visual small { color: var(--muted); }
html[data-theme="light"] .evidence-demo i, html[data-theme="light"] .cv-upload-meter progress, html[data-theme="light"] .cv-upload-meter progress::-webkit-progress-bar { background: #e5dbe9; }

html[data-theme="light"] .trust-strip { border-color: #e8e0ec; color: var(--muted); }
html[data-theme="light"] .trust-strip b { color: #5f5765; background: #f2edf5; }
html[data-theme="light"] .rules-section, html[data-theme="light"] .governance-controls, html[data-theme="light"] .retention-brief { border-color: #e7deeb; background: #f6f1f9; }
html[data-theme="light"] .rules-section li { border-color: #ddd3e2; color: #4f4855; }
html[data-theme="light"] .layer-stack article.active, html[data-theme="light"] .plan-card.featured { border-color: #a344d2; background: #f2e6fa; box-shadow: 0 18px 44px rgba(132, 36, 214, .1); }
html[data-theme="light"] .governance-boundaries h2, html[data-theme="light"] .plan-card h2, html[data-theme="light"] .pricing-faq h3, html[data-theme="light"] .demo-form h2, html[data-theme="light"] .contact-copy li strong { color: #8424d6; }
html[data-theme="light"] .governance-layers > div:first-child > p, html[data-theme="light"] .layer-stack span, html[data-theme="light"] .guardrail-intro, html[data-theme="light"] .guardrail-list p, html[data-theme="light"] .retention-brief > p:not(.overline,.governance-disclaimer), html[data-theme="light"] .retention-cards span, html[data-theme="light"] .provider-brief > p, html[data-theme="light"] .privacy-owner span, html[data-theme="light"] .pricing-faq p, html[data-theme="light"] .contact-copy li span, html[data-theme="light"] .privacy-contact-strip p, html[data-theme="light"] .privacy-contact-strip strong { color: var(--muted); }

html[data-theme="light"] .credit-packs, html[data-theme="light"] .pricing-formula { border-color: var(--line); color: var(--ink); background: #f6f1f9; }
html[data-theme="light"] .pricing-formula dl > div { border-color: #ddd2e3; }
html[data-theme="light"] .pricing-formula dd span { color: var(--muted); }
html[data-theme="light"] .popular-badge { color: #fff; background: #8424d6; }

html[data-theme="light"] textarea, html[data-theme="light"] input[type="text"], html[data-theme="light"] input[type="number"], html[data-theme="light"] input[type="email"], html[data-theme="light"] input[type="password"], html[data-theme="light"] input[type="tel"], html[data-theme="light"] select, html[data-theme="light"] .dropzone, html[data-theme="light"] .segmented span, html[data-theme="light"] .choice-row, html[data-theme="light"] .demo-form input, html[data-theme="light"] .demo-form select, html[data-theme="light"] .demo-form textarea { border-color: #cabdd1; color: var(--ink); background: #fff; }
html[data-theme="light"] textarea::placeholder, html[data-theme="light"] input::placeholder { color: #776f7d; }
html[data-theme="light"] .dropzone:hover, html[data-theme="light"] .dropzone:focus-within, html[data-theme="light"] .segmented input:checked + span, html[data-theme="light"] .choice-row:has(input:checked) { border-color: #8424d6; background: #f2e6fa; }
html[data-theme="light"] .product-page .control-card, html[data-theme="light"] .product-page .results-card { border-color: #d8cadd; background: #fff; box-shadow: var(--shadow); }
html[data-theme="light"] .product-page textarea, html[data-theme="light"] .product-page input[type="text"], html[data-theme="light"] .product-page input[type="number"], html[data-theme="light"] .product-page input[type="email"], html[data-theme="light"] .product-page input[type="password"], html[data-theme="light"] .product-page select { border-color: #cabdd1; color: var(--ink); background: #f8f4fa; box-shadow: none; }
html[data-theme="light"] .product-page .dropzone { border-color: #b995c9; background: #f4ebf8; box-shadow: none; }
html[data-theme="light"] .product-page .segmented span, html[data-theme="light"] .product-page .choice-row, html[data-theme="light"] .product-page .advanced { border-color: #d7cadc; background: #f8f4fa; }
html[data-theme="light"] .product-page .empty-state, html[data-theme="light"] .product-page .loading-state, html[data-theme="light"] .cv-upload-meter strong { color: var(--ink); }
html[data-theme="light"] .cv-upload-meter > div { color: var(--muted); }
html[data-theme="light"] th { color: #332d37; background: #f0e8f4; }
html[data-theme="light"] th, html[data-theme="light"] td { border-color: #ddd3e2; }
html[data-theme="light"] footer { border-color: #e7deeb; color: #6f6874; background: #f6f1f9; }

@media (max-width: 1180px) {
  .brand { min-width: 150px; }
  .brand::before { width: 150px; height: 30px; }
  .theme-toggle { min-width: 2.45rem; padding-inline: .62rem; }
  .theme-toggle span:last-child { display: none; }
}
@media (max-width: 680px) {
  .brand { min-width: 132px; }
  .brand::before { width: 132px; height: 27px; }
  .theme-toggle { min-width: 2.25rem; min-height: 2.25rem; }
}
