/* NovaScribe blinded scribe study. Tokens copied from the live novascribeai.com/freetrial/ page
   (read 2026-10-01): paper #FBFAF7, ink #16151C, purple #6B46C1, purple-deep #56349F,
   tint #F2EFE9, rule #D5CEC0, slate #55506B. Newsreader headings, Public Sans body, square corners. */
:root {
  --paper: #FBFAF7;
  --ink: #16151C;
  --purple: #6B46C1;
  --purple-deep: #56349F;
  --purple-light: #A78BE8;
  --purple-wash: #EFEAF8;
  --tint: #F2EFE9;
  --rule: #D5CEC0;
  --slate: #55506B;
  --white: #FFFFFF;
  --danger: #A12C2C;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --gut: clamp(16px, 4vw, 64px);
  --maxw: 1440px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); overflow-x: hidden;
}
a { color: var(--purple-deep); }
a:hover { color: var(--purple); }
:focus-visible { outline: 3px solid var(--purple-light); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header + footer */
.site-head { border-bottom: 1px solid var(--rule); background: var(--paper); }
.site-head .in { max-width: var(--maxw); margin: 0 auto; padding: 22px var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-head img { display: block; width: 170px; height: auto; }
.site-head .tag { font: 500 13px/1.3 var(--mono); color: var(--slate); text-align: right; }
.site-foot { border-top: 1px solid var(--rule); margin-top: 72px; }
.site-foot .in { max-width: var(--maxw); margin: 0 auto; padding: 28px var(--gut) 40px; font-size: 14px; color: var(--slate); display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }

/* layout */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 860px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.08; margin: 0 0 .45em; }
h1 { font-size: clamp(38px, 5.4vw, 64px); }
h2 { font-size: clamp(28px, 3.2vw, 38px); }
h3 { font-size: 23px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--slate); max-width: 46em; }
.section { padding-top: clamp(40px, 6vw, 80px); }
.muted { color: var(--slate); }
.small { font-size: 14px; }

/* panels */
.panel { background: var(--white); border: 1px solid var(--rule); padding: clamp(20px, 3vw, 36px); }
.panel.tint { background: var(--tint); }
.disclosure { border: 1px solid var(--rule); background: var(--tint); padding: 18px 22px; margin: 28px 0; }
.disclosure .label { font: 600 15px/1.3 var(--sans); margin-bottom: 6px; }
.disclosure p { margin: 0 0 .5em; } .disclosure p:last-child { margin: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin: 32px 0; }
.facts div { background: var(--white); padding: 18px 20px; }
.facts strong { display: block; font: 600 30px/1.1 var(--serif); }
.facts span { color: var(--slate); font-size: 15px; }

/* buttons + forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 30px;
  font: 600 17px/1 var(--sans); border: 2px solid var(--purple); background: var(--purple); color: var(--white);
  cursor: pointer; text-decoration: none; border-radius: 0; }
.btn:hover { background: var(--purple-deep); border-color: var(--purple-deep); color: var(--white); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--purple-deep); }
.btn.ghost:hover { background: var(--purple-wash); color: var(--purple-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
form .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
@media (max-width: 700px) { form .grid { grid-template-columns: 1fr; } }
label.field { display: block; font-weight: 600; font-size: 15px; }
label.field input, label.field select, textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: 400 16px/1.4 var(--sans); color: var(--ink);
  background: var(--white); border: 1px solid var(--rule); border-radius: 0; }
label.field input:focus, label.field select:focus, textarea:focus { border-color: var(--purple); outline: none; box-shadow: 0 0 0 3px var(--purple-wash); }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--purple); flex: none; }
.error { color: var(--danger); font-weight: 600; font-size: 15px; min-height: 1.4em; margin-top: 12px; }

/* progress */
.progress { display: flex; align-items: center; gap: 14px; font: 500 14px/1 var(--mono); color: var(--slate); margin: 28px 0 10px; }
.progress .bar { flex: 1; max-width: 320px; height: 6px; background: var(--tint); }
.progress .bar i { display: block; height: 100%; background: var(--purple); }

