/* Sabeeka public site. Jeweller's display: velvet green, 21K gold, plain white. One stylesheet for all pages. */
:root {
  --velvet: #12382c;
  --velvet-deep: #0b2a20;
  --gold: #b8892b;
  --gold-light: #e3c26a;
  --ink: #17231e;
  --muted: #5b6a63;
  --line: #dfe5e1;
  --page: #ffffff;
  --wash: #f3f6f4;
  --loss: #b3261e;
  --gain: #1c7a4a;
  --display: "Readex Pro", "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --body: "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.7rem, 1.2rem + 2vw, 2.4rem);
  --step-4: clamp(2rem, 1.2rem + 3.4vw, 3.4rem);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: var(--step-0); line-height: 1.75; color: var(--ink); background: var(--page); }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 700; line-height: 1.35; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 600; line-height: 1.4; }
a { color: inherit; }
img { display: block; }
.brand img { border-radius: 9px; }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.fig { font-variant-numeric: tabular-nums; } /* a number with an Arabic unit: stays in the right-to-left flow */
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 40px); }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 34em; }
.fine { font-size: 0.9rem; color: var(--muted); }
.link { color: var(--velvet); font-weight: 600; text-underline-offset: 4px; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--velvet); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

/* ---- Buttons and chips ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #9c7321; }
.btn-line { border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.btn-block { display: flex; width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 42px; min-width: 52px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--page); color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--velvet); border-color: var(--velvet); color: #fff; }

/* ---- The live gold bar: the product itself ---- */
.goldbar { --bar-bg: #000000; --bar-fg: #ffffff; background: var(--bar-bg); color: var(--bar-fg); transition: background-color .25s, color .25s; }
.goldbar-in { display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 42px; padding: 7px 16px; overflow-x: auto; scrollbar-width: none; }
.goldbar-in::-webkit-scrollbar { display: none; }
.goldbar-title { display: none; font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.goldbar-list { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.goldbar-list li { display: inline-flex; align-items: baseline; gap: 7px; white-space: nowrap; font-size: 0.85rem; }
.goldbar-list .k { opacity: .72; }
.goldbar-list .p { font-weight: 700; }
.goldbar-list .c { font-size: 0.75rem; opacity: .75; }
.goldbar[data-design="cards"] .goldbar-in { min-height: 54px; }
.goldbar[data-design="cards"] .goldbar-title { display: inline; }
.goldbar[data-design="cards"] .goldbar-list { gap: 10px; }
.goldbar[data-design="cards"] .goldbar-list li { align-items: center; padding: 5px 11px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--bar-fg) 18%, transparent); background: color-mix(in srgb, var(--bar-fg) 8%, var(--bar-bg)); }
.goldbar[data-design="cards"] .goldbar-list .k { opacity: 1; font-weight: 700; padding: 1px 7px; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--gold-light) 60%, transparent); background: color-mix(in srgb, var(--gold-light) 22%, transparent); }

