/* ==========================================================================
   KuduDoc v6 — Product, in the v6 language (loaded after theme.css).
   v5 CSS sits in a lower layer, so plain rules here win; !important only where theme.css uses it.

   The opening (.hero-cu + .proof-cu), cards and the ground are handled globally.
   What changes here:
   · the ink band (#ink) is a contained flat-blue panel, so the ground runs on unbroken
   · no stat row, no before/after block, no drawn mini mock-ups: the catalogue is a dense list —
     one white card per category (name, one line, plan chip), with a real product capture beside
     the categories that have one
   · navy mock bodies (Protect) become the flat blue — orange stays for the action, the rules, the
     chapter markers and the seal
   · chapter labels (01 / SIGN …) are real eyebrows; display type is Montserrat 650 throughout
   · the FAQ cards get their inner padding (v5 left the text on the edge)
   · the closing is the landing's: the copy on the opening's edge, the mark poster, the orange action
   ========================================================================== */

.product-page {
  --v6-card: inset 0 0 0 1px rgba(16, 45, 73, .07), 0 1px 2px rgba(16, 45, 73, .05), 0 16px 40px -24px rgba(16, 45, 73, .32);
  --v6-poster: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 72'%3E%3Cg transform='translate(40 36) rotate(-8) skewX(-14) translate(-31 -32)' stroke-linecap='round' stroke-width='6.5'%3E%3Cpath d='M13 14V50' stroke='%23004e99' stroke-opacity='.16'/%3E%3Cpath d='M25 9V55' stroke='%23004e99' stroke-opacity='.22'/%3E%3Cpath d='M37 13V51' stroke='%23004e99' stroke-opacity='.13'/%3E%3Cpath d='M49 18V46' stroke='%23004e99' stroke-opacity='.18'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- 0 · type: Montserrat 650, never 700/800 */
.product-page .kd-step b { font-weight: 650; }
.product-page .kd-seal-result b { font-weight: 650; }
.pdate > b { font-weight: 650; letter-spacing: -.02em; color: var(--navy); }
.pask-answer p { font-weight: 650; letter-spacing: -.02em; }
/* eyebrows that wrap on a phone need line spacing (the theme sets them at line-height 1) */
.product-page section:not(.hero-cu) .eyebrow { line-height: 1.35; }

/* ---------------------------------------------------------------- 1 · bento */
/* the chapter label (01 / SIGN) is an eyebrow: blue, 12.5px, .15em */
.pbcopy > .caption {
  display: block; color: #006bcb;
  font: 600 12.5px/1 var(--font-sans); letter-spacing: .15em; text-transform: uppercase;
}
.pbcopy h3 { font-weight: 650; }
.pbcopy > p { color: #3f5470; }
/* seal marks in the one orange */
.pbcard :is(.kd-object, .doc-seal svg) { --kd-blue: var(--orange); --kd-blue-200: #ffd3b8; }
/* Protect: the navy mock body becomes the flat blue; its ring is quiet light blue, not orange */
.protect .pmock-body { background: #2a64a0; }
.protect .pmock-body > div > p { color: rgba(236, 244, 252, .86); }
.pvault-lock { border-color: rgba(191, 227, 255, .6); }
.protect .kd-chip-vault { background: rgba(8, 28, 52, .28); color: #fff; }
/* the Sealed chip, as on the landing: the seal's orange */
span.kd-chip-sealed {
  align-self: flex-start; background: var(--peach); color: #d4520f; font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 118, 43, .4);
}

/* ---------------------------------------------------------------- 2 · the ink panel: contained flat blue */
html body .product-page > #ink {
  background: none; box-shadow: none; margin: 0; padding: 56px 0;
}
.product-page > #ink > .pwrap {
  width: calc(100% - 80px); max-width: 1080px; margin: 0 auto; padding: 56px 64px 52px;
  border-radius: 24px; color: rgba(236, 244, 252, .86);
  background: var(--v6-poster) right -70px center / auto 150% no-repeat, #2a64a0;
}
#ink h2.kd-h2 { color: #fff; }
#ink p { max-width: 62ch; margin-top: 18px; color: rgba(236, 244, 252, .9); font-size: 17px; line-height: 1.6; }
#ink a { display: inline-block; margin-top: 18px; color: #fff; font-weight: 600; }

/* ---------------------------------------------------------------- 3 · the catalogue: a dense list per category */
.pcl-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 28px; }
.pcl-jump a {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px;
  background: #fff; color: var(--navy); font: 600 14px/1 var(--font-sans); text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(16, 45, 73, .1);
}
.pcl-jump a:hover { box-shadow: inset 0 0 0 1.5px #006bcb; color: #004e99; }
.pcl-jump a.pcl-plans { background: transparent; box-shadow: none; color: #006bcb; }
.pcl { display: grid; gap: 20px; }
.pcl-cat {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 20px 56px;
  padding: 36px 40px; border-radius: 24px; background: #fff; box-shadow: var(--v6-card);
  scroll-margin-top: 110px;
}
.pcl-head h3 { margin: 0; font: 650 26px/1.2 var(--font-display); letter-spacing: -.025em; color: var(--navy); }
.pcl-head > p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.55; color: #3f5470; }
.pcl-shot { margin: 22px 0 0; }
.pcl-shot a { display: block; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(16, 45, 73, .1), 0 10px 24px -18px rgba(16, 45, 73, .45); }
.pcl-shot img { display: block; width: 100%; height: auto; }
.pcl-shot .kd-caption { margin-top: 10px; font-size: 12px; line-height: 1.45; color: #56697f; }
.pcl-rows { list-style: none; margin: 0; padding: 0; }
.pcl-rows li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 3px;
  padding: 13px 0; border-top: 1px solid #e6ecf2;
}
.pcl-rows li:first-child { border-top: 0; padding-top: 2px; }
.pcl-rows a {
  grid-column: 1; font: 600 16px/1.35 var(--font-sans); color: var(--navy); text-decoration: none;
}
.pcl-rows a::after { content: " →"; color: #006bcb; opacity: 0; transition: opacity .15s; }
.pcl-rows a:hover { color: #004e99; }
.pcl-rows a:hover::after, .pcl-rows a:focus-visible::after { opacity: 1; }
.pcl-rows p { grid-column: 1 / -1; grid-row: 2; margin: 0; font-size: 14.5px; line-height: 1.5; color: #3f5470; }
.pcl-plan {
  grid-column: 2; grid-row: 1; align-self: start; white-space: nowrap;
  padding: 4px 10px; border-radius: 999px; background: #eef5fc; color: #004e99;
  font: 600 12px/1.3 var(--font-sans);
}
.pcl-plan.is-every { background: #f1f5f9; color: #56697f; font-weight: 500; }

/* ---------------------------------------------------------------- 6 · questions: the accordion cards get their inner padding */
.pfaq .accordion { border-top: 0; }
.product-page .pfaq .accordion-trigger { padding: 22px 24px; color: var(--navy); }
.product-page .pfaq .accordion-body { padding: 0 24px 22px; color: #3f5470; }
.product-page .pfaq .accordion-icon { color: #006bcb; }
html body .product-page .pfaq .accordion-item:has(.accordion-trigger[aria-expanded="true"]) { box-shadow: inset 0 0 0 1.5px rgba(0, 107, 203, .3); }

/* ---------------------------------------------------------------- 7 · closing: as on the landing
   Full-bleed blue into the footer (global); here: one column on the opening's 1160 edge, the mark
   poster, the eyebrow's slanted stroke, the orange primary action and a ghost pill. */
html body .product-page > #closing.cta-gradient-kd {
  display: block;
  background: var(--v6-poster) right -6vw top -170px / auto 720px no-repeat, #2a64a0;
}
html body .product-page > #closing.cta-gradient-kd::after { content: none; }
html body #closing.cta-gradient-kd > .cta-gradient-inner { width: 100%; max-width: 1160px; margin: 0 auto; }
#closing .eyebrow { display: flex; align-items: flex-start; color: #d6eeff; line-height: 1.25; }
#closing .eyebrow::before {
  content: ""; flex: none; width: 3px; height: 13px; margin-right: 10px; border-radius: 2px;
  background: var(--orange); transform: skewX(-14deg) rotate(-8deg) translateY(1px);
}
#closing h2.kd-h2 { padding-left: 0; font-weight: 650; }
#closing h2.kd-h2::before { content: none; }
#closing p:not(.fence) { color: rgba(236, 244, 252, .86); }
#closing .btn-row { gap: 12px; }
html body #closing .btn-onblue {
  color: #fff; border: 0; background: linear-gradient(180deg, #ff8f45 0%, #ff6a30 55%, #ff5528 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(160,40,10,.25), 0 1px 2px rgba(120,30,0,.25), 0 8px 22px -6px rgba(255,90,40,.55);
}
html body #closing .btn-onblue:hover { background: linear-gradient(180deg, #ff9a55 0%, #ff7036 55%, #ff5a2c 100%); color: #fff; }

/* ---------------------------------------------------------------- phone */
@media (max-width: 900px) {
  .product-page > #ink > .pwrap { padding: 48px 40px 44px; }
  .pcl-cat { grid-template-columns: 1fr; padding: 30px 28px; gap: 18px; }
  .pcl-shot { max-width: 520px; }
}
@media (max-width: 700px) {
  html body .product-page > #ink { padding: 40px 0; }
  .product-page > #ink > .pwrap {
    width: calc(100% - 40px); padding: 36px 22px 32px; border-radius: 22px;
    background-size: auto 70%; background-position: right -90px top -20px;
  }
  .pbcopy > .caption { font-size: 11.5px; letter-spacing: .13em; }
  #ink p { font-size: 16px; }
  .pcl-jump { gap: 6px; margin-bottom: 20px; }
  .pcl-jump a { min-height: 36px; padding: 0 13px; font-size: 13.5px; }
  .pcl-cat { padding: 24px 20px; border-radius: 20px; }
  .pcl-head h3 { font-size: 23px; }
  .pcl-rows a { font-size: 15.5px; }
  .product-page .pfaq .accordion-trigger { padding: 20px 18px; }
  .product-page .pfaq .accordion-body { padding: 0 18px 20px; }
  /* the closing keeps the opening's 20px gutter */
  html body .product-page > #closing.cta-gradient-kd {
    padding: 88px 20px 72px !important;
    background-size: auto 480px; background-position: right -130px top -60px;
  }
}

/* ---------------------------------------------------------------- 8 · words pass (27 Sep 2026)
   The Sign category's picture is the signing editor drawn as the product (the old capture carried
   sample labels inside the image); FAQ answers are div.accordion-body so the build reads them. */
.ped { overflow: hidden; border-radius: 12px; background: #fff; color: var(--navy); font: 400 11px/1.4 var(--font-sans);
  box-shadow: inset 0 0 0 1px rgba(16, 45, 73, .1), 0 10px 24px -18px rgba(16, 45, 73, .45); }
.ped-bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid #e6ecf2; }
.ped-bar b { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 650 11.5px/1.3 var(--font-display); }
.ped-send { padding: 3px 10px; border-radius: 999px; background: #006bcb; color: #fff; font-weight: 600; font-size: 10.5px; }
.ped-body { display: grid; grid-template-columns: 68px minmax(0, 1fr) 94px; }
.ped-tools { display: flex; flex-direction: column; gap: 5px; padding: 10px 6px; border-right: 1px solid #e6ecf2; }
.ped-tools span { padding: 4px 2px; border-radius: 5px; box-shadow: inset 0 0 0 1px #dfe6ee; font-weight: 600; font-size: 9px; text-align: center; white-space: nowrap; }
.ped-tools span.is-on { background: #eef5fc; box-shadow: inset 0 0 0 1px #006bcb; color: #004e99; }
.ped-canvas { padding: 10px; background: #f3f7fb; }
.ped-paper { padding: 10px 10px 12px; border-radius: 3px; background: #fff; box-shadow: 0 6px 14px -10px rgba(16, 45, 73, .35); }
.ped-paper b { display: block; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1.5px solid #2a64a0; font: 650 10.5px/1.3 var(--font-display); }
.ped-line { display: block; height: 4px; margin: 5px 0; border-radius: 2px; background: #e6ecf2; }
.ped-line.is-short { width: 60%; }
.ped-fields { display: grid; grid-template-columns: 1.6fr 1fr; gap: 6px; margin-top: 12px; }
.ped-fields span { display: grid; place-items: center; height: 24px; border-radius: 4px; font-weight: 600; font-size: 9px; }
.ped-fields .is-one { border: 1px dashed #006bcb; background: #eef5fc; color: #004e99; }
.ped-fields .is-two { border: 1px dashed #8a9bb0; background: #f5f7fa; color: #3f5470; }
.ped-side { display: flex; flex-direction: column; gap: 6px; padding: 10px 6px; border-left: 1px solid #e6ecf2; }
.ped-signer { display: flex; align-items: center; gap: 4px; overflow: hidden; padding: 5px 4px; border-radius: 7px; box-shadow: inset 0 0 0 1px #e6ecf2; font-weight: 600; font-size: 9px; white-space: nowrap; }
.ped-signer.is-one { box-shadow: inset 0 0 0 1px #006bcb; }
.ped-signer i { display: grid; flex: none; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #eef5fc; color: #006bcb; font: 600 8.5px/1 var(--font-sans); font-style: normal; }

/* kda · the app panel: shared, in theme.css */

/* ---------------------------------------------------------------- 9 · review (27 Sep 2026): the catalogue's
   pictures are drawn as the product, like the Sign editor above: a cited clause, a share, the locked Vault. */
.pm .pm-tag { flex: none; padding: 3px 9px; border-radius: 999px; background: #eef5fc; color: #004e99; font-weight: 600; font-size: 10px; white-space: nowrap; }
.pm-note { padding: 6px 10px; border-bottom: 1px solid #e6ecf2; background: #fafcff; color: #004e99; font-size: 10px; font-weight: 600; }
.pm-note::before { content: ""; display: inline-block; width: 2.5px; height: 9px; margin-right: 7px; border-radius: 2px; background: #006bcb; transform: skewX(-14deg); vertical-align: -1px; }
.product-page .pm-paper p { margin: 0 0 6px; font-size: 9.5px; line-height: 1.5; color: #3f5470; }
.product-page .pm-paper p.pm-hl { margin-inline: -4px; padding: 3px 4px; border-radius: 3px; background: #e3f1ff; color: var(--navy); box-shadow: inset 2px 0 0 #006bcb; }
.pm-form { display: grid; gap: 0; padding: 4px 12px 10px; }
.pm-field { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 34px; border-top: 1px solid #eef2f6; }
.pm-field:first-child { border-top: 0; }
.pm-field small { font: 600 8.5px/1.3 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: #56697f; }
.pm-field > span { display: flex; align-items: center; gap: 7px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; font-size: 10.5px; }
.pm-field b { font-weight: 600; }
.pm-doc { display: grid; flex: none; place-items: center; width: 18px; height: 22px; border-radius: 3px; background: #f3f7fb; box-shadow: inset 0 0 0 1px #dde5ee; font: 700 6px/1 var(--font-sans); font-style: normal; color: #56697f; }
.pm-av { display: grid; flex: none; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #eef5fc; color: #006bcb; font: 600 8px/1 var(--font-sans); font-style: normal; }
.pm-seg { gap: 0 !important; padding: 2px; border-radius: 999px; box-shadow: inset 0 0 0 1px #dfe6ee; justify-self: start; }
.pm-seg em { padding: 3px 9px; border-radius: 999px; font-style: normal; font-size: 9.5px; color: #56697f; }
.pm-seg em.is-on { background: #006bcb; color: #fff; }
.pm-vault { display: grid; justify-items: center; gap: 8px; padding: 16px 14px 16px; background: #2a64a0; color: #fff; text-align: center; }
.pm-lock { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(191, 227, 255, .6); }
.pm-lock .icon { width: 16px; height: 16px; color: #fff; }
.pm-vault > b { font: 650 11.5px/1.3 var(--font-display); }
.pm-vault ol { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 9.5px; color: rgba(236, 244, 252, .86); }
.pm-vault li { display: flex; align-items: center; gap: 5px; }
.pm-vault li i { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: rgba(8, 28, 52, .28); font: 600 8px/1 var(--font-sans); font-style: normal; }
.pm-btn { padding: 4px 12px; border-radius: 999px; background: #fff; color: #004e99; font-weight: 600; font-size: 10px; }
