/* Numerazzi — numerazzi.com
 * Tokens follow the app's "Showroom" theme (apps/mobile/src/theme/tokens.ts): ivory canvas, palm green,
 * sand and brass accents, deep palm gradients for the hero moments. Logical properties only, so RTL and LTR mirror. */
:root {
  --bg: #F6F4EE;
  --surface: #FFFFFF;
  --surface-2: #EEEBE3;
  --ink: #101614;
  --muted: #59635E;
  --faint: #8E968F;
  --line: #E2DFD6;
  --line-strong: #CFCABE;
  --primary: #0B6B3A;
  --primary-strong: #074B28;
  --primary-soft: rgba(11, 107, 58, 0.11);
  --mint: #2FBF71;
  --gold: #8A6A33;
  --gold-bright: #D4A74A;
  --gold-soft: rgba(170, 120, 40, 0.14);
  --live: #FF5A4E;
  --sand-1: #F3EBDC;
  --sand-2: #EADBBE;
  --night: #0B0D10;
  --night-2: #14181D;
  --palm-1: #0B2A1C;
  --palm-2: #0B5532;
  --palm-3: #0B3A24;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 6px rgba(16, 24, 20, 0.10);
  --shadow: 0 6px 14px rgba(16, 24, 20, 0.12);
  --shadow-lg: 0 18px 40px rgba(16, 24, 20, 0.20);
  --font: "IBM Plex Sans Arabic", "Segoe UI", "Noto Sans Arabic", Tahoma, system-ui, sans-serif;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { line-height: 1.6; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.25; margin: 0; letter-spacing: -0.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-strong); }
