/* Oryx marketing — SAP-quiet, cinematic, Inter. */
:root {
  --pro-paper: #F5F6F7;
  --pro-card: #FFFFFF;
  --pro-ink: #131E29;
  --pro-muted: #556B82;
  --pro-line: #E5E5E5;
  --pro-line-strong: #D9D9D9;
  --pro-brand: #0B6B5C;
  --pro-gold: #D27700;
  --pro-blue: #0070F2;
  --pro-violet: #6C32A9;
  --pro-info: #0070F2;
  --pro-radius: 8px;
  --pro-radius-input: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--pro-card); color: var(--pro-ink); }
body {
  font-family: Inter, "IBM Plex Sans Arabic", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
html[dir="rtl"] body { font-family: "IBM Plex Sans Arabic", Inter, Arial, sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(1180px, calc(100% - 8vw)); margin-inline: auto; }

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 7vw;
  height: 52px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--pro-line-strong);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand .mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}
.wordmark {
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 16px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--pro-muted);
  margin-inline-start: auto;
}
.nav-links a:hover { color: var(--pro-ink); }
.lang {
  border: 1px solid var(--pro-line-strong);
  background: var(--pro-card);
  color: var(--pro-ink);
  border-radius: var(--pro-radius-input);
  height: 32px;
  padding: 0 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.lang:hover { border-color: var(--pro-brand); color: var(--pro-brand); }
.nav-cta { margin-inline-start: 4px; }

/* —— Hero: full-bleed cinematic —— */
.hero {
  position: relative;
  min-height: calc(100vh - 52px);
  overflow: hidden;
  background: var(--pro-ink);
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transform-origin: center center;
  animation: kenburns 32s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(19, 30, 41, 0.78) 0%,
    rgba(11, 107, 92, 0.35) 52%,
    transparent 100%
  );
  pointer-events: none;
}
html[dir="rtl"] .hero-scrim {
  background: linear-gradient(
    to left,
    rgba(19, 30, 41, 0.78) 0%,
    rgba(11, 107, 92, 0.35) 52%,
    transparent 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 52px);
  display: flex;
  align-items: center;
  padding: 64px 0 120px;
}
.hero-copy {
  max-width: 38rem;
  position: relative;
  z-index: 3;
}
@media (min-width: 901px) {
  .hero-copy {
    max-width: min(38rem, calc(100vw - min(42vw, 560px) - 14vw));
  }
}
.hero .kicker {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 236, 210, 0.92);
}
.kicker-ink {
  color: var(--pro-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  margin: 0 0 12px;
}
.hero h1 {
  font-family: Inter, "IBM Plex Sans Arabic", Arial, sans-serif;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  color: #fff;
}
html[dir="rtl"] .hero h1 {
  font-family: "IBM Plex Sans Arabic", Inter, Arial, sans-serif;
}
.hero h1 span { display: block; }
.hero h1 .draw {
  position: relative;
  display: inline-block;
}
.hero h1 .draw::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0.04em;
  height: 3px;
  width: 0;
  background: var(--pro-brand);
  animation: underline-draw 0.9s ease forwards;
}
@keyframes underline-draw { to { width: 100%; } }
.hero .sub {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  max-width: 34rem;
}
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--pro-radius-input);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--pro-brand); color: #fff; }
.btn-primary:hover { background: #08574b; }
.btn-ghost {
  background: transparent;
  color: var(--pro-ink);
  border-color: var(--pro-line-strong);
}
.btn-ghost:hover { background: var(--pro-paper); }
.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* Product screenshot — float, no browser chrome, shadow only here */
.hero-float {
  position: absolute;
  z-index: 2;
  inset-inline-end: 5vw;
  bottom: 40px;
  width: min(42vw, 560px);
  height: auto;
  max-width: 560px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 3px solid var(--pro-brand);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.32), 0 4px 14px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

/* Browser chrome — editions only */
.frame {
  position: relative;
  display: block;
  background: var(--pro-card);
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius);
  overflow: hidden;
  transition: border-color .25s ease;
  box-shadow: none;
}
.frame:hover { border-color: var(--pro-brand); }
.frame.glow::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(160px circle at var(--gx, 50%) var(--gy, 50%), rgba(11, 107, 92, 0.09), transparent 62%);
  transition: opacity .2s;
}
.frame.glow:hover::after { opacity: 1; }
.frame-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 36px;
  padding: 0 12px;
  background: #EFF1F2;
  border-bottom: 1px solid var(--pro-line);
}
.dots { display: flex; gap: 6px; }
.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D9D9D9;
  display: block;
}
.url {
  flex: 1;
  height: 22px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius-input);
  background: var(--pro-card);
  font-size: 12px;
  color: var(--pro-muted);
}
.frame img { width: 100%; height: auto; display: block; }

