.product-page { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.product-crumb { display: flex; flex-wrap: wrap; gap: .65rem; margin-block: 1.4rem .6rem; color: var(--muted); font-size: .83rem; }
.product-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; padding-block: 1rem clamp(2.3rem, 5vw, 4.75rem); }
.product-intro h1 { font-size: clamp(3rem, 5.4vw, 5.15rem); line-height: 1.02; letter-spacing: -.055em; overflow-wrap: break-word; }
.product-intro > p { max-width: 48ch; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.2rem); margin-top: 1.4rem; }
.product-intro .actions, .product-example .actions { align-items: center; gap: .8rem 1.25rem; }
.text-action { font-weight: 700; color: var(--plum); font-size: .9rem; }
.product-art { display: grid; min-height: clamp(390px, 36vw, 500px); border-radius: 12px 12px 64px 12px; overflow: hidden; }
.manuscript { place-items: center; padding: clamp(1.2rem, 3vw, 2.4rem); background: #d2a2b8 url("assets/fold.webp") center / cover; }
.manuscript-paper { width: min(100%, 425px); min-width: 0; padding: clamp(1.1rem, 2.6vw, 2rem); margin: 0; color: #34243a; background: #fff9f2; border: 1px solid #d5bdc9; border-radius: 4px 15px 4px 4px; box-shadow: 8px 9px 0 #ede1d4, 10px 11px 0 #a78098, 0 18px 35px #30152d55; }
.paper-byline { display: block; margin: 0 0 .9rem; color: #624458; font: 700 .74rem/1.4 var(--sans); letter-spacing: .045em; text-transform: uppercase; }
.manuscript-paper > input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.manuscript-paper label { display: inline-flex; align-items: center; min-height: 40px; margin: 0 .2rem .6rem 0; padding: .25rem .72rem; border-radius: 4px; color: #4a2350; background: #f1e1e9; font-size: .8rem; font-weight: 700; cursor: pointer; }
.manuscript-paper input:checked + label { background: #42084f; color: #fff4f9; }
.manuscript-paper label:hover { box-shadow: inset 0 0 0 1px #885480; }
.manuscript-paper input:focus-visible + label { outline: 3px solid #a83ca9; outline-offset: 2px; }
.paper-view { display: none; min-height: 232px; padding-top: .7rem; border-top: 1px solid #cdb7c7; }
#show-draft:checked ~ .draft-view, #show-brief:checked ~ .brief-view { display: block; }
.paper-view h2 { max-width: 19ch; font: 400 clamp(1.6rem, 2.5vw, 2.25rem)/1.1 var(--serif); color: #42084f; letter-spacing: -.04em; text-wrap: wrap; }
.paper-view p, .paper-view dl { margin-top: .65rem; font-size: .86rem; line-height: 1.46; }
.paper-view dt { font-weight: 700; }
.paper-view dd + dt { margin-top: .4rem; }
.schedule-art { position: relative; align-items: end; padding: clamp(1rem, 3vw, 2.15rem); background: #dac8b4; }
.schedule-art > img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.schedule-art figcaption { position: relative; width: min(100%, 320px); padding: 1.1rem 1.3rem; border-top: 4px solid #ff5276; background: #fff9f1; color: #351b39; box-shadow: 0 7px 20px #30152d32; }
.schedule-art ul { padding: 0; list-style: none; }
.schedule-art li { display: flex; align-items: baseline; gap: 1rem; padding: .35rem 0; border-top: 1px solid #dbcfd5; font-size: .88rem; }
.schedule-art b { color: #6b245e; }
.integration-art { place-content: center; justify-items: center; gap: 1.55rem; padding: 2rem; color: var(--night-text); background: radial-gradient(ellipse at 20% 0%,#653258,transparent 64%), #33083e; }
.connector-diagram { display: grid; justify-items: center; gap: .4rem; width: 100%; }
.connector-diagram img { border-radius: 6px; padding: .3rem; background: #fff9f1; object-fit: contain; }
.connector-diagram strong { font: 400 clamp(2.1rem, 4vw, 3.5rem)/1.2 var(--serif); }
.diagram-wire { width: 60%; height: 25px; margin-top: 16px; border: 1px solid #e394b2; border-bottom: 0; position: relative; }
.diagram-wire::before { content: ""; position: absolute; left: 50%; bottom: 100%; height: 17px; border-left: 1px solid #e394b2; }
.connector-diagram div { display: flex; justify-content: space-around; gap: 1.5rem; }
.connector-diagram div span { padding: .45rem 1.3rem; border: 1px solid #bb8aa8; border-radius: 6px; font-weight: 700; }
.integration-art figcaption { text-align: center; font-size: .85rem; color: var(--night-muted); }
.product-section, .product-faq { border-top: 1px solid var(--edge); padding-block: clamp(2.2rem, 5vw, 4.5rem); }
.product-page :is(.product-section,.product-faq,.product-example,.product-budget,.product-next) h2 { font-size: clamp(2rem, 3.7vw, 3.5rem); text-wrap: wrap; }
.product-split-heading, .product-delivery, .product-faq { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1.4rem clamp(1.7rem,5vw,5rem); }
.product-split-heading { align-items: end; }
.product-split-heading > p, .product-delivery h2 + p, .product-example h2 + p { color: var(--muted); max-width: 58ch; }
.product-steps { counter-reset: stage; list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem, 3vw, 2.2rem); margin: 2.1rem 0 0; padding: 0; }
.product-steps li { counter-increment: stage; padding-top: .8rem; border-top: 2px solid var(--plum); }
.product-steps li::before { content: counter(stage, decimal-leading-zero); display: block; margin-bottom: 1rem; font-weight: 700; font-size: .85rem; color: var(--muted); }
.product-steps h3, .platform-grid h3 { font-size: clamp(1.6rem,2.7vw,2.25rem); }
.product-steps p, .platform-grid p { margin-top: .6rem; color: var(--muted); }
.product-example, .product-budget { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; background: var(--wash); border-radius: 10px 10px 48px 10px; padding: clamp(1.15rem,3vw,2.6rem); margin-bottom: clamp(2rem,4vw,3.8rem); }
.example-frame { border: 1px solid var(--edge); border-radius: 6px; overflow: hidden; background: #fff; }
.example-frame img { width: 100%; height: auto; }
.product-example h2 + p, .product-delivery h2 + p, .product-budget h2 + p { margin-top: .9rem; }
.delivery-list { display: grid; grid-template-columns: minmax(110px,.8fr) 1.6fr; align-content: start; }
.delivery-list :is(dt,dd) { padding: .85rem .4rem .85rem 0; border-top: 1px solid var(--edge); }
.delivery-list dt { font-weight: 700; color: var(--plum); }
.delivery-list dd { color: var(--muted); }
.product-budget { color: var(--night-text); background: var(--night); grid-template-columns: 1.4fr 1fr; }
.product-budget h2 { color: inherit; }
.product-budget .section-label, .product-budget p { color: var(--night-muted); }
.product-budget .button { margin-top: 1rem; }
.product-budget dl { border-left: 1px solid #935b88; padding-left: clamp(1.3rem,4vw,3.2rem); }
.product-budget dt { color: var(--night-muted); font-size: .82rem; }
.product-budget dd { font: 400 clamp(1.3rem,2.6vw,2rem)/1.2 var(--serif); }
.product-budget dd + dt { margin-top: .95rem; }
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.65rem; }
.platform-grid article { padding: clamp(1.2rem,3vw,2rem); border: 1px solid var(--edge); background: var(--paper); border-radius: 10px; }
.platform-grid .text-action { display: inline-block; margin-top: 1rem; }
.product-faq { grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); }
.product-faq details { border-bottom: 1px solid var(--edge); }
.product-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem .25rem; cursor: pointer; list-style: none; color: var(--plum); font-weight: 700; }
.product-faq summary::-webkit-details-marker { display: none; }
.product-faq summary::after { content: "+"; font-size: 1.25rem; }
.product-faq details[open] summary::after { content: "−"; }
.product-faq summary:hover { text-decoration: underline; }
.product-faq details p { padding-bottom: 1rem; color: var(--muted); }
.product-next { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: clamp(1.3rem,3.2vw,2.5rem); background: var(--wash); border-left: 4px solid var(--coral); }
.product-next p { margin-top: .4rem; color: var(--muted); }
@media(max-width:780px) {
  .product-hero, .product-split-heading, .product-delivery, .product-example, .product-budget, .product-faq { grid-template-columns: minmax(0,1fr); }
  .product-hero { gap: 1.6rem; }
  .product-art { min-height: 330px; }
  .product-intro h1 { font-size: clamp(2.3rem,8.8vw,3.7rem); }
  .product-budget dl { border: 0; border-top: 1px solid #935b88; padding: 1rem 0 0; }
}
@media(max-width:560px) {
  .platform-grid, .product-steps { grid-template-columns: minmax(0,1fr); }
  .product-steps li::before { float: left; margin: .15rem .7rem 0 0; }
  .delivery-list { grid-template-columns: minmax(0,.95fr) minmax(0,1.4fr); font-size: .92rem; }
  .product-art { border-bottom-right-radius: 36px; }
  .product-art.manuscript { padding: 1rem 1.1rem 1.6rem; }
  .paper-view { min-height: 250px; }
  .product-page h2 { overflow-wrap: anywhere; }
}

/* Editorial examples paired with the introduction on each solution page. */
.edition-art {
  --board: #5b3357;
  --sheet: #fff7ea;
  position: relative;
  isolation: isolate;
  place-content: center;
  padding: clamp(1.4rem, 4vw, 3.25rem);
  color: #362439;
  background: var(--board);
}
.edition-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .28;
  background-image: repeating-linear-gradient(0deg, transparent 0 32px, #fff5 32px 33px);
  transform: skewY(-7deg) scale(1.28);
}
.edition-sheet {
  width: min(380px, 100%);
  padding: clamp(1.2rem, 2.5vw, 2rem);
  border-top: 4px solid #db496e;
  background: var(--sheet);
  box-shadow: 6px 7px #ebd6ca, 12px 14px #33213144;
}
.edition-sheet > strong { display: block; margin-bottom: 1.25rem; font: 400 clamp(1.8rem, 3.1vw, 3rem)/1.06 var(--serif); letter-spacing: -.04em; }
.edition-sheet ul { padding: 0; list-style: none; }
.edition-sheet li { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.25fr); gap: .75rem; padding: .65rem 0; border-top: 1px solid #d5c5c9; font-size: .86rem; line-height: 1.45; }
.edition-sheet li b { color: #63265c; }
.writer { background: #c79caa url("assets/fold.webp") center / cover; }
.release { --board: #67485c; }
.process-art { --board: #3a254d; }
.series { --board: #975438; }
.cms-wordpress { --board: #2a5162; }
.cms-tilda { --board: #9d5947; }
.cms-bitrix { --board: #474663; }
.cms-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
@media (max-width:650px) {
  .cms-grid { grid-template-columns: 1fr; }
  .edition-art { min-height: 310px; }
}
