/* ==========================================================================
   Frame Economics - blueprint.css
   Shared by growth-blueprint.html (the sales page + order step 1) and
   growth-blueprint-details.html (order step 2). Loaded AFTER site.css and
   footer.css; it only adds page layout on top of the site.css tokens and
   primitives (.wrap, .section, .eyebrow, .lede, .btn, .pcard, .field).
   Tokens only: no colour that is not a var() from site.css, except the two
   greys site.css itself hard-codes for .pcard borders (#2c2c31, #3a3a41).
   2026-11-21: first version, built from deep-dive.html's page styles
   (hero + price card, apply-panel form) so the page reads as its sibling.
   ========================================================================== */

/* --- Page-wide type -------------------------------------------------------- */

h1 em, h2 em, h3 em { font-style: normal; color: var(--red-bright); }

/* The hero headline in the display sans, like deep-dive.html and pricing.html
   (site.css puts .hero h1 in the serif; this page is a sibling of those two). */
.hero h1 { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; max-width: 19ch; text-wrap: balance; }
.hero h1 em { font-style: normal; }

main .section { padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.hero { padding-block: clamp(3rem, 8vw, 5.5rem) clamp(0.5rem, 2vw, 1.25rem); }
/* Anchor targets (the audit cards, the stack, the order panel) stop under the
   sticky header instead of behind it */
.bp-audit, #blueprint, #order { scroll-margin-top: 84px; }

/* --- Hero: headline + the Blueprint price card ----------------------------- *
   Same grid as deep-dive.html's .cs-hero: on phones the card sits right under
   the headline so the price is on the first screen at 390x664; the paragraph
   keeps only its first sentence there. From 980px: text left, card right.   */
.bp-hero { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "lede" "price"; }
@media (max-width: 979px) { .bp-hero .lede-more { display: none; } .bp-hero .lede { margin-top: 1rem; } }
.bp-hero-head { grid-area: head; }
.bp-hero .lede { grid-area: lede; }
.bp-hero .pcard { grid-area: price; margin-top: 1.6rem; max-width: 30rem; }
@media (min-width: 980px) {
  .bp-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: "head price" "lede price"; grid-template-rows: auto 1fr; column-gap: clamp(2.5rem, 5vw, 4.5rem); }
  .bp-hero .pcard { margin-top: 0; align-self: start; }
}
.bp-hero .pcard__meta { font-size: 0.95rem; }
/* The hero card is the recommended one: the coral border of .pcard--popular,
   no pill (the word "Recommended" sits in the card's foot line; no "Popular",
   no "Best value" anywhere on the page). */
.bp-hero .pcard__foot b { color: var(--red-bright); }

/* --- Section heads --------------------------------------------------------- */

.bp-head { margin-bottom: clamp(1.4rem, 2.5vw, 2.25rem); }
.bp-head h2 { margin-top: 1rem; max-width: 22ch; }
.bp-head .lede { margin-top: 1rem; max-width: 62ch; font-size: var(--step-0); }

/* --- "Which one do you need": five quoted lines, each a link to a card ------ *
   The quotes are the viewer's own words, so they take the site's serif voice
   (site.css reserves it for voice lines). One row per line, rule between.  */
.bp-which { list-style: none; margin: 0; padding: 0; border-top: var(--rule); max-width: 60rem; }
.bp-which li { border-bottom: var(--rule); }
.bp-which a {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45rem 2rem;
  padding-block: 1.05rem;
  color: var(--paper);
  transition: color 0.18s var(--ease);
}
.bp-which q { font-family: var(--serif); font-style: italic; font-size: var(--step-1); line-height: 1.3; letter-spacing: -0.01em; quotes: "\201C" "\201D"; }
.bp-which .bp-which__to { font-size: 0.9rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.bp-which .bp-which__to .arrow { transition: transform 0.18s var(--ease); }
.bp-which a:hover .bp-which__to, .bp-which a:focus-visible .bp-which__to { color: var(--red-bright); }
.bp-which a:hover .arrow { transform: translateX(3px); }
.bp-which a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: var(--radius); }
@media (min-width: 760px) {
  .bp-which a { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; }
}

