/* Product presentation; scoped to the YoutuRead route. */
.product-page { --yt-orange: #d52e24; --yt-orange-deep: #ae231b; }
.product-page .site-header .brand img { border-radius: 11px; box-shadow: none; }
.product-page .primary-cta, .product-page .plan-button { background: #e63228; box-shadow: 0 10px 28px #d52e2424; }
.product-page h2 em, .product-page .yt-hero h1 em { color: var(--yt-orange); }
.product-page .yt-hero { grid-template-columns: 1fr 1.08fr; gap: 48px; min-height: 510px; margin-top: 48px; }
.product-page .yt-hero h1 { font-size: clamp(40px, 4.5vw, 64px); line-height: 1.22; letter-spacing: -.055em; }
.product-page .hero-actions { flex-wrap: wrap; gap: 18px; }
.product-page .hero-proof { gap: 20px; flex-wrap: wrap; }
.product-page .hero-proof span { border-color: #e6322840; }
.product-page .product-stage .stage-label { display: flex; align-items: center; gap: 9px; font: 600 13px/1.4 system-ui, sans-serif; color: #443b35; margin-bottom: 16px; }
.product-page .product-stage .stage-label img { width: 26px; height: 26px; border: 0; border-radius: 7px; box-shadow: none; }
.stage-label span { margin-left: auto; color: #786b62; font-size: 12px; font-weight: 400; }
.stage-caption { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; font-size: 12px; color: #766960; }
.stage-caption strong { color: #d52e24; font-weight: 500; }
.stage-tools { display: flex; align-items: center; gap: 6px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.stage-tools li { padding: 5px 9px; border: 1px solid rgba(126, 91, 67, .16); border-radius: 999px; background: rgba(255, 253, 250, .72); color: #66564c; font: 500 11px/1.4 system-ui, sans-serif; }
.yt-capabilities { width: min(1080px, calc(100% - 48px)); margin: 100px auto 0; }
.yt-capabilities h2 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.2; font-weight: 500; margin: 18px 0; letter-spacing: -.045em; }
.product-page .capability-lead { color: #766960; font-size: 16px; line-height: 1.7; margin-bottom: 36px; }
.capability-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.capability-card { overflow: hidden; border: 1px solid #51332422; border-radius: 16px; background: #fffdf9; }
.image-capability { grid-column: 1 / -1; display: grid; grid-template-columns: 1.18fr .82fr; }
.capability-visual { height: 300px; position: relative; overflow: hidden; display: flex; justify-content: center; align-items: center; background: #eee7df; }
.image-visual { height: clamp(210px, 25vw, 290px); padding: 20px 24px; align-items: center; background: linear-gradient(145deg, #e8e0d7, #f6f1eb); }
.case-gallery { width: 100%; height: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 16px; }
.case-gallery figure { min-width: 0; margin: 0; transform-origin: center top; }
.case-gallery figure:nth-child(1) { transform: rotate(-3deg) translateY(16px); }
.case-gallery figure:nth-child(2) { transform: rotate(2deg); }
.case-gallery figure:nth-child(3) { transform: rotate(-1deg) translateY(20px); }
.case-gallery figure:nth-child(4) { transform: rotate(3deg) translateY(5px); }
.case-gallery img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 5px solid #fffdfa; box-shadow: 0 14px 26px rgba(67, 45, 31, .18); }
.case-gallery figcaption { margin-top: 9px; color: #65574d; font: 500 11px/1.4 system-ui, sans-serif; text-align: center; }
.case-gallery figcaption b, .case-gallery figcaption span { display: block; }
.case-gallery figcaption span { margin-top: 2px; color: #9a897c; font-size: 10px; }
.sample-poster { width: 162px; aspect-ratio: 3 / 4; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 12px 24px #5b31201a; }
.sample-poster small { font: 8px/1.5 system-ui, sans-serif; letter-spacing: .06em; }
.sample-poster strong { font-size: 26px; line-height: 1.35; font-weight: 500; }
.sample-poster > span { font-size: 8px; letter-spacing: .1em; }
.poster-light { color: #3b332d; background: #fffdf3; transform: rotate(-7deg) translateY(7px); }
.poster-red { background: #d83228; color: #fff7ed; transform: rotate(7deg) translateY(-3px); }
.visual-label { position: absolute; bottom: 13px; right: 16px; color: #766960; font: 10px/1.4 system-ui, sans-serif; }
.pdf-visual { background: #e8ebe6; }
.sample-document { background: #fffefb; width: 192px; height: 251px; padding: 23px; transform: rotate(5deg) translateY(22px); box-shadow: 8px 10px 0 #ffffff80, 0 10px 35px #263c281a; }
.sample-document > span { display: flex; justify-content: space-between; font: 9px/1.5 system-ui, sans-serif; }
.sample-document b { color: #d52e24; }
.sample-document strong { display: block; margin: 24px 0 18px; font-size: 19px; font-weight: 500; line-height: 1.5; }
.sample-document i { display: block; height: 3px; margin: 8px 0; background: #d4d3cb; }
.sample-document i:nth-of-type(3) { width: 65%; }
.sample-document hr { border: 0; border-top: 1px solid #e7e4dc; margin: 16px 0; }
.sample-document small { display: block; font-size: 8px; color: #766960; margin-top: 13px; }
.capability-copy { padding: 28px 30px 30px; }
.capability-index { color: #b12e23; font: 500 11px/1.5 system-ui, sans-serif; letter-spacing: .08em; }
.capability-copy h3 { font-size: 24px; font-weight: 500; margin: 13px 0 12px; line-height: 1.35; }
.product-page .capability-copy p { font-size: 14px; line-height: 1.85; color: #766960; margin-bottom: 0; }
.capability-tag { display: inline-block; margin: 20px 6px 0 0; border: 1px solid #51332422; border-radius: 5px; padding: 5px 9px; font: 11px/1.4 system-ui, sans-serif; color: #766960; }
.compact-capability { display: flex; align-items: flex-start; padding: 28px; gap: 20px; }
.compact-capability .capability-copy { padding: 0; }
.compact-capability h3 { font-size: 21px; }
.format-symbol { flex-shrink: 0; width: 54px; height: 58px; border-radius: 10px; background: #f5ebe3; display: flex; align-items: center; justify-content: center; color: #ac4233; font: 26px/1 Georgia, serif; position: relative; }
.format-symbol span { font-size: 12px; position: absolute; right: 6px; bottom: 7px; }
.markdown-symbol { font: 700 22px/1 monospace; background: #eeede7; color: #51483f; }
.product-page .workflow-cards h3 { color: #fffaf5; }
.product-page .workflow-cards p { color: #d7c9bf; }
.yt-purchase { width: min(980px, calc(100% - 48px)); display: grid; grid-template-columns: .9fr 1.1fr; gap: 58px; align-items: center; margin: 112px auto 0; padding: 54px 58px; border: 1px solid rgba(213, 46, 36, .22); border-radius: 14px; background: linear-gradient(130deg, #fff8f4, #f5e7dc); box-shadow: 0 18px 50px rgba(150, 65, 38, .08); }
.yt-purchase h2 { margin: 14px 0 0; font-size: clamp(32px, 3.8vw, 47px); font-weight: 500; line-height: 1.2; letter-spacing: -.05em; }
.yt-purchase p { margin: 0 0 18px; color: #66564c; font-size: 15px; line-height: 1.8; }
.purchase-points { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.purchase-points span { padding: 6px 9px; border-radius: 999px; background: rgba(255, 255, 255, .62); color: #815b4b; font: 500 11px/1.4 system-ui, sans-serif; }
.yt-purchase .primary-cta { width: 100%; }
.yt-purchase small { display: block; margin-top: 14px; color: #8b7568; font-size: 11px; line-height: 1.55; }
.product-page .yt-final h2 { font-size: clamp(30px, 4.3vw, 54px); line-height: 1.3; }
.footer-brand { display: flex; gap: 10px; align-items: center; font-family: system-ui, sans-serif; }
.footer-brand img { width: 28px; height: 28px; border-radius: 8px; }
@media (max-width: 900px) {
  .product-page .yt-hero { grid-template-columns: 1fr; max-width: 680px; gap: 36px; }
  .product-page .product-stage { order: 0; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .image-capability { grid-template-columns: 1fr; }
  .sample-poster { width: 135px; padding: 14px; }
  .sample-poster strong { font-size: 22px; }
  .image-visual { gap: 12px; }
  .compact-capability { flex-direction: column; }
  .yt-purchase { grid-template-columns: 1fr; gap: 26px; padding: 42px; }
}
@media (max-width: 600px) {
  .product-page .site-header { gap: 10px; flex-wrap: wrap; justify-content: center; border-radius: 20px; }
  .product-page .brand-cluster { margin-right: auto; }
  .product-page .site-header .main-nav { gap: 0; font-size: 11px; }
  .product-page .site-header .main-nav a { padding: 7px; }
  .product-page .yt-hero { margin-top: 30px; gap: 30px; }
  .product-page .yt-hero h1 { font-size: clamp(36px, 9vw, 48px); }
  .product-page .hero-proof { gap: 12px; }
  .product-page .hero-proof small { font-size: 11px; }
  .stage-caption { align-items: flex-start; gap: 7px; }
  .stage-tools { margin-left: 0; flex-wrap: wrap; }
  .yt-stats strong { font-size: 19px; }
  .yt-capabilities { width: calc(100% - 32px); margin-top: 70px; }
  .capability-grid { grid-template-columns: 1fr; gap: 16px; }
  .capability-visual { height: 275px; }
  .image-visual { height: 290px; padding: 20px 18px; overflow-x: auto; justify-content: flex-start; }
  .case-gallery { min-width: 720px; grid-template-columns: repeat(4, 160px); gap: 16px; }
  .case-gallery img { border-width: 4px; }
  .sample-poster { width: 145px; }
  .capability-copy { padding: 24px; }
  .compact-capability { flex-direction: row; gap: 16px; padding: 24px; }
  .yt-purchase { width: calc(100% - 32px); margin-top: 76px; padding: 30px 24px; }
}
.product-page .product-stage .stage-label { position: static; padding: 0; border: 0; background: none; letter-spacing: 0; }
.sample-poster strong { font-size: 22px; }
@media (max-width: 900px) { .sample-poster strong { font-size: 19px; } }

/* Keep the secondary capability cards compact instead of stretching them to a shared row height. */
.capability-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.image-capability { grid-column: 1 / -1; }
.capability-card { align-self: start; min-height: 0; height: auto; }
.capability-card:not(.image-capability) .capability-copy { padding: 22px 24px 24px; }
.capability-card .pdf-visual { height: 180px; }
.compact-capability { display: block; padding: 24px; }
.compact-capability .format-symbol { margin-bottom: 22px; }
.compact-capability .capability-copy { padding: 0; }
.capability-grid > .compact-capability { height: 400px; min-height: 0; }
.pdf-symbol { font: 700 15px/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: .04em; color: #d44738; }
@media (max-width: 900px) {
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-card:nth-child(4) { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card .pdf-visual { height: 210px; }
  .capability-grid > .compact-capability { height: auto; }
}
