@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:wght@600;700;800&family=Satisfy&display=swap");

.lp-miles {
  --cream: #fdfbf7;
  --green: #023020;
  --green-mid: #0a3d2e;
  --soft-yellow: #fff5c2;
  --gold: #FAC346;
  --ink: #1a2a24;
  --body: #1e2420;
  --white: #ffffff;
  --peach: #f3c9a8;
  --coral: #e8a090;
  --mint: #a8d5c4;
  --line: rgba(2, 48, 32, 0.1);
  --radius: 18px;
  --radius-lg: 28px;
  --max: 70%;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
  --script: "Satisfy", cursive;

  width: 100%;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow: hidden;
}

.lp-miles,
.lp-miles * {
  box-sizing: border-box;
}

.lp-miles img {
  display: block;
  max-width: 100%;
}

.lp-miles a {
  text-decoration: none;
  color: inherit;
}

.lp-miles p,
.lp-miles h1,
.lp-miles h2,
.lp-miles h3,
.lp-miles ul {
  margin: 0;
}

.lp-miles .inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}

.lp-miles .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lp-miles .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 0;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-miles .btn-green {
  background: var(--green);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(2, 48, 32, 0.28);
}

.lp-miles .btn-green:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
}

.lp-miles .btn-gold {
  background: var(--gold);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(201, 162, 39, 0.35);
}

.lp-miles .btn-gold:hover {
  background: #b8921f;
  transform: translateY(-1px);
}

/* ===== 1. Hero ===== */
.lp-miles .hero {
  position: relative;
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 100px);
  --shop-bg-image: url("./assets/miles-hero.jpg");
  background:
    linear-gradient(
      90deg,
      rgb(255 255 255 / 55%) 0%,
      rgb(255 249 249 / 92%) 14%,
      rgb(250 236 236 / 45%) 42%,
      rgb(195 175 175 / 0%) 72%
    ),
    var(--shop-bg-image) center / cover no-repeat;
}

.lp-miles .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.lp-miles .hero-grid .hero-copy {
  min-width: 0;
  max-width: 100%;
}
.lp-miles .hero-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.4vw, 3.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--green);
  margin-bottom: 28px;
  max-width: 14ch;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.lp-miles .hero-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
}

.lp-miles .hero-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15.5px;
  color: var(--body);
  min-width: 0;
}

.lp-miles .hero-features li > span:not(.hero-icon) {
  min-width: 0;
  flex: 1 1 auto;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.lp-miles .hero-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(2, 48, 32, 0.08);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-miles .hero-icon svg {
  width: 20px;
  height: 20px;
}

.lp-miles .hero-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--body);
  min-width: 0;
  max-width: 100%;
}

.lp-miles .hero-note svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.lp-miles .hero-note > *:not(svg) {
  min-width: 0;
  flex: 1 1 auto;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* 参考图已含右侧人物，保留栅格占位但不显示前景图 */
.lp-miles .hero-visual {
  position: relative;
  min-height: 420px;
  visibility: hidden;
  pointer-events: none;
}

.lp-miles .hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(2, 48, 32, 0.18);
  aspect-ratio: 4 / 5;
  max-height: 520px;
}

.lp-miles .hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.lp-miles .hero-book {
  position: absolute;
  left: -8%;
  bottom: 6%;
  width: min(42%, 200px);
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  background-image: url("https://images.unsplash.com/photo-1544947950-fa07a98d237f?auto=format&fit=crop&w=500&q=80");
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 40px rgba(2, 48, 32, 0.28);
  border: 3px solid var(--cream);
}

/* ===== 2. Problem ===== */
.lp-miles .problem {
  background: #FBFDED;
  padding: clamp(28px, 4vw, 48px) 0;
}

.lp-miles .problem .inner {
  max-width: min(1280px, calc(100% - 32px));
}

.lp-miles .problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.lp-miles .problem-copy {
  background: transparent;
  color: var(--ink);
  display: block;
  clip-path: none;
  padding: 0;
  min-width: 0;
}

.lp-miles .problem-copy h2 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--green);
  margin-bottom: 10px;
  max-width: 22ch;
}

.lp-miles .problem-copy > p {
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: none;
  margin-bottom: 14px;
}

.lp-miles .quote-chips {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 18px;
}

.lp-miles .quote-chip {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fcfcf7;
  color: var(--green);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
  padding: 10px 12px 12px;
  border-radius: 14px;
  border: 1.5px solid #57d6aa;
  box-shadow: 0 6px 14px rgba(2, 48, 32, 0.1);
}

