/* Plat Press shared patterns. Loaded on every page after site.css. Page files (home.css, brokerages.css ...) hold page-only tweaks.
   Spacing: use the --s-* properties below, never raw large paddings. Labels are numbered in mono where a page has a sequence ("02 / THE PRODUCT").
   On navy: paper or yellow text only. On paper or white: navy or secondary navy text, iris accents, never yellow text.

   Base props: <Base nav="site|product" navLabel="Brokerages" css={['brokerages']}>.
   Screenshots: <Frame src alt width height src2x? phone? eager? title? /> from src/components/Frame.astro. Every figure carries a visible "Sample data" caption.

   .hero.hero--product.pp-on-navy  > .wrap.hero-grid > div (.label, h1, .lead, .actions, .hero-note) + figure.stage
                                     From 960 px the stage's phone hangs 2.5rem over the next band; give that band the class .after-hero.
   figure.stage                      one <Frame> plus optional <Frame phone>, then figcaption.shot-cap (required).
   .frame / .frame--phone            browser frame and phone frame (rendered by Frame.astro).
   .shot-cap                         <b>Screen name.</b> One plain sentence on what it shows. No numbering, no capitals.
   section.band--fact > .wrap > dl.factbar > div > dt + dd.fact + dd.fact-note   (3 or 4 cells; 2 x 2 on phones)
   .rows > .row[.row--flip] > div.row-text (.row-num, h3, p, ul.mini) + figure.row-fig (Frame + .shot-cap)
   .rows.rows--pair                  denser variant: two rows per line from 860 px, text above figure (used on the home page)
   .phones                           two <Frame phone> side by side (stays side by side at 390 px)
   .spec-group > p.spec-head + dl.spec > div > dt + dd      text-only spec list; .spec-pair puts two groups side by side
   table.feat.ledger + details.ledger-more                    included / not included table (td.y, td.n, td.a for add-on)
   .tag, .tag--build, .tag--beta, .tag--addon                 small mono status tags, light backgrounds only
   .plans > .plan[.plan--main], .plan-note                    price cards (rules in site.css)
   .cmp-wrap > table.cmp[.cmp--size]                           comparison and by-size tables (rules in site.css)
   .offer.pp-on-navy band > .wrap.offer-grid > div (.offer-count, h2, p, .btn) + div (.offer-card, dl.terms)
   ol.process.steps                  four-step bearing line
   .method > .method-col (h3, ul) x2 + p.method-foot          on navy: software = paper dots, person = yellow dots
   .company > div (p ..., link) + dl.facts > div > dt + dd    .company--compact for the short "who builds it" block (ul.lines)
   .faq-cols > .faq + .faq                                     two lists of questions side by side from 960 px
   .swap > div.swap-row > p.swap-today + p.swap-with           "today" against "with Plat Press" rows
   .cta-strip > .wrap > p + .btn
   .apply = .contact plus ul.reassure in the text column (form markup unchanged)
   .doors > article.door (.label, h3, p, ul.ticks, p.door-price, .btn)
   .dense                            0.9375rem / 1.5 text
*/
:root {
  --s-band: clamp(2.5rem, 4.5vw, 3.5rem);
  --s-band-s: clamp(1.5rem, 3vw, 2.25rem);
  --s-hero: clamp(2rem, 5vw, 3.5rem);
  --s-head: 1.25rem;
  --s-gap: 1.25rem;
  --s-row: clamp(1.75rem, 3.5vw, 2.75rem);
  --s-card: 1.25rem;
  --wrap: 1200px;
  --hang: 2.5rem;
}

.dense { font-size: 0.9375rem; line-height: 1.5; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }
@media (min-width: 720px) { h2 { font-size: 1.75rem; } }
.band--rule { border-top: 1px solid var(--pp-border); }
.band--white { border-block: 1px solid var(--pp-border); }
.section-head h2 + p { margin-top: 0.5rem; }
.section-head .label { margin-bottom: 0.5rem; }

