:root {
  --ad-green: #155228;
  --ad-green-dark: #0c3d1a;
  --ad-green-light: #ebf5ee;
  --ad-gold: #c9a020;
  --ad-ink: #14251a;
  --ad-muted: #607066;
  --ad-border: #d9e5dc;
  --ad-danger: #b42318;
}

.ad-page { background: #f4f7f4; color: var(--ad-ink); }
.ad-header { background: var(--ad-green-dark); border-bottom: 4px solid var(--ad-gold); }
.ad-header-inner { max-width: 1180px; min-height: 88px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ad-brand { display: flex; align-items: center; gap: 13px; color: #fff; }
.ad-brand img { width: 60px; height: 60px; object-fit: contain; }
.ad-brand span { display: flex; flex-direction: column; line-height: 1.25; }
.ad-brand small { color: #b8dcc4; font-size: 11px; letter-spacing: .7px; text-transform: uppercase; }
.ad-brand strong { font-family: 'Roboto Condensed', sans-serif; font-size: 17px; }
.ad-home-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; padding: 9px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 7px; font-size: 12px; font-weight: 700; }
.ad-home-link:hover { background: var(--ad-gold); color: #172317; border-color: var(--ad-gold); }

.ad-intro { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, #103f20 0%, #1b6b35 72%, #27783d 100%); }
.ad-intro::after { content: ''; position: absolute; width: 420px; height: 420px; right: -110px; top: -190px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 46px rgba(255,255,255,.035), 0 0 0 92px rgba(255,255,255,.025); }
.ad-intro-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 50px 24px 54px; }
.ad-kicker { display: inline-flex; align-items: center; gap: 8px; color: #f7df78; font-size: 11px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; }
.ad-intro h1 { margin-top: 9px; font-family: 'Roboto Condensed', sans-serif; font-size: clamp(38px, 6vw, 64px); line-height: 1; letter-spacing: -.7px; }
.ad-intro > .ad-intro-inner > p { max-width: 760px; margin-top: 16px; color: #d5edd9; font-size: 16px; line-height: 1.75; }
.ad-trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 25px; }
.ad-trust-row span { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; }
.ad-trust-row i { color: var(--ad-gold); }

.ad-layout { max-width: 1180px; margin: -24px auto 64px; padding: 0 24px; position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr); gap: 25px; align-items: start; }
.ad-form-card, .ad-side-card { background: #fff; border: 1px solid var(--ad-border); border-radius: 14px; box-shadow: 0 12px 35px rgba(22,67,34,.08); }
.ad-form-card { padding: 32px; }
.ad-card-heading { display: flex; align-items: center; gap: 13px; padding-bottom: 22px; border-bottom: 1px solid var(--ad-border); }
.ad-card-heading.compact { padding-bottom: 17px; }
.ad-step { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 42px; color: #fff; background: var(--ad-green); border-radius: 9px; font-family: 'Roboto Condensed', sans-serif; font-size: 15px; font-weight: 700; }
.ad-card-heading p { color: var(--ad-green); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.ad-card-heading h2 { margin-top: 2px; font-family: 'Roboto Condensed', sans-serif; font-size: 22px; }

fieldset { margin: 28px 0 0; padding: 0; border: 0; }
fieldset + fieldset { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--ad-border); }
legend { width: 100%; margin-bottom: 19px; font-family: 'Roboto Condensed', sans-serif; font-size: 17px; font-weight: 700; }
.ad-optional { margin-left: 7px; padding: 3px 7px; color: var(--ad-muted); background: #edf1ee; border-radius: 20px; font-family: 'Open Sans', sans-serif; font-size: 9px; letter-spacing: .6px; text-transform: uppercase; vertical-align: middle; }
.ad-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ad-field.ad-full { grid-column: 1 / -1; }
.ad-field label, #status-form label { display: block; margin-bottom: 7px; color: #263c2d; font-size: 12px; font-weight: 700; }
.ad-field label span, .ad-required-note span, .ad-confirm b { color: var(--ad-danger); }
.ad-field label em { color: #7a887f; font-size: 10px; font-style: normal; font-weight: 600; text-transform: uppercase; }
.ad-field input, .ad-field select, .ad-field textarea, .ad-status-input input { width: 100%; border: 1.5px solid #cbd9ce; border-radius: 8px; background: #fff; color: var(--ad-ink); font: inherit; font-size: 13.5px; outline: none; transition: border-color .2s, box-shadow .2s; }
.ad-field input, .ad-field select { height: 45px; padding: 0 13px; }
.ad-field textarea { min-height: 164px; padding: 12px 13px; resize: vertical; line-height: 1.55; }
.ad-field input:focus, .ad-field select:focus, .ad-field textarea:focus, .ad-status-input input:focus { border-color: var(--ad-green); box-shadow: 0 0 0 3px rgba(27,107,53,.11); }
.ad-field.has-error input, .ad-field.has-error select, .ad-field.has-error textarea { border-color: var(--ad-danger); }
.field-error { display: block; min-height: 16px; margin-top: 4px; color: var(--ad-danger); font-size: 10.5px; }
.ad-field-meta { display: flex; justify-content: space-between; gap: 10px; }
.ad-field-meta #description-count { margin-top: 5px; color: #78847b; font-size: 10.5px; }
.ad-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ad-anonymous-note, .ad-contact-benefit { display: flex; gap: 12px; padding: 14px 15px; margin-bottom: 19px; border-radius: 9px; }
.ad-anonymous-note { color: #24452e; background: var(--ad-green-light); border-left: 4px solid var(--ad-green); }
.ad-anonymous-note i, .ad-contact-benefit i { margin-top: 2px; font-size: 17px; }
.ad-anonymous-note strong, .ad-contact-benefit strong { font-size: 12.5px; }
.ad-anonymous-note p, .ad-contact-benefit p { font-size: 11.5px; line-height: 1.6; }
.ad-contact-benefit { margin-top: 17px; margin-bottom: 0; color: #604b00; background: #fff9df; border: 1px solid #f0dda0; }
.ad-contact-benefit i { color: #a37c00; }
.ad-confirm { display: flex; align-items: flex-start; gap: 10px; margin-top: 28px; cursor: pointer; color: #435249; font-size: 11.5px; line-height: 1.55; }
.ad-confirm input { width: 17px; height: 17px; margin-top: 1px; accent-color: var(--ad-green); }
.ad-confirm-error { margin-left: 27px; }
.ad-submit { width: 100%; min-height: 52px; margin-top: 22px; padding: 12px 18px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 9px; color: #fff; background: var(--ad-green); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.ad-submit:hover { background: var(--ad-green-dark); transform: translateY(-1px); }
.ad-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.ad-required-note { margin-top: 9px; color: #7b887f; text-align: center; font-size: 10px; }

.ad-alert { display: none; margin-top: 20px; padding: 12px 14px; border-radius: 8px; color: #8a241d; background: #fff0ee; border: 1px solid #f1c7c3; font-size: 12px; line-height: 1.5; }
.ad-alert.show { display: block; }
.ad-success { padding: 35px 5px 8px; text-align: center; }
.ad-success-icon { width: 62px; height: 62px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--ad-green); font-size: 24px; box-shadow: 0 0 0 8px var(--ad-green-light); }
.ad-success-kicker { color: var(--ad-green); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.ad-success h2 { margin: 5px 0 10px; font-family: 'Roboto Condensed', sans-serif; font-size: 27px; }
.ad-success > p { color: var(--ad-muted); font-size: 13px; line-height: 1.65; }
.ad-reference { max-width: 430px; margin: 21px auto 13px; padding: 10px 10px 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 2px dashed #9bb8a3; border-radius: 9px; background: #f5faf6; }
.ad-reference code { color: var(--ad-green-dark); font-size: 16px; font-weight: 700; letter-spacing: 1px; }
.ad-reference button, .ad-secondary-btn { border: 0; border-radius: 6px; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.ad-reference button { padding: 8px 10px; color: #fff; background: var(--ad-green); }
.ad-success .ad-success-note { font-size: 10.5px; }
.ad-secondary-btn { margin-top: 22px; padding: 10px 16px; color: var(--ad-green); background: #fff; border: 1px solid var(--ad-green); }

.ad-sidebar { display: grid; gap: 20px; }
.ad-side-card { padding: 24px; }
.ad-privacy-card { color: #fff; background: linear-gradient(145deg, #0c3d1a, #155f2c); border: 0; }
.ad-side-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 16px; color: #172317; background: var(--ad-gold); border-radius: 10px; font-size: 20px; }
.ad-privacy-card h2 { font-family: 'Roboto Condensed', sans-serif; font-size: 22px; }
.ad-privacy-card > p { margin-top: 10px; color: #d5edd9; font-size: 12px; line-height: 1.7; }
.ad-privacy-card ul { margin-top: 17px; padding: 15px 0 0; border-top: 1px solid rgba(255,255,255,.15); list-style: none; }
.ad-privacy-card li { position: relative; padding: 5px 0 5px 19px; color: #eef8f0; font-size: 11.5px; }
.ad-privacy-card li::before { content: '\2713'; position: absolute; left: 0; color: #f0d85b; font-weight: 700; }
#status-form { margin-top: 18px; }
.ad-status-input { display: flex; }
.ad-status-input input { height: 43px; padding: 0 11px; border-radius: 7px 0 0 7px; }
.ad-status-input button { width: 45px; flex: 0 0 45px; border: 0; border-radius: 0 7px 7px 0; color: #fff; background: var(--ad-green); cursor: pointer; }
.ad-status-result { margin-top: 13px; font-size: 11.5px; line-height: 1.5; }
.ad-status-result.success { padding: 12px; color: #24452e; background: var(--ad-green-light); border-radius: 7px; }
.ad-status-result.error { color: var(--ad-danger); }
.ad-status-badge { display: inline-block; margin: 3px 0 5px; padding: 4px 8px; border-radius: 20px; color: #fff; background: var(--ad-green); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.ad-public-update { margin-top: 9px; padding-top: 9px; border-top: 1px solid #cfe1d3; color: #405849; }
.ad-public-update strong, .ad-public-update span, .ad-public-update small { display: block; }
.ad-public-update span { margin-top: 4px; white-space: pre-line; }
.ad-public-update small { margin-top: 6px; color: #6f8074; font-size: 9.5px; }
.ad-emergency-note { display: flex; gap: 9px; color: #69766d; font-size: 10.5px; line-height: 1.55; }
.ad-emergency-note i { margin-top: 2px; color: #b77b16; }
.ad-footer { min-height: 64px; padding: 17px 24px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 18px; color: #8bad95; background: #071e0d; font-size: 10.5px; }
.ad-footer a { color: #f0d85b; }

@media (max-width: 860px) {
  .ad-layout { grid-template-columns: 1fr; }
  .ad-sidebar { grid-template-columns: 1fr 1fr; }
  .ad-emergency-note { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .ad-header-inner { min-height: 74px; padding: 9px 16px; }
  .ad-brand img { width: 50px; height: 50px; }
  .ad-brand strong { font-size: 14px; }
  .ad-brand small { font-size: 9px; }
  .ad-home-link { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; font-size: 0; }
  .ad-home-link i { font-size: 13px; }
  .ad-intro-inner { padding: 38px 18px 47px; }
  .ad-intro > .ad-intro-inner > p { font-size: 13.5px; }
  .ad-trust-row { display: grid; gap: 8px; }
  .ad-layout { margin-top: -19px; padding: 0 12px; }
  .ad-form-card { padding: 23px 17px; border-radius: 11px; }
  .ad-form-grid, .ad-sidebar { grid-template-columns: 1fr; }
  .ad-field.ad-full, .ad-emergency-note { grid-column: auto; }
  .ad-reference { align-items: stretch; flex-direction: column; padding: 13px; }
  .ad-reference button { min-height: 37px; }
}
/* Checkbox groups remain easy to select on mobile. */
.ad-page .ad-choices { border: 1px solid #cbd5e1; padding: 14px; border-radius: 8px; margin: 12px 0; }
.ad-page .ad-choices legend { font-size: 14px; padding: 0 4px; }
.ad-page .ad-choices label { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; cursor: pointer; font-size: 13px; }
.ad-page .ad-choices input[type="checkbox"] { width: 18px; height: 18px; flex: 0 0 18px; margin: 2px 0 0; }
.ad-page .ad-choices label span { color: #243b30; }
.ad-page [hidden] { display: none !important; }
#attachment-help { font-size: 12px; line-height: 1.6; margin: 8px 0 18px; color: #475569; }
