@font-face { font-family: "Alexandria"; src: url("../fonts/alexandria/alexandria-arabic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Alexandria"; src: url("../fonts/alexandria/alexandria-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --font: "Alexandria", system-ui, "Segoe UI", Tahoma, sans-serif;
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 32px);
  --header-h: 78px;
  --section: clamp(72px, 9vw, 120px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.9; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 300; padding: 8px 14px; background: #fff; color: #000; }
.skip-link:focus { top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border: 1px solid transparent; border-radius: var(--btn-radius, 10px); font-size: 0.98rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.btn-sm { min-height: 42px; padding: 0 18px; }

/* Strip + header */
.p-strip { font-size: 0.82rem; }
.p-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.p-strip a { display: inline-flex; align-items: center; gap: 8px; }
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 28px; margin-inline-start: auto; }
.nav a { font-size: 0.93rem; font-weight: 500; transition: color 0.2s, opacity 0.2s; }
.header-tools { display: flex; align-items: center; gap: 20px; }
.lang { font-size: 0.9rem; font-weight: 600; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 10px; background: transparent; cursor: pointer; align-items: center; justify-content: center; opacity: 0.8; }
.menu-btn span { position: relative; display: block; width: 18px; height: 2px; background: currentColor; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; inset-inline: 0; height: 2px; background: currentColor; transition: transform 0.2s; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.p-hero { position: relative; overflow: hidden; }
.p-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.p-eyebrow { display: inline-block; font-size: 0.88rem; font-weight: 600; }
.p-hero h1 { margin-top: 18px; font-size: clamp(2.1rem, 3.9vw, 3.3rem); line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.p-hero h1 em { font-style: normal; }
.p-lead { margin-top: 22px; max-width: 560px; font-size: 1.06rem; line-height: 2; }
.p-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.p-hero-shot img { border-radius: 8px; }

/* Built for */
.p-fit-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 36px; padding-block: 28px; }
.p-fit h2 { font-size: 1rem; font-weight: 600; }
.p-fit ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
.p-fit li { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.p-fit svg { width: 20px; height: 20px; }

/* Sections */
.p-section { padding-block: var(--section); }
.p-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.p-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.35; font-weight: 700; }
.p-head p { margin-top: 12px; }

/* Steps */
.p-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.p-steps li { position: relative; }
.p-step-num { display: grid; place-items: center; width: 44px; height: 44px; font-weight: 700; }
.p-steps h3 { margin-top: 20px; font-size: 1.15rem; font-weight: 700; }
.p-steps p { margin-top: 10px; font-size: 0.95rem; line-height: 1.95; }

/* Highlight */
.p-highlight-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.p-highlight h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.35; font-weight: 700; }
.p-highlight-copy > p { margin-top: 18px; line-height: 2; }
.p-highlight ul, .p-panel-copy ul { margin-top: 22px; display: grid; gap: 12px; }
.p-highlight li, .p-panel-copy li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.p-highlight li::before, .p-panel-copy li::before { content: ""; width: 9px; height: 9px; flex-shrink: 0; background: var(--accent); border-radius: var(--dot-radius, 2px); }

/* Tour */
.p-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.p-tabs button { padding: 10px 20px; border: 1px solid var(--line); background: transparent; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.p-panel { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.p-panel-copy h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; line-height: 1.35; }
.p-panel-copy p { margin-top: 16px; line-height: 2; }
.p-panel .p-frame img { animation: p-in 0.35s ease; }
@keyframes p-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.p-frame { padding: 12px; }
.p-frame img { border-radius: 6px; }

/* Features */
.p-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.p-feat { padding: 28px 26px; }
.p-feat-num { display: block; font-size: 0.85rem; font-weight: 700; }
.p-feat h3 { margin-top: 12px; font-size: 1.1rem; font-weight: 700; }
.p-feat p { margin-top: 8px; font-size: 0.95rem; line-height: 1.95; }

/* Printouts */
.p-papers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
.p-paper > div { overflow: hidden; background: #fff; padding: 10px; }
.p-paper figcaption { margin-top: 12px; text-align: center; font-weight: 600; }

/* More screens + viewer */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 20px; }
.shot button { display: block; width: 100%; padding: 10px 10px 0; border: 1px solid var(--line); background: var(--soft); cursor: zoom-in; overflow: hidden; border-radius: var(--radius); }
.shot img { width: 100%; border-radius: 6px 6px 0 0; transition: transform 0.3s; }
.shot button:hover img { transform: translateY(-4px); }
.shot figcaption { margin-top: 10px; font-size: 0.93rem; font-weight: 500; }
.viewer { width: min(1400px, 96vw); max-width: none; max-height: 96vh; padding: 0; border: 0; background: transparent; color: #fff; }
.viewer::backdrop { background: rgba(0, 0, 0, 0.92); }
.viewer img { width: 100%; max-height: 82vh; object-fit: contain; background: #fff; border-radius: 8px; }
.viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; }
.viewer-bar .ctrls { display: flex; gap: 10px; }
.viewer-bar button { padding: 6px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
.viewer-bar button:hover { border-color: #fff; }

/* FAQ */
.p-faq-wrap { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.p-faq-wrap h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 700; line-height: 1.35; }
.p-faq details { border-bottom: 1px solid var(--line); }
.p-faq details:first-child { border-top: 1px solid var(--line); }
.p-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; }
.p-faq summary::-webkit-details-marker { display: none; }
.p-faq summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center; line-height: 1; }
.p-faq details[open] summary::after { content: "−"; }
.p-faq details p { padding-bottom: 24px; line-height: 1.95; }

/* CTA */
.p-cta { position: relative; overflow: hidden; text-align: center; }
.p-cta .container { position: relative; padding-block: clamp(80px, 9vw, 120px); }
.p-cta img { margin: 0 auto; border-radius: 16px; }
.p-cta h2 { margin-top: 24px; font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 700; line-height: 1.3; }
.p-cta p { margin: 16px auto 0; max-width: 600px; line-height: 2; }
.p-cta .p-actions { justify-content: center; }

/* Footer */
.p-footer { font-size: 0.93rem; }
.p-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-block: 48px; }
.p-footer-brand img { height: 52px; width: auto; }
.p-footer-brand p { margin-top: 14px; max-width: 360px; }
.rs-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: #1b2033; }
.rs-brand > span { color: #5d6478; font-size: 0.85rem; }
.rs-brand img { height: 34px; width: auto; }
.rs-brand a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.rs-brand a:hover { color: #d9520a; }
.rs-brand svg { width: 16px; height: 16px; color: #1f9d55; }
.p-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px; border-top: 1px solid var(--line); font-size: 0.86rem; }
.p-footer-bottom a { font-weight: 600; }

/* LTR */
[dir="ltr"] body { line-height: 1.7; }
[dir="ltr"] .p-hero h1, [dir="ltr"] .p-head h2, [dir="ltr"] .p-cta h2, [dir="ltr"] .p-panel-copy h3, [dir="ltr"] .p-faq-wrap h2, [dir="ltr"] .p-highlight h2 { line-height: 1.15; letter-spacing: -0.025em; }
[dir="ltr"] .p-lead, [dir="ltr"] .p-panel-copy p, [dir="ltr"] .p-feat p, [dir="ltr"] .p-faq details p, [dir="ltr"] .p-cta p, [dir="ltr"] .p-steps p, [dir="ltr"] .p-highlight-copy > p { line-height: 1.75; }

/* Responsive */
@media (max-width: 1024px) {
  .nav { gap: 18px; }
  .p-feats, .shots, .p-papers, .p-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .brand img { height: 38px; }
  .menu-btn { display: inline-flex; }
  .header-tools .btn { display: none; }
  .header-tools { margin-inline-start: auto; }
  .nav { position: absolute; inset: 100% 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: var(--header-bg); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding-block: 14px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.02rem; }
  .p-hero-inner, .p-panel, .p-faq-wrap, .p-highlight-inner { grid-template-columns: 1fr; }
  .p-panel .p-frame { order: -1; }
}
@media (max-width: 640px) {
  .p-strip-inner { font-size: 0.78rem; }
  .p-feats, .shots, .p-steps { grid-template-columns: 1fr; }
  .p-actions .btn { flex: 1 1 100%; }
  .p-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .p-tabs button { flex-shrink: 0; }
}
.rs-brand .social { color: #5d6478; }
.rs-brand .social svg { width: 20px; height: 20px; color: inherit; }
.rs-brand .social:hover { color: #d9520a; }

