/*
 * Emergi signature landing presentation.
 *
 * This is the single visual owner for the public and native welcome surfaces.
 * Request, authentication, and session behavior remain in their existing
 * controllers. Every rule is scoped so the shared sign-in sheet and the native
 * intake flow keep their established ownership.
 */

html.em-signature-page {
  color-scheme: light;
  --em-snow: #fafbfc;
  --em-snow-raised: #ffffff;
  --em-ink: #0b1b2b;
  --em-vital: #e63946;
  --em-vital-strong: #cc2533;
  --em-vital-soft: rgba(230, 57, 70, 0.1);
  --em-action: #cc2533;
  --em-action-text: #ffffff;
  --em-slate: #55677a;
  --em-copy: #46586c;
  --em-line: #e4eaef;
  --em-line-strong: #c9d4de;
  --em-nav-bg: rgba(250, 251, 252, 0.88);
  --em-nav-bg-solid: rgba(250, 251, 252, 0.97);
  --em-provider: #0b1b2b;
  --em-provider-card: #12263a;
  --em-provider-line: #24384d;
  --em-provider-copy: #b8c6d4;
  --em-provider-accent: #ff8a93;
  --em-shadow: rgba(11, 27, 43, 0.11);
  --em-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--em-snow);
}

html.em-signature-page[data-customer-effective-theme="sunset"],
html.em-signature-page[data-theme="sunset"],
html.em-signature-page.theme-sunset {
  color-scheme: light;
  --em-snow: #fff8f2;
  --em-snow-raised: #fffdfb;
  --em-ink: #2b1720;
  --em-vital: #d94b58;
  --em-vital-strong: #bf3341;
  --em-vital-soft: rgba(217, 75, 88, 0.11);
  --em-action: #bf3341;
  --em-action-text: #ffffff;
  --em-slate: #776168;
  --em-copy: #68545b;
  --em-line: #eadbd5;
  --em-line-strong: #d6c0b8;
  --em-nav-bg: rgba(255, 248, 242, 0.88);
  --em-nav-bg-solid: rgba(255, 250, 247, 0.97);
  --em-provider: #2b1b2a;
  --em-provider-card: #3b2838;
  --em-provider-line: #594052;
  --em-provider-copy: #d9c7cf;
  --em-provider-accent: #ff9aa3;
  --em-shadow: rgba(73, 35, 47, 0.12);
}

html.em-signature-page.dark,
html.em-signature-page[data-customer-effective-theme="night"],
html.em-signature-page[data-theme="dark"],
html.em-signature-page[data-theme="night"],
html.em-signature-page.theme-night {
  color-scheme: dark;
  --em-snow: #08131f;
  --em-snow-raised: #102131;
  --em-ink: #f7fafc;
  --em-vital: #ff6673;
  --em-vital-strong: #ff7e89;
  --em-vital-soft: rgba(255, 102, 115, 0.13);
  --em-action: #ff7e89;
  --em-action-text: #08131f;
  --em-slate: #aab8c6;
  --em-copy: #bdc9d5;
  --em-line: #26384a;
  --em-line-strong: #40556a;
  --em-nav-bg: rgba(8, 19, 31, 0.86);
  --em-nav-bg-solid: rgba(8, 19, 31, 0.97);
  --em-provider: #050d16;
  --em-provider-card: #132638;
  --em-provider-line: #2b4054;
  --em-provider-copy: #b8c6d4;
  --em-provider-accent: #ff8e98;
  --em-shadow: rgba(0, 0, 0, 0.32);
}

html.em-signature-page,
html.em-signature-page body {
  min-height: 100%;
  margin: 0;
  background: var(--em-snow) !important;
  color: var(--em-ink) !important;
}

html.em-signature-page {
  scroll-behavior: smooth;
}

html.em-signature-page body {
  overflow-x: hidden;
  font-family: "IBM Plex Sans", var(--es-font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.em-landing,
.em-nav,
.em-footer {
  color: var(--em-ink);
  font-family: "IBM Plex Sans", var(--es-font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.em-landing *,
.em-landing *::before,
.em-landing *::after,
.em-nav *,
.em-nav *::before,
.em-nav *::after,
.em-footer *,
.em-footer *::before,
.em-footer *::after {
  box-sizing: border-box;
}

.em-landing button,
.em-nav button {
  font: inherit;
}

.em-landing a,
.em-nav a,
.em-footer a {
  color: inherit;
}

.em-landing [hidden] {
  display: none !important;
}

.em-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(24px, 5vw, 64px);
  border: 0 !important;
  border-bottom: 1px solid color-mix(in srgb, var(--em-line) 70%, transparent) !important;
  background: var(--em-nav-bg) !important;
  color: var(--em-ink) !important;
  opacity: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: emNavIn 0.8s var(--em-ease-out) 1.9s forwards;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.em-nav.is-scrolled {
  background: var(--em-nav-bg-solid) !important;
  box-shadow: 0 12px 32px var(--em-shadow);
}

.em-wordmark {
  flex: 0 0 auto;
  color: var(--em-ink) !important;
  font-family: "Sora", var(--es-font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}

.em-wordmark__dot {
  color: var(--em-vital);
}

.em-nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.em-nav__link {
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--em-copy) !important;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.em-nav__link:hover {
  color: var(--em-ink) !important;
}

.em-nav__cta,
.em-button-primary,
.em-button-secondary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  cursor: pointer;
  font-family: "IBM Plex Sans", var(--es-font-sans, sans-serif);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.25s var(--em-ease-out), box-shadow 0.25s var(--em-ease-out), border-color 0.25s var(--em-ease-out), background-color 0.25s var(--em-ease-out);
}

.em-nav__cta {
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid var(--em-action);
  background: var(--em-action);
  color: var(--em-action-text) !important;
  font-size: 14px;
}

.em-button-primary,
.em-button-secondary {
  min-width: 166px;
  padding: 0 34px;
  font-size: 16px;
}

.em-button-primary {
  border: 1px solid var(--em-action);
  background: var(--em-action);
  color: var(--em-action-text) !important;
}

.em-button-secondary {
  border: 1.5px solid var(--em-line-strong);
  background: var(--em-snow-raised);
  color: var(--em-ink) !important;
}

.em-nav__cta:hover,
.em-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--em-vital) 32%, transparent);
}

.em-button-secondary:hover {
  border-color: var(--em-ink);
  transform: translateY(-1px);
}

.em-nav :is(a, button):focus-visible,
.em-landing :is(a, button, input):focus-visible,
.em-footer a:focus-visible {
  outline: 2px solid var(--em-vital);
  outline-offset: 3px;
}

.em-hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 130px clamp(24px, 5vw, 64px) 150px;
  background: var(--em-snow);
}

.em-hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 1260px);
}

.em-eyebrow,
.em-side__tag {
  margin: 0;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.em-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--em-slate);
  opacity: 0;
  transform: translateY(12px);
  animation: emRise 0.9s var(--em-ease-out) 1.15s forwards;
}

.em-eyebrow::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--em-vital);
  content: "";
  animation: emBeat 1.6s ease-in-out 2.4s infinite;
}

.em-hero__title {
  max-width: 15ch;
  margin: 26px 0 0;
  color: var(--em-ink);
  font-family: "Sora", var(--es-font-sans, sans-serif);
  font-size: clamp(42px, 8.2vw, 104px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.em-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.em-word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: emWordUp 0.9s var(--em-ease-out) var(--em-delay, 0.45s) forwards;
}

.em-hero__title strong {
  color: var(--em-vital);
  font-style: normal;
  font-weight: 600;
}

.em-hero__sub {
  max-width: 50ch;
  margin: 30px 0 0;
  color: var(--em-copy);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
  opacity: 0;
  transform: translateY(12px);
  animation: emRise 0.9s var(--em-ease-out) 1.55s forwards;
}

.em-hero__actions,
.em-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.em-hero__actions {
  margin-top: 42px;
  opacity: 0;
  transform: translateY(12px);
  animation: emRise 0.9s var(--em-ease-out) 1.75s forwards;
}

.em-emergency-note {
  margin: 16px 0 0;
  color: var(--em-slate);
  font-size: 13px;
  line-height: 1.5;
  opacity: 0;
  animation: emRise 0.8s var(--em-ease-out) 1.9s forwards;
}

.em-emergency-note a {
  font-weight: 600;
}

.em-dispatch-route-wrap {
  position: absolute;
  right: 0;
  bottom: clamp(35px, 8vh, 82px);
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.em-dispatch-route {
  position: relative;
  height: 120px;
  margin-inline: clamp(28px, 5vw, 72px);
}

.em-dispatch-route__origin {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  border: 2px solid var(--em-vital);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 12px color-mix(in srgb, var(--em-vital) 24%, transparent);
}

.em-dispatch-route__origin::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--em-vital);
  content: "";
  transform: translate(-50%, -50%);
}

.em-dispatch-route__journey {
  position: absolute;
  top: 50%;
  right: 31px;
  left: 22px;
  height: 2px;
  transform: translateY(-50%);
}

.em-dispatch-route__track,
.em-dispatch-route__progress {
  position: absolute;
  inset: 0;
  border-radius: 999px;
}

.em-dispatch-route__track {
  background: repeating-linear-gradient(
    90deg,
    color-mix(in srgb, var(--em-vital) 58%, transparent) 0 5px,
    transparent 5px 11px
  );
}

.em-dispatch-route__progress {
  width: 0;
  background: var(--em-vital);
  box-shadow: 0 0 8px color-mix(in srgb, var(--em-vital) 28%, transparent);
  animation: emDispatchProgress 5.6s var(--em-ease-out) 0.45s infinite;
}

.em-dispatch-route__provider {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  border: 3px solid var(--em-ink);
  border-radius: 50%;
  background: var(--em-vital);
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--em-vital) 25%, transparent),
    0 0 15px color-mix(in srgb, var(--em-vital) 45%, transparent);
  opacity: 0;
  transform: translate(-50%, -50%);
  animation: emDispatchProvider 5.6s var(--em-ease-out) 0.45s infinite;
}

.em-dispatch-route__destination {
  position: absolute;
  top: 50%;
  right: 0;
  width: 24px;
  height: 28px;
  overflow: visible;
  fill: none;
  stroke: var(--em-vital);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  transform: translateY(-50%);
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--em-vital) 22%, transparent));
  animation: emDispatchArrival 5.6s ease-in-out 0.45s infinite;
}

.em-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 clamp(24px, 5vw, 64px);
  border-block: 1px solid var(--em-line);
  background: var(--em-snow);
}

.em-stat {
  padding: 44px 24px 44px 28px;
  border-inline-start: 1px solid var(--em-line);
}

.em-stat:first-child {
  padding-inline-start: 0;
  border-inline-start: 0;
}

.em-stat__num {
  color: var(--em-ink);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 500;
}

.em-stat__label {
  margin-top: 8px;
  color: var(--em-slate);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.em-side {
  width: min(100%, 1328px);
  margin: 0 auto;
  padding: clamp(80px, 12vh, 140px) clamp(24px, 5vw, 64px);
  background: var(--em-snow);
}

.em-side__tag {
  color: var(--em-vital);
}

.em-side__title {
  max-width: 22ch;
  margin: 18px 0 0;
  color: var(--em-ink);
  font-family: "Sora", var(--es-font-sans, sans-serif);
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.em-side__title strong {
  font-weight: 600;
}

.em-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 56px;
  border: 1px solid var(--em-line);
  background: var(--em-line);
}

.em-step {
  min-width: 0;
  padding: 38px 30px 46px;
  background: var(--em-snow-raised);
  transition: background-color 0.3s var(--em-ease-out), transform 0.3s var(--em-ease-out);
}

.em-step__tag {
  color: var(--em-vital);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.em-step h3 {
  margin: 16px 0 0;
  color: var(--em-ink);
  font-family: "Sora", var(--es-font-sans, sans-serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.em-step p {
  margin: 12px 0 0;
  color: var(--em-copy);
  font-size: 15px;
  line-height: 1.7;
}

.em-side__action {
  margin-top: 40px;
}

.em-provider-band {
  background: var(--em-provider);
  color: #f5f8fa;
}

.em-provider-band .em-side {
  background: transparent;
}

.em-provider-band .em-side__tag {
  color: var(--em-provider-accent);
}

.em-provider-band .em-side__title,
.em-provider-band .em-step h3 {
  color: #ffffff;
}

.em-provider-band .em-steps {
  border-color: var(--em-provider-line);
  background: var(--em-provider-line);
}

.em-provider-band .em-step {
  background: var(--em-provider-card);
}

.em-provider-band .em-step__tag {
  color: var(--em-provider-accent);
}

.em-provider-band .em-step p {
  color: var(--em-provider-copy);
}

.em-provider-band .em-button-secondary {
  border-color: color-mix(in srgb, #ffffff 30%, transparent);
  background: transparent;
  color: #ffffff !important;
}

.em-provider-band .em-button-secondary:hover {
  border-color: #ffffff;
}

.em-provider-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.em-provider-signin {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--em-provider-copy) !important;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.em-final {
  padding: clamp(90px, 14vh, 160px) clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--em-line);
  background: var(--em-snow);
  text-align: center;
}

.em-final__title {
  margin: 0;
  color: var(--em-ink);
  font-family: "Sora", var(--es-font-sans, sans-serif);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.em-final__title strong {
  color: var(--em-vital);
  font-weight: 600;
}

.em-final__copy {
  margin: 16px 0 0;
  color: var(--em-copy);
  font-size: 17px;
}

.em-final__actions {
  justify-content: center;
  margin-top: 42px;
}

.em-track-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--em-copy);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.em-request-panel {
  width: min(100%, 920px);
  margin: 52px auto 0;
  text-align: start;
  animation: emPanelIn 0.55s var(--em-ease-out) both;
}

.em-request-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--em-line);
  border-radius: 24px;
  background: var(--em-snow-raised);
  box-shadow: 0 26px 70px var(--em-shadow);
}

.em-request-card .request-card-head {
  margin-bottom: 26px;
}

.em-request-card .request-card-head strong {
  display: block;
  margin-top: 6px;
  color: var(--em-ink);
  font-family: "Sora", var(--es-font-sans, sans-serif);
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: -0.03em;
}

.em-request-card :is(.card-lbl, .request-field-label) {
  display: block;
  color: var(--em-slate);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.em-request-card .request-card-copy,
.em-request-card .card-note {
  margin: 9px 0 0;
  color: var(--em-copy);
  font-size: 14px;
  line-height: 1.55;
}

.em-request-card .landing-service-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 24px;
}

.em-request-card .landing-service-option {
  display: grid;
  min-width: 0;
  min-height: 74px;
  place-items: center;
  gap: 5px;
  padding: 10px 8px;
  border: 1px solid var(--em-line);
  border-radius: 14px;
  background: var(--em-snow);
  color: var(--em-copy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.em-request-card .landing-service-option svg {
  width: 27px;
  height: 27px;
}

.em-request-card .landing-service-option:hover {
  border-color: var(--em-line-strong);
  color: var(--em-ink);
  transform: translateY(-1px);
}

.em-request-card .landing-service-option[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--em-vital) 64%, var(--em-line));
  background: var(--em-vital-soft);
  color: var(--em-vital-strong);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--em-vital) 10%, transparent);
}

.em-request-card .request-location-label {
  display: block;
  margin-bottom: 10px;
}

.em-request-card .request-location {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 56px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--em-line-strong);
  border-radius: 14px;
  background: var(--em-snow);
  color: var(--em-slate);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.em-request-card .request-location:focus-within {
  border-color: var(--em-vital);
  box-shadow: 0 0 0 4px var(--em-vital-soft);
}

.em-request-card .request-location input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--em-ink);
  font: inherit;
}

.em-request-card .request-location input::placeholder {
  color: var(--em-slate);
  opacity: 0.78;
}

.em-request-card .hero-validation {
  min-height: 22px;
  padding-top: 7px;
  color: var(--em-vital-strong);
  font-size: 13px;
  line-height: 1.4;
}

.em-request-card .landing-request-cta {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 8px;
  border: 1px solid var(--em-action);
  border-radius: 999px;
  background: var(--em-action);
  color: var(--em-action-text);
  cursor: pointer;
  font-weight: 500;
  transition: transform 180ms var(--em-ease-out), box-shadow 180ms var(--em-ease-out);
}

.em-request-card .landing-request-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--em-vital) 28%, transparent);
}

.em-request-card .card-note {
  text-align: center;
}

.em-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(24px, 5vw, 64px) !important;
  border-top: 1px solid var(--em-line) !important;
  background: var(--em-snow) !important;
  color: var(--em-slate) !important;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.em-reveal {
  opacity: 1;
  transform: none;
}

.em-reveal.em-will-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--em-ease-out), transform 0.9s var(--em-ease-out);
}

.em-reveal.em-will-reveal.em-in {
  opacity: 1;
  transform: translateY(0);
}

.em-reveal[data-em-reveal-order="2"] {
  transition-delay: 0.1s;
}

.em-reveal[data-em-reveal-order="3"] {
  transition-delay: 0.2s;
}

.em-reveal[data-em-reveal-order="4"] {
  transition-delay: 0.3s;
}

html[data-em-signature-paused="true"] .em-landing *,
html[data-em-signature-paused="true"] .em-landing *::before,
html[data-em-signature-paused="true"] .em-nav,
html[data-em-signature-paused="true"] .em-nav * {
  animation-play-state: paused !important;
}

.em-landing--native {
  width: min(100%, 580px);
  margin: 0 auto;
  background: var(--em-snow);
}

.em-landing--native:not(.is-visible) .em-nav,
.em-landing--native:not(.is-visible) .em-hero *,
.em-landing--native:not(.is-visible) .em-hero *::before {
  animation-play-state: paused !important;
}

.em-landing--native .em-nav {
  right: auto;
  left: 50%;
  width: min(100%, 580px);
  min-height: calc(62px + var(--native-safe-top, 0px));
  padding: calc(10px + var(--native-safe-top, 0px)) calc(18px + var(--native-safe-right, 0px)) 10px calc(18px + var(--native-safe-left, 0px));
  transform: translateX(-50%);
}

.em-landing--native .em-nav__links {
  gap: 8px;
}

.em-landing--native .em-nav__link {
  min-height: 40px;
  padding: 0 8px;
  font-size: 13px;
}

.em-landing--native .em-nav__cta {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 13px;
}

.em-landing--native .em-hero {
  min-height: max(100svh, 720px);
  padding: calc(104px + var(--native-safe-top, 0px)) calc(24px + var(--native-safe-right, 0px)) 132px calc(24px + var(--native-safe-left, 0px));
}

.em-landing--native .em-hero__title {
  font-size: clamp(42px, 13vw, 66px);
}

.em-landing--native .em-hero__sub {
  max-width: 42ch;
}

.em-landing--native .em-button-primary,
.em-landing--native .em-button-secondary {
  min-width: 0;
}

.em-landing--native .em-stats {
  padding-inline: calc(24px + var(--native-safe-left, 0px)) calc(24px + var(--native-safe-right, 0px));
}

.em-landing--native .em-side,
.em-landing--native .em-final {
  padding-inline: calc(24px + var(--native-safe-left, 0px)) calc(24px + var(--native-safe-right, 0px));
}

.em-landing--native .em-final {
  padding-bottom: calc(clamp(90px, 14vh, 130px) + var(--native-safe-bottom, 0px));
}

.em-landing--native .em-footer {
  padding-right: calc(24px + var(--native-safe-right, 0px)) !important;
  padding-bottom: calc(26px + var(--native-safe-bottom, 0px)) !important;
  padding-left: calc(24px + var(--native-safe-left, 0px)) !important;
}

@media (hover: hover) {
  .em-step:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 820px) {
  .em-nav {
    gap: 12px;
  }

  .em-nav__links {
    gap: 10px;
  }

  .em-nav__link[href="#customers"],
  .em-nav__link[href="#how-it-works"],
  .em-nav__link[href="#providers"],
  .em-nav__link[href="#for-providers"] {
    display: none;
  }

  .em-steps {
    grid-template-columns: 1fr;
  }

  .em-request-card .landing-service-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .em-nav {
    min-height: 64px;
    padding: 11px 20px;
  }

  .em-wordmark {
    font-size: 19px;
  }

  .em-nav__link {
    font-size: 13px;
  }

  .em-nav__cta {
    padding-inline: 17px;
  }

  .em-hero {
    min-height: max(100svh, 680px);
    padding: 108px 24px 118px;
  }

  .em-hero__title {
    margin-top: 22px;
    font-size: clamp(42px, 13.4vw, 64px);
  }

  .em-hero__sub {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.58;
  }

  .em-hero__actions {
    margin-top: 32px;
  }

  .em-button-primary,
  .em-button-secondary {
    min-width: min(100%, 190px);
    min-height: 50px;
    padding-inline: 24px;
  }

  .em-dispatch-route-wrap {
    bottom: 18px;
  }

  .em-dispatch-route {
    height: 82px;
    margin-inline: 22px;
  }

  .em-stats {
    grid-template-columns: 1fr;
  }

  .em-stat {
    padding: 28px 0;
    border-block-start: 1px solid var(--em-line);
    border-inline-start: 0;
  }

  .em-stat:first-child {
    border-block-start: 0;
  }

  .em-side {
    padding-block: 76px;
  }

  .em-steps {
    margin-top: 40px;
  }

  .em-step {
    padding: 30px 24px 34px;
  }

  .em-final {
    padding-block: 88px;
  }

  .em-final__actions,
  .em-provider-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .em-final__actions .em-button-primary,
  .em-final__actions .em-button-secondary,
  .em-provider-actions .em-button-primary,
  .em-provider-actions .em-button-secondary {
    width: 100%;
  }

  .em-request-panel {
    margin-top: 38px;
  }

  .em-request-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .em-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .em-nav__link {
    display: none;
  }

  .em-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .em-hero__actions .em-button-primary,
  .em-hero__actions .em-button-secondary {
    width: 100%;
  }

  .em-request-card .landing-service-options {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-height: 720px) and (max-width: 720px) {
  .em-landing--native .em-hero {
    min-height: 700px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.em-signature-page {
    scroll-behavior: auto;
  }

  .em-landing *,
  .em-landing *::before,
  .em-landing *::after,
  .em-nav,
  .em-nav *,
  .em-footer * {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .em-nav,
  .em-eyebrow,
  .em-hero__sub,
  .em-hero__actions,
  .em-emergency-note,
  .em-reveal,
  .em-reveal.em-will-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .em-word > span {
    transform: none !important;
  }

  .em-dispatch-route__progress,
  .em-dispatch-route__provider,
  .em-dispatch-route__destination {
    animation: none !important;
  }

  .em-dispatch-route__progress {
    width: 58%;
    opacity: 1;
  }

  .em-dispatch-route__provider {
    left: 58%;
    opacity: 1;
  }
}

@keyframes emDispatchProgress {
  0%, 12% { width: 0; opacity: 0; }
  16% { width: 0; opacity: 1; }
  72%, 88% { width: 100%; opacity: 1; }
  94%, 100% { width: 100%; opacity: 0; }
}

@keyframes emDispatchProvider {
  0%, 12% { left: 0; opacity: 0; transform: translate(-50%, -50%) scale(0.72); }
  16% { left: 0; opacity: 1; transform: translate(-50%, -50%) scale(1); }
  72%, 88% { left: 100%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
  94%, 100% { left: 100%; opacity: 0; transform: translate(-50%, -50%) scale(0.72); }
}

@keyframes emDispatchArrival {
  0%, 62%, 100% { opacity: 0.72; transform: translateY(-50%) scale(1); }
  72%, 84% { opacity: 1; transform: translateY(-50%) scale(1.08); }
}

@keyframes emNavIn {
  to { opacity: 1; }
}

@keyframes emBeat {
  0%, 100% { opacity: 1; transform: scale(1); }
  12% { opacity: 0.75; transform: scale(1.45); }
  24% { opacity: 1; transform: scale(1); }
}

@keyframes emWordUp {
  to { transform: translateY(0); }
}

@keyframes emRise {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes emDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes emPanelIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
