/* Condensed Recovu app UI tokens + components for phone mocks */

.phone-app {
  --color-dq-primary: #ff781f;
  --color-dq-page: #f8f7f5;
  --color-dq-text: #181410;
  --color-dq-muted: #4d4d4d;
  --color-dq-card: #ffffff;
  --color-dq-border: rgba(0, 0, 0, 0.06);
  --color-dq-surface: #f1f5f9;
  --color-brand-orange: #ff6600;
  --shadow-dq: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-dq-footer: 0 -4px 10px rgba(0, 0, 0, 0.05);
  --dq-input-border: rgba(15, 23, 42, 0.14);
  --page-gutter: 1rem;
  --page-max-width: 32.5rem;
  --vr-1: 0.5rem;
  --vr-2: 1rem;

  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--color-dq-page);
  color: var(--color-dq-text);
  font-family: 'Manrope', system-ui, sans-serif;
  overflow: hidden;
  text-align: left;
}

.phone-app .material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 650, 'GRAD' 0, 'opsz' 24;
  -webkit-font-smoothing: antialiased;
}

.phone-app .material-symbols-outlined.filled {
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 20;
}

/* Header */
.phone-app .jobs-header {
  flex-shrink: 0;
  border-bottom: 1px solid rgba(10, 25, 47, 0.1);
  background: #fff;
  box-shadow: 0 1px 3px rgba(10, 25, 47, 0.06);
}

.phone-app .jobs-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 0;
  padding: 15px 0.75rem;
}

.phone-app .jobs-header__spacer,
.phone-app .jobs-header__actions {
  display: flex;
  width: 2rem;
  flex-shrink: 0;
}

.phone-app .jobs-header__actions {
  justify-content: flex-end;
}

.phone-app .jobs-header__settings {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  color: rgba(10, 25, 47, 0.5);
}

.phone-app .jobs-header__settings .material-symbols-outlined {
  font-size: 1.15rem;
}

.phone-app .jobs-header__brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.phone-app .jobs-header__logo {
  display: block;
  height: 1.1rem;
  width: auto;
}

/* Main */
.phone-app .jobs-main {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 0.65rem 0.75rem 0;
  display: flex;
  flex-direction: column;
}

.phone-app .jobs-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.phone-app .page-heading {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--color-dq-text);
}

.phone-app .recovery-alerts-button {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  height: 2rem;
  padding: 0 0.55rem 0 0.45rem;
  border: none;
  border-radius: 0.65rem;
  background: transparent;
  color: rgba(10, 25, 47, 0.5);
  font-family: inherit;
}

.phone-app .recovery-alerts-button--active {
  color: var(--color-brand-orange);
}

.phone-app .recovery-alerts-button .material-symbols-outlined {
  font-size: 1rem;
}

.phone-app .recovery-alerts-button__label {
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
}

.phone-app .jobs-controls {
  margin-bottom: 0.65rem;
}

.phone-app .jobs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.phone-app .jobs-toolbar__control,
.phone-app .jobs-toolbar__filter {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 1.85rem;
  padding: 0 0.55rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-dq);
  color: var(--color-dq-text);
  font-family: inherit;
  flex-shrink: 0;
  white-space: nowrap;
}

.phone-app .jobs-toolbar__filter--active {
  border-color: rgba(255, 120, 31, 0.35);
  background: #fff;
  color: var(--color-dq-primary);
  box-shadow: var(--shadow-dq);
}

.phone-app .jobs-toolbar__label {
  font-size: 0.6rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.4);
}

.phone-app .jobs-toolbar__value {
  font-size: 0.7rem;
  font-weight: 900;
}

.phone-app .jobs-toolbar__chevron,
.phone-app .jobs-toolbar__filter .material-symbols-outlined {
  font-size: 1rem;
  opacity: 0.78;
}

.phone-app .jobs-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  overflow: hidden;
}

/* Job cards */
.phone-app .jobs-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: var(--shadow-dq);
  padding-left: 1.85rem;
}

.phone-app .jobs-card--recovery {
  --jobs-card-rail-color: #ff781f;
  --jobs-card-rail-bg: rgba(255, 120, 31, 0.08);
}