/* --- The four audit cards: 2x2 from 820px, one column on phones ------------ *
   Each card: icon + the audit's name as a small mono kicker + the question
   it answers as the h3, the price, "For you if" / "What I do" / "You get"
   as small labels over their blocks, then the note, the delivery line and
   the button pinned to the bottom so the buttons line up across a row.    */
.bp-audits { display: grid; gap: 1.5rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
@media (min-width: 820px) { .bp-audits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; } }
.bp-audit .pcard__kicker { margin: 0 0 0.4rem; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red-bright); }
.bp-audit .pcard__name { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.65rem); }
.bp-audit .pcard__amount { font-size: clamp(2.4rem, 1.6rem + 2vw, 3.1rem); }
.bp-audit .pcard__price { margin-top: 1.25rem; }
.bp-audit .pcard__label { margin-top: 1.4rem; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.bp-audit .pcard__label + .pcard__desc { margin-top: 0.45rem; }
.bp-audit .pcard__label + .pcard__list { margin-top: 0.75rem; }
.bp-audit .pcard__desc--lead { color: var(--paper); }
.bp-audit .pcard__tail { margin-top: auto; padding-top: 1.5rem; }
.bp-audit .pcard__tail .pcard__note { margin: 0 0 0.4rem; }
.bp-audit .pcard__delivery { font-size: 0.9rem; line-height: 1.45; color: var(--muted); }
.bp-audit .pcard__tail .pcard__cta { margin-top: 1rem; }

/* --- The value stack: a tall ledger ---------------------------------------- *
   A real <ul>, read as a receipt: four audit lines with their prices on the
   right (mono, tabular, never wrapped), a dashed rule, the "Bought
   separately" sum, the included items in the muted colour with the word
   "Included" where an amount would sit (never a dollar value: see the
   guardrails in the page comment), then the Blueprint line between two
   accent rules with US$900 set large.                                        */
.bp-stack { max-width: 46rem; margin-inline: auto; }
.bp-ledger { list-style: none; margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; padding: 0; border-top: 1px solid #2c2c31; }
.bp-ledger li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1.5rem;
  align-items: baseline;
  padding-block: 0.95rem;
  border-bottom: var(--rule);
}
.bp-ledger .bp-ledger__name { font-weight: 600; color: var(--paper); letter-spacing: -0.01em; line-height: 1.4; }
.bp-ledger .bp-ledger__name b { font-weight: 700; color: var(--paper); }
.bp-ledger .bp-ledger__price {
  font-family: var(--mono);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.bp-ledger .bp-ledger__price b { font-weight: 700; }
/* The sum row sits directly above the Blueprint row (Jonas, 2026-11-21): dashed
   rule on top, no rule below (the Blueprint's red rule follows), the US$1,800
   struck through in red. The sum is a real total of four prices sold on this
   page, so the strike-through is honest: the Blueprint is the cheaper way to
   get all four. */
.bp-ledger .bp-ledger__sum { margin-top: 1.25rem; padding-block: 1.1rem 0.9rem; border-top: 1px dashed #3a3a41; border-bottom: 0; background: linear-gradient(90deg, rgba(var(--glow), 0.05), transparent 60%); }
.bp-ledger .bp-ledger__sum .bp-ledger__price { font-size: 1.35rem; }
.bp-ledger .bp-ledger__sum .bp-ledger__price s { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--red-bright); text-decoration-thickness: 3px; }
.bp-ledger .bp-ledger__sum .bp-ledger__price s b { color: var(--muted); }
/* Lead-in row for the included items */
.bp-ledger .bp-ledger__lead { display: block; padding-block: 1.4rem 0.35rem; border-bottom: 0; }
.bp-ledger .bp-ledger__lead .eyebrow { color: var(--muted); }
/* The included rows: the item's name in paper, the rest of the line muted */
.bp-ledger .is-incl .bp-ledger__name { font-weight: 400; color: var(--muted); }
.bp-ledger .is-incl .bp-ledger__key { font-weight: 600; color: var(--paper); }
.bp-ledger .bp-ledger__incl {
  align-self: center;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--surface-2);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-bright);
  white-space: nowrap;
}
/* The Blueprint row: accent rules, the name large, the amount in the display
   face at price-card size and in the accent. The name wraps, the amount never. */
