/* TANAZUR public website — integration styles (TZ-17 final closure). The W06 product illustration that replaces the review atlas
   iframe (both devices shown whole, no cropped device art), and the recorded visual corrections of the final correction batch below;
   the supplied website.css / landing styles stay unchanged. */
.tz-product-stage { margin: 0; position: relative; isolation: isolate; }
.tz-product-stage::before { content: ''; position: absolute; inset: -8% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 32% 55%, #681e3222, transparent 62%); }
.tz-product-devices { display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); align-items: center; }
.tz-product-mobile .device-phone { max-width: 300px; }
.tz-product-stage figcaption { margin-top: 28px; max-width: 760px; }
@media (max-width: 760px) {
  .tz-product-devices { grid-template-columns: minmax(0, 1fr); }
  .tz-product-mobile .device-phone { max-width: 240px; }
}
@media (prefers-reduced-motion: reduce) { .tz-product-stage * { transition: none !important; animation: none !important; } }
.tz-record-link { margin-block-start: 22px; }

/* ── Final correction batch (K-TZ17-45, Owner visual review of job 7). Loaded on W01 (#app) and W02–W16 (#site); every rule is scoped to
   the component it corrects. Layout and type only: no text, image, logo or number is mirrored or altered here. ── */
[dir=rtl] .tz-product-stage::before { background: radial-gradient(ellipse at 68% 55%, #681e3222, transparent 62%); }
/* W06: word spaces inside the small product illustration (≈10 px type with negative tracking read as «Activecase», «Reviewinbox») */
.tz-product-stage .ui-surface { word-spacing: .12em; }

/* Device mockups (W06 and W01) in fa / ar: TZ_SITE.localizeMockups sets dir on each .ui-surface. The app UI inside the devices reads
   right to left (alignment, navigation and row order follow the reading direction; forward chevrons point to the reading end). The logo
   (inline SVG), the device hardware, the phone status bar and the numbers keep their own direction. */
.ui-surface[dir=rtl] { text-align: right; font-family: 'Noto Sans Arabic', Manrope, Arial, sans-serif; letter-spacing: 0; }
.ui-surface[dir=rtl] :is(h2, h3, h4, p, b, small, strong, span) { font-family: 'Noto Sans Arabic', Manrope, Arial, sans-serif; letter-spacing: 0; }
.ui-surface[dir=rtl] .ui-case-card h3 { line-height: 1.25; }
.screen-dialog-body .ui-surface[dir=rtl] .ui-content p { text-align: right; }
.ui-surface[dir=rtl] .ui-status { direction: ltr; }
.ui-surface[dir=rtl] .ui-counters svg { right: auto; left: 1.4cqw; }
.ui-mobile[dir=rtl] .ui-counters svg { right: auto; left: 3cqw; }
.ui-surface[dir=rtl] .ui-row > svg:last-child, .ui-surface[dir=rtl] .ui-time svg { transform: scaleX(-1); }
.ui-surface[dir=rtl] .ui-bell i { right: auto; left: 0; }
.ui-surface[dir=rtl] .ui-case-stack::before, .ui-surface[dir=rtl] .ui-case-stack::after { inset: 0 4cqw 3cqw 0; transform-origin: left center; transform: rotate(2deg) translateY(-.65cqw); }
.ui-surface[dir=rtl] .ui-case-stack::before { transform: rotate(3.5deg) translateY(-1.1cqw); }
.ui-mobile[dir=rtl] .ui-case-stack::before, .ui-mobile[dir=rtl] .ui-case-stack::after { inset: 0 8cqw 6cqw 0; transform: rotate(2deg) translateY(-1.6cqw); }
.ui-mobile[dir=rtl] .ui-case-stack::before { transform: rotate(4deg) translateY(-2.3cqw); }
.ui-surface[dir=rtl] .ui-case-card::after { right: auto; left: -18%; transform: rotate(16deg); background: linear-gradient(190deg, transparent 53%, #b44c683e); }

/* W02–W16 (#site) */
/* a call-to-action placed straight after a lead paragraph (section() blocks, W06 «Inside a sample report») gets the .actions spacing */
#site .split > div > .lead + .btn { margin-block-start: 28px; }
/* W04: the R / I / S / E letter (an LTR run) sits on the same side as its label in RTL; step codes likewise */
html[dir=rtl] #site .rise-step b, html[dir=rtl] #site .step-list b { text-align: right; }
/* W07: a wrapped «focused example» title keeps a gap before the body */
#site .featured { gap: 32px; }
/* W08: the «fictional worked example» badge keeps its own height instead of stretching to a tall RTL heading */
#site .authority-title > .tag { align-self: flex-start; flex-shrink: 0; }
/* W11: caption of the cover */
#site .tz-book-cover { margin: 0; }
#site .tz-cover-note { margin-block-start: 12px; max-width: 520px; }
/* W14: the wordmark respects the page margins (5vw = 72 px at 1440, ≈20 px at 390; 70 px from 1600 px) */
#site .wrap.about-wordmark { padding-inline: 5vw; }
@media (min-width: 1600px) { #site .wrap.about-wordmark { padding-inline: 70px; } }
/* W16: the request-type options keep their natural height (the column no longer stretches them to the form's height) */
#site .request-choices { align-content: start; }

/* W01 (#app, approved landing): type adjustments for single languages, composition unchanged */
/* fa / ar desktop: the RTL headline (6.9vw × 1.35 from styles.css; the delta's own 6.4vw rule loses on specificity) pushed the hero question
   below the first screen at 1440 × 900. The delta's intended RTL display line height (1.3) and a slightly smaller size keep it visible. */
@media (min-width: 901px) { html[dir=rtl] #app .hero h1.hero-title { font-size: clamp(37px, 6.1vw, 104px); line-height: 1.3; } }
/* tr: Turkish capitals carry marks above and below (İ, Ç, Ş): the .94 Latin line height let «Ç» touch the next line */
html[lang=tr] #app .hero h1.hero-title { line-height: 1.06; }
/* en phone: the right-hand tagline breaks in balanced lines instead of leaving «EAST.» alone */
@media (max-width: 600px) { html[lang=en] #app .hero .eyebrow span:last-child { max-width: 100px; } }
