/* ============================================================
   Khidma — marketing landing page
   Warm, friendly "helpful neighbour" — greens + gold on cream
   ============================================================ */

:root {
  /* Brand palette */
  --green:       #2D7A5F;
  --green-dark:  #1F5C46;
  --green-tint:  #E0EFE6;
  --green-tint2: #EFF6F0;
  --gold:        #E2A53C;
  --gold-soft:   #F6E4C2;
  --cream:       #F7F4EC;
  --cream-deep:  #F1ECDE;
  --ink:         #1A2638;
  --grey:        #5B6470;
  --line:        #E7E1D4;
  --white:       #ffffff;

  /* Typography */
  --font-en: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font: var(--font-en);

  /* Accent intensity (driven by Tweaks) */
  --accent-strength: 1;

  --radius:   18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(26,38,56,.05), 0 2px 8px rgba(26,38,56,.04);
  --shadow:    0 4px 14px rgba(26,38,56,.07), 0 18px 44px rgba(31,92,70,.07);
  --shadow-lg: 0 10px 30px rgba(26,38,56,.10), 0 30px 70px rgba(31,92,70,.12);

  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
}

html[dir="rtl"] body { --font: var(--font-ar); line-height: 1.7; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold-soft); color: var(--green-dark); }

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

section { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-tint);
  padding: 7px 14px; border-radius: 999px;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 14px; }

.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; font-weight: 800; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; line-height: 1.3; }

.h-sec { font-size: clamp(28px, 4vw, 44px); }
.lede  { font-size: clamp(17px, 2.2vw, 20px); color: var(--grey); max-width: 60ch; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-weight: 700; font-size: 16px;
  border: 0; border-radius: 999px; cursor: pointer;
  padding: 14px 26px; line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(45,122,95,.28); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(45,122,95,.34); }
.btn-ghost { background: transparent; color: var(--ink); padding-inline: 6px; }
.btn-ghost:hover { color: var(--green); }
.btn-gold { background: var(--gold); color: #3a2a08; box-shadow: 0 6px 16px rgba(226,165,60,.32); }
.btn-gold:hover { transform: translateY(-2px); filter: saturate(1.08); }
.btn-block { width: 100%; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--cream) 86%, transparent);
  backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; gap: 18px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo { height: 42px; width: auto; display: block; }
.footer .brand-logo { height: 46px; }

.nav-spacer { flex: 1; }

.lang-toggle {
  display: inline-flex; align-items: center;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px; gap: 2px;
}
.lang-toggle button {
  font-family: inherit; border: 0; background: transparent; cursor: pointer;
  padding: 7px 13px; border-radius: 999px; font-weight: 700; font-size: 13.5px;
  color: var(--grey); transition: all .15s;
}
.lang-toggle button.active { background: var(--green); color: #fff; }
.lang-toggle button .ar-label { font-family: var(--font-ar); }

.nav .btn-primary { padding: 11px 20px; font-size: 15px; }

.nav-menu-btn { display: none; }

/* ============================================================
   Decorative texture blobs
   ============================================================ */
.blob {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(2px);
  opacity: calc(.55 * var(--accent-strength));
}

/* ============================================================
   HERO  (two directions A / B toggled on body[data-hero])
   ============================================================ */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); overflow: hidden; }

