/* Al-Wajiha al-Maftouha (ar-JO, RTL) — keynote studio. Ice white, brushed titanium, graphite, one power-LED orange. */
:root {
  --ice: #F2F5F7;
  --ti: #DCE0E4;
  --ti-2: #C9CED4;
  --ti-hi: #FBFCFD;
  --ink: #1C2024;
  --ink-2: #474F57;
  --led: #FF5B14;
  --forged: #B83A0A;
  --line: rgba(28, 32, 36, .14);
  --display: 'Alexandria', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --body: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: min(1240px, 100% - 2.5rem);
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--ice); color: var(--ink);
  font: 400 1.125rem/1.85 var(--body); overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forged); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--led); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.35; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.75rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.eyebrow {
  font: 700 .86rem/1.5 var(--body);
  color: var(--ink-2); margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--led); box-shadow: 0 0 0 3px rgba(255, 91, 20, .18); flex: none; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; background: var(--ink); color: var(--ice); padding: .6rem 1rem; border-radius: 8px; z-index: 50; }
.skip:focus { top: 1rem; }

/* Buttons: machined pills */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .75rem 1.4rem;
  border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
  font: 700 .95rem/1 var(--body);
  background: var(--led); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 24px -12px rgba(184, 58, 10, .7);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 14px 28px -12px rgba(184, 58, 10, .8); }
.btn--ghost { background: var(--ti-hi); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 6px 16px -12px rgba(28, 32, 36, .5); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink), 0 8px 18px -12px rgba(28, 32, 36, .5); }

/* Header bar: frosted glass strip */
.bar { position: sticky; top: 0; z-index: 30; background: rgba(242, 245, 247, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.bar__in { width: var(--wrap); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; }
.brand__word { font: 400 1.15rem/1 var(--display); }
.brand__word b { font-weight: 700; margin-inline-start: .3em; }
.mark { color: var(--ink); flex: none; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.menu a { display: block; padding: .55rem .8rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .92rem; }
.menu a:hover { background: var(--ti); }
.menu a[aria-current="page"] { background: var(--ink); color: var(--ice); }
.menu-btn { display: none; }
@media (max-width: 1080px) {
  .js .menu-btn {
    display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1rem;
    border-radius: 999px; border: 1px solid var(--line); background: var(--ti-hi); color: var(--ink);
    font: 700 .9rem/1 var(--body); cursor: pointer;
  }
  .menu-btn__led { width: .5rem; height: .5rem; border-radius: 50%; background: var(--ti-2); transition: background .2s; }
  .menu-btn[aria-expanded="true"] .menu-btn__led { background: var(--led); box-shadow: 0 0 8px var(--led); }
  .js .menu { display: none; width: 100%; padding-bottom: 1rem; }
  .js .menu.is-open { display: block; }
  .menu ul { flex-direction: column; }
  .menu a { padding: .8rem 1rem; border-radius: 12px; }
  /* without JS the menu simply wraps under the brand */
  html:not(.js) .menu { width: 100%; padding-bottom: .5rem; }
  html:not(.js) .menu ul { flex-direction: row; }
}

/* ---------- HOME: reveal ---------- */
.reveal { width: var(--wrap); margin: 0 auto; padding: clamp(2.5rem, 6vw, 5.5rem) 0 2rem; display: grid; gap: 2rem; }
.reveal__copy { max-width: 58rem; margin: 0 auto; text-align: center; }
.reveal__copy .eyebrow { justify-content: center; }
.reveal h1 { font-size: clamp(2.1rem, 1rem + 4.4vw, 4.4rem); line-height: 1.3; margin-bottom: .35em; }
.reveal__lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); max-width: 44rem; margin: 0 auto 1.6rem; }
.reveal__cta { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.reveal__stage {
  position: relative; border-radius: calc(var(--r) * 1.6); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, var(--ti-hi), var(--ti) 60%, var(--ti-2));
  box-shadow: inset 0 1px 0 #fff, 0 40px 80px -50px rgba(28, 32, 36, .45);
}
.reveal__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.js .reveal__img { animation: rise 1.4s var(--ease) both .1s; }
@keyframes rise { from { transform: translateY(24px) scale(.985); } to { transform: none; } }
.specs { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.specs__i { padding-block-start: 1.1rem; padding-inline-end: 1.2rem; }
.specs__i + .specs__i { padding-inline-start: 1.2rem; border-inline-start: 1px solid var(--line); }
.specs dt { font: 700 .86rem/1.5 var(--body); color: var(--ink-2); }
.specs__v { margin: .35rem 0 .3rem; font: 700 clamp(1.4rem, 1rem + 1.2vw, 2rem)/1.3 var(--display); }
.specs__n { margin: 0; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 720px) {
  .specs { grid-template-columns: 1fr; }
  .specs__i + .specs__i { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); margin-top: 1rem; }
}

.brief { width: var(--wrap); margin: 1rem auto 0; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--r); background: var(--ti); box-shadow: inset 0 1px 0 var(--ti-hi); display: grid; grid-template-columns: 9rem 1fr; gap: 1rem 2rem; align-items: start; }
.brief p { margin: 0; font-size: 1.15rem; line-height: 1.85; max-width: 62rem; }
.brief .eyebrow { margin: .35rem 0 0; }
@media (max-width: 720px) { .brief { grid-template-columns: 1fr; } }

