/* Phase 3B: user-approved STAGING-only pilot for high-ticket, support, and price. */

@media (max-width: 840px) {
  /* High-ticket: artwork-led hybrid. Tablet keeps the PC master; phone keeps
     the approved asset-backed composition with live copy and CTA. */
  body.sp-phase2-active #pc-high-ticket,
  body.sp-phase2-active #trial-sp { margin: 0 auto !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
  body.sp-phase2-active #pc-high-ticket { background: linear-gradient(90deg,#0872c8 0%,#075aaa 14%,#003f83 38%,#00366f 70%,#002f63 100%) !important; }
  body.sp-phase2-active #pc-high-ticket .pc-high-ticket { aspect-ratio: 1672 / 941 !important; background: #00366f !important; }
  body.sp-phase2-active #pc-high-ticket .pc-high-ticket-visual img { object-fit: contain !important; object-position: center !important; }

  /* Support: retain the PC photo, diagonal masks, display type, wave, icon
     placement and compact near-square card language. */
  body.sp-phase2-active #trial {
    position: relative !important;
    isolation: isolate;
    padding: 48px 18px 62px !important;
    overflow: hidden !important;
    color: #0b3150 !important;
    background: linear-gradient(180deg,#fff 0%,#f0faff 61%,#dbf5ff 100%) !important;
  }
  body.sp-phase2-active #trial .pc-support840-inner { position: relative !important; z-index: 1; display: flex !important; width: min(100%,680px) !important; margin: 0 auto !important; flex-direction: column !important; }
  body.sp-phase2-active #trial .pc-support840-eyebrow { position: relative !important; z-index: 5; margin: 0 0 4px !important; color: #056eba !important; text-align: left !important; font-size: 13px !important; font-weight: 700 !important; }
  body.sp-phase2-active #trial .pc-support840-eyebrow i { display: inline-block !important; width: 34px !important; height: 2px !important; margin: 0 9px 4px 0; vertical-align: middle; background: #056eba !important; }
  body.sp-phase2-active #trial h2 { position: relative !important; z-index: 5; width: 100% !important; max-width: 650px; margin: 0 !important; text-align: left !important; }
  body.sp-phase2-active #trial h2 span { color: #041a4a !important; font-size: clamp(25px,6.7vw,38px) !important; line-height: 1.28 !important; }
  body.sp-phase2-active #trial h2 strong { color: #056eba !important; font-size: clamp(38px,10.5vw,56px) !important; line-height: 1.08 !important; }
  body.sp-phase2-active #trial .pc-support840-lead { position: relative !important; z-index: 5; max-width: 450px; margin: 14px 0 0 !important; color: #173c58 !important; text-align: left !important; font-size: 14px !important; line-height: 1.85 !important; }
  body.sp-phase2-active #trial .pc-support840-lead br { display: none !important; }

  body.sp-phase2-active #trial .pc-support840-eyebrow { order: 1; }
  body.sp-phase2-active #trial h2 { order: 2; }
  body.sp-phase2-active #trial .pc-support840-lead { order: 3; }
  body.sp-phase2-active #trial .pc-support840-photo {
    position: relative !important; z-index: 1; left: 50% !important; top: auto !important;
    display: block !important; width: calc(100% + 36px) !important; height: clamp(218px,55vw,340px) !important;
    margin: 24px 0 0 !important; overflow: hidden; transform: translateX(-50%) !important;
    order: 4;
    background: url("assets/support-840/city.webp") right top / auto 300% no-repeat;
    clip-path: polygon(15% 0,100% 0,100% 100%,0 100%);
  }
  body.sp-phase2-active #trial .pc-support840-photo img { display: none !important; }
  body.sp-phase2-active #trial .pc-support840-photo-mask,
  body.sp-phase2-active #trial .pc-support840-slash { display: none !important; }
  body.sp-phase2-active #trial .pc-support840-photo-mask { left: 18% !important; width: 84% !important; }
  body.sp-phase2-active #trial .pc-support840-slash { left: 4% !important; width: 100% !important; opacity: .92; }
  body.sp-phase2-active #trial .pc-support840-english { display: none !important; }

  body.sp-phase2-active #trial .pc-support840-cards { position: relative !important; z-index: 5; display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px !important; width: 100% !important; margin: 18px 0 0 !important; order: 5; }
  body.sp-phase2-active #trial .pc-support840-card { position: relative !important; inset: auto !important; width: 100% !important; min-height: 238px !important; padding: 22px 20px 20px !important; border: 1px solid rgba(99,184,237,.18) !important; border-radius: 10px !important; background: rgba(255,255,255,.97) !important; box-shadow: 0 7px 22px rgba(23,89,143,.10) !important; }
  body.sp-phase2-active #trial .pc-support840-cardtop { position: static !important; display: flex !important; width: 100% !important; height: 64px !important; align-items: flex-start !important; justify-content: space-between !important; }
  body.sp-phase2-active #trial .pc-support840-cardtop span { position: relative !important; display: block !important; width: auto !important; height: auto !important; border-radius: 0 !important; color: #056eba !important; background: transparent !important; font-size: 18px !important; font-weight: 700 !important; line-height: 1.35 !important; }
  body.sp-phase2-active #trial .pc-support840-cardtop span::after { position: absolute; left: 0; bottom: -9px; width: 46px; height: 1px; background: #63b8ed; content: ""; }
  body.sp-phase2-active #trial .pc-support840-cardtop img { position: static !important; width: 58px !important; height: 58px !important; object-fit: contain !important; }
  body.sp-phase2-active #trial .pc-support840-card h3 { position: static !important; margin: 5px 0 9px !important; color: #041a4a !important; font-size: 21px !important; line-height: 1.4 !important; }
  body.sp-phase2-active #trial .pc-support840-card p { position: static !important; margin: 0 !important; color: #173651 !important; font-size: 14px !important; line-height: 1.75 !important; }
  body.sp-phase2-active #trial .pc-support840-card p br { display: none !important; }
  body.sp-phase2-active #trial .pc-support840-cta { position: relative !important; z-index: 5; display: flex !important; width: min(100%,475px) !important; min-height: 66px !important; margin: 26px auto 0 !important; border-radius: 999px !important; background: linear-gradient(100deg,#045ab1,#0797c7) !important; box-shadow: 0 9px 24px rgba(0,73,139,.18) !important; order: 6; }
  body.sp-phase2-active #trial .pc-support840-wave { position: absolute !important; z-index: 0; left: 50% !important; bottom: -24px !important; top: auto !important; display: block !important; width: calc(100vw + 30px) !important; height: 220px !important; transform: translateX(-50%) !important; pointer-events: none; }

  /* Price: keep the featured central plan visually dominant. */
  body.sp-phase2-active #price {
    position: relative !important; isolation: isolate; height: auto !important; min-height: 0 !important; aspect-ratio: auto !important; padding: 54px 16px 64px !important; overflow: hidden !important;
    color: #041b4d !important;
    background: radial-gradient(circle at 52% 40%,rgba(255,255,255,.98) 0 20%,rgba(250,254,255,.82) 55%,rgba(226,245,255,.74) 100%),linear-gradient(145deg,#f8fdff,#eaf8ff) !important;
  }
  body.sp-phase2-active #price::before,
  body.sp-phase2-active #price::after { position: absolute; z-index: -1; width: 360px; height: 360px; border: 34px solid rgba(184,226,252,.29); border-radius: 50%; content: ""; }
  body.sp-phase2-active #price::before { left: -270px; top: -230px; }
  body.sp-phase2-active #price::after { right: -275px; bottom: -250px; }
  body.sp-phase2-active #price .pc-price-master-inner { width: min(100%,680px) !important; margin: 0 auto !important; }
  body.sp-phase2-active #price .pc-price-master-en { display: flex !important; align-items: center !important; justify-content: center !important; gap: 18px !important; color: #0869df !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: .45em !important; }
  body.sp-phase2-active #price .pc-price-master-en::before,
  body.sp-phase2-active #price .pc-price-master-en::after { width: 52px !important; height: 1px !important; background: #0873ed !important; content: ""; }
  body.sp-phase2-active #price .pc-price-master-head h2 { margin: 20px 0 0 !important; color: #031747 !important; font-size: clamp(32px,8.6vw,46px) !important; font-weight: 900 !important; line-height: 1.12 !important; }
  body.sp-phase2-active #price .pc-price-master-head h2 span { color: #0966dd !important; }
  body.sp-phase2-active #price .pc-price-master-sub { margin: 14px 0 0 !important; color: #263d68 !important; font-size: 14px !important; line-height: 1.65 !important; }
  body.sp-phase2-active #price .pc-price-master-cards { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px !important; margin-top: 30px !important; }
  body.sp-phase2-active #price .pc-price-master-card { position: relative !important; inset: auto !important; display: flex !important; width: 100% !important; min-height: 330px !important; flex-direction: column !important; align-items: center !important; justify-content: flex-start !important; padding: 25px 20px 22px !important; border: 1px solid rgba(205,230,244,.9) !important; border-radius: 16px !important; background: rgba(255,255,255,.94) !important; box-shadow: 0 10px 25px rgba(11,83,144,.07) !important; text-align: center !important; }
  body.sp-phase2-active #price .pc-price-master-main { order: -1; grid-column: 1 / -1; min-height: 438px !important; padding-top: 54px !important; border: 2px solid #42aff7 !important; box-shadow: 0 14px 34px rgba(7,82,177,.15) !important; }
  body.sp-phase2-active #price .pc-price-master-plan { position: absolute !important; left: 50% !important; top: -22px !important; display: flex !important; width: calc(100% - 36px) !important; height: 50px !important; transform: translateX(-50%) !important; border-radius: 999px !important; background: linear-gradient(100deg,#178eef,#0342bd) !important; box-shadow: 0 7px 16px rgba(7,82,177,.25) !important; color: #fff !important; font-size: 14px !important; }
  body.sp-phase2-active #price .pc-price-master-plan svg { width: 28px !important; height: 28px !important; }
  body.sp-phase2-active #price .pc-price-master-icon { display: grid !important; width: 76px !important; height: 76px !important; margin: 0 auto !important; place-items: center !important; border-radius: 50% !important; background: linear-gradient(145deg,#edf9ff,#dff2fc) !important; }
  body.sp-phase2-active #price .pc-price-master-icon svg { width: 44px !important; height: 44px !important; }
  body.sp-phase2-active #price .pc-price-master-card h3 { margin: 12px 0 0 !important; color: #05194a !important; font-size: 22px !important; font-weight: 900 !important; }
  body.sp-phase2-active #price .pc-price-master-zero { display: flex !important; align-items: flex-end !important; justify-content: center !important; margin: 10px 0 0 !important; }
  body.sp-phase2-active #price .pc-price-master-zero strong { color: #0967e5 !important; font-size: 66px !important; line-height: .95 !important; }
  body.sp-phase2-active #price .pc-price-master-zero span { padding-bottom: 7px !important; font-size: 27px !important; font-weight: 900 !important; }
  body.sp-phase2-active #price .pc-price-master-zero-lp b { margin-right: 3px !important; font-size: 26px !important; font-weight: 900 !important; }
  body.sp-phase2-active #price .pc-price-master-first { width: 100% !important; min-height: 142px !important; margin: 18px 0 0 !important; padding: 18px !important; border-radius: 13px !important; background: linear-gradient(145deg,#edf9ff,#dff3ff) !important; }
  body.sp-phase2-active #price .pc-price-master-first strong { margin-top: 5px !important; color: #0962da !important; font-size: 60px !important; line-height: 1 !important; }
  body.sp-phase2-active #price .pc-price-master-steps { display: grid !important; width: 100% !important; grid-template-columns: 1fr 1px 1fr !important; gap: 8px !important; margin: 14px 0 0 !important; }
  body.sp-phase2-active #price .pc-price-master-steps p { display: flex !important; min-height: 54px !important; align-items: center !important; justify-content: center !important; gap: 8px !important; margin: 0 !important; border-radius: 11px !important; background: linear-gradient(145deg,#eff9ff,#e3f3fc) !important; font-size: 14px !important; font-weight: 800 !important; }
  body.sp-phase2-active #price .pc-price-master-steps strong { color: #0962da !important; font-size: 24px !important; }
  body.sp-phase2-active #price .pc-price-master-rule { width: 88% !important; height: 1px !important; margin: 22px auto 0 !important; background: linear-gradient(90deg,transparent,#8dbbf0 25%,#8dbbf0 75%,transparent) !important; }
  body.sp-phase2-active #price .pc-price-master-note { margin: 16px auto 0 !important; color: #263d68 !important; font-size: 13px !important; line-height: 1.55 !important; }
}

