/* Meridian marketing site — https://bonbell.net
   Brand: the product's ink (#1E262B) and the wordmark's amber dot (#F5A63C), on a warm paper ground.
   Written with logical properties throughout, so the Arabic (dir="rtl") pages mirror without overrides. */

:root {
  --ink: #1e262b;
  --ink-deep: #141a1e;
  --ink-raised: #26313700;
  --ink-card: #263137;
  --ink-line: rgba(255, 255, 255, 0.1);
  --ink-text: #ffffff;
  --ink-text-2: rgba(255, 255, 255, 0.74);
  --ink-text-3: rgba(255, 255, 255, 0.56);

  --paper: #f7f5f0;
  --surface: #ffffff;
  --text: #11171a;
  --text-2: #4a565d;
  --text-3: #66727a;
  --line: rgba(17, 23, 26, 0.1);

  --amber: #f5a63c;
  --amber-hover: #f8b85f;
  --amber-soft: #fdf0dc;
  --amber-text: #8a5200;

  --blue: #0a6cdb;
  --blue-soft: #e6f0fc;
  --green: #1f8a4c;
  --green-soft: #e3f4ea;
  --purple: #8f3fb3;
  --purple-soft: #f3e8f9;
  --teal: #1f7a86;
  --teal-soft: #e0f2f4;
  --indigo: #4b49c6;
  --indigo-soft: #ebebfb;
  --orange: #a45a00;
  --orange-soft: #fcefdd;

  --wa: #34c759;
  --ig: #c35bdd;
  --fb: #2d8cff;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 32, 0.06);
  --shadow: 0 1px 2px rgba(16, 24, 32, 0.05), 0 12px 32px -8px rgba(16, 24, 32, 0.14);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.12), 0 40px 90px -20px rgba(0, 0, 0, 0.55);
  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 32px);
}
html[lang='ar'] {
  --font: 'IBM Plex Sans Arabic', 'Inter', -apple-system, 'Segoe UI', Tahoma, 'Geeza Pro', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--blue);
  text-underline-offset: 3px;
}
h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 100;
  background: var(--amber);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow {
  max-width: calc(820px + var(--gutter) * 2);
}
.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}
[dir='rtl'] .icon-arrow {
  transform: scaleX(-1);
}

/* ------------------------------------------------------------ buttons */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 46px;
  padding: 0.7em 1.25em;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn .icon-arrow {
  transition: transform 0.18s ease;
}
.btn:hover .icon-arrow {
  transform: translateX(3px);
}
[dir='rtl'] .btn:hover .icon-arrow {
  transform: scaleX(-1) translateX(3px);
}
.btn-primary {
  --btn-bg: var(--amber);
  --btn-fg: var(--ink);
}
.btn-primary:hover {
  --btn-bg: var(--amber-hover);
}
.btn-dark:hover {
  --btn-bg: #2c373e;
}
.btn-ghost {
  --btn-bg: rgba(255, 255, 255, 0.06);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-ghost:hover {
  --btn-bg: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: rgba(17, 23, 26, 0.22);
}
.btn-outline:hover {
  border-color: var(--ink);
}
.btn-quiet {
  --btn-bg: transparent;
  --btn-fg: var(--ink-text-2);
}
.btn-quiet:hover {
  --btn-fg: #fff;
  transform: none;
}
.btn-sm {
  min-height: 38px;
  padding: 0.5em 1em;
  font-size: 0.92rem;
}
.btn-lg {
  min-height: 54px;
  padding: 0.85em 1.6em;
  font-size: 1.02rem;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn-row.center {
  justify-content: center;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.text-link:hover {
  color: var(--amber-text);
}

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(30, 38, 43, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--ink-line);
  color: #fff;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  flex: none;
}
.brand img {
  width: 116px;
  height: auto;
}
[dir='rtl'] .brand img {
  direction: ltr;
}
.nav-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}
.nav {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}
.nav a {
  color: var(--ink-text-2);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-text-2);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 999px;
}
.lang-switch:hover {
  color: #fff;
}
.menu-btn {
  display: none;
  margin-inline-start: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--ink-line);
  background: transparent;
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-btn .icon {
  width: 22px;
  height: 22px;
}
.menu-btn .icon-close {
  display: none;
}
@media (max-width: 1080px) {
  .menu-btn {
    display: inline-flex;
  }
  .nav-panel {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px var(--gutter) 22px;
    background: var(--ink);
    border-bottom: 1px solid var(--ink-line);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
  }
  .site-header.is-open .nav-panel {
    display: flex;
  }
  .site-header.is-open .icon-open {
    display: none;
  }
  .site-header.is-open .icon-close {
    display: block;
  }
  .nav {
    flex-direction: column;
    margin: 0;
  }
  .nav a {
    padding: 12px 14px;
    font-size: 1.02rem;
    border-radius: 12px;
  }
  .nav-actions {
    flex-wrap: wrap;
    border-top: 1px solid var(--ink-line);
    padding-top: 14px;
  }
  .nav-actions .btn-primary {
    flex: 1;
  }
}

