/* W-079 pricing: the landing's rate card (assets/w079-e.css, scoped to this page too) under a
   page title; then the deliverables and the opt-in charges on paper. */

/* the head of the rate card is the page's title */
html.pricing-final .pricing-intro { padding-top:56px; }
html.pricing-final .pricing-intro .v2-offer-label { color:var(--on-black-2); }
html.pricing-final .pricing-title-block { grid-area:title; }
html.pricing-final main .pricing-title-block h1 { margin:10px 0 0; color:var(--on-black); font-family:var(--font-display); font-size:clamp(40px,4.4vw,68px); font-weight:370; line-height:1.03; letter-spacing:-.024em; text-wrap:balance; }
/* W-130: the title is set in three lines at every width, so each price has a line of its own and the fallback font
   breaks it where the web font does (in two lines it dropped 58 to 70px from 1280px when Newsreader landed late) */
html.pricing-final main .pricing-title-block h1 .ptb-line { display:block; }
/* W-131: section 01's heading keeps "Four" with "client-ready deliverables." (it read "One audit. Four /
   client-ready deliverables." from 1041px). From 341 to 429px the unit cannot fit one line and would leave
   "deliverables." alone on a third line, so there the heading breaks as before. */
@media (max-width:340px), (min-width:430px) {
  html.pricing-final #package-title .pr-title-unit { display:inline-block; }
}
html.pricing-final .pricing-lede { max-width:35.16em; margin:18px 0 0; color:var(--on-black-2); font-size:clamp(16px,1.18vw,18.5px); line-height:1.5; }
html.pricing-final .pricing-intro .rate-side { padding-top:34px; }
/* the gate's W-026 r2 seam at 1440: the trial note carries 12 px above it, height-neutral */
@media (min-width:701px) {
  html.pricing-final .package-choice-grid--compare .package-trial-note { margin-top:-6px; padding-top:12px; }
}

/* ---------- 01: the four deliverables, small and real ---------- */
html.pricing-final .pr-package { padding:72px 0 0; }
html.pricing-final .pr-package-head .w079-side { padding-top:16px; }
html.pricing-final .pr-package-head .w079-side .w079-lede { margin:0; max-width:none; }
html.pricing-final .pr-package-head .w079-side .w079-small { margin:10px 0 0; }
html.pricing-final .pricing-parts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); column-gap:32px; row-gap:28px; margin:36px 0 0; padding:0; list-style:none; }
html.pricing-final .pricing-part { display:grid; grid-template-columns:96px minmax(0,1fr); grid-template-rows:auto 1fr; column-gap:16px; min-width:0; margin:0; padding:0; }
html.pricing-final .pricing-thumb { position:relative; display:block; grid-row:1 / span 2; align-self:start; padding-top:8px; color:inherit; text-decoration:none; }
html.pricing-final .pricing-thumb img { display:block; width:100%; height:auto; color:transparent; }
html.pricing-final .pricing-thumb .pt-back { position:absolute; top:0; left:5px; width:100%; box-shadow:0 0 0 .5px rgba(58,44,20,.2),0 6px 10px -6px rgba(58,44,20,.3); }
html.pricing-final .pricing-thumb .pt-sheet { position:relative; display:block; background:var(--sheet); box-shadow:0 0 0 .5px rgba(58,44,20,.16),0 1px 1px rgba(58,44,20,.07),0 6px 10px -4px rgba(58,44,20,.18); }
@media (hover:hover) {
  html.pricing-final .pricing-thumb .pt-sheet { transition:transform 200ms var(--ease-settle); }
  html.pricing-final .pricing-thumb:hover .pt-sheet { transform:translateY(-3px); }
}
html.pricing-final main .pricing-part h3 { margin:0; color:var(--ink); font-family:var(--font-display); font-size:22px; font-weight:400; line-height:1.15; letter-spacing:-.008em; }
html.pricing-final .pricing-part p { grid-column:2; margin:6px 0 0; color:var(--ink-2); font-size:14px; line-height:1.48; }
/* the backlog has no page image: its own first ticket, set as a small clean sheet */
html.pricing-final .pt-backlog { container-type:inline-size; aspect-ratio:1224 / 1584; overflow:hidden; padding:7.5% 7.5% 0; color:var(--ink-2); font-family:var(--font-body); }
html.pricing-final .pt-backlog span { display:block; }
html.pricing-final .pt-backlog .bt-title { color:var(--ink); font-family:var(--font-display); font-size:7.1cqw; line-height:1.14; }
html.pricing-final .pt-backlog .bt-ticket { margin-top:6cqw; padding-top:4cqw; border-top:1.5px solid var(--ink); color:var(--ink); font-size:5.1cqw; line-height:1.36; }
html.pricing-final .pt-backlog .bt-p { color:var(--amber); font-size:4.6cqw; font-weight:600; letter-spacing:.12em; margin-bottom:1cqw; }
html.pricing-final .pr-package-foot { display:flex; align-items:baseline; justify-content:space-between; gap:24px; margin-top:28px; padding-top:12px; border-top:1px solid var(--hair); }
html.pricing-final .pr-package-foot .w079-small { margin:0; }
html.pricing-final .pr-package-link { display:inline-block; margin-block:-9px; padding-block:9px; font-family:var(--font-display); font-size:21px; font-weight:400; line-height:1.3; text-underline-offset:4px; }

