/* ─────────────────────────────────────────────────────────────────
   Roastware — bilingual EN/AR projects site
   Dark charcoal · muted burnt orange · soft off-white
   ───────────────────────────────────────────────────────────────── */

:root {
  /* default accent — rich gold matching the Soor banner */
  --accent-h: 78;
  --accent-c: 0.13;
  --accent:        oklch(0.78 var(--accent-c) var(--accent-h));
  --accent-soft:   oklch(0.66 calc(var(--accent-c) * 0.95) var(--accent-h));
  --accent-deep:   oklch(0.48 calc(var(--accent-c) * 0.8) var(--accent-h));
  --accent-glow:   oklch(0.60 calc(var(--accent-c) * 0.9) var(--accent-h) / 0.3);
  --accent-ink:    oklch(0.15 0.03 var(--accent-h));

  --ink-0:  oklch(0.07 0.006 60);   /* page bg — near-black, matches banner */
  --ink-1:  oklch(0.105 0.010 60);  /* surface 1 */
  --ink-2:  oklch(0.14 0.012 60);   /* surface 2 */
  --ink-3:  oklch(0.19 0.012 60);   /* hairlines */
  --topbar-bg: oklch(0.085 0.008 60 / 0.72);
  --shadow-deep: oklch(0 0 0 / 0.55);

  --cream-0: oklch(0.96 0.012 80);
  --cream-1: oklch(0.88 0.020 80);
  --cream-2: oklch(0.72 0.020 80);
  --cream-3: oklch(0.55 0.020 80);

  --roast-hi:    oklch(0.72 0.14 45);
  --roast-line:  oklch(0.48 0.06 45);

  /* Type system — Cormorant Garamond display, Inter Tight body, JetBrains mono.
     Arabic page text uses IBM Plex Sans Arabic for fast reading. */
  --serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --sans:  'Inter Tight', 'Inter', system-ui, sans-serif;
  --mono:  'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;
  --arabic: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', system-ui, sans-serif;
  --arabic-display: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', system-ui, sans-serif;

  --maxw: 1120px;
  --gutter: 32px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--ink-0);
  color: var(--cream-0);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Arabic mode — clean modern font for body and headings */
body[data-lang="ar"] {
  font-family: var(--arabic);
  font-feature-settings: "ss01" on, "kern" on;
  letter-spacing: 0;
  line-height: 1.75;
}

/* Latin runs inside Arabic (button labels, urls) keep Latin stack */
body[data-lang="ar"] .btn__lat,
body[data-lang="ar"] .mark__name,
body[data-lang="ar"] .hero__title-lat,
body[data-lang="ar"] .proj__title-lat,
body[data-lang="ar"] .mono,
body[data-lang="ar"] .langtog__lat,
body[data-lang="ar"] .ocard__name {
  font-family: var(--sans);
  letter-spacing: normal;
}
/* Arabic mode uses readable UI text even for large product labels. */
body[data-lang="ar"] .hero__title-lat,
body[data-lang="ar"] .proj__title-lat,
body[data-lang="ar"] .ocard__name {
  font-family: var(--arabic);
}

::selection { background: var(--accent); color: var(--ink-0); }

a { color: inherit; text-decoration: none; }

/* Density */
html[data-density="compact"] { --gutter: 24px; }
html[data-density="compact"] .proj,
html[data-density="compact"] .overview,
html[data-density="compact"] .status,
html[data-density="compact"] .contact { padding-block: 64px; }
html[data-density="compact"] .hero { padding-block: 110px 80px; }