/* ------------------------------------------------------------ shared type */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-text);
  margin-bottom: 14px;
}
html[lang='ar'] .eyebrow {
  letter-spacing: 0;
  font-size: 0.9rem;
}
.eyebrow-dark {
  color: var(--amber);
}
.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 750;
  letter-spacing: -0.025em;
}
html[lang='ar'] .section-title,
html[lang='ar'] h1 {
  letter-spacing: 0;
  line-height: 1.3;
}
.section-title.center,
.section-head {
  text-align: center;
}
.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
}
.lead {
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  color: var(--text-2);
  margin-top: 16px;
}
.lead a {
  color: inherit;
  text-decoration-color: rgba(17, 23, 26, 0.3);
  font-weight: 500;
}
.lead a:hover {
  color: var(--ink);
  text-decoration-color: var(--amber);
}
.muted {
  color: var(--text-3);
}

.section {
  padding-block: clamp(64px, 9vw, 112px);
}
.section-tight {
  padding-block: clamp(40px, 5vw, 64px);
}
.section-paper {
  background: var(--paper);
}
.section-ink {
  background: var(--ink);
  color: #fff;
}
.section-ink .lead,
.section-ink .steps-list span span {
  color: var(--ink-text-2);
}

/* ------------------------------------------------------------ screenshot frame */
.shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding-inline: 12px;
  background: #ecebe7;
  border-bottom: 1px solid var(--line);
  direction: ltr;
}
.shot-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d9d7d1;
}
.shot-bar i:nth-child(1) {
  background: #ff5f57;
}
.shot-bar i:nth-child(2) {
  background: #febc2e;
}
.shot-bar i:nth-child(3) {
  background: #28c840;
}
.shot-bar span {
  margin-inline-start: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  color: #6e6e73;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[lang='ar'] .shot-bar span {
  direction: rtl;
}
.shot img {
  width: 100%;
}
.section-ink .shot {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

/* ------------------------------------------------------------ hero */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding-top: clamp(56px, 8vw, 96px);
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 18% 12%, rgba(245, 166, 60, 0.16), transparent 70%),
    radial-gradient(50% 45% at 85% 20%, rgba(45, 140, 255, 0.14), transparent 70%),
    linear-gradient(180deg, transparent 55%, var(--ink-deep) 100%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 75%);
}
.hero-inner {
  text-align: center;
  max-width: calc(980px + var(--gutter) * 2);
}
.hero h1 {
  font-size: clamp(2rem, 5.4vw, 4.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
html[lang='ar'] .hero h1 {
  font-weight: 700;
  line-height: 1.28;
}
.hero-lead {
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  color: var(--ink-text-2);
  max-width: 760px;
  margin: 22px auto 0;
}
.channel-dots {
  display: inline-flex;
  gap: 4px;
}
.channel-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.channel-dots .wa {
  background: var(--wa);
}
.channel-dots .ig {
  background: var(--ig);
}
.channel-dots .fb {
  background: var(--fb);
}
.hero-chips {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  color: var(--ink-text-2);
  font-size: 0.93rem;
}
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-chips .icon {
  color: var(--amber);
  width: 1em;
  height: 1em;
  stroke-width: 2.6;
}
.hero-visual {
  position: relative;
  margin-top: clamp(44px, 6vw, 72px);
  max-width: calc(1140px + var(--gutter) * 2);
}
.shot-hero {
  border-radius: 16px 16px 0 0;
  border-bottom: 0;
  box-shadow: 0 -10px 80px -10px rgba(245, 166, 60, 0.18), var(--shadow-lg);
}
.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 300px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.45);
  font-size: 0.86rem;
  line-height: 1.35;
  text-align: start;
}
.float strong {
  display: block;
  font-size: 0.9rem;
}
.float span span {
  color: var(--text-2);
}
.float-a {
  inset-inline-start: 0;
  top: 22%;
}
.float-b {
  inset-inline-end: 0;
  top: 52%;
}
.float-badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-weight: 800;
  font-size: 0.8rem;
}
.float-badge.ai {
  background: var(--indigo-soft);
  color: var(--indigo);
}
.float-badge.person {
  background: var(--amber-soft);
  color: var(--amber-text);
}
@media (max-width: 860px) {
  .float {
    display: none;
  }
}

