:root {
  color-scheme: light;
  --navy: #10164a;
  --ink: #181923;
  --muted: #5e606d;
  --line: #dddee3;
  --soft: #f6f6f4;
  --paper: #ffffff;
  --orange: #ef7f26;
  --orange-soft: #fff2e6;
  --blue-soft: #eef1fa;
  --radius: 16px;
  font-family: "Segoe UI", Aptos, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fbfbfa; color: var(--ink); font-size: 15px; line-height: 1.55; }
button, a, select { font: inherit; }
a { color: inherit; }
.skip-link { position: absolute; left: 12px; top: -56px; z-index: 20; padding: 10px 14px; background: white; color: var(--navy); border: 2px solid var(--orange); border-radius: 6px; }
.skip-link:focus { top: 12px; }
.topbar { border-top: 5px solid var(--orange); background: var(--navy); color: white; }
.topbar-inner { width: min(1160px, calc(100% - 48px)); min-height: 58px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.demo-brand { display: inline-flex; align-items: center; gap: 10px; color: white; font-weight: 700; letter-spacing: .01em; text-decoration: none; }
.brand-spark { color: #ffae69; font-size: 22px; line-height: 1; }
.topbar-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 8px; min-width: 0; margin-left: auto; color: #e4e5ed; font-size: 12px; line-height: 1.3; text-align: right; }
.topbar-breadcrumbs [aria-current="page"] { color: #fff; font-weight: 600; }
.breadcrumb-separator { color: #ffae69; }
.page-shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0 68px; }
.intro { margin: 30px 0 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.eyebrow { margin: 0 0 8px; color: #676976; font-size: 10px; font-weight: 800; letter-spacing: .12em; line-height: 1.3; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 10px; color: var(--navy); font-size: clamp(31px, 4vw, 46px); letter-spacing: -.045em; line-height: 1.06; }
.intro-copy { max-width: 690px; margin: 0; color: #555762; font-size: 16px; }
.demo-badge { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: #4b4c56; font-size: 11px; }
.demo-badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.how-to { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; padding: 18px 22px; background: var(--blue-soft); border: 1px solid #dfe3f2; border-radius: var(--radius); }
.how-heading .eyebrow { margin-bottom: 4px; }
.how-heading h2 { margin: 0; color: var(--navy); font-size: 18px; letter-spacing: -.02em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; margin: 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: 10px; color: #444653; font-size: 12px; line-height: 1.4; }
.step-number { color: #bf5b15; font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.example-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 35px 0 16px; }
.example-intro .eyebrow { margin-bottom: 4px; }
.example-intro h2 { margin: 0; color: var(--navy); font-size: 21px; letter-spacing: -.025em; }
.fictional-label { margin: 0; color: #555762; font-size: 11px; white-space: nowrap; }
.fictional-label span { color: var(--orange); font-size: 8px; vertical-align: 1px; margin-right: 5px; }
.demo-grid { display: grid; grid-template-columns: minmax(310px, .82fr) minmax(0, 1.18fr); gap: 18px; align-items: start; }
.panel { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 4px 16px rgb(16 22 74 / 4%); }
.notes-panel, .findings-panel { padding: 22px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-bottom: 17px; border-bottom: 1px solid #e9e9ec; }
.panel-heading .eyebrow { margin-bottom: 4px; }
.panel-heading h3 { margin: 0; color: var(--navy); font-size: 18px; letter-spacing: -.025em; }
.note-count, .illustrative-pill { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; background: #f3f3f5; color: #53545e; font-size: 10px; font-weight: 700; }
.illustrative-pill { background: var(--orange-soft); color: #93440d; }
.note-list { display: grid; gap: 0; list-style: none; padding: 0; margin: 2px 0 14px; }
.note-list li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid #eeeeef; }
.note-list li:last-child { border-bottom: 0; }
.note-list time { padding-top: 2px; color: #99501d; font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }
.note-list p { margin: 0; color: #3e404b; font-size: 12px; line-height: 1.55; }
.note-footnote { display: flex; gap: 9px; padding: 12px; background: #f7f7f5; border-radius: 10px; }
.footnote-mark { flex: 0 0 17px; width: 17px; height: 17px; display: grid; place-items: center; border: 1px solid #aaabb3; border-radius: 50%; color: #555762; font-size: 10px; font-weight: 700; }
.note-footnote p { margin: 0; color: #5d5e68; font-size: 10px; line-height: 1.45; }
.view-tabs { display: flex; gap: 4px; margin: 17px 0 0; border-bottom: 1px solid #e5e5e8; }
.view-tabs button { position: relative; padding: 9px 13px 11px; border: 0; border-radius: 8px 8px 0 0; background: transparent; color: #61626c; cursor: pointer; font-size: 12px; font-weight: 700; }
.view-tabs button[aria-selected="true"] { color: var(--navy); background: #f5f6fb; }
.view-tabs button[aria-selected="true"]::after { content: ""; position: absolute; right: 9px; bottom: -1px; left: 9px; height: 2px; background: var(--orange); }
.view-tabs button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #f29951; outline-offset: 3px; }
.readout-panel { min-height: 390px; padding: 17px 0 5px; }
.theme-list { display: grid; gap: 12px; }
.theme-card { padding: 14px; border: 1px solid #e4e5e9; border-radius: 12px; background: #fff; }
.theme-title-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.theme-number { flex: 0 0 auto; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 7px; background: var(--orange-soft); color: #9b4a11; font-size: 11px; font-weight: 800; }
.theme-card h4 { margin: 1px 0 0; color: var(--navy); font-size: 14px; line-height: 1.35; }
.tag { display: inline-block; margin-right: 5px; padding: 3px 7px; border-radius: 999px; background: var(--blue-soft); color: #313b69; font-size: 9px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.tag.hypothesis { background: var(--orange-soft); color: #8d430e; }
.theme-detail { margin: 8px 0 0; color: #4f505a; font-size: 11px; line-height: 1.5; }
.theme-detail strong { color: #32333d; }
.evidence-list { display: grid; gap: 11px; }
.evidence-item { display: grid; grid-template-columns: 53px 1fr; gap: 12px; padding-bottom: 11px; border-bottom: 1px solid #ececef; }
.evidence-item:last-child { border-bottom: 0; }
.evidence-item time { color: #99501d; font-size: 11px; font-weight: 800; }
.evidence-item p { margin: 0; color: #4b4c56; font-size: 12px; }
.question-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; counter-reset: q; }
.question-list li { position: relative; padding: 11px 12px 11px 38px; border: 1px solid #e8e8eb; border-radius: 10px; color: #41424d; font-size: 12px; }
.question-list li::before { counter-increment: q; content: counter(q, decimal-leading-zero); position: absolute; left: 12px; top: 11px; color: #a0521b; font-size: 10px; font-weight: 800; }
.interpretation-note { margin: 0; padding: 12px 14px; border-left: 3px solid var(--orange); background: #fff8f1; color: #55545a; font-size: 10px; }
.interpretation-note strong { color: #33343b; }
.prompt-card { margin-top: 22px; padding: 21px 22px; border: 1px solid #dedfe5; border-radius: var(--radius); background: #fff; }
.prompt-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.prompt-intro .eyebrow { margin-bottom: 4px; }
.prompt-intro h2 { margin: 0; color: var(--navy); font-size: 18px; letter-spacing: -.025em; }
.prompt-summary { margin: 7px 0 12px; color: #5c5e67; font-size: 11px; }
.button { min-height: 40px; padding: 9px 15px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; font-weight: 800; cursor: pointer; }
.button-primary { background: var(--navy); color: #fff; }
.button-primary:hover { background: #222c72; }
.prompt-text { max-height: 210px; overflow: auto; margin: 0; padding: 14px 16px; border: 1px solid #e4e4e7; border-radius: 10px; background: #f8f8f7; color: #373943; font: 11px/1.6 "Segoe UI", Aptos, Arial, sans-serif; white-space: pre-wrap; }
.copy-status { min-height: 1.4em; margin: 7px 0 0; color: #355f3a; font-size: 11px; }
.field-label { display: block; margin: 13px 0 6px; color: #343542; font-size: 11px; font-weight: 800; }
.text-input { display: block; width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #c9cad2; border-radius: 9px; background: #fff; color: #30313c; font: 12px/1.55 "Segoe UI", Aptos, Arial, sans-serif; resize: vertical; }
.text-input:focus-visible, select:focus-visible { outline: 3px solid #f29951; outline-offset: 2px; border-color: #99501d; }
.notes-input { min-height: 208px; }
.field-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; color: #666873; font-size: 10px; line-height: 1.4; }
.field-meta span:last-child { flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.action-button { margin-top: 13px; }
.action-status { min-height: 1.5em; margin: 7px 0 0; color: #355f3a; font-size: 11px; }
.action-status[data-state="error"] { color: #a33325; }
.button:disabled { cursor: wait; opacity: .65; }
.site-footer { padding: 28px 0 22px; background: var(--navy); color: #fff; }
.footer-inner { width: min(1160px, calc(100% - 48px)); margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; }
.footer-brand { display: grid; gap: 15px; }
.footer-logo { display: block; width: 173px; height: auto; }
.footer-brand small { color: #e0e2ef; font-size: 10px; }
.footer-right { display: grid; justify-items: end; gap: 15px; }
.footer-socials { display: flex; align-items: center; gap: 13px; }
.footer-socials a { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 5px; color: white; }
.footer-socials a:hover { background: rgb(255 255 255 / 14%); }
.footer-socials img { display: block; width: 19px; max-height: 19px; object-fit: contain; filter: invert(1) grayscale(1) contrast(4); mix-blend-mode: screen; }
.footer-socials img.glassdoor-icon { width: auto; height: 18px; max-height: none; filter: none; mix-blend-mode: normal; object-fit: contain; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 22px; }
.footer-links a { color: #f1f1f7; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover { color: #fff; }

@media (max-width: 920px) {
  .intro { align-items: flex-start; }
  .demo-grid { grid-template-columns: 1fr; }
  .readout-panel { min-height: auto; }
}
@media (max-width: 700px) {
  .topbar-inner, .page-shell, .footer-inner { width: min(100% - 32px, 560px); }
  .topbar-inner { min-height: 54px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding: 10px 0; }
  .page-shell { padding-top: 18px; padding-bottom: 48px; }
  .topbar-breadcrumbs { justify-content: flex-start; margin-left: 0; font-size: 11px; text-align: left; }
  .intro { margin: 25px 0 20px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .how-to { grid-template-columns: 1fr; gap: 14px; padding: 17px; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .example-intro { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 28px; }
  .example-intro h2 { font-size: 19px; }
  .notes-panel, .findings-panel, .prompt-card { padding: 17px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-right { justify-items: start; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 420px) {
  body { font-size: 14px; }
  .topbar-inner, .page-shell, .footer-inner { width: calc(100% - 28px); }
  .topbar-breadcrumbs { gap: 4px 7px; font-size: 10px; }
  h1 { font-size: 32px; }
  .intro-copy { font-size: 14px; }
  .note-list li { grid-template-columns: 42px 1fr; gap: 8px; }
  .view-tabs button { padding-right: 10px; padding-left: 10px; }
  .prompt-intro { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-socials { gap: 9px; }
}