/* ─────────────────────────── backdrop ─────────────────────────── */
.bg-vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, oklch(0.22 0.05 var(--accent-h) / 0.55), transparent 70%),
    radial-gradient(ellipse 60% 60% at 50% 100%, oklch(0.18 0.04 var(--accent-h) / 0.4), transparent 70%);
}
.bg-grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1   0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
html[data-show-grid="1"] body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 2;
  background-image:
    linear-gradient(to right, oklch(0.5 0.04 var(--accent-h) / 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.5 0.04 var(--accent-h) / 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
}

.page { position: relative; z-index: 3; }

/* ─────────────────────────── topbar ─────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  background: var(--topbar-bg);
  border-bottom: 1px solid oklch(0.5 0.04 var(--accent-h) / 0.1);
}
.topbar__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}
.mark { display: inline-flex; align-items: center; gap: 10px; }
.mark__bean {
  display: block;
  height: 30px;
  width: 30px;
  transform: translateY(-1px);
  filter: drop-shadow(0 4px 12px oklch(0.4 0.14 55 / 0.35));
}
.mark__glyph {
  color: var(--accent);
  font-size: 14px;
  transform: translateY(-1px);
}
.mark__name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  letter-spacing: 0.005em;
  color: var(--cream-0);
}
.nav {
  display: flex; align-items: center; gap: 26px;
}
.nav > a {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cream-2);
  position: relative;
  padding-block: 4px;
  transition: color 160ms;
}
body[data-lang="ar"] .nav > a {
  font-family: var(--arabic);
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
}
.nav > a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--accent);
  transition: right 220ms ease;
}
.nav > a:hover { color: var(--cream-0); }
.nav > a:hover::after { right: 0; }

/* ─────────────────────────── language toggle ─────────────────────────── */
.langtog {
  display: inline-flex; align-items: center;
  gap: 4px;
  margin-inline-start: 6px;
  padding: 5px 7px;
  border: 1px solid oklch(0.5 0.04 var(--accent-h) / 0.18);
  border-radius: 999px;
  background: oklch(0.5 0.04 var(--accent-h) / 0.04);
}
.langtog__btn {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  padding: 4px 11px;
  border-radius: 999px;
  color: var(--cream-2);
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: all 180ms ease;
}
.langtog__btn:hover { color: var(--cream-0); }
.langtog__btn.is-on {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 18px -6px var(--accent-glow);
}
.langtog__btn--ar { font-family: var(--arabic); font-size: 13.5px; padding: 3px 11px 5px; }
.langtog__sep {
  color: var(--cream-3);
  font-size: 11px;
  user-select: none;
  opacity: 0.55;
}

/* ─────────────────────────── hero ─────────────────────────── */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 130px var(--gutter) 90px;
  position: relative;
}
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-2);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 36px;
}
body[data-lang="ar"] .hero__eyebrow,
body[data-lang="ar"] .overview__eyebrow,
body[data-lang="ar"] .status__eyebrow,
body[data-lang="ar"] .contact__eyebrow,
body[data-lang="ar"] .proj__label {
  font-family: var(--arabic);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: none;
}
.hero__eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 9vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: var(--cream-0);
  display: flex;
  align-items: center;
  gap: 0.18em;
  flex-wrap: wrap;
}
.hero__bean {
  height: 0.82em;
  width: auto;
  display: block;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 24px oklch(0.5 0.14 var(--accent-h) / 0.35));
  transform: translateY(-0.04em);
}
[dir="rtl"] .hero__title { flex-direction: row-reverse; }
.hero__title-lat {
  background: linear-gradient(180deg, var(--cream-0) 0%, var(--accent) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.35;
  color: var(--cream-1);
  max-width: 640px;
  margin: 0 0 22px;
  text-wrap: pretty;
}
body[data-lang="ar"] .hero__subtitle {
  font-family: var(--arabic-display);
  font-style: normal;
  font-weight: 500;
}
.hero__body {
  font-size: 17px;
  line-height: 1.65;
  max-width: 580px;
  color: var(--cream-1);
  margin: 0 0 36px;
  text-wrap: pretty;
}
.hero__badges {
  list-style: none; padding: 0; margin: 0 0 40px;
  display: flex; flex-wrap: wrap; gap: 8px;
  max-width: 720px;
}
.hero__badges li {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-1);
  padding: 8px 13px;
  border: 1px solid oklch(0.5 0.04 var(--accent-h) / 0.22);
  border-radius: 999px;
  background: oklch(0.5 0.04 var(--accent-h) / 0.05);
}
body[data-lang="ar"] .hero__badges li,
body[data-lang="ar"] .chips li {
  font-family: var(--arabic);
  font-size: 12.5px;
  letter-spacing: normal;
  text-transform: none;
}
.hero__cta {
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* ─────────────────────────── shared eyebrow/title styles ─────────────────────────── */
.overview__eyebrow,
.status__eyebrow,
.contact__eyebrow,
.proj__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ─────────────────────────── overview ─────────────────────────── */
.overview {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px var(--gutter) 100px;
  border-top: 1px solid var(--ink-3);
}
.overview__head { max-width: 720px; margin-bottom: 56px; }
.overview__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0 0 20px;
  color: var(--cream-0);
  text-wrap: pretty;
}
body[data-lang="ar"] .overview__title,
body[data-lang="ar"] .status__title,
body[data-lang="ar"] .contact__title {
  font-family: var(--arabic-display);
  font-weight: 700;
  line-height: 1.3;
}
.overview__body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--cream-1);
  max-width: 640px;
  margin: 0;
}

.overview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ocard {
  position: relative;
  display: flex; flex-direction: column;
  gap: 12px;
  padding: 28px 24px 24px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  border: 1px solid var(--ink-3);
  border-radius: 6px;
  transition: all 220ms ease;
  overflow: hidden;
}
.ocard::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  opacity: 0.6;
  transition: width 220ms ease, opacity 220ms;
}
[dir="rtl"] .ocard::before { left: auto; right: 0; }
.ocard:hover {
  border-color: oklch(0.5 0.05 var(--accent-h) / 0.4);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -28px oklch(0 0 0 / 0.55);
}
.ocard:hover::before { opacity: 1; width: 3px; }
.ocard--roastdrop::before { background: var(--roast-hi); }
.ocard__icon {
  color: var(--accent);
  height: 36px;
  display: flex; align-items: center;
}
.ocard--roastdrop .ocard__icon { color: var(--roast-hi); }
.ocard__plat {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-2);
}
body[data-lang="ar"] .ocard__plat,
body[data-lang="ar"] .ocard__desc,
body[data-lang="ar"] .ocard__tag {
  font-family: var(--arabic);
  font-size: 13px;
  letter-spacing: normal;
  text-transform: none;
}
.ocard__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  color: var(--cream-0);
}
.ocard__desc {
  font-size: 14.5px;
  color: var(--cream-1);
  line-height: 1.55;
  flex: 1;
}
.ocard__tag {
  display: inline-flex; align-self: flex-start;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: oklch(0.5 0.04 var(--accent-h) / 0.1);
  color: var(--accent);
  border: 1px solid oklch(0.5 0.04 var(--accent-h) / 0.25);
}
.ocard--roastdrop .ocard__tag {
  background: oklch(0.5 0.06 45 / 0.1);
  color: var(--roast-hi);
  border-color: oklch(0.5 0.06 45 / 0.3);
}

/* ─────────────────────────── project section ─────────────────────────── */
.proj {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px var(--gutter);
  position: relative;
  border-top: 1px solid var(--ink-3);
  display: flex; flex-direction: column;
  gap: 32px;
}

