/* Scoped campaign additions; existing site design retained. */
.home-demo figcaption .ad-product-link{width:100%;color:#fff;text-decoration:none;justify-content:center}
.ad-replay-control{position:absolute;top:8px;right:8px;z-index:2;min-height:30px;padding:5px 9px;border:1px solid #d5d9d4;border-radius:6px;background:#fff;color:#10281f;box-shadow:0 1px 5px rgba(0,0,0,.25);font-family:inherit;font-size:.7rem;font-weight:600;line-height:1.2;cursor:pointer}
.ad-replay-control:hover{background:#eaf3e8}
.ad-replay-control:focus-visible{outline:3px solid #6bad95;outline-offset:2px}
.ad-download-link{width:100%;margin-top:12px;justify-content:center;text-align:center}
.source-recall{padding:18px 20px;border-left:3px solid var(--accent);background:rgba(22,61,48,.05);border-radius:0 12px 12px 0}
#workflow-demo .demo-console-main{flex-direction:column;gap:0}
#workflow-demo .demo-device,.home-demo-device{position:relative;padding:0;border:0;border-radius:10px;background:transparent;box-shadow:none;overflow:hidden}
#workflow-demo .demo-device video,.home-demo-device video{aspect-ratio:9/16;object-fit:contain;border-radius:10px}
#workflow-demo.product-demo-console .demo-device{width:100%}
#core-workflow{text-align:center;gap:0}
#core-workflow h2{font-size:clamp(1.25rem,2.5vw,1.8rem);margin:0 0 14px}
#workflow-preview-title:focus{outline:none}
.workflow-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;max-width:640px;margin:0 auto 16px}
.workflow-choices button{padding:12px 10px;border:1px solid #b5c4ba;border-radius:12px;background:#fff;color:#173b2f;cursor:pointer;font-family:inherit;font-weight:600;font-size:1rem;line-height:1.35;min-height:64px}
.workflow-choices .workflow-duration{display:block;margin-top:4px;font-size:.75rem;font-weight:400}
.workflow-choices .workflow-mobile{display:none}
.workflow-choices button[aria-pressed="true"]{background:#163d30;border-color:#163d30;color:#fff}
.workflow-choices button:focus-visible,.workflow-sound:focus-visible{outline:3px solid #719c65;outline-offset:3px}
.workflow-stage{display:flex;flex-direction:column;align-items:center;gap:12px}
.workflow-overview{display:flex;justify-content:center;width:100%}
#workflow-player{display:block;width:min(100%,330px);aspect-ratio:720/1660;object-fit:contain;background:#eef1ea;border-radius:12px}
.workflow-sound{min-height:44px}
#workflow-description{max-width:560px;margin:16px auto;color:var(--muted)}
[data-workflow-status]:empty{display:none}
.workflow-viewer:not([open]){display:none}
.workflow-viewer[open]{position:fixed;inset:0;box-sizing:border-box;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:max(4px,env(safe-area-inset-top)) 8px max(4px,env(safe-area-inset-bottom));border:0;background:#f8f7f2;color:#102f2a;display:grid;grid-template-columns:minmax(0,1fr) 52px;grid-template-rows:auto minmax(0,1fr) auto;gap:4px 6px;overflow:hidden}
.workflow-viewer::backdrop{background:#f8f7f2}
html.workflow-viewing{overflow:hidden;scrollbar-gutter:auto}
.workflow-viewer-bar{display:contents}
.workflow-viewer-bar h2{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.workflow-viewer-bar button{grid-column:2;grid-row:1;font:inherit;font-size:.8rem;font-weight:600;color:#173b2f;background:#fff;border:1px solid #b5c4ba;border-radius:8px;min-height:44px;padding:6px;cursor:pointer}
.workflow-viewer .workflow-choices{grid-column:1;grid-row:1;margin:0;max-width:none}
.workflow-viewer .workflow-stage{grid-column:1 / -1;grid-row:2;min-height:0;overflow:hidden;display:block}
.workflow-viewer .workflow-overview{height:100%;container-type:size;align-items:center}
.workflow-viewer #workflow-player{width:min(100cqw,calc(100cqh * 720 / 1660));height:100%;max-width:none;max-height:100%;object-fit:contain;border-radius:8px}
.workflow-viewer [data-workflow-status]{grid-column:1 / -1;margin:0;font-size:.8rem;text-align:center}
/* On phones, prioritize readable footage over fitting the whole section into
   a short viewport. Never shrink a portrait recording based on screen height. */
@media(max-width:720px){
  #core-workflow{padding:16px 0;background:transparent;border:0;box-shadow:none;max-width:420px;margin-inline:auto}
  #core-workflow h2{font-size:1.2rem;margin:0 0 12px;text-align:left}
  .workflow-choices{gap:6px;margin-bottom:12px}
  .workflow-choices button{font-size:.88rem;min-height:52px;padding:7px 4px;border-radius:8px}
  .workflow-choices .workflow-desktop{display:none}
  .workflow-choices .workflow-mobile{display:block}
  .workflow-choices .workflow-duration{font-size:.72rem;margin-top:2px}
  .workflow-choices button:focus-visible{outline:2px solid #719c65;outline-offset:2px}
  #workflow-player{width:100%;height:auto;max-width:420px}
  #workflow-description{font-size:.88rem;text-align:left;margin:12px 0}
  #core-workflow>.btn{font-size:.9rem;min-height:44px}
  #core-workflow.mobile-workflows-ready .workflow-stage{display:none}
}

/* Two visitor journeys: direct actions first; a complete story on scroll. */
.journey-links{display:flex;flex-wrap:wrap;gap:8px 20px;margin:14px 0 22px}
.journey-links a{display:inline-flex;align-items:center;min-height:36px;color:#174c3e;font-size:.9rem;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.journey-links a:focus-visible{outline:3px solid #719c65;outline-offset:3px}
.company-hero .company-intro,.product-hero-copy{align-self:start}
.company-hero .intent-actions{gap:12px}
.company-hero .intent-actions .btn{font-size:.9rem}
.compact-label{display:none}
.trustscribe-product-hero{grid-template-columns:minmax(0,1fr) minmax(280px,350px);gap:clamp(28px,5vw,70px)}
body[data-page="trustscribe"] .trustscribe-product-hero{padding:32px 0 36px}
.trustscribe-product-hero .product-hero-copy{align-self:center}
.product-source-visual{width:100%;margin:0;justify-self:center;max-width:350px}
.product-source-visual img{display:block;width:100%;height:auto;border-radius:16px;border:1px solid var(--border)}
.product-source-visual>a{display:block;border-radius:16px}
.source-image-caption{display:block;margin-top:8px;text-align:center;font-size:.78rem;color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.product-source-message{max-width:48ch;margin:24px 0}
.product-source-message h2{font-size:clamp(1.2rem,2vw,1.55rem);margin:0 0 8px}
.product-source-message p{color:var(--muted);margin:0}
.trustscribe-product-hero h1{max-width:17ch}
#workflow-demo.product-demo-console{display:block;justify-self:center;width:100%;padding:16px}
.product-proof{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:22px 0;margin:0 0 28px}
.product-proof strong,.product-proof small{display:block}
.product-proof small{font-size:.78rem;color:var(--muted);margin-top:5px}
.feedback-section summary{font-weight:600;cursor:pointer;padding:8px 0}
.feedback-section details[open]>summary{margin-bottom:24px}
.product-next-step .btn{align-self:flex-start}
.product-next-step{display:flex;flex-direction:column;gap:10px}
.product-next-step>p{max-width:65ch}
.source-recall{margin-top:20px}
/* Desktop is a paired composition, not a stretched mobile stack. */
@media(min-width:721px){
  body[data-page="home"] main>section,body[data-page="trustscribe"] main>section,.product-proof{max-width:1080px;margin-inline:auto}
  .company-hero,.trustscribe-product-hero{max-width:1080px;margin-inline:auto;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);justify-content:center;gap:clamp(28px,4vw,56px);align-items:center}
  body[data-page="home"] main>.company-hero{max-width:880px;grid-template-columns:minmax(0,500px) auto;gap:36px;padding:28px 0 40px}
  .company-hero .company-intro{align-self:center}
  .company-hero h1{font-size:clamp(2.3rem,3.6vw,3.5rem);line-height:1.12;max-width:15ch}
  .company-hero .lead{font-size:1.05rem;max-width:43ch}
  .trustscribe-product-hero h1{font-size:clamp(2.1rem,3.2vw,3rem);line-height:1.15;max-width:22ch;text-wrap:balance}
  .company-hero .home-demo{width:auto;justify-self:start;margin:0;padding:10px;border:1px solid #dce2d7;border-radius:20px;background:#eaf0e7;box-sizing:border-box}
  .company-hero .home-demo-device{width:min(300px,calc((100svh - 254px) * 9 / 16));margin-inline:auto;box-shadow:0 10px 30px #163d3024;border-radius:12px}
  .home-demo figcaption{display:none}
  .home-demo figcaption .ad-product-link{display:none}
  .product-source-visual{width:min(350px,calc((100svh - 180px) * 1206 / 2622))}
  body[data-page="trustscribe"] main>#core-workflow{max-width:680px}
  #core-workflow{display:grid;margin-inline:auto;padding:24px;grid-template-columns:minmax(230px,1fr) auto;grid-template-rows:1fr auto auto 1fr;gap:20px 32px;text-align:left;scroll-margin-top:108px;align-items:start;background:transparent;border:0;box-shadow:none}
  #core-workflow h2{grid-column:1;grid-row:1;align-self:end;margin:0;font-size:1.6rem}
  #core-workflow .workflow-choices{grid-column:1;grid-row:2;grid-template-columns:1fr;margin:0;max-width:none;gap:8px}
  #core-workflow .workflow-choices button{font-size:.9rem;min-height:64px;padding:12px 14px;text-align:left;border-radius:8px}
  #core-workflow .workflow-choices .workflow-duration{font-size:.72rem;margin-top:4px}
  #core-workflow .workflow-stage{grid-column:2;grid-row:1 / 5;min-width:0;width:min(300px,calc((100svh - 174px) * 720 / 1660));justify-self:center;align-self:center;gap:0}
  #core-workflow .workflow-overview{width:100%;min-height:0}
  #core-workflow #workflow-player{width:100%;max-width:100%;height:auto;aspect-ratio:720/1660;border:1px solid #dce2d7;border-radius:12px;box-shadow:none}
  #core-workflow #workflow-description{grid-column:1;grid-row:3;margin:0;font-size:.88rem;line-height:1.6}
  #core-workflow [data-workflow-status]{grid-column:1 / -1;margin:0}
  #core-workflow>.btn{grid-column:1;grid-row:4;align-self:start;justify-self:start;max-width:100%;font-size:.82rem;min-height:40px;padding:10px 14px;text-align:center}
  #plans .section-head{margin-bottom:0}
  #plans .plan-card{padding:24px}
}
/* One system across the three entry pages: quiet surfaces, bounded media,
   clear page destinations and a dedicated place to try the product. */
.home-proof-summary{max-width:62ch;margin-bottom:18px;line-height:1.65}
.home-service-summary{max-width:62ch;margin:20px 0;line-height:1.65}
.services-hero,.services-offers,.services-product{max-width:1080px;margin-inline:auto}
.services-hero{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:56px;padding:48px 0}
.services-hero h1{font-size:clamp(2.1rem,3.2vw,3rem);max-width:17ch;margin:18px 0}
.services-start{padding:28px;background:#eaf0e7;border:1px solid #dce2d7;border-radius:16px}
.services-start h2{font-size:1.5rem;margin:12px 0 20px}
.services-start ul{padding-left:20px;margin:0 0 20px}
.services-start li{padding:0 0 12px;line-height:1.5}
.services-start>p:last-child{font-size:.92rem}
.services-offers{padding:36px 0 48px;border-top:1px solid var(--border)}
.services-offers h2,.services-product h2{font-size:clamp(1.6rem,2.5vw,2.1rem);margin:12px 0 24px}
.services-product{display:grid;grid-template-columns:1fr auto;gap:36px;align-items:center;padding:28px;background:var(--panel);border:1px solid var(--border);border-radius:16px}
.services-product p{max-width:62ch}
.services-product-actions{display:flex;flex-direction:column;gap:16px;align-items:center}
@media(max-width:720px){.services-hero{grid-template-columns:1fr;gap:24px;padding:24px 0}.services-start{padding:22px}.services-product{grid-template-columns:1fr;padding:22px;gap:24px}.services-product-actions{align-items:stretch;text-align:center}}
@media(max-width:720px){
  .company-hero{gap:8px;padding-top:12px}
  .company-hero .company-intro{display:contents}
  .company-hero h1{order:0}
  .company-hero .intent-actions{order:1;display:flex;flex-wrap:nowrap;gap:10px;margin:0}
  .company-hero .intent-actions .btn{flex:1;width:auto;min-height:44px;padding:6px 10px;font-size:.82rem;text-align:center}
  .company-hero .intent-actions .full-label{display:none}
  .company-hero .intent-actions .compact-label{display:inline}
  .company-hero .home-demo{order:2}
  .company-hero .lead{order:3;margin:12px 0 0;font-size:1rem}
  .company-hero .journey-links{order:4}
  .journey-links{gap:4px 16px;margin:8px 0 12px}
  .journey-links a{font-size:.85rem}
  .trustscribe-product-hero{display:flex;flex-direction:column;gap:12px;padding-top:16px}
  .trustscribe-product-hero .product-hero-copy{display:block}
  .trustscribe-product-hero .eyebrow,.trustscribe-product-hero .product-desktop-action{display:none}
  .trustscribe-product-hero h1{order:0;margin:0}
  .trustscribe-product-hero .journey-links{margin:12px 0 0}
  .trustscribe-product-hero .lead{margin:12px 0 0;font-size:1rem}
  .product-source-message{margin:16px 0 0}
  .product-source-message h2{font-size:1.1rem}
  .product-source-message p{font-size:.95rem}
  .product-source-visual{max-width:390px;align-self:center}
  body[data-page="trustscribe"] .trustscribe-product-hero h1{max-width:none;font-size:clamp(1.9rem,7vw,2.5rem)}
  body[data-page="trustscribe"] .pill-group{display:flex;gap:8px;margin:16px 0}
  body[data-page="trustscribe"] .pill-group .chip{font-size:.78rem;padding:6px 10px}
  .trustscribe-product-hero .hero-kicker{max-width:none}
  .product-proof{grid-template-columns:1fr;gap:12px;padding:18px 4px}
  .product-proof span{display:flex;align-items:baseline;justify-content:space-between;gap:14px}
  .product-proof strong{font-size:.85rem;flex:1}
  .product-proof small{font-size:.72rem;flex:1;margin:0}
  .product-next-step .btn{width:100%;text-align:center}
}
