*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); font-size: 1rem; line-height: 1.6; color: var(--graphite-900); background: var(--survey); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--orange); }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100; padding: 0.75rem 1rem; background: var(--orange); color: var(--graphite-950); font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.dark { background: var(--graphite-950); color: var(--survey); }
.dark-2 { background: var(--graphite-800); color: var(--survey); }

.overline { font-family: var(--font-mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-text); }
.dark .overline, .dark-2 .overline { color: var(--orange); }
[lang="ar"] .overline { letter-spacing: 0; text-transform: none; }
.h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; max-width: 28ch; }
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--graphite-600); max-width: 56ch; }
.dark .lead, .dark-2 .lead { color: var(--graphite-300); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3rem; padding: 0.7rem 1.4rem; border: 2px solid transparent; border-radius: var(--radius); font-weight: 600; font-size: 0.9375rem; text-decoration: none; transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.1rem; height: 1.1rem; flex: none; }
.btn--primary { background: var(--orange); color: var(--graphite-950); }
.btn--primary:hover { background: var(--orange-hover); }
.btn--secondary { border-color: var(--graphite-400); color: inherit; background: transparent; }
.btn--secondary:hover { border-color: var(--survey); background: rgba(243, 245, 247, 0.08); }
.btn--secondary-light { border-color: var(--graphite-500); color: var(--graphite-900); }
.btn--secondary-light:hover { border-color: var(--graphite-900); background: rgba(29, 35, 41, 0.06); }
.btn--sm { min-height: 2.5rem; padding: 0.45rem 1rem; font-size: 0.875rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.chamfer { position: relative; --cut-bg: var(--survey); --cut-line: var(--graphite-200); border: 1px solid var(--cut-line); }
.chamfer::after { content: ""; position: absolute; top: -1px; inset-inline-end: -1px; width: var(--cut); height: var(--cut); pointer-events: none; background: linear-gradient(to bottom left, var(--cut-bg) 0 calc(50% - 0.5px), var(--cut-line) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px)); }
[dir="rtl"] .chamfer::after { transform: scaleX(-1); }
.dark .chamfer, .dark-2 .chamfer { --cut-line: var(--graphite-600); }
.dark .chamfer { --cut-bg: var(--graphite-950); }
.dark-2 .chamfer { --cut-bg: var(--graphite-800); }

.blueprint { background-image: linear-gradient(rgba(47, 111, 179, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 111, 179, 0.16) 1px, transparent 1px), linear-gradient(rgba(47, 111, 179, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 111, 179, 0.07) 1px, transparent 1px); background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0ms !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

[dir="rtl"] .icon--dir { transform: scaleX(-1); }
.scene, .frame__url, .mono { direction: ltr; }
[dir="rtl"] .mono { text-align: end; }
.deferred { content-visibility: auto; contain-intrinsic-size: auto 900px; }

[lang="ar"] * { letter-spacing: 0 !important; }
[lang="ar"] .step__l, [lang="ar"] .pn-kicker, [lang="ar"] .jr__demo, [lang="ar"] .where__col h4, [lang="ar"] .pn-block h4, [lang="ar"] .ops__h, [lang="ar"] .ops__table thead th { text-transform: none; }