.proj__head {
  display: flex; align-items: flex-start;
  gap: 20px;
}
.proj__icon {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 6px;
}
.proj--roast .proj__icon { color: var(--roast-hi); }
.proj__headtext { flex: 1; min-width: 0; }
.proj__label { margin-bottom: 14px; }
.proj--roast .proj__label { color: var(--roast-hi); }
.proj__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6.5vw, 80px);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--cream-0);
}
body[data-lang="ar"] .proj__title {
  font-family: var(--arabic-display);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.2;
}
/* RoastDrop / Roastware / SoorBot keep Latin even in Arabic mode */
body[data-lang="ar"] .proj__title-lat {
  font-family: var(--serif);
  font-weight: 400;
}
.proj__subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--cream-1);
  margin: 0;
  max-width: 640px;
}
body[data-lang="ar"] .proj__subtitle {
  font-family: var(--arabic-display);
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
}

/* media — banner */
.banner {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid oklch(0.5 0.05 var(--accent-h) / 0.18);
  box-shadow:
    0 0 0 1px oklch(0 0 0 / 0.3) inset,
    0 30px 60px -20px oklch(0 0 0 / 0.6),
    0 0 80px -20px var(--accent-glow);
}
.banner img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 2111 / 745;
  object-fit: cover;
}
.banner__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 30% 60%, transparent 40%, oklch(0 0 0 / 0.35) 100%);
}
.banner__platform {
  position: absolute; right: 18px; top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid oklch(0.7 0.04 var(--accent-h) / 0.4);
  border-radius: 999px;
  background: oklch(0 0 0 / 0.55);
  color: var(--cream-0);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
[dir="rtl"] .banner__platform { right: auto; left: 18px; }

html[data-card-style="bleed"] .banner {
  border-radius: 0; border-left: 0; border-right: 0;
}
html[data-card-style="plain"] .banner { border: 0; box-shadow: none; }

.proj__body { max-width: 720px; }
.proj__body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--cream-1);
  margin: 0 0 16px;
  text-wrap: pretty;
}
.proj__body p.muted { color: var(--cream-2); }

/* Soor Telegram explanation blocks */
.answer-box,
.workflow,
.shield-note,
.limits,
.faq {
  border: 1px solid var(--ink-3);
  border-radius: 6px;
  background:
    linear-gradient(180deg,
      oklch(0.5 0.08 var(--accent-h) / 0.08),
      oklch(0.5 0.04 var(--accent-h) / 0.03)),
    linear-gradient(180deg, var(--ink-2), var(--ink-1));
}
.answer-box,
.workflow,
.limits,
.faq {
  padding: 26px;
}
.answer-box__eyebrow,
.mode-grid__eyebrow,
.workflow__eyebrow,
.shield-note__label,
.limits__eyebrow,
.faq__eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
body[data-lang="ar"] .answer-box__eyebrow,
body[data-lang="ar"] .mode-grid__eyebrow,
body[data-lang="ar"] .workflow__eyebrow,
body[data-lang="ar"] .shield-note__label,
body[data-lang="ar"] .limits__eyebrow,
body[data-lang="ar"] .faq__eyebrow {
  font-family: var(--arabic);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
}
.answer-box__title,
.mode-grid__head h3,
.workflow__head h3,
.shield-note h3,
.limits h3,
.faq h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--cream-0);
  margin: 0 0 18px;
  text-wrap: balance;
}
body[data-lang="ar"] .answer-box__title,
body[data-lang="ar"] .mode-grid__head h3,
body[data-lang="ar"] .workflow__head h3,
body[data-lang="ar"] .shield-note h3,
body[data-lang="ar"] .limits h3,
body[data-lang="ar"] .faq h3 {
  font-family: var(--arabic-display);
  font-weight: 700;
  line-height: 1.35;
}
.answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.answer-item {
  padding: 16px 18px;
  border: 1px solid oklch(0.5 0.05 var(--accent-h) / 0.22);
  border-radius: 5px;
  background: oklch(0.5 0.04 var(--accent-h) / 0.04);
}
.answer-item__label,
.mode-card__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
body[data-lang="ar"] .answer-item__label,
body[data-lang="ar"] .mode-card__tag {
  font-family: var(--arabic);
  font-size: 12.5px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
}
.answer-item p,
.mode-card p,
.workflow__head p,
.shield-note p,
.faq__item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--cream-1);
  text-wrap: pretty;
}
body[data-lang="ar"] .answer-item p,
body[data-lang="ar"] .mode-card p,
body[data-lang="ar"] .workflow__head p,
body[data-lang="ar"] .shield-note p,
body[data-lang="ar"] .faq__item p {
  font-family: var(--arabic);
  font-size: 14.5px;
  line-height: 1.8;
}
.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.mode-grid__head {
  grid-column: 1 / -1;
}
.mode-card {
  padding: 22px 24px;
  border-radius: 6px;
  border: 1px solid var(--ink-3);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
}
.mode-card h4 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.15;
  color: var(--cream-0);
}
body[data-lang="ar"] .mode-card h4 {
  font-family: var(--arabic);
  font-size: 20px;
}
.workflow__steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.workflow__steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px 14px;
  border: 1px solid oklch(0.5 0.05 var(--accent-h) / 0.18);
  border-radius: 5px;
  background: oklch(0.5 0.04 var(--accent-h) / 0.035);
  color: var(--cream-1);
  font-size: 14.5px;
  line-height: 1.6;
}
body[data-lang="ar"] .workflow__steps li {
  font-family: var(--arabic);
  line-height: 1.8;
}
.workflow__num {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}
.shield-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 22px 24px;
  border-inline-start: 2px solid var(--accent);
}
.shield-note__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid oklch(0.5 0.08 var(--accent-h) / 0.25);
  border-radius: 6px;
  color: var(--accent);
  background: oklch(0.5 0.10 var(--accent-h) / 0.1);
}
.limits ul {
  margin: 0;
  padding-inline-start: 20px;
  display: grid;
  gap: 9px;
  color: var(--cream-1);
}
[dir="rtl"] .limits ul { padding-inline-start: 0; padding-inline-end: 20px; }
.limits li {
  font-size: 14.5px;
  line-height: 1.7;
}
body[data-lang="ar"] .limits li {
  font-family: var(--arabic);
  line-height: 1.85;
}
.faq__list {
  display: grid;
  gap: 10px;
}
.faq__item {
  border: 1px solid oklch(0.5 0.05 var(--accent-h) / 0.2);
  border-radius: 5px;
  background: oklch(0.5 0.04 var(--accent-h) / 0.035);
  overflow: hidden;
}
.faq__item summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--cream-0);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.35;
}
body[data-lang="ar"] .faq__item summary {
  font-family: var(--arabic);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
}
.faq__item p {
  padding: 0 16px 16px;
}
@media (max-width: 720px) {
  .answer-grid,
  .mode-grid {
    grid-template-columns: 1fr;
  }
  .answer-box,
  .workflow,
  .limits,
  .faq {
    padding: 22px;
  }
  .shield-note {
    grid-template-columns: 1fr;
  }
}

