/* /stack, the Full Stack's page, on the shared kit (LOCAL BUILD 25 Nov 2026, round 64: the 4A rollout of the approved Copy Machine pilot;
   ships with the 4A flip after Black Friday, on Andrej's go). Loaded by stack/index.html only, after site-kit.css. House petrol (the :root
   scheme in assets/site-4a.css; the page carries no data-scheme, so none of the Machine pages' body[data-scheme] rules reach it).
   What this file does: the term tiles under the hero price card (the last one the seven decks, while their switch is on); drawn icons
   in place of the scenes in the ink band and the Machine cards, so the eight scenes show once, in the hero (the close roster keeps its small chips); every section on its own full-width ground,
   alternating (hero stock, the ink band, the cards paper, the quotes stock, questions the petrol tint, the bio stock, the close the house
   colour band); one rhythm (48px phone, 64px desktop); the kit's questions; 56px buy buttons. Flat: no shadows, no gradients. Burnt only
   on buy buttons. */

/* ---------- the hero: four term tiles straight under the price card (desktop); under the ticks on phones ----------
   The ticks stay right under the buy buttons on every width (his rule); stack/index.html orders the tiles after them below 900px. */
.page-stack .stk-hero .stk-terms { margin: 0; gap: 8px; }
.page-stack .stk-terms li { align-items: center; gap: 12px; padding: 9px 14px 9px 10px; }
.page-stack .stk-terms .mi { width: 38px; height: 38px; }
.page-stack .stk-terms b { margin: 0 0 2px; font-size: 14.5px; line-height: 1.3; }
.page-stack .stk-terms li > div > span { font-size: 13.5px; line-height: 1.4; }
/* the Stack-only bonus takes the Research Machine's own colour (its card, the bonus box and the roster line are the same maroon) */
.page-stack .stk-terms .stk-terms-bonus { --mc: #6b1e2a; --mc-tint: #f1dcde; }
@media (max-width: 640px) { .page-stack .stk-hero { padding-bottom: 48px; } }   /* the kit's phone rhythm (was 44px) */
@media (min-width: 901px) {
  .page-stack .stk-hero-side { gap: 14px; }
  /* the eight Machine pictures a bit smaller (Andrej, 25 Nov: "maybe do the 8 grid images a bit smaller"), centred over the price
     card: 92px tiles at 1440 (were 116px), 78px from 901 to 1100 (were 96px). The labels keep one line at both sizes. */
  .page-stack .stk-hero-side .stk-wall { align-self: center; width: min(100%, 404px); gap: 12px; margin-bottom: 8px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .page-stack .stk-hero-side .stk-wall { width: min(100%, 342px); gap: 12px 10px; }
  .page-stack .stk-hero-side .stk-tile b { font-size: 9.5px; letter-spacing: 0.08em; }
}

/* ---------- how the Stack works (ink band): each step's Machine as its drawn icon on its own tint, no scene ---------- */
.page-stack .stk-how-pic.stk-how-ico { display: grid; place-items: center; background: var(--mc-tint); border-radius: 14px; overflow: visible; }
.page-stack .stk-how-ico .mi { width: 58px; height: 58px; --ti-soft: var(--paper); }
/* the other six: their six icons, two rows of three (each keeps its Machine's colours) */
.page-stack .stk-how-pics.stk-how-icos { grid-template-columns: repeat(3, 22px); gap: 3px 3px; }
.page-stack .stk-how-icos .mi { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .page-stack .stk-how { padding: 48px 0; }
  .page-stack .stk-how-ico .mi { width: 46px; height: 46px; }
  .page-stack .stk-how-pics.stk-how-icos { grid-template-columns: repeat(3, 17px); gap: 2.5px; }
  .page-stack .stk-how-icos .mi { width: 17px; height: 17px; }
}

/* ---------- every job has its own Machine: paper ground, cards with the Machine's drawn icon, each as tall as its words ---------- */
.page-stack .stk-inside-head { margin-bottom: 26px; }
.page-stack .stk-inside-head .k-h2 { margin-bottom: 10px; }
.page-stack .stk-inside-note { margin: 0; font: 400 13px/1.4 var(--font-mono); color: var(--ink-dim); }
/* an even grid, every card the same size (Andrej, 25 Nov review: "make it in grid, not masonry ... like all the same sizes");
   phones keep their one column of rows, each as tall as its words (the rule below 641px) */
.page-stack .stk-inside .stk-grid { gap: 16px; align-items: stretch; grid-auto-rows: 1fr; }
.page-stack .stk-inside .stk-card { align-content: start; }
.page-stack .stk-inside .stk-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "ico foot" "tag tag" "name name" "job job";
  column-gap: 14px; padding: 20px 20px 4px; background: var(--k-card); border: 1px solid var(--keyline); border-radius: var(--r-card); overflow: visible; }
.page-stack .stk-inside .stk-card--bonus { background: var(--paper-warm); border: 1.5px dashed var(--mc); }
.page-stack .stk-inside .stk-pic.stk-ico { grid-area: ico; display: block; width: 56px; height: 56px; aspect-ratio: auto; background: none; border-radius: 50%; overflow: visible; }
.page-stack .stk-inside .stk-ico .mi { width: 56px; height: 56px; transition: transform .25s var(--k-ease); }
.page-stack .stk-inside a.stk-ico:hover .mi { transform: scale(1.05); }
/* the price sits top right, beside the icon, as on the roster; the card ends where its words end */
.page-stack .stk-inside .stk-card .stk-foot { grid-area: foot; justify-self: end; align-self: center; margin: 0; padding: 0; border: 0; text-align: right; }
/* the price block: the number over its small line ("on its own", "with the Stack"), right-aligned like a price tag */
.page-stack .stk-inside .stk-card .stk-price { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; line-height: 1.15; }
.page-stack .stk-inside .stk-card .stk-tag { grid-area: tag; margin: 16px 0 6px; }
.page-stack .stk-inside .stk-card h3 { grid-area: name; margin: 0 0 6px; font-size: 22px; line-height: 1.15; text-wrap: pretty; }
.page-stack .stk-inside .stk-card .stk-job { grid-area: job; margin: 0 0 16px; font-size: 15px; line-height: 1.5; }
.page-stack .stk-inside .stk-bonus { margin-top: 16px; }
@media (max-width: 640px) {
  /* phones: one column of short rows, the icon on the left, so eight Machines read in one scroll */
  .page-stack .stk-inside .stk-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; align-items: start; grid-auto-rows: auto; }
  .page-stack .stk-inside .stk-card { grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "ico tag" "ico name" "ico job" "ico foot";
    padding: 16px 16px 14px; column-gap: 14px; }
  .page-stack .stk-inside .stk-pic.stk-ico, .page-stack .stk-inside .stk-ico .mi { width: 44px; height: 44px; }
  .page-stack .stk-inside .stk-card .stk-tag { align-self: start; margin: 0 0 5px; font-size: 10px; }
  .page-stack .stk-inside .stk-card h3 { margin: 0 0 4px; font-size: 21px; }
  .page-stack .stk-inside .stk-card .stk-job { margin: 0 0 10px; font-size: 14.5px; }
  .page-stack .stk-inside .stk-card .stk-foot { justify-self: start; flex-direction: row; align-items: center; text-align: left; }
  .page-stack .stk-inside .stk-card .stk-price { display: block; }
}

