/* ============================================
   /buy page styles — depends on styles.css + launch.css
   ============================================ */

.buy-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 120px 32px 80px;
}
@media (max-width: 640px) {
  .buy-page { padding: 96px 22px 64px; }
}

/* ============= Hero ============= */
.buy-hero {
  text-align: center;
  padding-bottom: 56px;
}
.buy-eyebrow {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #f97316;
  font-weight: 600;
  margin-bottom: 14px;
}
.buy-headline {
  font-size: 0;
  line-height: 1;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
}
.buy-price {
  font-size: 96px;
  font-weight: 800;
  letter-spacing: -4px;
  color: #1a1a18;
  line-height: 1;
  background: linear-gradient(135deg, #f97316 0%, #fbbd41 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.dark .buy-price { color: #fbbd41; }
.buy-price-once {
  font-size: 22px;
  font-weight: 500;
  color: #9f9b93;
  letter-spacing: -0.4px;
}
@media (max-width: 640px) {
  .buy-price { font-size: 72px; letter-spacing: -3px; }
  .buy-price-once { font-size: 18px; }
}

.buy-sub {
  font-size: 18px;
  color: #6f6b62;
  line-height: 1.5;
  margin-bottom: 6px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
body.dark .buy-sub { color: #888; }

/* Price anchor — soft, italicized framing line. Reframes $7.99 against
   a universal reference (coffees) without inviting competitor shopping. */
.buy-price-anchor {
  font-size: 13.5px;
  font-style: italic;
  color: #b8b2a6;
  margin-bottom: 28px;
}
body.dark .buy-price-anchor { color: #6a665e; }

/* ============= Hero testimonial (above CTA) ============= */
.buy-hero-quote {
  max-width: 420px;
  margin: 0 auto 28px;
  padding: 18px 22px 16px;
  background: rgba(249, 115, 22, 0.04);
  border: 1px solid rgba(249, 115, 22, 0.14);
  border-radius: 14px;
  text-align: center;
}
body.dark .buy-hero-quote {
  background: rgba(251, 189, 65, 0.04);
  border-color: rgba(251, 189, 65, 0.14);
}
.bhq-stars {
  color: #fbbd41;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.bhq-quote {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.45;
  color: #1a1a18;
  margin: 0 0 12px;
  letter-spacing: -0.1px;
}
body.dark .bhq-quote { color: #f0ede8; }
.bhq-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6f6b62;
}
body.dark .bhq-author { color: #888; }
.bhq-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}
.bhq-name { font-weight: 600; color: #1a1a18; }
body.dark .bhq-name { color: #f0ede8; }
.bhq-sep { opacity: 0.5; }
.bhq-role {
  color: #f97316;
  text-decoration: none;
  border-bottom: 1px solid rgba(249, 115, 22, 0.35);
  padding-bottom: 1px;
}
.bhq-role:hover { border-bottom-color: #f97316; }

/* ============= Big CTA ============= */
.buy-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #f97316;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  padding: 20px 38px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.25) inset,
    0 4px 16px rgba(249,115,22,0.4),
    0 12px 36px rgba(249,115,22,0.18);
  transition: transform 0.12s ease, box-shadow 0.2s ease;
}
.buy-cta-button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.25) inset,
    0 6px 22px rgba(249,115,22,0.55),
    0 16px 44px rgba(249,115,22,0.22);
}
.buy-cta-button:active { transform: translateY(0); }
.buy-cta-arrow {
  font-size: 18px;
  font-weight: 600;
  transition: transform 0.15s ease;
}
.buy-cta-button:hover .buy-cta-arrow { transform: translateX(3px); }

/* CTA stack — primary (Buy) + secondary (Try free). Secondary is a
   real button now, not a sentence, so the trial path doesn't feel like
   a footnote. */
.buy-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.buy-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #1a1a18;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.1px;
  padding: 13px 26px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.buy-cta-secondary:hover {
  border-color: rgba(249, 115, 22, 0.5);
  background: rgba(249, 115, 22, 0.04);
  transform: translateY(-1px);
}
.buy-cta-secondary .buy-cta-arrow {
  transition: transform 0.15s ease;
}
.buy-cta-secondary:hover .buy-cta-arrow { transform: translateX(3px); }
body.dark .buy-cta-secondary {
  color: #f0ede8;
  border-color: rgba(255, 255, 255, 0.14);
}
body.dark .buy-cta-secondary:hover {
  border-color: rgba(251, 189, 65, 0.5);
  background: rgba(251, 189, 65, 0.04);
}
.buy-trial-microcopy {
  font-size: 12.5px;
  color: #9f9b93;
  margin: 4px 0 0;
}
body.dark .buy-trial-microcopy { color: #777; }

/* Trust strip — four micro-reassurances right under the click target.
   Concentrates trust signals at the moment of decision instead of
   scattering them across hero, bullets, and footer. */
.buy-trust-strip {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.buy-trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #6f6b62;
  letter-spacing: -0.1px;
}
body.dark .buy-trust-strip li { color: #888; }
.bts-icon { font-size: 13px; line-height: 1; }
.bts-label { font-weight: 500; }
@media (max-width: 460px) {
  .buy-trust-strip { gap: 8px 14px; }
  .buy-trust-strip li { font-size: 12px; }
}

/* ============= Section titles ============= */
.buy-section-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
  text-align: center;
  color: #1a1a18;
}
body.dark .buy-section-title { color: #f0ede8; }

/* ============= "What you get" list ============= */
.buy-included {
  padding: 56px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}
body.dark .buy-included { border-top-color: rgba(255,255,255,0.06); }
.buy-included-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.buy-included-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: flex-start;
}
.buy-included-list .bi-check {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(249,115,22,0.12);
  color: #f97316;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}
.buy-included-list strong {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: #1a1a18;
  letter-spacing: -0.2px;
  margin-bottom: 3px;
}
body.dark .buy-included-list strong { color: #f0ede8; }
.buy-included-list span {
  display: block;
  font-size: 14px;
  line-height: 1.55;
  color: #6f6b62;
}
body.dark .buy-included-list span { color: #888; }
.buy-included-list a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Roadmap pointer — used inside the "Every future macOS version, free"
   row. Stylistically distinct from the refund-policy link (same row family)
   because we actively want buyers to follow this one. */
.buy-included-list .bi-link {
  display: inline-block;
  margin-top: 4px;
  color: #f97316;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(249, 115, 22, 0.35);
  padding-bottom: 1px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.buy-included-list .bi-link:hover {
  border-bottom-color: #f97316;
  transform: translateX(1px);
}

/* ============= Mid-page testimonial (below "What you get") ============= */
.buy-mid-quote {
  margin: 40px auto 0;
  max-width: 560px;
  padding: 24px 28px;
  background: #fffdf8;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  position: relative;
}
body.dark .buy-mid-quote {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}
.buy-mid-quote::before {
  content: "“";
  position: absolute;
  top: -4px;
  left: 16px;
  font-size: 48px;
  line-height: 1;
  color: rgba(249, 115, 22, 0.32);
  font-family: Georgia, serif;
  font-weight: 700;
}
.bmq-quote {
  font-size: 15px;
  line-height: 1.6;
  color: #2a2a28;
  margin: 0 0 16px;
  font-style: italic;
  letter-spacing: -0.1px;
}
body.dark .bmq-quote { color: #d8d5d0; }
.bmq-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #6f6b62;
}
body.dark .bmq-author { color: #888; }
.bmq-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.bmq-name { font-weight: 600; color: #1a1a18; }
body.dark .bmq-name { color: #f0ede8; }
.bmq-sep { opacity: 0.5; }
.bmq-role { font-weight: 400; }
a.bmq-role {
  color: #f97316;
  text-decoration: none;
  border-bottom: 1px solid rgba(249, 115, 22, 0.35);
  padding-bottom: 1px;
  transition: border-color 0.15s ease;
}
a.bmq-role:hover { border-bottom-color: #f97316; }

/* ============= Maker card ============= */
.buy-maker {
  padding: 32px 0 8px;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 8px;
}
body.dark .buy-maker { border-top-color: rgba(255,255,255,0.06); }
.buy-maker-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 22px;
  align-items: center;
  max-width: 560px;
  margin: 0 auto;
}
.bmk-avatar img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 4px 14px rgba(0,0,0,0.08);
}
body.dark .bmk-avatar img {
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 4px 14px rgba(0,0,0,0.4);
}
.bmk-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #1a1a18;
  margin: 0 0 6px;
}
body.dark .bmk-name { color: #f0ede8; }
.bmk-bio {
  font-size: 14px;
  line-height: 1.6;
  color: #6f6b62;
  margin: 0;
}
body.dark .bmk-bio { color: #aaa; }
.bmk-bio a {
  color: #1a1a18;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #f97316;
  text-decoration-thickness: 1.5px;
}
body.dark .bmk-bio a { color: #f0ede8; }
@media (max-width: 520px) {
  .buy-maker-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }
  .bmk-avatar { justify-self: center; }
  .bmk-avatar img { width: 72px; height: 72px; }
}

/* ============= Credentials reuse ============= */
.buy-credentials {
  padding: 32px 0 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
body.dark .buy-credentials { border-top-color: rgba(255,255,255,0.06); }
/* Override the home-page credentials margin since we set it via section padding here */
.buy-credentials .credentials-block { margin: 0 auto; }

/* ============= Questions row ============= */
.buy-questions {
  text-align: center;
  padding: 32px 0 40px;
  font-size: 14px;
  color: #6f6b62;
}
body.dark .buy-questions { color: #888; }
.buy-questions a {
  color: #1a1a18;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #f97316;
}
body.dark .buy-questions a { color: #f0ede8; }

/* ============= Success state ============= */
.buy-success-card {
  background: #fffdf8;
  border: 1px solid #e8e2d4;
  border-radius: 22px;
  padding: 56px 40px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04), 0 16px 40px rgba(0,0,0,0.04);
}
body.dark .buy-success-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}
.buy-success-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #fbbd41);
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 4px 14px rgba(249,115,22,0.35);
}
.buy-success-card h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
  color: #1a1a18;
}
body.dark .buy-success-card h2 { color: #f0ede8; }
.buy-success-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #4a4a48;
  margin-bottom: 12px;
}
body.dark .buy-success-card p { color: #aaa; }
.buy-success-card a {
  color: #f97316;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.buy-success-next { margin-top: 18px; }

/* ============= Fine print footer ============= */
.buy-fineprint {
  text-align: center;
  padding-top: 48px;
  margin-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 12px;
  line-height: 1.7;
  color: #b8b2a6;
}
body.dark .buy-fineprint {
  border-top-color: rgba(255,255,255,0.06);
  color: #555;
}
.buy-fineprint p { margin-bottom: 4px; }
.buy-fineprint strong { color: #6f6b62; font-weight: 600; }
body.dark .buy-fineprint strong { color: #888; }