/* chips */
.chips {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  max-width: 820px;
}
.chips li {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-1);
  padding: 7px 12px;
  border: 1px solid oklch(0.5 0.04 var(--accent-h) / 0.2);
  border-radius: 999px;
  background: oklch(0.5 0.04 var(--accent-h) / 0.05);
}
.proj--roast .chips li {
  border-color: oklch(0.5 0.06 45 / 0.25);
  background: oklch(0.5 0.06 45 / 0.06);
}

/* trust note */
.trust {
  position: relative;
  padding: 22px 24px;
  border-radius: 4px;
  border: 1px solid var(--ink-3);
  border-inline-start: 2px solid var(--accent);
  background: oklch(0.5 0.04 var(--accent-h) / 0.05);
  max-width: 720px;
}
.proj--roast .trust { border-inline-start-color: var(--roast-hi); }
.trust__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
body[data-lang="ar"] .trust__label {
  font-family: var(--arabic);
  font-size: 12.5px;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 600;
}
.proj--roast .trust__label { color: var(--roast-hi); }
.trust p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--cream-1);
  text-wrap: pretty;
}

/* chips inside the trust box */
.trust .chips {
  max-width: none;
  justify-content: center;
}
.trust > .chips:not(:first-child) {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed oklch(0.5 0.04 var(--accent-h) / 0.18);
}
/* when the box holds only chips, give them breathing room */
.trust:has(> .chips:only-child) {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
}
.trust:has(> .chips:only-child) .chips {
  margin: 0;
}

/* buttons */
.proj__links, .proj__actions {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.discord-final {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 24px 26px;
  border-radius: 6px;
  border: 1px solid var(--ink-3);
  border-inline-start: 2px solid var(--accent);
  background:
    linear-gradient(180deg,
      oklch(0.5 0.10 var(--accent-h) / 0.10),
      oklch(0.5 0.10 var(--accent-h) / 0.03)),
    linear-gradient(180deg, var(--ink-2), var(--ink-1));
}
.discord-final__copy h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.12;
  color: var(--cream-0);
}
.discord-final__copy p {
  margin: 0;
  color: var(--cream-1);
  font-size: 15px;
  line-height: 1.65;
  max-width: 620px;
}
body[data-lang="ar"] .discord-final__copy h3 {
  font-family: var(--arabic-display);
  font-weight: 700;
  line-height: 1.35;
}
body[data-lang="ar"] .discord-final__copy p {
  font-family: var(--arabic);
  font-size: 14.5px;
  line-height: 1.8;
}
@media (max-width: 820px) {
  .discord-final {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .discord-final .btn { justify-content: center; }
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 180ms ease;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}
body[data-lang="ar"] .btn {
  font-family: var(--arabic);
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 500;
}
body[data-lang="ar"] .btn .btn__lat { font-family: var(--sans); font-size: 12px; letter-spacing: 0.04em; }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: 0 0 30px -5px var(--accent-deep);
}
.btn--primary:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  transform: translateY(-1px);
}
.btn--primary.btn--roast {
  background: var(--roast-hi);
  border-color: var(--roast-hi);
  color: oklch(0.15 0.02 45);
  box-shadow: 0 0 30px -5px oklch(0.4 0.1 45);
}
.btn--ghost {
  background: transparent;
  color: var(--cream-0);
  border-color: oklch(0.6 0.03 var(--accent-h) / 0.3);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn .arrow { transition: transform 220ms ease; }
.btn:hover .arrow { transform: translateX(3px); }
[dir="rtl"] .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }

/* telegram launch (QR + buttons) */
.tg-launch {
  display: flex; align-items: stretch; gap: 24px;
  flex-wrap: wrap;
}
.tg-launch__qr {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 14px;
  background: var(--ink-2);
  border: 1px solid oklch(0.5 0.05 var(--accent-h) / 0.18);
  border-radius: 4px;
  box-shadow:
    0 0 0 1px oklch(0 0 0 / 0.3) inset,
    0 20px 40px -20px oklch(0 0 0 / 0.6),
    0 0 50px -20px var(--accent-glow);
}
.tg-launch__qr img {
  display: block;
  width: 168px; height: auto;
  border-radius: 2px;
}
.tg-launch__qr-cap {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-2);
}
body[data-lang="ar"] .tg-launch__qr-cap {
  font-family: var(--arabic);
  font-size: 12px;
  letter-spacing: normal;
  text-transform: none;
}
.tg-launch__actions {
  display: flex; flex-direction: column; gap: 10px;
  justify-content: center;
}