/* ---------- what buyers wrote back: the two quotes under the lead one, each as tall as its words ---------- */
.page-stack .stk-proof-pair { align-items: start; }

/* ---------- questions: on the petrol tint; the kit's toggle (an ink disc, petrol when open) and answers ---------- */
.page-stack .stk-faq-head .k-h2 { margin: 0 0 14px; }
.page-stack .stk-faq-sec .k-faq { border-top: 1px solid color-mix(in srgb, var(--mc-label) 26%, transparent); }
.page-stack .stk-faq-sec .k-faq .faq-item { border-bottom-color: color-mix(in srgb, var(--mc-label) 26%, transparent); }
.page-stack .stk-faq-sec .k-faq .faq-item:first-child { border-top: 0; }
.page-stack .stk-faq-sec .k-fa-list { margin: 0; }

/* ---------- who built it: the label as the kit's pill; the photo's petrol ring drawn as an outline (it was a spread box-shadow) ---------- */
.page-stack .stk-founder .k-pill { margin: 2px 0 12px; }
.page-stack .stk-founder-pic { box-shadow: none; outline: 2px solid var(--petrol); outline-offset: 3px; }

/* ---------- the close: the roster and the price as they were, on the house colour band with soft dots ----------
   The burnt button sits on the panel's ink side, never on the band. The buy buttons take the kit's 56px. */
