/* buscardinal.org — glassmorph-soft (dominant) + hand-drawn-sketch (accent)
   prefix: bcd-  ·  EN + AR (RTL)  ·  seed TYZWT3BC0E */

:root {
  --p: #2f6b3a;
  --p-2: #5eab5b;
  --p-3: #eaf5eb;
  --sky: #78c8d6;
  --sky-d: #3f9aac;
  --coral: #f28470;
  --coral-d: #d65a45;
  --ink: #0e1a1a;
  --ink-2: #47585a;
  --ink-3: #708084;
  --paper: #f4f8f4;
  --mist: #eaf1ec;
  --line: rgba(15,30,25,.14);
  --glass: rgba(255,255,255,.62);
  --glass-b: rgba(255,255,255,.72);
  --glass-d: rgba(15,45,30,.06);
  --danger: #c8321a;
  --danger-bg: #fde5df;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 30px;
  --r-blob: 48% 52% 62% 38% / 44% 40% 60% 56%;
  --sh-g: 0 20px 60px -20px rgba(20,60,40,.22), inset 0 1px 0 rgba(255,255,255,.9);
  --sh-g-sm: 0 8px 24px -12px rgba(20,60,40,.20), inset 0 1px 0 rgba(255,255,255,.9);
  --sh-hard: 6px 6px 0 var(--ink);
  --maxw: 1200px;
  --ff-d: "Fraunces", "Playfair Display", Georgia, serif;
  --ff-b: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-a: "Cairo", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --ff-h: "Caveat", "Segoe Script", cursive;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-b);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.005em;
  color: var(--ink);
  background:
    radial-gradient(1100px 780px at 92% -8%, rgba(120,200,214,.38), transparent 60%),
    radial-gradient(900px 720px at -10% 108%, rgba(94,171,91,.28), transparent 62%),
    radial-gradient(700px 520px at 78% 62%, rgba(242,132,112,.14), transparent 62%),
    linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .05  0 0 0 0 .07  0 0 0 0 .06  0 0 0 .09 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
html[lang="ar"] body { font-family: var(--ff-a); line-height: 1.85; letter-spacing: 0; }

img, svg { max-width: 100%; display: block; }
a { color: var(--p); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; text-decoration-color: rgba(47,107,58,.35); }
a:hover { text-decoration-color: currentColor; }
::selection { background: var(--sky); color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral-d); outline-offset: 3px; border-radius: 4px; }

.bcd-skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; }
.bcd-skip:focus { left: 8px; top: 8px; }

.bcd-wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

/* ---------- Typography (custom-brutal, italic-only, open, very-airy) ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-d);
  font-weight: 700;
  font-style: italic;
  line-height: 1.06;
  letter-spacing: 0.005em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
html[lang="ar"] :is(h1,h2,h3,h4) { font-family: var(--ff-a); font-style: normal; font-weight: 800; line-height: 1.35; letter-spacing: 0; }

h1 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.005em; }
h3 { font-size: 1.4rem; font-weight: 700; }
p { margin: 0 0 1rem; max-width: 75ch; }
.bcd-lede { font-size: 1.18rem; line-height: 1.7; color: var(--ink-2); max-width: 62ch; }

/* keyword highlight — hand-drawn marker */
.bcd-mark {
  position: relative;
  display: inline-block;
  padding: 0 0.14em;
  z-index: 0;
  color: var(--ink);
}
.bcd-mark::before {
  content: "";
  position: absolute; inset: auto -0.08em -0.08em -0.08em; height: 46%;
  background: linear-gradient(180deg, transparent, rgba(120,200,214,.55));
  z-index: -1;
  transform: skew(-6deg) rotate(-1deg);
  border-radius: 20% 60% 40% 55% / 40% 30% 60% 50%;
}
.bcd-mark.-coral::before { background: linear-gradient(180deg, transparent, rgba(242,132,112,.55)); }