/* ─────────────────────────── roastdrop banner + poster launch ─────────────────────────── */
.banner--roast {
  box-shadow:
    0 0 0 1px oklch(0 0 0 / 0.3) inset,
    0 30px 60px -20px oklch(0 0 0 / 0.6),
    0 0 90px -20px oklch(0.55 0.13 45 / 0.4);
}
.banner--roast img {
  aspect-ratio: 1672 / 941;
}

.rd-launch {
  display: flex; align-items: stretch; gap: 28px;
  flex-wrap: wrap;
}
.rd-launch__poster {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid oklch(0.5 0.06 45 / 0.28);
  background: var(--ink-1);
  box-shadow:
    0 0 0 1px oklch(0 0 0 / 0.3) inset,
    0 24px 50px -22px oklch(0 0 0 / 0.65),
    0 0 70px -20px oklch(0.55 0.13 45 / 0.35);
  flex: 0 0 auto;
}
.rd-launch__poster img {
  display: block;
  width: 220px;
  height: auto;
  aspect-ratio: 941 / 1672;
  object-fit: cover;
}
.rd-launch__actions {
  display: flex; flex-direction: column; gap: 10px;
  justify-content: center;
  flex: 1;
  min-width: 200px;
}
@media (max-width: 720px) {
  .rd-launch { gap: 18px; }
  .rd-launch__poster img { width: 160px; }
}

/* ─────────────────────────── roastdrop placeholder ─────────────────────────── */
.roastdrop-mark {
  display: grid;
  place-items: center;
  border: 1px solid oklch(0.5 0.06 45 / 0.25);
  background:
    repeating-linear-gradient(135deg,
      oklch(0.16 0.02 45 / 0.4) 0 1px,
      transparent 1px 16px),
    radial-gradient(ellipse at center, oklch(0.18 0.04 45 / 0.6), oklch(0.09 0.01 45) 80%);
  border-radius: 4px;
  padding: 56px;
  position: relative;
  min-height: 360px;
}
.roastdrop-svg { width: min(320px, 70%); height: auto; display: block; }
.roastdrop-mark__caption {
  position: absolute;
  bottom: 18px; inset-inline-start: 18px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-2);
  opacity: 0.7;
}
.roastdrop-mark__caption .mono {
  padding: 4px 8px;
  border: 1px dashed oklch(0.5 0.04 45 / 0.5);
  border-radius: 2px;
  color: var(--roast-hi);
}

/* ─────────────────────────── status section ─────────────────────────── */
.status {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px var(--gutter);
  border-top: 1px solid var(--ink-3);
}
.status__head { max-width: 720px; margin-bottom: 48px; }
.status__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--cream-0);
  letter-spacing: -0.01em;
}
.status__body {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--cream-1);
  max-width: 640px;
  margin: 0;
}
.status__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.scard {
  padding: 24px;
  border: 1px solid var(--ink-3);
  border-radius: 6px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  display: flex; flex-direction: column; gap: 10px;
}
.scard__topline {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.scard__name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--cream-0);
}
body[data-lang="ar"] .scard__name {
  font-family: var(--arabic-display);
  font-weight: 700;
  font-size: 19px;
}
.scard__pip {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.scard__status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 11px;
  align-self: flex-start;
  background: oklch(0.5 0.04 var(--accent-h) / 0.08);
  border: 1px solid oklch(0.5 0.04 var(--accent-h) / 0.2);
  border-radius: 999px;
}
body[data-lang="ar"] .scard__status {
  font-family: var(--arabic);
  font-size: 12.5px;
  letter-spacing: normal;
  text-transform: none;
}
.scard__note {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--cream-2);
  text-wrap: pretty;
}

/* ─────────────────────────── contact ─────────────────────────── */
.contact {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px var(--gutter);
  border-top: 1px solid var(--ink-3);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.contact__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.contact__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  margin: 0 0 18px;
  color: var(--cream-0);
  letter-spacing: -0.01em;
}
.contact__body {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--cream-1);
  margin: 0;
}
body[data-lang="ar"] .contact__body { font-family: var(--arabic); }

.contact__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 940px;
  margin: 0 auto;
}
.clink { width: 300px; }
@media (max-width: 820px) { .contact__cards { max-width: 460px; } .clink { width: 100%; } }

.clink {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 300px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid var(--ink-3);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  text-decoration: none;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.clink:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -20px oklch(0.5 0.16 var(--accent-h) / 0.5);
}
.clink__avatar {
  width: 46px; height: 46px;
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: 2px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid oklch(0.55 0.09 var(--accent-h) / 0.5);
  box-shadow: 0 2px 10px oklch(0 0 0 / 0.4);
}
.clink__text { flex: 1; min-width: 0; overflow: hidden; }
.clink__platform {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}
.clink__platform svg { flex: 0 0 auto; }
.clink__name {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.18;
  color: var(--cream-0);
  text-wrap: balance;
}
body[data-lang="ar"] .clink__name { font-family: var(--arabic); font-size: 15.5px; }
.clink__handle {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--cream-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.clink__arrow {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--accent);
  opacity: 0.5;
  transition: transform 200ms ease, opacity 200ms ease;
}
.clink:hover .clink__arrow { opacity: 1; transform: translateX(4px); }
[dir="rtl"] .clink:hover .clink__arrow { transform: translateX(-4px); }
[dir="rtl"] .clink__arrow svg { transform: scaleX(-1); }

