/* offers.css: offer cards, offer pages, status pills, helpers row, product-page hero measure. Loaded after /style.css,
   the page's own CSS and /previews.css. External stylesheet only (CSP). Designed at 390 / 820 / 1440 / 1920 from the first line. */

/* ---- status pill: one vocabulary everywhere ---- */
.pill { display: inline-flex; align-items: center; gap: .45em; min-height: 1.9em; padding: .1em .75em; border-radius: var(--kc-radius-pill, 999px); font-size: 1rem; font-weight: 600; line-height: 1.3; white-space: nowrap; background: var(--kc-status-paused-soft); color: var(--ink); border: 1px solid var(--rule); }
.pill::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.pill-live { background: var(--kc-status-done-soft); color: var(--kc-status-done); border-color: transparent; }
.pill-review { background: var(--kc-status-due-soon-soft); color: var(--kc-status-due-soon); border-color: transparent; }
.pill-soon { background: var(--kc-status-paused-soft); color: var(--ink); }
.pill-parked { background: transparent; color: var(--muted); }
.status-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: 0 0 1rem; font-size: 1rem; color: var(--muted); }
.status-row .where { color: var(--muted); }
.planned { font-style: italic; font-weight: 400; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- homepage: a short headline, then the offers, all inside the first screen ---- */
.hero-offers { padding-block: .75rem 3.5rem; }
.hero-offers h1 { font-size: clamp(2.2rem, 1.3rem + 2vw, 3.3rem); line-height: 1.04; letter-spacing: -.045em; max-width: 24ch; margin: .5rem 0 1.1rem; }
.hero-offers .lede { display: none; }
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.offers-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offer-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--kc-radius-xl, 24px); box-shadow: 0 18px 40px -30px #1b1a1766; }
.offer-copy { display: flex; flex-direction: column; flex: 1; padding: 1.25rem clamp(1.4rem, 1.8vw, 2rem) 1.4rem; min-width: 0; }
.offer-copy h2 { font-size: clamp(1.6rem, 1rem + 1.1vw, 2rem); line-height: 1.08; letter-spacing: -.04em; margin: .4rem 0 .5rem; }
.offer-copy .outcome { margin: 0 0 .75rem; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.offer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.25rem; margin: 0 0 .9rem; }
.offer-copy .price { margin: 0; font-size: 1rem; }
.offer-copy .status-row { margin: 0; }
.offer-copy .button { align-self: flex-start; margin-top: auto; }
.offer-art.pv { order: -1; aspect-ratio: 1.5 / 1; height: auto; }
.offer-art.pv img { object-fit: cover; object-position: 50% 0; }
.offer-care .offer-art.pv img { object-position: 50% 0; }

/* ---- helpers row ---- */
.helpers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.helper-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--kc-radius-lg, 16px); padding: 1.5rem; display: flex; flex-direction: column; min-width: 0; }
.helper-art.pv { margin: -1.5rem -1.5rem 1.25rem; border-radius: calc(var(--kc-radius-lg, 16px) - 1px) calc(var(--kc-radius-lg, 16px) - 1px) 0 0; overflow: hidden; aspect-ratio: 2 / 1; border-bottom: 1px solid var(--rule); }
.helper-art.pv img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; }
.helper-card h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -.035em; line-height: 1.1; margin: .5rem 0 .6rem; }
.helper-card p { margin: 0 0 .9rem; }
.helper-card > p:not(.kind):not(.price):not(.meta):not(.status-row) { color: var(--muted); }
.helper-card .meta { margin-top: auto; margin-bottom: 0; font-size: 1rem; }
.also { color: var(--muted); margin: 1.5rem 0 0; font-size: 1rem; }

