.brief-page { max-width: 1440px; margin: 0 auto; padding: clamp(3.5rem, 7vw, 7rem) clamp(1.25rem, 5vw, 5rem) clamp(4rem, 8vw, 8rem); color: var(--blue, #253ad5); }
.brief-page-heading { max-width: 1000px; margin-bottom: clamp(3.5rem, 6vw, 6.5rem); }
.brief-page-heading h1 { max-width: 16ch; margin: 0; font-size: clamp(2.65rem, 5.3vw, 5.5rem); line-height: 1.07; letter-spacing: -.035em; font-weight: 500; text-wrap: balance; }
.brief-page-heading > p { max-width: 51ch; font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.6; margin: 1.6rem 0 0; }
.brief-layout { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2.1fr); gap: clamp(2rem, 6vw, 6.5rem); align-items: start; }
.brief-sidebar { border-top: 1px solid var(--blue, #253ad5); padding-top: 1.5rem; }
.brief-flow-intro { margin: 0 0 2rem; max-width: 23ch; font-size: 1.15rem; line-height: 1.5; }
.brief-progress { margin: 0; padding: 0; list-style: none; }
.brief-progress li { border-bottom: 1px solid var(--line, rgba(37,58,213,.25)); }
.brief-progress button { width: 100%; min-height: 60px; background: none; border: 0; padding: .95rem 0; color: inherit; font: inherit; text-align: left; display: flex; gap: 1rem; align-items: center; cursor: pointer; line-height: 1.35; }
.brief-progress-number { flex: 0 0 1.6rem; font-size: .85rem; font-variant-numeric: tabular-nums; }
.brief-progress [aria-current="step"] > button { font-weight: 650; }
.brief-progress [aria-current="step"] .brief-progress-number { text-decoration: underline; text-underline-offset: .4em; }
.brief-progress button:not(:disabled):hover { background: var(--apricot, #f5d6c0); }
.brief-progress button:disabled { opacity: .52; cursor: default; }
.brief-progress-number svg { display: block; }
.brief-draft { margin-top: 2.25rem; }
.brief-draft p { font-size: .83rem; line-height: 1.6; margin: 0 0 .75rem; max-width: 32ch; }
.brief-stage { border-top: 1px solid var(--blue, #253ad5); padding-top: 1.5rem; min-width: 0; }
.brief-stage-heading { display: flex; align-items: baseline; gap: 1rem 2rem; justify-content: space-between; flex-wrap: wrap; }
.brief-stage-heading h2 { margin: 0; font-size: clamp(1.7rem, 2.7vw, 2.6rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
.brief-stage-heading h2:focus { outline: none; }
.brief-stage-heading h2:focus-visible { outline: 2px solid var(--blue, #253ad5); outline-offset: 7px; }
.brief-step-count { font-size: .8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.brief-stage-intro { font-size: .9rem; line-height: 1.6; margin: 1rem 0 2.5rem; max-width: 65ch; }
.brief-form { margin: 0; }
.brief-field { min-width: 0; margin: 0 0 2rem; padding: 0; border: 0; }
.brief-field > label, .brief-field legend { display: block; padding: 0; margin: 0 0 .8rem; font-size: 1rem; font-weight: 550; line-height: 1.5; }
.brief-optional { font-size: .78rem; margin-left: .5rem; font-weight: 400; }
.brief-field input[type="text"], .brief-field input[type="email"], .brief-field textarea, .brief-field select { display: block; width: 100%; min-height: 56px; border: 1px solid var(--line, rgba(37,58,213,.25)); border-radius: 0; background: transparent; color: var(--blue, #253ad5); padding: 1rem; font: inherit; line-height: 1.5; caret-color: var(--blue, #253ad5); box-sizing: border-box; }
.brief-field input::placeholder, .brief-field textarea::placeholder { color: #666a88; opacity: 1; }
.brief-field input[type="text"]:hover, .brief-field input[type="email"]:hover, .brief-field textarea:hover, .brief-field select:hover { border-color: var(--blue, #253ad5); }
.brief-field textarea { resize: vertical; min-height: 180px; }
.brief-select { position: relative; }
.brief-field select { appearance: none; padding-right: 3rem; cursor: pointer; }
.brief-field select option { background: var(--paper, #fffefa); color: var(--blue, #253ad5); }
.brief-select > svg { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; }
.brief-choices { display: grid; gap: .6rem; }
.brief-industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.brief-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.brief-choice { position: relative; display: flex; align-items: center; gap: .75rem; min-height: 64px; padding: .9rem 1rem; border: 1px solid var(--line, rgba(37,58,213,.25)); cursor: pointer; line-height: 1.4; font-size: .94rem; transition: background-color 160ms ease-out, border-color 160ms ease-out; }
.brief-choice:hover { border-color: var(--blue, #253ad5); }
.brief-choice:has(input:checked) { border-color: var(--blue, #253ad5); background: var(--apricot, #f5d6c0); }
.brief-choice input, .brief-consent input { appearance: none; position: relative; width: 18px; height: 18px; flex: 0 0 18px; padding: 0; margin: 0; border: 1px solid currentColor; border-radius: 0; color: var(--blue, #253ad5); background: transparent; cursor: pointer; }
.brief-choice input:checked, .brief-consent input:checked { background: var(--blue, #253ad5); }
.brief-choice input:checked::after, .brief-consent input:checked::after { content: ''; position: absolute; width: 8px; height: 4px; top: 4px; left: 3px; border-bottom: 1.6px solid var(--paper, #fffefa); border-left: 1.6px solid var(--paper, #fffefa); transform: rotate(-45deg); }
.brief-hint { font-size: .82rem; line-height: 1.6; margin: 0 0 .85rem; max-width: 70ch; }
.brief-textarea-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: .65rem; }
.brief-textarea-meta .brief-hint { margin: 0; }
.brief-count { flex: 0 0 auto; font-size: .75rem; font-variant-numeric: tabular-nums; }
.brief-actions { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; border-top: 1px solid var(--line, rgba(37,58,213,.25)); padding-top: 1.5rem; margin-top: 2.5rem; }
.brief-button { appearance: none; display: inline-flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1rem 1.25rem; min-height: 56px; border: 1px solid var(--blue, #253ad5); border-radius: 0; background: var(--blue, #253ad5); color: var(--paper, #fffefa); text-decoration: none; font: inherit; font-size: .95rem; line-height: 1.45; text-align: left; cursor: pointer; transition: background-color 160ms ease-out, color 160ms ease-out; box-sizing: border-box; }
.brief-button svg { flex: 0 0 22px; }
.brief-button:hover { background: var(--apricot, #f5d6c0); color: var(--blue, #253ad5); }
.brief-button:disabled { opacity: .5; cursor: wait; }
.brief-button-secondary { background: transparent; color: var(--blue, #253ad5); }
.brief-text-button { appearance: none; border: 0; border-radius: 0; background: transparent; color: inherit; padding: .65rem 0; min-height: 44px; font: inherit; font-size: .87rem; line-height: 1.5; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; cursor: pointer; }
.brief-text-button:hover { text-decoration-thickness: 2px; }
.brief-page :is(button, a, input, textarea, select):focus-visible { outline: 2px solid var(--blue, #253ad5); outline-offset: 4px; }
.brief-error { margin: .65rem 0 0; color: #9e2d20; font-size: .85rem; line-height: 1.5; }
.brief-error-summary { margin: -1rem 0 1.5rem; font-weight: 550; }
.brief-page [hidden] { display: none !important; }
.brief-field [aria-invalid="true"] { border-color: #9e2d20; }
.brief-choice:has([aria-invalid="true"]) { border-color: #9e2d20; }
.brief-consent > label { display: flex; align-items: flex-start; gap: .85rem; font-size: .9rem; line-height: 1.6; font-weight: 400; cursor: pointer; }
.brief-consent input { margin-top: .2rem; }
.brief-consent > a { display: inline-flex; align-items: center; gap: .5rem; margin-left: 2rem; color: inherit; font-size: .82rem; text-underline-offset: .3em; min-height: 44px; }
.brief-consent > a svg { width: 16px; height: 16px; transform: rotate(-45deg); }
.brief-review-section { border-top: 1px solid var(--line, rgba(37,58,213,.25)); padding-top: 1rem; margin-bottom: 1.75rem; }
.brief-review-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; margin-bottom: 1rem; }
.brief-review-heading h3 { margin: 0; font-size: 1.15rem; font-weight: 550; }
.brief-review dl { margin: 0; }
.brief-review dl > div { display: grid; grid-template-columns: minmax(130px, .8fr) minmax(0, 1.2fr); gap: 1rem 2rem; margin-bottom: 1rem; }
.brief-review dt { font-size: .82rem; line-height: 1.6; }
.brief-review dd { font-size: .95rem; line-height: 1.6; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.brief-handoff { background: var(--apricot, #f5d6c0); padding: 1.5rem; margin-top: 2.5rem; }
.brief-handoff-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 .75rem; }
.brief-handoff-actions > * { flex: 1 1 220px; }
.brief-handoff > .brief-hint:last-child { margin-bottom: 0; }
.brief-status { margin: 1.25rem 0 0; font-size: .85rem; line-height: 1.6; max-width: 65ch; }
.brief-status:empty { margin: 0; }
@media (max-width: 950px) {
  .brief-layout { grid-template-columns: minmax(160px, .8fr) minmax(0, 2fr); gap: 2rem; }
  .brief-services { grid-template-columns: 1fr; }
  .brief-services .brief-choice { min-height: 56px; }
}
@media (max-width: 680px) {
  .brief-page { padding-top: 3.5rem; }
  .brief-page-heading { margin-bottom: 3rem; }
  .brief-layout { grid-template-columns: 1fr; gap: 2rem; }
  .brief-sidebar { display: flex; flex-direction: column; gap: 1rem; padding-top: 1rem; }
  .brief-flow-intro { margin: 0; font-size: 1rem; max-width: none; }
  .brief-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: .45rem; }
  .brief-progress li { border: 0; }
  .brief-progress button { min-height: 44px; justify-content: center; padding: .5rem; border: 1px solid var(--line, rgba(37,58,213,.25)); }
  .brief-progress [aria-current="step"] > button { background: var(--apricot, #f5d6c0); border-color: var(--blue, #253ad5); }
  .brief-progress-number { flex-basis: auto; font-size: .85rem; }
  .brief-progress button > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .brief-draft { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin: 0; }
  .brief-draft p { max-width: 35ch; margin: 0; font-size: .75rem; }
  .brief-draft button { flex: 0 0 auto; padding-top: 0; font-size: .75rem; max-width: 100px; text-align: right; }
  .brief-stage { padding-top: 1.25rem; }
  .brief-stage-intro { margin-bottom: 2rem; }
  .brief-industries { grid-template-columns: 1fr; }
  .brief-choice { min-height: 56px; }
  .brief-field { margin-bottom: 1.75rem; }
  .brief-textarea-meta { flex-wrap: wrap; gap: .25rem; }
  .brief-count { margin-left: auto; }
  .brief-review dl > div { grid-template-columns: 1fr; gap: .3rem; margin-bottom: 1.25rem; }
  .brief-handoff { padding: 1.25rem; }
  .brief-actions { gap: 1rem; }
  .brief-actions .brief-button { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .brief-choice, .brief-button { transition: none; }
}

/* Controls need a stronger boundary than decorative rules. */
.brief-field input[type="text"],.brief-field input[type="email"],.brief-field textarea,.brief-field select{border-color:#7c85c7}
.brief-choice input[type="radio"]{border-radius:50%}
.brief-choice input[type="radio"]:checked{background:transparent}
.brief-choice input[type="radio"]:checked::after{width:8px;height:8px;top:4px;left:4px;border:0;border-radius:50%;background:var(--blue);transform:none}
.brief-no-script{max-width:60ch;padding:25px 0;font-size:18px}
.brief-no-script a{text-decoration:underline;text-underline-offset:4px}
.brief-field :is(input,textarea,select)[aria-invalid="true"]{border-color:#9e2d20}
.brief-success{max-width:780px;margin-left:auto;padding:clamp(24px,4vw,48px);background:var(--apricot,#f5d6c0)}
.brief-success h2{margin:24px 0 16px;font-size:clamp(30px,4vw,52px);line-height:1.15;font-weight:650;letter-spacing:-.03em}
.brief-success p{max-width:60ch;line-height:1.65}
.brief-reference{padding:20px 0;border-top:1px solid var(--blue,#253ad5);border-bottom:1px solid var(--blue,#253ad5);margin:24px 0;font-size:14px;overflow-wrap:anywhere}
.brief-reference strong{display:block;margin-top:6px;font-size:22px;font-variant-numeric:tabular-nums}
.brief-text-button:disabled{opacity:.5;cursor:wait}