/* sketch underline (SVG bg) */
.bcd-scribble {
  display: inline-block;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12'><path d='M2 7 C 30 2, 60 11, 90 6 S 150 3, 198 8' fill='none' stroke='%23f28470' stroke-width='2.6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 10px;
  padding-bottom: 4px;
}

.bcd-eyebrow {
  display: inline-flex; gap: 10px; align-items: center;
  font-family: var(--ff-b); font-style: normal; font-weight: 600;
  font-size: .78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--p);
}
html[lang="ar"] .bcd-eyebrow { letter-spacing: 0.02em; }
.bcd-eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--coral); border-radius: 2px;
}

/* hand-written tag */
.bcd-hand {
  display: inline-block;
  font-family: var(--ff-h);
  font-weight: 700; font-size: 1.35rem;
  color: var(--p); transform: rotate(-3deg);
}
html[lang="ar"] .bcd-hand { font-family: var(--ff-a); font-weight: 700; font-size: 1rem; transform: none; }

/* vertical section label */
.bcd-vlabel {
  position: absolute; top: 30px; inset-inline-start: 8px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-weight: 700; font-size: .68rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-3);
}
html[lang="ar"] .bcd-vlabel { transform: none; letter-spacing: 0.06em; }
@media (max-width: 980px) { .bcd-vlabel { display: none; } }

