/* =========================================================
   The Arab Apps — static stylesheet
   Ink #0B0D12 · Green #4CC98C · Coral #F08A72
   Chivo (display) · Public Sans (text)
   ========================================================= */

:root {
  --ink: #0B0D12;
  --ink-2: #0F131A;
  --surface: #11141B;
  --surface-2: #12161F;
  --deep: #070910;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #F2F4F8;
  --text-2: #C3CAD6;
  --muted: #9BA3B4;
  --muted-2: #8F97A8;
  --muted-3: #5C6474;
  --green: #4CC98C;
  --coral: #F08A72;
  --paper: #F3F2EE;
  --display: 'Chivo', system-ui, sans-serif;
  --body: 'Public Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --maxw: 1280px;
  --pad: 28px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: var(--green); }
a:hover { color: #6FDCA6; }
::selection { background: var(--green); color: var(--ink); }

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- floating nav ---------- */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  max-width: calc(100% - 32px);
  background: rgba(15, 18, 25, 0.6);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 99px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.34);
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.nav.scrolled {
  background: rgba(13, 16, 22, 0.9);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 9px 12px 9px 18px;
  position: relative;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -.01em;
  color: var(--text);
  white-space: nowrap;
}
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 9px 15px;
  border-radius: 99px;
  white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 3px;
  width: 14px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.nav-burger {
  display: none;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  width: 38px; height: 38px;
  cursor: pointer;
  color: var(--text);
  font-size: 16px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: 11px;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.btn-primary { background: var(--green); color: var(--ink); }
.btn-primary:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 34px rgba(76, 201, 140, .32); }
.btn-glass {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text);
}
.btn-glass:hover { color: var(--text); background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.3); }
.btn-outline { border-color: rgba(255, 255, 255, 0.18); color: var(--text); font-size: 14.5px; padding: 14px 24px; }
.btn-outline:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.34); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -3;
  filter: saturate(.55) contrast(1.05) brightness(.62);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(11,13,18,.86) 0%, rgba(11,13,18,.42) 32%, rgba(11,13,18,.72) 72%, #0B0D12 100%);
}
.hero-spot {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.hero-inner { position: relative; padding-top: 150px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(46px, 8.4vw, 124px);
  line-height: .92;
  letter-spacing: -.045em;
  margin: 0;
  max-width: 15ch;
  text-wrap: balance;
}
.hero h1 span { color: var(--green); }
.hero-row {
  display: flex;
  gap: 44px;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.rise { animation: rise .9s var(--ease) both; }
.rise-1 { animation-delay: .08s; }
.rise-2 { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- stats ---------- */
.stats-wrap { position: relative; padding: 64px var(--pad) 40px; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.stat { background: rgba(15, 18, 25, 0.62); padding: 26px 24px; }
.stat-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 38px;
  line-height: 1;
  margin: 0;
  letter-spacing: -.03em;
}
.stat-num em { font-style: normal; color: var(--green); }
.stat-label { font-size: 13.5px; color: var(--muted-2); margin: 10px 0 0; }

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #090B10;
  padding: 18px 0;
  overflow: hidden;
}
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-group { display: flex; gap: 44px; padding-right: 44px; align-items: center; }
.marquee-group span {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-3);
}
.marquee-group b { color: var(--green); font-weight: 400; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 110px 0 40px; }
.section-tight { padding: 40px 0; }
.kicker {
  font-family: var(--display);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 18px;
}
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.035em;
  margin: 0;
  max-width: 18ch;
}
.section-head {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.lede { font-size: 16.5px; line-height: 1.65; color: var(--muted-2); margin: 0; max-width: 38ch; }

/* ---------- service rows ---------- */
.srows { display: grid; gap: 14px; }
.srow {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  align-items: center;
  justify-content: space-between;
  padding: 38px 34px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.srow:hover { border-color: rgba(76, 201, 140, .45); background: #141821; transform: translateY(-3px); }
.srow.coral:hover { border-color: rgba(240, 138, 114, .45); }
.srow-tag { font-family: var(--display); font-size: 12px; color: var(--muted-3); margin: 0 0 10px; letter-spacing: .1em; }
.srow h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0;
}
.srow p { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0; flex: 1 1 320px; max-width: 56ch; }
.srow-go { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--green); white-space: nowrap; }
.srow.coral .srow-go { color: var(--coral); }

/* ---------- app cards ---------- */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.app-card {
  display: block;
  padding: 26px 24px 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.app-card:hover { border-color: rgba(76, 201, 140, .45); transform: translateY(-4px); }
.app-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.app-name { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.015em; color: var(--text); margin: 0; }
.badge {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7C8496;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  padding: 4px 10px;
  white-space: nowrap;
}
.app-desc { font-size: 14.5px; line-height: 1.6; color: var(--muted-2); margin: 14px 0 0; }
.app-go { font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--green); margin: 16px 0 0; }

/* ---------- process ---------- */
.proc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.proc {
  padding: 34px 30px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--surface-2) 0%, #0E1118 100%);
  border: 1px solid var(--line);
}
.proc-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 46px;
  line-height: 1;
  color: rgba(76, 201, 140, .32);
  margin: 0 0 22px;
  letter-spacing: -.04em;
}
.proc-num.coral { color: rgba(240, 138, 114, .32); }
.proc h3 { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--text); margin: 0 0 12px; letter-spacing: -.015em; }
.proc p { font-size: 15.5px; line-height: 1.65; color: var(--muted-2); margin: 0; }