/* 1. Product hero */
.hero--product {
  overflow: visible; z-index: 1; padding-block: var(--s-hero) var(--s-band);
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--pp-color-paper) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--pp-color-paper) 6%, transparent) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px;
}
.hero--product .hero-grid { align-items: start; gap: 2rem; }
.hero--product h1 { font-size: 2.125rem; line-height: 1.1; }
.hero--product .lead { margin-top: 1rem; }
.hero--product .actions { margin-top: 1.5rem; }
.hero-note { margin-top: 1.25rem; padding-top: 0.875rem; border-top: 1px solid var(--pp-border); font: 500 0.75rem/1.5 var(--pp-font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pp-color-paper); opacity: 0.8; max-width: 30rem; }
@media (min-width: 960px) {
  .hero--product { padding-bottom: 0; }
  .hero--product .hero-grid { grid-template-columns: 5fr 7fr; gap: 3rem; }
  .hero--product h1 { font-size: 3rem; line-height: 1.06; }
  .hero--product .stage { display: block; align-self: stretch; padding-top: 0.375rem; }
  .hero--product .stage .frame { margin-right: 6.5rem; }
  .hero--product .stage .frame--phone { position: absolute; right: 0; bottom: calc(var(--hang) * -1); margin: 0; width: 184px; }
  .hero--product .stage .shot-cap { margin: 0.875rem 13rem 0 0; }
  .hero--product > .wrap > div:first-child { padding-bottom: var(--s-band); }
  .hero--product + .after-hero { padding-top: calc(var(--s-band-s) + var(--hang)); }
}