/* Speech-bubble tail (bottom-left) */
.lp-miles .quote-chip::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: -6px;
  width: 11px;
  height: 11px;
  background: #fcfcf7;
  border-right: 1.5px solid #57d6aa;
  border-bottom: 1.5px solid #57d6aa;
  transform: rotate(45deg);
  box-shadow: 2px 2px 3px rgba(2, 48, 32, 0.06);
}

.lp-miles .problem-media {
  position: relative;
  --shop-bg-image: url("https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=1000&q=80");
  background-image: var(--shop-bg-image);
  background-size: cover;
  background-position: center;
  min-height: 0;
  aspect-ratio: 16 / 10;
  max-height: 340px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(2, 48, 32, 0.12);
}

.lp-miles .problem-media-caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-family: var(--script);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.lp-miles .outcomes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.lp-miles .outcome {
  text-align: center;
  padding: 2px;
}

.lp-miles .outcome-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin: 0 auto 8px;
  color: #fff;
  box-shadow: 0 6px 14px rgba(2, 48, 32, 0.12);
}

.lp-miles .outcome-dot svg {
  width: 22px;
  height: 22px;
}

.lp-miles .outcome-dot--gold { background: var(--gold); }
.lp-miles .outcome-dot--peach { background: #c47a4a; }
.lp-miles .outcome-dot--coral { background: #c45c4a; }
.lp-miles .outcome-dot--mint { background: #2d6b5a; }

.lp-miles .outcome h3 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0;
  line-height: 1.35;
}

.lp-miles .outcome p {
  display: none;
}

/* ===== 3. Know ===== */
.lp-miles .know {
  position: relative;
  padding: clamp(20px, 3vw, 36px) 0;
  background: var(--cream);
}

.lp-miles .know .inner {
  max-width: min(1280px, calc(100% - 24px));
}

.lp-miles .know-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
}

.lp-miles .know-media {
  position: relative;
  min-height: 0;
  height: 100%;
  align-self: stretch;
  display: flex;
}

.lp-miles .know-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1 1 auto;
  aspect-ratio: auto;
  max-height: none;
  border-radius: var(--radius-lg);
  --shop-bg-image: url("./assets/miles-know.jpg");
  background-image: var(--shop-bg-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow: none;
}

.lp-miles .know-sticky {
  position: absolute;
  left: 4%;
  bottom: 8%;
  width: 132px;
  padding: 12px 10px;
  background: #ffe566;
  color: var(--ink);
  font-family: var(--script);
  font-size: 1.05rem;
  line-height: 1.25;
  transform: rotate(-7deg);
  box-shadow: 0 10px 22px rgba(2, 48, 32, 0.16);
  z-index: 1;
  /* Photo already includes sticky — hide duplicate overlay */
  display: none;
}

.lp-miles .know-copy {
  position: relative;
  padding: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(8px, 1.2vw, 14px);
  height: 100%;
}

.lp-miles .know-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 170px);
  gap: clamp(12px, 2vw, 20px);
  align-items: start;
  margin-bottom: 0;
}

.lp-miles .know-head-main {
  min-width: 0;
}

.lp-miles .know h2 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1.12;
  margin-bottom: 6px;
  max-width: none;
}

.lp-miles .know-underline {
  text-decoration: underline;
  text-decoration-color: #e8b84a;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.lp-miles .know-lead {
  color: var(--body);
  font-size: 13.5px;
  line-height: 1.45;
  margin: 0;
  max-width: none;
}

.lp-miles .know-lead em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--green);
}

.lp-miles .know-bubble {
  position: relative;
  background: #dfeee4;
  color: var(--green);
  font-family: var(--script);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.3;
  padding: 12px 12px;
  border-radius: 48% 52% 45% 55% / 42% 48% 52% 58%;
  text-align: center;
  box-shadow: 0 8px 20px rgba(2, 48, 32, 0.08);
}

.lp-miles .know-spark {
  position: absolute;
  top: -2px;
  right: 8px;
  color: var(--green);
  font-size: 12px;
}

.lp-miles .compare-row {
  display: flex;
  align-items: stretch;
  gap: clamp(8px, 1.2vw, 12px);
  flex-wrap: nowrap;
  margin-bottom: 0;
  width: 100%;
}

.lp-miles .compare-card {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 8px 22px rgba(2, 48, 32, 0.06);
  min-width: 0;
}

.lp-miles .compare-card--basic {
  background: #e6f2ea;
}

.lp-miles .compare-card--mature {
  background: var(--soft-yellow);
}

.lp-miles .compare-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.lp-miles .compare-icon--basic {
  background: var(--green);
}

.lp-miles .compare-icon--mature {
  background: #d4a017;
}

.lp-miles .compare-icon svg {
  width: 15px;
  height: 15px;
}

.lp-miles .compare-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 2px;
  text-transform: none;
  letter-spacing: 0;
}