/* Editorial bento — not equal 2x2 */
.runs {
  background: var(--pro-paper);
  padding: 88px 0 72px;
}
.runs h2, .editions h2, .buy h2, .how h2, .local h2, .faq h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 700;
  max-width: 24ch;
}
.lead {
  color: var(--pro-muted);
  max-width: 44rem;
  margin: 0 0 36px;
  font-size: 17px;
}
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  min-height: 640px;
}
.tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--pro-radius);
  background: var(--pro-ink);
  min-height: 0;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tile-formwork { grid-column: 1 / 8; grid-row: 1 / 3; }
.tile-scaffold {
  grid-column: 8 / 13;
  grid-row: 1;
  border-inline-start: 3px solid var(--pro-blue);
}
.tile-plant {
  grid-column: 8 / 11;
  grid-row: 2;
  border-inline-start: 3px solid var(--pro-gold);
}
.tile-hardware {
  grid-column: 11 / 13;
  grid-row: 2;
  border-inline-start: 3px solid var(--pro-violet);
}
.chip {
  position: absolute;
  inset-inline-start: 14px;
  bottom: 14px;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(19, 30, 41, 0.55);
  padding: 6px 10px;
  border-radius: 999px;
  line-height: 1;
}
.chip-glass {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Stats — 2 teal, 4 blue, 1 gold, 2 violet */
.strip { background: var(--pro-card); border-top: 1px solid var(--pro-line); border-bottom: 1px solid var(--pro-line); }
.strip-inner {
  width: min(1180px, calc(100% - 8vw));
  margin-inline: auto;
  min-height: 120px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 8px 24px;
  padding: 32px 0;
}
.metric { padding-inline-end: 16px; border-inline-end: 1px solid var(--pro-line); }
.metric:last-child { border-inline-end: 0; }
.metric b {
  display: block;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.n-teal { color: var(--pro-brand); }
.n-blue { color: var(--pro-blue); }
.n-gold { color: var(--pro-gold); }
.n-violet { color: var(--pro-violet); }
.metric span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pro-muted);
  font-weight: 600;
}

.editions { background: var(--pro-card); padding: 88px 0; }
.edition-grid { display: grid; gap: 64px; margin-top: 48px; }
.edition {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
}
.edition:nth-child(even) { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr); }
.edition:nth-child(even) .edition-copy { order: 2; }
html[dir="rtl"] .edition:nth-child(even) .edition-copy { order: 0; }
.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pro-brand);
  background: #EFF1F2;
  border-radius: var(--pro-radius-input);
  padding: 4px 8px;
  margin-bottom: 12px;
}
.edition h3 {
  font-size: 28px;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.edition-copy > p { color: var(--pro-muted); margin: 0 0 16px; font-size: 16px; }
.edition-copy ul { margin: 0 0 22px; }
.edition-copy li {
  position: relative;
  padding-inline-start: 16px;
  margin: 8px 0;
  color: var(--pro-ink);
  font-size: 15px;
}
.edition-copy li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--pro-brand);
}