/* 2. Frames */
.frame { background: var(--pp-color-white); border: 1px solid var(--pp-color-line); border-radius: 10px; overflow: hidden; box-shadow: 0 10px 28px rgb(14 26 58 / 0.10); }
.pp-on-navy .frame { border-color: color-mix(in srgb, var(--pp-color-paper) 30%, transparent); box-shadow: 0 18px 40px rgb(4 8 22 / 0.45); }
.frame-bar { height: 28px; display: grid; grid-template-columns: 4rem 1fr 4rem; align-items: center; padding-inline: 0.75rem; background: var(--pp-color-paper); border-bottom: 1px solid var(--pp-color-line); }
.frame-dots { display: flex; gap: 6px; }
.frame-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--pp-color-line); }
.frame-title { text-align: center; font: 500 0.625rem/1 var(--pp-font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pp-color-secondary-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame img { width: 100%; height: auto; }
.frame--phone { width: 200px; padding: 6px; background: var(--pp-color-survey-navy); border-radius: 30px; box-shadow: 0 10px 28px rgb(14 26 58 / 0.18); }
.pp-on-navy .frame--phone { box-shadow: 0 0 0 1px color-mix(in srgb, var(--pp-color-paper) 30%, transparent), 0 18px 40px rgb(4 8 22 / 0.5); }
.frame--phone img { width: 100%; height: auto; border-radius: 24px; }
@media (min-width: 600px) { .frame--phone { width: 240px; padding: 8px; } }

/* 3. Stage: desktop frame with an overlapping phone */
.stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.stage .frame--phone { display: none; }
.stage .shot-cap { grid-column: 1 / -1; }
@media (min-width: 600px) {
  .stage { grid-template-columns: minmax(0, 1fr) 0; }
  .stage .frame--phone { display: block; width: 168px; margin-left: -184px; align-self: start; margin-top: 3.5rem; position: relative; }
  .stage .frame { margin-right: 6rem; }
}
@media (min-width: 960px) { .stage .frame--phone { width: 180px; margin-left: -196px; } .stage .frame { margin-right: 6.5rem; } }

/* 4. Caption */
.shot-cap { position: relative; margin-top: 0.875rem; padding-left: 1.875rem; max-width: 36rem; font: 400 0.875rem/1.5 var(--pp-font-body); color: var(--pp-color-secondary-navy); }
.shot-cap b { font-weight: 600; color: var(--pp-color-survey-navy); }
.shot-cap::before { content: ""; position: absolute; left: 0; top: calc(0.75em - 1px); width: 1rem; height: 1.5px; background: currentColor; transform-origin: left; }
.shot-cap::after { content: ""; position: absolute; left: 0.9375rem; top: calc(0.75em - 4px); width: 7px; height: 7px; border-radius: 50%; background: var(--pp-color-signal-yellow); box-shadow: 0 0 0 1.5px var(--pp-color-survey-navy); }
.pp-on-navy .shot-cap { color: color-mix(in srgb, var(--pp-color-paper) 84%, transparent); }
.pp-on-navy .shot-cap b { color: var(--pp-color-paper); }
.pp-on-navy .shot-cap::after { box-shadow: 0 0 0 1.5px var(--pp-color-survey-navy), 0 0 0 2.5px color-mix(in srgb, var(--pp-color-paper) 70%, transparent); }

/* 5. Fact strip */
.band--fact { background: var(--pp-color-white); border-bottom: 1px solid var(--pp-border); padding-block: var(--s-band-s); }
.factbar { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.factbar > div { padding: 0.875rem 1rem 0.875rem 0; border-top: 1px solid var(--pp-border); }
.factbar > div:nth-child(-n+2) { border-top: 0; }
.factbar > div:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--pp-border); }
.factbar dt { font: 500 0.6875rem/1.4 var(--pp-font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pp-color-secondary-navy); }
.factbar .fact { margin: 0.25rem 0 0; font: 700 1.3125rem/1.15 var(--pp-font-display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--pp-color-survey-navy); }
.factbar .fact-note { margin: 0.25rem 0 0; font-size: 0.875rem; line-height: 1.45; color: var(--pp-color-secondary-navy); }
@media (min-width: 860px) {
  .factbar { grid-template-columns: repeat(var(--cells, 4), 1fr); }
  .factbar > div, .factbar > div:nth-child(even) { border-top: 0; border-left: 1px solid var(--pp-border); padding: 0.25rem 1.5rem; }
  .factbar > div:first-child { border-left: 0; padding-left: 0; }
  .factbar .fact { font-size: 1.75rem; }
}

/* 6. Feature rows */
.rows { display: grid; }
.row { display: grid; gap: 1.25rem; padding-block: var(--s-row); border-top: 1px solid var(--pp-border); }
.row:first-child { border-top: 0; padding-top: 0.5rem; }
.row:last-child { padding-bottom: 0; }
.row-num { font: 500 0.75rem/1 var(--pp-font-mono); letter-spacing: 0.12em; color: var(--pp-color-iris); margin-bottom: 0.625rem; }
.pp-on-navy .row-num { color: var(--pp-color-signal-yellow); }
.row-text h3 { font-size: 1.25rem; line-height: 1.25; }
.row-text p { margin-top: 0.5rem; color: var(--pp-text-muted); max-width: 32rem; }
.mini { list-style: none; margin: 0.875rem 0 0; padding: 0; display: grid; gap: 0.35rem; font-size: 0.9375rem; line-height: 1.5; }
.mini li { position: relative; padding-left: 1.125rem; }
.mini li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--pp-color-signal-yellow); box-shadow: 0 0 0 1.5px var(--pp-color-survey-navy); }
.rows-note { margin-top: var(--s-row); padding-top: 0.875rem; border-top: 1px solid var(--pp-border); font-size: 0.875rem; color: var(--pp-text-muted); }
@media (min-width: 860px) {
  .row { grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; }
  .row--flip { grid-template-columns: 7fr 5fr; }
  .row--flip .row-text { order: 2; }
}
.rows--pair { gap: var(--s-row) 2.5rem; }
.rows--pair .row, .rows--pair .row--flip { grid-template-columns: minmax(0, 1fr); gap: 1rem; align-items: start; border-top: 0; padding: 0; }
.rows--pair .row--flip .row-text { order: 0; }
.rows--pair .row-text p { max-width: 34rem; }
@media (min-width: 860px) {
  .rows--pair { grid-template-columns: 1fr 1fr; grid-auto-rows: auto auto; row-gap: 0; }
  .rows--pair .row { grid-row: span 2; grid-template-rows: subgrid; row-gap: 1.125rem; }
  .rows--pair .row:nth-child(n+3) { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--pp-border); }
}
.phones { display: flex; gap: 0.75rem; justify-content: center; }
.phones .frame--phone { width: min(150px, 46%); padding: 5px; border-radius: 22px; }
.phones .frame--phone img { border-radius: 17px; }
@media (min-width: 600px) { .phones { gap: 1.5rem; } .phones .frame--phone { width: 220px; padding: 7px; border-radius: 30px; } .phones .frame--phone img { border-radius: 23px; } }
.row-fig .phones + .shot-cap { width: fit-content; margin-inline: auto; }