.lp-miles .compare-card p {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.35;
  margin: 0;
}

.lp-miles .compare-arrow {
  align-self: center;
  font-size: 1.2rem;
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.lp-miles .know-bottom {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(12px, 2vw, 24px);
  align-items: center;
  padding-top: 0;
  width: 100%;
}

.lp-miles .know-note {
  position: relative;
  color: var(--body);
  font-family: var(--serif);
  font-size: clamp(0.78rem, 1.3vw, 0.92rem);
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  padding-right: clamp(12px, 2vw, 20px);
}

.lp-miles .know-note::after {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  right: 0;
  width: 1px;
  background: rgba(2, 48, 32, 0.18);
}

.lp-miles .know-pills {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(6px, 1.2vw, 14px);
  width: 100%;
}

.lp-miles .know-pill {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.lp-miles .know-pill-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
}

.lp-miles .know-pill-icon svg {
  width: 18px;
  height: 18px;
}

.lp-miles .know-pill-icon--mint {
  background: #cfe8d8;
}

.lp-miles .know-pill-icon--peach {
  background: #f3d4b8;
}

.lp-miles .know-pill-icon--coral {
  background: #f0c4bc;
}

.lp-miles .know-pill-icon--sky {
  background: #c9dceb;
}

.lp-miles .know-pill-label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  line-height: 1.25;
}

/* ===== 4. Video ===== */
.lp-miles .video-sec {
  padding: clamp(40px, 6vw, 72px) 0;
  background: #FBFDED;
}

.lp-miles .video-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: #FDFFF5;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 24px 50px rgba(2, 48, 32, 0.25);
}

.lp-miles .video-thumb {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  /* background: #012018; */
}

.lp-miles .video-thumb .sir-video,
.lp-miles .video-thumb video {
  display: block;
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  object-position: center;
  border-radius: 22px;
  /* background: #012018; */
}

.lp-miles .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  z-index: 2;
  padding: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lp-miles .play-btn:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.lp-miles .play-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--green);
}

.lp-miles .video-thumb.is-playing .play-btn {
  opacity: 0;
  pointer-events: none;
}

.lp-miles .video-copy h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}

.lp-miles .video-copy p {
  color: var(--green);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 32rem;
}

.lp-miles .video-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lp-miles .video-pills span {
  background: #FFF7B8;
  border: 1.5px solid var(--gold);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
}

/* ===== 5. Diff ===== */
.lp-miles .diff {
  position: relative;
  --shop-bg-image: url("./assets/miles-diff.jpg");
  /* 左侧压暗保文字可读，约 55% 起右侧完全透出原图 */
  background:
    linear-gradient(
      90deg,
      rgb(0 0 0 / 88%) 0%,
      rgb(0 0 0 / 72%) 22%,
      rgb(0 0 0 / 38%) 42%,
      rgb(0 0 0 / 0%) 55%
    ),
    var(--shop-bg-image) right center / cover no-repeat;
  color: #fff;
}

.lp-miles .diff-shell {
  padding-top: clamp(30px, 7vw, 40px);
}

.lp-miles .diff-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: end;
  padding-bottom: clamp(36px, 5vw, 56px);
}

.lp-miles .diff-copy {
  min-width: 0;
  max-width: 100%;
}

.lp-miles .diff-copy h2 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 14px;
  max-width: 16ch;
}

.lp-miles .diff-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 38rem;
  margin-bottom: 28px;
}

.lp-miles .diff-boxes {
  display: flex;
  align-items: stretch;
  gap: 14px;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}

.lp-miles .diff-box {
  flex: 1 1 190px;
  min-width: 0;
  max-width: 100%;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
}

.lp-miles .diff-box--white {
  background: var(--white);
  color: var(--ink);
}

.lp-miles .diff-box--yellow {
  background: #fdf6d4;
  color: var(--ink);
}

.lp-miles .diff-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}

.lp-miles .diff-box--yellow .diff-label {
  display: inline-block;
  background: #ffe58a;
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 14px;
  font-size: 13px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* 换行时浏览器常插入 div，不能只写 p，否则会继承外层白色 */
.lp-miles .diff-box p,
.lp-miles .diff-box div,
.lp-miles .diff-box span:not(.diff-label),
.lp-miles .diff-box [contenteditable="true"],
.lp-miles .diff-box [data-shop-text-edit] {
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.45;
  font-weight: 500;
}

.lp-miles .diff-arrow {
  align-self: center;
  color: #fff;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
}

.lp-miles .diff-media {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 380px;
  /* 参考图右侧已含书本，保留栅格占位但不显示前景图 */
  visibility: hidden;
  pointer-events: none;
}

.lp-miles .diff-media img {
  width: min(100%, 270px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.45));
  transform: translateY(8px);
}

