/* AfriToGo Support — standalone; no framework, web fonts or external assets. */
:root {
  color-scheme: light;
  --orange: #F84803;
  --orange-hover: #D83F05;
  --ink: #111111;
  --white: #FFFFFF;
  --muted: #62656C;
  --border: #DDDFE3;
  --surface: #F7F7F8;
  --orange-soft: #FFF3ED;
  --error: #A52B15;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--surface); }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--orange-hover); text-underline-offset: 4px; }
p, h1, h2, h3 { margin: 0; }
svg { display: block; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.welcome :focus-visible { outline-color: var(--white); }
.sr-only, .honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.honeypot { pointer-events: none; }
body .honeypot input { width: 1px; height: 1px; min-height: 0; min-width: 0; padding: 0; margin: 0; border: 0; }
.skip-link { position: absolute; top: 8px; left: 8px; padding: 12px 16px; border-radius: 8px; background: var(--white); color: var(--ink); transform: translateY(-180%); z-index: 10; }
.skip-link:focus { transform: translateY(0); }
.support-layout { width: 100%; min-height: 100vh; }
.welcome { background: var(--ink); color: var(--white); border-top: 4px solid var(--orange); padding: 22px 20px 28px; position: relative; overflow: hidden; }
.welcome::after { content: ""; position: absolute; height: 180px; width: 180px; border: 1px solid rgba(248,72,3,.16); border-radius: 50%; right: -115px; top: 45px; pointer-events: none; }
.welcome-inner { position: relative; z-index: 1; }
.wordmark { display: inline-block; color: var(--orange); font-size: 30px; font-weight: 850; letter-spacing: -.04em; line-height: 1.2; text-decoration: none; }
.welcome-copy { margin-top: 25px; }
.eyebrow { display: none; align-items: center; gap: 10px; color: #C1C1C1; font-size: 11px; font-weight: 650; letter-spacing: .16em; }
.eyebrow-line { width: 22px; height: 2px; background: var(--orange); }
h1 { font-size: clamp(30px, 8.5vw, 38px); font-weight: 800; line-height: 1.12; letter-spacing: -.04em; }
.orange-rule { width: 45px; height: 3px; border-radius: 3px; background: var(--orange); margin: 15px 0; }
.welcome h2 { font-size: 21px; line-height: 1.3; font-weight: 650; letter-spacing: -.025em; }
.welcome-intro { color: #CDCDCD; font-size: 14px; line-height: 1.6; margin-top: 8px; max-width: 400px; }
.desktop-break { display: none; }
.support-art { display: none; }
.form-pane { min-width: 0; padding: 20px 14px 0; }
.form-shell { width: 100%; min-width: 0; }
.order-notice { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 10px; padding: 16px 14px; background: var(--orange-soft); border: 1px solid #F5D2C3; border-left: 3px solid var(--orange); border-radius: 12px; margin-bottom: 16px; }
.notice-icon { display: block; color: var(--orange-hover); padding-top: 1px; }
.notice-icon svg { width: 22px; height: 22px; }
.order-notice p { font-size: 13px; color: #49423E; line-height: 1.65; }
.order-notice strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 3px; }
.order-path { font-weight: 550; }
.form-card { padding: 24px 18px; border: 1px solid #E5E5E7; border-radius: 20px; background: var(--white); box-shadow: 0 5px 24px rgba(17,17,17,.035); }
.form-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 10px; padding-bottom: 21px; margin-bottom: 22px; border-bottom: 1px solid #EEEEEF; }
.section-kicker { display: block; font-size: 10px; letter-spacing: .1em; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.form-heading h2 { font-size: 25px; line-height: 1.2; font-weight: 760; letter-spacing: -.035em; }
.required-note { font-size: 11px; color: var(--muted); padding-bottom: 1px; }
.required-note span, .required { color: var(--orange-hover); }
.reset-fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.field-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.field { min-width: 0; }
.field label { display: block; font-size: 14px; font-weight: 650; margin: 0 0 7px; line-height: 1.5; }
.optional { font-weight: 400; font-size: 12px; color: var(--muted); }
input:not([type="file"]), select, textarea { display: block; width: 100%; min-width: 0; min-height: 49px; padding: 12px 13px; border: 1px solid #C9CDD3; border-radius: 10px; background: var(--white); color: var(--ink); font-size: 16px; line-height: 1.4; transition: border-color .15s ease, box-shadow .15s ease; }
input::placeholder, textarea::placeholder { color: #7A7F86; opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(248,72,3,.09); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 2px; }
select { padding-right: 30px; }
select:invalid { color: #727780; }
select option { color: var(--ink); }
textarea { min-height: 144px; resize: vertical; }
.topic-field, .request-details { margin-top: 20px; }
#contact-fields[hidden] + .topic-field { margin-top: 0; }
.field-hint { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 7px; }
.field-error { color: var(--error); margin: 7px 0 0; font-size: 13px; line-height: 1.5; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.route-notice { margin-top: 16px; padding: 20px 16px; border: 1px solid #F4C7B5; border-radius: 12px; background: #FFF8F5; }
.route-label { display: block; color: var(--orange-hover); font-size: 10px; letter-spacing: .07em; font-weight: 750; margin-bottom: 9px; }
.route-notice p { font-size: 14px; line-height: 1.65; margin: 0 0 15px; }
.route-notice h3 { font-size: 22px; line-height: 1.25; margin-bottom: 12px; letter-spacing: -.03em; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 10px; min-height: 50px; padding: 13px 18px; text-decoration: none; font-size: 19px; font-weight: 700; line-height: 1.3; transition: background .15s ease, border-color .15s ease; text-align: center; overflow-wrap: anywhere; }
.button--primary { color: var(--white); background: var(--orange); }
.button--route { color: var(--orange-hover); background: var(--white); border-color: #E5AD97; font-size: 14px; text-align: left; }
.button:disabled { cursor: wait; opacity: .65; }
.button--primary:hover:not(:disabled) { background: var(--orange-hover); }
.button--route:hover { background: var(--orange-soft); border-color: var(--orange-hover); }
.driver-notice { padding-top: 24px; padding-bottom: 26px; }
.driver-notice .button { width: 100%; }
.upload-field { margin-top: 22px; }
.upload-hint { color: var(--muted); font-size: 12px; margin: -2px 0 10px; }
.upload-zone { position: relative; border: 1px dashed #BCBFC6; border-radius: 12px; background: #FAFAFA; }
.upload-zone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; z-index: 1; cursor: pointer; }
.upload-zone:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.upload-zone.is-dragging { background: var(--orange-soft); border-color: var(--orange-hover); }
.upload-content { min-height: 90px; padding: 18px 14px; display: flex; align-items: center; gap: 12px; }
.upload-icon { color: var(--orange-hover); width: 26px; height: 26px; }
.upload-content strong { display: block; color: var(--ink); font-size: 13px; font-weight: 650; }
.upload-content div > span { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); }
.drag-copy { display: none; }
.upload-plus { margin-left: auto; font-size: 22px; color: var(--orange-hover); }
.file-formats { font-size: 11px; }
.file-list { list-style: none; margin: 0; padding: 0; }
.file-list:empty { display: none; }
.file-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #EEEEEF; }
.file-details { flex: 1; min-width: 0; }
.file-name { display: block; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.file-status { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.file-status.is-error { color: var(--error); }
.file-status.is-warning { color: #77512E; }
.file-remove { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; background: white; color: var(--ink); border: 1px solid var(--border); border-radius: 10px; font-size: 22px; }
.file-remove:hover:not(:disabled) { border-color: var(--orange-hover); color: var(--orange-hover); }
.form-actions { margin-top: 24px; padding-top: 22px; border-top: 1px solid #EEEEEF; }
.send-button { width: 100%; }
.submission-note { text-align: center; font-size: 11px; color: var(--muted); margin-top: 12px; }
.form-status { font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 12px; overflow-wrap: anywhere; }
.form-status:empty { display: none; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.5); border-top-color: white; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-summary, .no-script { margin: 20px 0 0; border: 1px solid #DBAA9D; border-left: 3px solid var(--error); background: #FFF5F2; padding: 16px; border-radius: 10px; color: var(--error); }
.error-summary h3 { font-size: 15px; margin: 0 0 7px; }
.error-summary ul { padding-left: 18px; margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.error-summary li + li { margin-top: 5px; }
.error-summary a { color: inherit; }
.support-hours { display: grid; grid-template-columns: 21px minmax(0,1fr); gap: 11px; padding: 22px 8px 0; }
.support-hours svg { color: var(--orange-hover); width: 21px; height: 21px; margin-top: 1px; }
.support-hours h2 { font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.support-hours p { font-size: 12px; color: var(--muted); line-height: 1.7; }
.page-footer { padding: 24px 0 calc(24px + env(safe-area-inset-bottom,0px)); text-align: center; color: var(--muted); font-size: 11px; }
.page-footer span { color: var(--orange-hover); font-weight: 650; }
.success-screen { text-align: center; padding: 18px 0 12px; }
.success-icon { display: grid; place-items: center; width: 68px; height: 68px; background: var(--orange-soft); color: var(--orange-hover); border-radius: 50%; margin: 0 auto 22px; }
.success-icon svg { width: 36px; height: 36px; }
.success-screen h2 { font-size: 29px; font-weight: 780; letter-spacing: -.04em; line-height: 1.2; margin: 10px 0 16px; overflow-wrap: anywhere; }
.success-screen p { color: var(--muted); font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.success-screen p strong { color: var(--ink); }
.success-screen .success-reference { font-size: 12px; margin-top: 13px; }
.success-screen .button { margin-top: 26px; width: 100%; }
.new-request { display: block; margin: 13px auto 0; min-height: 44px; background: transparent; border: 0; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); font-size: 13px; }
@media (min-width: 600px) {
  .welcome { padding: 28px 32px 34px; }
  .form-pane { padding: 24px 28px 0; }
  .form-card { padding: 30px; border-radius: 24px; }
  .field-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 16px; }
  .field--wide { grid-column: 1 / -1; }
  .drag-copy { display: inline; font-weight: 400; }
  .order-notice { padding: 18px 20px; }
  .form-heading h2 { font-size: 28px; }
}
@media (min-width: 1000px) {
  .support-layout { display: grid; grid-template-columns: minmax(330px, 37%) minmax(0, 1fr); align-items: stretch; }
  .welcome { border-top: 0; padding: 38px clamp(30px, 4vw, 70px); }
  .welcome::after { height: 500px; width: 500px; top: auto; bottom: -320px; right: -140px; border-color: rgba(248,72,3,.2); }
  .welcome-inner { position: sticky; top: 34px; }
  .wordmark { font-size: 35px; }
  .welcome-copy { margin-top: clamp(55px, 8vh, 86px); }
  .eyebrow { display: flex; margin-bottom: 22px; }
  h1 { font-size: clamp(48px, 4.45vw, 76px); line-height: 1.04; }
  h1 span { display: block; }
  .orange-rule { width: 64px; height: 4px; margin: 25px 0 30px; }
  .welcome h2 { font-size: clamp(25px, 2.25vw, 36px); line-height: 1.18; }
  .desktop-break { display: block; }
  .welcome-intro { font-size: 16px; line-height: 1.75; margin-top: 17px; max-width: 310px; }
  .support-art { display: block; color: var(--orange); margin-top: 44px; }
  .conversation-art { width: min(85%,270px); height: auto; }
  .support-art p { color: #B7B7B7; font-size: 12px; line-height: 1.65; margin-top: 15px; }
  .form-pane { padding: 32px clamp(24px, 3vw, 52px) 0; }
  .form-card { padding: clamp(26px, 2.7vw, 42px); }
  .order-notice { margin-bottom: 22px; }
  .form-heading { margin-bottom: 24px; }
  .support-hours { padding-top: 24px; }
}
@media (min-width: 1700px) {
  .support-layout { grid-template-columns: 35% minmax(0,1fr); }
  .welcome { padding-left: 5vw; padding-right: 4vw; }
  .form-pane { padding: 38px 5vw 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .button, .order-notice, .upload-zone, .form-card { border: 1px solid ButtonText; }
  .notice-icon, .upload-icon, .wordmark { color: LinkText; }
}
