/* ═══════════════════════════════════════════════════════════════════════
   datfit — "Atelier tape" design system
   Ink + bone paper + measuring-tape yellow. Editorial serif display,
   grotesk body, mono measurements. Bilingual (EN / AR, RTL).
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --ink: #14110e;
  --ink-2: #1f1b17;
  --ink-3: #2b2621;
  --bone: #f2ece1;
  --paper: #faf6ef;
  --tape: #f4c430;
  --tape-2: #ffd966;
  --chalk: #e4572e;
  --sage: #2f7a55;
  --muted: #6d665c;
  --muted-d: #a8a094;
  --line: rgba(20, 17, 14, .12);
  --line-d: rgba(242, 236, 225, .14);

  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --display-weight: 400;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shell: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  color-scheme: light;
}

html[lang="ar"] {
  --serif: 'Alexandria', 'IBM Plex Sans Arabic', sans-serif;
  --sans: 'IBM Plex Sans Arabic', 'Hanken Grotesk', system-ui, sans-serif;
  --display-weight: 700;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--tape); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--tape); outline-offset: 3px; border-radius: 6px; }

/* Bilingual content: <span class="en">…</span><span class="ar">…</span> */
html:not([lang="ar"]) .ar, html[lang="ar"] .en { display: none !important; }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* Film grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ─── Type ──────────────────────────────────────────────── */
.display {
  font-family: var(--serif);
  font-weight: var(--display-weight);
  font-size: clamp(44px, 7.2vw, 108px);
  line-height: .95;
  letter-spacing: -.025em;
}
html[lang="ar"] .display { line-height: 1.22; letter-spacing: -.01em; font-size: clamp(36px, 5.6vw, 80px); }
.display em, .h2 em { font-style: italic; }
html[lang="ar"] .display em, html[lang="ar"] .h2 em { font-style: normal; }
.h2 {
  font-family: var(--serif);
  font-weight: var(--display-weight);
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -.02em;
}
html[lang="ar"] .h2 { line-height: 1.3; font-size: clamp(28px, 3.6vw, 48px); }
.h3 { font-size: clamp(19px, 1.6vw, 22px); font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--muted); max-width: 58ch; }
.on-ink .lede { color: var(--muted-d); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
html[lang="ar"] .eyebrow { font-family: var(--sans); letter-spacing: 0; font-size: 13.5px; font-weight: 600; }
.eyebrow::before {
  content: '';
  width: 26px;
  height: 9px;
  flex: none;
  background:
    linear-gradient(90deg, currentColor 1.5px, transparent 1.5px) 0 0 / 6.5px 5px repeat-x,
    linear-gradient(90deg, currentColor 1.5px, transparent 1.5px) 0 0 / 13px 9px repeat-x;
  opacity: .8;
}
.on-ink .eyebrow { color: var(--muted-d); }

mark.hl {
  background: linear-gradient(transparent 58%, var(--tape) 58%, var(--tape) 92%, transparent 92%);
  color: inherit;
  padding-inline: .06em;
}
.on-ink mark.hl { background: none; color: var(--tape); }

/* ─── Logo ──────────────────────────────────────────────── */
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: 'Hanken Grotesk', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -.045em; line-height: 1; }
.logo svg { width: 30px; height: 30px; transition: transform .6s var(--ease); }
.logo:hover svg { transform: rotate(-12deg) scale(1.06); }

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  --shadow: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding-inline: 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg.arr { transform: translateX(4px); }
[dir="rtl"] .btn svg.arr { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg.arr { transform: scaleX(-1) translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-busy { opacity: .55; pointer-events: none; }
.btn-tape { background: var(--tape); color: var(--ink); box-shadow: 0 3px 0 var(--shadow); }
.btn-tape:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--shadow); }
.on-ink .btn-tape { --shadow: #8a6a00; }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-ink:hover { transform: translateY(-2px); background: var(--ink-3); }
.btn-ghost { border-color: var(--line); color: inherit; background: transparent; }
.btn-ghost:hover { border-color: currentColor; transform: translateY(-2px); }
.on-ink .btn-ghost { border-color: var(--line-d); }
.on-ink .btn-ghost:hover { border-color: var(--bone); }
.btn-lg { height: 60px; padding-inline: 32px; font-size: 17px; }
.btn-sm { height: 40px; padding-inline: 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.link { font-weight: 650; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; text-decoration-color: var(--tape); }
.link:hover { text-decoration-color: currentColor; }

/* ─── Tape ──────────────────────────────────────────────── */
.tape-band {
  position: relative;
  background: var(--tape);
  color: var(--ink);
  overflow: hidden;
  border-block: 1.5px solid var(--ink);
}
.tape-band::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 16px;
  background:
    linear-gradient(90deg, var(--ink) 1.5px, transparent 1.5px) 0 0 / 60px 16px repeat-x,
    linear-gradient(90deg, rgba(20,17,14,.6) 1px, transparent 1px) 0 0 / 12px 8px repeat-x;
  animation: tapeSlide 6s linear infinite;
}
@keyframes tapeSlide { to { background-position: -600px 0, -600px 0; } }
.marquee { display: flex; width: max-content; animation: marquee 38s linear infinite; padding-block: 26px 16px; }
[dir="rtl"] .marquee { animation-name: marqueeRtl; }
.marquee span { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); padding-inline: 22px; white-space: nowrap; display: inline-flex; align-items: center; gap: 22px; }
html[lang="ar"] .marquee span { font-weight: 700; font-size: clamp(18px, 2vw, 26px); }
.marquee span::after { content: '✦'; font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marqueeRtl { to { transform: translateX(50%); } }

.scroll-tape {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 5px;
  width: calc(var(--scroll, 0) * 100%);
  z-index: 200;
  background: var(--tape) linear-gradient(90deg, rgba(20,17,14,.55) 1px, transparent 1px) 0 0 / 10px 3px repeat-x;
  transition: width .1s linear;
}

/* ─── Nav ───────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s, color .3s;
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.nav-links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 999px; opacity: .8; transition: opacity .2s, background .2s; }
.nav-links a:hover { opacity: 1; background: rgba(127, 127, 127, .12); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav.is-scrolled { background: rgba(250, 246, 239, .82); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 1px 0 var(--line); }
.nav.on-ink { color: var(--bone); background: transparent; }
.nav.on-ink.is-scrolled { background: rgba(20, 17, 14, .82); box-shadow: 0 1px 0 var(--line-d); }
.lang-btn {
  height: 40px;
  min-width: 40px;
  padding-inline: 12px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color .2s, transform .2s;
}
.lang-btn:hover { border-color: currentColor; }
.on-ink .lang-btn { border-color: var(--line-d); }
.lang-btn .ar-glyph { font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 15px; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { margin-inline-start: auto; }
  .nav-cta .hide-sm { display: none; }
}

/* ─── Sections ──────────────────────────────────────────── */
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.on-ink { background: var(--ink); color: var(--bone); }
.on-bone { background: var(--bone); }
.pattern-paper {
  background-image: radial-gradient(rgba(20, 17, 14, .09) 1px, transparent 1.2px);
  background-size: 22px 22px;
}
.on-ink.pattern-paper { background-image: radial-gradient(rgba(242, 236, 225, .07) 1px, transparent 1.2px); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 780px; }

/* ─── Cards / forms ─────────────────────────────────────── */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); }
.on-ink .card { background: var(--ink-2); border-color: var(--line-d); }