.lp-miles .diff-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding: 22px 0 28px;
}

.lp-miles .diff-bar-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
}

.lp-miles .diff-bar-lead {
  color: #fff;
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 700;
  line-height: 1.45;
  padding-right: clamp(16px, 3vw, 28px);
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.lp-miles .diff-bar-note {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 40rem;
}

/* ===== 6. Book Comparison ===== */
.lp-miles .books-cmp {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding: clamp(56px, 8vw, 96px) 0;
}

.lp-miles .books-cmp-head {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.lp-miles .books-cmp-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-bottom: 14px;
}

.lp-miles .books-cmp-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1.25;
  margin: 0;
  max-width: 16ch;
}

.lp-miles .books-cmp-sparks {
  display: inline-flex;
  color: #7eb89a;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0.35em;
}

.lp-miles .books-cmp-sparks--right {
  transform: scaleX(-1);
}

.lp-miles .books-cmp-mark {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

.lp-miles .books-cmp-stroke {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -2px;
  width: 104%;
  height: 12px;
  color: #e8b84a;
  display: block;
  pointer-events: none;
}

.lp-miles .books-cmp-lead {
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 40rem;
  margin: 0 auto;
}

.lp-miles .books-cmp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  align-items: stretch;
}

.lp-miles .books-cmp-card {
  border-radius: 26px;
  padding: 22px 18px 18px;
  box-shadow: 0 16px 36px rgba(2, 48, 32, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.lp-miles .books-cmp-card--side {
  background: #fff6d8;
}

.lp-miles .books-cmp-card--feature {
  background: var(--green);
  padding: 26px 18px 18px;
  transform: translateY(-10px);
  box-shadow: 0 22px 44px rgba(2, 48, 32, 0.22);
}

.lp-miles .books-cmp-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 4px 8px 18px;
}

.lp-miles .books-cmp-icon {
  display: inline-flex;
  color: var(--green);
}

.lp-miles .books-cmp-card--feature .books-cmp-icon {
  color: #fff;
}

.lp-miles .books-cmp-card h3 {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1.3;
  margin: 0;
  padding-bottom: 10px;
  max-width: 14ch;
}

.lp-miles .books-cmp-card--feature h3 {
  color: #fff;
}

.lp-miles .books-cmp-title-stroke {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100%, 140px);
  height: 10px;
  color: #e8b84a;
  display: block;
  pointer-events: none;
}

.lp-miles .books-cmp-card--feature .books-cmp-title-stroke {
  color: #9ed4b4;
}

.lp-miles .books-cmp-list {
  list-style: none;
  margin: 0;
  padding: 18px 16px;
  background: #fff;
  border-radius: 18px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-miles .books-cmp-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.45;
  font-weight: 500;
}

.lp-miles .books-cmp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #e8a05a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.lp-miles .books-cmp-card--feature .books-cmp-list li::before {
  background-color: var(--green);
}

.lp-miles .books-cmp-leaf {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: clamp(160px, 22vw, 280px);
  height: clamp(140px, 18vw, 220px);
  background: url("https://images.unsplash.com/photo-1497250681960-ef046c08a56e?auto=format&fit=crop&w=600&q=80") center / cover no-repeat;
  opacity: 0.28;
  pointer-events: none;
  mask-image: linear-gradient(225deg, #000 20%, transparent 80%);
  -webkit-mask-image: linear-gradient(225deg, #000 20%, transparent 80%);
  filter: saturate(1.1);
}

/* ===== 7. Testimonials ===== */
.lp-miles .testimonials {
  background-image: url("https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
}

.lp-miles .testimonials-overlay {
  /* background: linear-gradient(90deg, rgba(1, 26, 20, 0.88) 0%, rgba(1, 26, 20, 0.55) 45%, rgba(1, 26, 20, 0.25) 100%); */
  padding: clamp(56px, 8vw, 96px) 0;
}

.lp-miles .testimonials-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 2.25fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.lp-miles .testimonials-intro h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #064846;
  margin-bottom: 12px;
}

.lp-miles .testimonials-intro .stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 18px;
  margin-bottom: 6px;
}

.lp-miles .reviews-count {
  color: #064846;
  font-size: 15px;
  font-weight: 600;
}

.lp-miles .testimonial-cards,
.lp-miles .testi-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "prev viewport next"
    "dots dots dots";
  align-items: center;
  gap: 10px 10px;
  row-gap: 18px;
  min-width: 0;
  width: 100%;
  --testi-gap: clamp(14px, 2vw, 22px);
  --testi-cols: 3;
}

.lp-miles .testi-nav--prev {
  grid-area: prev;
}

.lp-miles .testi-viewport {
  grid-area: viewport;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  container-type: inline-size;
  container-name: testi;
}

