/* Phone art direction. References and rationale: MOBILE_DIRECTION.md. */
@media (max-width: 700px) {
  :root {
    --gutter: 24px;
  }
  html {
    scroll-padding-top: 84px;
  }
  body {
    font-size: 16px;
  }
  /* Preserve the phone narrative when the desktop inventory strip moves. */
  main {
    display: flex;
    flex-direction: column;
  }
  .inventory-story {
    order: 1;
  }
  .request-story {
    order: 2;
  }
  .journey {
    order: 3;
  }
  .about {
    order: 4;
  }
  .closing {
    order: 5;
  }
  .wrap {
    width: calc(100% - 48px);
  }
  h2 {
    font-size: clamp(31px, 8.4vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.045em;
  }
  p {
    text-wrap: pretty;
  }
  .desktop-only,
  .desktop-copy {
    display: none;
  }
  .mobile-copy {
    display: block;
  }
  .reveal,
  .reveal.is-pending,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* The navigation and introduction share one quiet light surface. */
  .site-header,
  .site-header.is-fixed {
    position: fixed;
    background: var(--paper);
    color: var(--ink);
    border: 0;
    transition: none;
  }
  .nav-shell {
    height: 72px;
    padding-inline: 24px;
    gap: 12px;
  }
  .site-header .brand {
    width: clamp(130px, 38.5vw, 150px);
  }
  .desktop-nav {
    display: none;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-download {
    display: flex;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 4px;
    background: var(--ink);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
  }
  .nav-download:hover {
    background: #243744;
    color: var(--white);
  }
  .nav-download .nav-download-arrow {
    display: none;
  }
  .menu-toggle,
  .mobile-nav {
    display: none;
  }
  .site-header :focus-visible {
    outline-color: var(--teal);
  }

  /* A compact product introduction: typography, clear copy, direct downloads. */
  .hero {
    background: var(--paper);
    color: var(--ink);
    padding: 72px 0 0;
  }
  .hero-layout {
    display: block;
    min-height: 0;
  }
  .hero-copy {
    padding: 42px 0 48px;
    text-align: left;
  }
  .hero h1 {
    max-width: 480px;
    white-space: normal;
    font-size: clamp(54px, 15.2vw, 78px);
    line-height: 1.02;
    letter-spacing: -0.06em;
    font-weight: 500;
  }
  .hero h1 span {
    color: var(--ink);
  }
  .hero-description {
    max-width: 325px;
    margin: 25px 0 0;
    color: #52616d;
    font-size: 16px;
    line-height: 1.6;
  }
  .hero-actions {
    display: block;
    margin-top: 28px;
  }
  .hero-explore,
  .hero-product,
  .hero-foot,
  .perspective {
    display: none;
  }
  .hero-copy .powered {
    display: inline-flex;
    margin-top: 25px;
    font-size: 12px;
    line-height: 1.5;
    color: #52616d;
  }
  .hero-copy .powered strong {
    color: #263c4b;
  }
  .hero-copy .powered span {
    color: #52616d;
  }
  .hero :focus-visible {
    outline-color: var(--teal);
  }
  .store-options,
  .hero-actions .store-options,
  .closing .store-options {
    display: flex;
    width: 100%;
    max-width: 330px;
    margin-inline: auto;
    gap: 10px;
  }
  .store-options .store-link {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    align-items: center;
  }
  .store-options .play-link {
    flex: 1.12;
  }
  .hero-actions .store-options {
    margin-inline: 0;
  }
  .hero .store-status {
    color: #52616d;
  }
  .hero-actions .store-link img,
  .hero-actions .play-link img,
  .closing .store-link img,
  .closing .play-link img {
    width: 100%;
    height: auto;
  }

  /* Two useful ways to begin. Detail is available without filling every screen. */
  .inventory-story,
  .request-story {
    --section-link-color: var(--white);
    --section-link-line: var(--white);
    --section-link-hover: var(--white);
  }
  .inventory-story {
    background: var(--navy);
    color: var(--white);
    padding: 49px 0 0;
  }
  .inventory-layout {
    display: block;
  }
  .inventory-vehicle {
    display: none;
  }
  .inventory-story h2 {
    font-size: clamp(31px, 8.4vw, 38px);
    line-height: 1.1;
  }
  .inventory-content {
    display: block;
    margin: 0;
  }
  .inventory-summary {
    margin: 20px 0 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 340px;
  }
  .product-disclosure > summary {
    cursor: pointer;
  }
  .inventory-disclosure,
  .request-disclosure {
    margin-top: 25px;
    border-block: 1px solid #34414c;
  }
  .inventory-disclosure > summary,
  .request-disclosure > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--white);
  }
  .product-disclosure > summary::after {
    content: "+";
    flex: none;
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
    color: inherit;
  }
  .product-disclosure[open] > summary::after {
    content: "−";
  }
  .inventory-facts {
    display: block;
    margin: 0;
    padding: 0 0 15px;
    border: 0;
  }
  .inventory-facts > div,
  .inventory-facts > div:first-child,
  .inventory-facts > div:last-child {
    display: block;
    padding: 9px 0;
    border: 0;
  }
  .inventory-facts dt {
    max-width: none;
    font-size: 15px;
    line-height: 1.5;
    color: var(--white);
  }
  .inventory-facts dd {
    max-width: none;
    margin: 5px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
  }
  .inventory-download {
    margin-top: 18px;
  }
  .request-story {
    background: var(--navy);
    color: var(--white);
    padding: 42px 0 48px;
  }
  .request-layout {
    display: block;
    padding: 0;
    border: 0;
  }
  .request-copy {
    max-width: none;
  }
  .request-copy h2 {
    font-size: clamp(31px, 8.4vw, 38px);
    line-height: 1.1;
  }
  .request-copy > p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
    margin-top: 20px;
  }
  .request-details {
    margin: 0;
    padding-bottom: 14px;
  }
  .request-details > div {
    display: block;
    padding: 10px 0;
    border: 0;
  }
  .request-details dt {
    font-size: 15px;
    line-height: 1.5;
    color: var(--white);
  }
  .request-details dd {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
    margin: 4px 0 0;
  }
  .request-copy .text-link {
    margin-top: 18px;
    font-size: 14px;
    gap: 14px;
  }
  .request-product {
    display: none;
  }

  /* The real process, presented as an index visitors can open at their pace. */
  .journey {
    --section-link-color: var(--teal);
    --section-link-line: #b8cdd5;
    --section-link-hover: var(--ink);
    background: var(--paper);
    color: var(--ink);
    padding-top: 48px;
  }
  .journey h2 {
    font-size: clamp(31px, 8.4vw, 38px);
    line-height: 1.1;
  }
  .journey h2 span {
    color: var(--ink);
  }
  .journey-heading > p:last-child {
    position: static;
    font-size: 16px;
    color: #52616d;
    line-height: 1.7;
    margin-top: 20px;
  }
  .journey-heading > p br {
    display: none;
  }
  .journey-layout {
    display: block;
    padding-top: 29px;
  }
  .tracking-product,
  .mobile-timeline-link {
    display: none;
  }
  .process {
    width: 100%;
  }
  .process-title {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: #142531;
  }
  .process-heading > p:last-child {
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.65;
    color: #52616d;
    max-width: none;
  }
  .timeline {
    --timeline-marker-y: 29px;
    --timeline-fill: var(--teal);
    margin-top: 23px;
    padding: 0;
    border: 0;
  }
  .timeline li {
    display: block;
    padding: 0 0 0 22px;
    margin: 0;
    border: 0;
  }
  .timeline li:not(:last-child)::before {
    background: #a9bec9;
  }
  .timeline li::after {
    background: var(--teal);
    box-shadow: 0 0 0 3px var(--paper);
  }
  .timeline-stage {
    border-top: 1px solid #cad5dd;
  }
  .timeline li:last-child .timeline-stage {
    border-bottom: 1px solid #cad5dd;
  }
  .timeline-stage > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 57px;
    padding: 14px 0;
    gap: 20px;
    color: var(--ink);
  }
  .timeline h3 {
    font-size: 17px;
    line-height: 1.45;
    letter-spacing: -0.02em;
    color: #142531;
  }
  .timeline-stage > p {
    font-size: 15px;
    color: #52616d;
    line-height: 1.65;
    margin: 0;
    padding: 0 27px 18px 0;
  }
  .process-note {
    font-size: 13px;
    line-height: 1.75;
    margin-top: 22px;
    color: #52616d;
    border: 0;
    padding-top: 0;
  }
  .transparency-line {
    display: block;
    margin-top: 27px;
    padding: 25px 0 39px;
    border-color: #cad5dd;
  }
  .transparency-line > p {
    font-size: 24px;
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.04em;
  }
  .transparency-line > p span {
    margin-top: 8px;
    font-size: 15px;
    color: #52616d;
  }
  .transparency-line .text-link {
    margin-top: 10px;
    font-size: 14px;
    gap: 14px;
  }
  .journey :focus-visible {
    outline-color: var(--teal);
  }

  /* The company behind the app is a concise closing note. */
  .about {
    background: #e8edf0;
    padding: 34px 0 38px;
  }
  .about-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 23px;
  }
  .about-identity {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    border: 0;
    gap: 12px;
  }
  .about-identity img {
    width: 44px;
  }
  .about-identity > span {
    font-size: 14px;
    margin: 0;
  }
  .about-identity p {
    margin: 0 0 0 auto;
    font-size: 11px;
    letter-spacing: 0.02em;
  }
  .about-copy h2 {
    font-size: 28px;
    line-height: 1.15;
  }
  .about-copy > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.7;
    margin-top: 18px;
    color: #52616d;
  }
  .about-copy > p + p {
    display: none;
  }
  .about-copy .text-link {
    font-size: 14px;
    gap: 14px;
    margin-top: 16px;
  }

  .closing {
    padding: 45px 0 42px;
    background: var(--ink);
  }
  .closing-inner {
    align-items: center;
    text-align: center;
  }
  .closing-icon {
    display: block;
    width: 52px;
    height: 52px;
    margin: 0 0 23px;
    border-radius: 12px;
  }
  .closing h2 {
    font-size: clamp(32px, 8.6vw, 42px);
    line-height: 1.13;
  }
  .closing h2 span {
    color: var(--white);
  }
  .closing-inner > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.65;
    margin: 18px 0 25px;
    max-width: 280px;
  }
  .closing .availability {
    font-size: 12px;
    color: #9eafbc;
    margin-top: 15px;
  }
  .site-footer {
    padding-bottom: 0;
  }
  .footer-top {
    display: block;
    padding: 26px 0 10px;
  }
  .footer-top .brand {
    width: 119px;
  }
  .footer-identity p {
    font-size: 13px;
    line-height: 1.6;
    margin-top: 8px;
  }
  .footer-top nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column: auto;
    gap: 0 24px;
    justify-content: start;
    margin-top: 17px;
  }
  .footer-top nav a {
    display: flex;
    align-items: center;
    font-size: 14px;
    min-height: 44px;
  }
  .footer-bottom {
    display: block;
    padding: 8px 0 22px;
    font-size: 11px;
    line-height: 1.7;
  }
  .footer-bottom > span:last-child {
    display: none;
  }
}