.bp-ledger .bp-ledger__total { align-items: center; padding-block: 1.5rem 1.4rem; margin-top: 0; border-top: 2px solid var(--red); border-bottom: 2px solid var(--red); }
.bp-ledger .bp-ledger__total .bp-ledger__name { font-size: var(--step-2); letter-spacing: -0.025em; line-height: 1.1; }
.bp-ledger .bp-ledger__total .bp-ledger__price { font-family: var(--display); font-size: clamp(2.5rem, 1.4rem + 3vw, 3.6rem); letter-spacing: -0.045em; line-height: 1; color: var(--red-bright); }
.bp-stack-why { margin-top: 1.5rem; font-size: var(--step-0); line-height: 1.55; color: var(--muted); max-width: 56ch; }
.bp-stack-why + .bp-stack-why { margin-top: 0.6rem; }
.bp-stack-cta { margin-top: 1.75rem; }
.bp-stack-cta .btn { width: 100%; justify-content: center; padding-block: 1.15rem; font-size: 1.05rem; border-radius: 8px; }
@media (min-width: 560px) { .bp-stack-cta .btn { width: auto; padding-inline: 2.2rem; } }

/* Quiet reveal on the ledger: each line fades in from the top when it scrolls
   into view, 0.3 s, staggered within one batch. Only when JS adds .bp-anim
   (so a page without JS, or with prefers-reduced-motion, shows every line). */
.bp-anim .bp-reveal { opacity: 0; transform: translateY(-10px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.bp-anim .bp-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .bp-anim .bp-reveal { opacity: 1; transform: none; transition: none; } }

/* --- How it works: 3 numbered steps in a row, stacked on phones ------------ */
.bp-steps { list-style: none; margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 760px) { .bp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.bp-steps li { position: relative; padding: 1.5rem 0 0; border-top: 1px solid #2c2c31; counter-increment: step; }
.bp-steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--red-bright);
  margin-bottom: 0.9rem;
}
.bp-steps p { font-size: var(--step-0); line-height: 1.55; color: var(--paper); }
.bp-steps-foot { margin-top: 1.5rem; font-size: 0.9rem; line-height: 1.5; color: var(--muted); max-width: 62ch; }

/* --- Credits: one slim card, one paragraph --------------------------------- */
.bp-slim { padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem); }
.bp-slim p { font-size: var(--step-0); line-height: 1.6; color: var(--muted); max-width: 66ch; }
.bp-slim .link { color: var(--paper); }

/* --- FAQ: mirrors the homepage FAQ (assets/css/funnel.css .fe-faq-*) -------- *
   Copied here with bp- names because funnel.css belongs to the homepage
   funnel; keep the two in step if one changes.                              */
.bp-faq { interpolate-size: allow-keywords; }
.bp-faq-list { max-width: 860px; border-top: 1px solid var(--surface-2); }
.bp-faq-item { border-bottom: 1px solid var(--surface-2); }
.bp-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0.25rem;
  font-weight: 600;
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem);
  line-height: 1.35;
  color: var(--paper);
}
.bp-faq-item summary::-webkit-details-marker { display: none; }
.bp-faq-item summary:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 4px; }
.bp-faq-item summary:hover .bp-faq-q { color: var(--red-bright); }
.bp-faq-q { transition: color 0.18s var(--ease); }
.bp-faq-ic {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--surface-2);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.bp-faq-ic::before, .bp-faq-ic::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  background: var(--paper);
  translate: -50% -50%;
  transition: rotate 0.3s var(--ease);
}
.bp-faq-ic::after { rotate: 90deg; }
.bp-faq-item[open] .bp-faq-ic { border-color: var(--red); background: rgba(var(--glow), 0.12); }
.bp-faq-item[open] .bp-faq-ic::after { rotate: 0deg; }
.bp-faq-item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete;
}
.bp-faq-item[open]::details-content { block-size: auto; }
.bp-faq-a { padding: 0 3.25rem 1.5rem 0.25rem; }
.bp-faq-a p { color: var(--muted); line-height: 1.65; max-width: 68ch; }
.bp-faq-a a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