.lp-miles .testi-nav--next {
  grid-area: next;
}

.lp-miles .testi-dots {
  grid-area: dots;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.lp-miles .testi-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(2, 48, 32, 0.22);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, width 0.2s ease;
}

.lp-miles .testi-dot:hover {
  background: rgba(2, 48, 32, 0.45);
  transform: scale(1.12);
}

.lp-miles .testi-dot.is-on {
  background: var(--green);
  width: 22px;
  border-radius: 999px;
  transform: none;
}

.lp-miles .testi-track {
  display: flex;
  gap: var(--testi-gap);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.lp-miles .testi-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(2, 48, 32, 0.28);
  background: #fff;
  color: var(--green);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  box-shadow: 0 6px 16px rgba(2, 48, 32, 0.12);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lp-miles .testi-nav:hover {
  background: var(--green);
  color: #fff;
  transform: scale(1.04);
}

.lp-miles .t-card,
.lp-miles .testi-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #faf9f6;
  border-radius: 28px;
  padding: clamp(22px, 2.5vw, 32px) clamp(20px, 2.2vw, 28px) clamp(24px, 2.5vw, 30px);
  box-shadow: 0 18px 40px rgba(2, 48, 32, 0.12);
  flex: 0 0 calc((100cqi - (var(--testi-cols) - 1) * var(--testi-gap)) / var(--testi-cols));
  width: calc((100cqi - (var(--testi-cols) - 1) * var(--testi-gap)) / var(--testi-cols));
  min-width: 0;
  box-sizing: border-box;
}

.lp-miles .t-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.lp-miles .t-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 0;
  margin: 0;
  flex-shrink: 0;
}

.lp-miles .t-mark {
  display: block;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 5vw, 4.4rem);
  line-height: 0.7;
  font-weight: 700;
  color: #f3d48a;
  margin: 0;
  padding-top: 2px;
}

.lp-miles .t-stars {
  display: none;
}

.lp-miles .t-quote {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  font-weight: 700;
  line-height: 1.3;
  color: #023020;
  margin: 0 0 12px;
}

.lp-miles .t-body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: #5a655f;
  margin: 0;
  flex: 1 1 auto;
}

.lp-miles .t-rule {
  display: block;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: #f0b429;
  margin: 22px 0 14px;
}

.lp-miles .t-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #023020;
  margin: 0;
}

.lp-miles .t-role {
  font-family: var(--sans);
  font-size: 13px;
  color: #5a655f;
  font-weight: 500;
  margin-top: 4px;
}

/* ===== 8. Imagine ===== */
.lp-miles .imagine {
  background: var(--cream);
  padding: clamp(28px, 4vw, 48px) 0;
}

.lp-miles .imagine .inner {
  max-width: min(1280px, calc(100% - 24px));
}

.lp-miles .imagine-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.42fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
}

.lp-miles .imagine-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 16px);
  height: 100%;
  min-height: 0;
  padding: 4px 0;
}

.lp-miles .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.lp-miles .imagine-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--green);
  margin: 0;
  max-width: 14ch;
}

.lp-miles .spark {
  display: inline-block;
  color: var(--gold);
  font-size: 0.7em;
  margin-left: 6px;
  vertical-align: super;
  line-height: 1;
}

.lp-miles .imagine-sub {
  color: var(--body);
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 28rem;
  margin: 0;
}

.lp-miles .imagine-head .btn {
  margin-top: 4px;
}

.lp-miles .imagine-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 16px);
  align-items: stretch;
  height: 100%;
  min-width: 0;
  min-height: 0;
  width: 100%;
  max-width: 100%;
}

.lp-miles .imagine-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  padding-bottom: 0;
  box-shadow: 0 10px 24px rgba(2, 48, 32, 0.08);
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.lp-miles .imagine-photo {
  width: 100%;
  max-width: 100%;
  height: clamp(88px, 12vw, 120px);
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  border-radius: 14px 14px 0 0;
}

