/* Shared branding for the application and privacy pages. */
:root {
  --forest: #4b2d42;
  --forest-dark: #382536;
  --forest-light: #745267;
  --cream: #fff5f8;
  --paper: #fffafb;
  --muted: #786574;
  --gold: #ffdf88;
  --stroke: #e9d9e1;
  --display: Georgia, 'Times New Roman', serif;
  --shadow: 0 18px 52px rgba(75, 45, 66, .12);
}

html, body { width: 100%; }
body { background: var(--cream); color: var(--forest-dark); }
body::after { display: none; }
::selection { background: #ffd5e8; color: var(--forest); }
.apply-header {
  min-height: 96px;
  height: auto;
  padding: 18px clamp(22px, 4vw, 72px);
  gap: 28px;
  background: #fffafb;
  border-bottom-color: var(--stroke);
}
.apply-header .brand { flex-shrink: 0; }
.apply-header .brand img { display: block; width: clamp(170px, 18vw, 230px); height: auto; }
.brand-page-nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 38px); }
.brand-page-nav a { color: var(--forest); font-size: 14px; font-weight: 600; }
.brand-page-nav a:hover, .back-site:hover { color: #a3547b; }
.brand-page-nav .back-site { padding-bottom: 5px; border-bottom: 1px solid #b9849e; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #b17b91;
  outline-offset: 4px;
}
.application { width: 100%; min-height: calc(100svh - 96px); }
.application-aside::before {
  background: linear-gradient(180deg, rgba(61, 34, 52, .75), rgba(61, 34, 52, .41) 43%, rgba(61, 34, 52, .82));
}
.application-aside h1 { font-size: clamp(58px, 5.3vw, 88px); letter-spacing: -.045em; }
.application-aside h1 em { color: var(--gold); }
.aside-mini, .aside-bottom { color: #fff1f6; font-size: 13px; }
.aside-text { color: #fff8fa; font-size: 16px; line-height: 1.8; }
.aside-text strong { color: #ffe9af; }
.question-panel { background: var(--cream); }
.question-step { max-width: 620px; }
.question-progress .progress-label, .progress-counter, .question-kicker, .dark-eyebrow { color: #8a536d; font-size: 13px; }
.progress-track { background: #eddae4; height: 4px; }
.progress-fill { background: #b76f93; }
.question-step h2 em { color: #a96184; }
.question-subtitle { font-size: 16px; color: #74616e; }
.field label { color: var(--forest); font-size: 14px; }
.field label .optional { color: #877581; }
.field input, .field textarea, .field select { background: #fff; border-color: #ddc9d4; color: var(--forest-dark); border-radius: 5px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #aa6b8b; box-shadow: 0 0 0 3px rgba(170, 107, 139, .12); }
.field input::placeholder, .field textarea::placeholder { color: #a898a3; }
.field select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m2 2 5 5 5-5' fill='none' stroke='%23745267' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 17px center; }
.choice { color: var(--forest); border-color: #ddc9d4; background: #fffafb; border-radius: 5px; }
.choice:hover { border-color: #b9809c; }
.choice.selected { border-color: #b76f93; background: #fce7f0; }
.choice span { font-size: 16px; }
.choice input, .consent-card input { accent-color: #9d557a; }
.consent-card { background: #fae8ef; color: var(--forest); font-size: 15px; border-radius: 5px; }
.btn, .btn-back { border-radius: 5px; font-size: 14px; }
.btn-dark { background: var(--forest); }
.btn-dark:hover { background: #6a405b; }
.btn-back { color: var(--forest); border-color: #d6bacb; }
.btn-back:hover { background: #fae8ef; }
.question-controls .btn > span[aria-hidden="true"], .question-step > .btn > span[aria-hidden="true"] { display: none; }
.continue-button { justify-content: center; }
.small-hint, .apply-bottom-line { color: #7c6773; font-size: 13px; }
.apply-bottom-line, .review-list, .review-item { border-color: var(--stroke); }
.review-item dt { color: #876374; font-size: 14px; }
.review-item dd { font-size: 15px; }
.submit-status { color: #765669; font-size: 15px; }
.preview-note { color: #6b4d61; background: #fff0cf; border-left-color: #dfb551; font-size: 14px; }
.form-error { font-size: 14px; }
.success-symbol { color: #a45b7f; }
.simple-content { background: var(--cream); padding-top: 80px; padding-bottom: 110px; }
.simple-content p, .simple-content li { color: #74616e; font-size: 16px; }
.simple-content small { font-size: 14px; }
.simple-content .eyebrow { margin-bottom: 15px; }
.site-footer { background: #fbe8ef; color: var(--forest); border-top: 1px solid var(--stroke); }
.footer-brand img { display: block; width: 200px; height: auto; }
.footer-brand > span { color: #815c70; font-size: 12px; margin-top: 14px; letter-spacing: .11em; }
.footer-links, .footer-copy { color: #795c70; font-size: 14px; }
.footer-links a:hover { color: #a3547b; }

@media (max-width: 850px) {
  .brand-page-nav { gap: 19px; }
  .application-aside h1 { font-size: 53px; }
}
@media (max-width: 600px) {
  .apply-header { min-height: 82px; padding: 17px 20px; gap: 18px; }
  .apply-header .brand img { width: 170px; }
  .brand-page-nav > a:not(.back-site) { display: none; }
  .brand-page-nav .back-site { font-size: 13px; white-space: nowrap; }
  .application { min-height: calc(100svh - 82px); }
  .application-aside { padding: 30px 25px; }
  .application-aside h1 { font-size: 41px; max-width: 380px; }
  .application-aside::before { background: rgba(61, 34, 52, .73); }
  .application-aside .aside-mini { font-size: 12px; }
  .aside-text { font-size: 15px; margin-top: 13px; }
  .question-panel { padding: 28px 25px; }
  .question-subtitle { font-size: 16px; }
  .apply-bottom-line { flex-wrap: wrap; line-height: 1.7; }
  .review-item { grid-template-columns: 110px 1fr; }
  .simple-content { padding: 60px 25px 80px; }
  .footer-brand img { width: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .question-step { animation: none; }
  .btn, .progress-fill { transition: none; }
}