/* ---- offer pages ---- */
.offer-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr); gap: 3rem; align-items: center; padding-block: 2.5rem 3.5rem; }
.offer-hero h1 { font-size: clamp(2.5rem, 1.3rem + 3vw, 4.6rem); line-height: 1; letter-spacing: -.05em; max-width: 16ch; margin: .9rem 0 .9rem; }
.offer-hero .lede { max-width: 42ch; margin: 0 0 1.1rem; }
.offer-hero .price { margin: 0 0 .6rem; font-size: 1.05rem; }
.offer-hero .offer-art.pv { height: auto; border-radius: 24px; border: 1px solid var(--rule); box-shadow: var(--shadow); aspect-ratio: 1600 / 1100; max-height: 62vh; }
.offer-hero .offer-art.pv.ar-square { aspect-ratio: 1200 / 1100; }
.offer-hero .offer-art.pv.ar-tall { aspect-ratio: 1000 / 1390; }
.offer-hero .offer-art.pv img { object-fit: cover; object-position: 50% 0; }
.problem p { font-size: 1.15rem; line-height: 1.6; max-width: 40rem; }
.steps-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.25rem; }
@media (min-width: 1100px) { .steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--kc-radius-xl, 24px); padding: clamp(1.5rem, 2vw, 2.25rem); display: flex; flex-direction: column; min-width: 0; }
.step .kind { display: flex; align-items: center; gap: .6rem; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--hedge); color: #f6f3ec; font: 600 .95rem var(--sans); letter-spacing: 0; }
.step h3 { font-size: clamp(2rem, 1.4rem + 1.4vw, 2.8rem); letter-spacing: -.04em; line-height: 1.05; margin: .6rem 0 .75rem; }
.step p { margin: 0 0 .9rem; }
.step-problem { font-weight: 600; }
.step-promise { color: var(--muted); }
.step .price { font-size: 1rem; }
.step-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: auto; }
.step-actions .button { margin-top: 0; }
.step-actions a:not(.button) { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 600; }
.step-note { color: var(--muted); font-size: 1rem; margin: .75rem 0 0; }
.bundle { max-width: 46rem; background: var(--surface); border: 1px dashed var(--rule); border-radius: var(--kc-radius-xl, 24px); padding: clamp(1.5rem, 2vw, 2.25rem); }
.bundle .price { font-size: 1.25rem; margin: 0 0 .75rem; }
.bundle p { margin: 0 0 .9rem; }
.bundle p:last-child { margin-bottom: 0; }

/* ---- product pages: headline measure, price and action above the fold (round-1 S1, S4, S7) ---- */
.hg-hero.pv-hero-grid, .sb-hero.pv-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.hg-hero.pv-hero-grid h1, .sb-hero.pv-hero-grid h1 { font-size: clamp(2.4rem, 1.2rem + 2.6vw, 3.8rem); line-height: 1.02; max-width: 24ch; margin: .9rem 0 .9rem; }
.hg-hero.pv-hero-grid .lede, .sb-hero.pv-hero-grid .lede { max-width: 40ch; font-size: 1.1rem; margin: 0 0 1rem; }
.hg-hero .price, .sb-hero .price { margin: 0 0 .6rem; }
.hg-hero .status-row, .sb-hero .status-row { margin-bottom: .9rem; }
.hg-hero .button, .sb-hero .button { margin-top: .25rem; }
.hg-hero .hg-sub { margin: 1rem 0 0; max-width: 40ch; font-size: 1rem; }
.hg-shot figcaption, .sb-plans .price small { font-size: 1rem; }
.sb-plans .price small { font-weight: 400; }
@media (min-width: 1400px) { .hg-hero.pv-hero-grid h1, .sb-hero.pv-hero-grid h1 { font-size: clamp(3rem, 1.2rem + 2.6vw, 4rem); } .hg-hero.pv-hero-grid .lede { font-size: 1.15rem; max-width: 40ch; } }

