/* SAMT سَمْت — ink, paper and one point of brass.
   Layout: RTL editorial column; dark Ink bands for the offer, Paper for reading. */
:root {
  --paper: #F3EEE4; --paper-2: #FBF8F2; --mist: #E4DDD0; --ink: #0E1B19; --stone: #5E625C;
  --cedar: #1E4D43; --brass: #B3894E; --brass-deep: #7C5B2A; --sage: #9DB3A8; --vermilion: #B4432B;
  --bg: var(--paper); --surface: var(--paper-2); --fg: var(--ink); --muted: var(--stone); --line: var(--mist);
  --accent-text: var(--brass-deep); --up: var(--cedar); --down: var(--vermilion);
  --band: var(--ink); --band-fg: var(--paper); --band-muted: var(--sage); --band-line: #22332f;
  --f-head: "Noto Naskh Arabic", "Amiri", serif;
  --f-body: "IBM Plex Sans Arabic", "IBM Plex Sans", "Segoe UI", Tahoma, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --f-logo: "Noto Kufi Arabic", "IBM Plex Sans Arabic", sans-serif;
  --r: 8px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1614; --surface: #12211E; --fg: #F3EEE4; --muted: #9DB3A8; --line: #22332f;
    --accent-text: #D2AE76; --up: #6FB59C; --down: #E2775F;
    --band: #060E0D; --band-fg: #F3EEE4; --band-muted: #9DB3A8; --band-line: #1c2b28; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1614; --surface: #12211E; --fg: #F3EEE4; --muted: #9DB3A8; --line: #22332f;
  --accent-text: #D2AE76; --up: #6FB59C; --down: #E2775F;
  --band: #060E0D; --band-fg: #F3EEE4; --band-muted: #9DB3A8; --band-line: #1c2b28; color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.8 var(--f-body); }
a { color: var(--accent-text); }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.num, .mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; margin: 0; line-height: 1.45; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }
.eyebrow { font: 500 .82rem/1.4 var(--f-body); color: var(--accent-text); letter-spacing: 0; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* header */
.top { background: var(--band); color: var(--band-fg); border-bottom: 1px solid var(--band-line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo .ar { font: 600 1.7rem/1 var(--f-logo); }
.logo .sep { width: 1.5px; height: 24px; background: var(--brass); }
.logo .en { font: 500 .95rem/1 "IBM Plex Sans", sans-serif; letter-spacing: .32em; direction: ltr; }
.top nav { display: flex; gap: 6px; align-items: center; }
.top nav a { color: var(--band-fg); text-decoration: none; font-size: .92rem; padding: 6px 12px; border-radius: 999px; border: 1px solid transparent; }
.top nav a:hover { border-color: var(--band-line); }
.top nav a.cta-sm { border-color: var(--brass); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 28px; border-radius: var(--r); border: 0; cursor: pointer; text-decoration: none; font-weight: 600; font-size: 1.05rem; transition: transform .12s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: #c39a5d; }
.btn-cedar { background: var(--cedar); color: #F3EEE4; }
.btn-cedar:hover { background: #255c50; }
.btn-ghost { background: transparent; color: inherit; border: 1px solid currentColor; }
.btn[disabled] { opacity: .55; cursor: progress; }

/* hero band */
.hero { background: var(--band); color: var(--band-fg); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-block: 56px 72px; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 36px 48px; } }
.hero h1 em { font-style: normal; color: var(--brass); }
.hero .lede { color: #D9D2C3; font-size: 1.12rem; max-width: 36em; margin-top: 14px; }
.flag { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--brass); color: var(--brass); border-radius: 999px; padding: 3px 14px; font-size: .88rem; font-weight: 500; margin-bottom: 16px; }
.flag i { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }

.price { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.price .now { font: 500 clamp(2.6rem, 6vw, 3.6rem)/1 var(--f-mono); color: var(--band-fg); direction: ltr; }
.price .was { font: 400 1.4rem/1 var(--f-mono); color: var(--band-muted); text-decoration: line-through; text-decoration-color: var(--vermilion); text-decoration-thickness: 2px; direction: ltr; }
.price .off { background: var(--brass); color: var(--ink); font-weight: 600; font-size: .9rem; padding: 2px 10px; border-radius: 4px; }
.price-note { color: var(--band-muted); font-size: .9rem; margin-top: 8px; }

.countdown { display: flex; gap: 10px; margin-top: 24px; direction: rtl; flex-wrap: wrap; }
.countdown div { min-width: 70px; border: 1px solid var(--band-line); background: rgba(243,238,228,.04); border-radius: var(--r); padding: 8px 10px; text-align: center; }
.countdown b { display: block; font: 500 1.7rem/1.2 var(--f-mono); direction: ltr; }
.countdown span { font-size: .78rem; color: var(--band-muted); }
.ends { font-size: .88rem; color: var(--band-muted); margin-top: 8px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.proof { border: 1px solid var(--band-line); border-radius: 10px; padding: 22px; background: rgba(243,238,228,.03); display: grid; gap: 14px; }
.proof-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.proof svg.curve { width: 100%; height: auto; display: block; }
.proof .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 1px solid var(--band-line); padding-top: 14px; }
.proof .stats span { display: block; font-size: .78rem; color: var(--band-muted); }
.proof .stats b { font: 500 1.15rem var(--f-mono); direction: ltr; display: inline-block; }
.lock { display: inline-flex; gap: 6px; align-items: center; font-size: .8rem; color: var(--band-muted); }

/* sections */
main section { padding-block: 64px; }
main section + section { border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 10px; max-width: 42em; margin-bottom: 32px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 880px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid3, .grid2 { grid-template-columns: minmax(0, 1fr); } }
.item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 8px; align-content: start; }
.item svg { width: 30px; height: 30px; color: var(--cedar); }
:root[data-theme="dark"] .item svg { color: var(--sage); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .item svg { color: var(--sage); } }
.item p { color: var(--muted); font-size: .96rem; }
.item .tag { font: 500 .75rem var(--f-mono); color: var(--accent-text); direction: ltr; justify-self: start; }

.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: r; }
.rules li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); counter-increment: r; }
.rules li::before { content: counter(r); font: 500 1rem var(--f-mono); color: var(--accent-text); border: 1px solid var(--line); border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; }
.rules b { display: block; }
.rules span { color: var(--muted); font-size: .96rem; }

.honest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 880px) { .honest { grid-template-columns: minmax(0, 1fr); } }
table.t { width: 100%; border-collapse: collapse; font-size: .95rem; }
.t td, .t th { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: right; }
.t th { font-weight: 500; color: var(--muted); font-size: .82rem; }
.t td.n { font-family: var(--f-mono); direction: ltr; text-align: left; }
.up { color: var(--up); } .down { color: var(--down); }

/* checkout */
.buy { background: var(--band); color: var(--band-fg); }
main section.buy { border-top: 0; }
.buy .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; }
@media (max-width: 880px) { .buy .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.buy .sec-head p { color: #D9D2C3; }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: start; }
.checklist li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='none' stroke='%23B3894E' stroke-width='1.5'/%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%23B3894E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
form.pay { background: var(--paper-2); color: var(--ink); border-radius: 12px; padding: 26px; display: grid; gap: 18px; }
:root[data-theme="dark"] form.pay { background: #12211E; color: #F3EEE4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) form.pay { background: #12211E; color: #F3EEE4; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: .95rem; }
.field input { min-height: 50px; border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; background: var(--bg); color: var(--fg); direction: ltr; text-align: right; }
.methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border: 0; padding: 0; margin: 0; }
.methods legend { font-weight: 500; font-size: .95rem; margin-bottom: 6px; }
@media (max-width: 460px) { .methods { grid-template-columns: minmax(0, 1fr); } }
.method { position: relative; display: grid; gap: 4px; border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 16px; cursor: pointer; background: var(--bg); }
.method input { position: absolute; opacity: 0; pointer-events: none; }
.method b { display: flex; align-items: center; gap: 8px; }
.method small { color: var(--muted); font-size: .82rem; line-height: 1.6; }
.method:has(input:checked) { border-color: var(--cedar); box-shadow: 0 0 0 1px var(--cedar); }
.method:has(input:focus-visible) { outline: 2px solid var(--brass); outline-offset: 2px; }
.method.off { opacity: .5; cursor: not-allowed; }
.method svg { width: 20px; height: 20px; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; }
.total b { font: 500 1.5rem var(--f-mono); direction: ltr; }
.secure { display: flex; gap: 8px; align-items: start; font-size: .84rem; color: var(--muted); line-height: 1.7; }
.secure svg { flex: none; width: 16px; height: 16px; margin-top: 4px; color: var(--cedar); }
.msg { border-radius: var(--r); padding: 10px 14px; font-size: .92rem; }
.msg.err { background: rgba(180,67,43,.1); color: var(--down); border: 1px solid rgba(180,67,43,.3); }
.msg.info { background: rgba(30,77,67,.08); color: inherit; border: 1px solid var(--line); }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font: 400 1.4rem/1 var(--f-mono); color: var(--accent-text); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin-top: 10px; max-width: 46em; }

footer { background: var(--band); color: var(--band-muted); font-size: .88rem; }
footer .wrap { padding-block: 32px; display: grid; gap: 14px; }
footer .row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--band-fg); }
footer .disc { max-width: 60em; line-height: 1.8; }

