:root {
  --cfo-navy: #021e40;
  --cfo-deep: #0e1542;
  --cfo-blue: #24476d;
  --cfo-sky: #56aeff;
  --cfo-paper: #ffffff;
  --cfo-ink: #1a2634;
  --cfo-muted: #5d6a78;
  --cfo-line: #dce5ee;
  --cfo-wash: #f4f7fa;
}
.cfo-hq-builder, .cfo-hq-profile, .cfo-hq-form-notice { box-sizing: border-box; font-family: Poppins, Barlow, Roboto, Arial, sans-serif; color: var(--cfo-ink); }
.cfo-hq-builder *, .cfo-hq-profile * { box-sizing: border-box; }
.cfo-hq-builder { max-width: 1480px; margin: 24px auto; border: 1px solid var(--cfo-line); background: var(--cfo-paper); box-shadow: 0 20px 60px rgba(2,30,64,.12); }
.cfo-hq-builder__header { display: flex; align-items: center; gap: 22px; padding: 18px 24px; background: var(--cfo-deep); color: white; }
.cfo-hq-builder__header img { width: 168px; background: white; }
.cfo-hq-builder__header div { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.25); }
.cfo-hq-builder__header strong, .cfo-hq-builder__header span { display: block; }
.cfo-hq-builder__header strong { font-size: 17px; font-weight: 500; }
.cfo-hq-builder__header span { margin-top: 3px; color: rgba(255,255,255,.72); font-size: 12px; }
.cfo-hq-builder__grid { display: grid; grid-template-columns: minmax(330px, 440px) minmax(0,1fr); }
.cfo-hq-profile-form { padding: 18px 28px 28px; background: #fbfcfd; border-right: 1px solid var(--cfo-line); }
.cfo-hq-profile-form fieldset { display: grid; gap: 13px; margin: 0; padding: 18px 0; border: 0; border-bottom: 1px solid var(--cfo-line); }
.cfo-hq-profile-form legend { color: var(--cfo-navy); font-size: 13px; font-weight: 500; }
.cfo-hq-profile-form label { display: grid; gap: 6px; color: var(--cfo-ink); font-size: 12px; font-weight: 500; }
.cfo-hq-profile-form label > span { justify-self: end; margin-top: -20px; color: var(--cfo-muted); font-size: 10px; font-weight: 400; }
.cfo-hq-profile-form label > span.is-invalid { color: #a62929; }
.cfo-hq-profile-form input, .cfo-hq-profile-form textarea, .cfo-hq-profile-form select { width: 100%; padding: 10px 11px; border: 1px solid #cdd8e2; border-radius: 3px; background: white; color: var(--cfo-ink); font: inherit; font-weight: 400; outline: none; }
.cfo-hq-profile-form input:focus, .cfo-hq-profile-form textarea:focus, .cfo-hq-profile-form select:focus { border-color: var(--cfo-sky); box-shadow: 0 0 0 3px rgba(86,174,255,.18); }
.cfo-hq-profile-form textarea { min-height: 86px; resize: vertical; }
.cfo-hq-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cfo-hq-form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding-top: 18px; }
.cfo-hq-button { border: 1px solid var(--cfo-blue); border-radius: 2px; background: var(--cfo-blue); color: white; padding: 11px 14px; font: inherit; font-size: 11px; font-weight: 500; cursor: pointer; }
.cfo-hq-button--secondary { background: white; color: var(--cfo-blue); }
.cfo-hq-button:disabled { cursor: wait; opacity: .65; }
.cfo-hq-form-status { min-height: 20px; margin: 12px 0 0; color: #176b4d; font-size: 11px; }
.cfo-hq-form-status.is-error { color: #a62929; }
.cfo-hq-builder__preview { min-width: 0; padding: 28px; background: #edf2f6; }
.cfo-hq-preview-label { margin: 0 0 12px; color: var(--cfo-navy); font-size: 12px; font-weight: 500; }
.cfo-hq-profile { position: relative; display: grid; grid-template-columns: 38% 62%; max-width: 960px; min-height: 610px; margin: 0 auto; overflow: hidden; background: white; box-shadow: 0 18px 50px rgba(2,30,64,.14); }
.cfo-hq-profile::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 8px; background: var(--cfo-sky); z-index: 3; }
.cfo-hq-profile__image { position: relative; min-height: 610px; overflow: hidden; background: var(--cfo-deep); }
.cfo-hq-profile__image > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 18%; }
.cfo-hq-profile__shade { position: absolute; inset: 52% 0 0; background: linear-gradient(transparent, rgba(14,21,66,.92)); }
.cfo-hq-profile__image-brand { position: absolute; left: 28px; right: 24px; bottom: 24px; color: white; }
.cfo-hq-profile__image-brand strong, .cfo-hq-profile__image-brand span { display: block; }
.cfo-hq-profile__image-brand strong { font-size: 12px; }
.cfo-hq-profile__image-brand span { margin-top: 9px; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.cfo-hq-profile__content { display: flex; flex-direction: column; min-width: 0; padding: 36px 40px 0; }
.cfo-hq-profile__topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; color: var(--cfo-blue); font-size: 9px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.cfo-hq-profile__topline img { width: 118px; height: auto; }
.cfo-hq-profile h1 { margin: 34px 0 5px; color: var(--cfo-navy); font-size: clamp(30px,4vw,48px); line-height: 1.04; font-weight: 500; letter-spacing: -.025em; text-transform: uppercase; overflow-wrap: anywhere; }
.cfo-hq-profile__role { margin: 0; color: var(--cfo-blue); font-size: 14px; font-weight: 500; }
.cfo-hq-profile__rule { width: 100%; height: 3px; margin: 20px 0 16px; background: var(--cfo-sky); }
.cfo-hq-profile__statement { margin: 0; color: var(--cfo-deep); font-size: 17px; line-height: 1.45; font-weight: 500; }
.cfo-hq-profile section { margin-top: 23px; }
.cfo-hq-profile section h2 { margin: 0 0 8px; color: var(--cfo-blue); font-size: 9px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.cfo-hq-profile section p { margin: 0; color: #344354; font-size: 11.5px; line-height: 1.65; }
.cfo-hq-profile section ul { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; margin: 0; padding: 0; list-style: none; }
.cfo-hq-profile section li { position: relative; padding-left: 13px; font-size: 11px; line-height: 1.45; }
.cfo-hq-profile section li::before { content: ''; position: absolute; left: 0; top: .48em; width: 5px; height: 5px; background: var(--cfo-sky); }
.cfo-hq-profile__highlights { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 24px; border-top: 1px solid var(--cfo-line); border-bottom: 1px solid var(--cfo-line); }
.cfo-hq-profile__highlights div { padding: 14px 12px 15px; border-right: 1px solid var(--cfo-line); }
.cfo-hq-profile__highlights div:first-child { padding-left: 0; }
.cfo-hq-profile__highlights div:last-child { border-right: 0; }
.cfo-hq-profile__highlights strong, .cfo-hq-profile__highlights span { display: block; }
.cfo-hq-profile__highlights strong { color: var(--cfo-navy); font-size: 25px; line-height: 1; font-weight: 500; }
.cfo-hq-profile__highlights span { margin-top: 7px; color: var(--cfo-muted); font-size: 9px; line-height: 1.35; }
.cfo-hq-profile footer { display: flex; flex-wrap: wrap; gap: 7px 14px; margin: auto -40px 0; padding: 15px 40px; background: var(--cfo-navy); color: white; font-size: 9.5px; }
.cfo-hq-profile footer a { color: inherit; text-decoration: none; }
.cfo-hq-profile[data-layout="credentials"] { grid-template-columns: 1fr 31%; }
.cfo-hq-profile[data-layout="credentials"] .cfo-hq-profile__content { grid-column: 1; grid-row: 1; }
.cfo-hq-profile[data-layout="credentials"] .cfo-hq-profile__image { grid-column: 2; grid-row: 1; }
.cfo-hq-profile[data-layout="credentials"] .cfo-hq-profile__image-brand { display: none; }
.cfo-hq-profile[data-layout="credentials"] h1 { margin-top: 52px; }
.cfo-hq-form-notice { max-width: 760px; margin: 24px auto; padding: 18px; border-left: 4px solid var(--cfo-sky); background: var(--cfo-wash); color: var(--cfo-navy); }
@media (max-width: 1050px) { .cfo-hq-builder__grid { grid-template-columns: 1fr; } .cfo-hq-profile-form { border-right: 0; border-bottom: 1px solid var(--cfo-line); } }
@media (max-width: 720px) { .cfo-hq-builder { margin: 0; } .cfo-hq-builder__header div { display: none; } .cfo-hq-profile-form, .cfo-hq-builder__preview { padding: 18px; } .cfo-hq-form-grid { grid-template-columns: 1fr; } .cfo-hq-profile, .cfo-hq-profile[data-layout="credentials"] { display: block; min-height: 0; } .cfo-hq-profile__image { height: 310px; min-height: 0; } .cfo-hq-profile__content { padding: 28px 24px 0; } .cfo-hq-profile h1 { margin-top: 26px; font-size: 34px; } .cfo-hq-profile footer { margin: 26px -24px 0; padding: 14px 24px; } }