/* 7. Spec list */
.spec-group + .spec-group { margin-top: 1.5rem; }
.spec-head { display: flex; align-items: center; gap: 0.75rem; font: 500 0.75rem/1.4 var(--pp-font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pp-color-iris); padding-bottom: 0.5rem; border-bottom: 2px solid var(--pp-color-survey-navy); }
.spec { margin: 0; display: grid; }
.spec > div { display: grid; gap: 0.15rem; padding-block: 0.625rem; border-bottom: 1px solid var(--pp-border); }
.spec dt { font-weight: 600; }
.spec dd { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--pp-text-muted); }
.spec .tag { margin-left: 0.5rem; vertical-align: 1px; }
@media (min-width: 720px) { .spec > div { grid-template-columns: 15rem 1fr; gap: 1.5rem; } .spec dt .tag { display: flex; width: max-content; margin: 0.375rem 0 0; } }
.spec-pair { display: grid; gap: 1.5rem; }
.spec-pair .spec-group + .spec-group { margin-top: 0; }
@media (min-width: 860px) { .spec-pair { grid-template-columns: 1fr 1fr; gap: 2.5rem; } .spec-pair .spec > div { grid-template-columns: 1fr; gap: 0.15rem; } }

/* 8. Ledger (use with .feat: <table class="feat ledger">) */
.ledger tbody th[scope="row"] { padding: 10px 1rem; }
.ledger tr.grp th { padding: 0.75rem 1rem 0.375rem; }
.ledger thead th { padding: 0.75rem 1rem; }
.ledger-more { margin-top: 1rem; border-top: 1px solid var(--pp-border); }
.ledger-more > summary { cursor: pointer; list-style: none; padding: 0.875rem 0; font: 600 0.9375rem/1.4 var(--pp-font-body); color: var(--pp-link); }
.ledger-more > summary::-webkit-details-marker { display: none; }
.ledger-more > summary::after { content: " +"; font-family: var(--pp-font-mono); }
.ledger-more[open] > summary::after { content: " \2212"; }

/* 9. Tags */
.tag { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.125rem 0.5rem; border: 1px solid var(--pp-color-line); border-radius: 4px; font: 500 0.625rem/1.5 var(--pp-font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pp-color-secondary-navy); background: var(--pp-color-white); white-space: nowrap; }
.tag--build::before, .tag--beta::before { content: ""; width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: var(--pp-color-signal-yellow); box-shadow: 0 0 0 1.5px var(--pp-color-survey-navy); }
.tag--build, .tag--beta { color: var(--pp-color-survey-navy); }
.tag--addon { color: var(--pp-color-iris); border-color: color-mix(in srgb, var(--pp-color-iris) 40%, white); }

/* 10. Plans (base rules in site.css) */
.plan-note { margin-top: 0.5rem; font: 500 0.6875rem/1.5 var(--pp-font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--pp-color-secondary-navy); }

/* 12. Founding offer band */
.offer-grid { display: grid; gap: 1.75rem; align-items: start; }
.offer-count { font: 500 0.75rem/1.4 var(--pp-font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pp-color-signal-yellow); margin-bottom: 0.5rem; }
.offer-grid h2 + p { margin-top: 0.75rem; max-width: 34rem; opacity: 0.92; }
.offer-grid .btn { margin-top: 1.25rem; }
.terms { margin: 1.25rem 0 0; display: grid; font-size: 0.9375rem; line-height: 1.5; }
.terms > div { padding-block: 0.625rem; border-top: 1px solid var(--pp-border); display: grid; gap: 0.15rem; }
.terms dt { font-weight: 600; color: var(--pp-color-paper); }
.terms dd { margin: 0; color: var(--pp-color-paper); opacity: 0.88; }
@media (min-width: 860px) { .offer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } .terms > div { grid-template-columns: 11rem 1fr; gap: 1rem; } }

/* 13. Steps */
.steps { margin-top: 0.5rem; }