.phone-app .jobs-card--jump-start {
  --jobs-card-rail-color: #2b7fd4;
  --jobs-card-rail-bg: rgba(43, 127, 212, 0.08);
}

.phone-app .jobs-card--closed {
  --jobs-card-rail-color: rgba(0, 0, 0, 0.42);
  --jobs-card-rail-bg: rgba(0, 0, 0, 0.06);
  --jobs-card-body-muted: rgba(0, 0, 0, 0.45);
}

.phone-app .jobs-card--closed .jobs-card__title,
.phone-app .jobs-card--closed .jobs-card__time,
.phone-app .jobs-card--closed .jobs-journey__label,
.phone-app .jobs-card--closed .jobs-journey__postcode,
.phone-app .jobs-card--closed .jobs-meta-tag {
  color: var(--jobs-card-body-muted);
}

.phone-app .jobs-card--closed .jobs-meta-tag__icon {
  color: var(--jobs-card-body-muted);
}

.phone-app .jobs-card--closed .jobs-journey__icon--pickup {
  opacity: 0.45;
}

.phone-app .jobs-card--closed .jobs-journey__icon--dropoff {
  color: var(--jobs-card-body-muted);
}

.phone-app .jobs-card--closed .jobs-card__brand-logo {
  opacity: 0.55;
}

.phone-app .jobs-card__type-rail {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 1.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: var(--jobs-card-rail-bg);
  color: var(--jobs-card-rail-color);
  border-right: 1px solid rgba(0, 0, 0, 0.04);
}

.phone-app .jobs-card__type-rail .material-symbols-outlined {
  font-size: 16px;
  font-variation-settings: 'FILL' 1, 'wght' 600, 'opsz' 20;
}

.phone-app .jobs-card__type-rail-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}

.phone-app .jobs-card__section {
  padding: 0.7rem 0.75rem;
}

.phone-app .jobs-card__section--journey {
  position: relative;
}

.phone-app .jobs-card__divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
}

.phone-app .jobs-card__header {
  display: flex;
  align-items: stretch;
  gap: 0.55rem;
}

.phone-app .jobs-card__brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.45rem;
  background: #f1f5f9;
  overflow: hidden;
}

.phone-app .jobs-card__brand-logo img {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
  display: block;
}

.phone-app .jobs-card__header-content {
  flex: 1;
  min-width: 0;
}

.phone-app .jobs-card__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.phone-app .jobs-card__title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.phone-app .jobs-card__time {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.phone-app .jobs-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.4rem;
}

.phone-app .jobs-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.2;
}

.phone-app .jobs-meta-tag__icon {
  font-size: 0.75rem;
  font-variation-settings: 'wght' 700;
}

.phone-app .jobs-meta-tag--can-roll {
  background: #e8f5ec;
  color: #1f5a32;
}

.phone-app .jobs-meta-tag--no-roll {
  background: #fbeaea;
  color: #a73535;
}

.phone-app .jobs-meta-tag--passengers,
.phone-app .jobs-meta-tag--neutral {
  background: #eef0f4;
  color: #3d4654;
}

.phone-app .jobs-journey__stops {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.phone-app .jobs-journey__stops--single {
  grid-template-columns: 1fr;
}

.phone-app .jobs-journey__stop {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.phone-app .jobs-journey__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.phone-app .jobs-journey__icon--pickup {
  border-radius: 50%;
  border: 2px solid #ffb07a;
  background: #ffe8d6;
}

.phone-app .jobs-journey__icon--dropoff {
  color: var(--color-dq-muted);
}

.phone-app .jobs-journey__icon--dropoff .material-symbols-outlined {
  font-size: 0.85rem;
}

.phone-app .jobs-journey__label {
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
}

.phone-app .jobs-journey__postcode {
  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-dq-text);
}

/* Bottom nav */
.phone-app .bottom-nav {
  flex-shrink: 0;
  border-top: 1px solid rgba(10, 25, 47, 0.1);
  background: #fff;
}

.phone-app .bottom-nav__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 3.25rem;
  padding: 0.25rem 0.35rem 0.4rem;
}

.phone-app .bottom-nav__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  border: none;
  background: transparent;
  color: rgba(10, 25, 47, 0.45);
  font-family: inherit;
  border-radius: 0.65rem;
}

