/* Contact, driver application, and legal pages */
body:has(.utility-hero) { background: var(--brand-ink); }
.utility-hero { position: relative; isolation: isolate; display: flex; align-items: end; min-height: clamp(430px, 48vw, 660px); overflow: hidden; background: var(--brand-graphite); }
.utility-hero > img, .utility-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.utility-hero > img { z-index: -2; object-fit: cover; object-position: center 45%; }
.utility-hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(var(--brand-ink-rgb),.96), rgba(var(--brand-ink-rgb),.7) 45%, rgba(var(--brand-ink-rgb),.18)), linear-gradient(0deg, rgba(var(--brand-ink-rgb),.76), transparent 58%); }
.utility-hero-legal { min-height: clamp(355px, 35vw, 510px); }
.utility-hero-legal .utility-hero-shade { background: linear-gradient(90deg, rgba(var(--brand-ink-rgb),.92), rgba(var(--brand-ink-rgb),.5) 68%, rgba(var(--brand-ink-rgb),.28)), linear-gradient(0deg, rgba(var(--brand-ink-rgb),.65), transparent 70%); }
.utility-hero-content { padding-top: 180px; padding-bottom: clamp(65px, 8vw, 118px); }
.utility-hero-content { animation: utility-entrance .7s .08s both; }
.utility-hero .eyebrow { color: var(--brand-yellow); }
.utility-hero h1 { max-width: 850px; margin-top: 20px; font-size: clamp(3.25rem, 5.8vw, 6.6rem); line-height: 1.04; text-wrap: balance; }
.utility-hero-content > p:last-child:not(.eyebrow) { max-width: 610px; margin-top: 23px; color: var(--brand-white); font-size: clamp(1rem, 1.2vw, 1.16rem); line-height: 1.7; }
@media (min-width: 900px) {
  .utility-hero { min-height: clamp(560px, calc(70svh + 60px), 780px); }
  .utility-hero-legal { min-height: clamp(470px, calc(55svh + 45px), 630px); }
  .utility-hero-content { padding-top: 230px; padding-bottom: 120px; }
  .utility-hero-legal .utility-hero-content { padding-bottom: 95px; }
}
.utility-section { padding: clamp(78px, 9vw, 138px) 0; color: var(--brand-white); }
.contact-section, .driver-section { background: var(--brand-graphite); }
.contact-grid, .driver-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(46px, 7vw, 118px); align-items: start; }
.contact-intro, .driver-intro { padding-top: 18px; }
.contact-intro h2, .driver-intro h2 { max-width: 600px; margin: 18px 0 23px; font-size: clamp(2.8rem, 4.5vw, 5.2rem); line-height: 1.08; }
.contact-intro > p:not(.eyebrow), .driver-intro > p:not(.eyebrow) { max-width: 520px; color: var(--brand-yellow); line-height: 1.8; }
.contact-methods { display: grid; margin-top: 58px; border-top: 1px solid rgba(var(--brand-yellow-rgb),.27); }
.contact-methods a { display: flex; align-items: center; gap: 18px; min-height: 92px; border-bottom: 1px solid rgba(var(--brand-yellow-rgb),.27); color: var(--brand-white); font-size: 1rem; font-weight: 700; overflow-wrap: anywhere; }
.contact-methods a > .icon:first-child { width: 23px; height: 23px; color: var(--brand-yellow); }
.contact-methods a > .icon:last-child { width: 18px; height: 18px; margin-left: auto; color: var(--brand-yellow); }
.contact-methods small { display: block; margin-bottom: 4px; color: var(--brand-yellow); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-intro .contact-note { margin-top: 27px; font-size: .84rem; }
.utility-form-panel { padding: clamp(27px, 3.6vw, 54px); border: 1px solid rgba(var(--brand-yellow-rgb),.23); border-radius: 14px; background: var(--brand-graphite); box-shadow: 0 28px 65px rgba(var(--brand-ink-rgb),.14); }
.utility-form-panel { animation: utility-entrance .7s .16s both; }
.form-heading { margin-bottom: 33px; padding-bottom: 28px; border-bottom: 1px solid rgba(var(--brand-yellow-rgb),.2); }
.form-heading > span { color: var(--brand-yellow); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.form-heading h2 { margin-top: 15px; font-size: clamp(2.1rem, 3vw, 3.25rem); }
.form-heading p { max-width: 520px; margin-top: 13px; color: var(--brand-yellow); font-size: .88rem; line-height: 1.65; }
.utility-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.form-field { display: grid; gap: 9px; min-width: 0; color: var(--brand-white); font-size: .81rem; font-weight: 700; }
.form-field-full, .utility-form .form-privacy, .utility-form > button, .utility-form .form-status { grid-column: 1 / -1; }
.form-field input, .form-field select, .form-field textarea { display: block; width: 100%; min-width: 0; min-height: 53px; padding: 12px 15px; border: 1px solid rgba(var(--brand-yellow-rgb),.36); border-radius: 7px; outline: 0; color: var(--brand-white); background: var(--brand-graphite); font-family: inherit; font-size: 16px; font-weight: 500; transition: border-color .2s, box-shadow .2s; }
.form-field textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--brand-muted); opacity: 1; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--brand-yellow); box-shadow: 0 0 0 3px rgba(var(--brand-yellow-rgb),.16); }
.form-field select { appearance: none; color: var(--brand-white); color-scheme: dark; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5 7.5 5 5 5-5' stroke='%23A9E5FB' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
.form-field select option { color: var(--brand-white); background: var(--brand-graphite); }
.form-field select option:checked { color: var(--brand-ink); background: var(--brand-yellow); }
.form-field input[type='date'] { color-scheme: dark; }
.utility-form > button { justify-self: start; margin-top: 9px; }
.form-privacy, .form-status { color: var(--brand-muted); font-size: .78rem; line-height: 1.65; }
.form-privacy a, .form-status a { color: var(--brand-yellow); text-decoration: underline; text-underline-offset: 3px; }
.form-status:empty { display: none; }
.driver-steps { display: grid; margin: 46px 0; border-top: 1px solid rgba(var(--brand-yellow-rgb),.25); }
.driver-steps > div { display: grid; grid-template-columns: 52px 1fr; gap: 2px 14px; padding: 17px 0; border-bottom: 1px solid rgba(var(--brand-yellow-rgb),.25); }
.driver-steps span { grid-row: span 2; color: var(--brand-yellow); font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.driver-steps strong { font-size: 1.02rem; }
.driver-steps p { color: var(--brand-yellow); font-size: .84rem; }
.driver-photo { overflow: hidden; border-radius: 9px; }
.driver-photo img { display: block; width: 100%; height: auto; }
.driver-form-panel { background: var(--brand-graphite); }
.driver-form .form-field:nth-child(5), .driver-form .form-field:nth-child(6) { grid-column: 1 / -1; }
.contact-faq { background: var(--brand-ink); }
.contact-faq .faq-layout { align-items: start; }
.contact-faq .faq-intro h2 { max-width: 500px; font-size: clamp(2.8rem, 4.5vw, 5rem); }
.contact-faq .faq-intro p:not(.eyebrow) { max-width: 460px; color: var(--brand-yellow); line-height: 1.75; }
.contact-faq-list { border-top: 1px solid rgba(var(--brand-yellow-rgb),.26); }
.contact-faq-list details { border-bottom: 1px solid rgba(var(--brand-yellow-rgb),.26); }
.contact-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; list-style: none; cursor: pointer; font-size: .98rem; font-weight: 700; }
.contact-faq-list summary::-webkit-details-marker { display: none; }
.contact-faq-list summary .icon { width: 19px; height: 19px; color: var(--brand-yellow); transition: transform .2s; }
.contact-faq-list details[open] summary .icon { transform: rotate(45deg); }
.contact-faq-list details > p { max-width: 680px; padding: 0 35px 24px 0; color: var(--brand-yellow); font-size: .91rem; line-height: 1.75; }
.legal-shell { padding: clamp(70px, 8vw, 120px) 0 130px; background: var(--brand-ink); }
.legal-layout { display: grid; grid-template-columns: minmax(190px,.3fr) minmax(0,1fr); gap: clamp(45px, 8vw, 150px); align-items: start; }
.legal-aside { position: sticky; top: 145px; display: grid; gap: 17px; color: var(--brand-muted); font-size: .82rem; }
.legal-aside a { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--brand-yellow); font-weight: 700; }
.legal-aside a .icon { width: 16px; height: 16px; }
.legal-content { max-width: 930px; }
.legal-section { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 22px; padding: 31px 0 37px; border-top: 1px solid rgba(var(--brand-yellow-rgb),.25); }
.legal-index { padding-top: 8px; color: var(--brand-yellow); font-size: .77rem; font-weight: 800; letter-spacing: .14em; }
.legal-section h2 { margin-bottom: 17px; font-size: clamp(1.65rem, 2.4vw, 2.55rem); line-height: 1.2; }
.legal-section p, .legal-section li { color: var(--brand-yellow); font-size: .93rem; line-height: 1.8; }
.legal-section p + p { margin-top: 14px; }
.legal-section ul { margin: 14px 0; padding-left: 21px; }
.legal-section li { padding-left: 7px; margin: 8px 0; }
.legal-section strong { color: var(--brand-white); font-weight: 700; }
.legal-section a, .legal-contact a { color: var(--brand-yellow); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-table-wrap { width: 100%; overflow-x: auto; }
.legal-section table { width: 100%; margin: 20px 0 13px; border-collapse: collapse; color: var(--brand-yellow-tint); font-size: .86rem; }
.legal-section caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.legal-section th, .legal-section td { width: 50%; padding: 13px 17px; border: 1px solid rgba(var(--brand-yellow-rgb),.2); text-align: left; }
.legal-section th { color: var(--brand-white); background: var(--brand-graphite); }
.legal-section tbody tr:nth-child(odd) { background: var(--brand-graphite); }
.legal-contact { padding: 35px 0 0 74px; border-top: 1px solid rgba(var(--brand-yellow-rgb),.25); }
.legal-contact h2 { margin-bottom: 11px; font-size: clamp(1.8rem, 2.5vw, 2.6rem); }
.legal-contact p { color: var(--brand-yellow); font-size: .91rem; }
@keyframes utility-entrance { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .utility-hero-content, .utility-form-panel { animation: none; } }
@media (max-width: 900px) {
  .contact-grid, .driver-grid, .legal-layout { grid-template-columns: 1fr; gap: 48px; }
  .legal-aside { position: static; padding-bottom: 25px; border-bottom: 1px solid rgba(var(--brand-yellow-rgb),.25); }
  .contact-intro, .driver-intro { padding-top: 0; }
}
@media (max-width: 620px) {
  .utility-hero { min-height: 0; align-items: end; }
  .utility-hero > img { position: absolute; height: 100%; object-position: 62% center; }
  .utility-hero-content { padding-top: 220px; padding-bottom: 62px; }
  .utility-hero h1 { font-size: clamp(2.75rem, 11.3vw, 4rem); }
  .utility-hero-legal .utility-hero-content { padding-top: 190px; padding-bottom: 52px; }
  .utility-section { padding: 75px 0; }
  .contact-methods { margin-top: 32px; }
  .utility-form-panel { padding: 25px 20px; }
  .utility-form { grid-template-columns: 1fr; gap: 17px; }
  .driver-form .form-field:nth-child(5), .driver-form .form-field:nth-child(6) { grid-column: auto; }
  .legal-shell { padding: 56px 0 90px; }
  .legal-section { grid-template-columns: 1fr; gap: 8px; }
  .legal-index { padding-top: 0; }
  .legal-contact { padding-left: 0; }
}
