/*
 * Styles for the long-form product page (template-parts/product-page-long.php).
 *
 * Loaded only when a product registry entry sets use_long_template: true.
 * Uses canonical design tokens from si-theme.css; do not redefine tokens here.
 *
 * The .si-pl- prefix scopes everything to long-product-page sections so the
 * existing short page (product-page.php) is untouched.
 */

/* ===== Shared rhythm ===== */
.si-pl-section { padding-top: 5rem; padding-bottom: 5rem; }

/* Phone rhythm, and the reason it is two rules rather than one.
 *
 * A long page carries two stacked paddings per band: this one, and the 5rem
 * that si-theme.css puts on .si-section-inner. Measured at 390x844 before this
 * change, that came to 256px per band, 19 to 22 bands per page, so 4.0 to 6.0
 * screen-heights of a 31 to 52 screen page was vertical padding. The share ran
 * 10 to 18 percent, and it was worst on the short bands: #evaluation measured
 * 701px of which 256 was padding, 37 percent.
 *
 * Padding is the only part of that height which is not evidence, architecture,
 * security, procurement, workflow or SEO content, so it is the only part that
 * can come out without deleting something the page exists to say. Halving it
 * to 72px a side leaves the bands clearly separated, because these sections
 * alternate light and dark and the tone change already carries the boundary at
 * this width.
 *
 * The inner override is scoped to .si-pl-section rather than fixed in
 * si-theme.css on purpose. That file is mirrored from
 * shared/design-system/si-theme.css and is read by fifteen templates including
 * the homepage, where the padding measured 1488px total and is not a problem.
 * Editing the shared token file to solve a long-product-page measurement would
 * change fourteen surfaces nobody measured. */
