/* Phone landscape composition
   Tuned for modern 844-956px wide phones at 390-440px high. This layer is
   intentionally isolated from the approved portrait, iPad and desktop builds. */
@media (min-width: 640px) and (max-width: 980px) and (max-height: 500px) and (orientation: landscape) {
  :root {
    --phone-landscape-gutter: clamp(22px, 3.35vw, 32px);
    --phone-landscape-header: 58px;
  }

  html {
    scroll-padding-top: 76px;
  }

  body.v3-page {
    overflow-x: hidden;
  }

  .v3-page main > section,
  .v3-page #vehicles,
  .v3-page #calendar,
  .v3-page #vault,
  .v3-page #plans,
  .v3-page #faq,
  .v3-page #download {
    scroll-margin-top: 72px;
  }

  /* Header */
  .site-header.v3-header,
  .site-header.v3-header.is-scrolled,
  .site-header.v3-header.compact {
    grid-template-columns: minmax(112px, auto) minmax(0, 1fr) auto;
    width: calc(100% - 24px);
    height: var(--phone-landscape-header);
    margin-top: 8px;
    padding: 0 8px 0 14px;
    gap: clamp(7px, 1.2vw, 13px);
    border-radius: 22px;
  }

  .site-header.v3-header .brand-link {
    gap: 7px;
    min-width: 0;
  }

  .site-header.v3-header .brand-symbol {
    width: 31px;
    height: 31px;
  }

  .site-header.v3-header .brand-wordmark {
    width: 76px;
    height: auto;
  }

  .site-header.v3-header .site-nav {
    justify-self: center;
    gap: 0;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: clamp(10px, 1.35vw, 12px);
  }

  .site-header.v3-header .site-nav a {
    padding: 8px clamp(6px, 1vw, 10px);
  }

  .site-header.v3-header .header-store-links {
    gap: 5px;
    min-width: 0;
  }

  .site-header.v3-header .header-store-links a,
  .site-header.v3-header .header-store-links img.header-store-badge {
    width: 78px !important;
    max-width: 78px !important;
    height: 24px !important;
    max-height: 24px !important;
  }

  .site-header.v3-header .header-store-links a {
    flex: 0 0 78px !important;
  }

  /* Opening scroll story */
  .v3-hero[data-mobile-scroll-story],
  .tablet-lineup-story {
    display: block;
    height: 190svh;
    min-height: 190svh;
  }

  .v3-hero[data-mobile-scroll-story] {
    min-height: 190svh;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .v3-hero-copy,
  .mobile-scroll-story-stage,
  .v3-hero-caption {
    display: none !important;
  }

  .tablet-lineup-sticky {
    display: block;
    height: 100svh;
    min-height: 0;
    padding: 0;
    overflow: hidden;
  }

  .tablet-lineup-heading {
    position: absolute;
    z-index: 4;
    top: 98px;
    right: var(--phone-landscape-gutter);
    left: var(--phone-landscape-gutter);
    width: auto;
    margin: 0;
    opacity: var(--lineup-heading-opacity, 0);
    transform: translateY(var(--lineup-heading-y, 28px));
  }

  .tablet-lineup-heading p {
    margin: 0 0 7px;
    font-size: 8px;
    letter-spacing: 0.13em;
  }

  .tablet-lineup-heading h1 {
    max-width: none;
    margin: 0;
    font-size: clamp(32px, 4.15vw, 40px);
    line-height: 0.9;
  }

  .tablet-lineup-scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100svh;
    margin: 0;
  }

  .tablet-lineup-scene > .tablet-lineup-image--tablet {
    display: none;
  }

  .tablet-lineup-scene > .tablet-lineup-image--desktop {
    display: block;
  }

  .tablet-lineup-scene > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 80%;
    transform: scale(var(--lineup-image-scale, 1.52));
    transform-origin: 50% 52%;
  }

  .tablet-lineup-cards {
    position: absolute;
    z-index: 5;
    right: var(--phone-landscape-gutter);
    bottom: 8px;
    left: var(--phone-landscape-gutter);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: clamp(10px, 1.6vw, 16px);
    width: auto;
    height: auto;
    padding: 0;
    transform: none;
  }

  .tablet-car-profile {
    width: 100%;
    max-width: none;
    height: 96px;
    min-width: 0;
    border-radius: 12px;
  }

  .tablet-car-profile header {
    min-height: 10px;
    padding: 5px 9px 0;
    font-size: 6px;
  }

  .tablet-car-profile__identity {
    min-height: 48px;
    padding: 6px 9px 5px;
  }

  .tablet-car-profile__identity strong {
    overflow: hidden;
    font-size: clamp(11px, 1.45vw, 14px);
    letter-spacing: -0.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tablet-car-profile__identity > span {
    width: fit-content;
    margin-top: 3px;
    padding: 2px 5px;
    font-size: 6px;
  }

  .tablet-car-profile__identity small {
    margin-top: 3px;
    font-size: 6px;
  }

  .tablet-car-profile__dates div {
    min-width: 0;
    padding: 5px 4px 6px;
  }

  .tablet-car-profile__dates small {
    font-size: 5px;
  }

  .tablet-car-profile__dates strong {
    margin-top: 2px;
    font-size: clamp(6px, 0.8vw, 8px);
    white-space: nowrap;
  }

  .v3-hero[data-mobile-scroll-story] + .v3-manifesto {
    margin-top: 0;
  }

  /* Shared short-screen section rhythm */
  .v3-manifesto,
  .v3-app-section,
  .v6-signals-section,
  .v8-add-section,
  .v4-plans,
  .v9-profile-section,
  .v5-simulator-bottom {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-right: var(--phone-landscape-gutter);
    padding-left: var(--phone-landscape-gutter);
  }

  .v3-eyebrow {
    margin-bottom: 12px;
    font-size: 8px;
  }

  /* Principle */
  .v3-manifesto {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
    column-gap: clamp(38px, 7vw, 72px);
    align-items: center;
    min-height: 340px;
    padding-top: 64px;
    padding-bottom: 52px;
  }

  .v3-manifesto > .v3-eyebrow,
  .v3-manifesto > h2 {
    grid-column: 1;
  }

  .v3-manifesto h2 {
    font-size: clamp(42px, 5.7vw, 54px);
    line-height: 0.92;
  }

  .v3-manifesto-copy {
    grid-column: 2;
    grid-row: 1 / span 2;
    max-width: 32ch;
    margin: 0;
    font-size: clamp(15px, 1.85vw, 18px);
    line-height: 1.45;
  }

  /* Product logic */
  .v3-app-section {
    display: block;
    min-height: 430px;
    padding-top: 62px;
    padding-bottom: 54px;
  }

  .v3-app-copy {
    display: grid;
    grid-template-columns: minmax(250px, 0.78fr) minmax(390px, 1.22fr);
    column-gap: clamp(42px, 6vw, 68px);
    max-width: none;
    align-items: start;
  }

  .v3-app-copy > .v3-eyebrow,
  .v3-app-copy > h2,
  .v3-app-copy > p:not(.v3-eyebrow) {
    grid-column: 1;
  }

  .v3-app-copy h2 {
    margin-top: 0;
    font-size: clamp(40px, 5vw, 50px);
    line-height: 0.94;
  }

  .v3-app-copy > p:not(.v3-eyebrow) {
    max-width: 31ch;
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.48;
  }

  .v3-app-copy .v3-specs {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin: 0;
  }

  .v3-specs div {
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 12px;
    padding: 17px 0;
  }

  .v3-specs dt {
    font-size: 8px;
  }

  .v3-specs dd strong {
    font-size: 15px;
  }

  .v3-specs dd span {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.38;
  }

  /* Calendar */
  .v6-signals-section {
    min-height: 0;
    padding-top: 62px;
    padding-bottom: 46px;
  }

  .v6-signals-top {
    grid-template-columns: minmax(250px, 0.76fr) minmax(390px, 1.24fr);
    gap: clamp(30px, 4.2vw, 44px);
    align-items: start;
  }

  .v6-signals-top .v4-rail-heading {
    top: 76px;
    padding-top: 0;
  }

  .v4-rail-heading h2 {
    font-size: clamp(40px, 5vw, 50px);
  }

  .v4-rail-heading > p:not(.v3-eyebrow) {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.48;
  }

  .v6-calendar-export--inline {
    margin-top: 22px;
    padding-top: 18px;
  }

  .v6-calendar-export--inline strong {
    font-size: 14px;
  }

  .v6-calendar-export--inline > p {
    margin-top: 10px;
    font-size: 11px;
  }

  .v6-calendar-export--inline > div:last-child {
    display: flex;
    margin-top: 12px;
    gap: 7px;
  }

  .v6-calendar-export--inline > div:last-child span {
    padding: 7px 9px;
    font-size: 8px;
  }

  .v6-signals-preview {
    width: 320px;
    max-width: 100%;
    justify-self: center;
    gap: 8px;
  }

  .v6-signals-preview .v6-featured-hero {
    height: 58px;
    min-height: 58px;
    padding: 5px 10px;
  }

  .v6-featured-header img {
    width: 13px;
    height: 13px;
  }

  .v6-signals-preview .v6-featured-copy {
    margin-top: 3px;
  }

  .v6-signals-preview .v6-featured-copy strong {
    font-size: 13px;
  }

  .v6-featured-copy > span,
  .v6-featured-copy small {
    margin-top: 4px;
    font-size: 7px;
  }

  .v6-featured-copy small {
    display: none;
  }

  .v6-signals-preview .v6-featured-dates > div {
    padding: 4px 5px 5px;
  }

  .v6-featured-dates small,
  .v6-featured-dates strong {
    margin-top: 2px;
    font-size: 6px;
  }

  .v6-signals-preview .v6-calendar-main {
    padding: 6px 11px 7px;
  }

  .v6-calendar-heading > div {
    display: none;
  }

  .v6-calendar-heading > strong {
    margin-top: 0;
    font-size: 15px;
  }

  .v6-calendar-heading p {
    margin: 3px 0 4px;
    font-size: 8px;
  }

  .v6-calendar-heading button {
    width: 22px;
    height: 22px;
    min-height: 22px;
    font-size: 14px;
  }

  .v6-calendar-weekdays {
    margin-bottom: 2px;
  }

  .v6-calendar-grid {
    gap: 1px 2px;
  }

  .v6-calendar-grid > span {
    min-height: 12px;
    font-size: 7px;
  }

  .v6-calendar-grid > .v6-calendar-day {
    min-height: 12px;
    font-size: 7px;
  }

  .v6-signals-preview .v6-calendar-events {
    min-height: 0;
    padding: 5px 11px 6px;
  }

  .v6-calendar-events > p {
    margin-bottom: 3px;
    font-size: 7px;
  }

  .v6-calendar-events article {
    padding: 3px 0;
  }

  .v6-calendar-events strong {
    font-size: 8px;
  }

  .v6-calendar-events span,
  .v6-calendar-events b {
    font-size: 7px;
  }

  /* Add vehicle walkthrough */
  .v8-add-section {
    grid-template-columns: minmax(250px, 0.76fr) minmax(390px, 1.24fr);
    column-gap: clamp(30px, 4.2vw, 44px);
    row-gap: 7px;
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .v8-add-intro {
    top: 76px;
    padding-top: 0;
  }

  .v8-add-intro h2 {
    margin-top: 12px;
    font-size: clamp(40px, 5vw, 50px);
  }

  .v8-add-intro > p:last-child {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.48;
  }

  .v8-flow-tabs {
    width: 320px;
    max-width: 100%;
    justify-self: center;
    padding: 3px;
    border-radius: 13px;
  }

  .v8-flow-tabs button {
    min-height: 31px;
    border-radius: 10px;
    font-size: 9px;
  }

  .v8-app-surface {
    width: 320px;
    max-width: 100%;
    height: 260px;
    margin-inline: auto;
    border-radius: 18px;
  }

  .v8-flow-panel {
    height: 260px;
    padding: 0 14px 16px;
  }

  .v8-app-header {
    min-height: 40px;
  }

  .v8-registration-screen {
    max-width: 330px;
    padding: 5px 0 12px;
  }

  .v8-registration-copy {
    margin: 7px 0 9px;
  }

  .v8-registration-copy h3 {
    font-size: 17px;
  }

  .v8-registration-demo-plate {
    width: min(100%, 215px);
    height: 42px;
    border-radius: 11px;
    font-size: 17px;
    line-height: 42px;
  }

  .v8-registration-form > button {
    display: block;
    width: min(100%, 215px);
    min-height: 36px;
    margin: 10px auto 0;
  }

  .v8-profile-photo {
    min-height: 130px;
    margin-top: 9px;
  }

  .v8-profile-identity {
    padding: 15px 0 13px;
  }

  .v8-profile-identity h3 {
    font-size: 18px;
  }

  .v8-profile-fields {
    margin-top: 10px;
    padding: 4px 12px;
    border-radius: 12px;
  }

  .v8-profile-field {
    padding: 8px 0 6px;
  }

  .v8-profile-field > span {
    display: block;
    font-size: 7px;
    line-height: 1;
    letter-spacing: .14em;
  }

  .v8-profile-field strong {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.2;
  }

  .v8-profile-fields-note {
    margin: 5px 2px 0;
    font-size: 8px;
    line-height: 1.35;
  }

  .v8-date-settings > div {
    min-height: 49px;
  }

  .v8-date-settings strong {
    font-size: 13px;
  }

  .v8-date-settings > div > button {
    width: 44px;
    height: 25px;
    border-radius: 999px;
  }

  .v8-date-settings > div > button span {
    top: 3px;
    left: 3px;
    width: 19px;
    height: 19px;
  }

  .v8-date-settings > div > button.is-on span {
    transform: translateX(19px);
  }

  .v8-vault-heading,
  .v8-log-total {
    padding-top: 18px;
  }

  .v8-vault-heading {
    padding: 8px 0 6px;
  }

  .v8-vault-heading small {
    font-size: 7px;
  }

  .v8-vault-heading h3 {
    margin-top: 2px;
    font-size: 16px;
  }

  .v8-vault-heading p {
    margin-top: 2px;
    font-size: 8px;
  }

  .v8-vault-card {
    padding: 8px 12px;
  }

  .v8-vault-status strong {
    font-size: 12px;
  }

  .v8-vault-status span {
    font-size: 15px;
  }

  .v8-vault-locked h4 {
    margin: 8px 0 5px;
    font-size: 14px;
  }

  .v8-vault-locked > button {
    min-height: 30px;
    border-radius: 10px;
    font-size: 10px;
  }

  .v8-vault-pin-row {
    grid-template-columns: minmax(0, 1fr) 68px;
    gap: 6px;
    margin-top: 6px;
  }

  .v8-vault-pin-preview,
  .v8-vault-pin-row > button {
    min-height: 28px;
    padding: 0 8px;
    border-radius: 9px;
    font-size: 10px;
  }

  .v8-vault-pin-preview {
    gap: 6px;
  }

  .v8-vault-pin-preview i {
    width: 5px;
    height: 5px;
  }

  .v8-vault-pin-note {
    display: none;
  }

  .v8-log-total {
    gap: 12px;
    padding: 10px 0 8px;
  }

  .v8-log-total span {
    max-width: 155px;
    font-size: 9px;
    line-height: 1.25;
  }

  .v8-log-total strong {
    font-size: 18px;
  }

  .v8-log-add {
    min-height: 32px;
    margin-bottom: 8px;
    border-radius: 10px;
    font-size: 11px;
  }

  .v8-log-list {
    gap: 6px;
  }

  .v8-log-list article {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    min-height: 48px;
    padding: 0 10px;
    gap: 8px;
    border-radius: 11px;
  }

  .v8-log-list article > span {
    font-size: 7px;
  }

  .v8-log-list article strong {
    font-size: 11px;
  }

  .v8-log-list article small {
    margin-top: 2px;
    font-size: 8px;
  }

  .v8-log-list article b {
    font-size: 12px;
  }

  /* Plans */
  .v4-plans {
    display: grid;
    grid-template-columns: minmax(250px, 0.76fr) minmax(390px, 1.24fr);
    column-gap: clamp(30px, 4.2vw, 44px);
    align-items: start;
    padding-top: 62px;
    padding-bottom: 54px;
  }

  .v4-plans-intro {
    display: block;
    margin: 0;
  }

  .v4-plans-intro h2 {
    font-size: clamp(40px, 5vw, 50px);
  }

  .v4-plans-intro > p:not(.v3-eyebrow) {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.48;
  }

  .v4-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .v4-plan-card,
  .v7-plan-card {
    min-height: 300px;
    padding: 16px 13px;
    border-radius: 15px;
  }

  .v4-plan-card .v4-plan-label {
    margin-bottom: 17px;
    font-size: 8px;
  }

  .v4-plan-card strong {
    font-size: clamp(20px, 2.65vw, 27px);
  }

  .v4-plan-card strong small,
  .v4-plan-card > span {
    font-size: 8px;
  }

  .v4-plan-card > p:not(.v4-plan-label) {
    min-height: 45px;
    margin: 17px 0 12px;
    font-size: 10px;
  }

  .v4-plan-card ul {
    gap: 7px;
  }

  .v4-plan-card li {
    padding-left: 10px;
    font-size: 8px;
    line-height: 1.35;
  }

  .v4-plan-note {
    grid-column: 2;
    margin-top: 13px;
    font-size: 8px;
  }

  /* Profile and FAQ */
  .v9-profile-section {
    display: block;
    padding-top: 62px;
    padding-bottom: 58px;
  }

  .v9-profile-story {
    display: grid;
    grid-template-columns: minmax(250px, 0.76fr) minmax(390px, 1.24fr);
    column-gap: clamp(30px, 4.2vw, 44px);
    row-gap: 18px;
    align-items: start;
  }

  .v9-profile-card {
    grid-column: 2;
    grid-row: 1;
    width: 320px;
    max-width: 100%;
    margin: 0;
    justify-self: center;
    padding: 14px 16px;
    border-radius: 18px;
  }

  .v9-profile-card-heading h2 {
    margin-top: 4px;
    font-size: 27px;
  }

  .v9-profile-card-heading p,
  .v9-profile-owner > div > span {
    font-size: 7px;
  }

  .v9-profile-plan,
  .v9-profile-edit {
    min-width: 62px;
    min-height: 27px;
    padding: 0 9px;
    font-size: 9px;
  }

  .v9-profile-owner {
    margin-top: 19px;
  }

  .v9-profile-owner strong {
    margin-top: 5px;
    font-size: 17px;
  }

  .v9-profile-benefits {
    display: contents;
    margin-top: 0;
  }

  .v9-profile-benefits-intro {
    position: sticky;
    top: 76px;
    grid-column: 1;
    grid-row: 1 / span 2;
    padding-top: 0;
  }

  .v9-profile-benefits-intro h2 {
    font-size: clamp(39px, 5vw, 49px);
  }

  .v9-profile-benefits-intro > p:last-child {
    margin-top: 17px;
    font-size: 13px;
    line-height: 1.48;
  }

  .v9-benefit-list {
    grid-column: 2;
    grid-row: 2;
    width: 320px;
    max-width: 100%;
    margin-top: 0;
    justify-self: center;
  }

  .v9-benefit-list article {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    padding: 5px 0;
  }

  .v9-benefit-list article > span {
    font-size: 8px;
  }

  .v9-benefit-list h3 {
    font-size: 12px;
  }

  .v9-benefit-list p {
    margin-top: 3px;
    font-size: 9px;
    line-height: 1.35;
  }

  .v9-faq {
    grid-template-columns: minmax(250px, 0.76fr) minmax(390px, 1.24fr);
    gap: clamp(30px, 4.2vw, 44px);
    margin-top: 58px;
    padding-top: 52px;
  }

  .v9-faq-intro {
    position: sticky;
    top: 76px;
    padding-top: 0;
  }

  .v9-faq-intro h2 {
    font-size: clamp(39px, 5vw, 49px);
  }

  .v9-faq-intro > p:last-child {
    margin-top: 17px;
    font-size: 13px;
  }

  .v9-faq-list details {
    padding: 0;
  }

  .v9-faq-list summary {
    min-height: 54px;
    padding: 15px 0;
    font-size: 12px;
  }

  .v9-faq-list details > p {
    max-width: 62ch;
    padding: 0 24px 15px 0;
    font-size: 10px;
    line-height: 1.5;
  }

  /* Download */
  .v5-simulator-bottom {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(260px, 1.1fr);
    column-gap: clamp(46px, 8vw, 82px);
    align-items: center;
    min-height: 440px;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .v5-simulator-bottom .v5-simulator-stage {
    grid-column: 2;
    grid-row: 1;
    height: 356px;
    min-height: 356px;
    max-height: 356px;
    overflow: visible;
  }

  .v5-device-shell,
  .v5-simulator-stage:hover .v5-device-shell {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 334px;
    height: 710px;
    padding: 10px;
    border-radius: 51px;
    transform: translateX(-50%) scale(.44);
    transform-origin: top center;
    transition: none;
  }

  .v5-device-screen {
    border-radius: 42px;
  }

  .v5-phone-view,
  .v5-phone-view.is-active {
    transform: none;
    transition: opacity .3s ease;
  }

  .v10-download-cta {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    text-align: left;
  }

  .v10-download-cta h2 {
    font-size: clamp(39px, 5.2vw, 51px);
  }

  .v10-download-cta > .v10-download-intro {
    max-width: 34ch;
    margin: 16px 0 0;
    font-size: 13px;
    line-height: 1.48;
  }

  .v10-store-badges {
    justify-content: flex-start;
    margin-top: 8px;
  }

  .v10-store-badge,
  .v10-store-badge img {
    height: 30px;
  }

  .v10-store-status {
    margin-top: 18px;
  }

  .waitlist-form {
    gap: 11px;
    margin-top: 18px;
    padding: 14px;
    border-radius: 16px;
  }

  .waitlist-form input[type="email"],
  .waitlist-form button {
    min-height: 42px;
    font-size: 13px;
  }

  .waitlist-options span {
    min-height: 36px;
    padding: 6px;
    font-size: 11px;
  }

  .waitlist-form label,
  .waitlist-form legend {
    font-size: 9px;
  }

  .waitlist-consent span,
  .waitlist-status {
    font-size: 9px;
  }

  /* Footer */
  .site-footer.v3-footer {
    grid-template-columns: minmax(230px, 1.2fr) 0.55fr 0.55fr auto;
    gap: 24px;
    padding: 36px var(--phone-landscape-gutter) 26px;
  }

  .site-footer.v3-footer .footer-intro,
  .site-footer.v3-footer .footer-credits,
  .site-footer.v3-footer .footer-social {
    grid-column: auto;
  }

  .site-footer.v3-footer .footer-credits {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    font-size: 9px;
  }

  .site-footer.v3-footer .footer-brand .brand-symbol {
    width: 30px;
  }

  .site-footer.v3-footer .footer-brand .brand-wordmark {
    width: 80px;
  }

  .site-footer.v3-footer .footer-intro > p,
  .site-footer.v3-footer .footer-links a {
    font-size: 10px;
  }

  .mobile-command-dock {
    display: none !important;
  }
}

/* The narrowest modern landscape phones need a little more room in the
   header, while the body composition remains the same. */
@media (min-width: 640px) and (max-width: 870px) and (max-height: 430px) and (orientation: landscape) {
  .site-header.v3-header {
    grid-template-columns: 104px minmax(0, 1fr) auto;
  }

  .site-header.v3-header .brand-wordmark {
    display: none;
  }

  .site-header.v3-header .site-nav a {
    padding-inline: 6px;
  }

  .site-header.v3-header .header-store-links a,
  .site-header.v3-header .header-store-links img.header-store-badge {
    width: 72px !important;
    max-width: 72px !important;
    height: 22px !important;
    max-height: 22px !important;
  }

  .site-header.v3-header .header-store-links a {
    flex-basis: 72px !important;
  }

  .tablet-lineup-heading h1 {
    font-size: 33px;
  }

  .tablet-lineup-cards {
    right: 20px;
    left: 20px;
    gap: 9px;
  }

  .tablet-car-profile {
    height: 92px;
  }

  .v6-signals-preview {
    transform: scale(.84);
    transform-origin: top center;
  }

  .v8-flow-tabs,
  .v8-app-surface {
    width: 280px;
  }

  .v9-profile-card,
  .v9-benefit-list {
    width: 280px;
  }

  .v8-app-surface,
  .v8-flow-panel {
    height: 200px;
  }

  .v8-app-header {
    min-height: 34px;
  }

  .v8-registration-screen {
    padding-top: 2px;
  }

  .v8-registration-copy {
    margin: 3px 0 5px;
  }

  .v8-registration-copy h3 {
    font-size: 15px;
  }

  .v8-registration-demo-plate {
    width: min(100%, 190px);
    height: 36px;
    line-height: 36px;
  }

  .v8-registration-form > button {
    width: min(100%, 190px);
    min-height: 31px;
    margin-top: 6px;
  }

  .v8-vault-heading {
    padding: 4px 0;
  }

  .v8-vault-heading small,
  .v8-vault-heading p {
    display: none;
  }

  .v8-vault-heading h3 {
    margin: 0;
    font-size: 14px;
  }

  .v8-log-total {
    padding: 5px 0 4px;
  }

  .v8-log-total span {
    font-size: 8px;
    line-height: 1.15;
  }

  .v8-log-total strong {
    font-size: 16px;
  }

  .v8-log-add {
    min-height: 28px;
    margin-bottom: 5px;
    font-size: 10px;
  }

  .v8-log-list {
    gap: 4px;
  }

  .v8-log-list article {
    min-height: 42px;
  }

  .v5-device-shell,
  .v5-simulator-stage:hover .v5-device-shell {
    transform: translateX(-50%) scale(.38);
  }
}

/* Visual refresh: short-screen phones use a compact, readable two-column
   composition instead of scaling the desktop canvas down. */
@media (min-width: 640px) and (max-width: 980px) and (max-height: 500px) and (orientation: landscape) {
  :root {
    --phone-landscape-gutter: clamp(24px, 3.4vw, 32px);
  }

  .site-header.v3-header,
  .site-header.v3-header.is-scrolled,
  .site-header.v3-header.compact {
    top: max(6px, env(safe-area-inset-top));
    width: calc(100% - max(20px, env(safe-area-inset-left) + env(safe-area-inset-right)));
    height: 54px;
    margin-top: 0;
    border-radius: 21px;
  }

  .site-header.v3-header .brand-link,
  .site-header.v3-header .site-nav a,
  .site-header.v3-header .header-store-links a {
    min-height: 44px;
  }

  .site-header.v3-header .site-nav a {
    display: grid;
    place-items: center;
    padding-block: 0;
  }

  .site-header.v3-header .header-store-links a {
    display: grid;
    place-items: center;
  }

  .tablet-lineup-sticky::after {
    content: none !important;
    display: none !important;
  }

  .v3-hero[data-mobile-scroll-story] {
    border-bottom: 0;
  }

  .v3-manifesto {
    grid-template-columns: minmax(0, .86fr) minmax(300px, 1.14fr);
    min-height: 320px;
    gap: 34px;
    align-content: center;
    padding: 52px var(--phone-landscape-gutter);
    border: 0;
    border-radius: 0;
    background:
      linear-gradient(90deg, rgba(2, 2, 3, .26), rgba(2, 2, 3, .06) 56%, rgba(2, 2, 3, .36)),
      url("./assets/marque-material-black-metal-rings.png") 52% 50% / cover no-repeat,
      #020203;
    box-shadow: none;
    backdrop-filter: none;
  }

  .v3-manifesto::before,
  .v3-manifesto::after {
    content: none;
    display: none;
  }

  .v3-manifesto .v3-eyebrow,
  .v3-manifesto h2 {
    grid-column: 1;
  }

  .v3-manifesto h2 {
    margin: 0;
    font-size: clamp(40px, 5.7vw, 54px);
  }

  .v3-manifesto-copy {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    max-width: 32ch;
    margin: 0;
    font-size: 15px;
  }

  .v6-signals-section,
  .v8-add-section,
  .v4-plans,
  .v9-profile-section {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 54px var(--phone-landscape-gutter) 58px;
    background: #020203;
  }

  .v6-signals-top {
    grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
    gap: clamp(28px, 4vw, 42px);
  }

  .v6-signals-top .v4-rail-heading {
    position: sticky;
    top: 72px;
  }

  .v4-rail-heading h2,
  .v8-add-intro h2,
  .v9-profile-benefits-intro h2,
  .v9-faq-intro h2 {
    font-size: clamp(39px, 5vw, 48px);
  }

  .v6-signals-preview {
    width: 100%;
    max-width: none;
    gap: 10px;
    transform: none;
  }

  .v6-signals-preview .v6-featured-hero {
    height: auto;
    min-height: 144px;
    padding: 14px 16px;
  }

  .v6-signals-preview .v6-featured-copy {
    margin-top: 30px;
  }

  .v6-signals-preview .v6-featured-copy strong {
    font-size: 22px;
  }

  .v6-featured-copy small {
    display: block;
  }

  .v6-signals-preview .v6-calendar-card {
    grid-template-columns: minmax(342px, 1.2fr) minmax(136px, .8fr);
  }

  .v6-signals-preview .v6-calendar-main {
    padding: 12px 14px 10px;
  }

  .v6-calendar-heading > div {
    display: flex;
  }

  .v6-calendar-heading > strong {
    margin-top: 8px;
    font-size: 21px;
  }

  .v6-calendar-heading > p {
    max-width: none;
    margin: 6px 0 7px;
    font-size: 11px;
  }

  .v6-calendar-heading > p button {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .v6-calendar-grid {
    gap: 1px;
  }

  .v6-calendar-grid > .v6-calendar-day {
    display: grid;
    width: 100%;
    height: 44px;
    min-height: 44px;
    justify-self: stretch;
    place-items: center;
    font-size: 9px;
  }

  .v6-signals-preview .v6-calendar-events {
    padding: 16px 14px;
  }

  .v6-calendar-events article {
    padding: 10px 0;
  }

  .v8-add-section {
    grid-template-columns: minmax(250px, .72fr) minmax(430px, 1.28fr);
    column-gap: clamp(30px, 4vw, 44px);
    row-gap: 8px;
    align-items: start;
  }

  .v8-add-intro {
    position: sticky;
    top: 72px;
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .v8-flow-tabs {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: none;
    padding: 4px;
  }

  .v8-flow-tabs button {
    min-height: 44px;
    font-size: 11px;
  }

  .v8-flow-layout {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
  }

  .v8-flow-copy {
    display: none !important;
  }

  .v8-app-surface,
  .v8-flow-panel {
    width: 100%;
    height: 420px;
    min-height: 0;
  }

  .v8-app-surface {
    border-radius: 22px;
  }

  .v8-flow-panel {
    padding: 0 18px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }

  .v8-flow-panel::-webkit-scrollbar {
    display: none;
  }

  .v8-app-header {
    min-height: 48px;
  }

  .v8-registration-screen {
    min-height: 350px;
    max-width: 420px;
    padding: 20px 8px;
  }

  .v8-registration-copy {
    margin: 10px 0 12px;
  }

  .v8-registration-copy h3 {
    font-size: 25px;
  }

  .v8-registration-demo-plate {
    width: min(100%, 330px);
    height: 60px;
    font-size: 24px;
    line-height: 60px;
  }

  .v8-registration-form > button,
  .v8-vault-locked > button,
  .v8-vault-pin-row > button,
  .v8-vault-folders button,
  .v8-panel-next,
  .v8-log-add,
  .v8-log-categories button,
  .v8-log-actions button,
  .v8-add-receipt,
  .v8-log-actions button:last-child {
    min-height: 44px;
  }

  .v8-date-settings > div > button {
    position: relative;
    width: 52px;
    min-width: 52px;
    height: 44px;
    min-height: 44px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .v8-date-settings > div > button::before {
    position: absolute;
    top: 7px;
    right: 0;
    bottom: 7px;
    left: 0;
    border-radius: 999px;
    background: #232427;
    content: "";
  }

  .v8-date-settings > div > button.is-on {
    background: transparent;
  }

  .v8-date-settings > div > button.is-on::before {
    background: #333437;
  }

  .v8-date-settings > div > button span {
    top: 10px;
    left: 4px;
    width: 24px;
    height: 24px;
  }

  .v8-date-settings > div > button.is-on span {
    transform: translateX(20px);
  }

  .v4-plans {
    display: block;
  }

  .v4-plans-intro {
    grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
    gap: 36px;
    margin-bottom: 26px;
  }

  .v4-plans-intro h2 {
    font-size: clamp(42px, 5.4vw, 52px);
  }

  .v4-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .v4-plan-card.v7-plan-card {
    min-height: 350px;
    padding: 20px 18px;
  }

  .v4-plan-card.v7-plan-card .v4-plan-label {
    margin: 0;
    font-size: 28px;
  }

  .v4-plan-card.v7-plan-card > strong {
    margin-top: 16px;
    font-size: 31px;
  }

  .v4-plan-card.v7-plan-card > p:not(.v4-plan-label) {
    min-height: 0;
    margin: 14px 0 0;
    font-size: 11px;
  }

  .v4-plan-card.v7-plan-card ul {
    padding-top: 32px;
  }

  .v4-plan-card.v7-plan-card li {
    padding: 9px 0;
    font-size: 10px;
  }

  .v4-plan-card.v7-plan-card,
  .v4-plan-card.v7-plan-card:hover,
  .v4-plan-card.v7-plan-card:active,
  .v4-plan-card.v7-plan-card:focus-within {
    transform: none;
  }

  .v9-profile-story {
    grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
    gap: 14px 36px;
  }

  .v9-profile-card {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: none;
    padding: 18px;
  }

  .v9-profile-benefits-intro {
    position: sticky;
    top: 72px;
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .v9-benefit-list {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    max-width: none;
  }

  .v9-benefit-list article {
    min-height: 82px;
    padding: 12px 16px;
  }

  .v9-benefit-list h3 {
    font-size: 14px;
  }

  .v9-benefit-list p {
    font-size: 11px;
  }

  .v9-faq {
    grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
    gap: 36px;
    margin-top: 54px;
    padding: 48px 0 0;
  }

  .v9-faq-intro {
    position: sticky;
    top: 72px;
  }

  .v9-faq-list summary {
    min-height: 54px;
    padding: 11px 0;
    font-size: 13px;
  }

  .v9-faq-list details > p {
    padding-bottom: 16px;
    font-size: 11px;
  }

  .v5-simulator-bottom {
    grid-template-columns: minmax(350px, .92fr) minmax(320px, 1.08fr);
    gap: clamp(26px, 4vw, 44px);
    min-height: 0;
    padding: 34px var(--phone-landscape-gutter) 40px;
    background-position: 52% 48%;
  }

  .v5-simulator-bottom .v5-simulator-stage {
    grid-column: 2;
    grid-row: 1;
    height: 370px;
    min-height: 370px;
    max-height: 370px;
  }

  .v5-device-shell,
  .v5-simulator-stage:hover .v5-device-shell {
    top: 8px;
    right: auto;
    left: 50%;
    transform: translateX(-50%) scale(.47);
    transform-origin: top center;
  }

  .v10-download-cta {
    grid-column: 1;
    grid-row: 1;
    padding: 16px;
  }

  .v10-download-cta h2 {
    font-size: clamp(37px, 4.7vw, 45px);
  }

  .v10-download-cta > .v10-download-intro {
    margin-top: 10px;
    font-size: 12px;
  }

  .v5-simulator-bottom .waitlist-form {
    gap: 8px;
    margin-top: 12px;
    padding: 12px;
  }

  .v5-simulator-bottom .waitlist-options span,
  .v5-simulator-bottom .waitlist-consent,
  .v5-simulator-bottom .waitlist-form button,
  .v5-simulator-bottom .waitlist-form input[type="email"] {
    min-height: 44px;
  }

  .mobile-command-dock {
    display: none !important;
  }
}