/* ---------- clients (light band) ---------- */
.clients { background: var(--paper); color: var(--ink); margin-top: 110px; padding: 104px 0; }
.clients .kicker { color: #3D7F5D; margin-bottom: 44px; }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote {
  margin: 0;
  padding: 34px 30px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #E3E1DA;
  display: flex;
  flex-direction: column;
}
.quote p {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0;
  flex: 1;
}
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #ECEAE3; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 13px;
  background: #E4F5EC; color: #2E7D57;
}
.avatar.coral { background: #FBE7E1; color: #B4533A; }
.avatar.slate { background: #E7E9EF; color: #3B4457; }
.quote cite { font-style: normal; font-size: 14px; line-height: 1.4; color: #5A6070; }
.quote cite strong { display: block; color: var(--ink); font-weight: 600; }

/* ---------- cta ---------- */
.cta { position: relative; padding: 130px 0; overflow: hidden; background: var(--ink); text-align: center; }
.cta-glow {
  position: absolute;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  border-radius: 99px;
  background: radial-gradient(circle, rgba(76, 201, 140, .13), transparent 62%);
  pointer-events: none;
}
.cta .container { position: relative; max-width: 820px; }
.cta h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(34px, 5.6vw, 72px);
  line-height: 1;
  letter-spacing: -.04em;
  margin: 0;
}
.cta p { font-size: 17.5px; line-height: 1.65; color: var(--muted); margin: 26px auto 0; max-width: 52ch; }
.cta-mail {
  display: inline-flex;
  align-items: center;
  margin-top: 40px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: -.02em;
  color: var(--ink);
  background: var(--green);
  padding: 20px 36px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.cta-mail:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 18px 46px rgba(76, 201, 140, .34); }
.cta-box {
  border: 1px solid rgba(76, 201, 140, .28);
  border-radius: 22px;
  background: radial-gradient(120% 160% at 50% 0%, rgba(76, 201, 140, .12), transparent 60%), #0E1218;
  padding: 70px 40px;
  text-align: center;
}
.cta-box.plain { border-color: rgba(255,255,255,.1); background: linear-gradient(180deg, var(--surface-2), #0D1017); padding: 64px 44px; }
.cta-box h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -.038em;
  margin: 0;
}
.cta-box p { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 22px auto 0; max-width: 48ch; }
.cta-box .btn { margin-top: 34px; font-size: 15.5px; padding: 17px 32px; border-radius: 12px; }

/* ---------- page hero (sub pages) ---------- */
.phero { position: relative; padding: 170px 0 80px; overflow: hidden; }
.phero-glow {
  position: absolute;
  top: -320px; right: -160px;
  width: 760px; height: 760px;
  border-radius: 99px;
  background: radial-gradient(circle, rgba(76, 201, 140, .14), transparent 64%);
  pointer-events: none;
}
.phero-glow.coral { right: auto; left: -180px; background: radial-gradient(circle, rgba(240, 138, 114, .12), transparent 64%); }
.phero .container { position: relative; }
.phero h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 7vw, 96px);
  line-height: .96;
  letter-spacing: -.042em;
  margin: 0;
  max-width: 15ch;
  text-wrap: balance;
}
.phero-sub { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: var(--muted); margin: 30px 0 0; max-width: 56ch; }

/* ---------- services detail ---------- */
.sdetail {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--surface-2) 0%, #0D1017 100%);
  padding: 56px 48px;
  margin-bottom: 14px;
}
.sdetail.coral { background: linear-gradient(180deg, #171319 0%, #0D1017 100%); }
.sdetail-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.sdetail-head b { font-family: var(--display); font-weight: 900; font-size: 15px; color: var(--green); letter-spacing: .08em; }
.sdetail.coral .sdetail-head b { color: var(--coral); }
.sdetail-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -.035em;
  margin: 0;
}
.sdetail-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px; margin-top: 34px; }
.sdetail-cols p { font-size: 16.5px; line-height: 1.7; color: var(--muted); margin: 0 0 16px; }
.sdetail-cols p:last-child { margin-bottom: 0; }
.feature-box {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 30px 28px;
}
.feature-box .kicker { margin-bottom: 20px; }
.sdetail.coral .feature-box .kicker { color: var(--coral); }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.feature-list li { font-size: 15px; color: var(--text-2); }

