/* Homepage narrative: problem → platform → one complete workflow. */
.story-eyebrow { margin: 0 0 22px; font-size: .75rem; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; font-weight: 800; color: #506782; }
.problem-story { background: #f7f4ed; padding: 110px 0 70px; }
.problem-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.problem-copy { position: sticky; top: 26vh; padding-bottom: 50px; }
.problem-copy h2 { font-size: clamp(2.5rem, 4.4vw, 4.8rem); line-height: 1.05; letter-spacing: -.055em; }
.problem-copy h2 em { color: #7890a6; font-style: normal; }
.problem-copy > p:not(.story-eyebrow) { max-width: 380px; margin-top: 28px; font-size: 1.05rem; line-height: 1.65; color: #526276; }
.problem-scroll-note { display: block; margin-top: 40px; font-size: .76rem; color: #6a7d90; }
.problem-example { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 25px 0 45px; }
.story-number { display: block; margin-bottom: 20px; color: #7a6d55; font-size: .7rem; font-weight: 800; letter-spacing: .13em; }
.problem-window { padding: 24px; background: #fff; border: 1px solid #dfded9; border-radius: 24px; box-shadow: 0 22px 55px #293e5310; }
.story-window-bar { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 20px; margin-bottom: 12px; border-bottom: 1px solid #e9edf0; font-size: .72rem; font-weight: 700; color: #607086; }
.story-message { margin: 10px 24px 10px 0; padding: 15px 17px; background: #edf3f8; border-radius: 15px 15px 15px 4px; color: #243d57; font-size: .9rem; line-height: 1.5; }
.story-message small { display: block; margin: 0 0 6px; font-size: .65rem; color: #667e96; }
.story-message small:last-child:not(:first-child) { margin: 9px 0 0; }
.story-message.is-muted { background: #f4f4f3; color: #88919b; font-size: .8rem; }
.story-message.is-reply { margin-left: 28px; margin-right: 0; background: #dcebd9; border-radius: 15px 15px 4px 15px; }
.buried-note { display: block; text-align: center; margin-top: 18px; color: #9b7040; font-size: .72rem; }
.problem-example h3 { margin: 26px 0 10px; font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: -.035em; }
.problem-example > p { margin: 0; max-width: 420px; color: #607086; font-size: .96rem; line-height: 1.6; }
.attachment-placeholder { display: flex; align-items: center; gap: 12px; min-height: 78px; padding: 15px; margin: 6px 0 10px; background: #d6e0e9; border-radius: 8px; color: #526d85; font-size: .73rem; }
.attachment-placeholder > span { font-size: 2rem; }
.context-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.context-tags span { padding: 7px 10px; background: #f8eee0; border-radius: 7px; font-size: .68rem; color: #8e714c; }
.report-fragments { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0; }
.report-fragments span { padding: 10px 12px; border: 1px solid #e2e6eb; border-radius: 8px; font-size: .7rem; color: #7f8e9d; }
.unfinished-report { display: grid; gap: 18px; padding: 22px; background: #faf9f5; border-left: 3px solid #d9b663; }
.unfinished-report b { font-size: .95rem; }
.unfinished-report span { font-size: .73rem; color: #8f938f; }
.story-answer.statement { min-height: 0; padding: 130px 0 70px; }
.story-answer .statement-inner { text-align: left; }
.story-answer h2 { max-width: 920px; margin: 0; }
.story-answer h2 em { color: #6488a8; }
.platform-intro { max-width: 590px; margin: 30px 0 0; font-size: 1.08rem; line-height: 1.65; color: #607086; }
.bridge-preview { padding: 28px; background: #e7efe8; display: flex; flex-direction: column; justify-content: center; }
.bridge-label { display: flex; align-items: center; gap: 9px; color: #365d51; font-size: .72rem; font-weight: 750; }
.bridge-label img { width: 23px; height: 23px; }
.bridge-preview .story-message { font-size: .8rem; padding: 12px 14px; background: white; }
.bridge-preview .story-message.is-reply { background: #ccdfef; }
.bridge-connection { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 20px; font-size: .67rem; font-weight: 750; color: #658572; }
.bridge-connection > span { font-size: 1.6rem; }
.work-story { background: #edf2f6; padding-block: 110px; }
.work-story-heading { max-width: 840px; margin-bottom: 45px; }
.work-story-heading h2 { font-size: clamp(2.2rem, 4.6vw, 4.6rem); letter-spacing: -.055em; line-height: 1.08; }
.work-story-heading > p:last-child { max-width: 590px; margin-top: 25px; line-height: 1.7; font-size: 1rem; color: #5e7288; }
.work-story-layout { display: grid; grid-template-columns: .85fr 1fr; align-items: start; gap: clamp(40px, 8vw, 120px); }
.work-story-product { position: sticky; top: 120px; margin: 0; padding: 34px; border-radius: 32px; background: linear-gradient(150deg, #438ada, #102b50); box-shadow: 0 28px 65px #193d6126; }
.work-story-product img { display: block; width: 100%; height: auto; max-height: 61vh; object-fit: contain; border-radius: 18px; }
.work-story-product figcaption { margin: 22px 0 0; color: #d1dfef; font-size: .72rem; text-align: center; }
.work-story-steps { list-style: none; padding: 0; margin: 0; }
.work-story-steps > li { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 18px; padding-bottom: 30px; scroll-margin-top: 110px; }
.work-story-steps > li:not(:last-child)::before { position: absolute; content: ''; left: 18px; top: 38px; bottom: 0; width: 1px; background: #c3d2de; }
.story-step-number { display: grid; place-items: center; height: 38px; border: 1px solid #b8ccde; border-radius: 50%; background: #edf2f6; color: #537899; font-size: .7rem; font-weight: 800; }
.work-story-steps h3 { margin: 5px 0 12px; font-size: 1.35rem; letter-spacing: -.035em; line-height: 1.2; }
.work-story-steps p { color: #5e7288; font-size: .91rem; line-height: 1.7; }
.story-evidence { display: inline-block; margin-top: 13px; padding: 8px 11px; border-radius: 7px; background: #e0e9f2; color: #56758e; font-size: .65rem; }
.story-evidence.is-complete { color: #3e725d; background: #dcebe2; }
.story-task, .story-answer-preview, .story-report { display: grid; gap: 10px; margin-top: 20px; padding: 22px; border: 1px solid #d3dfe8; border-radius: 15px; background: #fff; }
.story-task { background: #fff7dc; border-color: #e9dba4; }
.story-task > span, .story-task > small, .story-answer-preview > small, .story-report > small { color: #718393; font-size: .66rem; }
.story-task b, .story-answer-preview b, .story-report b { font-size: .93rem; line-height: 1.45; }
.story-answer-preview p, .story-report p { margin: 0; font-size: .83rem; }
.story-answer-preview a, .story-report a { color: #2279aa; font-size: .7rem; text-decoration: underline; text-underline-offset: 3px; }
.record-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.record-chain span { border: 1px solid #c3d3e0; border-radius: 7px; padding: 8px 10px; font-size: .7rem; background: #f8fbfd; }
.record-chain i { font-style: normal; color: #7a98b1; }
.capability-intro { max-width: 560px; margin: 24px 0 0; font-size: 1rem; line-height: 1.7; color: #647b91; }
.connected-tools { padding-block: 50px; }
.connected-tools .tool-strip { margin: 0; }
.story-cta { background: #fff; padding-block: 100px; }
.story-cta h2 { margin-bottom: 32px; font-size: clamp(2.1rem, 4.5vw, 4.5rem); line-height: 1.08; letter-spacing: -.05em; }
.story-cta .button { background: #173660; color: white; font-size: .9rem; padding: 17px 25px; }
@media (min-width: 761px) and (max-height: 799px) {
  .features.is-static .feature-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; align-items: start; gap: 65px 45px; }
  .features.is-static .feature-card { width: 100%; }
}
@media (max-width: 760px) {
  .problem-story { padding: 70px 0 30px; }
  .problem-layout, .work-story-layout { grid-template-columns: 1fr; gap: 35px; }
  .problem-copy { position: static; padding-bottom: 0; }
  .problem-copy h2 { font-size: clamp(2.35rem, 10vw, 3.5rem); }
  .problem-scroll-note { display: none; }
  .problem-example { min-height: 0; padding: 20px 0 35px; }
  .problem-window { padding: 20px; }
  .story-answer.statement { padding: 70px 0 20px; }
  .platform-intro { font-size: 1rem; }
  .bridge-preview { min-height: 430px; padding: 22px; }
  .work-story { padding-block: 70px; }
  .work-story-heading { margin-bottom: 36px; }
  .work-story-product { position: static; padding: 24px; max-width: 430px; width: 100%; justify-self: center; }
  .work-story-product img { max-height: 340px; }
  .work-story-steps > li { grid-template-columns: 32px 1fr; gap: 12px; padding-bottom: 35px; }
  .story-step-number { height: 32px; }
  .work-story-steps > li:not(:last-child)::before { left: 15px; top: 32px; }
  .work-story-steps h3 { font-size: 1.2rem; }
  .story-task, .story-answer-preview, .story-report { padding: 18px; }
  .story-cta { padding-block: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .problem-copy, .work-story-product { position: static; }
  .problem-example { min-height: 0; }
}
#workflow, #why-onsite, #team-love-title, #integrations { scroll-margin-top: 95px; }
@media (max-width: 760px) {
  #external { scroll-margin-top: 100px; }
}
.integration-context { max-width: 760px; margin-bottom: 48px; scroll-margin-top: 110px; }
.integration-context h2 { font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.12; letter-spacing: -.04em; }
.integration-context p { max-width: 630px; margin-top: 22px; font-size: 1rem; line-height: 1.7; color: #607086; }
@media (max-width: 760px) {
  .bridge-preview { min-height: 480px; }
}

/* Simplified narrative; opening statement spacing inherits the original site. */
.solution-intro { max-width: 740px; margin: 36px auto 0; color: #607086; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.7; }
.work-story { background: #fff; }
.work-story-heading { max-width: 940px; }
.work-story-heading > p:last-child { max-width: 670px; }
.example-labels, .example-event { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 110px); }
.example-labels { padding-bottom: 20px; color: #607086; font-size: .75rem; font-weight: 750; }
.example-event { padding: 42px 0; border-top: 1px solid #e2e8ee; align-items: center; scroll-margin-top: 120px; }
.example-conversation { min-width: 0; }
.example-conversation .story-message { font-size: 1rem; }
.example-conversation .story-message small { font-size: .75rem; }
.example-conversation .story-task, .example-conversation .story-answer-preview, .example-conversation .story-report { margin-right: 24px; background: #f8fafc; border-color: #dce4ec; box-shadow: none; }
.example-explanation h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; letter-spacing: -.035em; margin-bottom: 18px; }
.example-explanation p { color: #607086; font-size: 1rem; line-height: 1.7; max-width: 440px; }
.example-attachment { margin-top: 14px; padding: 14px; border-radius: 8px; border: 1px solid #d2dce6; font-size: .85rem; }
.security-card { min-height: 0; }
.product-details-main { padding-top: 150px; }
.details-intro { padding-block: 50px; }
.details-intro h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 25px; }
@media (max-width: 760px) {
  .example-labels { display: none; }
  .example-event { grid-template-columns: 1fr; gap: 25px; padding-block: 32px; }
  .example-explanation p { max-width: none; }
  .solution-intro { margin-top: 26px; }
}

/* Standalone demonstrations on the original navy treatment. */
.work-story { background: #102744; color: #fff; }
.work-story-heading h2, .work-story .example-explanation h3 { color: #fff; }
.work-story-heading h2 em { color: #ffd16a; font-style: normal; }
.work-story-heading > p:last-child, .work-story .example-explanation p { color: #b8c9df; }
.work-story .example-event { border-color: #ffffff24; padding-block: 55px; }
.work-story .bridge-label { color: #bddcca; }
.demo-context { margin-top: 20px; color: #b8c9df; font-size: .8rem; line-height: 1.6; }
.work-story .story-task, .work-story .story-answer-preview { color: #243d57; }
.evidence-photo { margin-top: 14px; display: flex; align-items: center; gap: 16px; font-size: .8rem; }
.evidence-photo img { width: 112px; height: 84px; object-fit: cover; border-radius: 8px; }
.report-draft-graphic { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 16px; background: linear-gradient(145deg, #397ad3, #15355f); padding: 30px; }
.report-request { align-self: flex-end; width: 90%; padding: 18px 20px; border-radius: 18px 18px 4px 18px; background: #e7f2ff; color: #16395f; }
.report-request span { font-size: .65rem; color: #54728e; }
.report-request p { margin: 8px 0 0; font-size: 1rem; font-weight: 650; line-height: 1.4; }
.report-response { color: white; }
.report-response .mock-ai-label { color: #d9e9ff; }
.report-response .ai-icon { width: 24px; height: 24px; }
.report-response p { margin: 8px 0 0; font-size: .85rem; }
.report-pdf { background: white; border-radius: 12px; overflow: hidden; width: 82%; align-self: center; box-shadow: 0 12px 30px #081e4633; }
.report-pdf > img { display: block; width: 100%; height: 160px; object-fit: cover; object-position: top; }
.report-pdf-footer { display: flex; align-items: center; gap: 12px; padding: 15px; border-top: 1px solid #e0e7f0; color: #243d57; }
.report-pdf-footer > span { font-size: .65rem; font-weight: 800; color: #ac4038; border: 1px solid #e6bfb9; border-radius: 5px; padding: 8px 5px; }
.report-pdf-footer b { display: block; font-size: .83rem; }
.report-pdf-footer small { display: block; margin-top: 5px; font-size: .65rem; color: #64758a; }
@media (max-width:760px) {
 .report-draft-graphic { gap: 12px; padding: 22px; }
 .report-pdf > img { height: 125px; }
 .report-request { padding: 13px 15px; }
 .report-request p { font-size: .88rem; }
 .report-pdf { width: 90%; }
 .work-story .example-event { padding-block: 36px; }
}
.report-request, .report-response { flex-shrink: 0; }
.report-pdf { display: flex; flex-direction: column; min-height: 0; }
.report-pdf > img { min-height: 0; flex: 1 1 auto; }
.report-pdf-footer { flex-shrink: 0; }