.buy { background: var(--pro-paper); padding: 88px 0; border-bottom: 1px solid var(--pro-line); }
.buy h2 { max-width: 28em; }
.buy-first {
  margin: 0 0 28px;
  padding: 22px 24px;
  background: var(--pro-card);
  border: 1px solid var(--pro-line);
  border-inline-start: 3px solid var(--pro-brand);
  border-radius: var(--pro-radius);
}
.buy-first p { margin: 0; }
.buy-first-line {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.buy-first-terms {
  margin-top: 6px;
  color: var(--pro-muted);
  font-size: 15px;
}
.buy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.buy-card {
  display: flex;
  flex-direction: column;
  background: var(--pro-card);
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius);
  border-top: 3px solid var(--pro-brand);
  padding: 28px 24px 32px;
}
.buy-card h3 {
  font-size: 22px;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.buy-get {
  margin: 8px 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pro-muted);
}
.buy-card ul { margin: 0 0 22px; }
.buy-card li {
  position: relative;
  padding-inline-start: 16px;
  margin: 8px 0;
  color: var(--pro-ink);
  font-size: 15px;
}
.buy-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--pro-brand);
}
.buy-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: auto;
}
.buy-ask {
  font-size: 14px;
  font-weight: 600;
  color: var(--pro-brand);
}
.buy-ask:hover { color: #08574b; }

.buy-after {
  margin-top: 16px;
  background: var(--pro-card);
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius);
  padding: 32px 28px 28px;
}
.buy-after h3 {
  font-size: 20px;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.buy-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.buy-flow li {
  padding: 0 24px;
  border-inline-end: 1px solid var(--pro-line);
}
.buy-flow li:first-child { padding-inline-start: 0; }
.buy-flow li:last-child { border-inline-end: 0; padding-inline-end: 0; }
.buy-flow h4 {
  font-size: 16px;
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.buy-flow p { margin: 0; color: var(--pro-muted); font-size: 14px; }
.buy-price {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--pro-line);
  color: var(--pro-ink);
  font-size: 15px;
  font-weight: 500;
}

#buy, #editions, #how, #runs, #product, #demos, #faq, #trial-film, #guides {
  scroll-margin-top: 64px;
}