.phone-app .bottom-nav__tab .material-symbols-outlined {
  font-size: 1.2rem;
}

.phone-app .bottom-nav__tab--active {
  color: var(--color-brand-orange);
  background: rgba(255, 102, 0, 0.08);
}

.phone-app .bottom-nav__tab--active .material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 650, 'GRAD' 0, 'opsz' 24;
}

.phone-app .bottom-nav__label {
  font-size: 0.58rem;
  font-weight: 800;
}

/* Nearby */
.phone-app .nearby-body {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-app .nearby-map {
  position: relative;
  flex: 1;
  min-height: 0;
  background:
    linear-gradient(180deg, rgba(248, 247, 245, 0.08), rgba(248, 247, 245, 0.35)),
    url('/drivers/assets/nearby-map.png') center / cover no-repeat;
}

.phone-app .nearby-marker {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  border: none;
  background: transparent;
  padding: 0;
  font-family: inherit;
  transform: translate(-50%, -100%);
}

.phone-app .nearby-marker__pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 2px solid var(--nearby-marker-color, #ff781f);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(10, 25, 47, 0.14);
  color: var(--nearby-marker-color, #ff781f);
}

.phone-app .nearby-marker__pin .material-symbols-outlined {
  font-size: 1rem;
  font-variation-settings: 'FILL' 1, 'wght' 600, 'opsz' 20;
}

.phone-app .nearby-marker__distance {
  padding: 0.1rem 0.35rem;
  border-radius: 0.35rem;
  background: #fff;
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.1);
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--color-dq-text);
}

.phone-app .nearby-marker--tow {
  --nearby-marker-color: #ff781f;
}

.phone-app .nearby-marker--jump {
  --nearby-marker-color: #2b7fd4;
}

.phone-app .nearby-marker--selected .nearby-marker__pin {
  box-shadow:
    0 0 0 4px rgba(255, 120, 31, 0.18),
    0 10px 22px rgba(10, 25, 47, 0.16);
}

.phone-app .nearby-user-marker {
  position: absolute;
  width: 0.85rem;
  height: 0.85rem;
  transform: translate(-50%, -50%);
}

.phone-app .nearby-user-marker__dot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #2b7fd4;
  border: 2px solid #fff;
  box-shadow: 0 0 0 4px rgba(43, 127, 212, 0.22);
}

.phone-app .nearby-job-sheet__card {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  padding: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 16px 40px rgba(10, 25, 47, 0.18);
}

.phone-app .nearby-job-sheet__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.phone-app .nearby-job-sheet__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
}

.phone-app .nearby-job-sheet__type {
  flex-shrink: 0;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
}

.phone-app .nearby-job-sheet__type--tow {
  background: rgba(255, 120, 31, 0.1);
  color: #ff781f;
}

.phone-app .nearby-job-sheet__meta {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-dq-muted);
}

.phone-app .nearby-job-sheet__locations {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.phone-app .nearby-job-sheet__location-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
}

.phone-app .nearby-job-sheet__location-value {
  margin: 0.1rem 0 0;
  font-size: 0.85rem;
  font-weight: 700;
}

.phone-app .nearby-job-sheet__action {
  width: 100%;
  margin-top: 0.75rem;
  min-height: 2.35rem;
  border: none;
  border-radius: 0.85rem;
  background: var(--color-dq-primary);
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(255, 120, 31, 0.18);
}

.phone-app .nearby-filters-bar {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}

/* Alerts panel mock */
.phone-app .alerts-panel {
  margin: 0.25rem 0 0.65rem;
  padding: 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 120, 31, 0.2);
  background: linear-gradient(180deg, rgba(255, 120, 31, 0.1), rgba(255, 120, 31, 0.04));
}

.phone-app .alerts-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.phone-app .alerts-panel__title {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 900;
}

.phone-app .alerts-panel__status {
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 120, 31, 0.14);
  color: var(--color-dq-primary);
}

.phone-app .alerts-panel__body {
  margin: 0.45rem 0 0;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-dq-muted);
}