/* ─────────────────────────── foot ─────────────────────────── */
.foot {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px var(--gutter) 60px;
  display: flex; justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--ink-3);
}
.foot .mono {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-3);
}
.foot__text {
  font-size: 13px;
  color: var(--cream-2);
}
body[data-lang="ar"] .foot__text {
  font-family: var(--arabic);
}

/* ─────────────────────────── responsive ─────────────────────────── */
@media (max-width: 920px) {
  .overview__grid, .status__grid { grid-template-columns: 1fr 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 32px; align-items: stretch; }
}
@media (max-width: 720px) {
  .overview__grid, .status__grid { grid-template-columns: 1fr; }
  .proj__title { font-size: 44px; }
  .proj__head { flex-direction: column; }
  .hero { padding-block: 100px 60px; }
  .nav { gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
  .langtog { margin-inline-start: 0; }
}

/* ─────────────────────────── tweaks swatch ─────────────────────────── */
.tw-color { display: flex; flex-direction: column; gap: 10px; padding: 8px 0; }
.tw-color__label {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; color: #9b9b9b;
}
.tw-color__row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tw-swatch {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  background: rgba(255,255,255,0.02);
  color: #eee;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: all 160ms;
}
.tw-swatch:hover { border-color: rgba(255,255,255,0.25); }
.tw-swatch.is-on {
  border-color: #d4b85a;
  background: rgba(212,184,90,0.1);
}
.tw-swatch__dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.4);
}
.tw-swatch__name { font-size: 11.5px; }


/* ─────────────────────────── moods ───────────────────────────
   Override the ink/cream surface scale per mood.
   Default (no attribute) = original deep-charcoal look. */

/* Cocoa — coffee-brown, dark but warmer & softer than charcoal */
html[data-mood="cocoa"] {
  --ink-0: oklch(0.20 0.018 50);
  --ink-1: oklch(0.245 0.020 50);
  --ink-2: oklch(0.295 0.022 50);
  --ink-3: oklch(0.37 0.022 50);
  --topbar-bg: oklch(0.22 0.018 50 / 0.78);
  --cream-0: oklch(0.97 0.015 80);
  --cream-1: oklch(0.90 0.022 80);
  --cream-2: oklch(0.78 0.022 80);
  --cream-3: oklch(0.62 0.022 80);
  --shadow-deep: oklch(0.05 0.01 50 / 0.45);
}

/* Mocha — medium warm brown, like brewed coffee */
html[data-mood="mocha"] {
  --ink-0: oklch(0.34 0.020 50);
  --ink-1: oklch(0.385 0.022 50);
  --ink-2: oklch(0.43 0.024 50);
  --ink-3: oklch(0.52 0.024 50);
  --topbar-bg: oklch(0.36 0.020 50 / 0.78);
  --cream-0: oklch(0.97 0.018 80);
  --cream-1: oklch(0.91 0.024 80);
  --cream-2: oklch(0.82 0.024 80);
  --cream-3: oklch(0.70 0.024 80);
  --shadow-deep: oklch(0.18 0.02 50 / 0.45);
}

/* Latte — warm mid-tone, easy on eyes, brand still warm */
html[data-mood="latte"] {
  --ink-0: oklch(0.52 0.025 65);
  --ink-1: oklch(0.58 0.028 65);
  --ink-2: oklch(0.63 0.030 65);
  --ink-3: oklch(0.72 0.028 65);
  --topbar-bg: oklch(0.54 0.025 65 / 0.78);
  --cream-0: oklch(0.99 0.020 80);
  --cream-1: oklch(0.96 0.030 80);
  --cream-2: oklch(0.88 0.030 80);
  --cream-3: oklch(0.78 0.030 80);
  --shadow-deep: oklch(0.28 0.03 50 / 0.35);
}

/* Parchment — light theme, ivory page, dark text */
html[data-mood="parchment"] {
  --ink-0: oklch(0.96 0.020 85);
  --ink-1: oklch(0.92 0.024 85);
  --ink-2: oklch(0.88 0.028 85);
  --ink-3: oklch(0.78 0.028 75);
  --topbar-bg: oklch(0.95 0.020 85 / 0.82);
  --cream-0: oklch(0.20 0.018 50);
  --cream-1: oklch(0.30 0.020 50);
  --cream-2: oklch(0.44 0.022 55);
  --cream-3: oklch(0.58 0.022 55);
  --shadow-deep: oklch(0.30 0.04 50 / 0.20);
  --accent-ink: oklch(0.98 0.012 80);
}

/* Hero gradient text reads strangely on light bg — bias to deep */
html[data-mood="parchment"] .hero__title-lat {
  background: linear-gradient(180deg, var(--cream-0) 0%, var(--accent-deep) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Backdrop vignette: lighten for light moods, warm for warm moods */
html[data-mood="parchment"] .bg-vignette,
html[data-mood="latte"] .bg-vignette {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, oklch(0.85 0.05 var(--accent-h) / 0.55), transparent 70%),
    radial-gradient(ellipse 60% 60% at 50% 100%, oklch(0.88 0.04 var(--accent-h) / 0.4), transparent 70%);
}
html[data-mood="parchment"] .bg-grain,
html[data-mood="latte"] .bg-grain {
  opacity: 0.04; mix-blend-mode: multiply;
}


/* ─── Features grid (Soor / SoorBot) ─── */
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 18px;
}
@media (max-width: 720px) {
  .features { grid-template-columns: 1fr; }
}
.feature {
  position: relative;
  padding: 20px 22px;
  border-radius: 6px;
  border: 1px solid var(--ink-3);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 6px;
  transition: border-color 220ms ease, transform 220ms ease;
}
.feature:hover {
  border-color: oklch(0.5 0.08 var(--accent-h) / 0.35);
}
.feature__icon {
  grid-row: 1 / span 2;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: oklch(0.5 0.10 var(--accent-h) / 0.10);
  color: var(--accent);
  border: 1px solid oklch(0.5 0.08 var(--accent-h) / 0.22);
}
.feature__title {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.25;
  color: var(--cream-0);
  letter-spacing: -0.005em;
  align-self: end;
}
.feature__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--cream-2);
  text-wrap: pretty;
}
body[data-lang="ar"] .feature__title,
body[data-lang="ar"] .feature__desc { font-family: var(--arabic); }
body[data-lang="ar"] .feature__title { font-size: 17.5px; }
body[data-lang="ar"] .feature__desc { font-size: 14.5px; line-height: 1.75; }