@media (max-width: 600px) {
  body.sp-phase2-active #pc-high-ticket { display: none !important; }
  body.sp-phase2-active #trial-sp { display: block !important; width: min(100%,390px) !important; max-width: 390px !important; min-height: 760px !important; height: 760px !important; color: #fff; background-color: #188dc1 !important; }
  body.sp-phase2-active #trial-sp .sp-cta-heading::before { position: absolute; z-index: -1; left: 0; top: -12px; width: 100%; height: 152px; background: linear-gradient(90deg,rgba(0,47,99,0),rgba(0,47,99,.46) 18%,rgba(0,47,99,.46) 82%,rgba(0,47,99,0)); content: ""; }
  body.sp-phase2-active #trial-sp .sp-cta-heading .cta-amount-premium { left: 0 !important; top: 8px !important; width: 100% !important; max-width: 100% !important; transform: none !important; filter: drop-shadow(0 1px 0 #fff3ae) drop-shadow(0 2px 0 #9f6d0c) !important; }
  body.sp-phase2-active #trial-sp .sp-cta-heading .cta-amount-premium > span { color: #f4c943 !important; -webkit-text-fill-color: #f4c943 !important; font-size: clamp(18px,5vw,20px) !important; font-weight: 900 !important; letter-spacing: -.065em !important; text-shadow: 0 1px 0 #fff3ae,0 2px 0 #9f6d0c !important; }
  body.sp-phase2-active #trial .pc-support840-cards { grid-template-columns: minmax(0,1fr); }
  body.sp-phase2-active #trial .pc-support840-card { min-height: 224px !important; }
  body.sp-phase2-active #price .pc-price-master-cards { grid-template-columns: minmax(0,1fr); gap: 18px !important; }
  body.sp-phase2-active #price .pc-price-master-card { min-height: 322px !important; }
}