@media (max-width: 720px) {
  .si-pl-section { padding-top: 2rem; padding-bottom: 2rem; }

  .si-pl-section > .si-section-inner {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

/* Dark sections borrow the canonical night-sky palette. */
.si-dark-section {
  background: var(--si-night-sky, #112032);
  color: #f4f7fb;
}
.si-dark-section .si-section-title { color: #ffffff; }
.si-dark-section .si-section-label { color: var(--si-ocean-green, #46b491); }
.si-dark-section p { color: rgba(244, 247, 251, 0.85); }

/*
 * The product meta strip is the one block this template reuses from style.css
 * without a .si-pl- prefix, and style.css was written for the short page's
 * light section. It sets .si-product-meta-value to Prussian #182C43, which an
 * explicit colour on a child beats the inherited #f4f7fb above, so on the dark
 * strip it rendered #182C43 on #112032: a contrast ratio of about 1.16:1
 * against the 4.5:1 WCAG AA needs. Storage posture, certification target,
 * distribution, and status were all live and all unreadable. Verified on
 * /products/simple-council/ 2026-08-12; fixed here rather than in style.css so
 * the short page's light strip is untouched.
 */
.si-dark-section .si-product-meta-grid { border-top-color: rgba(244, 247, 251, 0.18); }
.si-dark-section .si-product-meta-label { color: rgba(244, 247, 251, 0.62); }
.si-dark-section .si-product-meta-value { color: #f4f7fb; }
.si-dark-section .si-product-meta-value a { color: var(--si-ocean-green, #46b491); }
.si-dark-section .si-product-meta-value a:hover,
.si-dark-section .si-product-meta-value a:focus-visible { color: #ffffff; }

/* ===== Narrative blocks ===== */
.si-pl-narrative-block { margin: 0 0 2.75rem; }
.si-pl-narrative-block:last-child { margin-bottom: 0; }
.si-pl-narrative-heading {
  font-family: var(--si-display, "All Round Gothic", system-ui, sans-serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.25;
  margin: 0 0 0.75rem;
  color: var(--si-prussian, #182c43);
}
.si-pl-narrative-body {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #2a3b51;
  margin: 0;
}

/* ===== Numbered steps (how it works) ===== */
.si-pl-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 720px) {
  .si-pl-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.si-pl-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(70, 180, 145, 0.18);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
}
.si-pl-step-num {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--si-ocean-green, #46b491);
  color: #0a1929;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.si-pl-step-body p { margin: 0.4rem 0 0; }
.si-pl-step-title {
  font-size: 1.15rem;
  margin: 0;
  color: #ffffff;
  font-family: var(--si-display, "All Round Gothic", system-ui, sans-serif);
}

/* ===== Capabilities (deep) ===== */
.si-pl-capabilities {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 900px) {
  .si-pl-capabilities { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
/* Deliberately two columns, not three, and the measurements are the reason.
 *
 * A third column was built here and reverted on 2026-08-26. Inside the 1100px
 * inner container these sections share with every other band, three columns
 * give a 324px card. These are bordered cards with 1.75rem of padding, so the
 * text measure lands at 266px, which rendered at 30 to 34 characters a line
 * across the Simple Merge bands. For comparison, measured on the same pages:
 *
 *   two-column .si-pl-capabilities      502px card, 444px text, 48 to 59 chars
 *   three-column .si-pl-usecases        324px card, 324px text, 37 to 38 chars
 *   three-column .si-acquire-grid       353px card, 307px text, 38 to 39 chars
 *
 * So the theme's own three-column standard is 37 to 39 characters, and it
 * reaches that only because use-case cards carry no border or padding. A
 * bordered prose card cannot get there at this container width: 37 characters
 * needs about 320px of text inside a 324px card. Trimming the padding buys
 * three characters and costs the card its shape.
 *
 * Making three columns work means widening the container for these sections
 * alone, which breaks the section-edge alignment running down the page. That
 * is a design decision rather than a CSS tweak, so it is left to the founder
 * rather than taken here. Phones are unaffected either way: every one of these
 * grids is single-column below 900px, so no column change can move the
 * measured phone height, which is where the length problem actually was. */
.si-pl-capability {
  padding: 1.75rem;
  border: 1px solid rgba(24, 44, 67, 0.12);
  border-radius: 14px;
  background: #ffffff;
}
.si-pl-capability-title {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  color: var(--si-prussian, #182c43);
  font-family: var(--si-display, "All Round Gothic", system-ui, sans-serif);
}
.si-pl-capability p {
  margin: 0;
  color: #2a3b51;
  line-height: 1.6;
}

/* ===== Architecture panels ===== */
.si-pl-arch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 900px) {
  .si-pl-arch-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
}
.si-pl-arch-panel {
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(70, 180, 145, 0.22);
  border-radius: 12px;
  background: rgba(70, 180, 145, 0.05);
}
.si-pl-arch-title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--si-ocean-green, #46b491);
  font-family: var(--si-display, "All Round Gothic", system-ui, sans-serif);
}

/* ===== Integrations ===== */
.si-pl-integration-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 900px) {
  /*
    minmax(0, 1fr) rather than 1fr. A bare `1fr` track keeps a min-content floor,
    so the connector notes added on 2026-08-26, which are full sentences rather
    than pill labels, can push a column past its share and scroll the section
    sideways. Removing the floor is what keeps the no-horizontal-overflow tests
    honest at every width, not just the narrow ones.
  */
  .si-pl-integration-groups { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
}
.si-pl-integration-group { padding: 1.25rem 0; }
.si-pl-integration-group-name {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--si-azure, #0078d4);
  margin: 0 0 0.85rem;
}
.si-pl-integration-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.si-pl-integration-chip {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  background: rgba(24, 44, 67, 0.06);
  border: 1px solid rgba(24, 44, 67, 0.1);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--si-prussian, #182c43);
}

.si-pl-integration-chip-name {
  min-width: 0;
}

/*
  The connector status, added 2026-08-26.

  The word is inside the chip rather than replacing the chip's colour, for the
  same reason the flow diagrams print theirs: a reader who cannot separate a
  green pill from a grey one still needs to know whether the thing works. Losing
  this stylesheet leaves "Dynamics 365 Planned or partial" in the markup, which
  is the sentence that matters.
*/
.si-pl-integration-chip-status {
  flex: 0 0 auto;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.si-pl-integration-chip-verified .si-pl-integration-chip-status {
  background: rgba(70, 180, 145, 0.18);
  color: #24705a;
}

.si-pl-integration-chip-partial .si-pl-integration-chip-status {
  background: rgba(0, 120, 212, 0.14);
  color: #10508a;
}

.si-pl-integration-chip-candidate .si-pl-integration-chip-status {
  background: rgba(24, 44, 67, 0.1);
  color: var(--si-text-subtle-dark, #5a6d85);
}

/*
  The reason under the chip. It is a sibling inside the same flex row, so it is
  forced to a full-width line rather than sitting beside the pills: a sentence
  laid out as a flex item among pills wraps into a shape nobody reads, and at
  320px it is the thing that would overflow.
*/
.si-pl-integration-note {
  flex: 1 0 100%;
  min-width: 0;
  margin: -0.15rem 0 0.35rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--si-text-subtle-dark, #5a6d85);
}

.si-pl-integration-disclosure {
  max-width: 62ch;
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--si-text-subtle-dark, #5a6d85);
}

.si-pl-integration-identity {
  max-width: 62ch;
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(24, 44, 67, 0.1);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--si-text-subtle-dark, #5a6d85);
}

/* ===== Comparison table ===== */
.si-pl-comparison-wrap {
  margin-top: 2.5rem;
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
/*
   Both scroll wrappers took tabindex="0" so a keyboard visitor can move them
   sideways. A tab stop nobody can see is worse than no tab stop, and the
   browser default ring is a thin dark line that disappears against a dark
   section, so the ring is drawn here instead.
*/
.si-pl-comparison-wrap:focus-visible,
.si-pl-matrix-wrap:focus-visible {
  outline: 3px solid var(--si-emerald, #46b491);
  outline-offset: 3px;
}
.si-pl-comparison {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: rgba(255, 255, 255, 0.02);
}
.si-pl-comparison th,
.si-pl-comparison td {
  padding: 0.85rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  color: rgba(244, 247, 251, 0.9);
}
.si-pl-comparison thead th {
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  letter-spacing: 0.02em;
}
.si-pl-comparison th.si-pl-comp-capability,
.si-pl-comparison td.si-pl-comp-capability {
  text-align: left;
  color: #ffffff;
  font-weight: 500;
}
.si-pl-comparison th.si-pl-comp-us,
.si-pl-comparison td.si-pl-comp-us {
  background: rgba(70, 180, 145, 0.1);
  border-left: 1px solid rgba(70, 180, 145, 0.25);
  border-right: 1px solid rgba(70, 180, 145, 0.25);
}
.si-pl-comparison th.si-pl-comp-us { color: var(--si-ocean-green, #46b491); }

.si-pl-comp-yes { color: var(--si-ocean-green, #46b491); font-weight: 700; font-size: 1.1rem; }
/* 0.4 alpha flattened to #6f7885 on the #162436 panel and measured 3.50. The
   comparison table is the one place on a product page that says what the
   product does NOT do, so the "no" column is load-bearing and cannot be the
   least legible thing in the table. 0.62 clears at 6.46. */
.si-pl-comp-no  { color: rgba(244, 247, 251, 0.62); }
.si-pl-comp-partial {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  background: rgba(220, 116, 14, 0.18);
  /* 3.90 against the #3a322f this pill flattens to. Same hue, lifted. */
  color: var(--si-amber-on-dark, #f29539);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.si-pl-comp-manual {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  background: rgba(244, 247, 251, 0.06);
  color: rgba(244, 247, 251, 0.7);
  border-radius: 999px;
  font-size: 0.8rem;
}
.si-pl-comparison-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: rgba(244, 247, 251, 0.55);
  text-align: center;
}
.si-pl-comparison-note a { color: var(--si-ocean-green, #46b491); }

/* ===== Pricing tiers ===== */
.si-pl-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 900px) {
  .si-pl-pricing-grid { grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
}
.si-pl-pricing-tier {
  position: relative;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(24, 44, 67, 0.12);
  border-radius: 16px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}
.si-pl-pricing-tier-featured {
  border-color: var(--si-ocean-green, #46b491);
  box-shadow: 0 14px 30px -16px rgba(70, 180, 145, 0.45);
}
.si-pl-pricing-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--si-ocean-green, #46b491);
  color: #0a1929;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.si-pl-pricing-name {
  font-family: var(--si-display, "All Round Gothic", system-ui, sans-serif);
  font-size: 1.4rem;
  color: var(--si-prussian, #182c43);
  margin-bottom: 0.25rem;
}
.si-pl-pricing-target {
  font-size: 0.9rem;
  color: #5b6c84;
  margin-bottom: 1rem;
  min-height: 2.4em;
}
.si-pl-pricing-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--si-prussian, #182c43);
  margin-bottom: 0.15rem;
}
/* This note carries the pricing qualification, the sentence that says whether
   there is a checkout behind the number. It is the last text on the page that
   should be faint. The old #6b7a90 measured 4.36:1 on white and 4.02:1 on the
   off-white band, both under AA; the existing subtle token is 5.30 and 4.90.
   Changed 2026-08-26. */
.si-pl-pricing-price-note {
  font-size: 0.8rem;
  color: var(--si-text-subtle-dark, #5a6d85);
  margin-bottom: 1.25rem;
}
.si-pl-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.si-pl-pricing-features li {
  padding: 0.4rem 0 0.4rem 1.4rem;
  position: relative;
  color: #2a3b51;
  font-size: 0.95rem;
  border-top: 1px solid rgba(24, 44, 67, 0.06);
}
.si-pl-pricing-features li:first-child { border-top: none; }
.si-pl-pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--si-ocean-green, #46b491);
  font-weight: 700;
}

/* ===== FAQ ===== */
.si-pl-faq { margin-top: 2.25rem; }
/*
   The padding sits on the summary, not on the item. Measured 2026-08-26 at
   390px: with 1.25rem of padding on the item the row looked 59px tall and the
   clickable box was the 19px of text in the middle of it, because a visitor
   taps the summary and the padding belonged to its parent. Every collapsed
   FAQ row on all thirteen long product pages failed the 44px minimum that way,
   while looking as though it passed.

   Item padding drops to 0.5rem to keep the rendered row the height it already
   was. A two-line summary loses about 24px, which is the one visible change
   and it goes the direction the rest of this delta goes.
*/
.si-pl-faq-item {
  border-bottom: 1px solid rgba(24, 44, 67, 0.12);
  padding: 0.5rem 0;
}
.si-pl-faq-item:last-child { border-bottom: none; }
.si-pl-faq-item summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  padding: 0.5rem 0;
  font-family: var(--si-display, "All Round Gothic", system-ui, sans-serif);
  font-size: 1.1rem;
  color: var(--si-prussian, #182c43);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.si-pl-faq-item summary::-webkit-details-marker { display: none; }
.si-pl-faq-item summary::after {
  content: "+";
  color: var(--si-ocean-green, #46b491);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  flex: 0 0 auto;
}
.si-pl-faq-item[open] summary::after { content: "−"; }
.si-pl-faq-item p {
  margin: 0.75rem 0 0;
  color: #2a3b51;
  line-height: 1.6;
}

/* ===== Readiness and limitations ===== */
/*
 * Two columns that have to read as equally load-bearing. The "not yet" column
 * is deliberately not styled as a warning; amber or red would turn the honest
 * half of the section into a defect notice, and the point of the section is
 * that a buyer can read both columns and still buy.
 */
.si-pl-readiness-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 2.5rem;
  margin-top: 2.25rem;
}
.si-pl-readiness-heading {
  font-size: 1.05rem;
  margin: 0 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(244, 247, 251, 0.18);
}
.si-pl-readiness-today .si-pl-readiness-heading { color: var(--si-ocean-green, #46b491); }
.si-pl-readiness-notyet .si-pl-readiness-heading { color: rgba(244, 247, 251, 0.72); }
.si-pl-readiness-list { list-style: none; margin: 0; padding: 0; }
.si-pl-readiness-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.7rem;
  line-height: 1.55;
}
.si-pl-readiness-today .si-pl-readiness-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--si-ocean-green, #46b491);
}
.si-pl-readiness-notyet .si-pl-readiness-list li::before {
  content: "\2022";
  position: absolute;
  left: 0.25rem;
  color: rgba(244, 247, 251, 0.45);
}
.si-pl-readiness-asof {
  margin-top: 1.75rem;
  font-size: 0.85rem;
  opacity: 0.7;
}
.si-light-section .si-pl-readiness-heading { border-bottom-color: rgba(24, 44, 67, 0.14); }
.si-light-section .si-pl-readiness-notyet .si-pl-readiness-heading { color: #55637a; }
.si-light-section .si-pl-readiness-notyet .si-pl-readiness-list li::before { color: #97a2b2; }

/* ===== Use cases ===== */
.si-pl-usecases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 2rem;
  margin-top: 2.25rem;
}
.si-pl-usecase-title {
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
  color: var(--si-prussian, #182c43);
}
.si-dark-section .si-pl-usecase-title { color: #ffffff; }
.si-pl-usecase-who {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--si-ocean-green, #46b491);
  margin-bottom: 0.6rem;
}
.si-pl-usecase p { margin: 0; line-height: 1.6; }

/* ===== Screenshots and diagrams ===== */
/*
 * si_product_media() returns an empty array for every product today, so this
 * block is dormant by design. It exists so that the first real screenshot can
 * be added to the registry without a template change, and it can never render
 * a placeholder, because the resolver requires the file to exist on disk.
 */
.si-pl-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 2rem;
  margin-top: 2.25rem;
}
.si-pl-media { margin: 0; }
.si-pl-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(244, 247, 251, 0.16);
}
.si-light-section .si-pl-media img { border-color: rgba(24, 44, 67, 0.12); }
.si-pl-media figcaption {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  opacity: 0.75;
  line-height: 1.5;
}

/* ===== Evidence ===== */
.si-pl-evidence { margin-top: 2rem; }
.si-pl-evidence-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1.75rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(24, 44, 67, 0.12);
}
.si-pl-evidence-row:last-child { border-bottom: none; }
.si-pl-evidence-claim {
  color: var(--si-prussian, #182c43);
  line-height: 1.5;
  font-weight: 600;
}
.si-pl-evidence-basis { color: #43536b; line-height: 1.6; font-size: 0.95rem; }
.si-pl-evidence-kind {
  display: inline-block;
  margin-right: 0.55rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(70, 180, 145, 0.14);
  color: #2c7a63;
  vertical-align: 1px;
}
/* The date the row's internal record was last read against the product. Set on
   its own line and quieter than the basis, because it qualifies the evidence
   rather than adding to it. */
/* Same reasoning as .si-pl-pricing-price-note above: this is the verification
   date on an evidence row, so it is the part a sceptical reader checks. */
.si-pl-evidence-verified {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--si-text-subtle-dark, #5a6d85);
}
.si-dark-section .si-pl-evidence-row { border-bottom-color: rgba(244, 247, 251, 0.18); }
.si-dark-section .si-pl-evidence-claim { color: #ffffff; }
.si-dark-section .si-pl-evidence-basis { color: rgba(244, 247, 251, 0.85); }
.si-dark-section .si-pl-evidence-kind { background: rgba(70, 180, 145, 0.2); color: var(--si-ocean-green, #46b491); }
.si-dark-section .si-pl-evidence-verified { color: rgba(244, 247, 251, 0.62); }
@media (max-width: 640px) {
  .si-pl-evidence-row { grid-template-columns: 1fr; gap: 0.6rem; }
}

/* ===== Evaluation terms ===== */
.si-pl-terms { margin: 2rem 0 0; }
.si-pl-term {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  gap: 1.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(24, 44, 67, 0.12);
}
.si-pl-term:last-child { border-bottom: none; }
.si-pl-term dt { color: var(--si-prussian, #182c43); font-weight: 600; }
.si-pl-term dd { margin: 0; color: #43536b; line-height: 1.6; }
.si-dark-section .si-pl-term { border-bottom-color: rgba(244, 247, 251, 0.18); }
.si-dark-section .si-pl-term dt { color: #ffffff; }
.si-dark-section .si-pl-term dd { color: rgba(244, 247, 251, 0.85); }
.si-pl-terms-note {
  margin-top: 1.75rem;
  font-size: 0.92rem;
  opacity: 0.8;
}
@media (max-width: 640px) {
  .si-pl-term { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* ===== Related products ===== */
.si-pl-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.si-pl-related-card {
  display: block;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(24, 44, 67, 0.14);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.si-pl-related-card:hover,
.si-pl-related-card:focus-visible {
  border-color: var(--si-ocean-green, #46b491);
  transform: translateY(-2px);
}
.si-pl-related-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--si-prussian, #182c43);
}
.si-pl-related-status {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--si-ocean-green, #46b491);
}
.si-pl-related-tagline {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #52607a;
  line-height: 1.5;
}
.si-dark-section .si-pl-related-card { border-color: rgba(244, 247, 251, 0.18); }
.si-dark-section .si-pl-related-name { color: #ffffff; }
.si-dark-section .si-pl-related-tagline { color: rgba(244, 247, 251, 0.8); }

/* ===== On-page tools (template-parts/product-tool.php) ===== */
.si-tool-form { margin-top: 2rem; }
.si-tool-field { margin-bottom: 1.6rem; }
.si-tool-field label {
  display: block;
  color: var(--si-prussian, #182c43);
  font-weight: 600;
  margin-bottom: 0.45rem;
}
/* Both controls were under the 44px target box: the number field measured
   39.2px and the range 16px, the latter because a range input is only as tall
   as its own track unless it is told otherwise. The thumb stays its default
   size and centres in the taller box. */
.si-tool-field input[type="number"] {
  width: 100%;
  max-width: 220px;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  border: 1px solid rgba(24, 44, 67, 0.22);
  border-radius: 8px;
  background: #ffffff;
  color: var(--si-prussian, #182c43);
}
.si-tool-field input[type="range"] {
  width: 100%;
  max-width: 400px;
  height: 44px;
  vertical-align: middle;
  accent-color: var(--si-ocean-green, #46b491);
}
.si-tool-field input:focus-visible {
  outline: 2px solid var(--si-ocean-green, #46b491);
  outline-offset: 2px;
}
.si-tool-output-inline {
  display: inline-block;
  margin-left: 0.75rem;
  font-weight: 600;
  color: #2c7a63;
}
.si-tool-hint {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #5b6880;
  line-height: 1.5;
  max-width: 46ch;
}
.si-tool-result {
  margin-top: 2.25rem;
  padding: 1.5rem 1.75rem;
  border-radius: 12px;
  background: rgba(70, 180, 145, 0.09);
  border: 1px solid rgba(70, 180, 145, 0.28);
}
.si-tool-result-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2c7a63;
}
.si-tool-result-value {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  margin-top: 0.35rem;
  color: var(--si-prussian, #182c43);
}
.si-tool-result-sub { margin-top: 0.5rem; color: #43536b; font-size: 0.95rem; }
.si-tool-caveat {
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: #5b6880;
  line-height: 1.6;
  max-width: 62ch;
}
.si-tool-checklist { list-style: none; margin: 2rem 0 0; padding: 0; }
/* Target size, 2026-08-26. Clicking a label activates its checkbox, so the
   target is the label, not the 16px box. That label was inline and 25px tall
   on a desktop, sitting inside 49px of list-item padding that does nothing
   when clicked. Moving the padding from the item to the label turns the dead
   space into target: the row is 44px instead of 25px and the list is 5px
   shorter per row than it was, where padding the item to 44px would have made
   it 20px longer.

   On a phone the label already wraps to three lines and clears 44px on its
   own, so the only change there is the 6px the row loses. */
.si-tool-checklist li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0;
  border-bottom: 1px solid rgba(24, 44, 67, 0.1);
}
.si-tool-checklist li:last-child { border-bottom: none; }
.si-tool-checklist input[type="checkbox"] {
  /* Lines up with the first line of text inside the padded label, which is
     where it has to stay: centring it against a three-line label on a phone
     leaves the box beside the middle sentence. */
  margin-top: 0.95rem;
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  accent-color: var(--si-ocean-green, #46b491);
}
.si-tool-checklist label {
  display: block;
  flex: 1 1 auto;
  padding: 0.6rem 0;
  min-height: 44px;
  line-height: 1.55;
  color: #2a3b51;
  cursor: pointer;
}

/*
 * The checklist is meant to be printable, because the buyer who wants it is
 * usually taking it into a meeting with someone else. Print rules keep the
 * boxes visible and drop the interactive chrome.
 */
@media print {
  .si-tool-caveat, .si-tool-hint { color: #000000; }
  .si-tool-checklist input[type="checkbox"] { -webkit-appearance: checkbox; appearance: checkbox; }
}

/* ---------------------------------------------------------------------------
   Lifecycle rail (dark band)

   An ordered list rather than a grid of divs with rendered numbers, because the
   ordering is the content: a screen reader should hear "9 of 12, Execution"
   without the markup having to say it twice.

   Twelve stages will not fit one honest row at any desktop width, so this is a
   reflowing card grid rather than a horizontal thread. At 1440 four columns give
   roughly 250px a card, which is about 34 characters a line and reads.

   The left border carries the built-versus-planned signal in addition to the
   pill, so the shape of what is not built yet is visible before any label is
   read. Colour is never the only carrier: every card also states its state in
   words.
--------------------------------------------------------------------------- */
.si-pl-lifecycle {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 2.5rem 0 0;
  padding: 0;
}
@media (min-width: 700px) {
  .si-pl-lifecycle { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1000px) {
  .si-pl-lifecycle { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1240px) {
  .si-pl-lifecycle { grid-template-columns: repeat(4, 1fr); }
}
.si-pl-lifecycle-stage {
  display: flex;
  gap: 0.9rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--si-radius-md, 8px);
}
.si-pl-lifecycle-built   { border-left-color: var(--si-ocean-green, #46b491); }
.si-pl-lifecycle-planned { border-left-color: var(--si-orange, #dc740e); }
.si-pl-lifecycle-num {
  flex: 0 0 auto;
  font-family: var(--si-font-mono, "DM Mono", ui-monospace, Consolas, monospace);
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(244, 247, 251, 0.5);
}
.si-pl-lifecycle-body { min-width: 0; }
.si-pl-lifecycle-title {
  margin: 0 0 0.5rem;
  font-family: var(--si-display, "All Round Gothic", system-ui, sans-serif);
  font-size: 1.05rem;
  line-height: 1.35;
  color: #ffffff;
}
.si-pl-lifecycle-body p {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(244, 247, 251, 0.82);
}
/*
 * 0.75rem, not the 0.72rem this started at.
 *
 * 0.72rem resolves to 11.52px, and these pills are uppercase with positive
 * letter-spacing, which is the combination that gets hard to read first. They
 * are also the only place the page states whether a stage is built, so they are
 * not decoration that can afford to be small. 12px is the floor the mobile
 * suite enforces.
 */
.si-pl-lifecycle-state {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: var(--si-radius-pill, 100px);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
/* 4.46 against the #1f3e46 this pill flattens to, so it missed AA by 0.04 and
   looked entirely fine doing it. Lifted to 4.86. */
.si-pl-lifecycle-built .si-pl-lifecycle-state {
  background: rgba(70, 180, 145, 0.16);
  color: var(--si-emerald-on-dark, #54bd9b);
}
.si-pl-lifecycle-planned .si-pl-lifecycle-state {
  background: rgba(220, 116, 14, 0.2);
  color: #f0913a;
}
.si-pl-lifecycle-summary {
  margin: 2rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(244, 247, 251, 0.72);
}

/* ---------------------------------------------------------------------------
   Capability matrix (light band)

   This is the table a buyer reads to find out what is not built, so the status
   pills carry the same visual weight whether they say "production connector" or
   "planned". A muted grey 10px "planned" chip would be the design equivalent of
   a footnote, and this table exists precisely so those rows are not footnotes.

   The legend sits above the table as visible text rather than in tooltips,
   because a status vocabulary a reader has to hover to decode is one they will
   guess at instead.
--------------------------------------------------------------------------- */
.si-pl-matrix-legend {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}
@media (min-width: 860px) {
  .si-pl-matrix-legend { grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; }
}
.si-pl-matrix-legend-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
}
.si-pl-matrix-legend-def {
  flex: 1 1 13rem;
  min-width: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #4a5e78;
}
.si-pl-matrix-pill {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: var(--si-radius-pill, 100px);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.45;
}
.si-pl-matrix-production  { background: rgba(70, 180, 145, 0.22); color: #12604a; }
.si-pl-matrix-pilot       { background: rgba(0, 120, 212, 0.14);  color: #0a5490; }
.si-pl-matrix-operator    { background: rgba(0, 120, 212, 0.14);  color: #0a5490; }
.si-pl-matrix-rehearsal   { background: rgba(220, 116, 14, 0.18); color: #8f4b08; }
.si-pl-matrix-planned     { background: rgba(24, 44, 67, 0.1);    color: #3d5169; }
.si-pl-matrix-unsupported { background: rgba(24, 44, 67, 0.1);    color: #3d5169; }

.si-pl-matrix-wrap {
  margin-top: 2.25rem;
  overflow-x: auto;
}
.si-pl-matrix {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.si-pl-matrix caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 0.9rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #5a6d85;
}
.si-pl-matrix th,
.si-pl-matrix td {
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(24, 44, 67, 0.12);
  font-size: 0.92rem;
  line-height: 1.55;
  color: #2a3b51;
}
.si-pl-matrix thead th {
  font-weight: 600;
  color: var(--si-prussian, #182c43);
  border-bottom: 2px solid rgba(24, 44, 67, 0.2);
  white-space: nowrap;
}
.si-pl-matrix tbody th {
  font-weight: 600;
  color: var(--si-prussian, #182c43);
}
.si-pl-matrix-family { width: 20%; }
.si-pl-matrix-primitive {
  width: 20%;
  font-family: var(--si-font-mono, "DM Mono", ui-monospace, Consolas, monospace);
  font-size: 0.82rem;
  color: #4a5e78;
}
.si-pl-matrix-status { width: 15%; }
.si-pl-matrix-note { color: #4a5e78; }

.si-pl-matrix-boundaries {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: rgba(24, 44, 67, 0.04);
  border-left: 3px solid var(--si-prussian, #182c43);
  border-radius: var(--si-radius-sm, 6px);
}
.si-pl-matrix-boundaries h3 {
  margin: 0 0 0.6rem;
  font-family: var(--si-display, "All Round Gothic", system-ui, sans-serif);
  font-size: 1.1rem;
  color: var(--si-prussian, #182c43);
}
.si-pl-matrix-boundaries > p {
  margin: 0 0 1.25rem;
  font-size: 0.93rem;
  line-height: 1.6;
  color: #4a5e78;
}
.si-pl-matrix-boundaries dl { margin: 0; }
.si-pl-matrix-boundaries dt {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--si-prussian, #182c43);
}
.si-pl-matrix-boundaries dd {
  margin: 0.3rem 0 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4a5e78;
}
.si-pl-matrix-boundaries dd:last-child { margin-bottom: 0; }
.si-pl-matrix-footnote {
  margin-top: 1.75rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #5a6d85;
}

/* ---------------------------------------------------------------------------
   Registry-defined bands and the delivery disclosure
--------------------------------------------------------------------------- */
/*
 * Registry-defined bands reuse .si-pl-capabilities for their cards, and that
 * grid was written for the light capabilities section: white card, Prussian
 * title, #2a3b51 body. Dropped unchanged onto a dark band it renders as a slab
 * of white in the middle of the night-sky palette, which reads as a different
 * design system rather than as the same one. These three rules give the dark
 * band the translucent panel treatment the other dark blocks already use.
 */
.si-dark-section .si-pl-capability {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}
.si-dark-section .si-pl-capability-title { color: #ffffff; }
.si-dark-section .si-pl-capability p { color: rgba(244, 247, 251, 0.82); }

.si-pl-band-note {
  margin: 2rem 0 0;
  font-size: 0.92rem;
  line-height: 1.65;
}
.si-light-section .si-pl-band-note { color: #4a5e78; }
.si-dark-section  .si-pl-band-note { color: rgba(244, 247, 251, 0.75); }

.si-pl-delivery-body {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(244, 247, 251, 0.85);
}
.si-pl-delivery-disclosure {
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(244, 247, 251, 0.68);
}

/* ---------------------------------------------------------------------------
   Adjacent dark bands

   Readiness and the lifecycle rail are both dark and both belong to the same
   "what is actually built" argument, so the page reads better when they share
   one continuous field than when the section rhythm inserts a seam between two
   identical backgrounds. The class is applied by the template rather than by a
   sibling selector, so a band moved somewhere else does not silently lose its
   top padding.
--------------------------------------------------------------------------- */
.si-pl-section.si-dark-section + .si-pl-section-tight.si-dark-section {
  padding-top: 0;
}
.si-pl-lifecycle-summary {
  font-weight: 500;
  color: #ffffff;
}

/* ---------------------------------------------------------------------------
   Interest actions

   Three asks on a page for a product nobody can buy yet, ranked by what each
   one costs the visitor: apply to be let in early, offer to help test, or just
   be told when it opens.

   They have to read as three different weights, not three identical buttons.
   Two buttons styled the same are a coin toss, and the one a visitor picks by
   accident is the one somebody then has to un-promise. So primary keeps the
   filled treatment, secondary keeps the outline, and tertiary drops to an
   underlined text control: still a real target, visibly the cheapest option.

   Tertiary keeps 44px of height and the shared font size rather than shrinking
   to match its weight. The rank is carried by contrast, not by making the
   lowest-commitment action the hardest one to tap, and the 44px is the WCAG
   2.5.5 target the mobile spec asserts.
--------------------------------------------------------------------------- */
.si-btn-secondary.si-interest-tertiary {
  border-color: transparent;
  padding-left: 8px;
  padding-right: 8px;
  color: rgba(244, 247, 251, 0.72);
  text-decoration: underline;
  text-underline-offset: 4px;
  /* Both forms, because this is undoing the blur(8px) that .si-btn-secondary
     sets. si-theme.css declares that one unprefixed, so on Safari it never
     applied and this reset has nothing to undo there, but a reset that only
     covers one of the two properties is the kind of asymmetry that turns into
     a real defect the day the base rule gains its prefix. */
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.si-btn-secondary.si-interest-tertiary:hover {
  border-color: transparent;
  color: var(--si-white);
}
.si-btn-secondary.si-interest-tertiary:focus-visible {
  outline: 2px solid var(--si-emerald, #46B491);
  outline-offset: 3px;
}

/*
  The note under the three buttons. It says what none of them does, which is
  the sentence that stops "Request early access" from reading as a door.

  13px rather than smaller: the mobile spec fails any public class rendering
  below 12px, and a disclaimer set at the floor is a disclaimer nobody reads.
*/
.si-interest-note {
  margin: 1rem auto 0;
  max-width: 46rem;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(244, 247, 251, 0.62);
}

/* ---------------------------------------------------------------------------
   Composition grid (umbrella and layer pages)

   Cards, not a list, because each one is a link to a product that stands on
   its own. The state chip is the child's resolved access label rather than a
   word typed here, so a suite whose members sit at five different stages shows
   five different chips instead of one flattering average.

   The chip is neutral grey on purpose. Colouring "Available now" green and
   "Coming soon" amber would rank the children by how close they are to sale,
   and the founder disposition of 2026-08-24 that created this page says the
   opposite: the umbrella must not imply a completed unified product, and it
   must not push a visitor at whichever member happens to be buyable today.

   auto-fit with a min() floor keeps a single column at 320px without a media
   query, and the whole card is the tap target, which clears the 44px WCAG
   2.5.5 minimum by a wide margin.
--------------------------------------------------------------------------- */
.si-pl-modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.25rem;
  margin-top: 2.25rem;
}
.si-pl-module {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(24, 44, 67, 0.14);
  border-radius: 14px;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.si-pl-module:hover {
  border-color: var(--si-ocean-green, #46b491);
  transform: translateY(-2px);
}
.si-pl-module:focus-visible {
  outline: 2px solid var(--si-emerald, #46B491);
  outline-offset: 3px;
}
.si-pl-module-name {
  font-size: 1.1rem;
  margin: 0;
  color: var(--si-navy, #182c43);
}
.si-pl-module-tagline {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #2a3b51;
  flex: 1 1 auto;
}
.si-pl-module-state {
  align-self: flex-start;
  margin-top: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(24, 44, 67, 0.07);
  color: #40506a;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
@media (prefers-reduced-motion: reduce) {
  .si-pl-module { transition: none; }
  .si-pl-module:hover { transform: none; }
}

/* Depth behind a details block (2026-11-18, rubric line 14). The heading and
   qualifier of a section stay in view; the cards open on request. */
.si-pl-depth { margin-top: 1.25rem; }
.si-pl-depth > summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; padding: .6rem 1rem; border-radius: 999px; border: 1px solid currentColor; opacity: .85;
}
.si-pl-depth > summary::-webkit-details-marker { display: none; }
.si-pl-depth > summary::before { content: "+"; font-weight: 700; }
.si-pl-depth[open] > summary::before { content: "\2212"; }
.si-pl-depth[open] > summary { margin-bottom: 1.5rem; }

/* The hero media slot (2026-11-18, rubric line 3). Renders only when the
   registry carries a hero entry whose file is on disk. */
.si-pl-hero-media { margin: 2.5rem auto 0; max-width: 960px; }
.si-pl-hero-media img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.si-pl-hero-media figcaption { margin-top: .6rem; font-size: .85rem; opacity: .75; text-align: center; }