/* ---- Header ---- */
.top { border-bottom: 1px solid var(--line); background: var(--page); position: sticky; top: 0; z-index: 20; }
/* Landing page: the bar and the header stay on screen together. */
.sticky { position: sticky; top: 0; z-index: 20; }
.sticky .top { position: static; }
main section[id] { scroll-margin-top: 130px; }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.45rem; color: var(--velvet); }
.nav { display: flex; gap: 22px; margin-inline: auto; font-size: 0.98rem; }
.nav a { text-decoration: none; color: var(--muted); padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* ---- Hero ---- */
.hero { padding: clamp(36px, 6vw, 84px) 0 clamp(44px, 7vw, 96px); background: linear-gradient(180deg, var(--wash), var(--page) 70%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero h1 { color: var(--velvet-deep); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.sim { background: var(--velvet); color: #f4f1e6; border-radius: 22px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; box-shadow: 0 24px 60px -30px rgba(11, 42, 32, .7); }
.sim-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sim h2 { font-size: var(--step-1); font-family: var(--body); font-weight: 600; color: #fff; }
.sim-live { font-size: 0.8rem; color: var(--gold-light); }
.sim-label { display: block; font-size: 0.88rem; color: #b9c9c1; }
.sim-ounce { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sim-ounce output { font-size: var(--step-2); font-weight: 700; color: var(--gold-light); }
.sim .link { color: #f4f1e6; font-size: 0.88rem; }
.sim-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: end; }
.sim-field { display: grid; gap: 8px; }
.sim .chip { background: transparent; border-color: #3d6455; color: #f4f1e6; min-width: 48px; padding: 0 12px; }
.sim .chip[aria-pressed="true"] { background: var(--gold-light); border-color: var(--gold-light); color: var(--velvet-deep); font-weight: 700; }
.sim-result { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; padding-top: 14px; border-top: 1px solid #2c5646; }
.sim-price { display: block; font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); line-height: 1.15; color: #fff; }
.sim-old { text-align: end; }
.sim-old .fig { font-size: var(--step-1); color: #b9c9c1; }
.sim-verdict { min-height: 3.4em; padding: 10px 14px; border-radius: 12px; background: var(--velvet-deep); font-weight: 500; }
.sim-verdict[data-kind="loss"] { color: #ffb4a8; }
.sim-verdict[data-kind="high"] { color: #f6d98a; }
.sim-note { font-size: 0.8rem; color: #94aaa0; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; margin: 0; direction: ltr; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: #2c5646; }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: #2c5646; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: var(--gold-light); border: 3px solid var(--velvet); box-shadow: 0 0 0 1.5px var(--gold-light); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--gold-light); border: 3px solid var(--velvet); box-shadow: 0 0 0 1.5px var(--gold-light); }

/* ---- Sections ---- */
main > section { padding: clamp(48px, 7vw, 92px) 0; }
main > section.hero { padding-top: clamp(36px, 6vw, 84px); }
section h2 { margin-bottom: 26px; color: var(--velvet-deep); }

.pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--velvet); }
.pain { padding: 24px 0 0; padding-inline-end: 28px; display: grid; gap: 10px; align-content: start; }
.pain + .pain { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
.pain p { color: var(--muted); }
.pain .fix { color: var(--velvet); font-weight: 600; }

.how { background: var(--wash); }
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(step); font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--gold); }
.steps p { color: var(--muted); }

.barlab { background: var(--velvet); color: #f4f1e6; }
.barlab h2 { color: #fff; }
.barlab .lead { color: #b9c9c1; }
.barlab-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.barlab-controls { display: grid; gap: 18px; }
.barlab .chip { background: transparent; border-color: #3d6455; color: #f4f1e6; }
.barlab .chip[aria-pressed="true"] { background: var(--gold-light); border-color: var(--gold-light); color: var(--velvet-deep); font-weight: 700; }
.barlab .fine { color: #94aaa0; }
.swatch { width: 46px; height: 46px; border-radius: 50%; cursor: pointer; border: 2px solid #3d6455; padding: 0; }
.swatch[aria-pressed="true"] { border-color: var(--gold-light); box-shadow: 0 0 0 3px var(--velvet), 0 0 0 5px var(--gold-light); }

.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; border-top: 2px solid var(--velvet); }
.feature-list > div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.feature-list dt { font-weight: 600; font-size: var(--step-1); }
.feature-list dd { color: var(--muted); }

.pricing { background: var(--wash); }
.pricing-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.pricing h2 { margin-bottom: 14px; }
.ticks { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 8px; }
.ticks li { padding-inline-start: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 0.55em; width: 12px; height: 7px; border-inline-start: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg); }
[dir="rtl"] .ticks li::before { transform: rotate(45deg) scaleX(-1); }
.plan { background: var(--page); border: 1.5px solid var(--velvet); border-radius: 22px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; color: var(--muted); }
.plan-price strong { font-family: var(--display); font-size: 3.6rem; line-height: 1; color: var(--velvet-deep); }
.plan-save { color: var(--gain); font-weight: 600; }

details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 2px solid var(--velvet); }
summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: var(--step-1); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--gold); flex: none; }
details[open] summary::after { content: "−"; }
details p { padding-bottom: 18px; color: var(--muted); max-width: 60ch; }
.faq-teaser .link { display: inline-block; margin-top: 22px; }
.after { margin-top: 32px; }

.closing { text-align: center; }
.closing h2 { margin-bottom: 24px; }

.foot { background: var(--velvet-deep); color: #c9d6cf; padding: 34px 0; }
.foot-in { display: grid; gap: 16px; }
.foot .brand { color: #fff; font-size: 1.25rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: #fff; text-decoration: underline; }
.foot .fine { color: #8fa59b; }

/* ---- Inner pages: FAQ, support, privacy ---- */
.page-head { background: var(--wash); padding: clamp(36px, 6vw, 64px) 0; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: var(--step-3); color: var(--velvet-deep); }
.page-head p { margin-top: 10px; }
.page-body { padding: clamp(32px, 5vw, 60px) 0 clamp(48px, 7vw, 88px); }
.page-body h2 { font-size: var(--step-2); margin: 40px 0 14px; color: var(--velvet-deep); }
.page-body h2:first-child { margin-top: 0; }
.page-body > .narrow > p, .page-body li { color: #33423b; }
.page-body > .narrow > p + p { margin-top: 12px; }
.page-body ul { padding-inline-start: 22px; display: grid; gap: 6px; margin-top: 10px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 12px; }
.contact { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; text-decoration: none; transition: border-color .15s; }
.contact:hover { border-color: var(--velvet); }
.contact strong { font-size: var(--step-1); color: var(--velvet-deep); }
.contact span { color: var(--muted); }
.contact .num { font-weight: 600; color: var(--ink); text-align: start; }

/* ---- Small screens ---- */
@media (max-width: 900px) {
  .hero-in, .barlab-in, .pricing-in { grid-template-columns: minmax(0, 1fr); }
  .nav { display: none; }
  .top-in { justify-content: space-between; }
  .pain-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .pain, .pain + .pain { padding: 20px 0; padding-inline: 0; border-inline-start: 0; }
  .pain + .pain { border-top: 1px solid var(--line); }
  .feature-list { grid-template-columns: minmax(0, 1fr); }
  .goldbar-in { justify-content: flex-start; }
}
@media (max-width: 520px) {
  body { line-height: 1.7; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .sim-row { grid-template-columns: minmax(0, 1fr); }
  .sim-result { grid-template-columns: minmax(0, 1fr); }
  .sim-old { text-align: start; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-cta .btn-line { display: none; } /* the demo is the next thing on a phone: keep it close */
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .top-in { gap: 10px; min-height: 60px; }
  .brand { font-size: 1.25rem; }
  .btn-sm { padding: 0 14px; font-size: 0.88rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