/* shared form card */
.signup {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow);
}
.signup .fields { display: grid; gap: 10px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field label .opt { color: var(--grey); font-weight: 500; }
.field input {
  font-family: inherit; font-size: 15.5px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--cream); transition: border-color .15s, background .15s, box-shadow .15s;
  width: 100%;
}
.field input::placeholder { color: #9aa1ab; }
.field input:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px var(--green-tint); }
.field.invalid input { border-color: #d9534f; background: #fdf3f2; }
.field .err { font-size: 12.5px; color: #c0392b; display: none; }
.field.invalid .err { display: block; }

.signup .reassure { font-size: 13px; color: var(--grey); margin: 12px 2px 0; display: flex; gap: 7px; align-items: flex-start; }
.signup .reassure svg { flex: none; margin-top: 1px; }

.signup-success { display: none; text-align: center; padding: 14px 6px; }
.signup.done .fields, .signup.done .btn-submit, .signup.done .reassure { display: none; }
.signup.done .signup-success { display: block; }
.signup-success .check-circle {
  width: 56px; height: 56px; border-radius: 50%; background: var(--green-tint);
  display: grid; place-items: center; margin: 0 auto 14px;
}
.signup-success h3 { font-size: 21px; margin-bottom: 6px; }
.signup-success p { color: var(--grey); font-size: 15px; margin: 0; }

/* ---- Direction A: split ---- */
body[data-hero="A"] .hero-B { display: none; }
body[data-hero="B"] .hero-A { display: none; }

.hero-A .grid {
  display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero-A h1 { font-size: clamp(34px, 5.2vw, 60px); }
html[dir="rtl"] .hero-A h1 { font-size: clamp(32px, 5vw, 56px); }
.hero-A h1 .hl { color: var(--green); position: relative; white-space: nowrap; }
.hero-A .sub { margin-top: 20px; }
.hero-A .copy .signup { margin-top: 28px; max-width: 440px; }

/* underline swash */
.swash { position: relative; }
.swash::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4%;
  height: .32em; border-radius: 999px;
  background: var(--gold-soft);
  z-index: -1; transform: scaleX(var(--accent-strength));
  transform-origin: left;
}
html[dir="rtl"] .swash::after { transform-origin: right; }

/* ---- Direction B: centered editorial ---- */
.hero-B { text-align: center; }
.hero-B .eyebrow { margin-bottom: 22px; }
.hero-B h1 { font-size: clamp(36px, 6.5vw, 76px); max-width: 16ch; margin-inline: auto; }
html[dir="rtl"] .hero-B h1 { font-size: clamp(32px, 6vw, 64px); }
.hero-B h1 .hl { color: var(--green); }
.hero-B .sub { margin: 22px auto 0; }
.hero-B .signup { max-width: 540px; margin: 30px auto 0; text-align: start; }
.hero-B .signup .fields { grid-template-columns: 1fr 1fr; }
.hero-B .signup .fields .field.full { grid-column: 1 / -1; }
.hero-B .showcase { margin-top: clamp(40px, 6vw, 68px); }

/* ============================================================
   Phone mockup frame
   ============================================================ */
.phone {
  position: relative; z-index: 1;
  width: 300px; aspect-ratio: 300 / 620;
  background: #0f221b; border-radius: 44px; padding: 11px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,.2);
}
.phone::before { /* notch */
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px; background: #0f221b; border-radius: 999px; z-index: 3;
}
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
  background: var(--green-tint2);
}
.phone-screen > .appchat { position: absolute; inset: 0; z-index: 1; }
.phone-screen image-slot { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
/* empty slot is invisible (mock shows through) but still droppable/clickable */
.phone-screen image-slot:not([data-filled])::part(frame) { background: transparent; }
.phone-screen image-slot:not([data-filled])::part(ring) { display: none; }
.phone-screen image-slot::part(empty) { opacity: 0; }

.drop-hint {
  position: absolute; z-index: 3; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; pointer-events: none;
  background: rgba(15,34,27,.78); color: #fff; backdrop-filter: blur(4px);
  font-size: 11px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,.25);
  opacity: 0; transition: opacity .2s;
}
.phone:hover .drop-hint { opacity: .92; }
.phone-screen image-slot[data-filled] ~ .drop-hint { display: none; }

/* in-app chat mock (used when no screenshot is dropped, also a standalone visual) */
.appchat { display: flex; flex-direction: column; height: 100%; background: var(--cream); }
.appchat-top { background: var(--green); color: #fff; padding: 40px 16px 14px; }
.appchat-top .who { font-weight: 700; font-size: 14px; display:flex; align-items:center; gap:8px; }
.appchat-top .who span { white-space: nowrap; }
.appchat-top .who .av { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); display:grid; place-items:center; font-size:12px; color:#3a2a08; font-weight:800; }
.appchat-top .meta { font-size: 11.5px; opacity: .85; margin-top: 3px; }
.appchat-body { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.bubble { max-width: 84%; padding: 10px 13px; border-radius: 16px; font-size: 13px; line-height: 1.4; box-shadow: var(--shadow-sm); }
.bubble .tag { display:inline-block; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; margin-bottom: 6px; }
.bubble.out { align-self: flex-end; background: var(--green); color: #fff; border-bottom-right-radius: 5px; }
.bubble.out .tag { background: rgba(255,255,255,.22); color: #fff; }
.bubble.in { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 5px; }
.bubble.in .tag { background: var(--gold-soft); color: #8a5a12; }
.bubble .translated { color: var(--grey); font-size: 11.5px; margin-top: 5px; padding-top: 5px; border-top: 1px dashed var(--line); }
.bubble.out .translated { color: rgba(255,255,255,.8); border-top-color: rgba(255,255,255,.25); }
.appchat-input { padding: 10px 14px 16px; display: flex; gap: 8px; align-items: center; }
.appchat-input .ph { flex: 1; background: #fff; border-radius: 999px; padding: 9px 14px; font-size: 12px; color: #9aa1ab; box-shadow: var(--shadow-sm); }
.appchat-input .send { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); flex: none; display:grid; place-items:center; }

/* floating chip on hero phone */
.float-chip {
  position: absolute; z-index: 4;
  background: #fff; border-radius: 14px; padding: 10px 13px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 9px; max-width: 210px;
  animation: floaty 5s ease-in-out infinite;
}
.float-chip .ic { width: 32px; height: 32px; border-radius: 10px; display:grid; place-items:center; flex:none; }
.float-chip .t { font-size: 12px; line-height: 1.3; display: flex; flex-direction: column; gap: 1px; }
.float-chip .t b { font-size: 13px; font-weight: 700; white-space: nowrap; }
.float-chip .t span { display: block; color: var(--grey); }
.float-chip.c1 { top: 80px; right: -20px; }
.float-chip.c2 { bottom: 8%; right: -28px; animation-delay: -2.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .float-chip { animation: none; } }

/* hero pop-out: worker photo + app screen bursting out of the frame */
.hero-A .popout { position: relative; width: 100%; max-width: 560px; margin-inline: auto; padding-top: 58px; }
.popout .photo { margin: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; z-index: 2; aspect-ratio: 4 / 5; }
.popout .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 32%; display: block; }
.popout .popglow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, var(--green-tint), transparent 70%); top: 30px; left: -54px; z-index: 0; filter: blur(6px); opacity: calc(.75 * var(--accent-strength)); }
.popout .appwin { position: absolute; z-index: 3; width: clamp(178px, 43%, 238px); left: 2%; top: 0; transform: rotate(-7deg); border-radius: 32px; border: 7px solid #11241d; background: #11241d; box-shadow: 0 30px 60px rgba(16,35,28,.42), 0 6px 16px rgba(16,35,28,.3); overflow: hidden; }
.popout .appwin img { display: block; width: 100%; height: auto; border-radius: 25px; }

/* showcase row for hero B */
.showcase { display: flex; justify-content: center; gap: 28px; align-items: flex-end; flex-wrap: wrap; }
.showcase .phone:nth-child(2) { transform: translateY(-22px); }

/* ============================================================
   Problem section
   ============================================================ */
.problem { padding-block: clamp(48px, 6vw, 84px); }
.problem .inner {
  background: linear-gradient(180deg, var(--green-dark), var(--green));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 60px);
  position: relative; overflow: hidden;
}
.problem .inner .blob { width: 320px; height: 320px; background: radial-gradient(circle, rgba(226,165,60,.35), transparent 70%); inset-inline-end: -60px; top: -80px; opacity: 1; }
.problem h2 { color: #fff; max-width: 18ch; }
.problem .lede { color: rgba(255,255,255,.85); margin-top: 16px; }
.problem .frictions { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 34px; }
.friction { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 20px; }
.friction .ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.12); display:grid; place-items:center; margin-bottom: 13px; }
.friction h3 { font-size: 17px; color: #fff; }
.friction p { font-size: 14px; color: rgba(255,255,255,.78); margin: 7px 0 0; }

/* ============================================================
   Features
   ============================================================ */
.features { padding-block: clamp(52px, 7vw, 96px); }
.features .head { max-width: 52ch; margin-bottom: 40px; }
.features .head .lede { margin-top: 14px; }

.fgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ic { width: 50px; height: 50px; border-radius: 14px; display:grid; place-items:center; margin-bottom: 16px; }
.feature h3 { font-size: 20px; }
.feature p { font-size: 14.5px; color: var(--grey); margin: 9px 0 0; }
.feature .core-tag {
  position: absolute; top: 20px; inset-inline-end: 20px;
  font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-soft); padding: 4px 10px; border-radius: 999px;
}
html[dir="rtl"] .feature .core-tag { letter-spacing: 0; text-transform: none; }

/* the two core features span wider and get a tinted face */
.feature.core { grid-column: span 3; background: linear-gradient(165deg, var(--green-tint2), #fff 70%); border-color: var(--green-tint); }
.feature.core .ic { background: var(--green); }
.feature.std { grid-column: span 2; }
.feature.std .ic { background: var(--green-tint); }

@media (max-width: 880px){ .feature.core { grid-column: span 6; } .feature.std { grid-column: span 2; } }

/* ============================================================
   How it works
   ============================================================ */
.how { padding-block: clamp(52px, 7vw, 96px); background: var(--cream-deep); }
.how .head { text-align: center; max-width: 40ch; margin: 0 auto 48px; }
.how .head .lede { margin: 14px auto 0; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; position: relative; }
.step { text-align: center; position: relative; }
.step .num {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--green-tint); color: var(--green);
  display: grid; place-items: center; font-size: 26px; font-weight: 800;
  box-shadow: var(--shadow-sm); position: relative; z-index: 2;
}
.step h3 { font-size: 20px; }
.step p { color: var(--grey); margin: 10px auto 0; max-width: 30ch; font-size: 15px; }
.steps .connector { position: absolute; top: 32px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--green-tint) 0 10px, transparent 10px 18px); z-index: 1; }

/* ============================================================
   Trust strip
   ============================================================ */
.trust { padding-block: clamp(52px, 7vw, 96px); }
.trust-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.trust-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 360px; }
.trust-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tstack { display: flex; flex-direction: column; gap: 14px; }
.tstack .trust-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; }
.tstack .trust-card .ic { margin-bottom: 0; flex: none; width: 46px; height: 46px; }
.tstack .trust-card h3 { font-size: 18px; }
.tstack .trust-card p { font-size: 14px; margin-top: 6px; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; } .trust-photo { min-height: 260px; } }
.tgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.trust-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.trust-card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--green-tint); display:grid; place-items:center; margin-bottom: 18px; }
.trust-card h3 { font-size: 19px; }
.trust-card p { color: var(--grey); font-size: 15px; margin: 10px 0 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding-block: clamp(52px, 7vw, 96px); background: var(--cream-deep); }
.faq .head { text-align: center; margin-bottom: 40px; }
.faq-list { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }
.qa { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
.qa.open { box-shadow: var(--shadow); }
.qa-q {
  width: 100%; text-align: start; background: transparent; border: 0; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 17px; color: var(--ink);
  padding: 20px 24px; display: flex; align-items: center; gap: 16px;
}
.qa-q .plus { margin-inline-start: auto; flex: none; width: 24px; height: 24px; position: relative; transition: transform .25s; }
.qa-q .plus::before, .qa-q .plus::after { content: ""; position: absolute; background: var(--green); border-radius: 2px; }
.qa-q .plus::before { top: 11px; left: 4px; right: 4px; height: 2px; }
.qa-q .plus::after { left: 11px; top: 4px; bottom: 4px; width: 2px; transition: opacity .25s; }
.qa.open .qa-q .plus::after { opacity: 0; }
.qa-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.qa-a .inner { padding: 0 24px 22px; color: var(--grey); font-size: 15px; line-height: 1.6; }

/* ============================================================
   Closing CTA
   ============================================================ */
.closing { padding-block: clamp(56px, 7vw, 104px); }
.closing .inner {
  background: linear-gradient(150deg, var(--green), var(--green-dark));
  border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px,5vw,60px); align-items: center;
  position: relative; overflow: hidden;
}
.closing .inner .blob { width: 360px; height: 360px; background: radial-gradient(circle, rgba(226,165,60,.4), transparent 70%); inset-inline-start: -80px; bottom: -120px; opacity: 1; }
.closing h2 { color: #fff; font-size: clamp(28px, 4vw, 46px); }
.closing p { color: rgba(255,255,255,.86); font-size: 18px; margin-top: 14px; max-width: 34ch; }
.closing .signup { position: relative; z-index: 2; }

@media (max-width: 760px){ .closing .inner { grid-template-columns: 1fr; } }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding-block: 56px 36px; }
.footer .top { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.footer .brand .word .en { color: #fff; }
.footer .brand .word .ar { color: var(--gold); }
.footer .blurb { max-width: 34ch; font-size: 14.5px; margin-top: 16px; }
.footer .cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer .col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); margin: 0 0 14px; font-weight: 700; }
html[dir="rtl"] .footer .col h4 { letter-spacing: 0; text-transform: none; }
.footer .col a, .footer .col span { display: block; font-size: 14.5px; margin-bottom: 10px; color: rgba(255,255,255,.78); transition: color .15s; }
.footer .col a:hover { color: var(--gold); }
.footer .socials { display: flex; gap: 12px; margin-top: 6px; }
.footer .socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display:grid; place-items:center; transition: background .15s; }
.footer .socials a:hover { background: var(--green); }
.footer .legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; }
.footer .legal .links { display: flex; gap: 22px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 920px) {
  .hero-A .grid { grid-template-columns: 1fr; }
  .hero-A .popout { order: -1; margin-bottom: 8px; }
  .hero-A .copy .signup { max-width: 540px; }
  .problem .frictions { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps .connector { display: none; }
  .tgrid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav .btn-primary { display: none; }
  .nav-menu-btn { display: inline-flex; }
  .hero-B .signup .fields { grid-template-columns: 1fr; }
  .float-chip.c1 { right: -8px; left: auto; }
  .float-chip.c2 { right: -8px; left: auto; }
  .footer .legal { flex-direction: column; }
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }
