/* Landing-page rules are scoped away from the recruitment overlay. */
.marketing {
  --market-section: clamp(80px, 9vw, 144px);
  --motion-fast: 120ms; --motion-standard: 180ms; --motion-interactive: 240ms;
  --motion-reveal: 350ms; --motion-feature: 450ms; --market-ease: cubic-bezier(.22, 1, .36, 1);
  --market-image-radius: 24px;
}
.marketing .wrap, .site-header .wrap, .marketing-footer .wrap {
  width: min(1280px, calc(100% - 2 * clamp(24px, 5.55vw, 120px)));
}
.marketing .section { padding-block: var(--market-section); }
.marketing h1, .marketing h2, .marketing h3 { text-wrap: balance; }
.marketing h1 { font-size: clamp(56px, 6vw, 80px); line-height: 1.1; font-weight: 500; letter-spacing: -.075em; }
.marketing h2 { font-size: clamp(38px, 4vw, 48px); line-height: 1.16; font-weight: 600; letter-spacing: -.058em; }
.marketing h1 span, .marketing h2 span { color: var(--text); }
.marketing h3 { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.035em; }
.marketing p { font-size: 16px; line-height: 1.55; }
.marketing .copy-large { max-width: 52ch; font-size: 18px; line-height: 1.56; }
.marketing .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; }
.marketing .note { font-size: 14px; }
.marketing .button, .site-header .button { border-radius: 100px; font-weight: 600; }
.marketing .button:active, .site-header .button:active { transform: scale(.98); }
.site-header .nav { min-height: 76px; }
.site-header .nav-center { gap: clamp(24px, 3vw, 48px); }
.editorial-hero, .marketing-split {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.editorial-hero { min-height: min(620px, 85vh); padding-block: 48px 80px; }
.editorial-hero-copy .copy-large { margin-top: 24px; }
.marketing .actions { align-items: center; gap: 12px 24px; margin-block: 32px 16px; }
.marketing .text-link { font-size: 15px; font-weight: 600; text-underline-offset: 5px; }
.marketing-photo { overflow: hidden; background: var(--n100); border-radius: var(--market-image-radius); }
.marketing-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-visual { aspect-ratio: 1.2; }
.hero-visual picture { display: block; height: 100%; }
.marketing .section-heading { margin-bottom: 40px; }
.marketing .section-heading p:last-child { max-width: 55ch; }
.marketing .centered { margin-inline: auto; text-align: center; }
.marketing .centered p:last-child { margin-inline: auto; }
.marketing-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.marketing-service { display: flex; flex-direction: column; padding: 0; background: transparent; }
.marketing-service .marketing-photo { aspect-ratio: 1.8; border-radius: 16px; }
.marketing-service img { transition: transform var(--motion-interactive) ease-out; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .marketing-service:hover img { transform: scale(1.03); } }
.marketing-service-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 16px 0 8px; }
.marketing-service .service-status { margin-bottom: 8px; font-size: 13px; color: var(--text); }
.marketing-service h3 + p { margin-block: 8px; }
.marketing-service .text-link { margin-top: auto; }
.marketing-service strong { font-weight: 600; color: var(--black); }
.marketing #about .marketing-split { grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); }

.marketing-values { margin: 32px 0 0; }
.marketing-values div { display: grid; gap: 8px 16px; grid-template-columns: minmax(108px, .4fr) minmax(0, 1fr); border-top: 1px solid var(--n300); padding: 12px 0; }
.marketing-values dt { font-weight: 650; }
.marketing-values dd { margin: 0; color: var(--text); }
.experience-grid { align-items: start; }
.marketing-steps { padding: 0; margin: 0; list-style: none; }
.marketing-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; border-top: 1px solid var(--n300); padding: 20px 0; }
.marketing-steps li span { color: var(--text); font-size: 14px; padding-top: 3px; }
.marketing-steps h3 + p { margin-top: 8px; }
.marketing .marketing-tracking { padding: clamp(20px, 4vw, 40px); border-radius: var(--market-image-radius); }
.marketing-tracking .tracking-note { margin-top: 16px; }
.experience-details { margin-top: 48px; border-top: 1px solid var(--n300); }
.join-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); }
.join-visual { aspect-ratio: 1.25; }
.join-grid .button { margin-top: 24px; }
.join-note { margin-top: 12px; }
.marketing-footer { border-top: 1px solid var(--n300); padding-block: 48px 24px; }
.marketing-footer .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
.marketing-footer .copyright { border-color: var(--n300); }
@keyframes market-appear { from { opacity: .35; transform: translateY(10px); } }
.editorial-hero-copy { animation: market-appear var(--motion-reveal) var(--market-ease); }
.hero-visual { animation: market-appear var(--motion-feature) var(--market-ease); }
.marketing .revealed { animation: market-appear var(--motion-reveal) var(--market-ease); }

@media (max-width: 1023px) {
  .site-header .nav-center { gap: 0; }
}
@media (max-width: 899px) {
  .marketing { --market-section: 72px; }
  .editorial-hero, .marketing-split, .marketing #about .marketing-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .editorial-hero { min-height: auto; padding-block: 44px 64px; }
  .hero-visual { aspect-ratio: 1.45; }
  .join-grid > :last-child { grid-row: 1; }
  .marketing-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .marketing { --market-section: 64px; }
  .marketing h1 { font-size: clamp(40px, 11vw, 46px); line-height: 1.15; }
  .marketing h2 { font-size: 34px; }
  .marketing .copy-large { font-size: 16px; }
  .editorial-hero { padding-block: 36px 56px; gap: 24px; }
  .marketing .actions { gap: 8px 16px; margin-block: 24px 12px; }
  .marketing .actions .button { min-height: 48px; }
  .marketing .section-heading { margin-bottom: 24px; }
  .marketing-services { grid-template-columns: 1fr; gap: 16px; }
  
  .marketing-service-copy { padding: 16px 0 4px; }
  .marketing-values div { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .editorial-hero-copy, .hero-visual, .marketing .revealed { animation: none; }
}



.marketing-footer .footer-grid { align-items: start; gap: 32px; }
.marketing-footer .footer-intro { max-width: 27ch; margin-top: 8px; line-height: 1.55; }
.marketing-footer .footer-grid > div:not(:first-child) { padding-top: 4px; }
.marketing-footer .footer-grid a:not(.wordmark) { width: fit-content; max-width: 100%; }
@media (max-width: 599px) {
  .marketing-footer .footer-grid { gap: 24px 16px; }
}

.editorial-hero { padding-block: 48px 64px; }
.hero-visual img { object-position: center 35%; }
.marketing .button { transition: background-color var(--motion-standard) ease-out, transform var(--motion-fast) ease-out; }
.marketing-values, .join-principles { margin-top: 24px; }
.join-principles div { padding-block: 10px; border-top: 1px solid var(--n300); }
.join-principles dt { font-weight: 600; }
.join-principles dd { margin: 2px 0 0; color: var(--text); line-height: 1.5; }
.join-visual img { object-position: center 28%; }

.market-sr, .concept-options input {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
}
.app-showcase {
  min-width: 0; padding: clamp(16px, 3vw, 32px);
  background: var(--n100); border-radius: var(--market-image-radius);
  display: grid; justify-items: center; gap: 16px;
}
.app-showcase figcaption { max-width: 38ch; text-align: center; font-size: 14px; color: var(--text); }
.concept-switch { width: 100%; min-inline-size: 0; margin: 0; border: 0; padding: 0; }
.concept-options { display: flex; max-width: 330px; margin: 0 auto 16px; gap: 4px; padding: 4px; border-radius: 14px; background: var(--n200); }
.concept-options label { flex: 1; min-width: 0; }
.concept-options span { display: grid; place-items: center; min-height: 44px; border-radius: 11px; font-size: 14px; font-weight: 600; cursor: pointer; }
.concept-options input:checked + span { background: var(--white); }
.concept-options input:focus-visible + span { outline: 2px solid var(--n500); outline-offset: -2px; }
.concept-device {
  max-width: 330px; min-height: 432px; margin-inline: auto; padding: 18px;
  border: 5px solid var(--black); border-radius: 32px; background: var(--white);
  box-shadow: 0 12px 24px rgb(0 0 0 / 8%);
}
.concept-screen { display: none; }
.concept-switch:has([value="home"]:checked) [data-concept="home"],
.concept-switch:has([value="booking"]:checked) [data-concept="booking"],
.concept-switch:has([value="tracking"]:checked) [data-concept="tracking"] { display: block; }
.marketing .concept-brand { font-size: 19px; font-weight: 800; letter-spacing: -.065em; color: var(--black); margin-bottom: 18px; }
.marketing .concept-screen h3 { font-size: 22px; }
.marketing .concept-kicker { font-size: 12px; margin-block: 12px 6px; }
.concept-feature { margin-block: 12px; background: var(--n100); border-radius: 16px; overflow: hidden; }
.concept-feature img { display: block; width: 100%; height: 80px; object-fit: cover; }
.concept-feature > div { padding: 8px 12px; }
.marketing .concept-feature p { font-size: 13px; }
.concept-action { display: grid; place-items: center; min-height: 48px; padding-inline: 12px; background: var(--black); color: var(--white); border-radius: 12px; font-size: 14px; font-weight: 600; }
.concept-services { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0; list-style: none; }
.concept-services li { background: var(--n100); border-radius: 8px; padding: 4px 8px; font-size: 12px; }
.concept-fields { margin-block: 16px; display: grid; gap: 8px; }
.concept-fields div { padding: 8px 12px; border: 1px solid var(--n500); border-radius: 12px; min-height: 56px; }
.concept-fields dt { font-size: 13px; font-weight: 600; }
.concept-fields dd { margin: 2px 0 0; font-size: 13px; color: var(--text); }

.tracking-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; flex-wrap: wrap; }
.tracking-heading .note { margin-top: 4px; }
.tracking-status { background: var(--success-bg); color: var(--success); font-size: 13px; font-weight: 650; padding: 4px 8px; border-radius: 8px; }
.milestones { padding: 0; margin: 16px 0 0; list-style: none; }
.milestones li { display: grid; gap: 2px; padding: 10px 12px; border-top: 1px solid var(--n300); font-size: 14px; font-weight: 600; }
.milestones small { color: var(--text); font-weight: 400; }
.milestones .delivered { background: var(--success-bg); }
.concept-device .milestones li { padding-inline: 8px; }
.experience-details details[open] > p { animation: market-appear 210ms ease-out; }
@media (max-width: 599px) {
  .editorial-hero { padding-block: 36px 56px; }
  .concept-device { min-height: 420px; padding: 12px; }
  .app-showcase { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .experience-details details[open] > p { animation: none; }
  .marketing .button:active { transform: none; }
}

@media (max-width: 1023px) {
  html:has(.site-header.menu-open) { overflow: hidden; }
  .site-header.menu-open { z-index: 10; }
  .site-header.menu-open .menu {
    position: fixed;
    z-index: 2;
    top: max(18px, env(safe-area-inset-top));
    right: max(24px, env(safe-area-inset-right));
    padding-inline: 8px;
    border-color: transparent;
    background: transparent;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
  }
  .site-header.menu-open .nav-links {
    position: fixed;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100dvh;
    max-height: none;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 24px;
    padding: max(84px, calc(env(safe-area-inset-top) + 72px)) max(24px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    background: rgb(0 0 0 / 76%);
    color: var(--white);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overscroll-behavior: contain;
    animation: mobile-menu-enter 180ms ease-out;
  }
  .site-header.menu-open .nav-center {
    align-items: flex-end;
    margin: auto 0 0;
    gap: 6px;
  }
  .site-header.menu-open .nav-center a {
    justify-content: flex-end;
    font-size: clamp(36px, 9vw, 60px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.065em;
  }
  .site-header.menu-open .nav-actions { margin: 0 0 auto; }
  .site-header.menu-open .nav-actions .button {
    margin: 0;
    background: var(--white);
    border-color: var(--white);
    color: var(--black);
  }
  .site-header.menu-open :focus-visible { outline-color: var(--white); }
  .site-header.menu-open .nav-actions .button:focus-visible { outline-offset: 4px; }
}
@keyframes mobile-menu-enter { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .site-header.menu-open .nav-links { animation: none; }
}

/* Shared landing-page polish */
.marketing .editorial-hero { gap: clamp(28px, 5vw, 80px); }
.marketing .hero-visual { border-radius: 24px; }
.marketing .hero-visual img { object-position: center 30%; }
.marketing .section-heading > p:last-child { margin-top: 18px; }
.marketing .secondary-pill { background: var(--white); color: var(--black); border-color: var(--n500); }
.marketing .secondary-pill:hover { background: var(--n100); border-color: var(--black); }
.marketing #parcel-service .service-status { font-weight: 650; color: var(--black); }
.marketing .service-status + h3 { margin-top: 2px; }
.marketing .app-showcase { box-shadow: inset 0 0 0 1px var(--n300); }
.marketing .concept-device { box-shadow: 0 14px 28px rgb(0 0 0 / 9%); }
.marketing .concept-screen { animation: concept-fade var(--motion-standard) ease-out; }
.marketing .milestones li { padding-block: 12px; }
.marketing .experience-details p { max-width: 68ch; }
.marketing-footer .footer-grid > div:not(:first-child) { align-content: start; }
@keyframes concept-fade { from { opacity: .55; } }
@media (min-width: 900px) {
  .marketing .editorial-hero { padding-block: 48px 72px; }
  .marketing .marketing-services { gap: 32px; }
}
@media (prefers-reduced-motion: no-preference) {
  .marketing .marketing-services > :nth-child(even).revealed { animation-delay: 45ms; }
  @supports (interpolate-size: allow-keywords) and (transition-behavior: allow-discrete) {
    .marketing .experience-details details { interpolate-size: allow-keywords; }
    .marketing .experience-details details::details-content {
      block-size: 0;
      opacity: 0;
      overflow: clip;
      transition: block-size var(--motion-interactive) ease, opacity var(--motion-standard) ease, content-visibility var(--motion-interactive) allow-discrete;
    }
    .marketing .experience-details details[open]::details-content { block-size: auto; opacity: 1; }
    .marketing .experience-details details[open] > p { animation: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .marketing .concept-screen { animation: none; }
}

.home-experience-grid { align-items: center; }
.marketing .home-experience-copy .section-heading { margin-bottom: 24px; }
.marketing .home-experience-copy .marketing-steps li { padding-block: 16px; }
@media (min-width: 900px) {
  .home-experience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); }
}

.marketing-footer .footer-upcoming { display: flex; flex-wrap: wrap; align-items: baseline; align-content: center; gap: 0 8px; min-height: 44px; font-size: 14px; }
.marketing-footer .footer-upcoming small { color: var(--text); }
