:root {
  color-scheme: light;
  font: 16px/1.55 system-ui, sans-serif;
  --paper: #f0eee8;
  --surface: #faf9f5;
  --ink: #201f24;
  --muted: #605d66;
  --line: #cbc7cb;
  --plum: #2a1b30;
  --plum-light: #e8e0e8;
  --signal: #ff764e;
  --warning: #783326;
  --edge: clamp(18px, 6vw, 82px);
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
h1, h2, h3, p, figure, blockquote, dl { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; font-weight: 760; }
h1 { font-size: clamp(3rem, 7vw, 6.7rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.18rem; }
h1 em { color: #6d536f; font-family: Georgia, serif; font-weight: 400; }
p + p { margin-top: .75rem; }
img { display: block; max-width: 100%; }
main, header, footer { width: min(100%, 1440px); margin-inline: auto; padding-inline: var(--edge); }
main { min-height: 70vh; padding-block: clamp(28px, 6vw, 76px) 42px; }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.nav nav { display: flex; flex-wrap: wrap; gap: clamp(13px, 2vw, 30px); }
.nav nav a, .nav-link { font-size: .87rem; font-weight: 650; text-decoration: none; }
.nav nav a:hover, .nav-link:hover { text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 2rem; font-weight: 850; letter-spacing: -.09em; line-height: 1; text-decoration: none; }
.brand i { display: block; width: 15px; height: 15px; background: var(--signal); border-radius: 3px; transform: rotate(-16deg); }
footer { padding-block: 24px; color: var(--muted); font-size: .84rem; }
.eyebrow { font: 650 .72rem/1.45 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .105em; color: var(--muted); }
.muted { color: var(--muted); font-size: .88rem; }
:focus-visible { outline: 3px solid #875a9d; outline-offset: 4px; }
button, input, select, textarea { font: inherit; }
.button, button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; border: 1px solid var(--plum); border-radius: 5px; padding: 10px 16px;
  color: white; background: var(--plum); font-weight: 680; text-decoration: none; cursor: pointer;
}
.button:hover, button:not(:disabled):hover { filter: brightness(1.18); }
button:disabled { cursor: default; opacity: .52; }
button.secondary { background: transparent; color: var(--plum); }
button.quiet-button { background: transparent; border-color: transparent; color: var(--plum); padding-inline: 4px; text-decoration: underline; text-underline-offset: 4px; }
.actions, .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 15px; margin-top: 18px; }
.text-link { font-size: .89rem; }
.card { padding: clamp(18px, 3.4vw, 36px); border: 1px solid var(--line); border-radius: 9px; background: var(--surface); min-width: 0; }
.card h2 + p { margin-top: 9px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
label { display: block; font-size: .88rem; font-weight: 650; min-width: 0; }
input:not([type=checkbox]), select, textarea {
  width: 100%; min-height: 44px; padding: 10px; margin-top: 5px; border: 1px solid #a9a2ad;
  border-radius: 5px; background: #fff; color: var(--ink); font-weight: 450;
}
textarea { resize: vertical; }
blockquote { border-left: 2px solid #8d668e; padding: 4px 0 4px 12px; overflow-wrap: anywhere; }
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(24px, 5.4vw, 76px); padding-block: clamp(6px, 2vw, 30px) clamp(28px, 5vw, 66px); }
.hero h1 { margin: 14px 0 19px; font-size: clamp(3rem, 6vw, 6.2rem); line-height: .95; letter-spacing: -.065em; }
.hero-copy > p:not(.eyebrow):not(.hero-note) { max-width: 34ch; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.19rem); }
.hero-copy .button, .closing .button { background: var(--signal); border-color: var(--signal); color: #23151d; }
.hero-note { margin-top: 18px; color: var(--muted); font: .76rem/1.4 ui-monospace, monospace; }
.session-preview { min-width: 0; background: #241a29; color: #fbf4ee; border: 1px solid #4c364f; border-radius: 9px; padding: 13px; box-shadow: 8px 8px 0 #dbd4dc; }
.session-preview figcaption, .preview-caption { display: flex; flex-wrap: wrap; gap: 7px 12px; align-items: center; justify-content: space-between; padding: 5px 5px 12px; font: .71rem/1.4 ui-monospace, monospace; color: #e6d5e6; }
.session-preview figcaption i { display: inline-block; border-radius: 50%; background: var(--signal); height: 8px; width: 8px; margin-right: 4px; }
.preview-stage { position: relative; isolation: isolate; overflow: hidden; display: grid; background: #3b2743; border: 1px solid #6c4e74; border-radius: 5px; }
.preview-stage::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .22; background: repeating-linear-gradient(0deg, transparent 0 23px, #705776 23px 24px), repeating-linear-gradient(90deg, transparent 0 23px, #705776 23px 24px); }
.preview-question { background: #241a29; border-top: 1px solid #6c4e74; padding: clamp(14px, 2.5vw, 25px); }
.preview-name { font: .71rem ui-monospace, monospace; color: #f1b8a6; }
.preview-question p { margin-top: 8px; font-size: clamp(1.1rem, 2vw, 1.64rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.25; }
.preview-caption { padding: 12px 5px 0; }
.preview-caption strong { color: #fff8ef; }
.roles { border-block: 1px solid var(--line); padding-block: 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.roles > span { font: .72rem ui-monospace, monospace; text-transform: uppercase; }
.roles > div { display: flex; flex-wrap: wrap; gap: 5px 15px; }
.roles a { font-size: .87rem; padding: 6px 0; text-decoration: none; }
.roles a:hover { text-decoration: underline; }
.roles a span { color: #85516d; }
.section { padding-block: clamp(38px, 7vw, 95px); }
.section h2, .closing h2 { font-size: clamp(2.1rem, 4.8vw, 4.55rem); letter-spacing: -.055em; }
.section .eyebrow { margin-bottom: 10px; }
.process, .example { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(18px, 5vw, 66px); align-items: start; }
.process-list > div { border-top: 1px solid var(--line); padding: 14px 0; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 13px; }
.process-list > div:last-child { border-bottom: 1px solid var(--line); }
.process-list dt { font-weight: 750; }
.process-list dd { margin: 0; color: var(--muted); font-size: .88rem; }
.example { align-items: center; background: var(--plum-light); border: 1px solid #cabdcc; border-radius: 9px; padding: clamp(22px, 5vw, 63px); }
.example > div > p:last-child { max-width: 32ch; margin-top: 12px; color: var(--muted); }
.example-card { padding: clamp(16px, 3vw, 27px); background: var(--surface); border: 1px solid #cdbfce; border-radius: 5px; }
.example-card blockquote { margin: 14px 0; color: var(--muted); }
.example-drill { padding-top: 12px; border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 23px; }
.steps article { padding: 15px 0 0; border-top: 2px solid #6d536f; }
.steps p { color: var(--muted); margin: 7px 0; }
.steps a { font-size: .82rem; }
.closing { padding: clamp(23px, 4vw, 48px); display: flex; gap: 20px; flex-wrap: wrap; align-items: center; justify-content: space-between; background: var(--plum); color: #fff; border-radius: 9px; }
.closing p { color: #eddde9; margin-top: 8px; }
.landing-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.studio { max-width: 1250px; }
#setup {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  max-width: 704px;
  margin-inline: auto;
}
.setup-heading { width: 100%; padding: 0; }
.setup-heading h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.05em; }
.setup-stack > .card { padding: 32px; }
.setup-stack .fields { gap: 16px; }
.setup-stack label { margin-bottom: 0; }
.setup-stack input, .setup-stack select { min-height: 48px; }
#profile .setup-actions { margin-top: 24px; gap: 8px 16px; }
#profile .setup-actions button { min-height: 48px; }
#profile #live:not(:disabled) { background: var(--signal); border-color: var(--signal); color: var(--plum); }
.setup-actions:has(> [hidden]:first-child):has(> [hidden]:last-child) { display: none; }
.studio-page .workspace-nav, .studio { --edge: 32px; max-width: 1120px; }
.studio { padding-top: 32px; }
@media (max-width: 799px) {
  .studio-page .workspace-nav, .studio { --edge: 16px; }
  .studio { padding-top: 24px; }
  .setup-stack > .card { padding: 24px; }
}
#vacancy-form .muted, #profile .muted { margin-block: 9px 15px; }
.search-privacy { margin-top: 10px; font-size: .75rem; color: var(--muted); }
#vacancy-status, #setup-status, #account-status, #notice { margin-top: 12px; font-size: .88rem; }
#vacancy-status:empty, #setup-status:empty, #account-status:empty, #notice:empty, #call-status:empty { display: none; }
#vacancy-results { max-height: 335px; overflow: auto; }
#vacancy-results article, .candidate-row { border-top: 1px solid var(--line); margin-top: 13px; padding: 13px 0 0; overflow-wrap: anywhere; }
#vacancy-results details { margin: 7px 0; }
#vacancy-results details p, .cv-content { white-space: pre-wrap; }
#profile-title { margin-bottom: 16px; }
.selected-posting, .guide-note, .score-overview, #setup-status, #account-status { background: var(--plum-light); border: 1px solid #cdbfce; border-radius: 5px; padding: 12px 15px; overflow-wrap: anywhere; }
.selected-posting { margin-bottom: 24px; border-color: var(--line); background: #eeeaef; padding: 16px; }
.selected-posting h3 { margin: 8px 0; line-height: 1.25; }
.selected-posting a, .guide-note a { font-size: .83rem; }
#level-hint { display: block; margin-top: 5px; color: var(--muted); font-weight: 450; }

#setup-status[data-state=error] { background: #f9e7e0; border-color: #ddbeb4; color: var(--warning); }
#practice, #report, #room { max-width: 830px; margin-inline: auto; }
#room .stage { position: relative; isolation: isolate; overflow: hidden; min-height: 160px; aspect-ratio: 16 / 9; border: 1px solid #634969; border-radius: 5px; background: #231a27; color: #fff; }
#room .stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
#room .stage > p { position: absolute; inset: 0; display: grid; place-items: center; padding: 15px; background: #231a27; text-align: center; }
.room-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 9px; }
#clock { color: var(--muted); font: 650 1.1rem ui-monospace, monospace; font-variant-numeric: tabular-nums; }
#job-greeting { color: var(--muted); margin-bottom: 4px; overflow-wrap: anywhere; }
#interview-style { margin-bottom: 10px; }
.participant-name { position: absolute; bottom: 10px; left: 10px; background: #271b2b; border: 1px solid #6c5071; padding: 4px 8px; border-radius: 4px; font-size: .8rem; }
#room.avatar-speaking .stage { box-shadow: 0 0 0 3px #a16a9e; }
.call-controls { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; padding: 12px 0 6px; }
.call-controls #end { color: #fff; background: #a02e35; border-color: #a02e35; }
.call-controls #mute[aria-pressed=true] { background: #f9e7e0; color: var(--warning); }
#call-status { text-align: center; color: var(--muted); font-size: .87rem; }
#transcript { max-height: 220px; overflow: auto; padding-left: 23px; overflow-wrap: anywhere; }
.call-transcript, #live-job-brief, #text-job-brief, #job-evidence, #verified-tip { margin-top: 10px; }
summary { cursor: pointer; font-weight: 650; }
#report-title { margin: 5px 0 14px; }
#results article { padding: 12px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
#results blockquote { margin-block: 8px; }
.score-overview { margin-bottom: 13px; }
.score-overview strong { font-size: 2.4rem; line-height: 1; }
.score-overview p { margin-block: 4px; }
#results li { margin-bottom: 7px; }
.account-page { max-width: 1180px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); align-items: start; gap: clamp(19px, 5vw, 70px); }
.access-intro { background: var(--plum); color: #fff; border-radius: 9px; min-width: 0; padding: clamp(19px, 4.5vw, 50px); }
.access-intro .eyebrow { color: #f1b8a6; margin-bottom: 10px; }
.access-intro h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
.access-intro > p:last-child { margin-top: 13px; color: #eddde9; }
#login-title, .workspace h1 { font-size: clamp(2.2rem, 4.7vw, 4.3rem); margin: 4px 0 17px; }
.account-page label, .workspace label { margin-bottom: 12px; }
.workspace { max-width: 1230px; }
#notifications { margin-bottom: 16px; }
#notification-list:empty { display: none; }
.workspace-heading { border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.workspace section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 16px; }
.workspace section .card > p { margin: 7px 0 14px; }
.candidate-row h3 { margin-bottom: 3px; }
.candidate-row details { margin-top: 9px; }
.candidate-row form, .cv-content { margin-block: 9px; }
.cv-content { max-height: 330px; overflow: auto; }
@media (max-width: 800px) {
  .hero, .process, .example, #setup, .account-page, .workspace section { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3rem, 10vw, 5.5rem); }
  .nav nav { gap: 8px 16px; }
  .site .nav nav { display: none; }
}
@media (max-width: 525px) {
  .steps, .fields, .process-list > div { grid-template-columns: 1fr; }
  .process-list > div { gap: 3px; }
  .nav { min-height: 62px; }
  .nav nav a { font-size: .75rem; }
  .hero-actions { gap: 12px; }
}

.workspace-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}
.workspace-plan { margin-bottom: 17px; color: var(--muted); font: .78rem/1.4 ui-monospace, monospace; white-space: nowrap; }
.applicant-page .workspace, .applicant-page .workspace-nav {
  --edge: 32px;
  max-width: 1120px;
}
.applicant-page .workspace { padding-block: 32px 48px; }
.applicant-page .workspace-heading { margin-bottom: 24px; padding-bottom: 16px; align-items: center; }
.applicant-page .workspace h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 8px 0 0; }
.applicant-page .workspace-plan { margin: 0; }
.practice-focus-controls { max-width: 440px; margin-bottom: 24px; }
.practice-focus-controls select { margin-top: 8px; background: var(--surface); }
#practice-focus-status:not(:empty) { margin-top: 8px; color: var(--warning); font-size: .875rem; }
#applicant-workspace {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "practice cv" "history cv";
  gap: 24px;
}
.practice-feature {
  grid-area: practice;
  display: grid;
  justify-items: start;
  gap: 24px;
  padding: 32px;
  background: var(--plum);
  color: var(--surface);
  border-radius: 8px;
}
.practice-feature h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.practice-feature p { color: #eaddea; max-width: 48ch; margin-top: 8px; }
.practice-feature .button {
  min-height: 48px;
  background: var(--signal);
  border-color: var(--signal);
  color: var(--plum);
}
.practice-next p { font-size: .875rem; }
.practice-feature .button:focus-visible { outline-color: var(--surface); }
.cv-workbench {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  background: var(--surface);
}
#cv-review, .workspace-prep { grid-area: cv; }
.workspace-prep { display: grid; gap: 16px; align-self: start; min-width: 0; }
.workspace-occasion-guide { padding: 24px; }
.workspace-occasion-guide h2 { font-size: 1.25rem; }
.workspace-occasion-guide p { margin-top: 8px; color: var(--muted); }
.workspace-occasion-guide a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; }
#applicant-workspace:has(#cv-review:not([hidden])) .workspace-prep { display: none; }
.workspace-history-heading { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; justify-content: space-between; }
.cv-workbench > summary {
  display: block;
  min-height: 48px;
  padding: 24px;
  cursor: pointer;
}
.cv-workbench > summary:hover { background: #efebf0; border-radius: 8px; }
.cv-workbench > summary::-webkit-details-marker { display: none; }
.cv-workbench[open] > summary { border-bottom: 1px solid var(--line); }
.cv-heading { display: grid; gap: 8px; }
.cv-title { display: flex; align-items: center; gap: 8px; }
.cv-title strong { color: var(--ink); font-size: 1.125rem; }
.cv-heading > span, .cv-access { color: var(--muted); font-size: .875rem; font-weight: 400; }
.cv-plan { border-radius: 4px; background: var(--plum-light); padding: 4px 8px; color: var(--plum); font-size: .75rem; font-weight: 700; }
.cv-heading .cv-disclosure { color: var(--plum); font-weight: 700; margin-top: 8px; }
.cv-disclosure-close, .cv-workbench[open] .cv-disclosure-open { display: none; }
.cv-workbench[open] .cv-disclosure-close { display: inline; }
#applicant-cv, .cv-access { padding: 16px 24px 24px; }
.cv-access > :not(:first-child):not(:empty) { margin-top: 16px; }
#manage-cv { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; }
#applicant-review:not(:empty) { margin-top: 16px; }
#cv-status:not(:empty) { margin-top: 8px; color: var(--muted); }
.document-review-result:not(:empty) { display: grid; gap: 8px; overflow-wrap: anywhere; }
.document-review-result ul, .document-review-result ol { display: grid; gap: 8px; padding-inline-start: 24px; }
.document-review-result blockquote { margin: 4px 0; }
.document-review-result a { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; }
#cv-ai-review-disclosure { margin: 8px 0 16px; font-size: .875rem; color: var(--muted); }
@media (max-width: 799px) {
  .applicant-page .workspace, .applicant-page .workspace-nav { --edge: 16px; }
  #applicant-workspace { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "practice" "history" "cv"; gap: 16px; }
  #applicant-workspace:has(.workspace-prep:not([hidden])):has(#cv-review[hidden]) { grid-template-areas: "practice" "cv" "history"; }
  .practice-feature { padding: 24px; gap: 16px; }
}
@media (max-width: 760px) {
  .workspace-heading { align-items: start; }
  .workspace-plan { margin-top: 4px; }
}

/* Landing page */
.site {
  background: radial-gradient(ellipse at 86% 2%, #e9dee9 0, transparent 540px), var(--paper);
}
.site .nav { gap: 12px; }
.site .hero h1 { max-width: 11ch; }
.site .hero h1 em { color: #795377; }
.site .session-preview {
  border-radius: 18px;
  border-color: #56405f;
  box-shadow: 0 24px 55px #35203830;
}
.site .preview-stage {
  border-radius: 10px;
  background: radial-gradient(ellipse at 50% 33%, #614066, #2a1c31 68%);
}
.session-preview figcaption a { color: inherit; text-decoration: none; }
.session-preview figcaption a:hover { text-decoration: underline; }
.preview-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
}
.preview-roles button {
  flex: 1 0 auto;
  min-height: 44px;
  padding: 6px 9px;
  background: #291f36;
  border-color: #72587d;
  color: #ebdfef;
  font-size: .78rem;
}
.preview-roles button[aria-pressed="true"] {
  background: #f4d3cd;
  border-color: #f4d3cd;
  color: #382234;
}
.preview-voice {
  position: relative;
  min-height: 108px;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #d38bac30, transparent 68%);
}
#interview-scene { position: absolute; inset: 0; }
#interview-scene canvas { display: block; width: 100%; height: 100%; }
.preview-voice-fallback {
  position: absolute;
  inset: 32% 12%;
  background: linear-gradient(90deg, #bc98ed, #ffd4ae, #ed93bb);
  clip-path: polygon(0 49%, 16% 47%, 24% 37%, 32% 70%, 39% 23%, 46% 79%, 51% 5%, 57% 90%, 65% 30%, 72% 62%, 81% 43%, 100% 49%, 100% 54%, 81% 50%, 72% 70%, 65% 42%, 57% 100%, 51% 19%, 46% 91%, 39% 35%, 32% 80%, 24% 46%, 16% 53%, 0 54%);
}
#interview-scene.scene-ready + .preview-voice-fallback { visibility: hidden; }
.site .preview-question { background: #261b2c; }
.site .preview-question p { min-height: 3.75em; }
.preview-focus {
  display: inline-block;
  margin-top: 12px;
  color: #ebc9e4;
  font: .72rem/1.4 ui-monospace, monospace;
}
.industry-section {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(20px, 5vw, 70px);
  border-bottom: 1px solid var(--line);
}
.industry-intro p { max-width: 32ch; margin-top: 12px; color: var(--muted); }
.industry-board {
  min-width: 0;
  padding: 0 clamp(10px, 2vw, 24px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.industry-board table { width: 100%; border-collapse: collapse; }
.industry-board th, .industry-board td { text-align: left; padding: 13px 6px; }
.industry-board thead th { font-size: .74rem; color: var(--muted); font-weight: 650; }
.industry-board th:nth-child(2), .industry-board td:nth-child(2) { text-align: right; white-space: nowrap; }
.industry-board th:last-child, .industry-board td:last-child { width: 33%; padding-left: clamp(8px, 2vw, 22px); }
.industry-board tbody tr { border-top: 1px solid var(--line); }
.industry-board tbody th { font-size: .92rem; }
.industry-board td { font-weight: 750; font-variant-numeric: tabular-nums; }
.industry-board canvas { display: block; width: 100%; max-width: 130px; height: auto; }
.trend-up { color: #167252; }
.trend-down { color: #ad3454; }
@media (max-width: 760px) {
  .industry-section { grid-template-columns: 1fr; }
  .site .hero h1 { max-width: none; }
}
@media (max-width: 400px) {
  .industry-board tbody th, .industry-board td { font-size: .81rem; }
}
#industry-status { margin: 12px 6px 0; color: var(--muted); font-size: .8rem; }

.site .occasion-hero h1 {
  max-width: 16ch;
  margin-block: 0 24px;
  font-size: clamp(2.75rem, 5.5vw, 5.5rem);
  line-height: 1;
  text-wrap: balance;
}
.occasion-hero .hero-copy > p { max-width: 46ch; }
.occasion-hero .hero-actions { gap: 8px 24px; margin-top: 24px; }
.occasion-hero .hero-actions .text-link,
.hero-rehearsal-feedback a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.hero-rehearsal {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  scroll-margin-top: 24px;
}
.hero-rehearsal-question, .hero-rehearsal-feedback { padding: clamp(24px, 3vw, 40px); }
.hero-rehearsal-question { background: var(--plum); color: var(--surface); }
.hero-rehearsal-question .eyebrow { color: #ffb39b; }
.hero-rehearsal-question h2 { font-size: clamp(1.35rem, 2.1vw, 1.8rem); margin: 8px 0 24px; }
.hero-prompt { margin-top: 8px; color: #fbf4ee; font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.4; }
.hero-rehearsal-feedback p + p { margin-top: 8px; color: var(--muted); }
.hero-rehearsal-feedback a { margin-top: 8px; color: var(--plum); font-weight: 650; }
.job-practice { border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.job-practice-grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center; gap: clamp(24px, 5vw, 64px);
}
.job-practice-copy > p:not(.eyebrow) { max-width: 42ch; margin-top: 16px; color: var(--muted); }
.job-practice .roles { margin-top: 32px; }
.job-practice .roles a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
@media (max-width: 800px) {
  .job-practice-grid { grid-template-columns: minmax(0, 1fr); }
}

.workspace-nav .workspace-tools {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.workspace-tools > details { position: relative; }
.workspace-tools > details > summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--plum);
  cursor: pointer;
}
.workspace-tools > details > summary::-webkit-details-marker { display: none; }
.workspace-tools > details > summary:hover { background: var(--plum-light); }
.workspace-tools > details > summary svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.workspace-tools > details[open] > summary { border-color: var(--plum); }
.workspace-menu {
  position: absolute;
  z-index: 5;
  right: 0;
  top: calc(100% + .6rem);
  width: min(23rem, calc(100vw - 2 * var(--edge)));
  max-height: min(70vh, 35rem);
  overflow: auto;
  padding: 1.1rem;
  box-shadow: 0 12px 36px #26163024;
}
.workspace-menu h2 { font-size: 1.27rem; overflow-wrap: anywhere; }
.workspace-menu p { overflow-wrap: anywhere; }
.account-panel { padding: 16px; }
.account-identity {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}
#profile-initials {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--plum-light);
  color: var(--plum);
  font-size: .875rem;
  font-weight: 720;
}
.account-identity h2 { margin-bottom: 4px; }
#profile-email, #saved-cv-name, #profile-source { color: var(--muted); font-size: .875rem; }
#profile-source { margin-top: 4px; font-size: .75rem; }
#workspace-home { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; margin-top: 8px; }
#applicant-profile, .account-plan {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 16px;
}
#profile-name-form { margin-bottom: 16px; }
.account-cv h3 { margin-bottom: 4px; }
#cv-upload-form { display: grid; justify-items: start; gap: 8px; margin-top: 16px; }
#cv-upload-form label { width: 100%; margin: 0; }
.account-file-type { margin-left: 4px; color: var(--muted); font-weight: 400; }
#cv-upload-form input { padding: 4px; margin-top: 8px; }
#cv-upload-form input::file-selector-button {
  min-height: 36px;
  padding: 4px 8px;
  margin-inline-end: 8px;
  border: 0;
  border-radius: 4px;
  background: var(--plum-light);
  color: var(--plum);
  font: inherit;
  cursor: pointer;
}
#saved-cv-preview summary { padding-block: 8px; cursor: pointer; }
#saved-cv-text { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 12rem; overflow: auto; }
.account-plan { padding-top: 8px; }
.account-plan > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 650;
  cursor: pointer;
}
.account-plan > summary::-webkit-details-marker { display: none; }
.account-plan > summary::after { content: '+'; color: var(--muted); }
.account-plan[open] > summary::after { content: '−'; }
.account-plan-badge { margin-left: auto; padding: 4px 8px; border-radius: 4px; background: var(--plum-light); font-size: .75rem; }
.account-panel #sign-out {
  justify-content: flex-start;
  width: 100%;
  margin-top: 8px;
  padding-inline: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  text-decoration: none;
  color: var(--warning);
}
.account-panel #sign-out:hover { text-decoration: underline; }
#notification-list { padding-left: 1.15rem; }
#profile-status:not(:empty) { margin-top: .75rem; }
@media (max-width: 650px) {
  .workspace-tools > details { position: static; }
  .workspace-nav { position: relative; }
  .workspace-menu { top: calc(100% - .2rem); right: var(--edge); }
}

#applicant-workspace .interview-history {
  display: block;
  grid-area: history;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.interview-history h2 { font-size: 1.35rem; }
#interview-history-status { margin: .5rem 0; color: var(--muted); }
#interview-history-status:empty { display: none; }
#interview-history-list { margin-top: 16px; }
#interview-history-list:empty { display: none; }
#interview-history-list > details { border-top: 1px solid var(--line); }
#interview-history-list > details:last-child { border-bottom: 1px solid var(--line); }
#interview-history-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; padding: 16px 8px; cursor: pointer; }
#interview-history-list summary::-webkit-details-marker { display: none; }
#interview-history-list summary::after { content: '+'; color: var(--muted); }
#interview-history-list details[open] summary::after { content: '−'; }
#interview-history-list summary > span:first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
#interview-history-list time { display: block; font-size: .82rem; color: var(--muted); }
.history-score { align-self: center; font-variant-numeric: tabular-nums; color: var(--plum); white-space: nowrap; }
.history-report { padding: .75rem 1rem 1rem; background: var(--surface); }
.history-report h3 { margin: .5rem 0; }
.history-report blockquote { margin: .25rem 0 .75rem; }
#plan-detail { margin: 0 0 8px; color: var(--muted); font-size: .875rem; }
#save-feedback-status:not(:empty) { margin-top: 12px; }


.history-empty {
  margin-top: 16px;
}
.history-empty p { margin-top: .25rem; color: var(--muted); font-size: .88rem; }

.feedback-sample summary {
  width: fit-content;
  min-height: 44px;
  padding-block: 8px;
  color: var(--plum);
  cursor: pointer;
  font-weight: 700;
}
.feedback-example { border-top: 1px solid var(--line); padding-top: 16px; }
.feedback-example > * + * { margin-top: 8px; }
.feedback-example blockquote { margin-inline: 0; padding-left: 16px; border-left: 2px solid var(--plum); }

.landing-footer nav { display: flex; flex-wrap: wrap; column-gap: 24px; }
.landing-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-sources {
  flex: 0 0 100%;
  display: grid;
  gap: 8px;
  padding-block: 4px 16px;
  border-bottom: 1px solid var(--line);
}
.footer-sources h2 { color: var(--ink); font-size: 1rem; letter-spacing: -.02em; }
.footer-sources p { margin-top: 8px; }
.footer-sources ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-sources a {
  display: grid;
  min-width: 48px;
  min-height: 48px;
  place-items: center;
  padding-inline: 4px;
  border-radius: 4px;
}
.footer-sources img {
  width: auto;
  height: 32px;
}
.footer-sources .source-logo-chevening { height: 44px; mix-blend-mode: multiply; }
.footer-sources .source-logo-yc { height: 44px; clip-path: inset(17.5% 15.8% 12.3% 17.5%); }
.footer-sources a:hover { background: var(--plum-light); }
.pricing-main { max-width: 1120px; min-height: auto; padding-block: clamp(32px, 6vw, 72px) 64px; }
.pricing-page .nav, .pricing-page .landing-footer { max-width: 1120px; }
.pricing-intro { margin-bottom: 32px; }
.pricing-intro h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); text-wrap: balance; }
.pricing-intro p { margin-top: 16px; max-width: 52ch; color: var(--muted); }
.pricing-offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pricing-offer { display: flex; flex-direction: column; min-width: 0; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.pricing-starter { background: var(--plum); border-color: var(--plum); color: var(--surface); }
.pricing-offer .eyebrow { margin-bottom: 8px; }
.pricing-starter .eyebrow { color: #ffb39b; }
.pricing-offer h2 { font-size: clamp(1.65rem, 3vw, 2.15rem); }
.offer-description { margin-top: 8px; color: var(--muted); }
.offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 16px; }
.offer-price strong { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.06em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.offer-price span, .offer-note { color: var(--muted); font-size: .875rem; }
.pricing-starter :is(.offer-description, .offer-price span, .offer-note) { color: #e3d6e3; }
.billing-cycle { display: flex; flex-wrap: wrap; gap: 4px; width: fit-content; max-width: 100%; margin: 16px 0 0; padding: 4px; border: 1px solid #816c85; border-radius: 12px; }
.billing-cycle legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.billing-cycle label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.billing-cycle label:has(input:checked) { background: var(--plum-light); color: var(--plum); }
.billing-cycle:disabled label { cursor: default; opacity: .7; }
.billing-cycle input[type="radio"] { width: 16px; min-height: 0; height: 16px; margin: 0; padding: 0; accent-color: #6d536f; }
.pricing-starter :focus-visible { outline-color: #ffb39b; }
.offer-features { display: grid; gap: 8px; margin: 24px 0 32px; padding: 24px 0 0 20px; border-top: 1px solid var(--line); }
.pricing-starter .offer-features { border-color: #816c85; }
.offer-features li::marker { color: #6d536f; }
.pricing-starter li::marker { color: #ffb39b; }
.offer-actions { display: grid; gap: 8px; margin-top: auto; }
.offer-actions :is(button, .button) { min-height: 48px; border-radius: 8px; }
.pricing-pack .button { background: transparent; color: var(--plum); }
#starter-action { background: var(--signal); border-color: var(--signal); color: var(--ink); }
#pricing-retry { border-color: #bda7bf; color: var(--surface); }
.pricing-starter .offer-note.is-error { color: #ffb39b; }
@media (max-width: 700px) {
  .pricing-offers { grid-template-columns: 1fr; gap: 16px; }
  .pricing-main { padding-bottom: 40px; }
}
.welcome-card { max-width: 680px; margin: 15vh auto; padding: 48px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.welcome-card h1 { margin: 8px 0 16px; font-size: clamp(2.5rem,6vw,4rem); letter-spacing: -.05em; }
.welcome-card > p:not(.eyebrow) { margin-bottom: 24px; color: var(--muted); }
.policy-site > :is(.nav, .landing-footer), .policy-page { max-width: 1120px; }
.policy-site .nav-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.policy-page { padding-block: 32px 64px; }
.policy-tabs { display: flex; flex-wrap: wrap; gap: 4px 16px; border-bottom: 1px solid var(--line); }
.policy-tabs a {
  display: inline-flex; align-items: center; min-height: 44px; margin-bottom: -1px;
  padding-inline: 8px; border-bottom: 2px solid transparent; color: var(--muted);
  font-size: .9rem; font-weight: 650; text-decoration: none;
}
.policy-tabs a[aria-current="page"] { border-color: var(--plum); color: var(--plum); }
.policy-tabs a:hover { text-decoration: underline; }
.policy-intro { margin-block: clamp(24px, 5vw, 48px) 32px; }
.policy-intro h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); text-wrap: balance; }
.policy-intro p { max-width: 66ch; margin-top: 16px; color: var(--muted); }
.policy-layout { display: grid; grid-template-columns: 208px minmax(0, 1fr); align-items: start; gap: 24px; }
.policy-index { padding: 16px; border-radius: 12px; background: var(--plum-light); color: var(--plum); }
.policy-index p { padding-inline: 8px; margin-bottom: 8px; font-size: .875rem; font-weight: 700; }
.policy-index ul { padding: 0; margin: 0; list-style: none; }
.policy-index a { display: flex; align-items: center; min-height: 44px; padding: 8px; border-radius: 8px; font-size: .875rem; }
.policy-index a:hover { background: var(--surface); }
.policy-content { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.policy-section { scroll-margin-top: 24px; overflow-wrap: anywhere; }
.policy-section + .policy-section { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.policy-section h2 { margin-bottom: 12px; font-size: clamp(1.25rem, 2.5vw, 1.625rem); }
.policy-section p { max-width: 66ch; }
.policy-section p + p { margin-top: 16px; }
.policy-section a { color: var(--plum); font-weight: 650; }
.program-feature {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px; padding: clamp(24px, 4vw, 40px); margin-block: 16px 32px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--plum-light);
}
.program-feature :is(.eyebrow, h2) + :is(h2, p) { margin-top: 8px; }
.program-feature p { max-width: 60ch; color: var(--muted); }
.program-feature .button { min-height: 48px; }
.program-questions { display: grid; gap: 16px; margin: 16px 0 0; padding-inline-start: 24px; }
.guide-category + .guide-category { margin-top: 32px; }
.guide-cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  padding: 0; margin: 16px 0 0; list-style: none;
}
.guide-cards a { display: inline-flex; align-items: center; min-height: 44px; }
.guide-cards p { margin-top: 8px; color: var(--muted); }
.program-independence { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
@media (max-width: 720px) {
  .guide-cards { grid-template-columns: minmax(0, 1fr); }
  .policy-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .policy-page { padding-block: 16px 40px; }
}

.plan-balance, .plan-offer {
  margin-block: 16px;
  padding: 16px;
  border-radius: 8px;
  background: var(--plum-light);
}
.plan-balance dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.plan-balance dt, .plan-balance p, .plan-offer > p, .plan-offer-heading span {
  color: var(--muted);
  font-size: .875rem;
}
.plan-balance dd { margin: 4px 0 0; font-size: 1.25rem; font-weight: 700; }
.plan-balance p { margin-top: 8px; }
.plan-offer-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.plan-offer-heading h3 { font-size: 1rem; }
.plan-offer-heading span { display: block; }
.plan-offer > p { margin-top: 8px; }
.plan-offer button { width: 100%; min-height: 44px; margin-top: 16px; }
#plan-status:empty { display: none; }

.interview-paywall {
  width: min(512px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #faf8f4;
  color: #211828;
}
.interview-paywall::backdrop { background: rgb(29 20 34 / 55%); }
.interview-paywall-dismiss { display: flex; justify-content: flex-end; margin: -8px -8px 8px; }
.interview-paywall-dismiss button { min-width: 44px; min-height: 44px; font-size: 1.4rem; }
.interview-paywall h2 { margin: 0 0 8px; }
.interview-paywall h3 { margin: 0; }
.interview-paywall p { margin: 8px 0 0; }
.interview-paywall-options { display: grid; gap: 16px; margin-top: 24px; }
.interview-paywall-options:not(:has(section:not([hidden]))) { display: none; }
.interview-paywall-options section { padding: 16px; border-radius: 8px; background: #eee6ef; }
.interview-paywall-options button, .interview-paywall-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 16px;
}
.interview-paywall-action {
  padding: 8px 16px;
  border-radius: 8px;
  background: #2b1c32;
  color: white;
  font-weight: 700;
  text-decoration: none;
}
@media (max-width: 480px) {
  .interview-paywall { padding: 24px; }
}

.analytics-preference {
  max-width: 50rem;
  margin: 24px auto;
  padding: 16px 24px;
}
.analytics-preference p {
  margin: 0 0 8px;
}
.analytics-preference button {
  min-height: 44px;
}