/* ---- dark: stages read as stages, not holes (round-1 S10) ---- */
@media (prefers-color-scheme: dark) {
  .offer-card, .step, .helper-card, .bundle { box-shadow: none; }
  .step-n { background: var(--hedge); color: #13200f; }
  .pv, .offer-art.pv, .hg-hero .hg-shot.pv { background: #34332b; }
}

/* ---- tablet and down ---- */
@media (max-width: 960px) {
  .offers, .offers-3 { grid-template-columns: 1fr; }
  .offer-art.pv { aspect-ratio: 1.25 / 1; }
  .offer-care .offer-art.pv img { object-position: 50% 0; }
  .offer-hero { grid-template-columns: 1fr; gap: 2rem; padding-block: 2rem 2.5rem; }
  .offer-hero .offer-art.pv, .offer-hero .offer-art.pv.ar-square, .offer-hero .offer-art.pv.ar-tall { aspect-ratio: 16 / 10; max-height: none; }
  .hg-hero.pv-hero-grid, .sb-hero.pv-hero-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .hero-offers { padding-block: .5rem 2.5rem; }
  .hero-offers h1 { margin: .4rem 0 .9rem; }
  .offer-art.pv { aspect-ratio: 1.25 / 1; }
  .kind-name { display: none; }
  .offer-copy .button { width: 100%; justify-content: space-between; }
  .helpers { grid-template-columns: 1fr; }
  .offer-hero .offer-art.pv, .offer-hero .offer-art.pv.ar-square, .offer-hero .offer-art.pv.ar-tall { aspect-ratio: 16 / 11; border-radius: 16px; }
  .offer-hero .button { width: 100%; justify-content: space-between; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-actions .button { width: 100%; justify-content: space-between; }
  .hg-hero .button, .sb-hero .button { width: 100%; justify-content: space-between; }
}

/* ---- wide screens and TV: use the width, keep the measure ---- */
@media (min-width: 1600px) {
  .offers { gap: 1.75rem; }
  .offer-copy { padding: 2.5rem; }
  .offer-hero { gap: 4rem; }
}

.step-art { margin: calc(-1 * clamp(1.5rem, 2vw, 2.25rem)) calc(-1 * clamp(1.5rem, 2vw, 2.25rem)) 1.25rem; border-radius: calc(var(--kc-radius-xl, 24px) - 1px) calc(var(--kc-radius-xl, 24px) - 1px) 0 0; overflow: hidden; aspect-ratio: 2 / 1; border-bottom: 1px solid var(--rule); }
.step-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; }
.icon-tile { display: grid; place-items: center; background: var(--surface-2, #ece7da); }
.helper-art.icon-tile { margin: -1.5rem -1.5rem 1.25rem; aspect-ratio: 2 / 1; border-radius: calc(var(--kc-radius-lg, 16px) - 1px) calc(var(--kc-radius-lg, 16px) - 1px) 0 0; border-bottom: 1px solid var(--rule); }
.icon-tile img { width: clamp(64px, 14vw, 96px); height: auto; object-fit: contain; border-radius: 22%; box-shadow: 0 6px 18px rgba(0,0,0,.18); }

/* ---- homepage "What's next": one quiet upcoming card, then one line for the rest. Smaller than anything on sale. ---- */
#helpers:has(+ .whats-next) { padding-bottom: 0; }
.section.whats-next { border-top: 0; padding-top: 0; }
.next-card { max-width: 40rem; background: transparent; border: 1px dashed var(--rule); border-radius: var(--kc-radius-lg, 16px); padding: 1.25rem 1.5rem; scroll-margin-top: 5rem; }
.next-card .kind { color: var(--muted); margin: 0; }
.next-card h3 { font-size: clamp(1.4rem, 1.1rem + .8vw, 1.75rem); letter-spacing: -.03em; line-height: 1.15; margin: .4rem 0 .5rem; }
.next-card p { margin: 0 0 .75rem; }
.next-card > p:not(.kind):not(.status-row) { color: var(--muted); }
.next-card .status-row { margin: 0; }
.whats-next .also { max-width: 46rem; }

/* ---- About: the founder note ---- */
.founder-note { margin: 0 0 1.75rem; padding: 0 0 0 1.25rem; border-left: 2px solid var(--hedge); }
.founder-note figcaption { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin: 0 0 .6rem; }
.founder-note blockquote { margin: 0; }
.founder-note blockquote p { margin: 0; font: clamp(1.15rem, 1rem + .4vw, 1.35rem)/1.5 var(--serif); letter-spacing: -.01em; color: var(--ink); }