/* ─── Privacy callout ─── */
.privacy {
  margin: 4px 0 18px;
  padding: 18px 22px 20px;
  border-radius: 6px;
  border: 1px solid var(--accent);
  background:
    linear-gradient(180deg,
      oklch(0.5 0.10 var(--accent-h) / 0.08),
      oklch(0.5 0.10 var(--accent-h) / 0.02));
  box-shadow: inset 0 0 0 1px oklch(0.5 0.10 var(--accent-h) / 0.12);
}
.privacy__head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
body[data-lang="ar"] .privacy__head {
  font-family: var(--arabic);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
}
.privacy__head svg { flex: 0 0 auto; }
.privacy__list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
}
@media (max-width: 720px) {
  .privacy__list { grid-template-columns: 1fr; }
}
.privacy__list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; line-height: 1.5;
  color: var(--cream-1);
}
body[data-lang="ar"] .privacy__list li {
  font-family: var(--arabic);
  font-size: 14.5px;
  line-height: 1.7;
}
.privacy__mark {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 11px; line-height: 1;
  font-weight: 600;
}
.privacy__list li.is-ok .privacy__mark {
  background: oklch(0.5 0.10 var(--accent-h) / 0.18);
  color: var(--accent);
}
.privacy__list li.is-deny .privacy__mark {
  background: oklch(0.30 0.02 30 / 0.6);
  color: var(--cream-3);
  border: 1px solid var(--ink-3);
}
.privacy__list li.is-deny {
  color: var(--cream-2);
}


/* ─── Pricing cards ─── */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 4px 0 22px;
}
@media (max-width: 720px) { .pricing { grid-template-columns: 1fr; } }

.price-card {
  position: relative;
  padding: 26px 26px 22px;
  border-radius: 6px;
  border: 1px solid var(--ink-3);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.price-card--pro {
  border-color: var(--accent);
  background:
    linear-gradient(180deg,
      oklch(0.5 0.10 var(--accent-h) / 0.10),
      oklch(0.5 0.10 var(--accent-h) / 0.02)),
    linear-gradient(180deg, var(--ink-2), var(--ink-1));
  box-shadow:
    0 0 0 1px oklch(0.5 0.10 var(--accent-h) / 0.15),
    0 14px 40px -16px oklch(0.5 0.18 var(--accent-h) / 0.45),
    inset 0 1px 0 oklch(0.5 0.10 var(--accent-h) / 0.18);
}
.price-card__ribbon {
  position: absolute;
  top: -1px; inset-inline-end: 22px;
  padding: 5px 10px 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  background: var(--accent);
  color: var(--ink-0);
  border-radius: 0 0 4px 4px;
  font-weight: 600;
}
body[data-lang="ar"] .price-card__ribbon { font-family: var(--mono); }

.price-card__tier {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
body[data-lang="ar"] .price-card__tier {
  font-family: var(--arabic);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
}
.price-card__subtitle {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.2;
  color: var(--cream-1);
}
body[data-lang="ar"] .price-card__subtitle { font-family: var(--arabic); font-size: 18px; }

.price-card__price {
  padding: 14px 16px;
  border-radius: 4px;
  border: 1px dashed oklch(0.5 0.06 var(--accent-h) / 0.28);
  background: oklch(0.5 0.04 var(--accent-h) / 0.05);
}
.price-card__price-main {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.05;
  color: var(--cream-0);
  letter-spacing: -0.01em;
}
.price-card__price-alt {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cream-2);
}
body[data-lang="ar"] .price-card__price-alt {
  font-family: var(--arabic); font-size: 14px; letter-spacing: 0;
}

.price-card__feats {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 9px;
  flex: 1;
}
.price-card__feats li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; line-height: 1.5;
  color: var(--cream-1);
}
body[data-lang="ar"] .price-card__feats li {
  font-family: var(--arabic); font-size: 14.5px; line-height: 1.7;
}
.price-card__check {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: oklch(0.5 0.10 var(--accent-h) / 0.18);
  color: var(--accent);
  font-size: 11px; line-height: 1; font-weight: 600;
}

.price-card .btn { align-self: stretch; justify-content: center; }
.price-card__foot {
  margin-top: -6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--cream-3);
  text-align: center;
}
body[data-lang="ar"] .price-card__foot {
  font-family: var(--arabic); font-size: 12.5px; letter-spacing: 0;
}


/* ─── RoastDrop — Coming Soon ─── */
.rd-soon {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 18px 0 8px;
}
.rd-soon__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 34px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background:
    linear-gradient(180deg,
      oklch(0.5 0.10 var(--accent-h) / 0.10),
      oklch(0.5 0.10 var(--accent-h) / 0.02));
  box-shadow:
    0 0 0 1px oklch(0.5 0.10 var(--accent-h) / 0.14),
    0 14px 44px -18px oklch(0.5 0.18 var(--accent-h) / 0.5),
    inset 0 1px 0 oklch(0.5 0.10 var(--accent-h) / 0.2);
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.rd-soon__badge::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 2px oklch(0.6 0.16 var(--accent-h) / 0.6);
}
body[data-lang="ar"] .rd-soon__badge {
  font-family: var(--arabic);
  font-size: 24px;
  letter-spacing: 0;
}