/* ---------- HOME: chapters with pinned exploded stack ---------- */
.chapters { width: var(--wrap); margin: clamp(3rem, 8vw, 6rem) auto 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); }
.stack__pin { position: sticky; top: 6rem; padding: 1.5rem 1rem 1rem; border-radius: calc(var(--r) * 1.4); background: linear-gradient(180deg, var(--ti-hi), var(--ti)); box-shadow: inset 0 1px 0 #fff, 0 30px 60px -45px rgba(28, 32, 36, .5); }
.stack__svg { width: 100%; height: auto; max-height: 62vh; display: block; margin: 0 auto; overflow: visible; }
.plate { transition: opacity .5s var(--ease), transform .6s var(--ease); }
.plate__top { fill: rgba(251, 252, 253, .92); stroke: rgba(28, 32, 36, .28); stroke-width: 1; }
.plate__side { fill: #B9BFC6; }
.plate__edge { fill: none; stroke: transparent; stroke-width: 3; stroke-linejoin: round; }
.stack[data-active] .plate { opacity: .32; }
.stack[data-active="lobby"] .plate[data-layer="lobby"],
.stack[data-active="legal"] .plate[data-layer="legal"],
.stack[data-active="cashier"] .plate[data-layer="cashier"],
.stack[data-active="settings"] .plate[data-layer="settings"],
.stack[data-active="support"] .plate[data-layer="support"] { opacity: 1; }
.stack[data-active="lobby"] .plate[data-layer="lobby"] .plate__edge,
.stack[data-active="legal"] .plate[data-layer="legal"] .plate__edge,
.stack[data-active="cashier"] .plate[data-layer="cashier"] .plate__edge,
.stack[data-active="settings"] .plate[data-layer="settings"] .plate__edge,
.stack[data-active="support"] .plate[data-layer="support"] .plate__edge { stroke: var(--led); filter: drop-shadow(0 0 6px rgba(255, 91, 20, .8)); }
.stack__legend { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; counter-reset: lay; }
.stack__legend li { counter-increment: lay; font: 700 .86rem/1.5 var(--body); padding: .45rem .7rem; border-radius: 999px; background: var(--ice); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s; }
.stack__legend li::before { content: counter(lay) " · "; }
.stack[data-active="lobby"] li[data-layer="lobby"], .stack[data-active="legal"] li[data-layer="legal"], .stack[data-active="cashier"] li[data-layer="cashier"], .stack[data-active="settings"] li[data-layer="settings"], .stack[data-active="support"] li[data-layer="support"] { background: var(--ink); color: var(--ice); }
.chapter { padding: 0 0 clamp(3.5rem, 8vw, 6.5rem); max-width: 40rem; }
.chapter__no { font: 700 .86rem/1.5 var(--body); color: var(--forged); margin-bottom: .9rem; }
.chapter__fig { margin: 0 0 1.5rem; border-radius: var(--r); overflow: hidden; background: var(--ti); }
.chapter__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.crop-left img { object-position: 0% 50%; }
.crop-center img { object-position: 55% 50%; }
.crop-right img { object-position: 100% 50%; }
.chapter__fig.crop-left img { aspect-ratio: 4 / 3; }
@media (max-width: 900px) {
  .chapters { grid-template-columns: 1fr; }
  .stack { display: none; }
}

.chatmock { margin: 0 0 1.5rem; padding: 1.2rem; border-radius: var(--r); background: linear-gradient(180deg, var(--ti-hi), var(--ti)); box-shadow: inset 0 1px 0 #fff; display: grid; gap: .6rem; }
.chatmock p { margin: 0; padding: .7rem 1rem; border-radius: 16px; max-width: 86%; font-size: .95rem; line-height: 1.45; }
.chatmock__me { justify-self: end; background: var(--ink); color: var(--ice); border-end-end-radius: 4px; }
.chatmock__op { background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-end-start-radius: 4px; }
.chatmock .chatmock__hint { justify-self: center; background: none; padding: .2rem 0 0; font: 700 .86rem/1.5 var(--body); color: var(--forged); max-width: none; }

/* Lists, notes, steps */
.list { padding-inline-start: 0; list-style: none; margin: 0 0 1.25rem; display: grid; gap: .55rem; }
.list li { position: relative; padding-inline-start: 1.6rem; }
.list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .78em; width: .7rem; height: .32rem; border-radius: 4px; background: var(--ti-2); box-shadow: inset 0 0 0 1px rgba(28, 32, 36, .25); }
.list li:first-child::before { background: var(--led); box-shadow: none; }
.note { margin: 0 0 1.25rem; padding: 1.1rem 1.25rem; border-radius: 14px; background: var(--ti-hi); box-shadow: inset 0 0 0 1px var(--line); }
.note p:last-child { margin: 0; }
.note__t { font: 700 .95rem/1.3 var(--display); margin-bottom: .35rem; display: flex; gap: .55rem; align-items: center; }
.note--tip .note__t::before { content: ""; width: 1.6rem; height: .9rem; border-radius: 999px; background: var(--led); box-shadow: inset .5rem 0 0 .12rem var(--led), inset -.3rem 0 0 0 #fff; flex: none; }
.note--ex { background: var(--ti); box-shadow: inset -3px 0 0 var(--ink); }
.note--ex .note__t::before { content: "مثال"; font: 700 .86rem/1.5 var(--body); padding: .3rem .5rem; border-radius: 6px; background: var(--ink); color: var(--ice); }
.steps { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0; }
.steps li { position: relative; padding-block: 0 1.4rem; padding-inline-start: 2.6rem; }
.steps li::before { content: ""; position: absolute; inset-inline-start: .55rem; top: 1.2rem; bottom: 0; width: 2px; background: var(--ti-2); }
.steps li:last-child::before { display: none; }
.steps__led { position: absolute; inset-inline-start: 0; top: .45rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--ti-hi); box-shadow: inset 0 0 0 2px var(--ink); }
.steps li:first-child .steps__led { background: var(--led); box-shadow: 0 0 0 4px rgba(255, 91, 20, .2); }
.steps h3 { margin: 0 0 .25rem; }
.steps p { margin: 0; color: var(--ink-2); }

/* Spec sheet */
.sheet { width: var(--wrap); margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 3rem); border-radius: calc(var(--r) * 1.6); background: var(--ti); box-shadow: inset 0 1px 0 var(--ti-hi); }
.sheet__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; margin-bottom: 2rem; }
.sheet__intro { color: var(--ink-2); max-width: 34rem; }
.sheet__img { border-radius: var(--r); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
@media (max-width: 800px) { .sheet__head { grid-template-columns: 1fr; } }
.spec-wrap { overflow-x: auto; margin: 0 0 1.5rem; border-radius: 14px; }
.spec { width: 100%; border-collapse: collapse; font-size: .97rem; background: var(--ti-hi); }
.spec caption { text-align: start; font: 700 .86rem/1.5 var(--body); color: var(--ink-2); padding: 0 0 .8rem; }
.spec th, .spec td { text-align: start; vertical-align: top; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
.spec thead th { font: 700 .86rem/1.5 var(--body); background: var(--ink); color: var(--ice); }
.spec tbody th { font-family: var(--display); font-weight: 700; white-space: nowrap; }
.spec tbody tr:hover { background: #fff; }
.sheet .spec-wrap { margin: 0; }
@media (max-width: 640px) {
  .spec thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: 100%; }
  .spec tr { padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
  .spec th, .spec td { border: 0; padding: .15rem 0; }
  .spec tbody th { white-space: normal; font-size: 1.05rem; margin-bottom: .2rem; }
  .spec td + td { color: var(--ink-2); }
}

/* Inspection tool */
.inspection { width: var(--wrap); margin: clamp(3.5rem, 8vw, 6rem) auto 0; }
.inspection > h2 { max-width: 40rem; }
.inspection > p { max-width: 46rem; color: var(--ink-2); }
.insp { margin: 2rem 0; }
.insp__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2rem; align-items: start; }
.insp__checks { display: grid; gap: 1rem; }
.insp__group { margin: 0; padding: 1rem 1.2rem .4rem; border: 0; border-radius: var(--r); background: var(--ti-hi); box-shadow: inset 0 0 0 1px var(--line); }
.insp__group legend { float: right; width: 100%; padding: 0 0 .6rem; font: 700 .86rem/1.5 var(--body); color: var(--ink-2); }
.q { clear: both; padding: .7rem 0 .8rem; border-top: 1px solid var(--line); }
.q__t { margin: 0 0 .6rem; display: flex; gap: .7rem; font-weight: 400; }
.q__n { font: 700 .85rem/1.9 var(--display); color: var(--ink-2); flex: none; }
.q[data-critical] .q__t::after { content: "نقطة أساسية"; align-self: center; flex: none; margin-inline-start: auto; font: 700 .86rem/1.5 var(--body); padding: .3rem .45rem; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--forged); color: var(--forged); }
.q__opts { display: flex; flex-wrap: wrap; gap: .4rem; padding-inline-start: 1.9rem; }
.q__opts label { position: relative; cursor: pointer; }
.q__opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.q__opts span { display: inline-flex; align-items: center; min-height: 40px; padding: .45rem .9rem; border-radius: 999px; font-size: .9rem; font-weight: 700; background: var(--ice); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s, box-shadow .2s; }
.q__opts label:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.q__opts input:focus-visible + span { outline: 3px solid var(--led); outline-offset: 2px; }
.q__opts input[value="yes"]:checked + span { background: var(--led); color: var(--ink); box-shadow: none; }
.q__opts input[value="no"]:checked + span { background: var(--ink); color: var(--ice); box-shadow: none; }
.q__opts input[value="unsure"]:checked + span { background: var(--ti-2); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.insp__panel { position: sticky; top: 6rem; padding: 1.5rem; border-radius: calc(var(--r) * 1.3); background: linear-gradient(180deg, var(--ti-hi), var(--ti)); box-shadow: inset 0 1px 0 #fff, 0 30px 60px -45px rgba(28, 32, 36, .5); text-align: center; }
html:not(.js) .ring, html:not(.js) .insp__actions, html:not(.js) .clock, html:not(.js) .insp__legend, html:not(.js) .insp__status { display: none; }
.ring { position: relative; width: min(220px, 70%); margin: 0 auto 1rem; }
/* RTL: the ring fills counter-clockwise, starting at the top */
.ring__svg { width: 100%; height: auto; transform: scaleX(-1); }
.seg { fill: none; stroke: var(--ti-2); stroke-width: 11; stroke-linecap: butt; transition: stroke .35s var(--ease); }
.seg.is-yes { stroke: var(--led); }
.seg.is-no { stroke: var(--ink); }
.seg.is-unsure { stroke: #8A929B; }
.ring__c { position: absolute; inset: 0; margin: 0; display: grid; place-content: center; }
.ring__n { font: 700 3rem/1 var(--display); }
.ring__of { font-size: .85rem; color: var(--ink-2); }
.insp__status { font-weight: 700; min-height: 3.2em; margin-bottom: .8rem; }
.insp__legend { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; justify-content: center; gap: .9rem; flex-wrap: wrap; font-size: .82rem; color: var(--ink-2); }
.k { display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; vertical-align: -.1em; margin-inline-end: .35rem; }
.k--yes { background: var(--led); } .k--no { background: var(--ink); } .k--unsure { background: #8A929B; }
.clock { display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; font-size: .9rem; margin-bottom: .4rem; position: relative; }
.clock input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.clock__sw { width: 2.4rem; height: 1.35rem; border-radius: 999px; background: var(--ti-2); position: relative; transition: background .2s; box-shadow: inset 0 0 0 1px var(--line); }
.clock__sw::after { content: ""; position: absolute; top: .15rem; inset-inline-start: .15rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s var(--ease); }
.clock input:checked + .clock__sw { background: var(--led); }
.clock input:checked + .clock__sw::after { transform: translateX(-1.05rem); }
.clock input:focus-visible + .clock__sw { outline: 3px solid var(--led); outline-offset: 2px; }
.clock__out { font-size: .9rem; color: var(--ink-2); margin: 0 0 .5rem; }
.insp__actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: .8rem 0; }
.insp__help { font-size: .82rem; color: var(--ink-2); margin: 0; }
.printout { display: none; }
@media (max-width: 900px) {
  .insp__grid { grid-template-columns: 1fr; }
  .insp__panel { position: static; order: -1; }
  .q__opts { padding-inline-start: 0; }
}

/* Promo: accessoire inclus */
.addon { margin: 2.5rem 0; }
.addon__plate {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.5rem;
  padding: 1.5rem 1.75rem; border-radius: 26px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .0) 0 2px, rgba(255, 255, 255, .22) 2px 3px),
    linear-gradient(180deg, #E7EAED, #C4CAD0);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(28, 32, 36, .18), 0 24px 50px -30px rgba(28, 32, 36, .6);
}
.addon__disc { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: radial-gradient(circle at 35% 30%, #fff, #D2D7DC 45%, #A7AEB5);
  box-shadow: inset 0 0 0 5px rgba(255, 91, 20, .95), 0 0 22px rgba(255, 91, 20, .55), inset 0 -6px 12px rgba(0, 0, 0, .15); }
.addon__disc span { width: 30px; height: 30px; border-radius: 50%; border: 4px solid var(--ink); border-top-color: transparent; position: relative; }
.addon__disc span::after { content: ""; position: absolute; left: 50%; top: -9px; width: 4px; height: 16px; margin-left: -2px; background: var(--ink); border-radius: 2px; }
.addon__tag { font: 700 .86rem/1.5 var(--body); color: var(--ink); margin: 0 0 .5rem; }
.addon__code { font: 700 clamp(1.3rem, 1rem + 1.2vw, 1.85rem)/1.1 var(--display); margin: 0 0 .45rem; color: var(--ink); text-shadow: 0 1px 0 rgba(255, 255, 255, .7); }
.addon__note { font-size: .92rem; margin: 0 0 1rem; color: #2E343A; max-width: 34rem; }
.addon__art { width: 190px; height: auto; border-radius: 18px; mix-blend-mode: multiply; }
.addon__small { margin: .7rem 0 0; margin-inline-start: 1.75rem; font-size: .8rem; color: var(--ink-2); }
@media (max-width: 760px) {
  .addon__plate { grid-template-columns: 1fr; text-align: start; padding: 1.4rem; }
  .addon__disc { width: 70px; height: 70px; }
  .addon__art { display: none; }
  .addon__small { margin-inline-start: 0; }
}

/* In the box: accessories grid */
.box { width: var(--wrap); margin: clamp(3rem, 7vw, 5rem) auto 0; }
.box__grid { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.acc a { display: flex; flex-direction: column; height: 100%; padding: .75rem .75rem 1.3rem; border-radius: calc(var(--r) * 1.2); background: var(--ti-hi); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.acc a:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--ink), 0 24px 40px -30px rgba(28, 32, 36, .6); }
.acc__fig { display: block; border-radius: var(--r); overflow: hidden; background: var(--ti); margin-bottom: 1rem; }
.acc__fig img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.acc__k { padding: 0 .5rem; font: 700 .86rem/1.5 var(--body); color: var(--forged); }
.acc__t { padding: .5rem .5rem .4rem; font: 700 1.25rem/1.15 var(--display); }
.acc__d { padding: 0 .5rem; font-size: .93rem; color: var(--ink-2); }
@media (max-width: 860px) { .box__grid { grid-template-columns: 1fr; } .acc__fig img { aspect-ratio: 16 / 9; } }

/* FAQ as settings toggles */
.faq { width: var(--wrap); margin: clamp(3rem, 7vw, 5rem) auto clamp(3rem, 7vw, 5rem); max-width: 54rem; }
.faq__list { border-radius: var(--r); background: var(--ti-hi); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.toggle + .toggle { border-top: 1px solid var(--line); }
.toggle summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; font-weight: 700; }
.toggle summary::-webkit-details-marker { display: none; }
.toggle summary:hover { background: #fff; }
.switch { flex: none; width: 2.6rem; height: 1.45rem; border-radius: 999px; background: var(--ti-2); position: relative; box-shadow: inset 0 0 0 1px var(--line); transition: background .25s; }
.switch::after { content: ""; position: absolute; top: .17rem; inset-inline-start: .17rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .25s var(--ease); }
.toggle[open] .switch { background: var(--led); }
.toggle[open] .switch::after { transform: translateX(-1.15rem); }
.toggle p { margin: 0; padding: 0 1.3rem 1.3rem; color: var(--ink-2); max-width: 46rem; }
.guide .faq, .gtext .faq { width: auto; margin: 3rem 0 0; }

/* ---------- GUIDES ---------- */
.ghead { width: var(--wrap); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.ghead h1 { font-size: clamp(1.9rem, 1rem + 3vw, 3.3rem); line-height: 1.3; }
.ghead__intro { font-size: 1.15rem; color: var(--ink-2); max-width: 40rem; }
.ghead__fig { margin: 0; border-radius: calc(var(--r) * 1.4); overflow: hidden; background: var(--ti); }
.ghead__fig img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 860px) { .ghead { grid-template-columns: 1fr; } .ghead__fig img { aspect-ratio: 16 / 10; } }
.brief--guide { margin-bottom: 0; }
.gbody { width: var(--wrap); margin: clamp(2.5rem, 6vw, 4rem) auto 0; display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.gtoc { position: sticky; top: 6rem; padding: 1.1rem; border-radius: var(--r); background: var(--ti); }
.gtoc__t { font: 700 .86rem/1.5 var(--body); color: var(--ink-2); margin-bottom: .8rem; }
.gtoc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: .2rem; }
.gtoc a { display: block; padding: .45rem .55rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .9rem; line-height: 1.3; }
.gtoc a:hover, .gtoc a.is-on { background: var(--ti-hi); box-shadow: inset -3px 0 0 var(--led); }
.gtext { max-width: 44rem; }
.gsec { padding-bottom: 2.2rem; }
.gsec h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
@media (max-width: 900px) { .gbody { grid-template-columns: 1fr; } .gtoc { position: static; } }
.more { width: var(--wrap); margin: 2rem auto clamp(3rem, 7vw, 5rem); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: calc(var(--r) * 1.4); background: var(--ink); color: var(--ice); }
.more h2 { font-size: clamp(1.4rem, 1rem + 1.2vw, 1.9rem); }
.more ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.more a { display: block; height: 100%; padding: 1rem 1.1rem; border-radius: 14px; background: #2A3036; color: var(--ice); text-decoration: none; font: 700 1.05rem/1.25 var(--display); }
.more a:hover { box-shadow: inset 0 0 0 2px var(--led); }
.more__k { display: block; font: 700 .86rem/1.5 var(--body); color: #FF8A57; margin-bottom: .5rem; }
@media (max-width: 860px) { .more ul { grid-template-columns: 1fr; } }

/* ---------- SIMPLE PAGES ---------- */
.phead { width: var(--wrap); max-width: 52rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem; }
.phead h1 { font-size: clamp(1.9rem, 1rem + 2.8vw, 3.1rem); line-height: 1.3; }
.phead__intro { font-size: 1.15rem; color: var(--ink-2); }
.ptext { width: var(--wrap); max-width: 52rem; margin: 0 auto clamp(3rem, 7vw, 5rem); padding: clamp(1.4rem, 4vw, 2.5rem); border-radius: calc(var(--r) * 1.3); background: var(--ti-hi); box-shadow: inset 0 0 0 1px var(--line); }
.psec + .psec { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.psec h2 { font-size: clamp(1.35rem, 1rem + 1vw, 1.75rem); }
.page--responsible .ptext { box-shadow: inset 0 4px 0 var(--ink), inset 0 0 0 1px var(--line); }
.lost { width: var(--wrap); max-width: 52rem; margin: 0 auto 5rem; padding: 0; list-style: none; display: grid; gap: .6rem; }
.lost a { display: block; padding: 1rem 1.2rem; border-radius: 14px; background: var(--ti); color: var(--ink); font-weight: 700; text-decoration: none; }
.lost a:hover { box-shadow: inset -3px 0 0 var(--led); }

/* Footer */
.foot { background: var(--ti); border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; font-size: .92rem; }
.foot__in { width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1.4fr auto; gap: 2rem; }
.foot__brand { display: flex; align-items: center; gap: .6rem; font: 700 1.1rem/1 var(--display); }
.age { display: inline-grid; place-items: center; min-width: 2.6rem; height: 1.7rem; margin-inline-end: .4rem; border-radius: 999px; background: var(--ink); color: var(--ice); font-weight: 700; font-size: .8rem; }
.foot__legal p { color: #353B41; }
.foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; align-content: start; }
.foot__links a { color: var(--ink); }
@media (max-width: 860px) { .foot__in { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Print: the inspection summary only */
@media print {
  @page { margin: 16mm; }
  body { background: #fff; font-size: 11pt; }
  body[data-page="home"].printing > *:not(main), body.printing main > *:not(.inspection), body.printing .inspection > *:not(.insp), body.printing .insp__grid { display: none !important; }
  body.printing .printout { display: block; }
  .printout h2 { font-size: 18pt; margin-bottom: 6pt; }
  .printout table { width: 100%; border-collapse: collapse; }
  .printout th, .printout td { text-align: start; padding: 5pt 4pt; border-bottom: 1px solid #999; vertical-align: top; }
  .printout .pv { font-weight: 700; white-space: nowrap; }
  .bar, .foot, .addon, .menu-btn, .skip { display: none !important; }
}

/* Stack glyphs + hero safety */
.plate__glyph { fill: rgba(28, 32, 36, .22); transition: fill .4s var(--ease); }
.plate__side { fill: #A9B0B7; }
.stack[data-active="lobby"] .plate[data-layer="lobby"] .plate__glyph,
.stack[data-active="legal"] .plate[data-layer="legal"] .plate__glyph,
.stack[data-active="cashier"] .plate[data-layer="cashier"] .plate__glyph,
.stack[data-active="settings"] .plate[data-layer="settings"] .plate__glyph,
.stack[data-active="support"] .plate[data-layer="support"] .plate__glyph { fill: var(--led); }
.spec caption { padding: 0 .3rem .8rem; }
@media (max-width: 640px) {
  .spec caption { display: block; width: auto; padding: 0 0 .8rem; }
  .spec { background: transparent; }
  .spec tbody { background: var(--ti-hi); border-radius: 14px; }
}

/* Arabic/RTL refinements */
bdi[dir="ltr"] { unicode-bidi: isolate; }
.acc__t, .more a { line-height: 1.45; }
.addon__code { line-height: 1.35; }
.toggle summary { line-height: 1.6; }
.chatmock p { line-height: 1.7; }
.q__t { line-height: 1.7; }