/* 14. Method */
.method { display: grid; gap: 1.5rem; }
.method-col h3 { font: 500 0.75rem/1.4 var(--pp-font-mono); letter-spacing: 0.12em; text-transform: uppercase; padding-bottom: 0.625rem; border-bottom: 1px solid var(--pp-border); display: flex; align-items: center; gap: 0.625rem; }
.method-col h3::before { content: ""; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--pp-color-paper); box-shadow: 0 0 0 3px var(--pp-color-survey-navy), 0 0 0 4.5px var(--pp-color-paper); flex: none; margin-left: 4.5px; }
.method-col--person h3::before { background: var(--pp-color-signal-yellow); }
.method-col ul { list-style: none; margin: 0; padding: 0; }
.method-col li { padding: 0.5rem 0 0.5rem 1.375rem; border-bottom: 1px solid var(--pp-border); position: relative; font-size: 0.9375rem; line-height: 1.5; }
.method-col li::before { content: ""; position: absolute; left: 0; top: 0.95rem; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--pp-color-paper); opacity: 0.85; }
.method-col--person li::before { background: var(--pp-color-signal-yellow); opacity: 1; }
.method-foot { margin-top: 1rem; font-size: 0.875rem; opacity: 0.85; max-width: 44rem; }
@media (min-width: 860px) { .method { grid-template-columns: 1fr 1fr; gap: 3rem; } }

/* 15. Company */
.company { display: grid; gap: 1.5rem; align-items: start; }
.company p { max-width: 36rem; }
.company .more { margin-top: 1rem; font-weight: 600; }
.facts { margin: 0; display: grid; border-top: 2px solid var(--pp-color-survey-navy); }
.facts > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding-block: 0.5rem; border-bottom: 1px solid var(--pp-border); font-size: 0.9375rem; line-height: 1.45; }
.facts dt { font: 500 0.6875rem/1.9 var(--pp-font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pp-color-secondary-navy); }
.facts dd { margin: 0; }
@media (min-width: 860px) { .company { grid-template-columns: 6fr 5fr; gap: 3.5rem; } .facts > div { grid-template-columns: 8.5rem 1fr; } }
.company--compact .lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.company--compact .lines li { padding-left: 1.125rem; position: relative; font-weight: 600; }
.company--compact .lines li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--pp-color-signal-yellow); box-shadow: 0 0 0 1.5px var(--pp-color-survey-navy); }

/* 16. FAQ in two columns */
.faq-cols { display: grid; gap: 0; }
.faq-cols .faq { max-width: none; }
.faq-cols .faq + .faq details:first-child { border-top: 0; }
@media (min-width: 960px) { .faq-cols { grid-template-columns: 1fr 1fr; gap: 0 2.5rem; } .faq-cols .faq + .faq details:first-child { border-top: 1px solid var(--pp-border); } }

/* Problem rows: today against with Plat Press */
.swap { display: grid; border-top: 2px solid var(--pp-color-survey-navy); }
.swap-head { display: none; }
.swap-row { display: grid; gap: 0.25rem; padding-block: 0.75rem; border-bottom: 1px solid var(--pp-border); }
.swap-row > p { margin: 0; }
.swap-today { color: var(--pp-color-secondary-navy); }
.swap-with { color: var(--pp-color-survey-navy); font-weight: 600; padding-left: 1.125rem; position: relative; }
.swap-with::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--pp-color-signal-yellow); box-shadow: 0 0 0 1.5px var(--pp-color-survey-navy); }
@media (min-width: 860px) {
  .swap-head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding-block: 0.5rem; border-bottom: 1px solid var(--pp-border); font: 500 0.6875rem/1.4 var(--pp-font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pp-color-secondary-navy); }
  .swap-row { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: baseline; }
}

/* 17. CTA strip */
.cta-strip { padding-block: var(--s-band-s); border-block: 1px solid var(--pp-border); background: var(--pp-color-white); }
.cta-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.cta-strip p { font: 600 1.125rem/1.35 var(--pp-font-display); max-width: 40rem; }