/* ---------- Buttons (sharp, xlarge, icon-right, 3d-skeuo press) ---------- */
.bcd-btn {
  --bg: var(--glass); --fg: var(--ink); --bd: rgba(255,255,255,.9);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer;
  padding: 20px 30px; min-height: 60px; border: 1px solid var(--bd);
  border-radius: 999px; background: var(--bg); color: var(--fg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--sh-g-sm), 0 6px 0 -3px rgba(15,45,30,.10);
  transition: transform .12s ease, box-shadow .12s ease, background .18s ease;
}
.bcd-btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 14px 32px -14px rgba(20,60,40,.30), inset 0 1px 0 rgba(255,255,255,.9); }
.bcd-btn:active { transform: translateY(2px); box-shadow: var(--sh-g-sm); }
.bcd-btn svg { width: 18px; height: 18px; }
html[dir="rtl"] .bcd-btn svg { transform: scaleX(-1); }
.bcd-btn.-primary { --bg: var(--p); --fg: #fff; --bd: rgba(0,0,0,.06); box-shadow: 0 16px 32px -16px rgba(47,107,58,.55), inset 0 1px 0 rgba(255,255,255,.18); }
.bcd-btn.-primary:hover { --bg: #275d33; }
.bcd-btn.-coral { --bg: var(--coral); --fg: var(--ink); --bd: rgba(0,0,0,.06); }
.bcd-btn.-dark { --bg: var(--ink); --fg: #fff; --bd: transparent; }
.bcd-btn.-ghost { --bg: transparent; --fg: var(--ink); --bd: rgba(15,30,25,.16); backdrop-filter: none; box-shadow: none; }
.bcd-btn.-lg { min-height: 68px; padding: 22px 34px; font-size: 1.06rem; }
.bcd-btn.-sm { min-height: 42px; padding: 10px 18px; font-size: .9rem; }
.bcd-btn.-block { display: flex; width: 100%; }

/* text link */
.bcd-tlink { font-weight: 600; color: var(--p); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

/* ---------- Announcement bar ---------- */
.bcd-annc {
  background: var(--ink); color: #eef7ef;
  font-size: .85rem; padding: 9px 22px; text-align: center;
  letter-spacing: 0.02em;
}
.bcd-annc a { color: var(--sky); text-decoration-color: rgba(120,200,214,.6); }

/* ---------- Header (split_logo_in_middle, transparent hero, blur) ---------- */
.bcd-header { position: relative; z-index: 60; padding: 18px 0; }
.bcd-header .row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px;
}
.bcd-nav { display: inline-flex; gap: 4px; align-items: center; }
.bcd-nav a {
  font-weight: 500; font-size: .95rem; color: var(--ink); text-decoration: none;
  padding: 10px 14px; border-radius: 999px;
}
.bcd-nav a:hover, .bcd-nav a[aria-current="page"] { background: var(--glass); backdrop-filter: blur(10px); }
.bcd-brand {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink);
  justify-content: center;
}
.bcd-brand .mk { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 6px 12px rgba(20,60,40,.18)); }
.bcd-brand .wm {
  font-family: var(--ff-d); font-style: italic; font-weight: 800;
  font-size: 1.42rem; letter-spacing: -0.01em;
}
html[lang="ar"] .bcd-brand .wm { font-family: var(--ff-a); font-style: normal; }
.bcd-hact { display: inline-flex; gap: 10px; align-items: center; justify-content: flex-end; }
.bcd-burger {
  display: none; width: 46px; height: 46px; border: 1px solid rgba(15,30,25,.14);
  background: var(--glass); color: var(--ink); align-items: center; justify-content: center;
  cursor: pointer; border-radius: 14px; backdrop-filter: blur(12px);
}
.bcd-burger svg { width: 24px; height: 24px; }
@media (max-width: 960px) {
  .bcd-header .row { grid-template-columns: 1fr auto 1fr; }
  .bcd-nav.-main { display: none; }
  .bcd-burger { display: inline-flex; }
  .bcd-hact .bcd-btn.-lg { display: none; }
}
@media (max-width: 480px) {
  .bcd-brand .wm { font-size: 1.15rem; }
  .bcd-brand .mk { width: 40px; height: 40px; }
}

/* ---------- Drawer (bottom_sheet on mobile, CSS-driven) ---------- */
.bcd-drawer {
  position: fixed; inset: 0; z-index: 120;
  visibility: hidden; opacity: 0;
  transition: opacity .28s ease, visibility 0s linear .28s;
}
.bcd-drawer.is-open { visibility: visible; opacity: 1; transition: opacity .28s ease, visibility 0s linear 0s; }
.bcd-drawer .backdrop { position: absolute; inset: 0; background: rgba(15,30,25,.42); backdrop-filter: blur(6px); }
.bcd-drawer .panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(244,248,244,.98); color: var(--ink);
  padding: 22px 22px 32px; border-radius: 28px 28px 0 0;
  border-top: 1px solid var(--line);
  box-shadow: 0 -20px 60px -20px rgba(20,60,40,.25);
  max-height: 88vh; overflow-y: auto;
  transform: translateY(100%); transition: transform .32s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; gap: 10px;
}
.bcd-drawer.is-open .panel { transform: translateY(0); }
.bcd-drawer .grip { width: 46px; height: 4px; background: rgba(15,30,25,.18); border-radius: 999px; margin: 0 auto 10px; }
.bcd-drawer .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.bcd-drawer .top button { width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; border-radius: 12px; }
.bcd-drawer nav { display: grid; gap: 2px; }
.bcd-drawer nav a {
  color: var(--ink); text-decoration: none;
  font-family: var(--ff-d); font-style: italic; font-weight: 700; font-size: 1.4rem;
  padding: 10px 6px; border-bottom: 1px dashed var(--line);
}
html[lang="ar"] .bcd-drawer nav a { font-family: var(--ff-a); font-style: normal; }
.bcd-drawer .foot { margin-top: 14px; display: grid; gap: 12px; }
body.bcd-lock { overflow: hidden; }

/* ---------- Sections ---------- */
.bcd-sec { position: relative; padding: 80px 0; }
.bcd-sec.-tight { padding: 48px 0; }
.bcd-sec.-hero { padding-top: 40px; padding-bottom: 72px; }
.bcd-head { max-width: 68ch; }
.bcd-head h2 { margin-top: 14px; }
.bcd-head .bcd-lede { margin-top: 18px; }