/* ---------- 02: every charge beyond the plan is opt-in ---------- */
html.pricing-final .pricing-policy { padding:72px 0 64px; }
html.pricing-final .pp-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:32px; margin-top:32px; border-top:2px solid var(--ink); }
html.pricing-final .pp-grid article { padding:18px 0 0; }
html.pricing-final .pp-num { display:block; color:var(--amber); font-family:var(--font-display); font-size:30px; line-height:1; letter-spacing:-.01em; }
html.pricing-final main .pp-grid h3 { margin:12px 0 0; color:var(--ink); font-family:var(--font-display); font-size:24px; font-weight:400; line-height:1.15; letter-spacing:-.008em; }
html.pricing-final .pp-grid p { margin:8px 0 0; color:var(--ink-2); font-size:16px; line-height:1.55; }
html.pricing-final .pricing-close { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 18px; margin:44px 0 0; padding-top:16px; border-top:1px solid var(--hair); font-size:16px; }
html.pricing-final .pricing-close-label { display:inline-flex; align-items:baseline; gap:10px; color:var(--amber); font-size:12.5px; font-weight:600; letter-spacing:.15em; line-height:1.4; text-transform:uppercase; }
html.pricing-final .pricing-close-label .sec-num { font-size:28px; line-height:1; letter-spacing:-.01em; }
html.pricing-final .pricing-close .w079-link { display:inline-block; margin-block:-12px; padding-block:12px; }