.how { background: var(--pro-paper); padding: 88px 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.steps article {
  background: var(--pro-card);
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius);
  padding: 28px 24px 32px;
}
.num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--pro-brand);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.steps h3 {
  font-size: 20px;
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.steps p { margin: 0; color: var(--pro-muted); }

.band {
  background: var(--pro-brand);
  color: #fff;
  padding: 48px 0;
}
.band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.band h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: none;
}
.band p { margin: 0; color: rgba(255, 255, 255, 0.86); font-size: 16px; }
.btn-on-teal { background: #fff; color: var(--pro-brand); }
.btn-on-teal:hover { background: var(--pro-paper); }
.btn-ghost-on-teal { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost-on-teal:hover { background: rgba(255, 255, 255, 0.08); }

.local { background: var(--pro-card); padding: 88px 0; }
.local-inner { max-width: 40rem; }
.local-inner p { color: var(--pro-muted); font-size: 17px; line-height: 1.65; }
.local-inner p + p { margin-top: 16px; }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px 7vw 48px;
  border-top: 1px solid var(--pro-line);
  color: var(--pro-muted);
  font-size: 13px;
}
.foot-l, .foot-r { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.foot .wordmark { color: var(--pro-ink); font-size: 16px; }
.foot-mark { width: 28px; height: 28px; object-fit: contain; }
.foot a:hover { color: var(--pro-brand); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1 .draw::after { animation: none; width: 100%; }
  .hero-bg img { animation: none; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
html.reduce-motion .hero-bg img { animation: none; transform: none; }
html.reduce-motion .hero h1 .draw::after { animation: none; width: 100%; }
html.reduce-motion .reveal { opacity: 1; transform: none; transition: none; }

@media (max-width: 900px) {
  .nav-links > a:not(.nav-cta) { display: none; }
  .hero-inner { padding: 40px 0 48px; min-height: 0; }
  .hero { min-height: calc(100vh - 52px); }
  .hero h1 { font-size: clamp(32px, 8vw, 48px); }
  .hero .sub { font-size: 17px; }
  .hero-float {
    position: relative;
    inset: auto;
    width: min(100%, 560px);
    margin: 0 auto 36px;
    display: block;
    pointer-events: none;
  }
  .hero-inner { padding-bottom: 24px; }
  .strip-inner, .steps { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-inline-end: 0; }
  .edition, .edition:nth-child(even) { grid-template-columns: 1fr; }
  .edition:nth-child(even) .edition-copy { order: 0; }
  .buy-grid { grid-template-columns: 1fr; }
  .buy-flow { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
  .buy-flow li { padding: 0; border-inline-end: 0; }
  .band-inner { flex-direction: column; align-items: flex-start; }
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .tile-formwork { grid-column: 1 / 3; grid-row: auto; min-height: 280px; }
  .tile-scaffold { grid-column: 1 / 3; grid-row: auto; min-height: 200px; }
  .tile-plant { grid-column: 1 / 2; grid-row: auto; min-height: 180px; }
  .tile-hardware { grid-column: 2 / 3; grid-row: auto; min-height: 180px; }
}
@media (max-width: 560px) {
  .strip-inner, .steps, .bento, .buy-flow { grid-template-columns: 1fr; }
  .tile-formwork, .tile-scaffold, .tile-plant, .tile-hardware {
    grid-column: auto;
    min-height: 200px;
  }
  .metric { border-inline-end: 0; padding-block: 12px; border-bottom: 1px solid var(--pro-line); }
  .metric:last-child { border-bottom: 0; }
  .metric b { font-size: 28px; }
  .nav-cta { display: none; }
  .hero-float { width: 100%; }
}

.hero .proof {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 236, 210, 0.92);
}
.hero .close {
  margin: 18px 0 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  max-width: 34rem;
}
.hero .close-sub {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 236, 210, 0.92);
  max-width: 34rem;
}
.hero-cred {
  margin: 16px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}
.hero-cred b,
.band-cred b,
.mobile-trial b {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  padding: 2px 8px;
  border-radius: 4px;
}
.band-cred {
  margin: 12px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}
.band-cred b {
  background: rgba(0, 0, 0, 0.18);
}

.faq {
  background: var(--pro-paper);
  padding: 88px 0;
  border-top: 1px solid var(--pro-line);
}
.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 36px 0 0;
}
.faq-item {
  margin: 0;
  background: var(--pro-card);
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius);
  border-top: 3px solid var(--pro-brand);
  padding: 24px 22px 26px;
}
.faq-item dt {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.faq-item dd {
  margin: 0;
  color: var(--pro-muted);
  font-size: 15px;
  line-height: 1.6;
}

.mobile-trial { display: none; }

@media (max-width: 900px) {
  .faq-list { grid-template-columns: 1fr; }
  .hero .cta .btn { min-height: 40px; }
}
@media (max-width: 560px) {
  .hero .cta { flex-direction: column; align-items: stretch; }
  .hero .cta .btn { width: 100%; height: 44px; }
  .mobile-trial {
    display: flex;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 60;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--pro-line-strong);
    box-shadow: 0 -8px 24px rgba(19, 30, 41, 0.08);
  }
  .mobile-trial p {
    margin: 0;
    font-size: 13px;
    color: var(--pro-muted);
    min-width: 0;
  }
  .mobile-trial b {
    color: var(--pro-ink);
    background: var(--pro-paper);
    border: 1px solid var(--pro-line);
  }
  .mobile-trial .btn {
    flex-shrink: 0;
    height: 40px;
    padding: 0 14px;
  }
  .foot { padding-bottom: 96px; }
}

/* —— No-login trial film —— */
.trial-film {
  background: var(--pro-ink);
  color: #fff;
  padding: 72px 0 56px;
  overflow: hidden;
  border-top: 1px solid var(--pro-ink);
}
.trial-film .kicker-ink { color: #7dcec2; }
.trial-film h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #fff;
}
.trial-film .lead {
  margin: 12px 0 0;
  max-width: 42em;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}
.film-viewport {
  margin-top: 36px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.film-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 8px 7vw 4px;
  animation: film-scroll 48s linear infinite;
}
.film-track:hover { animation-play-state: paused; }
.film-card {
  margin: 0;
  flex: 0 0 auto;
  width: min(72vw, 620px);
}
.film-card .frame {
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.film-card figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 12px;
  padding: 0 2px;
}
.film-en {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 16px;
  color: #fff;
}
.film-ar {
  font-family: "IBM Plex Sans Arabic", Inter, Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #7dcec2;
}
.film-cred {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 28px;
}
.film-cred p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}
.film-cred b {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  padding: 2px 8px;
  border-radius: 4px;
}
.trial-film .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.trial-film .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
@keyframes film-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
html[dir="rtl"] .film-track { animation-name: film-scroll-rtl; }
@keyframes film-scroll-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
html.reduce-motion .film-track { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .film-track { animation: none; }
  .film-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 560px) {
  .film-card { width: min(88vw, 420px); }
  .film-cred { flex-direction: column; align-items: flex-start; }
}