/* torn-paper divider */
.bcd-torn {
  height: 34px; border: 0; margin: 0;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 34' preserveAspectRatio='none'><path d='M0 18 C 60 6, 120 30, 200 20 S 340 4, 440 22 S 580 32, 700 18 S 860 6, 980 24 S 1140 32, 1240 16 S 1380 4, 1440 20 L 1440 34 L 0 34 Z' fill='%23ffffff' opacity='.85'/></svg>") no-repeat center bottom / 100% 100%;
}

/* ---------- Glass card ---------- */
.bcd-glass {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-b);
  border-radius: var(--r-md);
  box-shadow: var(--sh-g);
  padding: 28px;
}
.bcd-glass.-lg { padding: 34px; border-radius: 28px; }
.bcd-glass.-tilt-l { transform: rotate(-0.6deg); }
.bcd-glass.-tilt-r { transform: rotate(0.7deg); }

/* ---------- Hero ---------- */
.bcd-hero { position: relative; }
.bcd-hero .grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center;
}
@media (max-width: 900px) { .bcd-hero .grid { grid-template-columns: 1fr; gap: 34px; } }
.bcd-hero h1 { margin-top: 18px; }
.bcd-hero .subline { margin-top: 22px; list-style: none; padding: 0; display: grid; gap: 10px; max-width: 60ch; }
.bcd-hero .subline li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 1.05rem; }
.bcd-hero .subline svg { width: 22px; height: 22px; flex: none; color: var(--p); margin-top: 2px; }
html[dir="rtl"] .bcd-hero .subline svg { transform: scaleX(-1); }
.bcd-hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; align-items: center; }

/* hero visual — organic-blob composition */
.bcd-hero-vis { position: relative; min-height: 460px; }
.bcd-hero-vis .blob {
  position: absolute; inset: 12% 6% 12% 6%;
  border-radius: var(--r-blob);
  background:
    radial-gradient(120% 90% at 20% 15%, rgba(120,200,214,.55), transparent 60%),
    radial-gradient(100% 90% at 80% 90%, rgba(94,171,91,.5), transparent 60%),
    linear-gradient(140deg, rgba(255,255,255,.6), rgba(255,255,255,.2));
  backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: var(--sh-g);
  animation: bcd-morph 16s ease-in-out infinite alternate;
}
@keyframes bcd-morph {
  0%   { border-radius: 48% 52% 62% 38% / 44% 40% 60% 56%; transform: rotate(-2deg); }
  50%  { border-radius: 58% 42% 42% 58% / 60% 50% 50% 40%; transform: rotate(1deg); }
  100% { border-radius: 44% 56% 55% 45% / 40% 60% 40% 60%; transform: rotate(-1deg); }
}
.bcd-hero-vis .card {
  position: absolute; z-index: 2;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 20px;
  box-shadow: var(--sh-g);
  padding: 18px 20px;
}
.bcd-hero-vis .card.-tag { top: 6%; inset-inline-start: -4%; padding: 14px 18px; transform: rotate(-4deg); }
.bcd-hero-vis .card.-tag strong { display: block; font-family: var(--ff-h); font-weight: 700; font-size: 1.4rem; color: var(--p); }
html[lang="ar"] .bcd-hero-vis .card.-tag strong { font-family: var(--ff-a); font-size: 1rem; }
.bcd-hero-vis .card.-preview { top: 30%; inset-inline-end: -2%; width: min(320px, 70%); transform: rotate(2.5deg); }
.bcd-hero-vis .card.-mini { bottom: 8%; inset-inline-start: 6%; padding: 12px 16px; transform: rotate(-2deg); font-size: .88rem; color: var(--ink-2); }
.bcd-hero-vis .card.-mini svg { display: inline-block; vertical-align: -4px; margin-inline-end: 6px; color: var(--p); }