/* ------------------------------------------------------------ what is */
.what {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.what .lead {
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  line-height: 1.7;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0;
}
.facts div {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
}
.facts dt {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.facts dt::after {
  content: '';
  display: inline-block;
  width: 0.2em;
  height: 0.2em;
  margin-inline-start: 0.06em;
  border-radius: 50%;
  background: var(--amber);
}
.facts dd {
  margin: 10px 0 0;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .what {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------ cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.section:not(.section-paper) .feature-card {
  background: var(--paper);
  border-color: transparent;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(17, 23, 26, 0.16);
}
.feature-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-top: 6px;
}
.feature-card p {
  color: var(--text-2);
  font-size: 0.98rem;
}
.feature-card .more {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
}
.feature-icon .icon {
  width: 24px;
  height: 24px;
}
.tone-inbox {
  background: var(--blue-soft);
  color: var(--blue);
}
.tone-bot {
  background: var(--indigo-soft);
  color: var(--indigo);
}
.tone-send {
  background: var(--green-soft);
  color: var(--green);
}
.tone-contact {
  background: var(--teal-soft);
  color: var(--teal);
}
.tone-users {
  background: var(--orange-soft);
  color: var(--orange);
}
.tone-comment {
  background: var(--purple-soft);
  color: var(--purple);
}
@media (max-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------ split sections */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.split-rev > .split-copy {
  order: 2;
}
.split-copy .section-title {
  font-size: clamp(1.75rem, 2.9vw, 2.35rem);
}
.split-copy .btn {
  margin-top: 30px;
}
.split-copy .btn-row .btn {
  margin-top: 0;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split-rev > .split-copy {
    order: 0;
  }
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-2);
}
.check-list li strong {
  color: var(--text);
}
.check-list .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--amber-text);
  stroke-width: 3;
}
.section-ink .check-list li {
  color: var(--ink-text-2);
}
.section-ink .check-list strong {
  color: #fff;
}
.check-list.two-col {
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
}
@media (max-width: 760px) {
  .check-list.two-col {
    grid-template-columns: 1fr;
  }
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 18px;
}
.steps-list li {
  display: flex;
  gap: 16px;
}
.steps-list strong {
  display: block;
  font-size: 1.06rem;
  margin-bottom: 2px;
}
.step-n {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.95rem;
}
.stack-shots {
  display: grid;
  gap: 0;
}
.stack-shots .shot-offset {
  width: 78%;
  margin-top: -18%;
  margin-inline-start: auto;
  position: relative;
}
@media (max-width: 900px) {
  .stack-shots .shot-offset {
    width: 100%;
    margin-top: 18px;
  }
}

/* ------------------------------------------------------------ duo, included, start */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.duo-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) 0;
  overflow: hidden;
  border: 1px solid var(--line);
}
.duo-card h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.02em;
}
.duo-card > p {
  color: var(--text-2);
  margin-top: 10px;
}
.duo-card .text-link {
  margin-top: 14px;
}
.duo-card .shot {
  margin-top: 28px;
  margin-inline-end: calc(clamp(24px, 3vw, 36px) * -1 - 8%);
  border-end-start-radius: 0;
  border-end-end-radius: 0;
  border-bottom: 0;
}
@media (max-width: 860px) {
  .duo {
    grid-template-columns: 1fr;
  }
}
.included {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px 24px;
}
.included li {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}
.included strong {
  display: block;
  font-size: 1rem;
}
.included span {
  display: block;
  color: var(--text-2);
  font-size: 0.92rem;
  margin-top: 4px;
  line-height: 1.45;
}
@media (max-width: 1000px) {
  .included {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .included {
    grid-template-columns: 1fr 1fr;
  }
}
.start-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: s;
}
.start-steps li {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
}
.start-steps strong {
  display: block;
  margin-top: 16px;
  font-size: 1.08rem;
}
.start-steps span:last-child {
  display: block;
  color: var(--text-2);
  font-size: 0.95rem;
  margin-top: 6px;
}
@media (max-width: 900px) {
  .start-steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 540px) {
  .start-steps {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------ videos */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.video-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.video-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--ink);
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-thumb .play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(245, 166, 60, 0.95);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}
.video-card:hover .play {
  transform: translate(-50%, -50%) scale(1.06);
}
.video-thumb .play .icon {
  width: 26px;
  height: 26px;
  margin-inline-start: 3px;
}
[dir='rtl'] .video-thumb .play .icon {
  margin-inline-start: 0;
  margin-inline-end: 3px;
  transform: none;
}
.video-thumb .duration {
  position: absolute;
  inset-inline-end: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  direction: ltr;
}
.video-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px 24px;
}
.video-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
html[lang='ar'] .video-kicker {
  letter-spacing: 0;
}
.video-card-body strong {
  font-size: 1.12rem;
  line-height: 1.3;
}
.video-card-body span:last-child {
  color: var(--text-2);
  font-size: 0.95rem;
}
.section-ink .video-card {
  border-color: transparent;
}