/* —— Guide / SEO articles —— */
body.guide-page .hero {
  min-height: 0;
}
body.guide-page .hero-inner {
  min-height: 0;
  padding: 48px 0 72px;
}
body.guide-page .hero h1 {
  font-size: clamp(32px, 5vw, 52px);
}
body.guide-page .hero-float {
  bottom: 28px;
  width: min(38vw, 480px);
}
body.guide-page .hero .sub { max-width: 36rem; }
.crumb {
  margin: 0 0 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}
.crumb a { color: inherit; }
.crumb a:hover { color: #fff; }
.crumb [aria-current="page"] { color: #fff; font-weight: 600; }

.prose {
  padding: 72px 0 48px;
  background: var(--pro-card);
}
.prose .wrap-narrow {
  width: min(760px, calc(100% - 8vw));
  margin-inline: auto;
}
.prose h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
  font-weight: 700;
  max-width: none;
}
.prose h2:first-child { margin-top: 0; }
.prose p {
  color: var(--pro-muted);
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 16px;
}
.prose .shot {
  margin: 28px 0 36px;
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius);
  overflow: hidden;
  background: var(--pro-paper);
}
.prose .shot img { width: 100%; height: auto; display: block; }
.prose .shot figcaption {
  padding: 10px 14px 12px;
  font-size: 13px;
  color: var(--pro-muted);
}
.prose ul.ticks {
  margin: 4px 0 22px;
  padding: 0;
  list-style: none;
}
.prose ul.ticks li {
  position: relative;
  padding-inline-start: 18px;
  margin: 9px 0;
  color: var(--pro-ink);
  font-size: 16px;
  line-height: 1.55;
}
.prose ul.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--pro-brand);
}

.guide-sib {
  background: var(--pro-paper);
  padding: 56px 0 72px;
  border-top: 1px solid var(--pro-line);
}
.guide-sib h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.guide-sib .lead { margin-bottom: 24px; }
.sib-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.sib-card {
  display: block;
  background: var(--pro-card);
  border: 1px solid var(--pro-line);
  border-radius: var(--pro-radius);
  border-top: 3px solid var(--pro-brand);
  padding: 18px 16px 20px;
  min-height: 100%;
}
.sib-card:hover { border-color: var(--pro-brand); }
.sib-card b {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.sib-card span {
  color: var(--pro-muted);
  font-size: 13px;
  line-height: 1.45;
}
.sib-card[aria-current="page"] {
  border-color: var(--pro-brand);
  background: #f3faf8;
}

.guides {
  background: var(--pro-paper);
  padding: 72px 0;
  border-top: 1px solid var(--pro-line);
}
.guides h2 { max-width: 22ch; }
.guides-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.foot-guides {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 16px;
  margin-top: 4px;
  border-top: 1px solid var(--pro-line);
  font-family: "IBM Plex Sans Arabic", Inter, Arial, sans-serif;
}
.foot-guides a { color: var(--pro-muted); }
.foot-guides a:hover { color: var(--pro-brand); }
.foot-guides a[aria-current="page"] { color: var(--pro-ink); font-weight: 600; }

@media (max-width: 1100px) {
  .sib-grid, .guides-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .sib-grid, .guides-grid { grid-template-columns: 1fr; }
  body.guide-page .hero-inner { padding: 36px 0 28px; }
  body.guide-page .hero { min-height: 0; }
}

/* —— Trial film: WhatsApp-style player + leave-behind —— */
.film-stage {
  width: min(960px, calc(100% - 8vw));
  margin: 36px auto 0;
}
.film-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--pro-radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.film-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 24px;
}
.film-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.qr-card {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  color: var(--pro-ink);
  border-radius: var(--pro-radius);
  padding: 10px 14px 10px 10px;
}
.qr-card img {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  image-rendering: pixelated;
}
.qr-card figcaption {
  font-family: "IBM Plex Sans Arabic", Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--pro-ink);
  max-width: 14em;
}
.guides-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.sib-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
@media (max-width: 560px) {
  .film-share { flex-direction: column; align-items: stretch; }
  .qr-card { justify-content: flex-start; }
  .film-share-actions .btn { width: 100%; }
}
