:root {
  color-scheme: light;
  --paper: #f6f4ee;
  --white: #fffcf8;
  --ink: #241d2b;
  --muted: #5e5365;
  --line: #ded7de;
  --plum: #302039;
  --purple: #563866;
  --lilac: #ede3f2;
  --lime: #dfef95;
  --radius: 4px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.5 "Segoe UI", Arial, sans-serif; }
a { color: #513064; text-underline-offset: 4px; }
a:hover { color: #2c1239; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 15px; font-weight: 650; }
button:hover { background: #f0e9f3; border-color: #b2a2bc; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid #8650a5; outline-offset: 3px; }
.skip { position: absolute; left: 1rem; top: -100px; background: white; padding: 10px; z-index: 3; }
.skip:focus { top: 1rem; }
.frame { width: min(1240px, calc(100% - clamp(28px, 7vw, 96px))); margin-inline: auto; }
.masthead { border-bottom: 1px solid #e6dfe3; background: var(--white); }
.masthead-inner, .masthead-actions { display: flex; align-items: center; gap: 22px; }
.masthead-inner { justify-content: space-between; min-height: 69px; }
.masthead-actions a { color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.masthead-actions a:hover { text-decoration: underline; }
.wordmark { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; color: var(--ink); font-size: 21px; line-height: 1; letter-spacing: -.04em; font-weight: 800; white-space: nowrap; }
.wordmark > span:last-child { font-weight: 500; }
.mark { width: 31px; height: 31px; border-radius: var(--radius); margin-right: 5px; background: var(--plum); position: relative; overflow: hidden; }
.mark::before, .mark::after { content: ""; position: absolute; height: 12px; width: 12px; border: 2px solid var(--lime); border-radius: 3px; transform: rotate(45deg); top: 8px; }
.mark::before { left: 6px; }
.mark::after { left: 12px; border-color: #f7f1fa; }
.quiet-button { border-radius: var(--radius); font-size: 15px; padding: 7px 14px; }
main.frame { padding-top: 26px; min-height: 65vh; outline: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; }
h1 { font-weight: 750; font-size: clamp(33px, 5.05vw, 68px); margin: 7px 0 14px; letter-spacing: -.061em; }
h2 { margin-bottom: 15px; letter-spacing: -.033em; font-size: 25px; }
h3 { margin-bottom: 9px; font-size: 17px; }
.workspace-hero { overflow: hidden; position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(245px, .9fr); gap: clamp(17px, 5vw, 78px); align-items: center; min-height: 259px; padding: clamp(23px, 3.8vw, 50px); border-radius: var(--radius); background: var(--plum); color: #fff9fc; }
.workspace-hero::before { position: absolute; z-index: -1; content: ""; width: 52%; aspect-ratio: 1; right: -11%; bottom: -106%; border: 1px solid #bc9ac69e; border-radius: 50%; box-shadow: 0 0 0 21px #7656854b, 0 0 0 44px #76568543, 0 0 0 68px #76568538, 0 0 0 92px #76568528, 0 0 0 117px #76568520; }
.hero-copy { max-width: 680px; }
.hero-copy p { margin: 0; color: #f2e4f4; max-width: 53ch; font-size: clamp(16px, 1.7vw, 18px); }
.engagement-brief { align-self: center; background: #f6edf7; color: var(--ink); padding: 19px 21px 17px; border-radius: var(--radius); box-shadow: 8px 8px 0 #a982b34a, 16px 16px 0 #a982b32b; min-width: 0; }
.brief-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 8px; color: #594362; font-size: 14px; font-weight: 700; }
.brief-state { background: var(--lime); color: #2a310e; padding: 3px 8px; border-radius: var(--radius); font-size: 13px; }
.engagement-brief h2 { margin: 0 0 11px; overflow-wrap: anywhere; line-height: 1.13; font-size: clamp(20px, 2.4vw, 28px); }
.engagement-brief dl { margin: 0; font-size: 14px; }
.engagement-brief dl div { display: grid; grid-template-columns: 75px minmax(0, 1fr); gap: 10px; align-items: baseline; border-top: 1px solid #ddcce4; padding: 6px 0; }
.engagement-brief dl div:last-child { padding-bottom: 0; }
.engagement-brief dt { color: #625368; }
.engagement-brief dd { margin: 0; text-align: right; font-weight: 650; overflow-wrap: anywhere; }
.engagement-brief time { font-variant-numeric: tabular-nums; }
.stepper { display: flex; align-items: stretch; overflow: auto; gap: 4px; padding: 6px; margin: 22px 0 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.stepper button { flex: 1 0 auto; display: flex; gap: 7px; align-items: center; justify-content: center; border: 0; text-align: left; padding: 9px 10px; background: transparent; color: #625465; font-size: 14px; line-height: 1.2; }
.stepper button:hover:not(:disabled) { background: var(--lilac); }
.stepper button[aria-current=step] { background: var(--plum); color: #fff; }
.stepper button[aria-current=step]:hover { background: #45304e; }
.stepper button span { display: inline-grid; place-items: center; width: 23px; height: 23px; flex: none; border: 1px solid #cabccf; border-radius: 50%; font-size: 12px; font-weight: 700; }
.stepper button[aria-current=step] span { color: #2b330b; background: var(--lime); border-color: var(--lime); }
.stepper button[data-complete] span { background: var(--lilac); border-color: var(--lilac); color: #4a2b5b; }
.stepper button[data-complete][aria-current=step] span { background: var(--lime); border-color: var(--lime); }
.workspace-content { min-width: 0; }
.workspace-columns { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(215px, .85fr); gap: 22px; align-items: start; }
.scope-side { display: grid; gap: 14px; min-width: 0; }
.guide { background: var(--lilac); border: 1px solid #e0d2e7; padding: 21px; border-radius: var(--radius); }
.guide h2 { font-size: 21px; margin-bottom: 8px; }
.guide p { margin-bottom: 0; color: #514359; font-size: 15px; }
.guide + .guide { background: transparent; border-color: var(--line); }
.guide .privacy-label { font-weight: 700; display: block; margin-bottom: 4px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(17px, 2.25vw, 28px); margin: 0 0 15px; min-width: 0; }
.card-header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; align-items: baseline; margin-bottom: 17px; }
.card-header h2 { margin: 0; }
.card-header span, .muted { color: var(--muted); }
.card-header span { font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 17px; }
.full { grid-column: 1 / -1; }
label.field { display: grid; gap: 4px; align-content: start; font-weight: 650; font-size: 15px; min-width: 0; }
label.field small { font-weight: 400; color: var(--muted); }
input:not([type=checkbox]), select, textarea { border: 1px solid #c8bdcc; border-radius: var(--radius); padding: 9px 11px; width: 100%; min-width: 0; background: #fff; color: var(--ink); }
input::placeholder, textarea::placeholder { color: #746a78; }
select { appearance: none; padding-right: 35px; background-image: linear-gradient(45deg, transparent 45%, #594565 50%, #594565 58%, transparent 62%), linear-gradient(135deg, transparent 45%, #594565 50%, #594565 58%, transparent 62%); background-repeat: no-repeat; background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%; background-size: 5px 6px; }
textarea { min-height: 80px; resize: vertical; }
label.check { display: flex; gap: 8px; align-items: start; }
.check input { margin-top: 6px; accent-color: var(--plum); width: 16px; height: 16px; flex: none; }
.actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.primary { background: var(--lime); color: #252c0b; border-color: #b9cd6e; }
.primary:hover { background: #d0e680; border-color: #859b41; }
.summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.summary h2, .summary p { margin: 0; }
.tier { display: inline-block; color: #492959; background: var(--lilac); font-weight: 700; border-radius: var(--radius); padding: 6px 9px; font-size: 14px; }
.notice, .error, .success { padding: 11px 14px; border-left: 4px solid #a57b2d; background: #fff3d8; border-radius: var(--radius); margin: 0 0 15px; }
.error { background: #fdf0ee; border-color: #a73128; color: #761c18; }
.success { background: #edf5d4; border-color: #799038; color: #344617; }
.notice li + li, .error li + li { margin-top: 4px; }
.notice ul, .error ul, .success ul { margin: 0; padding-left: 20px; }
.table { overflow: auto; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
th { background: #f0e9f2; }
.record { border: 1px solid var(--line); padding: 17px; border-radius: var(--radius); margin: 12px 0; min-width: 0; }
.record legend { font-weight: 700; padding: 0 7px; }
.report-section + .report-section { margin-top: 15px; }
.result-value { font-size: clamp(32px, 5vw, 55px); font-weight: 800; line-height: 1.1; letter-spacing: -.06em; }
dialog { max-width: min(480px, calc(100vw - 28px)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; color: var(--ink); background: var(--white); }
dialog::backdrop { background: #2f1e3a99; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; border-top: 1px solid var(--line); color: var(--muted); padding-block: 18px 25px; margin-top: 38px; font-size: 14px; }
.brand-kit { width: min(960px, calc(100% - 32px)); margin: 35px auto; }
.brand-kit img { display: block; width: 100%; height: auto; }
.brand-kit section p { margin: 12px 0 0; }
.brand-nav { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 20px; }
.visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.supplied-screen h2 { margin-bottom: 14px; }
.supplied-screen section > label, .supplied-screen label { font-size:15px; font-weight:650; }
.supplied-screen label:not(:has(input[type=checkbox])) { display:grid; gap:4px; align-content:start; }
.supplied-screen label:has(input[type=checkbox]) { align-self:center; }
.supplied-screen section > label { margin: 10px 0; }
.scope-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px 18px; border:0; margin:0; padding:0; min-width:0; }
.scope-fields p { grid-column:1/-1; }
.field-hint { color:var(--muted); font-size:14px; font-weight:400; }
.term-guide { margin:10px 0 13px; border:1px solid var(--line); border-radius: var(--radius); background:#f8f2f8; padding:9px 13px; }
.term-guide summary { cursor:pointer; font-size:15px; font-weight:700; color:#513064; }
.term-guide dl { margin:9px 0 2px; }
.term-guide dl div+div { margin-top:8px; }
.term-guide dt { font-size:15px; font-weight:700; }
.term-guide dd { margin:1px 0 0; color:var(--muted); font-size:15px; }
.chip small { font-size:12px; opacity:.9; margin-left:3px; }
.supplied-screen .cta { background:var(--lime); border-color:#b9cd6e; color:#252c0b; margin-top:15px; }
.supplied-screen .cta:disabled { background:#ede9e8; color:#5d505c; border-color:var(--line); }
.supplied-screen .cta:hover:not(:disabled) { background:#d0e680; }
.hint { color:var(--muted); }
.chip { display:inline-block; border-radius: var(--radius); padding:5px 9px; margin:7px 6px 0 0; font-size:14px; }
.intake-row { border-top:1px solid var(--line); padding:12px 0; display:grid; gap:9px; }
.intake-row strong { font-size:15px; }
.inline-metrics { display:flex; flex-wrap:wrap; gap:12px; margin:14px 0 17px; }
.inline-metrics div { background:var(--lilac); border-radius: var(--radius); padding:11px 14px; }
.inline-metrics dt { font-size:14px; color:var(--muted); }
.inline-metrics dd { margin:1px 0 0; font-weight:750; font-variant-numeric:tabular-nums; }
.result-box { margin-top:14px; padding:15px; border:1px solid #d9ccde; border-radius: var(--radius); background:#f4edf6; }
.result-box p:last-child { margin-bottom:0; }
.result-box pre { white-space:pre-wrap; overflow-wrap:anywhere; }
.report-outline { columns:2 220px; column-gap:28px; padding-left:24px; }
.report-outline li { margin-bottom:6px; break-inside:avoid; }
.ledger-list { list-style:none; padding:0; }
.ledger-list li { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:9px; padding:9px 0; border-bottom:1px solid var(--line); }
.draft-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.review-rows { margin:12px 0; }
.review-rows div { display:grid; grid-template-columns:minmax(100px,1fr) minmax(0,2fr); gap:12px; border-top:1px solid var(--line); padding:8px 0; }
.review-rows dt { font-weight:650; }
.review-rows dd { margin:0; color:var(--muted); overflow-wrap:anywhere; }
.summary-section { border:1px solid var(--line); border-radius: var(--radius); padding:11px 13px; margin:9px 0; }
.summary-section summary { cursor:pointer; font-weight:700; }
.summary-section summary span { float:right; margin-left:8px; font-size:14px; color:var(--muted); }
.summary-section p { margin:8px 0; }
.attachment-row { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:7px 0; overflow-wrap:anywhere; }
.term-guide .grid { margin-top:12px; }
@media (max-width: 820px) {
  .workspace-hero { grid-template-columns: minmax(0, 1.1fr) minmax(210px, 1fr); padding: 27px; }
  .workspace-columns { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .scope-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .masthead-inner { min-height: 62px; }
  .masthead-inner, .masthead-actions { gap: 9px; }
  .masthead-actions a, .quiet-button { font-size: 14px; }
  .quiet-button { padding: 6px 8px; }
  .wordmark { font-size: 18px; }
  .mark { width: 27px; height: 27px; margin: 0; }
  .mark::before, .mark::after { width: 10px; height: 10px; top: 7px; }
  .mark::before { left: 5px; }
  .mark::after { left: 10px; }
  main.frame { padding-top: 15px; }
  .workspace-hero { grid-template-columns: 1fr; padding: 23px 18px 29px; min-height: 0; border-radius: var(--radius); }
  .engagement-brief { margin-right: 12px; }
  .stepper { margin: 15px 0 18px; }
  .grid, .scope-side, .scope-fields { grid-template-columns: 1fr; }
}
.hero-copy .hero-tagline { color: var(--lime); font-weight: 700; margin-bottom: 12px; }
.hero-cta { margin-top: 18px; }