/* Fine print under chips */
.chips-note {
  margin: 10px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent);
  opacity: 0.55;
  text-align: center;
}
body[data-lang="ar"] .chips-note {
  font-family: var(--arabic);
  font-size: 13px;
  letter-spacing: 0;
}


/* Community links (Soor) */
.community {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 14px 0 2px;
}
.community__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid oklch(0.5 0.06 var(--accent-h) / 0.3);
  background: oklch(0.5 0.04 var(--accent-h) / 0.05);
  color: var(--cream-1);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}
.community__link svg:first-child { color: var(--accent); flex: 0 0 auto; }
.community__link svg:last-child {
  width: 12px; height: 12px;
  opacity: 0.5;
  transition: transform 180ms ease, opacity 180ms ease;
}
.community__link:hover {
  border-color: var(--accent);
  color: var(--cream-0);
  background: oklch(0.5 0.08 var(--accent-h) / 0.1);
}
.community__link:hover svg:last-child { opacity: 0.9; transform: translateX(3px); }
[dir="rtl"] .community__link:hover svg:last-child { transform: translateX(-3px); }
body[data-lang="ar"] .community__link {
  font-family: var(--arabic);
  font-size: 14px;
  letter-spacing: 0;
}


/* ─── Illustrated avatars (tweakable) ─── */
.picon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.picon--avatar {
  display: none;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid oklch(0.55 0.09 var(--accent-h) / 0.5);
  box-shadow: 0 3px 14px oklch(0 0 0 / 0.45), 0 0 0 3px oklch(0.5 0.08 var(--accent-h) / 0.08);
}
html[data-avatars="1"] .picon--svg { display: none; }
html[data-avatars="1"] .picon--avatar { display: block; }

/* avatar gets a touch more presence at the large (section head) size */
.proj__icon .picon-wrap { width: 64px !important; height: 64px !important; }

/* ─── Soor hero banner variants (tweakable) ─── */
.soor-hero--abstract { display: none; }
html[data-soor-hero="0"] .soor-hero--illustrated { display: none; }
html[data-soor-hero="0"] .soor-hero--abstract { display: block; }

/* ─── Telegram avatar by community links ─── */
.community__avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid oklch(0.55 0.09 var(--accent-h) / 0.5);
  box-shadow: 0 2px 8px oklch(0 0 0 / 0.4);
  flex: 0 0 auto;
  align-self: center;
}
html[data-avatars="0"] .community__avatar { display: none; }


/* ─── PayPal subscription button host ─── */
.paypal-wrap { width: 100%; }
.paypal-host {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  overflow: hidden;
}
.paypal-ok {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-align: center;
}
body[data-lang="ar"] .paypal-ok { font-family: var(--arabic); font-size: 13px; letter-spacing: 0; }


/* ─── SoorBot showcase gallery ─── */
.showcase { margin: 6px 0 22px; }
.showcase__head { margin-bottom: 22px; }
.showcase__eyebrow {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.showcase__eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px 1px oklch(0.65 0.16 var(--accent-h) / 0.7);
}
body[data-lang="ar"] .showcase__eyebrow {
  font-family: var(--arabic); font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 600;
}
.showcase__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--cream-0);
  margin: 0;
}
body[data-lang="ar"] .showcase__title { font-family: var(--arabic); font-weight: 600; }

.showcase__grid {
  columns: 2;
  column-gap: 18px;
}
@media (max-width: 720px) { .showcase__grid { columns: 1; } }

.shot {
  break-inside: avoid;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.shot__frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid oklch(0.5 0.06 var(--accent-h) / 0.28);
  background: oklch(0.16 0.012 60);
  box-shadow:
    0 1px 0 oklch(0.6 0.1 var(--accent-h) / 0.08) inset,
    0 24px 50px -28px oklch(0 0 0 / 0.8);
  transition: border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}
.shot:hover .shot__frame {
  border-color: oklch(0.6 0.1 var(--accent-h) / 0.55);
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 oklch(0.6 0.1 var(--accent-h) / 0.12) inset,
    0 30px 60px -26px oklch(0 0 0 / 0.85),
    0 0 60px -24px var(--accent-glow);
}
.shot__frame img {
  display: block;
  width: 100%;
  height: auto;
  padding-top: 30px; /* room for the chrome bar */
  background: oklch(0.13 0.01 60);
}
.shot__chrome {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: linear-gradient(180deg, oklch(0.20 0.012 60), oklch(0.16 0.012 60));
  border-bottom: 1px solid oklch(0.5 0.04 var(--accent-h) / 0.14);
  z-index: 2;
}
.shot__chrome span {
  width: 9px; height: 9px; border-radius: 50%;
  background: oklch(0.42 0.02 60);
}
.shot__chrome span:nth-child(1) { background: oklch(0.62 0.16 25 / 0.8); }
.shot__chrome span:nth-child(2) { background: oklch(0.78 0.14 85 / 0.8); }
.shot__chrome span:nth-child(3) { background: oklch(0.68 0.15 150 / 0.75); }
.shot__cap {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--cream-2);
  padding: 0 4px;
  text-wrap: pretty;
}
body[data-lang="ar"] .shot__cap { font-family: var(--arabic); font-size: 14.5px; line-height: 1.7; }
