/* Image-to-text content; intentionally scoped to the standalone landing-page section. */
.sft-ocr{padding:65px 0 75px;color:#254236}
.sft-ocr *{box-sizing:border-box}
.sft-ocr-intro{max-width:700px;margin-bottom:28px}
.sft-ocr-kicker{display:block;font-size:11px;font-weight:800;letter-spacing:.16em;color:#53805b;margin-bottom:12px}
.sft-ocr h2{font-size:clamp(28px,3.2vw,42px);letter-spacing:-.045em;line-height:1.14;color:#173e30;margin:0 0 15px}
.sft-ocr h2 em{font-family:Georgia,serif;font-weight:400}
.sft-ocr-intro p{font-size:17px;line-height:1.7;color:#617167;margin:0}
.sft-ocr-demo{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.sft-ocr-demo-card{border:1px solid #dfe8de;background:#fff;border-radius:20px;padding:19px;box-shadow:0 12px 36px #244d2b0a;min-width:0}
.sft-ocr-demo-label{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:800;letter-spacing:.06em;color:#294d3a;margin-bottom:17px}
.sft-ocr-demo-label>span:last-child{font-weight:400;letter-spacing:0;color:#87938b;margin-left:auto}
.sft-ocr-dot{width:9px;height:9px;border-radius:50%;background:#d2aa7e}
.sft-ocr-dot-green{background:#4a946c}
.sft-ocr-photo,.sft-ocr-output{height:300px;border-radius:13px;overflow:hidden}
.sft-ocr-photo{background:linear-gradient(135deg,#d6d7cd,#e8e8df 48%,#c5cabd);display:grid;place-items:center;padding:28px}
.sft-ocr-paper{display:flex;flex-direction:column;gap:14px;background:#fffef9;color:#39463f;padding:32px;width:min(92%,350px);min-height:225px;box-shadow:12px 16px 25px #1a302a25;transform:rotate(-4deg);font:14px/1.2 Georgia,serif}
.sft-ocr-paper strong{font-size:22px;color:#1e392d}.sft-ocr-paper-small{font:9px/1.4 Arial,sans-serif;letter-spacing:.16em;color:#7b8a7c}
.sft-ocr-output{border:1px solid #dfe8e0;background:#fbfdfb;display:flex;flex-direction:column}
.sft-ocr-output-bar{display:flex;align-items:center;gap:10px;background:#f1f6f0;padding:14px 17px;font-size:12px;font-weight:700;color:#3b5945}
.sft-ocr-file-icon{font-size:18px}.sft-ocr-ready{margin-left:auto;color:#317650;font-size:10px;letter-spacing:.08em}
.sft-ocr-output pre{padding:19px 22px;white-space:pre-wrap;font:15px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;color:#263e30;margin:0;flex:1}
.sft-ocr-output-foot{padding:12px 17px;border-top:1px solid #e3eae2;color:#607866;font-size:12px}
.sft-ocr-caption{color:#78867b;font-size:12px;margin:12px 0 60px}
.sft-ocr-section-head{margin-top:60px}
.sft-ocr-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.sft-ocr-steps article{padding:27px;border:1px solid #e0e8dc;border-radius:17px;background:#fff}
.sft-ocr-step-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#eaf2e7;color:#1b5a3f;font-weight:800;margin-bottom:19px}
.sft-ocr h3{font-size:19px;line-height:1.3;color:#1d4432;margin:0 0 9px}
.sft-ocr-steps p,.sft-ocr-uses p{font-size:14px;line-height:1.65;color:#65776a;margin:0}
.sft-ocr-uses{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.sft-ocr-uses article{border-radius:16px;background:#f2f6ef;padding:22px}
.sft-ocr-uses article>span{font-size:31px;color:#3d7854;display:block;margin-bottom:15px}
.sft-ocr-uses h3{font-size:16px}
.sft-ocr-faq{max-width:840px;margin:70px auto}
.sft-ocr-faq details{border-bottom:1px solid #dfe8dd;padding:0}
.sft-ocr-faq summary{cursor:pointer;list-style:none;padding:20px 34px 20px 0;font-weight:700;color:#214733;position:relative}
.sft-ocr-faq summary::-webkit-details-marker{display:none}
.sft-ocr-faq summary:after{content:'+';position:absolute;right:7px;top:15px;font-size:25px;font-weight:400;color:#4b7959}
.sft-ocr-faq details[open] summary:after{content:'−'}
.sft-ocr-faq details p{margin:0 0 20px;color:#627569;line-height:1.7}
.sft-ocr-faq a{color:#1e6643;text-decoration:underline}
.sft-ocr-cta{background:#174b38;border-radius:22px;color:#fff;padding:36px 40px;display:flex;justify-content:space-between;align-items:center;gap:25px}
.sft-ocr-cta .sft-ocr-kicker{color:#b8d9b9}
.sft-ocr-cta h2{color:#fff;font-size:32px;margin-bottom:10px}
.sft-ocr-cta p{color:#d5e5d9;margin:0;line-height:1.6}
.sft-ocr-cta-button{background:#fff;color:#194d38;padding:15px 23px;border-radius:10px;text-decoration:none;font-weight:800;white-space:nowrap}
.sft-ocr-cta-button span{margin-left:10px}
.sft-ocr-related{display:flex;gap:20px;flex-wrap:wrap;align-items:center;padding-top:30px;font-size:13px}
.sft-ocr-related a{color:#245b3c;text-decoration:underline;text-underline-offset:3px}
.sft-ocr-related strong{margin-right:5px}
@media(max-width:760px){.sft-ocr{padding:42px 0}.sft-ocr-demo{grid-template-columns:1fr}.sft-ocr-steps{grid-template-columns:1fr}.sft-ocr-uses{grid-template-columns:repeat(2,minmax(0,1fr))}.sft-ocr-faq{margin:48px auto}.sft-ocr-cta{flex-direction:column;align-items:flex-start;padding:26px}.sft-ocr-demo-label>span:last-child{font-size:11px}.sft-ocr-caption{margin-bottom:40px}}
@media(max-width:390px){.sft-ocr-uses{grid-template-columns:1fr}.sft-ocr-photo,.sft-ocr-output{height:260px}.sft-ocr-paper{padding:23px}}

/* Keep the independent landing page's upload first on mobile. */
.sft-image-landing .hero-copy>.sample-trigger{display:none}
.sft-image-landing .hero-checks span:nth-child(2){display:none}
.sft-image-landing .hero:not(.document-workspace) .file-types{display:none}
.sft-image-landing .hero:not(.document-workspace) .hero-grid{align-items:start}
.sft-image-landing .hero:not(.document-workspace) .hero-copy{padding-top:28px}
@media(max-width:760px){
  .sft-image-landing .hero:not(.document-workspace) .hero-copy{padding-top:0}
  .sft-image-landing .hero:not(.document-workspace) .hero-grid{gap:12px}
}


/* Dedicated image-to-text upload-first hero */
.sft-image-landing .hero:not(.document-workspace){padding:48px 0 34px}
.sft-image-landing .hero:not(.document-workspace) .hero-grid{
 display:flex;flex-direction:column;align-items:center;gap:22px;max-width:820px
}
.sft-image-landing .hero:not(.document-workspace) .hero-copy{
 width:100%;max-width:760px;padding:0;text-align:center;align-self:center
}
.sft-image-landing .hero:not(.document-workspace) .hero-copy .eyebrow{justify-content:center;margin-bottom:15px}
.sft-image-landing .hero:not(.document-workspace) .hero-copy h1{
 font-size:clamp(34px,4.3vw,56px);line-height:1.12;letter-spacing:-.04em;margin:0 0 14px
}
.sft-image-landing .hero:not(.document-workspace) .hero-description{
 max-width:630px;margin:0 auto;font-size:17px;line-height:1.6
}
.sft-image-landing .hero:not(.document-workspace) .upload-wrap{width:100%;max-width:700px}
.sft-image-landing .hero:not(.document-workspace) .upload-card{padding:28px;border-radius:20px}
.sft-image-landing .hero:not(.document-workspace) .card-heading{justify-content:center;text-align:center}
.sft-image-landing .hero:not(.document-workspace) .card-heading .tool-icon{display:none}
.sft-image-landing .hero:not(.document-workspace) .drop-zone{padding:28px 20px}
.sft-image-landing .hero:not(.document-workspace) .drop-zone h3{font-size:22px}
.sft-image-landing .hero:not(.document-workspace) .file-limit{font-size:13px;line-height:1.7}
.sft-image-landing .hero:not(.document-workspace) .sample-row{display:none!important}
.sft-image-landing .hero:not(.document-workspace) .preview-payment-note{font-size:13px;text-align:center}
.sft-image-landing .hero:not(.document-workspace) .privacy-note{margin-top:10px}
.sft-image-landing .hero:not(.document-workspace) #text-panel{display:none!important}
.sft-image-landing .hero:not(.document-workspace) .input-tabs{display:none!important}
.sft-image-landing .hero:not(.document-workspace) .document-stack{display:none}
@media(max-width:760px){
 .sft-image-landing .hero:not(.document-workspace){padding:24px 0 20px}
 .sft-image-landing .hero:not(.document-workspace) .hero-grid{gap:18px}
 .sft-image-landing .hero:not(.document-workspace) .hero-copy{text-align:center}
 .sft-image-landing .hero:not(.document-workspace) .hero-copy .eyebrow{justify-content:center}
 .sft-image-landing .hero:not(.document-workspace) .hero-copy h1{font-size:34px}
 .sft-image-landing .hero:not(.document-workspace) .hero-description{font-size:15px}
 .sft-image-landing .hero:not(.document-workspace) .upload-card{padding:18px}
 .sft-image-landing .hero:not(.document-workspace) .drop-zone{padding:20px 12px}
}

.sft-image-landing .hero:not(.document-workspace){padding-bottom:10px}
.sft-image-landing .sft-ocr{padding-top:28px}
.sft-image-landing .hero:not(.document-workspace) .card-heading h2{font-size:21px}
.sft-image-landing .workspace-heading{display:none!important}
@media(max-width:760px){.sft-image-landing .sft-ocr{padding-top:18px}}

/* Realistic OCR example photo and corresponding transcription */
.sft-ocr-photo{padding:0;background:#e1e0d6;display:block}
.sft-ocr-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.sft-ocr-output pre{font-size:13px;line-height:1.38;padding:12px 18px;overflow:auto}
.sft-ocr-output-bar{padding:10px 14px}
.sft-ocr-output-foot{padding:9px 14px}
@media(max-width:760px){.sft-ocr-photo,.sft-ocr-output{height:320px}}


/* OCR comparison: display the entire source photo and all transcription text. */
.sft-image-landing .sft-ocr-demo { align-items: stretch; }
.sft-image-landing .sft-ocr-demo-card { display: flex; flex-direction: column; min-width: 0; }
.sft-image-landing .sft-ocr-photo {
  height: auto;
  aspect-ratio: 3 / 2;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #e1e0d6;
}
.sft-image-landing .sft-ocr-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.sft-image-landing .sft-ocr-output {
  height: auto;
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.sft-image-landing .sft-ocr-output pre {
  flex: 1;
  overflow: visible;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.5;
  padding: 16px 18px;
}
.sft-image-landing .sft-ocr-output-foot { margin-top: auto; }
@media (max-width: 760px) {
  .sft-image-landing .sft-ocr-photo { height: auto; aspect-ratio: 3 / 2; }
  .sft-image-landing .sft-ocr-output { height: auto; min-height: 0; }
}

/* Full-size before/after: remove the legacy fixed-height crop. */
.sft-image-landing .sft-ocr-demo-card { display:flex; flex-direction:column; min-width:0; }
.sft-image-landing .sft-ocr-photo {
  height:auto !important; min-height:0 !important; aspect-ratio:auto !important;
  padding:0 !important; overflow:visible !important; display:block !important;
  background:transparent;
}
.sft-image-landing .sft-ocr-photo img {
  display:block !important; width:100% !important; height:auto !important;
  max-height:none !important; object-fit:contain !important; object-position:center;
  border-radius:12px;
}
.sft-image-landing .sft-ocr-output {
  height:auto !important; min-height:0 !important; max-height:none !important;
  overflow:visible !important; flex:1;
}
.sft-image-landing .sft-ocr-output pre {
  height:auto !important; max-height:none !important; overflow:visible !important;
  white-space:pre-wrap; overflow-wrap:anywhere;
}
@media(max-width:760px){
 .sft-image-landing .sft-ocr-photo,.sft-image-landing .sft-ocr-output {height:auto !important;}
}

/* Performance RC1: skip layout/paint of below-fold informational blocks until needed. */
@supports (content-visibility:auto) {
  .sft-image-landing .sft-ocr-guides,
  .sft-image-landing .sft-ocr-tips,
  .sft-image-landing .sft-ocr-faq { content-visibility:auto; contain-intrinsic-size:auto 900px; }
}

/* Keep the LCP file-limits copy stable during font/layout calculation. */
.sft-image-landing .drop-zone .file-limit { display:block; text-wrap:pretty; }

/* Moved from content partial to the versioned landing stylesheet. */

.sft-ocr-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:26px 0 12px}.sft-ocr-guide{overflow:hidden;border:1px solid #dce6dc;border-radius:18px;background:#fff}.sft-ocr-guide img{display:block;width:100%;height:auto;aspect-ratio:20/13;object-fit:cover}.sft-ocr-guide>div{padding:22px}.sft-ocr-guide h3,.sft-ocr-tip-grid h3{margin:0 0 10px;color:#194b39;font-size:1.18rem}.sft-ocr-guide p,.sft-ocr-tip-grid p{margin:0;line-height:1.65}.sft-ocr-tip-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.sft-ocr-tip-grid article{background:#f1f6ef;border:1px solid #dce7da;border-radius:16px;padding:20px}.sft-ocr-tip-note{line-height:1.7;margin:14px 0 38px;color:#4c6358}.sft-ocr-guides,.sft-ocr-tips{margin-top:52px}@media(max-width:900px){.sft-ocr-tip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.sft-ocr-guide-grid,.sft-ocr-tip-grid{grid-template-columns:1fr}.sft-ocr-guide>div{padding:18px}.sft-ocr-guides,.sft-ocr-tips{margin-top:36px}}