.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field > label, .label { font-size: 13.5px; font-weight: 650; color: var(--ink); display: flex; justify-content: space-between; gap: 10px; }
.field .hint { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.input {
  width: 100%;
  height: 52px;
  padding-inline: 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
textarea.input { height: auto; padding-block: 14px; resize: vertical; }
.input:hover { border-color: rgba(20, 17, 14, .28); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(244, 196, 48, .45); }
.input[aria-invalid="true"] { border-color: var(--chalk); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2314110e' stroke-width='1.8' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-inline-end: 40px; }
[dir="rtl"] select.input { background-position: left 16px center; }
.form-error { display: none; padding: 12px 14px; border-radius: 12px; background: rgba(228, 87, 46, .1); color: #a8321a; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.form-error.is-on { display: block; animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding-inline: 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-weight: 600;
  font-size: 14.5px;
  transition: border-color .2s, background .2s, color .2s, transform .15s;
}
.chip:hover { border-color: var(--ink); }
.chip:active { transform: scale(.97); }
.chip.is-on, .chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.swatch { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line); position: relative; transition: transform .2s var(--ease), box-shadow .2s; padding: 0; }
.swatch:hover { transform: scale(1.08); }
.swatch.is-on { box-shadow: 0 0 0 2.5px var(--ink); }
.swatch-custom { overflow: hidden; background: conic-gradient(#f43f5e, #f59e0b, #22c55e, #06b6d4, #6366f1, #d946ef, #f43f5e); }
.swatch-custom input { position: absolute; inset: -6px; opacity: 0; cursor: pointer; }

.seg { display: inline-flex; flex-wrap: wrap; padding: 4px; gap: 4px; border-radius: 999px; background: rgba(20, 17, 14, .06); }
.seg button { border: 0; background: transparent; height: 38px; padding-inline: 16px; border-radius: 999px; font-weight: 650; font-size: 14px; color: var(--muted); transition: background .2s, color .2s; }
.seg button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

.pill { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding-inline: 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: rgba(20, 17, 14, .07); white-space: nowrap; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-live { background: rgba(47, 122, 85, .13); color: var(--sage); }
.pill-live .dot { box-shadow: 0 0 0 0 rgba(47, 122, 85, .6); animation: pulse 1.8s infinite; }
.pill-wait { background: rgba(244, 196, 48, .28); color: #7a5a00; }
.pill-bad { background: rgba(228, 87, 46, .12); color: #a8321a; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(47, 122, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 122, 85, 0); } }

.code {
  position: relative;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.7;
  background: var(--ink);
  color: #e9e2d4;
  border-radius: var(--r);
  padding: 20px 22px;
  overflow-x: auto;
  direction: ltr;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-all;
}
.code .t { color: #f4c430; } .code .a { color: #9fd3ff; } .code .s { color: #b6e3a1; }

/* ─── Toast ─────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 1000;
  transform: translate(-50%, 30px);
  opacity: 0;
  background: var(--ink);
  color: var(--bone);
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 14.5px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45);
  transition: transform .45s var(--ease), opacity .3s;
  pointer-events: none;
  max-width: calc(100vw - 32px);
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ─── Reveal on scroll ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.load-up { animation: loadUp 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes loadUp { from { opacity: 0; transform: translateY(26px); } }

/* ─── Footer ────────────────────────────────────────────── */
.footer { background: var(--ink); color: var(--muted-d); padding-block: 56px 36px; font-size: 14.5px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line-d); }
.footer .logo { color: var(--bone); }
.footer-cols { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 80px); }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col b { color: var(--bone); font-size: 13px; font-family: var(--mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
html[lang="ar"] .footer-col b { font-family: var(--sans); letter-spacing: 0; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--tape); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: 13px; }

/* ═══ GATE (/) ═════════════════════════════════════════════ */
.gate { min-height: 100svh; display: flex; flex-direction: column; background: var(--ink); color: var(--bone); position: relative; overflow: hidden; }
.gate-top { display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gutter); position: relative; z-index: 2; }
.gate-head { text-align: center; padding: clamp(6px, 2vh, 24px) var(--gutter) clamp(22px, 4vh, 40px); position: relative; z-index: 2; }
.gate-head .display { font-size: clamp(40px, 6vw, 88px); }
.gate-head p { margin-top: 12px; color: var(--muted-d); font-size: clamp(15px, 1.4vw, 18px); }
.gate-doors {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 0;
  padding: 0 var(--gutter) clamp(18px, 3vh, 32px);
  position: relative;
  z-index: 2;
  min-height: 460px;
}
.door {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 3.4vw, 48px);
  border-radius: var(--r-lg);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  animation: doorIn 1.1s var(--ease) both;
}
.door:hover { transform: translateY(-6px); }
.door-merchant { background: var(--tape); color: var(--ink); animation-delay: .15s; box-shadow: 0 30px 60px -30px rgba(244, 196, 48, .45); }
.door-shopper { background: var(--bone); color: var(--ink); animation-delay: .3s; }
@keyframes doorIn { from { opacity: 0; transform: translateY(40px) scale(.98); } }
.door-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.door-num { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; }
html[lang="ar"] .door-num, html[lang="ar"] .mock-brand, html[lang="ar"] .finder-count, html[lang="ar"] .setup-preview-store, html[lang="ar"] .step-num { font-family: var(--sans); letter-spacing: 0; font-weight: 600; }
.door-title { font-family: var(--serif); font-weight: var(--display-weight); font-size: clamp(44px, 5.2vw, 84px); line-height: .92; letter-spacing: -.03em; }
html[lang="ar"] .door-title { line-height: 1.15; font-size: clamp(38px, 4.4vw, 68px); }
.door-sub { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.45; max-width: 30ch; margin-top: 14px; opacity: .78; }
.door-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 16px; padding-top: 20px; border-top: 1.5px solid rgba(20, 17, 14, .2); }
.door-arrow { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--bone); display: grid; place-items: center; flex: none; transition: width .5s var(--ease), border-radius .5s var(--ease); }
.door-arrow svg { width: 22px; height: 22px; }
[dir="rtl"] .door-arrow svg { transform: scaleX(-1); }
.door:hover .door-arrow { width: 92px; border-radius: 999px; }
.door-art { position: absolute; inset-inline-end: 4%; top: 7%; width: 34%; max-width: 230px; z-index: -1; transition: transform .8s var(--ease); pointer-events: none; }
.door-sub, .door-title { position: relative; }
.door:hover .door-art { transform: translateY(-8px) rotate(-2deg); }
.gate-tape {
  position: relative;
  margin-inline: 16px;
  border-radius: 8px;
  background: var(--tape);
  overflow: hidden;
  animation: tapeDraw 1.2s var(--ease) .1s both;
  transform-origin: top;
}
.gate-tape::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--ink) 1.5px, transparent 1.5px) 0 0 / 18px 50px repeat-y,
    linear-gradient(180deg, rgba(20,17,14,.55) 1px, transparent 1px) 0 0 / 9px 10px repeat-y;
  animation: tapeV 5s linear infinite;
}
.gate-tape span { position: absolute; inset-inline-start: 22px; font-family: var(--mono); font-size: 10px; color: var(--ink); writing-mode: vertical-rl; letter-spacing: .2em; top: 50%; transform: translateY(-50%); white-space: nowrap; }
@keyframes tapeV { to { background-position: 0 500px, 0 500px; } }
@keyframes tapeDraw { from { transform: scaleY(0); } }
.gate-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 0 var(--gutter) 20px; font-size: 13px; color: var(--muted-d); position: relative; z-index: 2; }
.gate-foot a { text-decoration: none; }
.gate-foot a:hover { color: var(--tape); }
.gate-foot nav { display: flex; gap: 18px; }
.gate-glow { position: absolute; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(circle, rgba(244, 196, 48, .14), transparent 60%); top: -30vw; left: -15vw; z-index: 1; pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(20vw, 12vh); } }
@media (max-width: 860px) {
  .gate-doors { grid-template-columns: 1fr; grid-template-rows: auto 44px auto; }
  .gate-tape { margin: 14px 0; animation: none; }
  .gate-tape::before { background: linear-gradient(90deg, var(--ink) 1.5px, transparent 1.5px) 0 0 / 50px 18px repeat-x, linear-gradient(90deg, rgba(20,17,14,.55) 1px, transparent 1px) 0 0 / 10px 9px repeat-x; animation: tapeSlide 6s linear infinite; }
  .gate-tape span { writing-mode: horizontal-tb; top: auto; bottom: 5px; transform: none; }
  .door { min-height: 330px; }
  .door-art { width: 40%; top: 10%; }
}

