/* One product scene: the hardware, display and motion share the same geometry. */
.context-section {
  --context-paper: oklch(98.7% .002 155);
  --context-muted: oklch(48% .012 160);
  --context-line: oklch(91% .007 160);
  position: relative; isolation: isolate; background: var(--context-paper);
  overflow: clip; scroll-margin-top: 0;
}
.context-composition { position: relative; min-height: calc(100dvh - 68px); display: grid; grid-template-columns: 56% 39%; align-content: start; row-gap: 26px; padding-top: clamp(45px,10vh,115px); }
.context-intro { position: relative; grid-column: 2; z-index: 2; width: 100%; max-width: 520px; margin: 0; }
.context-eyebrow { color: var(--green-dark); font-size: 13px; font-weight: 550; line-height: 1.5; margin-bottom: 22px; }
.context-intro h2 { font-size: clamp(42px,4.15vw,66px); line-height: 1.025; font-weight: 550; letter-spacing: -.044em; }
.context-intro h2 span { color: var(--green-dark); }
.context-intro .context-typing-run,.context-intro .context-typing-char { color:inherit; }
.context-typing-caret { position:relative; }
.context-typing-caret::after { content:""; position:absolute; left:100%; top:.07em; width:1.5px; height:.92em; background:currentColor; pointer-events:none; }
.context-intro:focus-within .context-typing-char { opacity:1!important; }
.context-intro:focus-within .context-typing-caret::after { display:none; }
.context-lead { max-width: 325px; margin-top: 24px; font-size: 17px; line-height: 1.5; color: var(--context-muted); }
.context-product { position: absolute; width: min(1000px,84vw,calc((100dvh - 140px) * 1.59836)); left: max(0px,calc((100% - 1360px) / 2)); bottom: 38px; margin: 0; }
.context-product-stage { perspective: 1800px; mix-blend-mode: multiply; }
.context-device { position: relative; width: 100%; aspect-ratio: 1950 / 1220; container-type: inline-size; transform-origin: center 60%; transform: translate3d(var(--device-x,0px),var(--device-y,0px),0) rotate(var(--device-rz,0deg)) scale(var(--device-scale,1)); }
.context-device-art { position: absolute; top: 0; left: 0; width: 1950px; height: 1220px; transform-origin: 0 0; transform: scale(var(--art-scale,.5)); }
@supports (transform: scale(calc(100px / 200px))) { .context-device-art { transform: scale(calc(100cqw / 1950px)); } }
.context-device-photo { position: absolute; width: 2688px; max-width: none; height: 1520px; left: -400px; top: -90px; mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent),linear-gradient(0deg,transparent,#000 10%,#000 94%,transparent); mask-composite: intersect; }
/* 1200×750 interface projected into the four inspected display corners. */
.context-device-screen { position: absolute; width: 1200px; height: 750px; top: 0; left: 0; transform-origin: 0 0; transform: matrix3d(.945823765532,.169778276482,0,.000141194844628,.173703322601,.978802825143,0,-.0000719048012166,0,0,1,0,128,36,0,1); border-radius: 14px 17px 2px 2px; background: var(--white); overflow: hidden; color: var(--ink); }
.context-app-bar { height: 64px; padding: 0 42px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--context-line); }
.context-app-brand { display: inline-flex; align-items: center; gap: 14px; font-size: 22px; font-weight: 550; }
.context-app-brand img { width: 21px; height: 27px; }
.context-demo-label { font-size: 18px; color: var(--context-muted); }
.context-app-content { padding: 24px 42px; }
.context-question>span { display: block; color: var(--context-muted); font-size: 20px; line-height: 1.4; }
.context-question>p { font-size: 39px; line-height: 1.18; font-weight: 500; letter-spacing: -.02em; margin-top: 6px; }
.context-analysis { display: grid; grid-template-columns: 1fr 1.07fr; gap: 34px; margin-top: 26px; align-items: start; }
.context-insight-label { color: var(--green-dark); font-size: 20px; line-height: 1.4; margin-bottom: 12px; }
.context-finding h3 { font-size: 50px; line-height: 1.06; letter-spacing: -.037em; font-weight: 550; }
.context-finding h3 span { color: var(--green); }
.context-finding>p:last-child { max-width: 490px; margin-top: 17px; font-size: 25px; line-height: 1.4; color: var(--context-muted); }
.context-scenarios { padding: 22px 23px 13px; background: var(--green-wash); border: 1px solid var(--context-line); border-radius: 10px; }
.context-scenarios>p { font-size: 21px; line-height: 1.4; font-weight: 550; }
.context-scenarios>p>span { display: block; font-size: 17px; color: var(--context-muted); margin-top: 3px; font-weight: 400; }
.context-scenarios table { border-collapse: collapse; width: 100%; margin-top: 14px; font-variant-numeric: tabular-nums; }
.context-scenarios th,.context-scenarios td { text-align: left; vertical-align: middle; }
.context-scenarios thead th { font-size: 18px; line-height: 1.35; color: var(--context-muted); font-weight: 400; padding: 0 8px 12px; }
.context-scenarios thead th:first-child { padding-left: 0; }
.context-scenarios tbody th { font-size: 17px; line-height: 1.4; font-weight: 400; width: 39%; }
.context-scenarios tbody th strong { font-size: 30px; line-height: 1.15; font-weight: 550; }
.context-scenarios tbody th>span { display: block; font-size: 16px; color: var(--context-muted); }
.context-scenarios tbody td { font-size: 25px; font-weight: 500; white-space: nowrap; padding: 12px 8px; }
.context-scenarios tbody tr { border-top: 1px solid var(--context-line); }
.context-revenue { color: var(--green-dark); }
.context-threshold { display: flex; gap: 32px; align-items: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--context-line); }
.context-threshold>div { flex: none; width: 330px; }
.context-threshold>div>span { display: block; font-size: 18px; line-height: 1.3; color: var(--context-muted); }
.context-threshold strong { display: block; font-size: 43px; line-height: 1.1; font-weight: 550; letter-spacing: -.025em; color: var(--green-dark); margin-top: 3px; }
.context-threshold small { font-size: 23px; font-weight: 400; letter-spacing: 0; }
.context-threshold>p { max-width: 650px; font-size: 24px; line-height: 1.35; color: var(--context-muted); }
.context-app-sources { display: flex; align-items: center; gap: 21px; margin-top: 21px; font-size: 18px; line-height: 1.5; }
.context-app-sources>span { color: var(--context-muted); }
.context-app-sources b { padding-inline: 5px; font-weight: 400; color: var(--context-muted); }
.context-assumptions { margin-top: 8px; font-size: 17px; line-height: 1.4; color: var(--context-muted); }
.context-product>figcaption { position: absolute; bottom: -18px; left: 10%; width: 60%; text-align: center; font-size: 10px; line-height: 1.5; color: var(--context-muted); }
.context-foot { position: relative; grid-column: 2; z-index: 3; width: 100%; max-width: 400px; margin: 0; }
.context-foot>p { max-width: 310px; font-size: 13px; line-height: 1.7; color: var(--context-muted); }
@media (min-width:1001px) and (max-height:680px) {
  .context-composition { padding-top: 32px; row-gap: 20px; }
  .context-intro h2 { font-size: 42px; }
  .context-eyebrow { margin-bottom: 15px; }
  .context-lead { font-size: 15px; margin-top: 18px; }
}
@media (min-width:1650px) {
  .context-product { width: min(1220px,calc((100dvh - 180px) * 1.59836)); left: calc((100% - 1580px) / 2); bottom: 50px; }
  .context-composition { padding-top: calc((100dvh - 68px) * .15); }
}
@media (max-width:1000px) {
  .context-composition { display: block; min-height: 0; padding: 58px 0 35px; }
  .context-intro { position: relative; inset: auto; width: calc(100% - 48px); max-width: 650px; margin: auto; text-align: center; }
  .context-intro h2 { font-size: 52px; }
  .context-lead { max-width: 420px; margin: 21px auto 0; }
  .context-product { position: relative; inset: auto; width: min(820px,100%); margin: 32px auto 0; }
  .context-device { transform: none; }
  .context-product>figcaption { position: static; width: 100%; margin: 13px 0 0; }
  .context-foot { position: relative; inset: auto; width: calc(100% - 48px); max-width: 550px; margin: 28px auto 0; text-align: center; }
  .context-foot>p { max-width: none; }
}
@media (max-width:600px) {
  .context-composition { padding-block: 45px 30px; }
  .context-eyebrow { font-size: 12px; margin-bottom: 17px; }
  .context-intro h2 { font-size: clamp(34px,9vw,48px); }
  .context-lead { font-size: 15px; max-width: 280px; margin-top: 19px; }
  .context-product { width: min(620px,150vw); margin: 32px 0 0; }
  .context-device { width: 100%; }
  .context-device-screen { width: 1200px; }
  .context-product>figcaption { width: 100vw; text-align: center; margin-top: 0; }
  .context-foot { margin-top: 23px; }
  .context-foot>p { font-size: 12px; max-width: 270px; margin: auto; }
}
@media (prefers-reduced-motion:reduce) { .context-device { transform: none; } .context-chart-rise { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion:reduce), print {
  .context-typing-char { opacity:1!important; }
  .context-typing-caret::after { display:none; }
}

/* Approved artwork elsewhere in the page is kept intact. */
.lv-preview { position: relative; isolation: isolate; }
.lv-preview::before { content: ""; position: absolute; z-index: -1; inset: -24px -24px -18px; border-radius: 22px; background: var(--green-wash) url('/assets/estudo-html/ia-pattern.webp') center / cover; }
.lv-screen { border-radius: 12px; box-shadow: 0 18px 36px -17px oklch(25% .02 162 / .19); }
.lp-footer { background: var(--paper) url('/assets/estudo-html/ia-pattern.webp') center 48% / cover; }
@media (max-width: 1200px) { .lv-preview::before { inset: -18px -18px -16px; } }
@media (max-width: 700px) { .lv-preview::before { inset: -12px -10px -12px; border-radius: 16px; } }