.lp-miles .imagine-icon {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 14px;
  border-radius: 50%;
  background: #cfe8d8;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(2, 48, 32, 0.12);
  border: 2px solid #fff;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.lp-miles .imagine-icon--teal,
.lp-miles .imagine-icon--green,
.lp-miles .imagine-icon--navy,
.lp-miles .imagine-icon--coral {
  background: #cfe8d8;
  color: var(--green);
}

.lp-miles .imagine-icon svg {
  width: 18px;
  height: 18px;
}

.lp-miles .imagine-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 14px 16px;
  flex: 1 1 auto;
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.lp-miles .imagine-card-body::after {
  content: "";
  width: 28px;
  height: 2px;
  background: #e8a05a;
  border-radius: 2px;
  margin-top: auto;
  flex-shrink: 0;
}

.lp-miles .imagine-card h3 {
  font-family: var(--serif);
  font-size: clamp(13px, 1.15vw, 15px);
  font-weight: 700;
  color: var(--green);
  margin: 0;
  padding: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.lp-miles .imagine-card p {
  font-size: 12px;
  color: var(--body);
  line-height: 1.4;
  padding: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

/* ===== 9. Author ===== */
.lp-miles .author {
  background: #fff;
  padding: clamp(40px, 7vw, 50px) 0;
  border-top: 1px solid var(--line);
}

.lp-miles .author-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.lp-miles .author-photo {
  width: 200px;
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(2, 48, 32, 0.14);
}

.lp-miles .author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.lp-miles .author-bio h2 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}

.lp-miles .author-bio p {
  color: var(--body);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.lp-miles .author-script {
  font-family: var(--script) !important;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem) !important;
  color: var(--green) !important;
  line-height: 1.3 !important;
  margin-bottom: 0 !important;
}

.lp-miles .author-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.lp-miles .stat {
  padding: 18px 16px;
  text-align: center;
  border-right: 1px solid rgba(201, 162, 39, 0.45);
  border-bottom: 1px solid rgba(201, 162, 39, 0.45);
}

.lp-miles .stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: rgba(2, 48, 32, 0.08);
  color: var(--green);
}

.lp-miles .stat-icon svg {
  width: 18px;
  height: 18px;
}

.lp-miles .stat:nth-child(2n) {
  border-right: 0;
}

.lp-miles .stat:nth-child(n + 3) {
  border-bottom: 0;
}

.lp-miles .stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--green);
  margin-bottom: 4px;
}

.lp-miles .stat span {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--body);
}

/* ===== 10. Footer CTA ===== */
.lp-miles .footer-cta {
  position: relative;
  overflow: hidden;
  --shop-bg-image: url("./assets/miles-footer-cta.png");
  background-color: #0a2e1f;
  background-image: var(--shop-bg-image);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
  color: #fff;
  padding: clamp(28px, 4vw, 48px) 0;
}

.lp-miles .footer-leaf,
.lp-miles .footer-book {
  display: none;
}

.lp-miles .footer-cta .inner {
  max-width: min(1280px, calc(100% - 32px));
}

.lp-miles .footer-cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  /* 左侧留给背景书本，中间文案+按钮，右侧订阅 — 拉开间距 */
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.95fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  padding-left: clamp(150px, 22vw, 300px);
  min-height: clamp(180px, 22vw, 240px);
}

.lp-miles .footer-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.lp-miles .footer-copy h2 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 12px;
  max-width: 16ch;
}

.lp-miles .say-mark {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.lp-miles .say-stroke {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -2px;
  width: 108%;
  height: 12px;
  color: #fccb64;
  display: block;
  pointer-events: none;
}

.lp-miles .footer-copy > p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 32rem;
  margin: 0 0 18px;
}

.lp-miles .footer-cta .btn-gold {
  background: #fccb64;
  color: var(--green) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  border-radius: 999px;
  padding: 12px 22px;
}

.lp-miles .footer-cta .btn-gold:hover {
  background: #f5bf4a;
  transform: translateY(-1px);
}

.lp-miles .footer-aside {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  padding-left: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(16px, 2vw, 24px);
  min-width: 0;
}

.lp-miles .footer-cta .subscribe {
  display: none !important;
}

.lp-miles .subscribe {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 100%;
  background: #fff;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  padding: 5px 5px 5px 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.lp-miles .subscribe-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9aa39d;
  flex-shrink: 0;
  margin-right: 6px;
}

.lp-miles .subscribe input {
  flex: 1 1 auto;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 10px 0 0;
  font-family: var(--sans);
  font-size: 14px;
  background: transparent;
  color: var(--ink);
  outline: none;
  min-width: 0;
}

.lp-miles .subscribe input::placeholder {
  color: #9aa39d;
}

.lp-miles .subscribe input:focus {
  border-color: transparent;
}

.lp-miles .subscribe button {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.lp-miles .subscribe button:hover {
  background: var(--green-mid);
}

.lp-miles .trust-strip {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 12px 20px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  width: 100%;
}

.lp-miles .trust-strip li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  flex: 1 1 0;
}

.lp-miles .trust-strip span {
  color: #fff;
  line-height: 1.3;
}