/* --- Order panel (step 1) and details panel (step 2) ----------------------- *
   The form patterns of deep-dive.html, moved here so both pages share them.
   .field, inputs and the error state come from site.css; this only sets the
   panel, the question-style labels, hints, status boxes and the honeypot.   */
.apply-panel {
  border: var(--rule);
  border-radius: var(--radius);
  background: radial-gradient(120% 140% at 8% 0%, rgba(var(--glow), 0.10), transparent 58%), var(--surface);
  padding: clamp(1.4rem, 6vw, 4rem);
  max-width: 52rem;
  margin-inline: auto;
}
.apply-panel h2, .apply-panel h1 { max-width: 20ch; }
.apply-panel h1 { font-size: var(--step-3); margin-top: 1rem; }
.apply-panel .eyebrow + h2 { margin-top: 1rem; }
.apply-panel > .lede { margin-top: 1rem; max-width: 56ch; }
.apply-panel .lede a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.form-card { margin-top: 2.25rem; max-width: 640px; }
.form-card fieldset { border: 0; margin: 0 0 0.6rem; padding: 0; min-width: 0; }
.form-card legend {
  padding: 0; margin-bottom: 1.1rem;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red-bright);
}
/* Questions read as questions: sentence case, not the site's small mono label */
.form-card .field > label { font-family: var(--display); font-size: 0.98rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--paper); line-height: 1.35; }
.form-card .field .hint { margin-top: -0.2rem; font-size: 0.85rem; color: var(--muted); line-height: 1.45; }
.form-card .field textarea { resize: vertical; min-height: 5.5rem; }
.form-card .field select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23A1A1A6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1rem; cursor: pointer; }
.form-card .field select:focus { border-color: var(--paper); outline: none; }
.form-card .field select:focus-visible, .form-card .field input:focus-visible, .form-card .field textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
/* "You're ordering: <product> · change": the line above the fields; "change"
   reveals the product select (hidden until then; always shown without JS) */
.bp-ordering { margin: 0 0 1.25rem; }
.bp-ordering b { color: var(--paper); font-weight: 700; }
.bp-change { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: var(--paper); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bp-change:hover { color: var(--red-bright); }
.bp-change:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 2px; }
.bp-product { min-width: 0; padding: 1rem 1.1rem 1.1rem; margin-bottom: 1.6rem; border: 1px solid #2c2c31; border-radius: 8px; background: var(--ink); }
.bp-product[hidden] { display: none; } /* site.css .field sets display: grid, which would beat the UA [hidden] rule */
.bp-product > label { color: var(--red-bright); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 400; }
.bp-product select { width: 100%; max-width: 100%; min-width: 0; font-weight: 600; color: var(--paper); font-size: 1rem; }
html.no-js .bp-product[hidden] { display: grid; }
html.no-js .bp-change { display: none; }
.submit-btn { width: 100%; justify-content: center; border: none; }
.submit-btn:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.cs-fine { margin-top: 1rem; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.cs-fine b { color: var(--paper); font-weight: 700; }
.form-status { display: none; margin-top: 1.25rem; padding: 1.25rem; border: var(--rule); border-radius: var(--radius); background: var(--ink); }
.form-status.is-visible { display: block; }
.form-status h3 { color: var(--paper); }
.form-status p { color: var(--muted); font-size: 0.92rem; margin-top: 0.4rem; line-height: 1.5; }
.form-status a { color: var(--red-bright); }
.field .opt { font-weight: 400; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