/* —— Hero demo: feed → scroll → drawer → detail scroll → quote (12.5s) —— */
.phone-app.hero-demo {
  --hero-demo-duration: 12.5s;
  --hero-demo-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: absolute;
  inset: 0;
}

.phone-app .hero-demo__feed {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--color-dq-page);
}

.phone-app .hero-demo__feed-viewport {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 0.65rem 0.75rem 0;
}

.phone-app .hero-demo__feed-track {
  will-change: transform;
  animation: hero-demo-feed-scroll var(--hero-demo-duration) var(--hero-demo-ease) infinite;
}

.phone-app .hero-demo__target-card {
  animation: hero-demo-card-press var(--hero-demo-duration) var(--hero-demo-ease) infinite;
}

.phone-app .job-detail-drawer__header {
  flex-shrink: 0;
  border-bottom: 1px solid rgba(10, 25, 47, 0.1);
  background: #fff;
  box-shadow: 0 1px 3px rgba(10, 25, 47, 0.06);
}

.phone-app .job-detail-drawer__header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.85rem;
  padding: 0.55rem 0.75rem;
}

.phone-app .job-detail-drawer__header .jobs-header__brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.phone-app .job-detail-drawer__back,
.phone-app .job-detail-drawer__share {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(10, 25, 47, 0.7);
}

.phone-app .job-detail-drawer__back .material-symbols-outlined,
.phone-app .job-detail-drawer__share .material-symbols-outlined {
  font-size: 1.15rem;
  opacity: 0.8;
}

.phone-app .hero-demo__drawer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.phone-app .hero-demo__drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  animation: hero-demo-drawer-backdrop var(--hero-demo-duration) var(--hero-demo-ease) infinite;
}

.phone-app .hero-demo__drawer-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(105%);
  animation: hero-demo-drawer-panel var(--hero-demo-duration) var(--hero-demo-ease) infinite;
}

.phone-app .hero-demo__drawer-viewport,
.phone-app .job-detail-drawer__scroll {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 0.75rem 0.75rem 0.65rem;
}

.phone-app .hero-demo__drawer-track {
  will-change: transform;
  animation: hero-demo-drawer-scroll var(--hero-demo-duration) var(--hero-demo-ease) infinite;
}

.phone-app .job-detail-hero {
  padding: 0.2rem 0 0.75rem;
}

.phone-app .job-detail-hero__topline {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.phone-app .quote-card__brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  border: 1px solid var(--color-dq-border);
  background: var(--color-dq-surface);
  overflow: hidden;
}

.phone-app .job-detail-hero__brand-logo {
  width: 2.65rem;
  height: 2.65rem;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

.phone-app .job-detail-hero__brand-logo .quote-card__brand-logo-image {
  width: 1.7rem;
  height: 1.7rem;
  object-fit: contain;
  display: block;
}

.phone-app .job-detail-hero__copy {
  flex: 1;
  min-width: 0;
  padding-top: 0.1rem;
}

.phone-app .job-detail-hero__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--color-dq-text);
}

.phone-app .job-detail-hero__copy .jobs-meta-tags {
  margin-top: 0.4rem;
}

.phone-app .job-detail-section {
  margin-top: 0.55rem;
  padding: 0.75rem;
  border: 1px solid var(--color-dq-border);
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: var(--shadow-dq);
}

.phone-app .job-detail-section--journey {
  padding: 0.85rem 0.85rem 0.95rem;
  margin-bottom: 1.1rem;
}

.phone-app .job-detail-section__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.phone-app .job-detail-section--journey .job-detail-section__heading {
  margin-bottom: 0.75rem;
}

.phone-app .job-detail-section__heading h3 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--color-dq-text);
}

.phone-app .job-detail-section__maps-link {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  color: #1e70bf;
  text-decoration: none;
}

.phone-app .job-detail-journey-layout {
  display: flex;
  gap: 0.75rem;
}

.phone-app .job-detail-journey-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 0.85rem;
  flex-shrink: 0;
}

.phone-app .job-detail-journey-timeline__you {
  font-size: 0.85rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.38);
  font-variation-settings: 'FILL' 1, 'wght' 600, 'opsz' 20;
}