/* ------------------------------------------------------------ presentation */
.present {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.present-visual {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
}
.present-visual img {
  position: absolute;
  width: 72%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.3s ease;
}
.present-visual img:nth-child(1) {
  inset-inline-end: 0;
  top: 0;
  transform: rotate(4deg);
}
.present-visual img:nth-child(2) {
  inset-inline-end: 12%;
  top: 12%;
  transform: rotate(-3deg);
}
.present-visual img:nth-child(3) {
  inset-inline-start: 0;
  bottom: 0;
  box-shadow: var(--shadow-lg);
}
.present-visual:hover img:nth-child(1) {
  transform: rotate(6deg) translateY(-6px);
}
.present-visual:hover img:nth-child(2) {
  transform: rotate(-5deg) translateY(-4px);
}
@media (max-width: 900px) {
  .present {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------ faq */
.faq {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 650;
  line-height: 1.4;
}
.faq-icon {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper);
}
.section-paper .faq-icon {
  background: #fff;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}
.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq-answer {
  padding: 0 4px 24px;
  color: var(--text-2);
  max-width: 72ch;
}
.faq-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}
.faq-toc a {
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--ink-line);
  background: rgba(255, 255, 255, 0.04);
}
.faq-toc a:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

/* ------------------------------------------------------------ cta band */
.cta-band {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 80% at 50% 110%, rgba(245, 166, 60, 0.28), transparent 70%);
}
.cta-inner {
  text-align: center;
  padding-block: clamp(72px, 10vw, 120px);
  max-width: calc(760px + var(--gutter) * 2);
}
.cta-inner h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
html[lang='ar'] .cta-inner h2 {
  letter-spacing: 0;
  line-height: 1.3;
}
.cta-inner p {
  color: var(--ink-text-2);
  font-size: 1.15rem;
  margin-top: 14px;
}