/* simple pages */
.page { min-height: 70vh; padding-block: 56px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 28px; max-width: 560px; margin: 0 auto; display: grid; gap: 16px; }
.code-box { font: 600 1.35rem var(--f-mono); letter-spacing: .06em; direction: ltr; text-align: center; background: var(--bg); border: 1px dashed var(--brass); border-radius: var(--r); padding: 14px; user-select: all; overflow-wrap: anywhere; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--cedar); animation: spin 1s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.prose { max-width: 46em; display: grid; gap: 14px; }
.prose h2 { font-size: 1.3rem; margin-top: 10px; }
.prose ul { margin: 0; padding-right: 1.2em; padding-left: 0; display: grid; gap: 6px; }
[hidden] { display: none !important; }
.btn-link { background: none; border: 1px solid transparent; color: var(--band-fg); font-size: .92rem; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.btn-link:hover { border-color: var(--band-line); }
fieldset { min-width: 0; }
form.pay > *, .card > *, .field > * { min-width: 0; }
.field input { width: 100%; }
@media (max-width: 460px) { .card, form.pay { padding: 20px; } .top nav a { padding: 6px 8px; } }

/* ---- motion: calm, short, and off for people who ask for less ---- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .18s ease-in both; }
::view-transition-new(root) { animation: vt-in .32s cubic-bezier(.2,.7,.2,1) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(6px); } }
.btn { transition: transform .15s ease, background-color .2s, box-shadow .25s, border-color .2s; }
.btn:hover { box-shadow: 0 10px 24px -14px rgba(14,27,25,.55); }
.btn:active { transform: translateY(1px) scale(.99); }
a, .linkish { transition: color .2s, opacity .2s; }
.field input { transition: border-color .2s, box-shadow .2s; }
.field input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 25%, transparent); }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* referral code on the pay forms */
.refbox { display: grid; gap: 8px; }
.refbox .ref-toggle { justify-self: start; background: none; border: 0; padding: 0; font: inherit; font-size: .92rem; color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ref-row { display: grid; gap: 6px; }
.ref-row label { font-size: .9rem; font-weight: 500; }
.ref-in { display: flex; gap: 8px; }
.ref-in input { flex: 1; min-width: 0; font: inherit; font-family: "IBM Plex Mono", monospace; letter-spacing: .12em; text-transform: uppercase; padding: 10px 12px; border-radius: var(--r, 8px); border: 1px solid var(--line, #d9d2c4); background: transparent; color: inherit; }
.ref-in .btn { flex: none; padding-inline: 16px; }
.ref-msg { margin: 0; font-size: .9rem; }
.ref-msg.ok { color: var(--up, #1E7F5C); }
.ref-msg.err { color: var(--down, #B4432B); }