.btn-gold { background: linear-gradient(180deg, #E2BA62, var(--gold-bright)); color: #1F1708; box-shadow: 0 8px 24px rgba(212, 167, 74, .28); }
.btn-gold:hover { box-shadow: 0 10px 30px rgba(212, 167, 74, .42); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 26, 19, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: #fff;
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand-mark { display: inline-flex; width: 40px; height: 24px; border-radius: 5px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.brand-mark svg { width: 40px; height: 24px; }
.brand-name { display: inline-flex; flex-direction: column; line-height: 1.1; gap: 3px; }
.brand-name [lang="ar"] { font-weight: 700; font-size: 1.22rem; }
.brand-latin { font-size: .66rem; line-height: 1; letter-spacing: .14em; text-transform: uppercase; opacity: .7; font-weight: 600; }
.site-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.site-nav a { color: rgba(255, 255, 255, .82); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: .95rem; font-weight: 500; }
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  min-height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .25); font-weight: 600; font-size: .9rem;
}
.lang-toggle:hover { background: rgba(255, 255, 255, .08); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: transparent; border: 1px solid rgba(255, 255, 255, .2); cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; inset-inline: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, top .2s; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .menu-toggle { display: inline-block; }
  .site-nav {
    display: none; position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px 20px 20px;
    background: rgba(11, 26, 19, .98); border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .menu-open .site-nav { display: flex; }
  .site-nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 1.05rem; }
  .header-actions { margin-inline-start: auto; }
}
@media (max-width: 480px) {
  .header-cta { display: none; }
  .header-row { gap: 10px; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(47, 191, 113, .22), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(212, 167, 74, .14), transparent 60%),
    linear-gradient(160deg, var(--palm-1) 0%, #0A3122 55%, var(--palm-2) 130%);
  padding-block: 64px 80px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
}
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; } .plate-stage { margin-inline-end: -7%; } .hero { padding-block: 96px 112px; } }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; font-weight: 500; margin-bottom: 22px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(47, 191, 113, .25); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(47, 191, 113, 0); } }
@media (prefers-reduced-motion: reduce) { .pill .dot { animation: none; } }
.hero h1 { font-size: clamp(2.2rem, 5.6vw, 3.7rem); font-weight: 700; }
.hero h1 .accent { display: block; background: linear-gradient(90deg, #F3D99A, var(--gold-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-top: 20px; font-size: clamp(1.02rem, 1.6vw, 1.16rem); color: rgba(255, 255, 255, .8); max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: rgba(255, 255, 255, .72); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: rgba(47, 191, 113, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%232FBF71' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.hero-visual { position: relative; }
.hero-plate { margin: 0; }
.plate-stage {
  position: relative; perspective: 1200px;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)) drop-shadow(0 0 60px rgba(47, 191, 113, .18));
}
.plate-stage .plate-svg { display: block; width: 100%; height: auto; transform: rotate(-4deg); transition: transform .6s var(--ease); }
html[dir="ltr"] .plate-stage .plate-svg { transform: rotate(-4deg); }
.hero-plate:hover .plate-svg { transform: rotate(-2deg) scale(1.01); }
@media (prefers-reduced-motion: reduce) { .hero-plate:hover .plate-svg { transform: rotate(-4deg); } }
.hero-plate figcaption { margin-top: 34px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.hero-plate-note { font-size: .82rem; color: rgba(255, 255, 255, .55); max-width: 30em; }

/* Plate glyphs */
.plate-svg text { font-family: "IBM Plex Sans Arabic", "Segoe UI", Arial, sans-serif; }
.plate-svg .pt-en { font-family: "IBM Plex Sans Arabic", "Arial Narrow", Arial, sans-serif; }

/* Tags and tiers */
.tag-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tag {
  display: inline-flex; align-items: center; min-height: 30px; padding: 2px 12px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary); font-size: .85rem; font-weight: 600; white-space: nowrap;
}
.tag-dark { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .16); }
.tag-empty { background: var(--surface-2); color: var(--muted); font-weight: 500; white-space: normal; }
.tier { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 2px 12px 2px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; white-space: nowrap; }
.tier::before { content: ""; width: 10px; height: 10px; border-radius: 3px; transform: rotate(45deg); background: currentColor; }
.tier-bronze { background: #F4E4D6; color: #8A4B22; }
.tier-silver { background: #E9ECEF; color: #4D5761; }
.tier-gold { background: var(--gold-soft); color: var(--gold); }
.tier-diamond { background: linear-gradient(90deg, #DDF3FF, #EDE6FF); color: #2A4F8F; }

/* ---------------- Problem ---------------- */
.problem { background: var(--night); color: #fff; padding-block: 36px; border-top: 1px solid rgba(255, 255, 255, .06); }
.problem-grid { display: grid; gap: 18px; align-items: center; }
@media (min-width: 900px) { .problem-grid { grid-template-columns: 1fr 1.4fr; gap: 40px; } }
.problem-lead { font-size: 1.12rem; font-weight: 600; }
.problem-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: rgba(255, 255, 255, .7); font-size: .95rem; }
@media (min-width: 640px) { .problem-list { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.problem-list li { padding-inline-start: 14px; border-inline-start: 2px solid var(--live); }
.problem-list strong { color: #fff; display: block; }

/* ---------------- Sections ---------------- */
.section { padding-block: 80px; }
@media (min-width: 900px) { .section { padding-block: 112px; } }
.section-sand { background: linear-gradient(180deg, var(--sand-1), #F6EFE2); }
.section-dark { background: var(--night); color: #fff; }
.section-palm { background: linear-gradient(160deg, var(--palm-3), var(--primary) 140%); color: #fff; }
.section-head { max-width: 800px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); font-weight: 700; }
.section-head p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p:not(.eyebrow), .section-palm .section-head p:not(.eyebrow) { color: rgba(255, 255, 255, .72); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-weight: 700; font-size: .88rem; margin-bottom: 12px; letter-spacing: .02em; }
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow { color: var(--mint); }
.eyebrow-light { color: var(--gold-bright); }
.fine { font-size: .85rem; color: var(--faint) !important; }

/* ---------------- Steps ---------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px 28px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.step-num { position: absolute; inset-inline-end: 18px; top: 6px; font-size: 4.2rem; font-weight: 700; color: var(--primary-soft); line-height: 1; }
.step-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 18px; }
.step-icon svg, .safe-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------------- Patterns ---------------- */
.pattern-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pattern-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .pattern-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.pattern-card {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.pattern-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pattern-card .plate-svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 10px rgba(16, 24, 20, .12)); }
.pattern-card figcaption { margin-top: 18px; display: grid; gap: 8px; justify-items: start; }
.pattern-card p { color: var(--muted); font-size: .94rem; }
.tiers { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 20px 24px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .6); border: 1px solid var(--line); }
.tiers-lead { color: var(--muted); font-size: .96rem; flex: 1 1 280px; }
.tier-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------------- Builder ---------------- */
.try-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 980px) { .try-grid { grid-template-columns: .85fr 1.15fr; gap: 56px; } .try-grid .section-head { position: sticky; top: 110px; } }
.builder {
  background: linear-gradient(170deg, #121A16, var(--night-2)); color: #fff; border-radius: var(--radius-xl);
  padding: 28px 22px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .06);
}
@media (min-width: 720px) { .builder { padding: 36px; } }
.builder-plate { filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .45)); }
.builder-plate .plate-svg { display: block; width: 100%; height: auto; }
.builder-tags { margin-top: 20px; min-height: 30px; }
.builder-tags .tag { background: rgba(47, 191, 113, .16); color: #7BE3A9; }
.builder-tags .tag-empty { background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .6); }
.builder-hint { text-align: center; color: var(--gold-bright); font-size: .88rem; min-height: 1.5em; margin-top: 8px; }
.keypad { margin-top: 18px; }
.keypad-label { font-size: .8rem; color: rgba(255, 255, 255, .55); margin: 14px 0 8px; font-weight: 600; }
.keys { display: grid; gap: 8px; }
.keys-letters { grid-template-columns: repeat(6, 1fr); }
.keys-digits { grid-template-columns: repeat(10, 1fr); gap: 6px; }
@media (max-width: 520px) { .keys-letters { grid-template-columns: repeat(5, 1fr); } .keys-digits { grid-template-columns: repeat(5, 1fr); gap: 8px; } }
.key {
  min-height: 52px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .06);
  color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; padding: 4px 0;
  transition: background .15s, transform .1s;
}
.key:hover:not(:disabled) { background: rgba(255, 255, 255, .13); }
.key:active:not(:disabled) { transform: scale(.94); }
.key:disabled { opacity: .3; cursor: not-allowed; }
.k-ar { font-size: 1.2rem; font-weight: 700; }
.k-en { font-size: .72rem; opacity: .65; font-weight: 600; }
.key-digit .k-ar { font-size: 1.05rem; }
.keypad-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.key-act { flex: 1 1 auto; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: rgba(255, 255, 255, .85); cursor: pointer; font-size: .9rem; font-weight: 600; }
.key-act:hover { background: rgba(255, 255, 255, .08); }
.key-act-accent { background: var(--gold-bright); color: #1F1708; border-color: transparent; }
.key-act-accent:hover { background: #E2BA62; }

/* ---------------- Safety ---------------- */
.safety-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .safety-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .safety-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.safe-card { padding: 26px; border-radius: var(--radius-lg); background: var(--night-2); border: 1px solid #262D36; transition: border-color .2s; }
.safe-card:hover { border-color: #333C47; }
.safe-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(47, 191, 113, .14); color: var(--mint); margin-bottom: 16px; }
.safe-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.safe-card p { color: #98A4B1; font-size: .95rem; }

/* ---------------- Portfolio ---------------- */
.portfolio-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .portfolio-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.portfolio-copy .section-head { margin-bottom: 28px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.feature-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.feature-list h3 { font-size: 1.08rem; margin-bottom: 4px; }
.feature-list p { color: var(--muted); font-size: .96rem; }

.phone {
  justify-self: center; width: min(100%, 340px); padding: 12px; border-radius: 44px;
  background: linear-gradient(160deg, #2A3038, #0E1114); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone-screen { border-radius: 34px; background: var(--bg); padding: 22px 14px 12px; display: grid; gap: 10px; overflow: hidden; }
.phone-bar { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 1.05rem; padding-inline: 4px; }
.phone-chip { font-size: .72rem; font-weight: 600; background: var(--primary-soft); color: var(--primary); padding: 2px 10px; border-radius: 999px; }
.phone-total { border-radius: 18px; padding: 14px 16px; color: #fff; background: linear-gradient(150deg, var(--palm-1), var(--palm-2)); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.pt-label { font-size: .78rem; opacity: .8; }
.pt-bars { direction: ltr; display: flex; align-items: flex-end; gap: 4px; height: 36px; }
.pt-bars i { width: 7px; border-radius: 3px; background: rgba(123, 227, 169, .75); }
.pt-bars i:nth-child(1) { height: 30%; } .pt-bars i:nth-child(2) { height: 42%; } .pt-bars i:nth-child(3) { height: 38%; } .pt-bars i:nth-child(4) { height: 55%; }
.pt-bars i:nth-child(5) { height: 52%; } .pt-bars i:nth-child(6) { height: 70%; } .pt-bars i:nth-child(7) { height: 78%; } .pt-bars i:nth-child(8) { height: 96%; background: var(--gold-bright); }
.phone-card { background: var(--surface); border-radius: 16px; padding: 10px; border: 1px solid var(--line); }
.phone-card .plate-svg { display: block; width: 100%; height: auto; }
.pc-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.pc-row .tier { font-size: .7rem; min-height: 24px; padding: 0 9px; }
.pc-row .tier::before { width: 7px; height: 7px; }
.toggle { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; color: var(--muted); font-weight: 600; }
.toggle i { width: 28px; height: 16px; border-radius: 999px; background: var(--line-strong); position: relative; flex: none; }
.toggle i::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: inset-inline-start .2s; }
.toggle.on i { background: var(--primary); }
.toggle.on i::after { inset-inline-start: 14px; }
.phone-tabs { display: flex; justify-content: space-around; font-size: .68rem; color: var(--faint); padding-top: 6px; border-top: 1px solid var(--line); font-weight: 600; }
.phone-tabs .active { color: var(--primary); }

/* ---------------- Access ---------------- */
.access-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .access-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.access-copy h2 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); }
.access-copy > p:not(.eyebrow) { margin-top: 14px; color: rgba(255, 255, 255, .78); font-size: 1.05rem; }
.access-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; color: rgba(255, 255, 255, .8); }
.access-points li { display: flex; gap: 10px; align-items: flex-start; }
.access-points li::before { content: ""; margin-top: .55em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--gold-bright); flex: none; }
.access-form { background: var(--surface); color: var(--ink); border-radius: var(--radius-xl); padding: 26px 20px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
@media (min-width: 720px) { .access-form { padding: 34px; } }
.field { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field-pair { display: grid; gap: 16px; }
@media (min-width: 560px) { .field-pair { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { font-weight: 600; font-size: .92rem; padding: 0; }
.field small { color: var(--faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: #FCFBF8; transition: border-color .15s, box-shadow .15s; font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 88px; }
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field [aria-invalid="true"] { border-color: #B42F25; }
.err { color: #B42F25; font-size: .85rem; min-height: 0; }
.err:empty { display: none; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line-strong); background: #FCFBF8; font-size: .92rem; font-weight: 500; line-height: 1.3; transition: all .15s; }
.choice input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-strong); font-weight: 700; }
.choice input:focus-visible + span { outline: 3px solid var(--gold-bright); outline-offset: 2px; }
.form-note { font-size: .84rem; color: var(--muted); text-align: center; }
.form-status { font-size: .9rem; color: var(--primary); text-align: center; font-weight: 600; }
.form-status:empty { display: none; }

/* ---------------- FAQ ---------------- */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; transition: box-shadow .2s; }
.faq-list details[open] { box-shadow: var(--shadow-sm); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 1.06rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--primary); transition: transform .2s; flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 20px; color: var(--muted); }

/* ---------------- Team ---------------- */
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .team-grid { grid-template-columns: repeat(5, 1fr); gap: 28px 20px; } }
.member { text-align: center; }
.member-photo {
  aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 12px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .7), transparent 60%),
    linear-gradient(165deg, var(--sand-2) 0%, #D7E6D9 60%, rgba(11, 107, 58, .28) 100%);
  border: 1px solid rgba(207, 202, 190, .7);
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.member:first-child .member-photo { background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .55), transparent 60%), linear-gradient(165deg, #F3D99A 0%, var(--gold-bright) 55%, var(--palm-2) 130%); }
.member h3 { font-size: 1.02rem; }
.member p { color: var(--muted); font-size: .88rem; line-height: 1.45; margin-top: 2px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .78); padding-block: 64px 32px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-top { display: grid; gap: 28px; }
@media (min-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; align-items: start; } }
.footer-brand { display: grid; gap: 10px; justify-items: start; }
.brand-footer { color: #fff; margin-bottom: 4px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (min-width: 800px) { .footer-nav { justify-content: flex-end; } }
.footer-nav a { color: rgba(255, 255, 255, .78); }

.footer-group { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-group h2 { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 18px; }
html[lang="ar"] .footer-group h2 { letter-spacing: 0; font-size: .95rem; }
.group-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .group-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1020px) { .group-list { grid-template-columns: repeat(6, 1fr); } }
.group-list a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); height: 100%; transition: border-color .2s, background .2s; }
.group-list a:hover { text-decoration: none; border-color: rgba(212, 167, 74, .5); background: rgba(255, 255, 255, .06); }
.group-list strong { font-weight: 700; color: #fff; }
.group-list span { font-size: .8rem; color: rgba(255, 255, 255, .55); line-height: 1.4; }
.group-parent a { border-color: rgba(212, 167, 74, .35); }
.group-line { margin-top: 16px; font-size: .88rem; color: rgba(255, 255, 255, .6); }
.copyright { margin-top: 28px; font-size: .85rem; color: rgba(255, 255, 255, .5); text-align: center; }

.trust { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 44px; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; line-height: 1.55; color: rgba(255, 255, 255, .62); }
.trust img { display: block; height: 48px; width: auto; flex: none; }
.trust > img:first-child { height: 44px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust p { margin: 0; }
.trust small { font-size: .76rem; color: rgba(255, 255, 255, .45); }
.trust bdi { font-variant-numeric: tabular-nums; }

/* ---------------- Reveal ---------------- */
.reveal-armed { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-armed.in { opacity: 1; transform: none; }

/* ---------------- 404 ---------------- */
.nf { min-height: calc(100vh - 68px); display: grid; place-items: center; text-align: center; color: #fff; background: linear-gradient(160deg, var(--palm-1), var(--palm-2)); padding: 64px 0; }
.nf .plate-svg { width: min(100%, 460px); margin: 0 auto 32px; display: block; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .4)); transform: rotate(-3deg); }
.nf h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.nf p { color: rgba(255, 255, 255, .75); margin: 12px auto 28px; max-width: 32em; }
.nf .btn { white-space: normal; text-align: center; padding-block: 10px; line-height: 1.4; }
.nf h1[lang="en"] { margin-top: 8px; }