/* the three notes: identical typography for every product */
.case-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: baseline; }
.context { font-size: 18px; margin: 4px 0 6px; }
.summary { background: var(--tint); padding: 16px 20px; margin: 14px 0 0; font-size: 16px; }
.how { color: var(--slate); font-size: 15px; margin: 6px 0 0; max-width: 60em; }
/* One note at a time (default): a single white sheet at a comfortable reading width. */
.case.view-one { max-width: 820px; margin: 0 auto; }
.switcher { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; position: sticky; top: 0; z-index: 3; margin-top: 22px;
  border: 1px solid var(--ink); background: var(--paper); }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.tabs button, .switcher .arrow { min-height: 48px; font: 600 16px/1 var(--sans); background: var(--paper); color: var(--ink); border: 0; border-radius: 0; cursor: pointer; }
.tabs button { border-left: 1px solid var(--ink); }
.tabs button:first-child { border-left: 0; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.tabs button .pick { display: none; font: 500 11px/1 var(--mono); margin-top: 5px; color: var(--purple-deep); }
.tabs button.is-pick .pick { display: block; }
.tabs button.is-pick[aria-selected="true"] .pick { color: var(--purple-light); }
.switcher .arrow { font-size: 20px; }
.switcher .arrow:hover, .tabs button:not([aria-selected="true"]):hover { background: var(--purple-wash); }
.note { background: var(--white); border: 1px solid var(--rule); min-width: 0; }
.note-head { background: var(--ink); color: var(--paper); padding: 12px 18px;
  font: 600 16px/1 var(--sans); display: flex; justify-content: space-between; align-items: center; }
.note-head .picked { font: 500 12px/1 var(--mono); background: var(--purple-light); color: var(--ink); padding: 5px 8px; visibility: hidden; }
.note.is-picked .note-head .picked { visibility: visible; }
.note.is-picked { border-color: var(--purple); box-shadow: 0 0 0 2px var(--purple); }
.note-body { padding: 16px 18px 22px; font: 400 15px/1.58 var(--sans); overflow-wrap: anywhere; }
.note-body h4 { font: 700 15px/1.3 var(--sans); margin: 18px 0 6px; padding-bottom: 4px; border-bottom: 1px solid var(--tint); }
.note-body h4:first-child { margin-top: 0; }
.note-body p { margin: 0 0 7px; }
.note-body ul { margin: 0 0 7px; padding-left: 20px; }
.note-body li { margin: 0 0 3px; }
.view-one .note { display: none; border-top: 0; box-shadow: 0 1px 2px rgba(22, 21, 28, .06), 0 14px 34px rgba(22, 21, 28, .09); }
.view-one .note.is-active { display: block; }
.view-one .note.is-picked { box-shadow: 0 0 0 2px var(--purple), 0 14px 34px rgba(22, 21, 28, .09); }
.view-one .note-head { display: none; }
.view-one .note.is-picked .note-head { display: flex; background: var(--purple-wash); color: var(--ink); }
.view-one .note.is-picked .note-head span:first-child { visibility: hidden; }
.view-one .note.is-picked .note-head .picked { background: var(--purple); color: var(--white); }
.view-one .note-body { padding: clamp(22px, 5.5vw, 56px); font-size: 16px; line-height: 1.65; }
.view-one .note-body h4 { font-size: 16px; margin-top: 26px; }
.view-one .note-body h4:first-child { margin-top: 0; }
.view-one .note-body p { margin-bottom: 10px; }
.view-one .note-body ul { margin-bottom: 10px; }
.note-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.note-nav .btn { min-height: 46px; padding: 0 20px; font-size: 16px; }
.how.standins { margin-top: 4px; }

/* Side by side (wide screens only): the three notes in columns. */
.viewbar { display: none; }
@media (min-width: 1100px) {
  .viewbar { display: flex; width: max-content; margin-top: 20px; border: 1px solid var(--ink); }
  .viewbar button { min-height: 40px; padding: 0 16px; font: 600 14px/1 var(--sans); background: var(--paper); color: var(--ink); border: 0; border-left: 1px solid var(--ink); border-radius: 0; cursor: pointer; }
  .viewbar button:first-child { border-left: 0; }
  .viewbar button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
}
.view-side .switcher, .view-side .note-nav { display: none; }
.view-side .notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; align-items: start; }
.view-side .note-head { position: sticky; top: 0; z-index: 2; }

