.intro-with-graphic { align-items:center; }
.header-inner .brand-mark { display:inline-flex; align-items:center; }
.hero-copy { min-width:0; flex:1; }
.hero-visual { flex:0 0 302px; display:flex; flex-direction:column; align-items:center; gap:6px; }
.hero-visual .pill { font-size:10px; padding:5px 10px; }
.move-graphic { width:100%; }
.move-graphic>svg { display:block; width:100%; height:auto; overflow:visible; }
.state-outline path { stroke:var(--blue-ink); fill:var(--blue-tint); stroke-width:1.6; stroke-linejoin:round; }
.state-outline.destination path { stroke:var(--orange); fill:#ffe1cb; }
.move-orbit { fill:none; stroke:var(--line); stroke-width:1; }
.move-dot { fill:var(--orange); }
.move-road { fill:none; stroke:#9ba29e; stroke-width:1.7; stroke-linecap:round; stroke-dasharray:3 6; }
.move-road-arrow { fill:none; stroke:var(--orange); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.move-truck { fill:var(--paper); stroke:var(--orange-dark); stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.move-truck .truck-backdrop { stroke:none; fill:var(--paper); }
.move-truck circle { fill:var(--paper); stroke:var(--ink); }
.move-home { fill:none; stroke:var(--orange-dark); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.move-home .pin-backdrop { fill:var(--white); stroke:var(--orange); }
.state-caption { font:800 12px Montserrat,Arial,sans-serif; letter-spacing:1.5px; fill:var(--muted); }
.state-caption.arrival { fill:var(--orange-dark); }
.move-direction { font:600 7px Montserrat,Arial,sans-serif; letter-spacing:1.6px; fill:var(--muted); }
.route-pill .state-mini { width:30px; height:26px; fill:currentColor; stroke:none; }
.route-state { display:inline-flex; align-items:center; gap:7px; }
.route-pill .route-truck { width:22px; height:22px; opacity:.85; }
.process-sketch { display:block; width:118px; height:108px; margin:0 0 17px; color:var(--ink); }
.sketch-tint { fill:var(--tint); stroke:none; }
.sketch-accent { stroke:var(--orange); }
.explain-card .count { font-size:13px; margin-bottom:10px; letter-spacing:1.5px; }
@media(max-width:1020px) { .hero-visual { flex-basis:240px; } .hero-visual .pill { display:none; } }
@media(max-width:820px) { .hero-visual { flex-basis:200px; } }
@media(max-width:600px) {
  .intro-with-graphic { flex-direction:column; gap:15px; align-items:stretch; }
  .hero-visual { flex:auto; height:100px; }
  .move-graphic { width:220px; margin:auto; }
  .route-pill { gap:10px; max-width:100%; font-size:12px; }
  .route-state { gap:5px; }
  .route-pill .state-mini { width:24px; height:24px; }
  .process-sketch { float:right; width:90px; height:85px; margin:0 0 10px 15px; }
  .explain-card p { clear:both; }
}
@media screen {
  [data-theme="dark"] .state-outline path { fill:var(--blue-tint); stroke:var(--tropical-blue); }
  [data-theme="dark"] .state-outline.destination path { fill:#482f22; stroke:var(--orange); }
  [data-theme="dark"] .move-road { stroke:#75838d; }
}
@media print { .hero-visual,.process-sketch { display:none; } }

.referral-intro { display:grid; grid-template-columns:1.12fr 1fr; align-items:center; gap:clamp(32px,6vw,84px); }
.referral-copy h1 { max-width:15ch; font-size:clamp(38px,4.8vw,66px); line-height:1.05; }
.referral-copy>p:not(.eyebrow), .referral-explore p { color:var(--muted); line-height:1.65; }
.referral-copy>p:not(.eyebrow) { font-size:17px; max-width:52ch; margin:19px 0 24px; }
.referral-process { background:#20231f; color:#fff; padding:clamp(24px,3vw,38px); border-radius:var(--radius); }
.referral-process h2, .referral-explore h2 { font-size:clamp(22px,2.2vw,30px); line-height:1.2; }
.referral-process ol { padding:0 0 0 24px; margin:18px 0 0; }
.referral-process li { padding-left:6px; }
.referral-process li+li { margin-top:15px; }
.referral-process li::marker { color:#ff995d; font-weight:800; }
.referral-process h3 { font-size:16px; margin:0 0 3px; }
.referral-process p { font-size:14px; color:#d8dbd5; line-height:1.5; margin:0; }
.referral-explore { margin:32px 0 0; display:grid; grid-template-columns:minmax(0,1fr) minmax(190px,30%); align-items:center; gap:clamp(20px,4vw,56px); padding:clamp(22px,3vw,40px); }
.referral-explore p { max-width:66ch; margin:10px 0 14px; }
.referral-explore .text-btn { display:inline-flex; align-items:center; gap:8px; }
.referral-explore .text-btn svg { width:16px; height:16px; }
@media(max-width:760px) {
  .referral-intro { grid-template-columns:1fr; gap:24px; }
  .referral-copy h1 { max-width:19ch; }
}
@media(max-width:600px) {
  .referral-explore { grid-template-columns:1fr; gap:12px; }
  .referral-copy>p:not(.eyebrow) { font-size:15px; }
}

.how-page.content-page { max-width:1200px; }
.how-page .explain-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.match-agent { display:inline-flex; align-items:center; gap:6px; margin-top:13px; color:var(--orange-dark); font-weight:700; }
.match-agent svg { width:16px; height:16px; }
@media(max-width:1020px) { .how-page .explain-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .how-page .explain-grid { grid-template-columns:1fr; } }

/* Keep the native state menu and its keyboard behavior. */
.state-picker {
  position:relative;
  min-width:0;
  container:state-picker / inline-size;
}
.state-picker-mark {
  position:absolute;
  inset-inline-start:9px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  gap:5px;
  pointer-events:none;
}
.state-picker-mark .state-mini {
  width:27px;
  height:23px;
  fill:none;
  stroke:var(--orange);
  stroke-linejoin:round;
  stroke-linecap:round;
}
.state-picker-mark path { vector-effect:non-scaling-stroke; stroke-width:1.5px; }
.state-picker-code { display:none; }
body .state-picker:has(.state-mini) > select { padding-inline-start:43px; }
@container state-picker (max-width:185px) {
  .state-picker-mark { inset-inline-start:6px; }
  .state-picker-mark .state-mini { width:21px; height:20px; }
  body .state-picker:has(.state-mini) > select { padding-inline-start:32px; }
}
/* In the tightest columns show a postal abbreviation. The menu always lists full names. */
@media not (forced-colors:active) {
  @container state-picker (max-width:130px) {
    .state-picker-code { display:inline; color:var(--ink); font-weight:700; }
    body .state-picker:has(.state-mini) > select { color:transparent; }
    .state-picker select option { color:CanvasText; background:Canvas; }
  }
}
