/* Landing pages. Owner decision (28 Nov 2026):
   - MOBILE (< 720px) follows the owner's mockups: dark product header, yellow CTA
     with arrow, cream canvas, green pill, brush underline, yellow keyword marker,
     icon trust card, numbered step cards, framed FAQ, price panel.
   - DESKTOP keeps the previous design. */

:root {
  --yellow: #f7c92e;
  --yellow-2: #efbc12;
  --pill-green: #dde9c8;
  --cream: #f7f2e7;
  --card: #fffdf7;
  --card-line: #ebe4d3;
}

/* ---------- shared defaults (desktop look) ---------- */
.m-only,
.m-only-inline {
  display: none !important;
}
mark.hl {
  background: none;
  color: inherit;
  padding: 0;
}
.btn-cta {
  background: var(--gold);
  color: var(--gold-ink);
  box-shadow: 0 6px 18px rgba(234, 199, 104, 0.35);
}
.btn-cta:hover {
  background: #e2bb4f;
}
.btn-cta .ico-arrow {
  display: none;
}
.ico-arrow {
  width: 22px;
  height: 22px;
  flex: none;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.price-pill {
  display: inline;
}

/* ---------- mobile: mockup style ---------- */
@media (max-width: 719px) {
  .m-only {
    display: revert !important;
  }
  .d-only {
    display: none !important;
  }

  body.sales {
    background: var(--cream);
  }
  .sales .s-light {
    background: #fbf8f1;
  }
  .sales .s-ivory,
  .sales .s-hero {
    background: var(--cream);
  }

  /* header */
  .sales .site-header {
    background: var(--accent);
    border-bottom: 0;
    backdrop-filter: none;
  }
  .sales .landing-title,
  .sales .landing-title strong {
    color: #fff;
  }
  .sales .landing-title span {
    color: rgba(255, 255, 255, 0.78);
  }
  .sales .header-cta .btn {
    background: var(--yellow);
    color: var(--ink);
    border-radius: 12px;
    font-weight: 800;
  }

  /* buttons */
  .btn-cta {
    background: var(--yellow);
    color: var(--ink);
    border-radius: 14px;
    font-weight: 800;
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.08), 0 10px 22px rgba(247, 201, 46, 0.3);
  }
  .btn-cta:hover {
    background: var(--yellow-2);
  }
  .btn-cta .ico-arrow {
    display: block;
  }
  .sales .cta-form .btn-cta {
    justify-content: space-between;
    gap: 14px;
    text-align: left;
    padding: 16px 20px;
  }
  .sales .sticky-cta .btn-cta {
    box-shadow: none;
    padding: 12px 20px;
  }

  /* typography accents */
  .pill {
    display: inline-block !important;
    padding: 8px 14px;
    border-radius: 12px;
    font: 700 0.76rem/1.35 var(--body);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 14px;
  }
  .pill-green {
    background: var(--pill-green);
    color: color-mix(in srgb, var(--accent) 85%, black);
  }
  mark.hl {
    color: var(--ink);
    background: linear-gradient(100deg, transparent 2%, var(--yellow) 4%, var(--yellow) 96%, transparent 98%) no-repeat 0 72% / 100% 78%;
    padding: 0 0.1em;
    border-radius: 6px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  .sales h2.swoosh::after,
  .sales .brush {
    content: "";
    display: block !important;
    width: 140px;
    height: 9px;
    margin-top: 12px;
    background: url("/img/ui/brush-green.svg") no-repeat left / contain;
  }
  .sales h2.swoosh.center::after {
    margin-inline: auto;
  }
  .sales .s-dark h2.swoosh::after {
    background-image: url("/img/ui/brush-yellow.svg");
  }
  .sales .brush {
    margin: 2px 0 18px;
  }
  .sales .hero-copy h1 {
    margin-bottom: 0;
    font-size: clamp(2rem, 1.4rem + 3vw, 2.6rem);
  }

  /* soft cards */
  .card-soft {
    background: var(--card);
    border: 1px solid var(--card-line);
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(24, 36, 31, 0.06);
  }

  /* hero trust card */
  .trust-card {
    list-style: none;
    margin: 18px 0 10px;
    padding: 12px 4px;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    background: var(--card);
    border: 1px solid var(--card-line);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(24, 36, 31, 0.06);
  }
  .trust-card li {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 4px 6px;
    text-align: center;
    font: 700 0.84rem/1.25 var(--head);
    color: var(--ink);
  }
  .trust-card li + li {
    border-left: 1px solid var(--card-line);
  }
  .ico {
    width: 26px;
    height: 26px;
    stroke: var(--accent);
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .secure {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--muted);
    margin: 0;
  }
  .secure .ico {
    width: 18px;
    height: 18px;
    stroke: var(--muted);
  }

  /* pains */
  .sales .pain.card-soft {
    border-color: var(--card-line);
  }

  /* numbered steps (S06) */
  .sales .steps {
    gap: 32px;
    margin-top: 40px;
  }
  .sales .steps .step {
    position: relative;
    padding: 28px 16px 18px;
    text-align: center;
  }
  .sales .steps .step .ph {
    border-radius: 12px;
  }
  .sales .steps .step .ph figcaption {
    display: none;
  }
  .num {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 38px;
    display: grid !important;
    place-items: center;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--ink);
    font: 800 1.05rem var(--head);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
  }
  .sales .steps .step h3 {
    margin: 14px 0 4px;
    font-size: 1.15rem;
  }

  /* buy steps (S12) */
  .sales .buy-steps {
    gap: 12px;
    margin-top: 34px;
  }
  .sales .buy-steps li {
    position: relative;
    padding: 26px 6px 14px;
    font-size: 0.88rem;
  }
  .sales .buy-steps svg {
    width: 30px;
    height: 30px;
    padding: 0;
    background: none;
  }

  /* FAQ framed rows */
  .sales .faq details {
    background: var(--card);
    border: 1.5px solid var(--card-line);
    border-radius: 14px;
  }
  .sales .faq summary::after {
    content: "";
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2.2px solid var(--ink);
    border-bottom: 2.2px solid var(--ink);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.15s;
  }
  .sales .faq details[open] summary::after {
    content: "";
    transform: translateY(-30%) rotate(-135deg);
  }

  /* offer */
  .price-pill {
    display: inline-block;
    background: var(--yellow);
    color: var(--ink);
    border-radius: 12px;
    padding: 2px 14px;
  }

  /* final price panel (S14) */
  .s-final-m {
    padding-top: 40px;
  }
  .final-panel {
    background: var(--accent);
    color: #fff;
    border-radius: 24px;
    padding: 26px 20px 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  }
  .final-panel h2 {
    color: #fff;
    font-size: 1.6rem;
  }
  .final-panel .lead {
    color: rgba(255, 255, 255, 0.85);
  }
  .big-price {
    font: 900 3.4rem/1 var(--head);
    color: var(--yellow);
    margin: 18px 0 6px;
    letter-spacing: -0.03em;
  }
  .final-facts {
    display: flex;
    gap: 12px;
    margin: 0 0 16px;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.85);
  }
  .final-facts span + span::before {
    content: "|";
    margin-right: 12px;
    opacity: 0.5;
  }
  .final-panel .cta-form {
    margin: 0;
  }
  .final-media {
    margin-top: 22px;
  }
  .s-final-m .ps {
    margin-top: 20px;
    color: var(--ink-2);
    font-style: italic;
  }
  .disclaimer-m {
    font-size: 0.8rem;
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }
  .sales .site-footer {
    background: #fbf8f1;
  }
}