/* the choice */
.choose { margin-top: 28px; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0 20px; border: 0; padding: 0; }
.choices legend { font: 600 23px/1.2 var(--serif); margin-bottom: 12px; padding: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: center; min-height: 60px; border: 2px solid var(--rule); background: var(--white); font: 600 18px/1 var(--sans); }
.choice input:checked + span { border-color: var(--purple); background: var(--purple); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--purple-light); outline-offset: 2px; }
.choice:hover span { border-color: var(--purple); }
textarea { min-height: 96px; resize: vertical; }

/* reveal */
.reveal-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--rule); margin-top: 18px; font-size: 16px; }
.reveal-table th, .reveal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.reveal-table th { font: 600 13px/1.2 var(--mono); color: var(--slate); background: var(--tint); }
.reveal-table .yours { font-weight: 700; color: var(--purple-deep); }
.table-scroll { overflow-x: auto; }
/* phones: one stacked card per case so Note C never needs a sideways swipe (each cell already says "Note A: ...") */
@media (max-width: 700px) {
  .reveal-table thead { display: none; }
  .reveal-table tr { display: block; border-bottom: 1px solid var(--rule); padding: 6px 0; }
  .reveal-table td { display: block; border-bottom: 0; padding: 5px 14px; }
  .reveal-table td:first-child { font-weight: 600; padding-top: 10px; }
}

/* methods page */
.prose { max-width: 46em; }
.prose h2 { margin-top: 1.6em; }
.prose li { margin-bottom: .45em; }
.prose table { border-collapse: collapse; width: 100%; background: var(--white); border: 1px solid var(--rule); margin: 12px 0 8px; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--rule); padding: 9px 12px; text-align: left; }
.prose th { background: var(--tint); }

/* admin */
.admin table { border-collapse: collapse; width: 100%; background: var(--white); border: 1px solid var(--rule); font-size: 14px; }
.admin th, .admin td { border-bottom: 1px solid var(--rule); padding: 8px 10px; text-align: left; vertical-align: top; }
.admin th { background: var(--tint); font-weight: 600; position: sticky; top: 0; }
.admin .tabsbar { display: flex; gap: 0; border: 1px solid var(--ink); width: max-content; max-width: 100%; margin: 24px 0; }
.admin .tabsbar button { min-height: 44px; padding: 0 20px; font: 600 15px/1 var(--sans); background: var(--paper); border: 0; border-left: 1px solid var(--ink); cursor: pointer; }
.admin .tabsbar button:first-child { border-left: 0; }
.admin .tabsbar button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.admin .kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-bottom: 24px; }
.admin .kpis div { background: var(--white); padding: 14px 16px; }
.admin .kpis strong { display: block; font: 600 28px/1.1 var(--serif); }
.admin .barcell { min-width: 160px; }
.admin .bar { height: 10px; background: var(--tint); margin-top: 4px; }
.admin .bar i { display: block; height: 100%; background: var(--purple); }
.admin .bar i.freed { background: #8C8798; } .admin .bar i.heidi { background: #C9B98F; }
.admin .pill { display: inline-block; padding: 2px 7px; font: 500 12px/1.4 var(--mono); background: var(--tint); }
.admin .pill.done { background: #DDEBDD; } .admin .pill.test { background: #F4E3C8; } .admin .pill.revoked { background: #F1D5D5; }
.admin code { font: 13px var(--mono); word-break: break-all; }
.admin .scroll { overflow-x: auto; }
.admin h3 { margin: 32px 0 10px; }