/* 18. Apply band */
.apply h2 + p { margin-top: 0.75rem; opacity: 0.92; max-width: 30rem; }
.reassure { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.5rem; max-width: 30rem; }
.reassure li { position: relative; padding: 0 0 0.5rem 1.375rem; border-bottom: 1px solid var(--pp-border); font-size: 0.9375rem; line-height: 1.5; }
.reassure li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.625rem; height: 0.625rem; border-radius: 50%; background: var(--pp-color-signal-yellow); box-shadow: 0 0 0 2px var(--pp-color-survey-navy), 0 0 0 3px var(--pp-color-paper); }

/* 19. Doors */
.doors { display: grid; gap: var(--s-gap); }
.door { display: flex; flex-direction: column; background: var(--pp-color-white); border: 1px solid var(--pp-border); border-top: 3px solid var(--pp-color-survey-navy); border-radius: 0 0 var(--pp-radius-card) var(--pp-radius-card); padding: var(--s-card); }
.door .label { color: var(--pp-color-iris); margin-bottom: 0.5rem; }
.door h3 { font-size: 1.25rem; line-height: 1.25; }
.door > p:not(.label):not(.door-price) { margin-top: 0.5rem; color: var(--pp-text-muted); font-size: 0.9375rem; line-height: 1.5; }
.door .ticks { grid-template-columns: 1fr; margin-top: 0.875rem; gap: 0.4rem; font-size: 0.9375rem; line-height: 1.45; flex: 1; align-content: start; }
.door .ticks li { padding-left: 1.25rem; }
.door .ticks li::before { width: 0.5rem; height: 0.5rem; top: 0.5em; }
.door-price { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--pp-border); font: 600 1.0625rem/1.35 var(--pp-font-display); }
.door-price small { display: block; font: 400 0.8125rem/1.45 var(--pp-font-body); color: var(--pp-color-secondary-navy); margin-top: 0.15rem; }
.door .btn { margin-top: 0.875rem; width: 100%; color: var(--pp-color-survey-navy); }
@media (min-width: 860px) { .doors { grid-template-columns: repeat(3, 1fr); } }

/* 20. Shared fixes (2026-11-27 review) */
section[id] { scroll-margin-top: 64px; }
.feat-key { flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.feat-key span { white-space: nowrap; }
.feat-key .key-add { color: var(--pp-color-iris); }
.pp-on-navy .offer-card .label { color: var(--pp-color-iris); }
.cmp--size td:nth-child(2) { background: none; }
.cmp-wrap:focus-visible { outline: 3px solid var(--pp-color-iris); outline-offset: 2px; }
.hero-fine { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.5; color: var(--pp-color-paper); opacity: 0.85; max-width: 30rem; }

/* Pair rows with one wide row first: <div class="rows rows--pair"><div class="row row--wide"> ... */
@media (min-width: 860px) {
  .rows--pair .row--wide { grid-column: 1 / -1; grid-template-columns: 4fr 8fr; column-gap: 2.5rem; }
  .rows--pair .row--wide .row-text { grid-column: 1; grid-row: 1 / -1; }
  .rows--pair .row--wide .row-fig { grid-column: 2; grid-row: 1 / -1; }
  .rows--pair > .row--wide ~ .row { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--pp-border); }
}
@media (max-width: 859px) {
  .rows--pair > .row + .row { padding-top: var(--s-row); border-top: 1px solid var(--pp-border); }
  .rows--pair { row-gap: var(--s-row); }
}

/* Phones: the hero shows its phone screen, which reads at this size, instead of the shrunken desktop screen */
@media (max-width: 599px) {
  .stage:has(.frame--phone) > .frame { display: none; }
  .stage:has(.frame--phone) > .frame--phone { display: block; width: 216px; margin: 0 auto; }
  .stage:has(.frame--phone) > .shot-cap { width: fit-content; margin-inline: auto; }
}

/* Heavy blocks folded on phones; site.js opens details[data-open-wide] from 860 px */
.fold { border-top: 1px solid var(--pp-border); }
.fold > summary { cursor: pointer; list-style: none; padding: 0.875rem 0; font: 600 1rem/1.4 var(--pp-font-body); color: var(--pp-link); }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: " +"; font-family: var(--pp-font-mono); }
.fold[open] > summary::after { content: " 2"; }
@media (min-width: 860px) { .fold[open] { border-top: 0; } .fold[open] > summary { display: none; } }

