/* Prime EV Premium — scoped marketing styles. Hero follows How It Works. */
.pm {
  font-family: Inter, Arial, sans-serif;
  color: #15231b;
}
.pm * {
  box-sizing: border-box;
}
.pm-wrap {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}
.pm h1,
.pm h2,
.pm h3 {
  font-family: Manrope, Inter, sans-serif;
  letter-spacing: -0.055em;
  line-height: 1.1;
}
.pm h1 em,
.pm h2 em {
  font-style: normal;
  color: #0c9b4c;
}
.pm-eyebrow,
.pm-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.pm-kicker {
  color: #138749;
}
.pm-button {
  min-height: 52px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 13px 22px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition:
    transform 0.2s,
    background 0.2s;
}
.pm-button:hover {
  transform: translateY(-2px);
}
.pm-button-primary {
  background: #22e66d;
  color: #07180e;
}
.pm-button-dark {
  background: #102b1a;
  color: #fff;
}
.pm-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(to bottom, #f1faf4 0%, #f6fbf7 45%, #fff 100%);
  padding: 155px 0 82px;
  color: #14291c;
}
.pm-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(
      ellipse at 77% 32%,
      rgba(39, 196, 98, 0.13),
      transparent 55%
    ),
    radial-gradient(
      ellipse at 12% 58%,
      rgba(118, 218, 151, 0.1),
      transparent 52%
    );
}
.pm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.pm-hero-copy {
  min-width: 0;
}
.pm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #087f3b;
}
.pm-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20ed7a;
  box-shadow: 0 0 0 5px #20ed7a20;
}
.pm h1 {
  font-size: clamp(45px, 5vw, 69px);
  margin: 24px 0 26px;
  max-width: 620px;
}
.pm-intro {
  font-size: 16px;
  line-height: 1.75;
  color: #536b5a;
  max-width: 520px;
}
.pm-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  font-size: 11px;
  color: #42644d;
  margin-top: 28px;
}
.pm-garage-visual {
  position: relative;
  min-width: 0;
  height: 455px;
  border: 1px solid #dcebe0;
  border-radius: 32px;
  background: linear-gradient(155deg, #f4faf6, #e7f6ed 70%, #eaf8ef);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate;
}
.pm-garage-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 66% 55%, #c2e9d04a, transparent 58%);
  pointer-events: none;
}
.pm-garage-label,
.pm-garage-footnote {
  position: absolute;
  z-index: 2;
  left: 25px;
  color: #427b55;
  font-size: 10px;
  letter-spacing: 0.13em;
  font-weight: 800;
}
.pm-garage-label {
  top: 24px;
}
.pm-garage-footnote {
  bottom: 23px;
}
.pm-phone {
  position: relative;
  z-index: 1;
  width: 220px;
  padding: 8px;
  border-radius: 34px;
  background: linear-gradient(135deg, #26372f, #07130e);
  border: 2px solid #52645a;
  box-shadow: 17px 22px 40px #173d2630;
  transform: translate(55px, 16px) rotate(9deg) perspective(900px)
    rotateY(-7deg);
  transform-origin: center;
}
.pm-phone-side {
  position: absolute;
  left: -5px;
  top: 75px;
  width: 4px;
  height: 54px;
  background: #52645a;
  border-radius: 3px;
}
.pm-phone-screen {
  background: #f8fbf8;
  border-radius: 26px;
  overflow: hidden;
  padding: 11px 12px 10px;
  color: #173423;
}
.pm-phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 7px;
  font-weight: 800;
  padding: 0 3px 10px;
}
.pm-phone-island {
  width: 48px;
  height: 12px;
  border-radius: 15px;
  background: #111d15;
}
.pm-phone-brand {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.06em;
}
.pm-phone-brand span {
  color: #0ca24e;
}
.pm-phone-brand small {
  display: block;
  font-size: 6px;
  letter-spacing: 0.19em;
  color: #789081;
  margin-top: 2px;
}
.pm-phone-welcome {
  margin: 13px 0 10px;
}
.pm-phone-welcome small,
.pm-phone-credit > span {
  display: block;
  font-size: 7px;
  letter-spacing: 0.09em;
  font-weight: 800;
  color: #698373;
}
.pm-phone-welcome strong {
  display: block;
  font-size: 19px;
  line-height: 1.08;
  letter-spacing: -0.06em;
  margin-top: 5px;
}
.pm-phone-member {
  background: linear-gradient(125deg, #185c3b, #0b3322);
  color: white;
  border-radius: 11px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pm-phone-member > span {
  font-size: 6px;
  color: #a9efc1;
  letter-spacing: 0.08em;
  font-weight: 800;
}
.pm-phone-member strong {
  font-size: 14px;
  letter-spacing: -0.035em;
}
.pm-phone-member small {
  font-size: 7px;
  color: #b4f4c9;
}
.pm-phone-credit {
  background: #e4f5e9;
  border-radius: 10px;
  padding: 10px;
  margin-top: 8px;
}
.pm-phone-credit strong {
  display: block;
  color: #078c45;
  font-size: 24px;
  letter-spacing: -0.06em;
  margin: 3px 0;
}
.pm-phone-credit strong small {
  font-size: 7px;
  letter-spacing: 0.06em;
  color: #487d5d;
}
.pm-phone-credit p {
  font-size: 7px;
  color: #4e795e;
  margin: 0;
}
.pm-phone-benefit-title {
  font-size: 9px;
  font-weight: 850;
  margin: 10px 0 6px;
}
.pm-phone-benefit {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e5ede6;
  background: #fff;
  border-radius: 7px;
  padding: 6px;
  margin-bottom: 5px;
  font-size: 8px;
  font-weight: 750;
}
.pm-phone-benefit span {
  color: #079b4a;
  font-size: 12px;
}
.pm-phone-benefit b {
  margin-left: auto;
  color: #87a18e;
  font-size: 12px;
}
.pm-phone-nav {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #e5ede6;
  margin-top: 9px;
  padding-top: 7px;
  color: #84978a;
}
.pm-phone-nav span {
  display: flex;
  align-items: center;
  flex-direction: column;
  font-size: 12px;
}
.pm-phone-nav span.active {
  color: #089a4b;
}
.pm-phone-nav small {
  font-size: 6px;
  margin-top: 2px;
}
.pm-section {
  padding: 108px 0;
}
.pm-section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}
.pm-kicker {
  color: #138749;
}
.pm h2 {
  font-size: clamp(35px, 3.2vw, 56px);
  margin: 17px 0 20px;
}
.pm-section-heading p,
.pm-compare p,
.pm-faq p {
  color: #68786d;
  line-height: 1.85;
}
.pm-benefits {
  background: #f8faf8;
}
.pm-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.pm-benefit {
  padding: 36px 30px;
  background: #fff;
  border: 1px solid #e5ece6;
  border-radius: 16px;
  box-shadow: 0 9px 28px #14352206;
}
.pm-benefit-icon {
  width: 53px;
  height: 53px;
  border-radius: 14px;
  background: #e5f8eb;
  color: #168e4a;
  display: grid;
  place-items: center;
  font-size: 28px;
}
.pm-benefit h3 {
  font-size: 19px;
  letter-spacing: -0.035em;
  margin: 27px 0 12px;
}
.pm-benefit p {
  font-size: 13px;
  color: #69796e;
  line-height: 1.8;
}
.pm-compare-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 75px;
  align-items: center;
}
.pm-compare-grid > div:first-child > p {
  max-width: 410px;
}
.pm-text-link {
  display: inline-block;
  margin-top: 24px;
  color: #087e3d;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.pm-compare-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.pm-tier {
  border: 1px solid #e2eae4;
  border-radius: 16px;
  padding: 28px 23px;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pm-tier-featured {
  background: #0c2718;
  color: #fff;
  border-color: #0c2718;
}
.pm-tier-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #108745;
}
.pm-tier-featured .pm-tier-label {
  color: #4df394;
}
.pm-tier > strong {
  font-size: 44px;
  letter-spacing: -0.07em;
  margin: 18px 0;
}
.pm-tier strong small {
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 500;
}
.pm-tier p {
  font-size: 12px;
  line-height: 1.75;
}
.pm-tier-featured p {
  color: #b5c9bb;
}
.pm-tier-note {
  margin-top: auto;
  padding-top: 22px;
  font-size: 11px;
  color: #67786e;
}
.pm-tier-featured .pm-tier-note {
  color: #8ce5ac;
}
.pm-checkout-section {
  background: #eef6ef;
}
.pm-checkout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: #0b2516;
  color: #fff;
  border-radius: 25px;
  overflow: hidden;
}
.pm-checkout-copy {
  padding: 68px 60px;
}
.pm-checkout-copy h2 {
  font-size: clamp(35px, 4vw, 53px);
}
.pm-checkout-copy > p {
  color: #b8cbbd;
  line-height: 1.8;
  max-width: 400px;
}
.pm-price {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 32px 0 25px;
}
.pm-price strong {
  font-size: 65px;
  letter-spacing: -0.07em;
  line-height: 1;
}
.pm-price span {
  color: #b1c7b9;
  font-size: 12px;
  line-height: 1.6;
}
.pm-checkout-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #b6d5c0;
  font-size: 12px;
}
.pm-checkout-panel {
  background: #fff;
  color: #182b1d;
  padding: 55px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pm-panel-eyebrow {
  color: #128d48;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.pm-checkout-panel h3 {
  font-size: 29px;
  margin: 15px 0;
}
.pm-checkout-panel p {
  font-size: 13px;
  color: #6a7c70;
  line-height: 1.85;
}
.pm-pending {
  padding: 16px;
  border: 1px solid #d7e6db;
  background: #f4faf5;
  border-radius: 10px;
  color: #35744b;
  font-size: 12px;
  margin: 24px 0;
}
.pm-button-dark {
  background: #102b1a;
  color: #fff;
}
.pm-checkout-panel small {
  font-size: 11px;
  color: #819086;
  text-align: center;
  margin-top: 13px;
}
.pm-faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}
.pm-faq-items details {
  border-bottom: 1px solid #e2e9e3;
  padding: 20px 0;
}
.pm-faq-items summary {
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.pm-faq-items summary::-webkit-details-marker {
  display: none;
}
.pm-faq-items summary:after {
  content: "+";
  font-size: 23px;
  color: #178d49;
  line-height: 1;
}
.pm-faq-items details[open] summary:after {
  content: "−";
}
.pm-faq-items details p {
  padding-top: 12px;
  font-size: 13px;
}
.pm-last {
  background: #07160f;
  text-align: center;
  color: #fff;
  padding: 88px 0 100px;
}
.pm-last h2 {
  margin: 17px 0 30px;
}
.pm-last .pm-kicker {
  color: #60df92;
}
@media (max-width: 900px) {
  .pm-hero {
    padding: 130px 0 70px;
  }
  .pm-hero-grid,
  .pm-compare-grid,
  .pm-faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .pm-garage-visual {
    height: 450px;
  }
  .pm-phone {
    transform: translate(40px, 14px) rotate(8deg);
  }
  .pm-checkout {
    grid-template-columns: 1fr;
  }
  .pm-benefit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pm-faq-grid {
    gap: 12px;
  }
}
@media (max-width: 600px) {
  .pm-wrap {
    width: calc(100% - 36px);
  }
  .pm-hero {
    padding: 145px 0 54px;
  }
  .pm h1 {
    font-size: clamp(42px, 10vw, 56px);
    margin: 22px 0;
  }
  .pm-intro {
    font-size: 15px;
    line-height: 1.7;
  }
  .pm-trust {
    gap: 10px;
    margin-top: 22px;
  }
  .pm-garage-visual {
    height: 390px;
    border-radius: 26px;
  }
  .pm-phone {
    width: 192px;
    transform: translate(25px, 16px) rotate(7deg);
  }
  .pm-phone-screen {
    padding: 9px 10px;
  }
  .pm-phone-welcome {
    margin: 10px 0 8px;
  }
  .pm-phone-member {
    gap: 6px;
    padding: 9px;
  }
  .pm-phone-credit {
    padding: 8px;
  }
  .pm-phone-benefit {
    padding: 5px;
  }
  .pm-garage-label,
  .pm-garage-footnote {
    left: 16px;
    font-size: 8px;
  }
  .pm-garage-label {
    top: 18px;
  }
  .pm-garage-footnote {
    bottom: 16px;
  }
  .pm-section {
    padding: 70px 0;
  }
  .pm-benefit-grid,
  .pm-compare-cards {
    grid-template-columns: 1fr;
  }
  .pm-tier {
    min-height: 225px;
  }
  .pm-checkout-copy,
  .pm-checkout-panel {
    padding: 37px 26px;
  }
  .pm-faq-grid {
    gap: 15px;
  }
  .pm-button {
    width: 100%;
  }
}
@media (max-width: 390px) {
  .pm-garage-visual {
    height: 365px;
  }
  .pm-phone {
    width: 178px;
    transform: translate(23px, 16px) rotate(7deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pm-button {
    transition: none;
  }
}

/* Premium visual system: shared How It Works proportions, scoped to this page. */
body:has(.pm) > main.w,
body:has(.pm) > #prime-page {
  width: 100%;
  max-width: none;
  padding: 0 !important;
  min-height: 0 !important;
}
body:has(.pm) > footer {
  margin-top: 0;
}
.pm {
  width: 100%;
  max-width: 100%;
  overflow: clip;
  background: #fff;
}
.pm-wrap {
  width: min(1190px, calc(100% - 48px));
}
.pm-hero {
  padding: 156px 0 96px;
  background:
    radial-gradient(
      ellipse at 80% 42%,
      rgba(39, 196, 98, 0.14),
      transparent 55%
    ),
    linear-gradient(180deg, #f1faf4 0%, #f5faf6 63%, #fff 100%);
}
.pm-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.pm-garage-visual {
  height: 450px;
  max-width: 100%;
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
}
.pm-phone-motion {
  position: absolute;
  z-index: 1;
  right: 12%;
  top: 50%;
  width: 205px;
  transform: translateY(-50%);
  animation: pm-device-float 5.5s ease-in-out infinite;
  will-change: transform;
}
.pm-phone {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  transform: rotate(8deg);
  transform-origin: center;
  box-shadow: 17px 22px 40px #173d2630;
}
.pm-garage-label {
  top: 24px;
  left: 26px;
  max-width: 44%;
}
.pm-garage-footnote {
  bottom: 22px;
  left: 26px;
  max-width: 45%;
  line-height: 1.5;
}
.pm-benefits {
  background: #fff;
}
@keyframes pm-device-float {
  0%,
  100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(calc(-50% - 9px));
  }
}
.pm-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--pm-delay, 0ms);
}
.pm-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.pm-garage-visual:hover .pm-phone {
  filter: drop-shadow(0 16px 15px rgba(12, 37, 22, 0.18));
  transition: filter 0.3s ease;
}
@media (max-width: 900px) {
  .pm-hero {
    padding: 120px 0 76px;
  }
  .pm-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .pm-garage-visual {
    width: 100%;
    max-width: 650px;
    height: 440px;
    margin-inline: auto;
  }
  .pm-phone-motion {
    width: 205px;
    right: 14%;
  }
}
@media (max-width: 600px) {
  .pm-wrap {
    width: calc(100% - 36px);
  }
  .pm-hero {
    padding: 54px 0 62px;
  }
  .pm-hero-grid {
    gap: 30px;
  }
  .pm-garage-visual {
    height: clamp(370px, 110vw, 455px);
    border-radius: 26px;
  }
  .pm-phone-motion {
    width: clamp(155px, 42vw, 205px);
    right: 13%;
  }
  .pm-garage-label,
  .pm-garage-footnote {
    left: 17px;
    font-size: 9px;
    max-width: 45%;
  }
  .pm-garage-label {
    top: 19px;
  }
  .pm-garage-footnote {
    bottom: 17px;
  }
  .pm-benefits {
    background: #fff;
  }
}
@media (max-width: 390px) {
  .pm-phone-motion {
    width: clamp(150px, 42vw, 170px);
    right: 11%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pm-phone-motion {
    animation: none;
  }
  .pm-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pm-garage-visual:hover .pm-phone {
    filter: none;
  }
}

/* Community-first marketing hero; membership preview phone. 
   Single source of truth for device geometry. No axis-distorting scale. */

.pm-hero {
  padding: 126px 0 78px;
}
.pm-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.pm-hero-copy {
  padding-top: 0;
}
.pm-hero h1 {
  font-size: clamp(40px, 3.3vw, 62px);
  line-height: 1.06;
}
.pm-hero-values {
  display: grid;
  gap: 11px;
  margin-top: 27px;
}
.pm-value-community {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 18px 20px;
  background: #e3f5e9;
  border: 1px solid #ccebd6;
  border-radius: 18px;
}
.pm-value-icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 13px;
  color: #0a984a;
  font-size: 26px;
}
.pm-value-eyebrow {
  display: block;
  color: #0a9447;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 2px 0 8px;
}
.pm-value-community h2 {
  font-size: 19px;
  line-height: 1.25;
  margin: 0 0 5px;
}
.pm-value-community p {
  margin: 0;
  color: #53705c;
  font-size: 12px;
  line-height: 1.55;
}
.pm-value-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}
.pm-value-small {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border: 1px solid #dce8df;
  border-radius: 16px;
  padding: 15px 13px;
  box-shadow: 0 6px 18px rgba(20, 60, 30, 0.035);
}
.pm-value-small > span {
  color: #0d974a;
  font-size: 20px;
  line-height: 1;
}
.pm-value-small strong,
.pm-value-small small {
  display: block;
}
.pm-value-small strong {
  font-size: 12px;
  line-height: 1.35;
}
.pm-value-small small {
  color: #65796a;
  font-size: 10px;
  margin-top: 4px;
  line-height: 1.4;
}
.pm-garage-visual {
  height: 452px;
  display: grid;
  grid-template-rows: 45px minmax(0, 1fr) 42px;
  padding: 0 22px;
  overflow: hidden;
}
.pm-garage-label,
.pm-garage-footnote {
  position: relative;
  inset: auto;
  z-index: 3;
  max-width: none;
  align-self: center;
  font-size: 10px;
  pointer-events: none;
}
.pm-garage-label {
  grid-row: 1;
}
.pm-garage-footnote {
  grid-row: 3;
}
.pm-phone-stage {
  grid-row: 2;
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
}
.pm-phone-motion {
  position: relative;
  inset: auto;
  width: 210px;
  transform: scale(0.72);
  transform-origin: center;
  animation: pm-premium-device-float 6s ease-in-out infinite;
  will-change: transform;
}
.pm-phone {
  position: relative;
  inset: auto;
  width: 100%;
  transform: rotate(7deg);
  transform-origin: center;
}
.pm-phone-welcome {
  margin: 13px 0 10px;
}
.pm-phone-member {
  margin-bottom: 0;
}
.pm-phone-credit {
  margin-bottom: 0;
}
@keyframes pm-premium-device-float {
  0%,
  100% {
    transform: translateY(0) scale(0.72);
  }
  50% {
    transform: translateY(-7px) scale(0.72);
  }
}
@media (max-width: 900px) {
  .pm-hero {
    padding: 95px 0 72px;
  }
  .pm-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pm-garage-visual {
    width: 100%;
    max-width: 650px;
    height: 435px;
    margin-inline: auto;
  }
}
@media (max-width: 600px) {
  .pm-hero {
    padding: 90px 0 60px;
  }
  .pm-hero h1 {
    font-size: clamp(36px, 9vw, 49px);
  }
  .pm-intro {
    font-size: 14px;
  }
  .pm-hero-values {
    margin-top: 21px;
  }
  .pm-value-community {
    padding: 15px;
  }
  .pm-value-community h2 {
    font-size: 17px;
  }
  .pm-value-pair {
    gap: 8px;
  }
  .pm-value-small {
    padding: 12px 10px;
    gap: 7px;
  }
  .pm-value-small strong {
    font-size: 11px;
  }
  .pm-value-small small {
    font-size: 9px;
  }
  .pm-garage-visual {
    height: 380px;
    padding: 0 17px;
    grid-template-rows: 43px minmax(0, 1fr) 45px;
  }
  .pm-garage-label,
  .pm-garage-footnote {
    left: auto;
    top: auto;
    bottom: auto;
    max-width: none;
    font-size: 9px;
  }
  .pm-phone-motion {
    width: 210px;
    animation: pm-premium-device-float-mobile 6s ease-in-out infinite;
  }
}
@keyframes pm-premium-device-float-mobile {
  0%,
  100% {
    transform: translateY(0) scale(0.57);
  }
  50% {
    transform: translateY(-5px) scale(0.57);
  }
}
@media (max-width: 390px) {
  .pm-garage-visual {
    height: 360px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pm-phone-motion {
    animation: none;
    transform: scale(0.72);
  }
}
@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  .pm-phone-motion {
    transform: scale(0.57);
  }
}