/* ---------- portfolio ---------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.tab {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.tab:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.34); }
.tab.active { background: var(--green); border-color: var(--green); color: var(--ink); }
.pcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.pcard {
  display: flex;
  flex-direction: column;
  padding: 34px 32px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.pcard:hover { border-color: rgba(76, 201, 140, .45); transform: translateY(-4px); }
.pcard.hide { display: none; }
.pcard h2 { font-family: var(--display); font-weight: 700; font-size: 23px; letter-spacing: -.02em; color: var(--text); margin: 0; }
.pcard-desc { font-size: 15.5px; line-height: 1.65; color: var(--muted); margin: 16px 0 0; flex: 1; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.tag { font-size: 12.5px; color: #7C8496; background: rgba(255, 255, 255, 0.05); border-radius: 7px; padding: 5px 10px; }
.pcard-go { font-family: var(--display); font-weight: 600; font-size: 13.5px; color: var(--green); margin: 18px 0 0; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: start; }
.about-lead {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.35;
  letter-spacing: -.025em;
  color: var(--text);
  margin: 0 0 24px;
}
.about-grid p { font-size: 16.5px; line-height: 1.75; color: var(--muted); margin: 0 0 18px; }
.mission {
  border: 1px solid rgba(76, 201, 140, .3);
  border-radius: 20px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(76, 201, 140, .12), transparent 62%), var(--ink-2);
  padding: 40px 34px;
  position: sticky;
  top: 104px;
}
.mission p {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.4;
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0;
}
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
.work-card { padding: 36px 30px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.work-card h3 { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--text); margin: 0 0 12px; letter-spacing: -.015em; }
.work-card p { font-size: 15.5px; line-height: 1.7; color: var(--muted-2); margin: 0; }
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
}
.fact { background: #0E1117; padding: 34px 28px; }
.fact-num { font-family: var(--display); font-weight: 900; font-size: 42px; line-height: 1; margin: 0; letter-spacing: -.035em; }
.fact-num em { font-style: normal; color: var(--green); }
.fact-label { font-size: 14px; color: var(--muted-2); margin: 12px 0 0; }

/* ---------- legal ---------- */
.legal-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.legal-toc {
  position: sticky;
  top: 104px;
  flex: 1 1 190px;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.legal-toc a { font-size: 14px; color: var(--muted-2); text-decoration: none; transition: color .2s var(--ease); }
.legal-toc a:hover { color: var(--text); }
.legal-body { flex: 999 1 420px; max-width: 70ch; }
.legal-intro {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0 0 44px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.legal-sec { margin-bottom: 44px; scroll-margin-top: 104px; }
.legal-sec h2 { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -.02em; color: var(--text); margin: 0 0 18px; }
.legal-sec h3 { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--green); margin: 0 0 10px; }
.legal-sec p { font-size: 16px; line-height: 1.75; color: var(--muted); margin: 0 0 12px; }
.legal-sec ul { margin: 0 0 24px; padding-left: 20px; display: grid; gap: 8px; }
.legal-sec li { font-size: 16px; line-height: 1.7; color: var(--muted); }
.legal-sec strong { color: var(--text); font-weight: 600; }
.legal-contact { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; background: var(--surface); padding: 36px 32px; margin-bottom: 0; }
.legal-contact p.lines { line-height: 2; }

/* ---------- footer ---------- */
.footer { background: var(--deep); border-top: 1px solid var(--line); padding: 80px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; }
.footer-about { font-size: 15px; line-height: 1.65; color: #7C8496; margin: 20px 0 0; max-width: 34ch; }
.chips { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.chip { font-size: 12px; color: var(--muted-3); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 99px; padding: 5px 12px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col .kicker { margin: 0 0 4px; }
.footer-col a { font-size: 14.5px; color: var(--muted); text-decoration: none; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-mail { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--text) !important; text-decoration: none; }
.footer-mail:hover { color: var(--green) !important; }
.footer-note { font-size: 14px; line-height: 1.6; color: #7C8496; margin: 0; }
.footer-base {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-base p { font-size: 13px; color: var(--muted-3); margin: 0; }

/* ---------- scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 779px) {
  .nav-burger { display: flex; }
  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: rgba(13, 16, 22, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 14px 48px rgba(0, 0, 0, 0.5);
  }
  .nav-menu.open { display: flex; }
  .nav-link.active::after { display: none; }
  .sdetail { padding: 40px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .clients { padding: 72px 0; margin-top: 72px; }
  .cta { padding: 90px 0; }
  .section { padding: 72px 0 32px; }
  .phero { padding: 140px 0 56px; }
  .srow { padding: 30px 24px; }
  .mission { position: static; }
  .legal-toc { position: static; max-width: none; }
}

@media (max-width: 480px) {
  :root { --pad: 20px; }
  .hero-inner { padding-top: 130px; }
  .hero-actions .btn { width: 100%; }
  .pcard-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