/* ------------------------------------------------------------ inner pages */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(36px, 5vw, 56px) clamp(64px, 9vw, 120px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(55% 60% at 10% 0%, rgba(245, 166, 60, 0.13), transparent 70%), radial-gradient(45% 55% at 95% 10%, rgba(45, 140, 255, 0.12), transparent 70%);
}
.page-hero-copy {
  max-width: 880px;
  margin-top: clamp(28px, 4vw, 48px);
}
.page-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
html[lang='ar'] .page-hero h1 {
  font-weight: 700;
  line-height: 1.3;
}
.page-hero .hero-lead {
  margin: 20px 0 0;
  max-width: 760px;
}
.page-hero-shot {
  margin-top: clamp(-96px, -8vw, -48px);
  position: relative;
}
.page-hero-shot .shot {
  box-shadow: var(--shadow-lg);
}
.section-overlap {
  padding-top: 0;
  margin-top: clamp(-80px, -7vw, -40px);
  position: relative;
}
.crumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink-text-3);
}
.crumbs li + li::before {
  content: '/';
  margin-inline-end: 8px;
  opacity: 0.6;
}
.crumbs a {
  color: var(--ink-text-2);
  text-decoration: none;
}
.crumbs a:hover {
  color: #fff;
}
.glance {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
}
.glance h2 {
  font-size: 1.35rem;
  font-weight: 750;
}
.glance .check-list .icon {
  background: #fff;
}
.text-grid {
  display: grid;
  gap: 20px;
}
.text-grid-2 {
  grid-template-columns: 1fr 1fr;
}
.text-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.text-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
}
.text-card h2 {
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
html[lang='ar'] .text-card h2 {
  letter-spacing: 0;
}
.text-card p {
  color: var(--text-2);
  margin-top: 12px;
}
.text-card a {
  color: var(--ink);
}
@media (max-width: 960px) {
  .text-grid-2,
  .text-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------ video page */
.page-hero-video {
  padding-bottom: clamp(40px, 6vw, 72px);
}
.player {
  margin-top: 36px;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}
.player video {
  width: 100%;
  height: 100%;
}
.player-note {
  margin-top: 14px;
  color: var(--ink-text-3);
  font-size: 0.92rem;
}
.video-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.chapters {
  position: sticky;
  top: 92px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.chapters h2,
.transcript h2 {
  font-size: 1.3rem;
  font-weight: 750;
}
.chapters ol {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 2px;
}
.chapters a {
  display: flex;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.35;
}
.chapters a:hover {
  background: #fff;
}
.chapters .time {
  flex: none;
  min-width: 38px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--amber-text);
  direction: ltr;
}
.transcript h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-top: 28px;
}
.transcript p {
  color: var(--text-2);
  margin-top: 8px;
}
.transcript .muted {
  margin-top: 8px;
  font-size: 0.95rem;
}
@media (max-width: 900px) {
  .video-layout {
    grid-template-columns: 1fr;
  }
  .chapters {
    position: static;
  }
}

/* ------------------------------------------------------------ footer */
.site-footer {
  background: var(--ink-deep);
  color: var(--ink-text-2);
  padding-top: clamp(56px, 7vw, 88px);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
.footer-brand img {
  width: 132px;
  height: auto;
}
.footer-brand p {
  margin: 16px 0 20px;
  max-width: 320px;
}
.site-footer h2 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 14px;
}
html[lang='ar'] .site-footer h2 {
  letter-spacing: 0;
  font-size: 0.9rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 10px;
}
.site-footer a:not(.btn) {
  color: var(--ink-text-2);
  text-decoration: none;
}
.site-footer a:not(.btn):hover {
  color: #fff;
}
.footer-base {
  display: grid;
  gap: 6px;
  margin-top: 36px;
  padding-block: 26px 36px;
  border-top: 1px solid var(--ink-line);
  font-size: 0.84rem;
  color: var(--ink-text-3);
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ------------------------------------------------------------ 404 */
.not-found {
  background: var(--ink);
  color: #fff;
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.nf {
  text-align: center;
  padding: 40px var(--gutter);
  display: grid;
  gap: 14px;
  justify-items: center;
}
.nf h1 {
  font-size: 2rem;
  margin-top: 20px;
}
.nf p {
  color: var(--ink-text-2);
}