/* hero preview inner */
.bcd-preview .row1 { display: flex; justify-content: space-between; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
html[lang="ar"] .bcd-preview .row1 { letter-spacing: 0.02em; }
.bcd-preview .brand { font-family: var(--ff-d); font-style: italic; font-weight: 800; color: var(--p); }
.bcd-preview .num { margin-top: 12px; font-family: ui-monospace, Consolas, monospace; font-size: 1.15rem; letter-spacing: 0.05em; color: var(--ink); }
.bcd-preview .rowlast { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 12px; }
.bcd-preview .rowlast .lbl { font-size: .72rem; text-transform: uppercase; color: var(--ink-3); letter-spacing: .1em; }
.bcd-preview .rowlast .val { font-family: var(--ff-d); font-style: italic; font-weight: 800; font-size: 1.05rem; color: var(--ink); }

/* announcement */
.bcd-annc.-hero { border-radius: 14px; margin: 22px 0 8px; }

/* ---------- Trust marquee (press quotes replaced by neutral chips per §3a) ---------- */
.bcd-strip {
  overflow: hidden; position: relative;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.4); backdrop-filter: blur(8px);
  padding: 14px 0;
}
.bcd-strip .track {
  display: flex; gap: 40px; white-space: nowrap;
  animation: bcd-mar 40s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .bcd-strip .track { animation: none; } }
.bcd-strip .chip {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .9rem; color: var(--ink-2); font-weight: 500;
}
.bcd-strip .chip svg { width: 18px; height: 18px; color: var(--p); }
@keyframes bcd-mar { to { transform: translateX(-50%); } }
html[dir="rtl"] .bcd-strip .track { animation-direction: reverse; }

/* ---------- Grids & cards ---------- */
.bcd-grid { display: grid; gap: 22px; }
.bcd-g2 { grid-template-columns: repeat(2, 1fr); }
.bcd-g3 { grid-template-columns: repeat(3, 1fr); }
.bcd-g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .bcd-g3, .bcd-g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bcd-g2, .bcd-g3, .bcd-g4 { grid-template-columns: 1fr; } }

.bcd-feat { padding: 28px; }
.bcd-feat .ic {
  width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 16px; background: var(--p-3); color: var(--p);
  margin-bottom: 16px;
}
.bcd-feat .ic svg { width: 28px; height: 28px; }
.bcd-feat h3 { margin-bottom: 8px; }
.bcd-feat p { color: var(--ink-2); margin: 0; }

