/* Pricing page (Job C). Brand colours only: Slate #1a2535, deep Slate #0c1622, Peach Gold #e2b273,
   gold ink #86561b (small gold text on light), off-white #f5f3ee, white. Light by default; dark follows the device. */

.pp-body-page {
  --pp-page: #f5f3ee; --pp-card: #ffffff; --pp-ink: #1a2535; --pp-muted: rgba(26, 37, 53, .78);
  --pp-line: rgba(26, 37, 53, .14); --pp-goldink: #86561b; --pp-btn-bg: #e2b273; --pp-btn-ink: #1a2535;
  --pp-outline: rgba(26, 37, 53, .45); --pp-fade: #ffffff; --pp-shadow: rgba(26, 37, 53, .12);
  background: var(--pp-page); color: var(--pp-ink);
}
@media (prefers-color-scheme: dark) {
  .pp-body-page {
    --pp-page: #0c1622; --pp-card: #1a2535; --pp-ink: #f5f3ee; --pp-muted: rgba(245, 243, 238, .8);
    --pp-line: rgba(245, 243, 238, .16); --pp-goldink: #e2b273; --pp-outline: rgba(245, 243, 238, .5);
    --pp-fade: #1a2535; --pp-shadow: rgba(0, 0, 0, .4);
  }
}