/* ═══ MERCHANTS ════════════════════════════════════════════ */
.m-hero { background: var(--ink); color: var(--bone); position: relative; overflow: hidden; margin-top: -76px; padding-top: calc(76px + clamp(28px, 5vw, 70px)); padding-bottom: clamp(90px, 11vw, 140px); }
.m-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.m-hero .display { margin-block: 22px 26px; }
html[lang="ar"] .m-hero .display { font-size: clamp(32px, 4.2vw, 60px); line-height: 1.35; }
.m-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.m-hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--muted-d); font-size: 14px; }
.m-hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.m-hero-trust svg { width: 16px; height: 16px; color: var(--tape); }
@media (max-width: 960px) { .m-hero-grid { grid-template-columns: 1fr; } .mock-wrap { margin-inline: 12px 24px; } }

/* Product mock */
.mock-wrap { position: relative; }
.mock {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-radius: 26px;
  padding: 18px;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);
  transform: rotate(1.2deg);
  animation: mockIn 1.2s var(--ease) .3s both;
}
[dir="rtl"] .mock { transform: rotate(-1.2deg); }
@keyframes mockIn { from { opacity: 0; transform: translateY(40px) rotate(4deg); } }
.mock-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(20, 17, 14, .15); }
.mock-body { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mock-img { aspect-ratio: 4 / 5; border-radius: 16px; background: linear-gradient(160deg, #e9dcc7, #d9c6a8); display: grid; place-items: center; overflow: hidden; }
.mock-img svg { width: 78%; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-8px) rotate(-1.5deg); } }
.mock-info { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.mock-brand { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.mock-title { font-weight: 700; font-size: 17px; line-height: 1.2; }
.mock-price { font-weight: 600; color: var(--muted); }
.mock-sizes { display: flex; gap: 6px; flex-wrap: wrap; direction: ltr; }
.mock-sizes b { width: 36px; height: 36px; border-radius: 9px; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 12.5px; font-weight: 700; }
.mock-sizes b.pick { animation: pickSize 9s var(--ease) infinite; }
@keyframes pickSize { 0%, 62% { background: transparent; color: inherit; border-color: var(--line); } 66%, 96% { background: var(--ink); color: var(--bone); border-color: var(--ink); } }
.mock-find { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.mock-find svg { width: 14px; height: 14px; color: #c48f00; }
.mock-add { height: 40px; border-radius: 10px; background: var(--ink); color: var(--bone); display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-top: auto; }
.mock-pop {
  position: absolute;
  inset-inline-end: -22px;
  bottom: -34px;
  width: min(250px, 62%);
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
  animation: popCycle 9s var(--ease) infinite;
}
@keyframes popCycle { 0%, 18% { opacity: 0; transform: translateY(20px) scale(.9); } 26%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(10px) scale(.96); } }
.mock-pop small { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
html[lang="ar"] .mock-pop small { font-family: var(--sans); letter-spacing: 0; font-size: 11.5px; }
.mock-pop-row { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.mock-pop-size { font-family: 'Hanken Grotesk', sans-serif; font-size: 54px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.mock-ring { width: 58px; height: 58px; position: relative; }
.mock-ring svg { transform: rotate(-90deg); }
.mock-ring circle { fill: none; stroke-width: 6; }
.mock-ring .bg { stroke: var(--bone); }
.mock-ring .fg { stroke: var(--tape); stroke-linecap: round; stroke-dasharray: 157; animation: ringFill 9s var(--ease) infinite; }
@keyframes ringFill { 0%, 24% { stroke-dashoffset: 157; } 40%, 100% { stroke-dashoffset: 9; } }
.mock-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; font-weight: 800; font-family: 'Hanken Grotesk', sans-serif; }
.mock-pop-note { font-size: 12px; color: var(--muted); margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.mock-pop-powered { font-size: 10px; color: var(--muted); margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); text-align: center; font-family: 'Hanken Grotesk', sans-serif; }
.mock-pop-powered b { color: var(--ink); }
.cursor { position: absolute; width: 22px; height: 22px; z-index: 3; animation: cursorMove 9s var(--ease) infinite; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .3)); pointer-events: none; }
@keyframes cursorMove { 0% { top: 90%; left: 20%; opacity: 0; } 8% { opacity: 1; } 16% { top: 66%; left: 58%; transform: none; } 19% { transform: scale(.8); } 22% { transform: none; } 50% { top: 62%; left: 64%; } 90% { opacity: 1; } 100% { top: 62%; left: 64%; opacity: 0; } }
[dir="rtl"] .cursor { display: none; }

/* Problem stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--ink); }
.stat { padding: clamp(24px, 3vw, 40px) clamp(0px, 2vw, 28px) 0; border-inline-end: 1px solid var(--line); }
.stat:first-child { padding-inline-start: 0; }
.stat:last-child { border-inline-end: 0; }
.stat-num { font-family: 'Instrument Serif', serif; font-size: clamp(64px, 9vw, 140px); line-height: .9; letter-spacing: -.04em; display: flex; align-items: baseline; direction: ltr; justify-content: flex-start; }
[dir="rtl"] .stat-num { justify-content: flex-end; }
.stat-num small { font-size: .45em; }
.stat p { margin-top: 18px; font-size: 17px; line-height: 1.5; max-width: 30ch; }
.stat p b { background: linear-gradient(transparent 60%, var(--tape) 60%); }
.footnote { margin-top: 36px; font-size: 12.5px; color: var(--muted); max-width: 70ch; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr; } .stat { border-inline-end: 0; border-bottom: 1px solid var(--line); padding: 28px 0; } }

/* $20 math */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: stretch; }
.calc-in { display: grid; gap: 30px; align-content: start; }
.range-row { display: grid; gap: 10px; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 650; }
.range-top output { font-family: var(--mono); font-size: 22px; font-weight: 500; direction: ltr; }
input[type="range"].range { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; }
input[type="range"].range::-webkit-slider-runnable-track { height: 14px; border-radius: 4px; border: 1.5px solid var(--ink); background: linear-gradient(90deg, var(--tape) var(--p, 50%), #fff var(--p, 50%)); }
[dir="rtl"] input[type="range"].range::-webkit-slider-runnable-track { background: linear-gradient(270deg, var(--tape) var(--p, 50%), #fff var(--p, 50%)); }
input[type="range"].range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -9.5px; border-radius: 8px; background: var(--ink); border: 3px solid var(--paper); box-shadow: 0 0 0 1.5px var(--ink); }
input[type="range"].range::-moz-range-track { height: 12px; border-radius: 4px; border: 1.5px solid var(--ink); background: #fff; }
input[type="range"].range::-moz-range-progress { height: 12px; background: var(--tape); }
input[type="range"].range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); border: 3px solid var(--paper); }
.calc-out { background: var(--ink); color: var(--bone); border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 44px); display: grid; gap: 22px; align-content: center; position: relative; overflow: hidden; }
.calc-out::after { content: '$20'; position: absolute; inset-inline-end: -10px; bottom: -40px; font-family: 'Instrument Serif', serif; font-size: 200px; line-height: 1; color: rgba(244, 196, 48, .07); pointer-events: none; }
.calc-big { font-family: 'Instrument Serif', serif; font-size: clamp(48px, 6vw, 84px); line-height: 1; color: var(--tape); letter-spacing: -.03em; direction: ltr; text-align: start; }
[dir="rtl"] .calc-big { text-align: right; }
.calc-line { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line-d); font-size: 15.5px; color: var(--muted-d); }
.calc-line b { color: var(--bone); font-family: var(--mono); font-weight: 500; white-space: nowrap; direction: ltr; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { position: relative; background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: 30px 28px; min-height: 380px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.step-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 8px 0 var(--ink); }
.step-num { font-family: var(--mono); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tape); border: 1.5px solid var(--ink); font-weight: 500; }
.step-card p { color: var(--muted); }
.step-art { margin-top: auto; }
.step-code { font-family: var(--mono); font-size: 11.5px; background: var(--ink); color: #e9e2d4; border-radius: 12px; padding: 12px 14px; direction: ltr; text-align: left; overflow: hidden; white-space: nowrap; }
.step-code .typing { display: inline-block; overflow: hidden; vertical-align: bottom; animation: typing 4s steps(40) infinite; }
@keyframes typing { 0% { max-width: 0; } 55%, 100% { max-width: 100%; } }
.plat-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.plat-row span { font-size: 12px; font-weight: 650; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.mini-form { display: grid; gap: 8px; }
.mini-form i { display: block; height: 34px; border-radius: 9px; border: 1.5px solid var(--line); background: #fff; font-style: normal; font-size: 12.5px; padding: 8px 12px; color: var(--muted); }
.mini-form i.go { background: var(--tape); border-color: var(--ink); color: var(--ink); font-weight: 700; text-align: center; }
.mini-result { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.mini-result b { font-family: 'Hanken Grotesk', sans-serif; font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.mini-result span { font-size: 13px; color: var(--muted); line-height: 1.35; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; } .step-card { min-height: 0; } }

/* Demo */
.demo { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.demo-store { position: relative; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(20, 17, 14, .35); overflow: hidden; min-height: 600px; font-family: 'Hanken Grotesk', 'IBM Plex Sans Arabic', sans-serif; color: #111; }
.demo-store-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 13px; }
.demo-store-bar b { font-family: 'Instrument Serif', serif; font-size: 22px; font-weight: 400; letter-spacing: .02em; }
.demo-pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px; }
.demo-gallery { aspect-ratio: 4 / 5; border-radius: 14px; background: linear-gradient(170deg, #dfe7e2, #c4d3ca); display: grid; place-items: center; }
.demo-gallery svg { width: 80%; }
.demo-info { display: flex; flex-direction: column; gap: 12px; }
.demo-info h1 { font-size: 22px; line-height: 1.2; font-weight: 700; }
.demo-info .price { font-size: 18px; font-weight: 600; }
.demo-label { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; margin-top: 6px; }
.demo-sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.demo-sizes button { min-width: 46px; height: 42px; border-radius: 8px; border: 1.5px solid #d8d2c8; background: #fff; color: #111; font-weight: 700; font-size: 14px; transition: all .2s; }
.demo-sizes button:hover { border-color: #111; }
.demo-sizes button[aria-pressed="true"] { background: #111; color: #fff; border-color: #111; }
.demo-colors { display: flex; gap: 8px; }
.demo-colors i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #ccc; }
.demo-add { height: 50px; border-radius: 10px; border: 0; background: #111; color: #fff; font-weight: 700; margin-top: auto; }
.demo-controls { display: grid; gap: 24px; }
.demo-controls .label { margin-bottom: 10px; }
@media (max-width: 960px) { .demo { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .demo-pdp { grid-template-columns: 1fr; } .demo-gallery { aspect-ratio: 16 / 11; } .demo-store { min-height: 720px; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: var(--r-lg); overflow: hidden; }
.feature { background: var(--ink); padding: 30px 26px 34px; display: grid; gap: 12px; align-content: start; transition: background .4s; }
.feature:hover { background: var(--ink-2); }
.feature-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(244, 196, 48, .12); color: var(--tape); margin-bottom: 8px; transition: transform .5s var(--ease); }
.feature:hover .feature-ic { transform: rotate(-8deg) scale(1.08); }
.feature-ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 17.5px; font-weight: 700; }
.feature p { color: var(--muted-d); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 1024px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.platforms-wrap { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); direction: ltr; }
.platforms { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.platforms span { font-family: 'Instrument Serif', serif; font-size: clamp(34px, 5vw, 64px); padding-inline: clamp(22px, 3vw, 44px); color: var(--ink); opacity: .85; white-space: nowrap; }

/* Pricing */
.price-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: stretch; }
.price-card { position: relative; background: var(--ink); color: var(--bone); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); overflow: hidden; }
.price-card .ribbon { position: absolute; top: 30px; inset-inline-end: -52px; transform: rotate(45deg); background: var(--tape); color: var(--ink); font-weight: 800; font-size: 12px; letter-spacing: .08em; padding: 7px 60px; text-transform: uppercase; }
[dir="rtl"] .price-card .ribbon { transform: rotate(-45deg); letter-spacing: 0; }
.price-amount { display: flex; align-items: flex-start; gap: 6px; margin-block: 18px 6px; font-family: 'Instrument Serif', serif; line-height: .85; direction: ltr; }
[dir="rtl"] .price-amount { justify-content: flex-end; }
.price-amount sup { font-size: 48px; margin-top: 18px; color: var(--tape); }
.price-amount b { font-size: clamp(120px, 16vw, 200px); font-weight: 400; letter-spacing: -.05em; }
.price-sub { font-size: 18px; color: var(--muted-d); }
.price-sub b { color: var(--tape); }
.price-list { list-style: none; padding: 0; margin: 28px 0 30px; display: grid; gap: 12px; }
.price-list li { display: flex; gap: 12px; align-items: flex-start; }
.price-list svg { width: 20px; height: 20px; flex: none; color: var(--tape); margin-top: 3px; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pay-badge { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding-inline: 14px; border-radius: 999px; border: 1px solid var(--line-d); font-size: 13.5px; font-weight: 650; color: var(--bone); }
.pay-badge svg { width: 18px; height: 18px; }
.compare { background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 42px); display: grid; gap: 22px; align-content: center; }
.compare-row { display: grid; gap: 10px; }
.compare-bar { height: 44px; border-radius: 10px; display: flex; align-items: center; padding-inline: 16px; font-family: var(--mono); font-size: 14px; font-weight: 500; width: 0; transition: width 1.4s var(--ease); white-space: nowrap; overflow: hidden; }
.compare.is-in .compare-bar { width: var(--w); }
.compare-bar.them { background: repeating-linear-gradient(-45deg, #e7ddd0, #e7ddd0 8px, #ddd1c1 8px, #ddd1c1 16px); color: var(--ink); }
.compare-bar.us { background: var(--tape); border: 1.5px solid var(--ink); min-width: 0; }
.compare.is-in .compare-bar.us { min-width: 120px; }
@media (max-width: 960px) { .price-wrap { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: clamp(18px, 1.8vw, 22px); font-weight: 650; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1.5px solid var(--ink); position: relative; transition: transform .4s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.8px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] summary i { background: var(--tape); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { padding: 0 0 26px; color: var(--muted); max-width: 72ch; font-size: 16.5px; animation: loadUp .5s var(--ease); }

.final-cta { text-align: center; }
.final-cta .display { max-width: 17ch; margin: 18px auto 34px; font-size: clamp(40px, 6vw, 92px); }
html[lang="ar"] .final-cta .display { font-size: clamp(32px, 4.6vw, 64px); }

/* ═══ SETUP ════════════════════════════════════════════════ */
.setup { min-height: 100svh; display: grid; grid-template-columns: .92fr 1.08fr; }
.setup-side { background: var(--ink); color: var(--bone); padding: 28px clamp(24px, 4vw, 60px) 40px; display: flex; flex-direction: column; gap: 30px; position: sticky; top: 0; height: 100svh; overflow: hidden; }
.setup-side .display { font-size: clamp(42px, 5vw, 76px); }
html[lang="ar"] .setup-side .display { font-size: clamp(34px, 3.8vw, 56px); }
.setup-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.setup-list li { display: flex; gap: 14px; align-items: center; color: var(--muted-d); font-size: 16px; animation: loadUp .8s var(--ease) both; animation-delay: var(--d); }
.setup-list b { width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-d); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--bone); }
.setup-preview { margin-top: auto; background: var(--paper); color: var(--ink); border-radius: 22px; padding: 18px; display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.setup-preview-img { aspect-ratio: 4 / 5; border-radius: 12px; background: linear-gradient(160deg, #e9dcc7, #d9c6a8); display: grid; place-items: center; }
.setup-preview-img svg { width: 80%; }
.setup-preview-store { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.setup-preview-title { font-weight: 700; font-size: 15px; margin-top: 2px; }
.setup-preview-sizes { display: flex; gap: 5px; margin: 8px 0; direction: ltr; }
.setup-preview-sizes b { width: 30px; height: 30px; border-radius: 7px; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 11.5px; }
.setup-preview-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.setup-preview-link svg { width: 15px; height: 15px; transition: color .3s; }
.setup-preview-pw { font-size: 10.5px; color: var(--muted); margin-top: 6px; font-family: 'Hanken Grotesk', sans-serif; }
.setup-main { padding: 28px clamp(20px, 5vw, 80px) 60px; display: flex; flex-direction: column; }
.setup-main-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: clamp(24px, 5vh, 56px); }
.setup-form { width: 100%; max-width: 560px; margin-inline: auto; }
.setup-form h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 750; letter-spacing: -.02em; margin-bottom: 6px; }
.setup-form .sub { color: var(--muted); margin-bottom: 30px; }
.form-sep { display: flex; align-items: center; gap: 14px; margin: 30px 0 22px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .form-sep { font-family: var(--sans); letter-spacing: 0; font-size: 13px; }
.form-sep::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.plat-chips .chip { height: 40px; font-size: 14px; }
.setup-alt { text-align: center; margin-top: 22px; color: var(--muted); font-size: 14.5px; }
.setup-alt button { background: none; border: 0; padding: 0; }
@media (max-width: 960px) {
  .setup { grid-template-columns: 1fr; }
  .setup-side { position: relative; height: auto; gap: 22px; }
  .setup-side .setup-preview { display: none; }
}
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }

/* ═══ DASHBOARD ════════════════════════════════════════════ */
.app { display: grid; grid-template-columns: 264px 1fr; min-height: 100svh; }
.app-side { background: var(--ink); color: var(--bone); padding: 22px 16px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 0; height: 100svh; }
.app-side .logo { padding-inline: 8px; }
.store-switch { width: 100%; height: 46px; border-radius: 12px; background-color: var(--ink-2); border: 1px solid var(--line-d); color: var(--bone); padding-inline: 12px 34px; appearance: none; font-weight: 650; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f2ece1' stroke-width='1.8' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
[dir="rtl"] .store-switch { background-position: left 12px center; padding-inline: 34px 12px; }
.app-nav { display: grid; gap: 2px; }
.app-nav a { display: flex; align-items: center; gap: 12px; height: 44px; padding-inline: 12px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted-d); transition: background .2s, color .2s; }
.app-nav a svg { width: 19px; height: 19px; flex: none; }
.app-nav a:hover { color: var(--bone); background: var(--ink-2); }
.app-nav a.is-on { color: var(--ink); background: var(--tape); }
.app-nav a .badge { margin-inline-start: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--chalk); }
.app-side-foot { margin-top: auto; display: grid; gap: 10px; font-size: 13.5px; color: var(--muted-d); padding-inline: 8px; }
.app-side-foot .email { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-side-foot .row { display: flex; gap: 8px; align-items: center; }
.app-side-foot button { background: none; border: 1px solid var(--line-d); color: var(--bone); height: 34px; border-radius: 999px; padding-inline: 12px; font-size: 13px; font-weight: 650; }
.app-side-foot button:hover { border-color: var(--bone); }
.app-main { background: var(--paper); min-width: 0; }
.app-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px clamp(18px, 3vw, 44px) 20px; border-bottom: 1px solid var(--line); background: rgba(250, 246, 239, .9); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 10; }
.app-head h1 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 750; letter-spacing: -.02em; line-height: 1.1; }
.app-head a.domain { color: var(--muted); font-size: 14px; text-decoration: none; direction: ltr; unicode-bidi: embed; }
.app-head a.domain:hover { text-decoration: underline; }
.app-body { padding: clamp(18px, 3vw, 44px); display: grid; gap: 22px; max-width: 1180px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 2.6vw, 30px); min-width: 0; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel-head h2 { font-size: 19px; font-weight: 750; letter-spacing: -.01em; }
.panel-head p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.view { display: none; gap: 22px; }
.view.is-on { display: grid; animation: loadUp .6s var(--ease); }
.app-loading { display: grid; place-items: center; min-height: 60vh; color: var(--muted); }

.onboard { background: var(--ink); color: var(--bone); border-radius: 22px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 20px; position: relative; overflow: hidden; }
.onboard h2 { font-family: var(--serif); font-weight: var(--display-weight); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -.02em; }
.onboard-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ob-step { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line-d); text-decoration: none; transition: border-color .2s, transform .2s; }
.ob-step:hover { border-color: var(--tape); transform: translateY(-2px); }
.ob-step i { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1.5px dashed var(--muted-d); display: grid; place-items: center; font-style: normal; font-family: var(--mono); font-size: 12px; }
.ob-step.is-done i { background: var(--tape); border: 0; color: var(--ink); font-size: 0; }
.ob-step.is-done i::before { content: '✓'; font-family: var(--sans); font-weight: 800; font-size: 14px; }
.ob-step b { display: block; font-size: 15px; }
.ob-step small { color: var(--muted-d); font-size: 13px; }
.ob-progress { height: 10px; border-radius: 6px; background: var(--ink-3); overflow: hidden; }
.ob-progress span { display: block; height: 100%; width: var(--p, 0%); background: var(--tape) linear-gradient(90deg, rgba(20, 17, 14, .5) 1px, transparent 1px) 0 0 / 10px 5px repeat-x; transition: width 1.2s var(--ease); }
@media (max-width: 860px) { .onboard-steps { grid-template-columns: 1fr; } }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.tile small { font-size: 13px; color: var(--muted); font-weight: 600; }
.tile b { display: block; font-family: var(--mono); font-weight: 500; font-size: 32px; letter-spacing: -.02em; margin-top: 6px; }
@media (max-width: 1024px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.bars { height: 180px; display: flex; align-items: flex-end; gap: 4px; padding-top: 24px; border-bottom: 1.5px solid var(--ink); direction: ltr; }
.bars i { flex: 1; min-height: 3px; border-radius: 4px 4px 0 0; background: var(--tape); height: 0; transition: height .9s var(--ease); transition-delay: calc(var(--i) * 18ms); position: relative; }
.bars i:hover { background: var(--ink); }
.bars i:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bone); font-size: 11px; white-space: nowrap; padding: 4px 8px; border-radius: 6px; font-family: var(--mono); z-index: 2; }
.status-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 860px) { .status-row { grid-template-columns: 1fr; } }
.status-card { display: flex; gap: 16px; align-items: flex-start; }
.status-ic { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--bone); }
.status-ic svg { width: 22px; height: 22px; }
.status-card h3 { font-size: 16px; font-weight: 700; }
.status-card p { color: var(--muted); font-size: 14px; margin-top: 3px; }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.tab { height: 38px; padding-inline: 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 650; font-size: 14px; }
.tab.is-on { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.guide { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; counter-reset: g; }
.guide li { counter-increment: g; display: flex; gap: 14px; align-items: flex-start; font-size: 15px; }
.guide li::before { content: counter(g); width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--tape); display: grid; place-items: center; font-family: var(--mono); font-size: 12.5px; font-weight: 500; margin-top: 1px; }
.guide code { font-family: var(--mono); font-size: 13px; background: var(--bone); padding: 2px 7px; border-radius: 6px; direction: ltr; unicode-bidi: embed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.custom-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.preview-stage { position: sticky; top: 110px; }
.preview-box { position: relative; background: var(--bone); border-radius: 22px; padding: 18px; min-height: 640px; overflow: hidden; }
.preview-box .demo-pdp { background: #fff; border-radius: 16px; padding: 18px; gap: 16px; color: #111; font-family: 'Hanken Grotesk', 'IBM Plex Sans Arabic', sans-serif; }
.preview-box .demo-info h1 { font-size: 18px; }
@media (max-width: 1100px) { .custom-grid { grid-template-columns: 1fr; } .preview-stage { position: static; } }
.check-row { display: flex; flex-wrap: wrap; gap: 8px; }
.check-row label { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding-inline: 14px; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: 14px; }
.check-row input { accent-color: var(--ink); width: 16px; height: 16px; margin: 0; }
.check-row label:has(input:checked) { border-color: var(--ink); background: var(--bone); }
.save-bar { position: sticky; bottom: 16px; z-index: 20; display: flex; justify-content: flex-end; gap: 10px; align-items: center; padding: 10px; border-radius: 999px; background: rgba(20, 17, 14, .94); color: var(--bone); backdrop-filter: blur(10px); transform: translateY(140%); opacity: 0; transition: transform .5s var(--ease), opacity .3s; pointer-events: none; }
.save-bar.is-on { transform: none; opacity: 1; pointer-events: auto; }
.save-bar span { margin-inline-end: auto; padding-inline: 14px; font-weight: 600; font-size: 14.5px; }

.chart-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; min-width: 460px; }
.chart-table th { font-size: 12.5px; color: var(--muted); font-weight: 650; text-align: start; padding: 0 6px; }
.chart-table td { padding: 0 4px; }
.chart-table .input { height: 42px; font-size: 14.5px; padding-inline: 10px; font-family: var(--mono); }
.chart-table .rm { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 18px; }
.chart-table .rm:hover { color: var(--chalk); border-color: var(--chalk); }
.table-scroll { overflow-x: auto; }

.bill { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: start; }
@media (max-width: 1024px) { .bill { grid-template-columns: 1fr; } }
.bill-price { background: var(--ink); color: var(--bone); border-radius: 22px; padding: 30px; display: grid; gap: 12px; align-content: start; }
.bill-price .price-amount b { font-size: 110px; }
.bill-price .price-amount sup { font-size: 34px; margin-top: 10px; }
.handle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 14px; background: var(--bone); font-family: var(--mono); font-size: 15px; direction: ltr; }
.drop { display: grid; place-items: center; gap: 8px; text-align: center; padding: 28px 18px; border-radius: 18px; border: 2px dashed var(--line); background: var(--paper); cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.is-drag { border-color: var(--ink); background: var(--bone); }
.drop svg { width: 30px; height: 30px; }
.drop img { max-height: 220px; border-radius: 12px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .3); }
.drop small { color: var(--muted); }
.state-box { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: var(--bone); }
.state-box svg { width: 26px; height: 26px; flex: none; }
.state-box.ok { background: rgba(47, 122, 85, .1); color: #1d5c3d; }
.state-box.wait { background: rgba(244, 196, 48, .22); color: #6a4e00; }
.state-box.bad { background: rgba(228, 87, 46, .1); color: #8f2a14; }
.state-box h3 { font-size: 16px; font-weight: 750; }
.state-box p { font-size: 14.5px; margin-top: 2px; opacity: .9; }
.steps-mini { display: grid; gap: 10px; margin: 16px 0; padding: 0; list-style: none; counter-reset: s; }
.steps-mini li { counter-increment: s; display: flex; gap: 12px; align-items: center; font-size: 15px; }
.steps-mini li::before { content: counter(s); width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; }

@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .app-side { position: sticky; top: 0; z-index: 30; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; }
  .app-side .store-switch { flex: 1; min-width: 140px; height: 40px; }
  .app-nav { order: 3; width: 100%; display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; }
  .app-nav a { flex: none; height: 38px; font-size: 14px; }
  .app-side-foot { display: none; }
  .app-head { position: static; }
}

/* ═══ SHOP ═════════════════════════════════════════════════ */
.shop-hero { padding-block: clamp(20px, 4vw, 48px) clamp(60px, 8vw, 110px); }
.shop-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.shop-copy { position: sticky; top: 110px; }
.shop-copy .display { margin-block: 20px 22px; }
.shop-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.shop-badges > span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.shop-badges svg { width: 16px; height: 16px; }
.finder { background: #fff; border: 1.5px solid var(--ink); border-radius: 30px; box-shadow: 0 10px 0 var(--ink); overflow: hidden; }
.finder-top { display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.finder-progress { flex: 1; height: 12px; border-radius: 4px; border: 1.5px solid var(--ink); overflow: hidden; background: #fff; }
.finder-progress span { display: block; height: 100%; width: var(--p, 20%); background: var(--tape) linear-gradient(90deg, rgba(20, 17, 14, .6) 1px, transparent 1px) 0 0 / 8px 5px repeat-x; transition: width .7s var(--ease); }
.finder-count { font-family: var(--mono); font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.finder-back { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; }
.finder-back svg { width: 16px; height: 16px; }
[dir="rtl"] .finder-back svg { transform: scaleX(-1); }
.finder-back[hidden] { display: none; }
.finder-body { padding: clamp(22px, 3vw, 34px); min-height: 480px; }
.finder-step { animation: stepIn .55s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(26px); } }
[dir="rtl"] .finder-step { animation-name: stepInRtl; }
@keyframes stepInRtl { from { opacity: 0; transform: translateX(-26px); } }
.finder-q { font-family: var(--serif); font-weight: var(--display-weight); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 8px; }
html[lang="ar"] .finder-q { line-height: 1.3; font-size: clamp(24px, 2.6vw, 34px); }
.finder-sub { color: var(--muted); margin-bottom: 26px; }
.big-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.big-opt { position: relative; display: grid; justify-items: center; gap: 10px; padding: 26px 14px 20px; border-radius: 22px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 17px; transition: border-color .2s, transform .3s var(--ease), box-shadow .3s var(--ease); }
.big-opt:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 5px 0 var(--ink); }
.big-opt svg { width: 88px; height: 88px; }
.big-opt.is-on { border-color: var(--ink); background: var(--bone); box-shadow: 0 5px 0 var(--ink); }
.cat-opts .big-opt { padding: 22px 14px 16px; }
.cat-opts .big-opt svg { width: 64px; height: 64px; }
.brand-grid { display: flex; flex-wrap: wrap; gap: 8px; max-height: 260px; overflow-y: auto; padding: 2px; margin-top: 14px; }
.meas-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px 12px; margin-bottom: 12px; }
.meas-card .meas-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.meas-card label { font-weight: 650; font-size: 14px; color: var(--muted); }
.meas-val { font-family: var(--mono); font-size: 30px; font-weight: 500; letter-spacing: -.02em; direction: ltr; }
.meas-val small { font-size: 14px; color: var(--muted); margin-inline-start: 4px; }
.shape-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.shape-opt { display: grid; justify-items: center; gap: 4px; padding: 12px 4px 10px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; font-size: 13px; font-weight: 650; transition: border-color .2s, background .2s; }
.shape-opt svg { width: 52px; height: 52px; }
.shape-opt.is-on { border-color: var(--ink); background: var(--bone); }
.finder .label { margin: 20px 0 10px; }
.result-hero { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.result-size { font-family: 'Hanken Grotesk', sans-serif; font-size: clamp(88px, 11vw, 140px); font-weight: 800; line-height: .85; letter-spacing: -.05em; animation: sizePop 1s var(--ease) both; }
@keyframes sizePop { from { opacity: 0; transform: translateY(20px) scale(.85); filter: blur(8px); } }
.big-ring { width: 120px; height: 120px; position: relative; flex: none; }
.big-ring svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.big-ring circle { fill: none; stroke-width: 9; }
.big-ring .bg { stroke: var(--bone); }
.big-ring .fg { stroke: var(--ink); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset 1.4s var(--ease) .2s; }
.big-ring div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.big-ring b { font-family: var(--mono); font-size: 26px; font-weight: 500; }
.big-ring small { font-size: 11px; color: var(--muted); font-weight: 650; text-transform: uppercase; letter-spacing: .06em; }
.size-tape { position: relative; margin: 26px 0 8px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--tape); overflow: hidden; direction: ltr; }
.size-tape::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 10px; background: linear-gradient(90deg, var(--ink) 1.5px, transparent 1.5px) 0 0 / 40px 10px repeat-x, linear-gradient(90deg, rgba(20, 17, 14, .5) 1px, transparent 1px) 0 0 / 8px 5px repeat-x; }
.size-tape-row { display: flex; position: relative; z-index: 1; padding-top: 12px; }
.size-tape-row span { flex: 1; text-align: center; padding: 10px 0; font-family: var(--mono); font-weight: 500; font-size: 14px; transition: color .4s .6s; }
.size-tape-row span.on { color: var(--tape); }
.size-tape-pill { position: absolute; bottom: 4px; top: 16px; border-radius: 8px; background: var(--ink); left: 0; transition: left 1s var(--ease) .25s; }
.fit-notes { display: grid; gap: 8px; margin-top: 18px; }
.fit-note { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; }
.fit-note span { color: var(--muted); font-weight: 600; font-size: 14px; }
.brand-table { margin-top: 26px; }
.brand-table h3 { font-size: 16px; font-weight: 750; margin-bottom: 10px; }
.brand-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.brand-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: 14.5px; animation: loadUp .6s var(--ease) both; animation-delay: var(--d); }
.brand-row b { font-family: var(--mono); font-weight: 500; }
.store-promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; background: var(--ink); color: var(--bone); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 48px); }
.store-promo h2 { font-family: var(--serif); font-weight: var(--display-weight); font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; max-width: 20ch; }
@media (max-width: 960px) { .shop-grid { grid-template-columns: 1fr; } .shop-copy { position: static; } }
@media (max-width: 520px) { .shape-opts { grid-template-columns: repeat(2, 1fr); } .big-opt svg { width: 70px; height: 70px; } .result-size { font-size: 84px; } .big-ring { width: 96px; height: 96px; } }

/* ═══ CONTENT PAGES ════════════════════════════════════════ */
.prose { max-width: 760px; }
.prose h1 { margin-bottom: 20px; }
.prose h2 { font-size: 26px; font-weight: 750; letter-spacing: -.015em; margin: 44px 0 12px; }
.prose h3 { font-size: 19px; font-weight: 700; margin: 28px 0 8px; }
.prose p, .prose li { font-size: 17px; line-height: 1.7; color: #3b352e; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-inline-start: 22px; display: grid; gap: 8px; margin: 12px 0; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--bone); padding: 2px 6px; border-radius: 6px; }
.prose a { font-weight: 650; text-decoration-color: var(--tape); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ═══ ADMIN ════════════════════════════════════════════════ */
.admin-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.admin-row img { width: 120px; height: 150px; object-fit: cover; border-radius: 12px; background: var(--bone); cursor: zoom-in; }
.admin-row h3 { font-size: 16px; font-weight: 700; }
.admin-row p { color: var(--muted); font-size: 14px; }
.admin-row .btn-row { margin-top: 0; }
@media (max-width: 640px) { .admin-row { grid-template-columns: 90px 1fr; } .admin-row img { width: 90px; height: 110px; } .admin-row .btn-row { grid-column: 1 / -1; } }

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