/* Midadd — landing page styles */

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/SpaceGrotesk-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/SpaceGrotesk-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/SpaceGrotesk-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Arabic glyphs only (Latin keeps Space Grotesk) */
@font-face {
  font-family: "Midadd Arabic";
  src: url("/fonts/ReadexPro-Arabic-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}
@font-face {
  font-family: "Midadd Arabic";
  src: url("/fonts/ReadexPro-Arabic-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}
@font-face {
  font-family: "Midadd Arabic";
  src: url("/fonts/ReadexPro-Arabic-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}

:root {
  --lime: #C6F24E;
  --lime-hover: #B4E03A;
  --black: #0B0B0C;
  --white: #FFFFFF;
  --surface: #131315;
  --surface-2: #19191C;
  --border: #2A2A2E;
  --muted: #A1A1AA;

  --font: "Space Grotesk", "Midadd Arabic", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --radius: 12px;
  --radius-lg: 20px;
  --container: 1200px;
  --gutter: 24px;
  --section-y: 72px;
  --header-h: 68px;
}

@media (min-width: 768px) {
  :root { --gutter: 40px; --section-y: 112px; --header-h: 76px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

@media (min-width: 768px) { body { font-size: 17px; } }

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px; top: 12px;
  transform: translateY(-200%);
  z-index: 100;
  background: var(--lime);
  color: var(--black);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 700;
}
.skip-link:focus { transform: none; text-decoration: none; }

.accent { color: var(--lime); }
.muted { color: var(--muted); }

.eyebrow,
.section-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--lime);
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: #D4D4D8;
}
@media (min-width: 768px) { .lead { font-size: 20px; } }

/* circuit node — echoes the logo's pads */
.node {
  flex: none;
  display: inline-block;
  width: 12px; height: 12px;
  border: 2.5px solid var(--white);
  border-radius: 50%;
}
.node-lime { border-color: var(--lime); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--lime); color: var(--black); }
.btn-primary:hover { background: var(--lime-hover); }
.btn-ghost { background: transparent; color: var(--white); border-color: #3F3F46; }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(11, 11, 12, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: rgba(11, 11, 12, 0.88); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img { height: 28px; width: auto; }
@media (min-width: 768px) { .brand img { height: 30px; } }

.nav ul { display: flex; gap: 32px; }
.nav ul a { color: #E4E4E7; font-size: 15px; font-weight: 500; }
.nav ul a:hover { color: var(--lime); text-decoration: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 960px) {
  .nav { display: flex; align-items: center; gap: 40px; }
}

@media (max-width: 959.98px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--black);
    border-bottom: 1px solid var(--border);
    padding: 8px var(--gutter) 24px;
    display: none;
    flex-direction: column;
    gap: 16px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a {
    display: block;
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--border);
  }
  .nav-cta { width: 100%; min-height: 52px; font-size: 16px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { .hero { padding: 96px 0 120px; } }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; }
}

.hero-copy { display: flex; flex-direction: column; gap: 24px; }

.hero h1 {
  font-size: clamp(40px, 7.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero h1 .accent { display: block; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 479.98px) { .hero-actions .btn { width: 100%; } }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}
.hero-facts li { display: inline-flex; align-items: center; gap: 10px; }
.hero-facts .node { width: 10px; height: 10px; border-width: 2px; border-color: var(--lime); }

/* terminal */
.terminal {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #141416 0%, #0F0F11 100%);
  box-shadow: 0 30px 80px -30px rgba(198, 242, 78, 0.18), 0 0 0 1px rgba(255,255,255,0.02) inset;
  overflow: hidden;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #3F3F46; }
.terminal-bar span:last-of-type { border-color: var(--lime); }
.terminal-bar p { margin-left: auto; font-family: var(--mono); font-size: 12px; color: #71717A; }

.terminal-body {
  padding: 20px 22px 24px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.9;
  color: #E4E4E7;
}
@media (min-width: 768px) { .terminal-body { font-size: 14.5px; padding: 24px 28px 28px; } }

.t-line { display: flex; gap: 10px; white-space: nowrap; }
.t-prompt { color: var(--lime); }
.t-ok { color: var(--lime); width: 1ch; }
.t-dim { color: #8B8B93; }
.t-r { margin-left: auto; color: var(--muted); }
.t-cursor {
  display: inline-block;
  width: 9px; height: 1.1em;
  transform: translateY(3px);
  background: var(--lime);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.js .t-line {
  opacity: 0;
  transform: translateY(4px);
  animation: line-in .35s ease forwards;
  animation-delay: calc(var(--i) * 180ms + 300ms);
}
@keyframes line-in { to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
.section { padding: var(--section-y) 0; border-bottom: 1px solid var(--border); }

.section h2 {
  font-size: clamp(32px, 5vw, 56px);
  max-width: 20ch;
  margin-top: 16px;
}

.section-head {
  display: grid;
  gap: 20px;
  margin-bottom: 48px;
}
.section-head > p { color: var(--muted); max-width: 52ch; }
@media (min-width: 960px) {
  .section-head { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: 48px; margin-bottom: 64px; }
}

/* gap */
.gap h2 { max-width: 24ch; }
.gap-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
  color: #D4D4D8;
  font-size: 18px;
}
@media (min-width: 768px) {
  .gap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-top: 56px; font-size: 19px; }
}
.gap-grid p:first-child { color: var(--muted); }

/* cards */
.cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .cards-3, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .25s ease, transform .25s ease, background-color .25s ease;
}
.card:hover { border-color: #4A4A52; background: var(--surface-2); }
.card h4 { font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; }
.card p { color: var(--muted); }
.card .tags {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #D4D4D8;
}
.card-compact { padding: 24px; }
.card-compact h4 { font-size: 18px; }
.card-compact p { font-size: 15px; }

.group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E4E4E7;
}
.group-title:not(:first-of-type) { margin-top: 56px; }

/* standards */
.standards { background: radial-gradient(ellipse 60% 50% at 15% 0%, rgba(198,242,78,0.06), transparent 70%); }
.rule code {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--lime);
  background: rgba(198, 242, 78, 0.08);
  border: 1px solid rgba(198, 242, 78, 0.22);
  padding: 6px 10px;
  border-radius: 8px;
}
.rule p { color: #C9C9CF; }

/* growth */
.growth-inner { display: grid; gap: 40px; }
.growth-inner h2 { max-width: 16ch; }
.growth-inner .lead { margin-top: 24px; max-width: 56ch; }
@media (min-width: 1024px) {
  .growth-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: 72px; }
}
.check-list { display: grid; gap: 14px; }
.check-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--muted);
}
.check-list .node { margin-top: 7px; }
.check-list strong { color: var(--white); font-weight: 700; }

/* process */
.steps {
  display: grid;
  gap: 32px;
  counter-reset: step;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
  .steps::before {
    content: "";
    position: absolute;
    top: 9px; left: 10px; right: 10px;
    height: 2px;
    background: linear-gradient(90deg, var(--white) 0%, var(--white) 66%, var(--lime) 100%);
    opacity: .9;
  }
}
.step { position: relative; display: flex; flex-direction: column; gap: 12px; }
.step-node {
  position: relative;
  z-index: 1;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 4px solid var(--white);
  background: var(--black);
}
.step-node-lime { border-color: var(--lime); }
.step-num { margin-top: 12px; font-size: 14px; font-weight: 500; letter-spacing: 0.2em; color: var(--muted); }
.step h3 { font-size: 26px; }
.step p:last-child { color: var(--muted); }

/* engagements */
.plan { gap: 16px; padding: 32px 28px; }
.plan h3 { font-size: 28px; }
.plan-kicker { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted) !important; }
.plan ul { display: grid; gap: 10px; margin: 8px 0 12px; }
.plan li { position: relative; padding-inline-start: 26px; color: #E4E4E7; font-size: 15px; }
.plan li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0; top: 6px;
  width: 11px; height: 11px;
  border: 2px solid var(--lime);
  border-radius: 50%;
}
.plan .btn { margin-top: auto; }
.plan-featured { border-color: rgba(198, 242, 78, 0.55); background: linear-gradient(180deg, rgba(198,242,78,0.07), var(--surface) 45%); }
.plan-featured:hover { border-color: var(--lime); }

/* stack */
.stack { padding: 56px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips li {
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: #E4E4E7;
  background: var(--surface);
}

/* name */
.name-inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .name-inner { grid-template-columns: 220px minmax(0, 1fr); gap: 72px; } }
.name-symbol { width: 140px; height: auto; }
@media (min-width: 900px) { .name-symbol { width: 200px; } }
.name h2 { max-width: none; }
.name .lead { margin-top: 24px; max-width: 62ch; }
.ar { font-family: "Noto Naskh Arabic", "Geeza Pro", "Segoe UI", "Arial", serif; font-weight: 700; color: var(--lime); }

/* faq */
.faq-inner { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; } }
.faq-inner > div:first-child > p:last-child { margin-top: 20px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding-block: 22px;
  padding-inline: 0 44px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  inset-inline-end: 4px; top: 50%;
  width: 14px; height: 14px;
  margin-top: -7px;
  border: 2.5px solid var(--white);
  border-radius: 50%;
  transition: border-color .2s ease, background-color .2s ease;
}
.faq-list details[open] summary::after { border-color: var(--lime); background: var(--lime); }
.faq-list summary:hover { color: var(--lime); }
.faq-list details p { padding-block: 0 24px; padding-inline: 0 44px; color: var(--muted); }

/* contact */
.contact { border-bottom: 0; background: radial-gradient(ellipse 70% 60% at 85% 100%, rgba(198,242,78,0.08), transparent 70%); }
.contact-inner { display: grid; gap: 48px; }
@media (min-width: 1024px) { .contact-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; } }
.contact-copy .lead { margin-top: 24px; }
.contact-copy h2 { max-width: 18ch; }
.contact-alt { margin-top: 24px; color: var(--muted); }

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
@media (min-width: 768px) { .contact-form { padding: 36px; } }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: #E4E4E7; }
.optional { color: #8B8B93; font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  color: var(--white);
  background: var(--black);
  border: 1px solid #3F3F46;
  border-radius: 10px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #A1A1AA 50%), linear-gradient(135deg, #A1A1AA 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input::placeholder, .field textarea::placeholder { color: #71717A; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(198, 242, 78, 0.18);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #F87171; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.form-status { min-height: 1.5em; font-size: 15px; color: var(--muted); }
.form-status.is-ok { color: var(--lime); }
.form-status.is-error { color: #FCA5A5; }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0; }
.footer-inner { display: grid; gap: 28px; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1fr auto auto; align-items: center; gap: 48px; } }
.footer-brand { display: grid; gap: 12px; }
.footer-brand img { height: 28px; width: auto; }
.footer-brand p, .footer-meta { color: var(--muted); font-size: 15px; }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.site-footer nav a { color: #E4E4E7; font-size: 15px; }

/* language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #E4E4E7;
  font-size: 15px;
  font-weight: 500;
}
.lang-switch::before {
  content: "";
  width: 8px; height: 8px;
  border: 2px solid var(--lime);
  border-radius: 50%;
}
.lang-switch:hover { color: var(--lime); text-decoration: none; }
.lang-switch-mobile { display: none; }
@media (max-width: 959.98px) {
  .nav .lang-switch { padding: 6px 0; font-size: 18px; }
  .lang-switch-mobile { display: inline-flex; margin-inline-start: auto; margin-inline-end: 12px; }
  .nav .lang-switch { display: none; }
}

/* ---------- Arabic / RTL ---------- */
html[dir="rtl"] body { line-height: 1.85; }
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.3; }
html[lang="ar"] .hero h1 { letter-spacing: 0; line-height: 1.22; font-size: clamp(38px, 6.6vw, 68px); }
html[lang="ar"] .eyebrow,
html[lang="ar"] .section-label,
html[lang="ar"] .group-title,
html[lang="ar"] .plan-kicker { letter-spacing: 0; text-transform: none; font-size: 14px; }
html[lang="ar"] .group-title { font-size: 16px; }
html[lang="ar"] .lead { line-height: 1.85; }
html[lang="ar"] .card h4 { line-height: 1.4; }
html[lang="ar"] .faq-list summary { line-height: 1.5; }

html[dir="rtl"] .hero-grid {
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%);
}
html[dir="rtl"] .terminal { direction: ltr; text-align: left; }
html[dir="rtl"] .field select {
  background-position: 20px 22px, 15px 22px;
  padding-right: 14px;
  padding-left: 40px;
}
@media (min-width: 1024px) {
  html[dir="rtl"] .steps::before {
    background: linear-gradient(270deg, var(--white) 0%, var(--white) 66%, var(--lime) 100%);
  }
}

/* reveal */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .t-line { opacity: 1; transform: none; transition: none; animation: none; }
  .t-cursor { animation: none; }
  .btn, .card { transition: none; }
}