.pp-body-page :focus-visible { outline: 3px solid var(--pp-goldink); outline-offset: 2px; }
.pp-hero :focus-visible, .pp-band :focus-visible, .pp-modal :focus-visible { outline-color: #e2b273; }
.pp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.pp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.pp-eyebrow { font-family: 'DM Mono', ui-monospace, monospace; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pp-goldink); font-weight: 700; margin: 0; }
.pp-eyebrow--light { color: #e2b273; }
.pp-h2 { font-family: var(--font-display, Georgia, serif); font-weight: 700; font-size: 2rem; line-height: 1.15; color: var(--pp-ink); margin: 10px 0 0; }
.pp-h2--sm { font-size: 1.625rem; }
.pp-sub { font-family: var(--font-display, Georgia, serif); font-weight: 600; font-size: 1.0625rem; color: var(--pp-ink); margin: 0; }
.pp-text { font-size: .9063rem; line-height: 1.55; color: var(--pp-muted); margin: 0; }
.pp-mono { font-family: 'DM Mono', ui-monospace, monospace; font-size: .6875rem; letter-spacing: .08em; color: var(--pp-muted); }
.pp-note { font-size: .8125rem; line-height: 1.5; color: var(--pp-muted); margin: 14px 0 0; }
.pp-link { color: var(--pp-goldink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pp-card { background: var(--pp-card); border: 1px solid var(--pp-line); border-radius: 16px; }

/* Hero */
.pp-hero { background: #1a2535; color: #f5f3ee; padding: 56px 0 64px; }
.pp-hero h1 { font-family: var(--font-display, Georgia, serif); font-weight: 700; font-size: 2.875rem; line-height: 1.1; max-width: 860px; margin: 16px 0; color: #f5f3ee; }
.pp-hero-sub { font-size: 1.0625rem; line-height: 1.55; max-width: 700px; color: rgba(245, 243, 238, .82); margin: 0; }

.pp-section { padding: 64px 0 0; }
.pp-section--tight { padding-top: 48px; }
.pp-center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pp-center + .pp-plans { margin-top: 28px; }
.pp-plans + .pp-center { margin-top: 28px; }

/* Four views */
.pp-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.pp-view { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.pp-who { font-size: .8125rem; font-weight: 700; color: var(--pp-goldink); margin: 6px 0 0; line-height: 1.4; }

/* Preview + who */
.pp-split { display: flex; gap: 56px; align-items: flex-start; }
.pp-split-main { flex: 1 1 640px; min-width: 0; }
.pp-split-side { flex: 0 1 464px; display: flex; flex-direction: column; gap: 16px; padding-top: 4px; min-width: 0; }
.pp-preview { position: relative; overflow: hidden; margin-top: 18px; padding: 26px 28px; height: 380px; display: flex; flex-direction: column; gap: 14px; }
.pp-preview-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.pp-preview-body h3 { font-family: var(--font-display, Georgia, serif); font-weight: 600; font-size: 1.25rem; color: var(--pp-ink); margin: 14px 0 6px; }
.pp-preview-body h3:first-child { margin-top: 0; }
.pp-preview-body p { font-size: .9063rem; line-height: 1.6; color: var(--pp-muted); margin: 0; }
.pp-preview-date { font-family: 'DM Mono', ui-monospace, monospace; font-size: .75rem; color: var(--pp-goldink); margin: 0 0 8px; font-weight: 700; }
.pp-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--pp-fade) 62%); }
@media (prefers-color-scheme: dark) { .pp-fade { background: linear-gradient(180deg, rgba(26, 37, 53, 0) 0%, var(--pp-fade) 62%); } }
.pp-ticks { list-style: none; margin: 0; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.pp-ticks li, .pp-feat li { position: relative; padding-left: 26px; font-size: .9063rem; line-height: 1.45; color: var(--pp-ink); }
.pp-ticks li::before, .pp-feat li:not(.pp-soon)::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 11px; height: 6px;
  border-left: 2px solid var(--pp-goldink); border-bottom: 2px solid var(--pp-goldink); transform: rotate(-45deg);
}

/* Plans */
.pp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pp-plan { padding: 28px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.pp-plan--featured { border: 2px solid #e2b273; box-shadow: 0 18px 40px var(--pp-shadow); }
.pp-badge { position: absolute; top: -14px; left: 28px; height: 28px; padding: 0 14px; display: flex; align-items: center; border-radius: 14px; background: #e2b273; color: #1a2535; font-family: 'DM Mono', ui-monospace, monospace; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin: 0; }
.pp-plan-name { font-family: var(--font-display, Georgia, serif); font-weight: 700; font-size: 1.625rem; color: var(--pp-ink); margin: 0; }
.pp-price { display: flex; align-items: baseline; gap: 8px; margin: 0; flex-wrap: wrap; }
.pp-amount { font-size: 2.5rem; font-weight: 700; line-height: 1; color: var(--pp-ink); }
.pp-per { font-size: .875rem; color: var(--pp-muted); }
.pp-strike { display: none; font-size: 1.375rem; font-weight: 600; color: var(--pp-muted); text-decoration: line-through; }
.is-launch .pp-strike { display: inline; }
.pp-launch-label { display: none; }
.is-launch .pp-launch-label { display: inline; font-weight: 700; color: var(--pp-goldink); }
.pp-week { font-size: .8125rem; color: var(--pp-muted); margin: -6px 0 0; }
.pp-choose { font-size: .9063rem; line-height: 1.55; color: var(--pp-muted); margin: 0; min-height: 66px; }
.pp-choose strong { color: var(--pp-ink); }
.pp-rule { border: 0; border-top: 1px solid var(--pp-line); margin: 0; }
.pp-feat { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pp-soon { position: relative; padding-left: 26px; color: var(--pp-muted); }
.pp-soon::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--pp-goldink); opacity: .6; }
.pp-tag { font-style: normal; font-family: 'DM Mono', ui-monospace, monospace; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; color: var(--pp-goldink); border: 1px solid var(--pp-goldink); border-radius: 10px; padding: 2px 8px; margin-left: 6px; white-space: nowrap; font-weight: 700; }
.pp-small { font-size: .78rem; color: var(--pp-muted); text-align: center; margin: 0; }
.pp-notice { background: var(--pp-card); border: 1px solid var(--pp-goldink); border-radius: 12px; padding: 10px 16px; font-size: .875rem; color: var(--pp-ink); margin: 0; }

/* Buttons. The slot keeps its height before the page knows who is looking, so nothing jumps. */
.pp-cta-wrap { min-height: 46px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.pp-cta-wrap--auto { min-height: 0; }
.pp-cta-slot { display: flex; flex-direction: column; gap: 6px; }
.pp-btn, .pp-btn-link {
  min-height: 46px; padding: 0 22px; display: flex; align-items: center; justify-content: center; text-align: center;
  border-radius: 12px; border: 1px solid transparent; background: var(--pp-btn-bg); color: var(--pp-btn-ink);
  font-family: inherit; font-size: .9063rem; font-weight: 700; cursor: pointer; text-decoration: none; width: 100%;
}
.pp-btn:hover, .pp-btn-link:hover { filter: brightness(.95); }
.pp-btn:disabled { opacity: .45; cursor: not-allowed; }
.pp-btn--outline { background: transparent; color: var(--pp-ink); border-color: var(--pp-outline); }
.pp-current { min-height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px dashed var(--pp-outline); color: var(--pp-ink); font-weight: 700; font-size: .9063rem; }
.pp-manage { min-height: 44px; display: flex; align-items: center; justify-content: center; color: var(--pp-goldink); font-weight: 700; font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
.pp-preview .pp-btn, .pp-preview .pp-btn-link { width: auto; }

/* Trial strip */
.pp-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 28px 32px; }
.pp-strip > div { padding: 0 28px; border-left: 1px solid var(--pp-line); display: flex; flex-direction: column; gap: 6px; }
.pp-strip > div:first-child { padding-left: 0; border-left: 0; }
.pp-strip > div:last-child { padding-right: 0; }

/* FAQ */
.pp-faq { display: flex; gap: 56px; align-items: flex-start; }
.pp-faq-head { flex: 0 0 300px; display: flex; flex-direction: column; }
.pp-faq-list { flex: 1; min-width: 0; }
.pp-q { padding: 20px 0; border-top: 1px solid var(--pp-line); }
.pp-q:last-child { border-bottom: 1px solid var(--pp-line); }
.pp-q h3 { font-family: var(--font-display, Georgia, serif); font-weight: 600; font-size: 1.125rem; line-height: 1.3; color: var(--pp-ink); margin: 0 0 8px; }
.pp-q p { font-size: .9063rem; line-height: 1.55; color: var(--pp-muted); margin: 0; }

/* Closing band */
.pp-band { margin-top: 72px; background: #1a2535; color: #f5f3ee; padding: 56px 0; }
.pp-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.pp-band-h { font-family: var(--font-display, Georgia, serif); font-weight: 700; font-size: 2.125rem; line-height: 1.15; margin: 0 0 10px; color: #f5f3ee; }
.pp-band-sub { font-size: 1rem; line-height: 1.55; color: rgba(245, 243, 238, .82); margin: 0; max-width: 700px; }
.pp-band-actions { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: none; }
.pp-band-actions .pp-btn-link { width: auto; min-height: 50px; padding: 0 30px; }
.pp-band-alt { min-height: 44px; display: flex; align-items: center; font-size: .84rem; font-weight: 700; color: #e2b273; text-decoration: underline; text-underline-offset: 3px; }

/* Checkout modal */
.pp-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(12, 22, 34, .6); display: flex; align-items: center; justify-content: center; padding: 20px; }
.pp-overlay[hidden], .pp-panel[hidden], [hidden].pp-cta-slot { display: none; }
.pp-modal { position: relative; background: var(--pp-card); color: var(--pp-ink); border: 1px solid var(--pp-line); border-radius: 16px; width: 100%; max-width: 580px; max-height: 88vh; overflow-y: auto; padding: 40px; box-shadow: 0 24px 60px rgba(12, 22, 34, .4); }
.pp-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--pp-muted); cursor: pointer; border-radius: 10px; }
.pp-steps { list-style: none; display: flex; gap: 10px; justify-content: center; margin: 0 0 22px; padding: 0; }
.pp-step { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 700; border: 1px solid var(--pp-line); color: var(--pp-muted); }
.pp-step.is-active { background: #e2b273; color: #1a2535; border-color: #e2b273; }
.pp-step.is-done { border-color: #e2b273; color: var(--pp-goldink); }
.pp-modal-h { font-family: var(--font-display, Georgia, serif); font-size: 1.45rem; margin: 0 0 18px; color: var(--pp-ink); }
.pp-panel { display: flex; flex-direction: column; gap: 14px; }
.pp-co-price { font-size: 2rem; font-weight: 700; margin: 0; }
.pp-co-price small { font-size: .9rem; font-weight: 500; color: var(--pp-muted); }
.pp-co-feat { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pp-co-feat li { position: relative; padding-left: 24px; font-size: .9rem; }
.pp-co-feat li::before { content: ""; position: absolute; left: 0; top: .4em; width: 11px; height: 6px; border-left: 2px solid var(--pp-goldink); border-bottom: 2px solid var(--pp-goldink); transform: rotate(-45deg); }
.pp-agree { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; line-height: 1.5; cursor: pointer; margin: 8px 0; min-height: 44px; }
.pp-agree input { margin-top: 3px; width: 20px; height: 20px; flex: none; accent-color: #86561b; }
.pp-summary { margin: 0; border: 1px solid var(--pp-line); border-radius: 12px; padding: 8px 16px; }
.pp-summary div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: .9rem; }
.pp-summary dt { color: var(--pp-muted); }
.pp-summary dd { margin: 0; font-weight: 700; text-align: right; }
.pp-error { color: var(--pp-ink); border: 1px solid var(--pp-goldink); border-radius: 10px; padding: 10px 14px; font-size: .875rem; margin: 0; }
.pp-error[hidden] { display: none; }
.pp-actions { display: flex; gap: 10px; }
.pp-actions .pp-btn { flex: 1; }

@media (max-width: 899px) {
  .pp-grid4 { grid-template-columns: 1fr 1fr; }
  .pp-split, .pp-faq { flex-direction: column; gap: 32px; }
  .pp-split-main, .pp-split-side, .pp-faq-head { flex: none; width: 100%; }
  .pp-plans { grid-template-columns: 1fr; }
  .pp-choose { min-height: 0; }
  .pp-strip { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .pp-strip > div, .pp-strip > div:first-child, .pp-strip > div:last-child { padding: 0; border-left: 0; }
  .pp-band-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .pp-hero h1 { font-size: 2.125rem; }
  .pp-h2 { font-size: 1.625rem; }
}
@media (max-width: 560px) {
  .pp-grid4 { grid-template-columns: 1fr; }
  .pp-modal { padding: 32px 20px 24px; }
  .pp-actions { flex-direction: column-reverse; }
  .pp-preview { height: 420px; padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) { .pp-body-page * { transition: none !important; scroll-behavior: auto !important; } }

/* Checkout: terms line above the final button */
.pp-legal { font-size: .8125rem; line-height: 1.5; color: var(--pp-muted); margin: 0; }
.pp-legal a { color: var(--pp-goldink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
