/* Homepage project brief. Shared forms and case pages keep their existing styles. */
.project-brief, .project-brief * { box-sizing: border-box; }
.project-brief { padding: 75px 0; color: #373737; }
.project-brief [hidden] { display: none !important; }
.brief-heading { max-width: 880px; margin-bottom: 32px; }
.brief-eyebrow { margin: 0 0 16px; color: #655080; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.brief-heading h2 { margin: 0 0 18px; font-size: clamp(32px, 3.3vw, 44px); line-height: 1.15; font-weight: 600; letter-spacing: -.035em; }
.brief-heading > p:not(.brief-eyebrow) { color: #665d6b; line-height: 1.65; max-width: 760px; }
.brief-heading > h2 + p { font-size: 16px; margin: 0; }
.brief-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 22px; align-items: start; }
.brief-explainer { padding: 32px; border-radius: 30px; background: #f3eff9; }
.brief-tag { display: inline-block; padding: 8px 12px; border-radius: 20px; background: #e6ddf3; color: #594376; font-size: 11px; font-weight: 600; }
.brief-explainer h3 { font-size: 25px; line-height: 1.2; letter-spacing: -.03em; font-weight: 600; margin: 25px 0; }
.brief-explainer ol { padding: 0; margin: 0; list-style: none; }
.brief-explainer li { display: flex; gap: 15px; margin: 0 0 23px; font-size: 15px; line-height: 1.5; font-weight: 600; }
.brief-explainer li > span { color: #9c87bd; font-size: 13px; padding-top: 2px; }
.brief-explainer small { display: block; font-weight: 400; font-size: 13px; line-height: 1.6; color: #726779; margin-top: 6px; }
.brief-expectation { font-size: 13px; line-height: 1.65; color: #6c6077; margin: 23px 0 15px; padding-top: 22px; border-top: 1px solid #ded5eb; }
.brief-direct { display: inline-block; padding: 10px 0; font-size: 12px; color: #5d467c; text-decoration: underline; text-underline-offset: 4px; line-height: 1.5; }
.brief-card { border: 1px solid #e4ddec; padding: 30px; border-radius: 30px; background: #fff; min-width: 0; }
.project-brief .calc__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; max-width: none; margin: 0 0 25px; width: 100%; }
.project-brief .calc__tabs::before, .project-brief .calc__tab::before { display: none; }
.project-brief .calc__tab { margin: 0; padding: 12px 7px; border: 0; border-radius: 12px; background: #f5f2f8; color: #695675; font-size: 12px; line-height: 1.4; font-weight: 500; text-align: center; text-align-last: center; opacity: 1; transition: none; }
.project-brief .calc__tab.active { background: #685087; color: #fff; }
.project-brief .calc__steps { width: 100%; max-width: none; margin: 0; }
.project-brief .calc__progress { font-size: 11px; color: #7b6b87; margin: 0 0 14px; line-height: 1.5; }
.project-brief .calc__step { padding: 0; }
.project-brief .calc__step h3 { font-size: 25px; line-height: 1.25; font-weight: 600; letter-spacing: -.03em; margin: 0 0 12px; scroll-margin-top: 100px; }
.brief-hint { font-size: 13px; line-height: 1.6; color: #796f81; margin: 0 0 22px; }
.brief-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 22px; }
.brief-choices label { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 64px; padding: 12px; border: 1px solid #e5deeb; border-radius: 13px; cursor: pointer; background: #fff; }
.brief-choices label:has(input:checked) { background: #f1eaf9; border-color: #9c7dbc; }
.brief-choices input { position: static; appearance: auto; opacity: 1; accent-color: #74548f; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; }
.brief-choices span { font-size: 13px; line-height: 1.45; color: #55495e; }
.brief-choice-wide { grid-column: 1 / -1; }
.brief-field { display: block; min-width: 0; margin: 18px 0; }
.brief-field > span { display: block; color: #51475a; font-size: 13px; font-weight: 500; line-height: 1.6; margin-bottom: 8px; }
.brief-field small { color: #817488; font-size: 11px; font-weight: 400; }
.brief-field :is(input, textarea) { display: block; width: 100%; max-width: 100%; padding: 13px 15px; border: 1px solid #dcd3e6; border-radius: 12px; background: #faf8fc; color: #373737; font: inherit; font-size: 15px; line-height: 1.6; }
.brief-field textarea { resize: vertical; min-height: 105px; }
.brief-field :is(input, textarea)::placeholder { color: #92849c; opacity: 1; }
.brief-fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.brief-fields-row .brief-field { margin-top: 0; }
.brief-fields-row small { display: block; }
.project-brief .action { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 25px; }
.project-brief .action button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 48px; padding: 12px 20px; margin: 0 !important; border: 0; border-radius: 25px; font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.5; text-transform: none; cursor: pointer; }
.project-brief .action :is(.next-step-btn, .form-btn) { background: #373737; color: #fff; margin-left: auto !important; }
.project-brief .calc__steps .action button.prev-calc { padding-left: 0; background: transparent; color: #65536f; opacity: 1; }
.project-brief .action button:disabled { opacity: .55; cursor: wait; }
.project-brief .calc__step-error, .project-brief .form-field__error { font-size: 13px; line-height: 1.6; color: #a53b54; margin: 12px 0; }
.project-brief .calc__step-error:empty { display: none; }
.project-brief .lead-form__status { line-height: 1.6; font-size: 13px; margin: 16px 0 0; }
.project-brief .privacy-consent { margin-top: 24px; }
.project-brief .privacy-consent__label { font-size: 12px; line-height: 1.6; }
.project-brief .lead-form__reassurance { margin: -5px 0 18px; font-size: 12px; line-height: 1.6; color: #817488; }
.brief-summary { margin-bottom: 22px; padding: 15px 18px; background: #f4f0f8; border-radius: 13px; font-size: 13px; line-height: 1.6; }
.brief-summary summary { cursor: pointer; font-weight: 500; color: #594376; }
.brief-summary dl { margin: 12px 0 0; overflow-wrap: anywhere; }
.brief-summary dt { font-weight: 600; margin-top: 10px; color: #695475; }
.brief-summary dd { margin: 3px 0 0; color: #74687b; }
.project-brief :is(button, input, textarea, a, summary):focus-visible { outline: 3px solid #a889d3; outline-offset: 3px; }
.project-brief .calc__step h3:focus { outline: none; }
@media (max-width: 1000px) {
    .brief-layout { grid-template-columns: minmax(0, 1fr); }
    .brief-explainer { display: none; }
    .brief-card { max-width: 800px; width: 100%; }
}
@media (max-width: 680px) {
    .project-brief { padding: 45px 0; }
    .brief-heading { margin-bottom: 22px; }
    .brief-heading h2 { font-size: 30px; }
    .brief-heading > h2 + p { font-size: 14px; }
    .brief-card { padding: 22px 17px; border-radius: 26px; }
    .project-brief .calc__tabs { gap: 4px; margin-bottom: 22px; }
    .project-brief .calc__tab { font-size: 10px; padding: 11px 3px; border-radius: 10px; }
    .project-brief .calc__step h3 { font-size: 23px; }
    .brief-choices { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .brief-choices label { min-height: 52px; }
    .brief-field :is(input, textarea) { font-size: 16px; }
    .brief-fields-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .brief-fields-row small { display: inline; }
    .project-brief .action { gap: 10px; }
    .project-brief .action button { padding: 12px 16px; font-size: 12px; gap: 10px; }
    .project-brief .action .prev-calc { padding-left: 0; padding-right: 0; }
}
@media (max-width: 359px) {
    .project-brief .calc__tabs { grid-template-columns: 1fr 1.2fr 1fr 1fr; }
}