.lp-miles .trust-strip svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: #fccb64;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .lp-miles {
    --max: 100%;
  }

  /* 各区域：移动端统一内边距与居中 */
  .lp-miles .hero,
  .lp-miles .problem,
  .lp-miles .know,
  .lp-miles .video-sec,
  .lp-miles .diff,
  .lp-miles .books-cmp,
  .lp-miles .testimonials,
  .lp-miles .imagine,
  .lp-miles .author,
  .lp-miles .footer-cta {
    background-position:right center;
    padding: 20px 20px;
    margin: 0 auto;
  }

  .lp-miles .inner,
  .lp-miles .problem .inner,
  .lp-miles .know .inner,
  .lp-miles .imagine .inner,
  .lp-miles .footer-cta .inner {
    max-width: 100%;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
  }

  .lp-miles .hero-grid,
  .lp-miles .problem-layout,
  .lp-miles .know-layout,
  .lp-miles .video-panel,
  .lp-miles .diff-grid,
  .lp-miles .diff-bar-grid,
  .lp-miles .books-cmp-grid,
  .lp-miles .testimonials-grid,
  .lp-miles .author-grid,
  .lp-miles .imagine-layout,
  .lp-miles .footer-cta-grid {
    grid-template-columns: 1fr;
  }

  .lp-miles .author-photo {
    margin: 0 auto;
  }

  .lp-miles .hero-title {
    max-width: 100% !important;
    width: auto !important;
  }

  /* 编辑器拉宽留下的内联 width 在窄屏强制收回，避免横向溢出 */
  .lp-miles .hero-copy,
  .lp-miles .hero-copy [style*="width"],
  .lp-miles .hero-features,
  .lp-miles .hero-note {
    width: auto !important;
    max-width: 100% !important;
  }

  .lp-miles .hero-visual {
    min-height: 0;
    max-width: 480px;
    margin: 0 auto;
  }

  .lp-miles .hero-book {
    left: 4%;
    bottom: 4%;
  }

  .lp-miles .problem-copy {
    clip-path: none;
    padding: 0;
  }

  .lp-miles .problem-copy-inner {
    padding-right: 0;
  }

  .lp-miles .problem-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
    max-height: 280px;
  }

  .lp-miles .quote-chips {
    flex-wrap: wrap;
  }

  .lp-miles .quote-chip {
    flex: 1 1 calc(50% - 8px);
  }

  .lp-miles .outcomes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 窄屏：打平嵌套，把图片插到标题区 know-head-main 下方 */
  .lp-miles .know-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .lp-miles .know-media,
  .lp-miles .know-copy,
  .lp-miles .know-head {
    display: contents;
  }

  .lp-miles .know-head-main {
    order: 1;
  }

  .lp-miles .know-photo {
    order: 2;
    min-height: 200px;
    height: auto;
    aspect-ratio: 1024 / 535;
    max-height: 240px;
    width: 100%;
    border-radius: var(--radius-lg);
    background-size: cover;
  }

  .lp-miles .know-bubble {
    order: 3;
    max-width: 220px;
    margin: 0 auto;
  }

  .lp-miles .compare-row {
    order: 4;
  }

  .lp-miles .know-bottom {
    order: 5;
  }

  .lp-miles .know-sticky {
    order: 6;
  }

  .lp-miles .know-head,
  .lp-miles .know-bottom,
  .lp-miles .compare-row {
    grid-template-columns: 1fr;
    flex-wrap: wrap;
  }

  .lp-miles .know-note {
    padding-right: 0;
    padding-bottom: 18px;
  }

  .lp-miles .know-note::after {
    top: auto;
    bottom: 0;
    left: 0;
    right: auto;
    width: 100%;
    height: 1px;
  }

  .lp-miles .know-pills {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 12px;
  }

  .lp-miles .know-pill {
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }

  .lp-miles .compare-card {
    flex: 1 1 100%;
  }

  .lp-miles .imagine-layout {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .lp-miles .imagine-head {
    height: auto;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .lp-miles .imagine-head h2 {
    max-width: 100%;
  }

  /* 编辑器内联 width 在窄屏强制收回，避免 imagine 卡片图片/文字横向溢出 */
  .lp-miles .imagine-head,
  .lp-miles .imagine-head [style*="width"],
  .lp-miles .imagine-grid,
  .lp-miles .imagine-card,
  .lp-miles .imagine-photo,
  .lp-miles .imagine-card-body,
  .lp-miles .imagine-card-body [style*="width"] {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
  }

  .lp-miles .imagine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .lp-miles .imagine-card {
    width: 100%;
    overflow: hidden;
  }

  .lp-miles .imagine-photo {
    width: 100%;
    height: 110px;
  }

  .lp-miles .imagine-card h3,
  .lp-miles .imagine-card p {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .lp-miles .testimonial-cards,
  .lp-miles .testi-carousel {
    --testi-cols: 2;
  }

  .lp-miles .diff-copy h2 {
    max-width: none;
  }

  /* 编辑器内联 width 在窄屏强制收回，避免 diff 横向溢出 */
  .lp-miles .diff-copy,
  .lp-miles .diff-copy [style*="width"],
  .lp-miles .diff-boxes,
  .lp-miles .diff-box,
  .lp-miles .diff-bar-grid,
  .lp-miles .diff-bar-lead,
  .lp-miles .diff-bar-note {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
  }

  .lp-miles .diff-boxes {
    flex-direction: column;
  }

  .lp-miles .diff-box {
    flex: 1 1 auto;
    width: 100% !important;
  }

  .lp-miles .diff-copy h2,
  .lp-miles .diff-lead,
  .lp-miles .diff-box p,
  .lp-miles .diff-box div,
  .lp-miles .diff-label {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .lp-miles .diff-media {
    min-height: 0;
  }

  .lp-miles .diff-media img {
    width: min(100%, 280px);
    transform: none;
  }

  .lp-miles .diff-bar-lead {
    border-right: 0;
    padding-right: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .lp-miles .books-cmp-card--feature {
    transform: none;
  }

  .lp-miles .books-cmp-sparks {
    display: none;
  }

  .lp-miles .footer-cta-grid {
    padding-left: 0;
    gap: 28px;
    min-height: 0;
    text-align: center;
  }

  .lp-miles .footer-copy {
    text-align: center;
    align-items: center;
  }

  .lp-miles .footer-copy h2 {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .lp-miles .footer-copy > p {
    margin-left: auto;
    margin-right: auto;
  }

  .lp-miles .footer-aside {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    padding-top: 22px;
    align-items: center;
  }

  .lp-miles .subscribe {
    max-width: 420px;
    margin: 0 auto;
  }

  .lp-miles .trust-strip {
    justify-content: center;
  }

  .lp-miles .trust-strip li {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .lp-miles .hero,
  .lp-miles .problem,
  .lp-miles .know,
  .lp-miles .video-sec,
  .lp-miles .diff,
  .lp-miles .books-cmp,
  .lp-miles .testimonials,
  .lp-miles .imagine,
  .lp-miles .author,
  .lp-miles .footer-cta {
    padding: 20px 20px;
    margin: 0 auto;
    background-position:right center
  }

  .lp-miles .inner,
  .lp-miles .problem .inner,
  .lp-miles .know .inner,
  .lp-miles .imagine .inner,
  .lp-miles .footer-cta .inner {
    max-width: 100%;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
  }

  .lp-miles .quote-chips {
    flex-wrap: wrap;
  }

  .lp-miles .quote-chip {
    flex: 1 1 calc(50% - 6px);
    min-width: calc(50% - 6px);
  }

  .lp-miles .hero {
    /* 覆盖 HTML 内联 background-image，固定移动端压暗渐变 */
    background-image:
      linear-gradient(
        90deg,
        rgb(255 255 255 / 70%) 0%,
        rgb(255 249 249 / 88%) 50%,
        rgb(250 236 236 / 40%) 100%,
        rgb(195 175 175 / 0%) 88%
      ),
      var(--shop-bg-image) !important;
    background-size: cover !important;
    background-position: 80% center !important;
    background-repeat: no-repeat !important;
  }

  .lp-miles .imagine-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-miles .imagine-photo {
    height: clamp(140px, 42vw, 180px);
  }

  .lp-miles .testimonial-cards,
  .lp-miles .testi-carousel {
    --testi-cols: 1;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "viewport"
      "dots";
  }

  .lp-miles .testi-nav {
    display: none;
  }

  .lp-miles .outcomes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .lp-miles .compare-arrow,
  .lp-miles .diff-arrow {
    width: 100%;
    text-align: center;
  }

  .lp-miles .know-photo {
    min-height: 160px;
    max-height: 220px;
  }

  .lp-miles .hero-title {
    font-size: 2rem;
  }

  .lp-miles .diff-media {
    min-height: 0;
  }

  .lp-miles .author-stats {
    max-width: 320px;
    margin: 0 auto;
  }

  .lp-miles .trust-strip {
    flex-direction: row;
    justify-content: center;
    gap: 18px 24px;
  }
}


/* ---- Editor-resized / moved elements: keep inside the viewport ---- */
/* Fixed widths from the editor resize handle (matches width: but not max-width:). */
.lp-miles [style^="width:"],
.lp-miles [style*=" width:"],
.lp-miles [style*=";width:"] {
  max-width: 100% !important;
}

@media (max-width: 960px) {
  .lp-miles [style^="width:"],
  .lp-miles [style*=" width:"],
  .lp-miles [style*=";width:"] {
    width: auto !important;
  }
}

@media (max-width: 767px) {
  .lp-miles [style*="position: relative"][style*="left:"] {
    left: 0 !important;
  }
}