.phone-app .job-detail-journey-timeline__start {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid var(--color-dq-primary);
  border-radius: 999px;
}

.phone-app .job-detail-journey-timeline__start-inner {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--color-dq-primary);
}

.phone-app .job-detail-journey-timeline__line {
  width: 1px;
  flex: 1;
  min-height: 0.65rem;
  margin: 0.45rem 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.18) 0px,
    rgba(0, 0, 0, 0.18) 5px,
    transparent 5px,
    transparent 9px
  );
}

.phone-app .job-detail-journey-timeline__line--to-pickup {
  flex-grow: 0.75;
}

.phone-app .job-detail-journey-timeline__line--to-dropoff {
  flex-grow: 1.25;
}

.phone-app .job-detail-journey-timeline__end {
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.35);
  font-variation-settings: 'FILL' 1, 'wght' 600, 'opsz' 20;
}

.phone-app .job-detail-journey-rows {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.phone-app .job-detail-journey-rows__label {
  margin: 0 0 0.2rem;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.54);
}

.phone-app .job-detail-journey-rows__postcode {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--color-dq-text);
}

.phone-app .job-detail-journey-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.1rem 0;
}

.phone-app .job-detail-journey-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: var(--color-dq-surface);
  color: rgba(0, 0, 0, 0.62);
  font-size: 0.65rem;
  font-weight: 650;
  line-height: 1.2;
}

.phone-app .job-detail-journey-tag__icon {
  flex-shrink: 0;
  font-size: 0.78rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.42);
  font-variation-settings: 'wght' 600;
}

.phone-app .job-detail-list {
  margin: 0;
  display: grid;
  gap: 0;
}

.phone-app .job-detail-row {
  display: grid;
  grid-template-columns: minmax(4.5rem, 0.75fr) minmax(0, 1fr);
  gap: 0.55rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.phone-app .job-detail-row:last-child {
  border-bottom: none;
}

.phone-app .job-detail-row dt {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.44);
}

.phone-app .job-detail-row dd {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-dq-text);
  text-align: right;
}

.phone-app .job-detail-drawer__footer {
  flex-shrink: 0;
  padding: 0.65rem 0.75rem 0.75rem;
  border-top: 1px solid var(--color-dq-border);
  background: #fff;
  box-shadow: var(--shadow-dq-footer);
}

.phone-app .job-detail-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45rem;
}

.phone-app .job-detail-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  border-radius: 0.65rem;
  padding: 0 0.85rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  border: none;
  text-decoration: none;
}

.phone-app .job-detail-action--primary {
  background: var(--color-dq-primary);
  color: #fff;
  box-shadow: var(--shadow-dq);
}

.phone-app .job-detail-action--secondary {
  border: 2px solid var(--dq-input-border);
  background: #fff;
  box-shadow: var(--shadow-dq);
  color: var(--color-dq-text);
}

.phone-app .hero-demo__cta {
  animation: hero-demo-cta-pulse var(--hero-demo-duration) var(--hero-demo-ease) infinite;
}

.phone-app .hero-demo__quote {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.1rem 0.65rem 0.65rem;
  opacity: 0;
  pointer-events: none;
  animation: hero-demo-quote-in var(--hero-demo-duration) var(--hero-demo-ease) infinite;
}

.phone-app .job-quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.phone-app .job-quote-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--color-dq-border);
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: var(--shadow-dq);
  transform: translateY(0.85rem) scale(0.98);
  animation: hero-demo-quote-panel var(--hero-demo-duration) var(--hero-demo-ease) infinite;
}

.phone-app .job-quote-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.phone-app .job-quote-modal__header h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-dq-text);
}

.phone-app .job-quote-modal__close {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid var(--color-dq-border);
  border-radius: 0.55rem;
  background: #fff;
  color: var(--color-dq-text);
}

.phone-app .job-quote-modal__close .material-symbols-outlined {
  font-size: 1.05rem;
  opacity: 0.8;
}

.phone-app .job-quote-modal__group {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  border: none;
}

.phone-app .job-quote-modal__group + .job-quote-modal__group {
  margin-top: 0.15rem;
}

.phone-app .job-quote-modal__label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--color-dq-text);
}