/* ---------- mobile: checkout + order success (mockup Part 6 / Part 7) ---------- */
@media (max-width: 719px) {
  .m-only-inline {
    display: inline !important;
  }
  body.checkout-page,
  body.order-page {
    background: var(--cream);
  }
  .checkout-page .site-header,
  .order-page .site-header {
    background: #12382d;
    border-bottom: 0;
  }
  .checkout-page .brand,
  .order-page .brand {
    color: #fff;
  }
  .checkout-page .s-light,
  .order-page .s-light {
    background: var(--cream);
  }
  .checkout-page h1.swoosh {
    font-size: 1.9rem;
  }
  .checkout-page h1.swoosh::after {
    content: "";
    display: block;
    width: 140px;
    height: 9px;
    margin-top: 10px;
    background: url("/img/ui/brush-green.svg") no-repeat left / contain;
  }
  .co-summary {
    background: #eef3e2;
    border: 1px solid #dfe8cc;
    border-radius: 18px;
    padding: 18px;
    margin: 16px 0 8px;
  }
  .co-item {
    margin: 0 0 6px;
    display: grid;
  }
  .co-item strong {
    font: 800 1.25rem/1.25 var(--head);
  }
  .co-item span {
    color: var(--ink-2);
    font-size: 0.95rem;
  }
  .co-price {
    display: inline-block;
    background: var(--yellow);
    border-radius: 12px;
    padding: 4px 14px;
    font: 900 1.7rem/1.2 var(--head);
    margin: 8px 0 10px;
  }
  .co-access {
    display: inline-block;
    background: var(--pill-green);
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
  }
  .checkout-page input[name="name"],
  .checkout-page input[name="email"],
  .checkout-page input[name="phone"] {
    padding-left: 44px;
    background: #fff no-repeat 14px center / 20px 20px;
  }
  .checkout-page input[name="name"] {
    background-image: url("/img/ui/i-user.svg");
  }
  .checkout-page input[name="email"] {
    background-image: url("/img/ui/i-mail.svg");
  }
  .checkout-page input[name="phone"] {
    background-image: url("/img/ui/i-phone.svg");
  }
  .co-methods {
    background: var(--card);
    border: 1.5px solid var(--card-line);
    border-radius: 14px;
    padding: 12px 14px;
    margin: 0 0 16px;
    font-size: 0.9rem;
    color: var(--ink-2);
  }
  .co-methods p {
    margin: 0;
  }
  .co-methods-title {
    font: 800 1.05rem var(--head);
    color: var(--ink);
    margin-bottom: 4px !important;
  }
  .checkout-page .btn-cta {
    justify-content: space-between;
    padding: 16px 20px;
  }
  .secure-line {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--muted);
    margin: 12px 0 0;
  }
  .ico-sm {
    width: 18px;
    height: 18px;
    stroke: var(--muted);
  }

  /* order success */
  .ok-head {
    display: flex !important;
    align-items: center;
    gap: 16px;
    margin: 6px 0 12px;
  }
  .ok-head h1 {
    margin: 0;
    font-size: 2.1rem;
    line-height: 1.1;
  }
  .ok-check {
    flex: none;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #3f9a3f;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 20px rgba(63, 154, 63, 0.3);
  }
  .ok-check svg {
    width: 34px;
    height: 34px;
    stroke: #fff;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .ok-sub {
    font-size: 1.02rem;
    color: var(--ink-2);
  }
  .order-page .downloads {
    gap: 12px;
  }
  .order-page .dl {
    grid-template-columns: 1fr;
    background: var(--card);
    border-color: var(--card-line);
  }
  .order-page .dl .btn {
    background: var(--yellow);
    color: var(--ink);
    border-radius: 14px;
    padding: 14px 18px;
    font-weight: 800;
    width: 100%;
  }
  .ok-mail {
    background: var(--pill-green);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 0.92rem;
  }
  .ok-next {
    border: 1.5px solid color-mix(in srgb, #12382d 40%, transparent);
    border-radius: 16px;
    background: var(--card);
    overflow: hidden;
    margin: 16px 0 24px;
  }
  .ok-next-title {
    margin: 0;
    background: #12382d;
    color: #fff;
    font: 800 1.05rem var(--head);
    padding: 10px 16px;
    display: inline-block;
    border-bottom-right-radius: 14px;
  }
  .ok-next ul {
    list-style: none;
    margin: 0;
    padding: 6px 16px 12px;
  }
  .ok-next li {
    position: relative;
    padding: 10px 0 10px 34px;
    border-bottom: 1px solid var(--card-line);
    font-size: 0.95rem;
  }
  .ok-next li:last-child {
    border-bottom: 0;
  }
  .ok-next li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #dcebd3 url("/img/ui/check-green.svg") center / 14px no-repeat;
  }
}
