:root {
  --olive-950: #273317;
  --olive-900: #303e20;
  --olive-800: #425130;
  --olive-700: #576847;
  --olive-100: #eaf0e1;
  --olive-50: #f4f6ef;
  --ink: #242b23;
  --muted: #647163;
  --line: #dfe5da;
  --danger: #a8322c;
  --paper: #fff;
  --page: #f8f9f6;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: system-ui,-apple-system,"Segoe UI",Arial,sans-serif; font-size: 15px; line-height: 1.55; }
a { color: var(--olive-800); }
a:hover { color: var(--olive-950); }
.top-bar { height: 9px; background: var(--olive-950); }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { min-height: 91px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: Georgia,"Times New Roman",serif; color: var(--olive-900); letter-spacing: .65px; font-size: 14px; line-height: 1.22; }
.seal { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #a38f5e; border-radius: 50%; background: radial-gradient(circle, #fcf9ef 34%, #e9dec0 35%, #f8f4e8 67%); box-shadow: inset 0 0 0 4px #fbf7ec; color: #8e793f; font-size: 19px; font-weight: bold; }
.header-right { color: #8a9385; font-size: 13px; white-space: nowrap; }
.header-dot { color: #adb4a9; padding: 0 6px; }
.test-banner { background: #fff4d7; border-bottom: 1px solid #f1dbab; color: #6d4a11; padding: 11px 20px; font-size: 13px; text-align: center; font-weight: 650; }
.page-layout { display: grid; grid-template-columns: 236px minmax(0,1fr); gap: 35px; align-items: start; padding-top: 43px; padding-bottom: 85px; }
.aside { border-radius: 11px; overflow: hidden; background: #f1f3ec; border: 1px solid var(--line); position: sticky; top: 20px; }
.aside-top { padding: 24px 19px 15px; background: var(--olive-800); color: white; letter-spacing: 1.7px; font-size: 11px; font-weight: 700; }
.aside-link { padding: 15px 19px; display: flex; align-items: center; justify-content: space-between; text-decoration: none; border-bottom: 1px solid #dfe4d8; color: var(--olive-900); font-weight: 600; font-size: 13px; }
.aside-link:hover { background: #e8eddf; }
.aside-link.active { background: #e2e9d8; color: #283719; box-shadow: inset 4px 0 0 #788c5e; }
.aside-note { padding: 23px 19px; color: #63705b; font-size: 12px; }
.aside-note strong { color: var(--olive-800); font-size: 13px; }
.aside-note p { margin: 9px 0 0; }
.main { min-width: 0; }
.eyebrow { font-size: 11px; font-weight: 750; letter-spacing: 2px; color: #697c59; margin: 2px 0 10px; }
h1, h2, h3, p { margin-top: 0; }
h1 { color: #293823; font-family: Georgia,"Times New Roman",serif; font-size: clamp(26px, 3vw, 37px); line-height: 1.25; letter-spacing: -.7px; font-weight: 500; margin-bottom: 11px; }
.intro { max-width: 780px; color: #647162; font-size: 14px; margin-bottom: 21px; }
.required { color: #b12d28; font-weight: 700; }
.muted { color: #8b958a; font-weight: 400; font-size: 12px; }
.library-pill { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border: 1px solid #dce5d5; color: #66745f; background: #eef3e8; padding: 12px 15px; border-radius: 8px; font-size: 13px; margin-bottom: 24px; }
.library-pill strong { color: #354b2d; font-weight: 700; }
.library-pill-dot { height: 9px; width: 9px; background: #709653; border-radius: 100%; }
.pill-lock { margin-left: auto; color: #83927b; font-size: 11px; }
.application-form { padding: 0; }
.form-section { padding: 28px 32px 30px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; box-shadow: 0 2px 16px rgba(43,65,27,.022); }
.section-heading { display: flex; align-items: flex-start; gap: 14px; border-bottom: 1px solid #eff0ec; padding-bottom: 19px; margin-bottom: 21px; }
.section-number { background: #f1f4ed; border: 1px solid #e0e9d7; color: #5e714c; border-radius: 7px; min-width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.section-heading h2, .privacy-section h2 { font-family: Georgia,"Times New Roman",serif; font-size: 21px; font-weight: 500; letter-spacing: -.2px; line-height: 1.22; color: #304127; margin: 1px 0 5px; }
.section-heading p { color: #829081; margin: 0; font-size: 12px; }
.form-grid { display: grid; gap: 20px; min-width: 0; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 19px; }
.field { min-width: 0; }
.field label { display: block; font-size: 13px; font-weight: 650; color: #34452e; margin-bottom: 7px; }
.field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea { display: block; width: 100%; border: 1px solid #cfd9cb; border-radius: 7px; background: white; padding: 11px 12px; font: inherit; color: #243122; font-size: 13px; min-height: 43px; transition: border-color .13s, box-shadow .13s; }
.field textarea { resize: vertical; min-height: 74px; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid rgba(79,113,58,.24); outline-offset: 1px; border-color: #738a62; }
.field input:disabled { background: #f2f4ef !important; color: #8c9585 !important; }
.field small, .upload-control small { display: block; color: #859182; font-size: 11px; margin-top: 5px; }
.field-error { color: var(--danger); font-size: 12px; margin: 7px 0 0; font-weight: 600; }
.inline-checkbox { display: inline-flex; gap: 9px; align-items: center; color: #4a5d40; font-size: 12px; cursor: pointer; }
.inline-checkbox.compact { margin-top: -12px; }
input[type="checkbox"], input[type="radio"] { accent-color: #4f6e3c; width: 16px; height: 16px; cursor: pointer; flex: 0 0 auto; }
.upload-control { border: 1px dashed #b7c8ab; border-radius: 9px; background: #fbfcf9; padding: 17px 19px; }
.upload-control input[type="file"] { width: 100%; max-width: 100%; font-size: 12px; color: #52624e; }
.upload-control input[type="file"]::file-selector-button { border: 1px solid #bdc9b4; background: #eef4e9; border-radius: 6px; padding: 8px 12px; color: #354a2c; cursor: pointer; font-weight: 650; margin-right: 13px; }
.upload-control input[type="file"]::file-selector-button:hover { background: #e1ead7; }
.photo-preview { max-height: 160px; max-width: 150px; display: block; object-fit: contain; margin-top: 13px; border-radius: 8px; border: 1px solid var(--line); }
.photo-preview[hidden] { display: none; }
.orientation-fieldset { padding: 0; border: 0; margin: 0 0 22px; }
.orientation-fieldset legend { color: #34452e; font-weight: 650; font-size: 13px; margin-bottom: 10px; }
.orientation-choice { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid #e3e8de; border-radius: 7px; margin-bottom: 8px; background: #fdfefd; font-size: 13px; cursor: pointer; }
.orientation-choice:hover { border-color: #b4c3a6; background: #f6f9f2; }
.orientation-choice:has(input:checked) { border-color: #88a171; background: #f1f6eb; }
.date-field { max-width: 330px; }
.privacy-section { display: grid; grid-template-columns: 38px 1fr; gap: 12px; background: #f1f5ec; border: 1px solid #dce7d3; padding: 27px 30px; border-radius: var(--radius); margin: 25px 0 17px; }
.privacy-section h2 { font-size: 20px; }
.privacy-section p { font-size: 12px; line-height: 1.7; color: #586752; margin: 8px 0 15px; }
.privacy-section a { font-weight: 700; text-underline-offset: 3px; }
.privacy-icon { background: #e0ebd7; width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #507239; font-size: 23px; }
.privacy-checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: #35482d; font-weight: 600; cursor: pointer; }
.privacy-checkbox input { margin-top: 1px; }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 0 0; }
.submit-caption { color: #849083; font-size: 11px; }
.submit-button { background: var(--olive-900); border: 1px solid var(--olive-900); color: #fff; font-size: 13px; border-radius: 7px; padding: 14px 21px; font-weight: 750; cursor: pointer; display: flex; align-items: center; gap: 18px; transition: background .16s, transform .16s; }
.submit-button:not(:disabled):hover { background: #1b2916; transform: translateY(-1px); }
.submit-button:disabled { opacity: .46; cursor: not-allowed; }
.submit-button span { font-size: 18px; line-height: 1; }
.page-footer { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: #a1aa9e; font-size: 11px; }
.error-summary { background: #fff6f4; border: 1px solid #efccc7; border-left: 4px solid #b44538; padding: 20px 24px; border-radius: 9px; margin-bottom: 20px; }
.error-summary h2 { color: #92382d; margin-bottom: 10px; font-size: 17px; }
.error-summary ul { padding-left: 19px; margin: 0; font-size: 13px; }
.error-summary a { color: #8d382e; }
.error-summary p { color: #8b574f; font-size: 11px; margin: 12px 0 0; }
.honeypot { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.landing-main { max-width: 960px; padding-top: 73px; padding-bottom: 100px; }
.landing-main h1 { font-size: clamp(32px,4vw,48px); }
.landing-main .intro { max-width: 610px; margin-bottom: 32px; }
.library-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.library-card { display: flex; flex-direction: column; text-decoration: none; min-height: 250px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: transform .16s,box-shadow .16s; }
.library-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(35,52,25,.09); }
.library-card h2 { color: #304127; font-family: Georgia,serif; font-weight: 500; font-size: 26px; margin: 15px 0 9px; }
.library-card p { color: #71806f; font-size: 13px; }
.card-kicker { font-size: 10px; letter-spacing: 1.2px; color: #67835b; font-weight: 750; }
.card-action { color: #3b5730; font-size: 13px; margin-top: auto; font-weight: 750; }
.confirmation-wrap { padding-top: 90px; padding-bottom: 100px; }
.confirmation-card { max-width: 680px; margin: auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 53px 40px; }
.confirmation-card h1 { margin: 15px auto 15px; }
.confirmation-card p { color: #6b7a66; }
.confirmation-card .eyebrow { margin-top: 18px; }
.confirmation-icon { display: inline-flex; width: 59px; height: 59px; border-radius: 50%; background: #e8f2e0; color: #537643; font-size: 32px; align-items: center; justify-content: center; }
.reference { background: #f1f6ec; display: inline-block; padding: 12px 19px; border-radius: 8px; margin: 17px auto; color: #596c50; }
.reference strong { color: #304d29; }
.muted-copy { font-size: 12px; }
.links { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; margin-top: 25px; }
.button-link { background: #304127; color: #fff; text-decoration: none; padding: 11px 17px; border-radius: 6px; font-size: 13px; font-weight: 700; }
.button-link.secondary { background: #edf2e9; color: #304127; }
@media(max-width: 900px) {
  .page-layout { grid-template-columns: 195px minmax(0,1fr); gap: 20px; }
  .form-section { padding: 24px 23px; }
  .pill-lock { display: none; }
}
@media(max-width: 700px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .header-inner { min-height: 75px; }
  .header-right { display: none; }
  .page-layout { display: block; padding-top: 28px; }
  .aside { position: static; margin-bottom: 26px; }
  .aside-top { padding: 13px 16px; }
  .aside-link { display: inline-flex; width: 50%; vertical-align: top; font-size: 12px; padding: 13px 11px; }
  .aside-note { display: none; }
  .form-grid.two { grid-template-columns: 1fr; }
  .form-section { padding: 20px 18px; }
  .section-heading h2 { font-size: 20px; }
  .privacy-section { grid-template-columns: 1fr; padding: 22px 19px; }
  .submit-row { flex-direction: column; align-items: stretch; }
  .submit-button { justify-content: space-between; }
  .landing-main { padding-top: 42px; }
  .library-cards { grid-template-columns: 1fr; }
  .confirmation-wrap { padding-top: 35px; }
  .confirmation-card { padding: 32px 21px; }
}