.page-stack .stk-close .stack-panel.stk-math { margin: 0; }
.page-stack .stk-close .stk-math-roster { border-color: transparent; }
.page-stack .stk-math-buy .stack-actions .btn { min-height: 56px; }
@media (max-width: 640px) { .page-stack .stk-close { padding: 48px 0; } }

/* ---------- the seven digital decks, the last term tile (copy/deck-bonus-2026-11-25/COPY.md section 2, shortened; shown while
   assets/deck-bonus.js is on) ----------
   Andrej, 25 Nov: "add the piece about free decks below every update and research machine.. perfect formatting UX UI.. so it anchors
   against the price and it makes sense." It follows "Every update included" and "The Research Machine, only here" at the row's full
   width: the seven-box fan where the other tiles carry an icon, the words, and on the right the value set like the price card above it
   (the struck $283 in ink-dim on the burnt strike, as the struck $792 is; "Included" in the house petrol, as "All 7 + Research" is), so
   the $283 reads as one of the parts of the $792 that the $347 buys. The fan is 140px at its source and is shown at 64px.
   This tile replaces the decks row that sat under the roster in the close: the roster's own decks line still counts them there. */
.page-stack .stk-terms .stk-terms-decks { grid-column: 1 / -1; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 10px 18px 10px 12px; }
.page-stack .stk-terms-pic { display: block; width: 64px; height: auto; }
.page-stack .stk-terms-decks > div { min-width: 0; }
.page-stack .stk-terms-val { margin: 0; text-align: right; font-family: var(--font-display); font-weight: 400; line-height: 1.05; white-space: nowrap; }
.page-stack .stk-terms-val s { display: block; font-size: 18px; color: var(--ink-dim); text-decoration-color: var(--burnt); text-decoration-thickness: 2px; }
.page-stack .stk-terms-inc { display: block; margin-top: 3px; font-size: 22px; color: var(--petrol); }
/* a narrow row (the 420px price column from 901 to 1100, and phones): the fan beside the words, the value under the words on one line,
   so the words keep the width (beside them, the value squeezed the words to five lines). The tile list is the container. */
.page-stack .stk-hero .stk-terms { container: stk-terms / inline-size; }
@container stk-terms (max-width: 480px) {
  .page-stack .stk-terms .stk-terms-decks { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "pic body" "pic val"; gap: 6px 14px;
    padding: 12px 14px 12px 10px; }
  .page-stack .stk-terms-pic { grid-area: pic; width: 56px; }
  .page-stack .stk-terms-decks > div { grid-area: body; }
  .page-stack .stk-terms-val { grid-area: val; display: flex; align-items: baseline; gap: 10px; text-align: left; }
  .page-stack .stk-terms-val s { display: inline; font-size: 17px; }
  .page-stack .stk-terms-inc { display: inline; margin: 0; font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-stack .stk-inside .stk-ico .mi { transition: none; }
  .page-stack .stk-inside a.stk-ico:hover .mi { transform: none; }
}

/* visual review 26 Nov: at 320 the hero pill wrapped as "Offer, ads, emails and SEO all on / you?", the dot between the two
   lines. It now splits evenly and the dot sits on the first line (single-line pills look the same as before). */
.stk-hero-copy > .status { text-wrap: balance; align-items: flex-start; }
.stk-hero-copy > .status .dot { margin-top: calc((1lh - 7px) / 2); }