/* Premium device final geometry: intrinsic height, never crop or stretch the screen.
   Keep the hardware side button outside the frame, as on How It Works. */
.pm-garage-visual {
  height: 520px;
  box-sizing: border-box;
  padding: 0 26px;
  grid-template-rows: 48px minmax(0, 1fr) 44px;
  overflow: hidden;
}
.pm-garage-label,
.pm-garage-footnote {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: none;
  text-align: left;
  justify-self: start;
  align-self: center;
  pointer-events: none;
}
.pm-phone-stage {
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: visible;
}
.pm-phone-motion {
  position: relative;
  inset: auto;
  flex: none;
  width: 230px;
  height: auto;
  transform: none;
  animation: pm-real-phone-float 6s ease-in-out infinite;
}
.pm-phone {
  position: relative;
  inset: auto;
  box-sizing: border-box;
  width: 115%;
  height: auto;
  padding: 8px;
  overflow: visible;
  border-radius: 35px;
  transform: rotate(7deg);
  transform-origin: center;
}
.pm-phone-screen {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  transform: none;
  border-radius: 27px;
  overflow: hidden;
}
.pm-phone-side {
  display: block;
  position: absolute;
  left: -5px;
  top: 76px;
  width: 5px;
  height: 56px;
  background: linear-gradient(90deg, #17271d, #5c6e60);
  border: 1px solid #253a2c;
  border-radius: 4px 0 0 4px;
  box-shadow: -2px 2px 3px #173d2624;
}
@keyframes pm-real-phone-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
@media (max-width: 900px) {
  .pm-garage-visual {
    height: 510px;
  }
}
@media (max-width: 600px) {
  .pm-garage-visual {
    height: 465px;
    padding: 0 18px;
    grid-template-rows: 43px minmax(0, 1fr) 44px;
  }
  .pm-phone-motion {
    width: min(210px, 53vw);
    animation: pm-real-phone-float 6s ease-in-out infinite;
  }
  .pm-garage-label,
  .pm-garage-footnote {
    font-size: 9px;
  }
}
@media (max-width: 390px) {
  .pm-garage-visual {
    height: 445px;
  }
  .pm-phone-motion {
    width: min(195px, 53vw);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pm-phone-motion {
    animation: none;
    transform: none;
  }
}

/* Containment-only correction: scale the complete device (including side button)
   uniformly. The phone remains in normal flex layout and floats as one unit. */
.pm-phone-motion {
  transform: scale(0.78);
  transform-origin: center center;
  animation: pm-contained-phone-float 6s ease-in-out infinite;
}
@keyframes pm-contained-phone-float {
  0%,
  100% {
    transform: translateY(0) scale(0.78);
  }
  50% {
    transform: translateY(-6px) scale(0.78);
  }
}
@media (max-width: 600px) {
  .pm-phone-motion {
    transform: scale(0.68);
    animation: pm-contained-phone-float-mobile 6s ease-in-out infinite;
  }
}
@keyframes pm-contained-phone-float-mobile {
  0%,
  100% {
    transform: translateY(0) scale(0.68);
  }
  50% {
    transform: translateY(-4px) scale(0.68);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pm-phone-motion {
    animation: none;
    transform: scale(0.78);
  }
}
@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  .pm-phone-motion {
    transform: scale(0.68);
  }
}
h1#pm-title {
  text-transform: capitalize;
}