/* 21. Motion. Nothing here hides content by itself: the hero sequence needs the "m" class set in the head
   (only when the visitor allows motion), and everything else needs the "rv" class that site.js puts on
   blocks still below the screen. Transform and opacity only. */
.hero-note { border-top: 0; position: relative; }
.hero-note::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--pp-border); transform-origin: left; }
.door { position: relative; }
.process li .bl { position: absolute; top: -2px; left: 0; right: 0; height: 2px; background: var(--pp-color-survey-navy); transform-origin: left; }
.btn:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .door { transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .door::before { content: ""; position: absolute; top: -7.5px; left: 0; right: 0; height: 12px; pointer-events: none; opacity: 0; background: radial-gradient(circle at calc(100% - 6px) 50%, var(--pp-color-signal-yellow) 0 4px, var(--pp-color-survey-navy) 4.5px 5.5px, transparent 6px); transform: translateX(calc(-100% + 12px)); transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.2s; }
  .door:hover, .door:focus-within { transform: translateY(-3px); }
  .door:hover::before, .door:focus-within::before { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  :root { --m-ease: cubic-bezier(0.2, 0.7, 0.2, 1); --m-pop: cubic-bezier(0.3, 1.5, 0.6, 1); --m-y: 14px; --m-s: 1; --m-step: 0s; }
  @keyframes m-rise { from { opacity: 0; transform: translateY(var(--m-y)) scale(var(--m-s)); } }
  @keyframes m-fade { from { opacity: 0; } }
  @keyframes m-draw { from { transform: scaleX(0); } }
  @keyframes m-pop { from { transform: scale(0); } }

  .m .hero-note::before { animation: m-draw 0.8s var(--m-ease) 0.2s backwards; }

  .rv .frame, .rv .frame--phone, .rv .shot-cap, .g.rv, .process li.rv::before, .process li.rv > :not(.bl) { opacity: 0; }
  .rv .shot-cap::before, .process li.rv .bl { transform: scaleX(0); }
  .rv .shot-cap::after, .process li.rv::after { transform: scale(0); }
  .process li.rv, .process li.in { border-top-color: transparent; }

  .in .frame, .in .frame--phone { animation: m-rise 0.55s var(--m-ease) backwards; }
  .in .frame + .frame--phone, .in .frame--phone + .frame--phone { animation-delay: 0.14s; }
  .in .shot-cap { animation: m-fade 0.4s ease-out 0.3s backwards; }
  .in .shot-cap::before { animation: m-draw 0.35s var(--m-ease) 0.35s backwards; }
  .in .shot-cap::after { animation: m-pop 0.3s var(--m-pop) 0.65s backwards; }
  .g.in { animation: m-rise 0.5s var(--m-ease) calc(var(--i, 0) * var(--m-step)) backwards; }
  .process li.in { --d: calc(var(--i, 0) * var(--m-step) * 4); }
  .process li.in::after { animation: m-pop 0.3s var(--m-pop) var(--d) backwards; }
  .process li.in .bl { animation: m-draw 0.45s var(--m-ease) var(--d) backwards; }
  .process li.in::before, .process li.in > :not(.bl) { animation: m-rise 0.45s ease-out calc(var(--d) + 0.12s) backwards; }

  @media (min-width: 860px) {
    :root { --m-y: 30px; --m-s: 0.975; --m-step: 0.08s; }
    .in .frame, .in .frame--phone { animation-duration: 0.8s; }
    .g, .process li { --m-y: 16px; --m-s: 1; }
  }
  @media (min-width: 960px) {
    .m .hero--product .stage .frame { animation: m-rise 0.85s var(--m-ease) 0.05s backwards; }
    .m .hero--product .stage .frame--phone { animation: m-rise 0.85s var(--m-ease) 0.28s backwards; }
    .m .hero--product .stage .shot-cap { animation: m-fade 0.4s ease-out 0.6s backwards; }
    .m .hero--product .stage .shot-cap::before { animation: m-draw 0.35s var(--m-ease) 0.65s backwards; }
    .m .hero--product .stage .shot-cap::after { animation: m-pop 0.3s var(--m-pop) 0.95s backwards; }
  }
}