/* ---------- narrower screens ---------- */
@media (max-width:1300px) {
  html.pricing-final .pricing-parts { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:1040px) {
  html.pricing-final .pricing-intro .rate-side { padding-top:18px; }
  html.pricing-final .pricing-title-block { grid-area:title; }
  html.pricing-final .pr-package-head .w079-side { padding-top:0; }
  html.pricing-final .pp-grid { grid-template-columns:minmax(0,1fr); }
  html.pricing-final .pp-grid article + article { margin-top:8px; border-top:1px solid var(--hair); }
}
@media (max-width:700px) {
  html.pricing-final .pricing-intro { padding-top:30px; }
  html.pricing-final main .pricing-title-block h1 { font-size:clamp(34px,10vw,42px); line-height:1.04; }
  html.pricing-final .pricing-lede { font-size:16px; line-height:1.45; }
  html.pricing-final .pricing-intro .rate-side { padding-top:16px; }
  html.pricing-final .pr-package { padding-top:48px; }
  html.pricing-final .pricing-parts { grid-template-columns:minmax(0,1fr); row-gap:22px; margin-top:26px; }
  html.pricing-final .pricing-part { grid-template-columns:88px minmax(0,1fr); }
  html.pricing-final main .pricing-part h3 { font-size:21px; }
  html.pricing-final .pricing-part p { font-size:13.5px; line-height:1.42; }
  html.pricing-final .pr-package-foot { display:block; margin-top:22px; }
  html.pricing-final .pr-package-link { display:block; margin-top:6px; font-size:20px; }
  html.pricing-final .pricing-policy { padding:48px 0 40px; }
  html.pricing-final .pp-grid { margin-top:22px; }
  html.pricing-final main .pp-grid h3 { font-size:22px; }
  html.pricing-final .pp-grid p { font-size:15px; line-height:1.5; }
  html.pricing-final .pricing-close { margin-top:32px; }
}

/* ---------- art director review, 2026-11-04 (rows 3, 13) ---------- */
/* one numeral system: sections only */
html.pricing-final .pp-num,
html.pricing-final .pricing-close-label .sec-num { display:none; }
html.pricing-final main .pp-grid h3 { margin-top:0; }
/* the close reads as the page's last action, set like the landing's package link */
html.pricing-final .pricing-close { align-items:baseline; justify-content:space-between; }
html.pricing-final .pricing-close .w079-link { font-family:var(--font-display); font-size:21px; font-weight:400; line-height:1.3; text-underline-offset:4px; }
html.pricing-final .pricing-close .w079-link::after { content:"\00a0\2192"; content:"\00a0\2192" / ""; }
/* measure at tablet widths */
@media (max-width:1040px) {
  html.pricing-final :is(.pp-grid h3,.pp-grid p,.pr-package-head .w079-side > p) { max-width:62ch; }
}

/* ---------- third art director review (phones and tablets), 2026-11-04 ---------- */
/* r3: the page title on a tablet */
@media (min-width:701px) and (max-width:1040px) {
  html.pricing-final main .pricing-title-block h1 { font-size:clamp(44px,4.4vw,68px); }
}
/* r4: the package lede keeps its 62ch on a tablet (the earlier rule lost to the lede's max-width:none) */
@media (min-width:701px) and (max-width:1040px) {
  html.pricing-final .pr-package-head .w079-side .w079-lede { max-width:62ch; }
}
/* r11: the package link holds one line beside its caption */
@media (min-width:701px) {
  html.pricing-final .pr-package-foot > .pr-package-link { flex:none; white-space:nowrap; }
}

/* ---------- the next look, 2026-11-06: pricing closes on the black band ---------- */
/* the page ends the way the other pages end: the promise, the trial sentence, and both offers as keys at the right */
html.pricing-final .pricing-policy { padding-bottom:72px; }
html.pricing-final .pricing-closing { border-bottom:1px solid var(--hair-black); }
html.pricing-final .pricing-closing .w079-split { align-items:end; }
html.pricing-final .pricing-closing .w079-h2 { max-width:13em; }
html.pricing-final .pricing-closing .w079-actions { justify-content:flex-end; margin-top:0; }
@media (max-width:1040px) {
  html.pricing-final .pricing-closing .w079-split { align-items:start; row-gap:28px; }
  html.pricing-final .pricing-closing .w079-actions { justify-content:flex-start; }
}
@media (max-width:700px) {
  html.pricing-final .pricing-policy { padding-bottom:52px; }
}

/* ---------- review fixes, 2026-11-06: the pricing closing band ---------- */
/* the closing headline breaks after its comma ('Nothing worth presenting, / no credit spent.'): balance split it after 'worth' */
html.pricing-final main .pricing-closing .w079-h2 { text-wrap:wrap; }
/* where the two keys stack, they share one width and one left edge */
@media (min-width:1041px) and (max-width:1179px) {
  html.pricing-final .pricing-closing .w079-actions { display:grid; justify-content:end; }
  html.pricing-final .pricing-closing .w079-actions > * + * { margin-left:0; }
}

/* ---------- 01 on laptop and desktop screens: the four deliverables drawn as a shelf of real
   documents standing on one baseline, each over its name, the front sheet drawn from the sample
   package's own page (make-shelf.cjs); tablets and phones get the same shelf below (W-089; the
   owner's shrink-the-shelf pick of 2026-11-04 is the home page's and is left as it is). The cover
   shows a thin edge behind each page, about 5px at 1440 as on the stamps; the slide takes 86 percent
   of its column so it keeps its distance from the script; the lines under the names are balanced,
   which Firefox does where it does not do pretty; only the documents answer the pointer ---------- */
@media (min-width:1041px) {
  html.pricing-final .pricing-parts { grid-template-columns:repeat(4,minmax(0,1fr)); column-gap:40px; margin-top:52px; }
  html.pricing-final .pricing-part { grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto 1fr; }
  html.pricing-final .pricing-thumb { grid-row:auto; aspect-ratio:1 / 1.06; margin:0 0 26px; padding:0; pointer-events:none; }
  html.pricing-final .pricing-thumb :is(.pt-sheet,.pt-back) { pointer-events:auto; }
  html.pricing-final .pricing-thumb .pt-sheet { position:absolute; left:0; bottom:0; width:78%; box-shadow:0 0 0 .5px rgba(58,44,20,.16),0 2px 3px rgba(58,44,20,.07),0 22px 34px -16px rgba(58,44,20,.32); }
  html.pricing-final .pricing-thumb .pt-back { top:auto; bottom:1.6%; left:1.7%; width:78%; box-shadow:0 0 0 .5px rgba(58,44,20,.2),0 14px 22px -14px rgba(58,44,20,.3); }
  html.pricing-final .pricing-part:nth-child(2) .pt-sheet,
  html.pricing-final .pricing-part:nth-child(2) .pt-back { width:86%; }
  html.pricing-final .pricing-thumb .pt-backlog { aspect-ratio:auto; padding:7.5% 7.5% 9%; }
  html.pricing-final .pricing-part p { grid-column:1; text-wrap-style:balance; }
}
@media (min-width:1041px) and (max-width:1300px) {
  html.pricing-final .pricing-parts { column-gap:28px; }
}

/* ---------- 01 on tablets and phones (W-089): the same shelf, four across from 701 to 1040px and
   two across on phones, in place of the 88 and 96px stamps beside their names. Each item spans
   three rows of the list and shares them (subgrid; where it is missing, each item stacks on its
   own), so a row's names and lines stay level; the backlog card is sized to its lines and stands
   on the row's baseline, as on the desktop shelf, never taller than its document's place (a
   minimum font size or text zoom set in the browser would lift it over the text above); on sharp
   screens the front sheets load their 600 and 640px copies (the sizes attributes in
   pricing/index.html). The shelf takes its height from aspect-ratio and sets the backlog card's
   type in container units, so a browser without either (iOS 15, Chrome before 105, Firefox before
   110) keeps the list form above. The phone block ends at 700.98px (the site's seam form), so a
   zoomed or scaled window between 700 and 701px draws the phone shelf and the phone foot, not the
   bare shared rules. On a short window (a phone held sideways) the documents shrink until one
   stands whole with its name under the header. The lines under the names are balanced where
   pretty is missing (Firefox; Safari before 26). On paper each item prints whole ---------- */
@supports (aspect-ratio:1 / 1) and (width:1cqw) {
  @media (max-width:1040px) {
    html.pricing-final .pricing-parts { grid-auto-rows:auto; row-gap:0; container:pricing-parts / inline-size; }
    html.pricing-final .pricing-part { grid-row:span 3; grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto 1fr; grid-template-rows:subgrid; row-gap:0; }
    html.pricing-final .pricing-thumb { grid-row:auto; padding:0; pointer-events:none; }
    html.pricing-final .pricing-thumb :is(.pt-sheet,.pt-back) { pointer-events:auto; }
    html.pricing-final .pricing-thumb .pt-sheet { position:absolute; left:0; bottom:0; }
    html.pricing-final .pricing-thumb .pt-back { top:auto; bottom:1.6%; left:2.4%; }
    html.pricing-final .pricing-thumb .pt-backlog { aspect-ratio:auto; max-height:100%; padding:7.5% 7.5% 9%; }
    html.pricing-final .pricing-part p { grid-column:1; text-wrap:balance; text-wrap:pretty; }
  }
  @media (min-width:701px) and (max-width:1040px) {
    html.pricing-final .pricing-parts { grid-template-columns:repeat(4,minmax(0,1fr)); column-gap:24px; }
    html.pricing-final .pricing-thumb { aspect-ratio:1 / 1.1; margin:0 0 16px; }
    html.pricing-final .pricing-thumb :is(.pt-sheet,.pt-back) { width:84%; }
    html.pricing-final .pricing-part:nth-child(2) :is(.pt-sheet,.pt-back) { width:96%; }
  }
  @media (max-width:700.98px) {
    html.pricing-final .pricing-parts { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:18px; }
    html.pricing-final .pricing-part { padding-bottom:30px; }
    html.pricing-final .pricing-part:nth-last-child(-n+2) { padding-bottom:0; }
    html.pricing-final .pricing-thumb { aspect-ratio:1224 / 1584; max-width:240px; max-width:min(240px,max(120px,calc((100svh - 120px) * 1224 / 1584))); margin:0 0 14px; }
    html.pricing-final .pricing-thumb :is(.pt-sheet,.pt-back) { width:96%; }
  }
  /* each name on one line, stepped by the list's own width, which a scrollbar, a zoom or a scaled
     screen keeps apart from the window's: 'Walkthrough deck' needs 162.1px at 22px, 154.4 at 21px,
     146.8 at 20px, 139.1 at 19px and 131.6 at 18px. Four across the columns are (list - 72px) / 4,
     two across (list - 18px) / 2; each step keeps 2px of room, but the phones' 21px step keeps
     0.5px, so a 360px phone (columns of 155px) keeps its 21px names. Under 21px names the phone
     lines are 13px, so the names still stand above them */
  @media (min-width:701px) and (max-width:1040px) {
    @container pricing-parts (max-width:728.2px) { html.pricing-final main .pricing-part h3 { font-size:20px; } }
    @container pricing-parts (max-width:667px) { html.pricing-final main .pricing-part h3 { font-size:19px; } }
    @container pricing-parts (max-width:636.4px) { html.pricing-final main .pricing-part h3 { font-size:18px; } }
  }
  @media (max-width:700.98px) {
    @container pricing-parts (max-width:327.8px) {
      html.pricing-final main .pricing-part h3 { font-size:20px; }
      html.pricing-final .pricing-part p { font-size:13px; }
    }
    @container pricing-parts (max-width:315.5px) { html.pricing-final main .pricing-part h3 { font-size:19px; } }
    @container pricing-parts (max-width:300.2px) { html.pricing-final main .pricing-part h3 { font-size:18px; } }
  }
  /* on paper a page break moves a whole row (four across, the whole shelf) to the next page, never
     through a document or a sentence; the 2px keep a cover sheet's top edge, which stands up to
     0.9px above its document's place on tablets, on its item's page */
  @media print and (max-width:1040px) {
    html.pricing-final .pricing-part { break-inside:avoid; padding-top:2px; }
  }
}
/* the package foot's phone form carried to the same seam (the 700px rules above stop at 700) */
@media (max-width:700.98px) {
  html.pricing-final .pr-package-foot { display:block; margin-top:22px; }
  html.pricing-final .pr-package-link { display:block; margin-top:6px; font-size:20px; }
}

/* W-111 (2026-11-16, the owner's "Yes, line them up"): the shelf keeps its text level under a longer name. Under 1041px
   the four already share their rows (above); from 1041px each item shares them too, and on every width the names sit on
   their row's foot (W-079 C's form), so every name's last line shares one baseline and every text starts on one line.
   A browser without subgrid keeps the items top-aligned, as before. */
@supports (grid-template-rows:subgrid) {
  @media (min-width:1041px) {
    html.pricing-final .pricing-parts { row-gap:0; }
    html.pricing-final .pricing-part { grid-row:span 3; grid-template-rows:subgrid; row-gap:0; }
  }
  html.pricing-final main .pricing-part h3 { align-self:end; }
}

/* W-133 (2026-11-24, the owner's "Yes, build it"): the trial band carries the page's trial key on phones. Under 701px
   the header's trial key sits in the menu (2026-11-06) and Choose Studio starts below the first screen, so the band
   that offers the trial holds the key: a press chooses Studio and opens its email field, as the other trial keys do
   (w079-e.js, W-129); with billing not ready it jumps to Studio's card. The .w079-black wrapper gives it the lit
   amber key of the page's black sections, its own ground left off so the band's black shows through. The rule
   runs to the 701px seam, where the phone action rows (to 700px) stop. */
html.pricing-final .rate-side .ptb-act { display:none; background:transparent; }
@media (max-width:700.98px) {
  html.pricing-final .rate-side .ptb-act { display:flex; flex-direction:column; align-items:stretch; margin-top:14px; }
  html.pricing-final .rate-side .ptb-act .btn { width:100%; }
}

/* W-133: when Stripe's setup does not answer, the form opens with the "Stripe checkout did not open." notice and its
   Retry key above Studio's card, and the band key's jump to Studio's card would carry the notice under the masthead.
   While the notice shows, the band holds no key, as before W-133; the menu's and the foot's trial keys land on the
   band with the notice in view. */
html.pricing-final.billing-config-error .rate-side .ptb-act { display:none; }

/* W-133: under the phone's Reduce Motion setting base.css gives every element a .01ms transition, and the
   transition-property is all, so a chosen plan's folded email field turns visible a moment after the press. The
   press's focus() (w079-e.js) then meets a hidden field, and the cursor and the phone's keyboard stay out: on every
   plan key and trial key of this page (the product check of 2026-11-24). With no transition in the fold, the field
   shows at once and takes the cursor, as it does with motion on. */
@media (prefers-reduced-motion: reduce) {
  html.pricing-final .package-card-signup, html.pricing-final .package-card-signup * { transition-property:none; }
}

/* W-140 (2026-12-02, the owner's "Yes, build it"): on phones the sticky header's button is this page's trial key. Up to
   700px, where the header folds its links into the menu, "Start the free trial" takes the place of "Get a free
   snapshot", whose press left the price page for home's form. A press chooses Studio and opens its email field, as the
   menu's key does (w079-e.js, W-129); with billing not ready it jumps to the trial band, as that key does. From 701px
   the header keeps its snapshot key, and the other pages keep theirs. The key stays while the snapshot intake is down
   (w079-e.css then hides the header's snapshot key): the trial does not use the intake. With scripts off, the page's
   no-script rule hides it with the header's other keys. */
html.pricing-final .nav .nav-phone-trial { display:none; }
@media (max-width:700px) {
  html.pricing-final .nav .nav-snap { display:none; }
  html.pricing-final .nav .nav-phone-trial,
  html.pricing-final.w079-settled.intake-unavailable .nav .nav-phone-trial { display:inline-flex; }
}
