/* ==========================================================================
   PlayGuitar v3 — Sales Page Component Library
   Ported from the approved OD render: design/od-theory/screens/desktop.html
   (the GTU "seed" — first v3 page port, 2026-05-29).

   Tokens come from tokens.css (pg-tokens, loaded before pg-main/pg-sales).
   This file defines NO :root — never hardcode the orange; reference --brand.

   Scoping: this stylesheet only enqueues on template-sales.php pages, so most
   selectors are global-but-harmless. The three names that ALSO exist in
   main.css (.container, .btn*, .footer*) are scoped under .sales-page so the
   render wins cleanly without touching site chrome. Everything else is the
   render's own class namespace and is reproduced verbatim.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.sales-page { margin: 0; background: var(--paper); color: var(--ink-body); font-family: var(--font-body); font-size: 1.125rem; line-height: var(--leading-loose); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.sales-page img { max-width: 100%; display: block; }
.sales-page a { color: var(--brand-strong); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color var(--transition-fast); }
.sales-page a:hover { color: var(--brand-hover); }
.sales-page :focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-sm); }
.sales-page h1, .sales-page h2, .sales-page h3, .sales-page h4 { font-family: var(--font-heading); color: var(--ink-heading); line-height: var(--leading-snug); margin: 0; font-weight: var(--weight-semibold); }

.sales-page .container { max-width: var(--width-max); margin: 0 auto; padding-left: var(--space-6); padding-right: var(--space-6); }
.prose { max-width: var(--width-content); margin-left: auto; margin-right: auto; }
.prose p { margin: 0 0 var(--space-6) 0; font-size: 1.1875rem; line-height: 1.75; color: var(--ink-body); }
.prose p:last-child { margin-bottom: 0; }
.prose .lede { font-size: 1.3125rem; line-height: 1.65; }
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--paper { background: var(--paper); }
.section--tint  { background: var(--paper-tint); }
.section--hero-tint { background: var(--paper-hero); }
.section--brand-wash { background: var(--brand-wash); }
.section--dark  { background: var(--dark); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--on-dark); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: var(--text-xs); font-weight: var(--weight-semibold); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--ink-muted); margin: 0 0 var(--space-5) 0; }
.eyebrow::before { content: ''; width: 8px; height: 8px; background: var(--brand); border-radius: 50%; display: inline-block; }
.section--dark .eyebrow { color: var(--on-dark-muted); }
.section-title { font-size: var(--h2); letter-spacing: var(--track-tight); margin-bottom: var(--space-8); font-weight: var(--weight-semibold); max-width: 800px; }

.sales-page .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-body); font-size: var(--text-base); font-weight: var(--weight-semibold); padding: 16px 26px; border-radius: var(--radius-md); border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast); letter-spacing: -0.005em; }
.sales-page .btn-sm { padding: 10px 16px; font-size: 0.9375rem; }
.sales-page .btn-lg { padding: 20px 32px; font-size: 1.125rem; }
.sales-page .btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.sales-page .btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
.sales-page .btn-outline { background: transparent; color: var(--ink-heading); border-color: var(--ink-heading); }
.sales-page .btn-outline:hover { background: var(--ink-heading); color: #fff; }
.sales-page .btn-link { color: var(--ink-body); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 4px; font-weight: var(--weight-medium); }

/* Sales-page header (third header variant: in-funnel anchors + persistent price CTA) */
.nav { position: sticky; top: 0; z-index: var(--z-sticky); background: rgba(253, 252, 250, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--hairline); }
.nav-inner { max-width: var(--width-max); margin: 0 auto; padding: 14px var(--space-6); display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); text-decoration: none; }
.nav-brand:hover { text-decoration: none; }
.nav-logo { height: 34px; width: auto; display: block; margin-left: -4px; }
.brand-tag { font-family: var(--font-body); font-size: 0.625rem; font-weight: var(--weight-semibold); letter-spacing: 0.18em; color: var(--brand); background: var(--brand-soft); padding: 4px 8px; border-radius: var(--radius-sm); text-transform: uppercase; }
.nav-links { display: flex; gap: var(--space-6); font-size: 0.9375rem; }
.nav-links a { color: var(--ink-body); text-decoration: none; font-weight: var(--weight-medium); }
.nav-links a:hover { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: var(--space-4); }
.nav-price { font-size: 0.8125rem; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
@media (max-width: 920px) { .nav-links, .nav-price { display: none; } }

/* Promo banner (template emits this for ?promo= variants; v3 restyle of the legacy bar) */
.promo-banner { position: sticky; top: 0; z-index: var(--z-overlay); background: var(--brand-strong); color: #fff; text-align: center; }
.promo-banner__inner { max-width: var(--width-max); margin: 0 auto; padding: 10px var(--space-6); display: flex; align-items: center; justify-content: center; gap: var(--space-4); font-size: 0.9375rem; font-weight: var(--weight-medium); flex-wrap: wrap; }
.promo-banner__timer { font-variant-numeric: tabular-nums; font-weight: var(--weight-bold); }

.hero { position: relative; padding: clamp(80px, 10vw, 140px) 0 clamp(72px, 9vw, 120px); background: var(--paper); overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -150px; right: -150px; width: 520px; height: 520px; background: radial-gradient(circle at center, var(--brand-soft) 0%, transparent 65%); opacity: 0.7; pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -220px; left: -180px; width: 460px; height: 460px; background: radial-gradient(circle at center, var(--accent-soft) 0%, transparent 65%); opacity: 0.5; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; text-align: left; }
.hero-pill { display: inline-block; font-family: var(--font-body); font-size: 0.75rem; font-weight: var(--weight-semibold); letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 8px 16px; border-radius: var(--radius-pill); margin-bottom: var(--space-8); }
.hero h1 { font-size: var(--h1); line-height: 1.1; letter-spacing: -0.02em; font-weight: var(--weight-semibold); margin-bottom: var(--space-6); color: var(--ink-heading); }
.hero h1 em { font-style: italic; color: var(--brand-strong); }
.hero-sub { font-size: 1.25rem; line-height: 1.6; color: var(--ink-body); max-width: 720px; margin: 0 0 var(--space-10); }
.hero-cta-row { display: inline-flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; justify-content: flex-start; margin-bottom: var(--space-8); }
.hero-price { font-size: 0.9375rem; color: var(--ink-muted); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.pull-quote { display: grid; grid-template-columns: auto 1fr; align-items: start; column-gap: clamp(20px, 3vw, 40px); max-width: 760px; margin: clamp(48px, 6vw, 80px) auto; padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 48px); background: #fff; border-left: 4px solid var(--brand); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.pull-quote-mark { font-family: var(--font-heading); font-size: clamp(80px, 11vw, 130px); line-height: 0.75; color: var(--brand); opacity: 0.5; font-weight: var(--weight-bold); user-select: none; margin-top: 6px; }
.pull-quote-text { font-family: var(--font-heading); font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.4; font-style: italic; color: var(--ink-heading); margin: 0; font-weight: var(--weight-medium); }
@media (max-width: 560px) { .pull-quote { grid-template-columns: 1fr; row-gap: 8px; } .pull-quote-mark { font-size: 64px; line-height: 0.6; } }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); max-width: 1000px; margin: var(--space-12) auto; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare-panel { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); position: relative; }
.compare-panel--engine { background: var(--brand-wash); border: 1px solid var(--brand-soft); border-top: 4px solid var(--brand); }
.compare-panel--tools { background: var(--paper); border-top: 4px solid var(--hairline); }
.compare-label { font-family: var(--font-body); font-size: 0.75rem; font-weight: var(--weight-semibold); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: var(--space-3); }
.compare-panel--tools .compare-label { color: var(--ink-light); }
.compare-panel--engine .compare-label { color: var(--brand); }
.compare-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: var(--weight-semibold); color: var(--ink-heading); margin-bottom: var(--space-5); letter-spacing: -0.01em; }
.compare-list { list-style: none; padding: 0; margin: 0; font-size: 1.0625rem; }
.compare-list li { padding: 10px 0; border-bottom: 1px dashed var(--hairline); color: var(--ink-body); }
.compare-list li:last-child { border-bottom: none; }
.compare-panel--engine .compare-engine-body { font-size: 1.125rem; line-height: 1.6; color: var(--ink-body); }
.compare-panel--engine .compare-engine-body strong { color: var(--ink-heading); font-weight: var(--weight-semibold); }
.reframe-title { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: var(--weight-semibold); margin-bottom: var(--space-10); max-width: 900px; }
.reframe-title em { font-style: italic; color: var(--brand-strong); }
.meet { display: grid; grid-template-columns: 280px 1fr; gap: clamp(36px, 6vw, 72px); align-items: start; max-width: 1040px; margin: 0 auto; }
@media (max-width: 820px) { .meet { grid-template-columns: 1fr; } }
.photo-card { background: var(--paper-tint); border: 1px solid var(--hairline); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; position: sticky; top: 100px; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.discovery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); margin: var(--space-10) 0 var(--space-8); }
@media (max-width: 720px) { .discovery { grid-template-columns: 1fr; } }
.discovery-card { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 28px 28px 28px 24px; display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; transition: transform var(--transition-fast), box-shadow var(--transition-fast); }
.discovery-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.discovery-num { font-family: var(--font-heading); font-size: 1.625rem; font-weight: var(--weight-bold); color: var(--brand); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; padding-top: 2px; }
.discovery-card p { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-body); }
.discovery-bonus { background: var(--brand-wash); border: 1px solid var(--brand-soft); border-left: 4px solid var(--brand); border-radius: var(--radius-md); padding: 32px clamp(28px, 4vw, 44px); margin-bottom: var(--space-6); }
.discovery-bonus-tag { display: inline-block; font-family: var(--font-body); font-size: 0.75rem; font-weight: var(--weight-bold); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; background: var(--brand); padding: 6px 12px; border-radius: var(--radius-sm); margin-bottom: var(--space-3); }
.discovery-bonus h3 { font-size: 1.375rem; margin-bottom: var(--space-3); color: var(--ink-heading); font-weight: var(--weight-semibold); }
.discovery-bonus p { font-size: 1.0625rem; line-height: 1.6; color: var(--ink-body); margin: 0; }
.discovery-meta { text-align: center; font-size: 0.9375rem; color: var(--ink-muted); margin-top: var(--space-6); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); margin-top: var(--space-10); }
@media (max-width: 720px) { .testimonials { grid-template-columns: 1fr; } }
.test-card { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.test-tag { align-self: flex-start; font-family: var(--font-body); font-size: 0.75rem; font-weight: var(--weight-bold); letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: var(--brand); padding: 7px 14px; border-radius: var(--radius-sm); line-height: 1.2; }
.test-quote { font-family: var(--font-heading); font-size: 1.1875rem; line-height: 1.5; color: var(--ink-heading); font-style: italic; margin: 0; font-weight: var(--weight-medium); }
.test-name { font-size: 0.9375rem; color: var(--ink-muted); font-weight: var(--weight-semibold); letter-spacing: 0.02em; }
.proof-close { max-width: 720px; margin: var(--space-12) auto 0; text-align: center; font-family: var(--font-heading); font-size: 1.3125rem; line-height: 1.5; color: var(--ink-heading); font-style: italic; }
.guarantee { max-width: 800px; margin: 0 auto; text-align: center; }
.guarantee h2 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.02em; margin-bottom: var(--space-8); font-weight: var(--weight-semibold); }
.guarantee h2 em { font-style: italic; color: var(--brand); }
.guarantee-body { max-width: 640px; margin: 0 auto; font-size: 1.1875rem; line-height: 1.75; color: var(--on-dark-muted); }
.guarantee-body p { margin: 0 0 var(--space-6) 0; }
.guarantee-body p:last-of-type { margin-bottom: var(--space-8); }
.guarantee-signature { font-family: var(--font-heading); font-style: italic; font-size: 1.25rem; color: var(--on-dark); margin-top: var(--space-8); }
.guarantee-seal { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; border: 1px solid rgba(236,124,42,0.4); background: rgba(236,124,42,0.08); border-radius: var(--radius-pill); color: var(--brand); font-size: 0.8125rem; font-weight: var(--weight-semibold); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--space-8); }
.guarantee-seal::before { content: ''; width: 8px; height: 8px; background: var(--brand); border-radius: 50%; }
.vision { max-width: var(--width-content); margin: 0 auto var(--space-16); text-align: center; }
.vision h2 { font-size: var(--h2); letter-spacing: -0.02em; margin-bottom: var(--space-6); font-weight: var(--weight-semibold); }
.vision p { font-size: 1.1875rem; line-height: 1.7; color: var(--ink-body); }
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); max-width: 960px; margin: 0 auto; align-items: stretch; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; gap: var(--space-6); } }
.price-card { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 44px); display: flex; flex-direction: column; position: relative; }
.price-card--featured { border: 2px solid var(--brand); box-shadow: var(--shadow-md); }
.price-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-family: var(--font-body); font-size: 0.75rem; font-weight: var(--weight-bold); letter-spacing: 0.14em; text-transform: uppercase; padding: 7px 16px; border-radius: var(--radius-pill); }
.price-name { font-family: var(--font-body); font-size: 0.8125rem; font-weight: var(--weight-bold); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-3); }
.price-amount { font-family: var(--font-heading); font-size: 3.25rem; font-weight: var(--weight-semibold); color: var(--ink-heading); line-height: 1; letter-spacing: -0.02em; margin-bottom: 4px; }
.price-amount-old { font-family: var(--font-heading); font-size: 1.25rem; color: var(--ink-light); text-decoration: line-through; margin-right: 10px; font-weight: var(--weight-normal); }
.price-save { display: inline-block; font-family: var(--font-body); font-size: 0.75rem; font-weight: var(--weight-bold); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: var(--radius-sm); margin-left: 8px; vertical-align: middle; }
.price-terms { font-size: 0.9375rem; color: var(--ink-muted); margin: 8px 0 var(--space-6); }
.price-features { list-style: none; padding: 0; margin: 0 0 var(--space-8) 0; flex: 1; }
.price-features li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--hairline); font-size: 1rem; line-height: 1.5; color: var(--ink-body); }
.price-features li:last-child { border-bottom: none; }
.price-features li::before { content: ''; width: 18px; height: 18px; background: var(--accent-soft); border-radius: 50%; position: relative; margin-top: 4px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F7A47' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 6'/></svg>"); background-size: 12px 12px; background-repeat: no-repeat; background-position: center; }
.price-features li.plus-row::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EC7C2A' stroke-width='3.5' stroke-linecap='round'><line x1='12' y1='5' x2='12' y2='19'/><line x1='5' y1='12' x2='19' y2='12'/></svg>"); background-color: var(--brand-soft); }
.price-features li.plus-row { font-weight: var(--weight-semibold); color: var(--ink-heading); }
.price-card .btn { width: 100%; }
.price-reassurance { text-align: center; margin-top: var(--space-10); font-size: 0.9375rem; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.guarantee-line { font-size: 0.875rem; color: var(--accent); font-weight: var(--weight-medium); text-align: center; margin: 0 0 var(--space-4); }
.order__terms { text-align: center; margin-top: var(--space-6); font-size: 0.875rem; color: var(--ink-muted); }
.faq { max-width: var(--width-content); margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--hairline); padding: var(--space-8) 0; }
.faq-item:first-of-type { padding-top: 0; }
.faq-item:last-of-type { border-bottom: none; }
.faq-q { font-family: var(--font-heading); font-size: 1.375rem; font-weight: var(--weight-semibold); color: var(--ink-heading); margin-bottom: var(--space-4); letter-spacing: -0.005em; line-height: 1.4; }
.faq-a { font-size: 1.0625rem; line-height: 1.7; color: var(--ink-body); margin: 0; }
.final-cta { text-align: center; max-width: 760px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.02em; margin-bottom: var(--space-5); font-weight: var(--weight-semibold); line-height: 1.2; }
.final-cta-sub { font-size: 1.25rem; line-height: 1.6; color: var(--ink-body); margin-bottom: var(--space-10); }

/* Sales-page footer (scoped: main.css owns the site footer) */
.sales-page .sales-footer { background: var(--paper); border-top: 1px solid var(--hairline); padding: var(--space-10) 0; }
.sales-page .sales-footer__inner { max-width: var(--width-max); margin: 0 auto; padding: 0 var(--space-6); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); font-size: 0.9375rem; color: var(--ink-muted); }
.sales-page .sales-footer__links { display: flex; gap: var(--space-6); }
.sales-page .sales-footer__links a { color: var(--ink-muted); text-decoration: none; }
.sales-page .sales-footer__links a:hover { color: var(--brand); }
.muted { color: var(--ink-muted); }
.text-center { text-align: center; }
