/*
 * 2026-07-29 01:15 pricing-page presentation baseline.
 * Payment mechanics remain in each page; this file only restores the
 * established visual hierarchy and mobile treatment.
 */
.buy {
  position: sticky;
  top: 20px;
  isolation: isolate;
  border-color: rgba(170, 131, 49, .38);
}

.buy::before {
  display: none !important;
}

.plan-card {
  overflow: hidden;
  z-index: 1;
  background: #fffdf8;
}

.plan-card.is-recommended {
  padding-top: 12px;
  background: linear-gradient(135deg, #f8ebe4 0%, #f6efdf 100%);
}

.plan-card.is-selected {
  background: linear-gradient(135deg, #f6e4dc 0%, #f3e8d2 100%);
  box-shadow: 0 18px 38px -30px rgba(124, 49, 38, .68);
}

.plan-tag {
  position: static;
  display: inline-flex;
  align-items: center;
  margin: 0 0 6px;
  font-style: normal;
  line-height: 1.4;
}

.plan-avg {
  font-style: normal;
  color: var(--red);
  font-weight: 650;
}

.plan-avg b {
  display: inline;
  color: var(--red);
  font-family: var(--serif);
  font-size: 1.22em;
  font-weight: 750;
  letter-spacing: .02em;
  line-height: 1;
}

.referral-banner b {
  color: var(--gold);
  background: linear-gradient(135deg, #d4ad2f 0%, #aa8331 48%, #8a6a22 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.buy-cta.waffo {
  border: 0;
  color: #fff9ec;
  background: linear-gradient(135deg, var(--teal), var(--indigo));
  box-shadow: 0 16px 34px -18px rgba(38, 57, 95, .85);
  font: inherit;
}

.buy-cta.waffo:hover {
  background: linear-gradient(135deg, #287977, #304672);
}

.buy-cta.waffo[disabled],
.mobile-pay-dock a[aria-disabled="true"] {
  pointer-events: none;
  cursor: wait;
  opacity: .62;
}

.checkout-error {
  display: grid;
  gap: 9px;
  padding: 12px 14px;
  border: 1px solid rgba(166, 64, 50, .32);
  border-radius: 10px;
  color: #733027;
  background: rgba(166, 64, 50, .08);
  font-size: 12.5px;
  line-height: 1.6;
}

.checkout-error[hidden] {
  display: none;
}

.checkout-guide {
  display: grid;
  gap: 12px;
  padding: 16px 14px;
  border: 1px solid rgba(33, 106, 104, .22);
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdf8, #f4f8f1);
  color: #17201d;
}

.checkout-guide[hidden] {
  display: none;
}

.checkout-guide > b {
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 18px;
  letter-spacing: .04em;
}

.checkout-guide > p {
  margin: 0;
  color: #5c6d67;
  font-size: 13px;
  line-height: 1.7;
}

.checkout-guide-url {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.checkout-guide-url input {
  min-width: 0;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(23, 32, 29, .14);
  border-radius: 9px;
  background: #fff;
  color: #17201d;
  font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.checkout-guide-url button,
.checkout-guide-open {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font: 600 13px/1 -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
}

.checkout-guide-url button {
  background: #18201d;
  color: #fff9ec;
}

.checkout-guide-open {
  width: 100%;
  color: #18201d;
  background: linear-gradient(135deg, #d9efae, #9edb5b);
}

.checkout-guide-note {
  margin: 0;
  color: #5c6d67;
  font-size: 12px;
  line-height: 1.65;
}

.compare-mobile {
  display: none;
}

.section-edge .section-head .eyebrow {
  font-size: 13px;
  letter-spacing: .24em;
}

.section-edge .section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: .1em;
}

.section-edge .section-head p {
  font-size: 15px;
  line-height: 1.85;
}

.section-edge .edge-card h3 {
  font-size: 18px;
}

.section-edge .edge-card p {
  font-size: 14px;
}

@media (max-width: 880px) {
  .buy {
    position: relative;
    order: -1;
  }
}

@media (max-width: 520px) {
  .hero-main h1 {
    font-size: 22px;
    line-height: 1.45;
    letter-spacing: .02em;
  }

  .lead {
    font-size: 13.5px;
    line-height: 1.75;
  }

  .compare {
    padding: 14px;
    overflow: visible;
  }

  .compare-desktop {
    display: none;
  }

  .compare-mobile {
    display: grid;
    gap: 8px;
  }

  .gain-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 8px 10px;
    align-items: start;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, .55);
  }

  .gain-card .gain-ic {
    grid-row: 1 / span 2;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #fff6e3;
    background: linear-gradient(150deg, var(--teal), var(--indigo));
    font-family: var(--serif);
    font-size: 15px;
  }

  .gain-card b {
    font-family: var(--serif);
    font-size: 14px;
    letter-spacing: .04em;
    line-height: 1.3;
  }

  .gain-card span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
  }

  .gain-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 2px;
  }

  .gain-pair i {
    display: block;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-style: normal;
    line-height: 1.35;
  }

  .gain-pair .was {
    color: var(--muted);
    background: rgba(21, 25, 24, .05);
  }

  .gain-pair .now {
    color: #1f4b49;
    background: rgba(33, 106, 104, .1);
    font-weight: 650;
  }

  .section-head p {
    font-size: 13px;
    line-height: 1.65;
  }
}