.phone-app .job-quote-modal__price-field {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.35rem;
  padding: 0 0.85rem;
  border: 2px solid var(--dq-input-border);
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: var(--shadow-dq);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-dq-text);
}

.phone-app .hero-demo__price {
  letter-spacing: 0.02em;
  animation: hero-demo-price-type var(--hero-demo-duration) linear infinite;
}

.phone-app .job-quote-modal__time-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.phone-app .job-quote-modal__time-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  border: 2px solid var(--dq-input-border);
  border-radius: 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-dq-text);
  background: #fff;
  box-shadow: var(--shadow-dq);
}

.phone-app .job-quote-modal__time-option--selected {
  border-color: var(--color-dq-primary);
  background: rgba(255, 120, 31, 0.08);
}

.phone-app .job-quote-modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 2.35rem;
  border: none;
  border-radius: 0.65rem;
  background: var(--color-dq-primary);
  color: #fff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: var(--shadow-dq);
}

.phone-app .job-quote-modal__submit-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

/*
  12.5s beats:
  0–12%   pause on feed top
  12–28%  scroll feed
  28–34%  pause on Ford card / press
  34–42%  drawer slides up
  42–50%  pause on drawer top
  50–68%  scroll drawer details
  68–74%  pause on Send quote CTA
  74–82%  quote modal opens
  82–96%  pause on quote modal
  96–100% reset
*/
@keyframes hero-demo-feed-scroll {
  0%,
  12% {
    transform: translateY(0);
  }
  28%,
  96% {
    transform: translateY(-7.25rem);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes hero-demo-card-press {
  0%,
  28%,
  42%,
  100% {
    transform: scale(1);
    box-shadow: var(--shadow-dq);
  }
  32%,
  36% {
    transform: scale(0.985);
    box-shadow: 0 0 0 2px rgba(255, 120, 31, 0.35), var(--shadow-dq);
  }
}

@keyframes hero-demo-drawer-backdrop {
  0%,
  34% {
    opacity: 0;
  }
  42%,
  96% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes hero-demo-drawer-panel {
  0%,
  34% {
    transform: translateY(105%);
  }
  42%,
  96% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(105%);
  }
}

@keyframes hero-demo-drawer-scroll {
  0%,
  50% {
    transform: translateY(0);
  }
  68%,
  96% {
    transform: translateY(-9.5rem);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes hero-demo-cta-pulse {
  0%,
  68%,
  82%,
  100% {
    transform: scale(1);
    box-shadow: var(--shadow-dq);
  }
  71%,
  74% {
    transform: scale(1.03);
    box-shadow: 0 8px 22px rgba(255, 120, 31, 0.32);
  }
}

@keyframes hero-demo-quote-in {
  0%,
  74% {
    opacity: 0;
  }
  82%,
  96% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes hero-demo-quote-panel {
  0%,
  74% {
    transform: translateY(0.85rem) scale(0.98);
  }
  82%,
  96% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(0.5rem) scale(0.99);
  }
}

@keyframes hero-demo-price-type {
  0%,
  80% {
    opacity: 0;
  }
  84%,
  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-app .hero-demo__feed-track,
  .phone-app .hero-demo__target-card,
  .phone-app .hero-demo__drawer-backdrop,
  .phone-app .hero-demo__drawer-panel,
  .phone-app .hero-demo__drawer-track,
  .phone-app .hero-demo__cta,
  .phone-app .hero-demo__quote,
  .phone-app .job-quote-modal__panel,
  .phone-app .hero-demo__price {
    animation: none;
  }

  /* Static end-ish frame: drawer open + quote modal visible */
  .phone-app .hero-demo__feed-track {
    transform: translateY(-7.25rem);
  }

  .phone-app .hero-demo__drawer-backdrop {
    opacity: 1;
  }

  .phone-app .hero-demo__drawer-panel {
    transform: translateY(0);
  }

  .phone-app .hero-demo__drawer-track {
    transform: translateY(-5.5rem);
  }

  .phone-app .hero-demo__quote {
    opacity: 1;
  }

  .phone-app .job-quote-modal__panel {
    transform: translateY(0) scale(1);
  }

  .phone-app .hero-demo__price {
    opacity: 1;
  }
}
