/* A title page as a long sales letter: a narrow reading column, buy boxes between the sections, a sticky buy bar. */
.sales { padding-bottom: 40px; }
.sales-has-bar { padding-bottom: 110px; }
.sales p, .sales li { font-size: 1.1rem; line-height: 1.7; }
.sales h2 { font-size: clamp(1.45rem, 3vw, 1.85rem); line-height: 1.25; margin: 2.2em 0 .7em; }

/* Hero: the cover and the sample beside the headline and the first buy box. */
.sales-hero { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; margin: 1.2em 0 2.4em; }
.sales-hero .cover-t { font-size: 1.3rem; }
.sales-kicker { margin: 0 0 .5em; font-size: .8rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.sales-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.15; margin: 0 0 .5em; }
.sales-sub { color: var(--muted); font-size: 1.15rem !important; margin: 0 0 1.2em; }
.sales-sample { margin: 14px 0 0; }
.sales-sample figcaption { font-size: .88rem; font-weight: 600; margin-bottom: 6px; }

/* A buy box: price, button, what you get. */
.buy-box { margin: 1.6em 0; padding: 18px 20px; border-radius: 14px; background: var(--card); border: 2px solid var(--gold); box-shadow: var(--shadow); }
.buy-price { margin: 0 0 10px; font-size: 1.6rem !important; line-height: 1.2 !important; }
.buy-price s { color: var(--muted); font-size: 1.1rem; margin-right: .3em; }
.buy-price strong { font-family: "Fraunces", Georgia, serif; }
.buy-what { list-style: none; padding: 0; margin: 12px 0 0; }
.buy-what li { font-size: .92rem !important; line-height: 1.5 !important; padding-left: 1.4em; position: relative; color: var(--muted); }
.buy-what li::before, .ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.buy-pass { margin: 10px 0 0; font-size: .92rem !important; }

/* The opening reads like a letter: one idea a line, generous space. */
.sales-lead p:first-child::first-letter { font-family: "Fraunces", Georgia, serif; font-size: 3.2em; float: left; line-height: .9; margin: .06em .1em 0 0; color: var(--gold); }
.sales-lead p, .sales-promise p, .sales-close p { margin: 0 0 1em; }

.fasc { list-style: none; padding: 0; margin: 0; }
.fasc li { position: relative; padding: .55em 0 .55em 2em; border-bottom: 1px solid var(--line); }
.fasc li::before { content: "\25B8"; position: absolute; left: .3em; top: .5em; color: var(--accent); font-size: 1.2em; }

.part { margin: 0 0 1.4em; padding: 20px 22px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.part h3 { font-size: 1.3rem; line-height: 1.3; margin: .2em 0 .6em; }
.part-k { margin: 0; font-size: .8rem !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.part-walk { margin: 1em 0 .3em; font-weight: 700; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 1.6em; margin-bottom: .3em; }

.sales-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 2.4em; }
.fit { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); }
.fit h2 { font-size: 1.2rem; margin: 0 0 .6em; }
.fit ul { padding-left: 1.1em; margin: 0; }
.fit li { margin-bottom: .45em; font-size: 1rem; }
.fit-yes { background: var(--card); border-color: var(--gold); }
.fit-no { color: var(--muted); }

.sales-sources { font-size: .95rem !important; color: var(--muted); }

.sales-faq details { border-bottom: 1px solid var(--line); padding: .3em 0; }
.sales-faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; padding: .7em 0; line-height: 1.4; }
.sales-faq details p { margin: 0 0 .9em; }

.sales-ps, .sales-close .sales-ps { margin-top: 1.6em; padding: 16px 20px; border-left: 4px solid var(--gold); background: var(--card); }

/* The sticky buy bar itself is in shop.css (the membership bar stands on every selling page). */
/* A /go/ sample page docks both bottom bars in one fixed column, so the mini player sits on the buy bar, never under it. */
.go-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; }
.go-dock > .gf-mini, .go-dock > .sticky-buy { position: static; }
.go-dock > .sticky-buy:not(.on) { display: none; }
.go-dock > .gf-mini:has(+ .sticky-buy.on) { padding-bottom: 10px; }

/* Phone: the document never scrolls, the body does, so the fixed bar never bounces. */
@media (max-width: 900px) {
  html, body { overscroll-behavior-y: none; }
  html { height: 100%; overflow: hidden; }
  body { position: relative; height: 100%; min-height: 0; overflow-x: hidden; overflow-y: auto; }
  table { display: block; overflow-x: auto; }
  :is(input, textarea, select) { font-size: 16px; }
}
/* Computer: the hero leaves the 760px letter column so the cover is as big as the headline beside it. */
@media (min-width: 1000px) {
  .sales-hero, .sales .store-back { --hero-w: 1080px; margin-inline: calc(50% - min(var(--hero-w) / 2, 50vw - 22px)); }
  .sales-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .sales-hero-side { position: sticky; top: 24px; }
  .sales-hero .cover-t { font-size: 2rem; }
}
@media (max-width: 640px) {
  .sales-hero { grid-template-columns: 1fr; gap: 18px; }
  .sales-hero-side .cover { max-width: 260px; margin: 0 auto; }
  .sales-hero-main { order: -1; }
  .sales-fit { grid-template-columns: 1fr; }
  .sales p, .sales li { font-size: 1.05rem; }
  .sticky-t { display: none; }
  .sticky-p { flex: 1; }
}