/* use-case tile */
.bcd-uc { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.bcd-uc .num {
  font-family: var(--ff-d); font-style: italic; font-weight: 800;
  font-size: 2.4rem; line-height: 1; color: var(--coral-d);
}
.bcd-uc h3 { font-size: 1.15rem; }
.bcd-uc p { color: var(--ink-2); margin: 0; }

/* ---------- Steps ---------- */
.bcd-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
.bcd-steps li {
  counter-increment: s;
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start;
  padding: 22px; background: var(--glass); border: 1px solid var(--glass-b); border-radius: var(--r-md);
  backdrop-filter: blur(16px); box-shadow: var(--sh-g-sm);
}
.bcd-steps li::before {
  content: counter(s);
  font-family: var(--ff-d); font-style: italic; font-weight: 800; font-size: 1.7rem;
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: var(--p); color: #fff;
  box-shadow: 0 8px 20px -8px rgba(47,107,58,.6);
}
.bcd-steps h3 { margin-bottom: 6px; }
.bcd-steps p { color: var(--ink-2); margin: 0; }

/* ---------- KPI counters (only real, non-fake) ---------- */
.bcd-kpi { padding: 26px; text-align: start; }
.bcd-kpi .n {
  font-family: var(--ff-d); font-style: italic; font-weight: 800;
  font-size: 2.8rem; line-height: 1; color: var(--ink);
}
.bcd-kpi .lbl { color: var(--ink-2); margin-top: 8px; font-size: .95rem; }

/* ---------- Forms ---------- */
.bcd-form { display: grid; gap: 18px; }
.bcd-field { display: grid; gap: 6px; }
.bcd-field > label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.bcd-field .hint { font-size: .82rem; color: var(--ink-3); }
.bcd-field input, .bcd-field select, .bcd-field textarea {
  font: inherit; color: var(--ink);
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.bcd-field input:focus, .bcd-field select:focus, .bcd-field textarea:focus {
  outline: none; border-color: var(--p);
  box-shadow: 0 0 0 4px rgba(94,171,91,.18);
  background: #fff;
}
.bcd-field input::placeholder, .bcd-field textarea::placeholder { color: #96a3a5; }
.bcd-field .err { display: none; color: var(--danger); font-size: .82rem; font-weight: 600; }
.bcd-field.-bad input, .bcd-field.-bad select, .bcd-field.-bad textarea { border-color: var(--danger); background: var(--danger-bg); }
.bcd-field.-bad .err { display: block; }
.bcd-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .bcd-row2 { grid-template-columns: 1fr; } }

/* amount chips (min-height 48, .is-on solid) */
.bcd-amounts { display: flex; flex-wrap: wrap; gap: 10px; }
.bcd-amounts label {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; min-width: 82px; padding: 0 18px;
  cursor: pointer; border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-weight: 700; color: var(--ink);
  user-select: none;
  transition: transform .1s ease;
}
.bcd-amounts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.bcd-amounts label.is-on,
.bcd-amounts label:has(input:checked) {
  background: var(--p); color: #fff; border-color: transparent;
  box-shadow: 0 8px 18px -8px rgba(47,107,58,.5);
}
.bcd-amounts label:hover:not(.is-on) { transform: translateY(-1px); }

/* balance result */
.bcd-balance {
  margin-top: 20px; padding: 26px;
  border-radius: 22px;
  background: linear-gradient(140deg, rgba(94,171,91,.18), rgba(120,200,214,.22));
  border: 1px solid rgba(255,255,255,.7);
  backdrop-filter: blur(14px);
}
.bcd-balance .amt {
  font-family: var(--ff-d); font-style: italic; font-weight: 800;
  font-size: 2.8rem; line-height: 1; color: var(--p);
}
html[lang="ar"] .bcd-balance .amt { font-family: var(--ff-a); font-style: normal; }
.bcd-balance .amt .cur { font-size: 1rem; color: var(--ink-2); margin-inline-end: 10px; letter-spacing: 0.1em; }
.bcd-balance .meta { font-size: .88rem; color: var(--ink-2); margin-top: 8px; }
.bcd-balance .sample {
  display: inline-block; margin-top: 12px; font-size: .72rem;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
  background: rgba(255,255,255,.8); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 999px;
}

/* ---------- FAQ (accordion) ---------- */
.bcd-faq { display: grid; gap: 12px; max-width: 78ch; }
.bcd-faq details {
  background: var(--glass); backdrop-filter: blur(14px);
  border: 1px solid var(--glass-b); border-radius: 18px;
  box-shadow: var(--sh-g-sm); padding: 4px 22px;
}
.bcd-faq summary {
  list-style: none; cursor: pointer;
  padding: 16px 0;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  font-family: var(--ff-d); font-style: italic; font-weight: 700; font-size: 1.15rem; color: var(--ink);
}
html[lang="ar"] .bcd-faq summary { font-family: var(--ff-a); font-style: normal; font-weight: 700; }
.bcd-faq summary::-webkit-details-marker { display: none; }
.bcd-faq summary::after {
  content: "+"; font-family: var(--ff-b); font-style: normal; font-weight: 400;
  font-size: 1.5rem; color: var(--p); transition: transform .2s ease; flex: none;
}
.bcd-faq details[open] summary::after { transform: rotate(45deg); }
.bcd-faq .a { padding: 0 0 16px; color: var(--ink-2); font-size: 1rem; line-height: 1.7; }
.bcd-faq .a p { margin: 0 0 10px; }
.bcd-faq .a p:last-child { margin: 0; }

/* ---------- Tables (glossary) ---------- */
.bcd-tblwrap {
  overflow-x: auto;
  background: var(--glass); backdrop-filter: blur(14px);
  border: 1px solid var(--glass-b); border-radius: var(--r-md); box-shadow: var(--sh-g-sm);
}
.bcd-tbl { width: 100%; border-collapse: collapse; }
.bcd-tbl th, .bcd-tbl td {
  padding: 16px 20px; text-align: start; font-size: .96rem;
  border-bottom: 1px solid var(--line);
}
.bcd-tbl thead th { background: rgba(15,30,25,.05); font-weight: 700; color: var(--ink); }
.bcd-tbl tr:last-child td { border-bottom: 0; }

/* ---------- Prose (legal) ---------- */
.bcd-prose { max-width: 72ch; color: var(--ink-2); }
.bcd-prose h2 { color: var(--ink); font-size: 1.6rem; margin-top: 42px; }
.bcd-prose h3 { color: var(--ink); margin-top: 26px; }
.bcd-prose ul, .bcd-prose ol { padding-inline-start: 22px; }
.bcd-prose li { margin-bottom: 8px; }
.bcd-prose .updated { color: var(--ink-3); font-weight: 600; font-size: .9rem; }
.bcd-tldr {
  background: rgba(120,200,214,.18);
  border-inline-start: 4px solid var(--sky-d);
  padding: 16px 20px; border-radius: 12px; margin: 18px 0 24px;
  max-width: 72ch;
}
.bcd-tldr strong { text-transform: uppercase; font-size: .74rem; letter-spacing: 0.14em; color: var(--sky-d); }
.bcd-tldr p { margin: 6px 0 0; color: var(--ink); }

/* ---------- Breadcrumbs ---------- */
.bcd-crumbs { font-size: .85rem; color: var(--ink-3); padding-top: 20px; }
.bcd-crumbs a { color: var(--ink-3); text-decoration: none; font-weight: 500; }
.bcd-crumbs span { margin-inline: 8px; }

/* ---------- CTA band ---------- */
.bcd-cta {
  padding: 52px 44px;
  background:
    radial-gradient(140% 100% at 100% 0%, rgba(120,200,214,.55), transparent 60%),
    radial-gradient(120% 100% at 0% 100%, rgba(94,171,91,.35), transparent 60%),
    var(--ink);
  color: #eef7ef;
  border-radius: var(--r-lg);
  text-align: center;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--sh-g);
}
.bcd-cta h2 { color: #fff; }
.bcd-cta p { color: rgba(255,255,255,.86); margin-inline: auto; max-width: 60ch; }
.bcd-cta .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Footer (asymmetric, expanded_grid legal) ---------- */
.bcd-footer {
  margin-top: 80px;
  padding: 60px 0 30px;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.bcd-fmain { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .bcd-fmain { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bcd-fmain { grid-template-columns: 1fr; } }
.bcd-fbrand p { color: var(--ink-2); margin: 14px 0 0; max-width: 42ch; }
.bcd-fcontact { display: grid; gap: 8px; margin-top: 16px; font-size: .95rem; }
.bcd-fcontact a { color: var(--ink); }
.bcd-footer h4 {
  font-family: var(--ff-b); font-style: normal; font-weight: 700;
  font-size: .78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2); margin: 0 0 14px;
}
html[lang="ar"] .bcd-footer h4 { letter-spacing: 0.02em; }
.bcd-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.bcd-footer ul a { color: var(--ink); text-decoration: none; }
.bcd-footer ul a:hover { text-decoration: underline; }

.bcd-fnews { margin-top: 16px; }
.bcd-fnews form { display: flex; gap: 8px; max-width: 320px; }
.bcd-fnews input {
  flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; background: #fff;
}
.bcd-fnews button {
  padding: 12px 18px; border: 0; background: var(--p); color: #fff;
  font: inherit; font-weight: 600; cursor: pointer; border-radius: 12px;
}

.bcd-legalgrid {
  margin-top: 40px; padding-top: 26px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
@media (max-width: 860px) { .bcd-legalgrid { grid-template-columns: repeat(2, 1fr); } }
.bcd-legalgrid ul { display: grid; gap: 9px; }
.bcd-legalgrid a { color: var(--ink-2); font-size: .9rem; text-decoration: none; }
.bcd-legalgrid a:hover { color: var(--ink); text-decoration: underline; }

.bcd-fend {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center;
}
.bcd-trust { display: inline-flex; gap: 16px; align-items: center; color: var(--ink-3); font-size: .78rem; font-weight: 500; flex-wrap: wrap; }
.bcd-trust span { display: inline-flex; gap: 6px; align-items: center; }
.bcd-trust svg { width: 15px; height: 15px; }
.bcd-madewith { color: var(--ink-3); font-size: .78rem; }
.bcd-cop { color: var(--ink-2); font-size: .84rem; text-align: end; }
.bcd-cop a { color: var(--ink-2); }
@media (max-width: 620px) { .bcd-cop { text-align: start; } }

/* ---------- Modal (native dialog) ---------- */
dialog.bcd-modal {
  padding: 0; border: 0; border-radius: 24px; max-width: 480px; width: calc(100% - 32px);
  background: rgba(255,255,255,.95); backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -30px rgba(20,60,40,.4);
}
dialog.bcd-modal::backdrop { background: rgba(15,30,25,.45); backdrop-filter: blur(4px); }
.bcd-modal .body { padding: 32px 28px; text-align: center; }
.bcd-modal .check {
  width: 68px; height: 68px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--p-3);
  display: grid; place-items: center; color: var(--p);
}
.bcd-modal .check svg { width: 34px; height: 34px; }
.bcd-modal h3 { font-size: 1.6rem; }
.bcd-modal p { color: var(--ink-2); margin: 10px auto 22px; max-width: 40ch; }
.bcd-modal .close {
  position: absolute; top: 12px; inset-inline-end: 12px;
  width: 40px; height: 40px; background: transparent; border: 1px solid var(--line); cursor: pointer; border-radius: 12px;
}

/* redirect overlay — spinner only, no suspicious text */
.bcd-overlay {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(244,248,244,.85); backdrop-filter: blur(8px);
  visibility: hidden; opacity: 0; transition: opacity .18s ease, visibility 0s linear .18s;
}
.bcd-overlay.is-on { visibility: visible; opacity: 1; transition: opacity .18s ease; }
.bcd-spinner {
  width: 56px; height: 56px;
  border: 4px solid rgba(47,107,58,.18);
  border-top-color: var(--p);
  border-radius: 50%;
  animation: bcd-spin .9s linear infinite;
}
@keyframes bcd-spin { to { transform: rotate(360deg); } }

/* ---------- Utilities ---------- */
.bcd-noscript { background: var(--coral); border-bottom: 1px solid var(--ink); padding: 12px; text-align: center; font-size: .9rem; font-weight: 600; }
.bcd-center { text-align: center; }
.bcd-mt-lg { margin-top: 40px; }
.bcd-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* side-dots scroll progress */
.bcd-dots {
  position: fixed; top: 50%; transform: translateY(-50%);
  inset-inline-end: 20px; z-index: 40;
  display: flex; flex-direction: column; gap: 10px;
}
@media (max-width: 900px) { .bcd-dots { display: none; } }
.bcd-dots a {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(15,30,25,.18); text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.bcd-dots a:hover, .bcd-dots a.is-on { background: var(--p); transform: scale(1.4); }

/* rocket back to top */
.bcd-top {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 50;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--p); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -12px rgba(47,107,58,.55);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.bcd-top.is-on { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .25s ease, transform .25s ease; }
.bcd-top svg { width: 24px; height: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
