/* Retainr landing — generated from landing/index.html <style>. Keep the two identical. */
/* ─── Tokens — Retainr ops palette (mirrors ks.css; Midnight default) ─── */
:root {
  --bg:          #0E1114;
  --bg-2:        #14181D;
  --bg-3:        #1B2026;
  --paper:       #1B2026;
  --ink:         #E7EBF0;
  --ink-2:       #AAB4C0;
  --ink-3:       #7C8794;
  --ink-4:       #69737F;
  --line:        #232A32;
  --line-soft:   #1A2026;
  --line-strong: #36404B;
  --accent:      #2F6FE0;
  --accent-2:    #6FA6F5;
  --accent-3:    #2FA97C;
  --accent-rgb:  47, 111, 224;
  --success:     #35B37E;
  --danger:      #E5534B;
  --warn:        #D9A32B;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Inter', system-ui, -apple-system, sans-serif;
}
/* Onyx */
body.theme-onyx {
  --bg: #0B0C0D; --bg-2: #121415; --bg-3: #191C1E; --paper: #191C1E;
  --ink: #E9EBEC; --ink-2: #ADB2B6; --ink-3: #7F868B; --ink-4: #6B7278;
  --line: #23262A; --line-soft: #191C1F; --line-strong: #363B40;
  --accent: #10806F; --accent-2: #45C2AE; --accent-3: #4C9AFF;
  --accent-rgb: 16, 128, 111;
}
/* Arctic */
body.theme-arctic {
  --bg: #0A1018; --bg-2: #101823; --bg-3: #17212E; --paper: #17212E;
  --ink: #E5EBF2; --ink-2: #A6B3C2; --ink-3: #798797; --ink-4: #67747F;
  --line: #1E2A38; --line-soft: #16202B; --line-strong: #31404F;
  --accent: #1273C4; --accent-2: #5AAEEA; --accent-3: #2FA97C;
  --accent-rgb: 18, 115, 196;
}
/* Rose */
body.theme-rose {
  --bg: #121110; --bg-2: #1A1816; --bg-3: #221F1C; --paper: #221F1C;
  --ink: #EFEAE4; --ink-2: #BCB2A8; --ink-3: #8C8378; --ink-4: #766D63;
  --line: #2C2825; --line-soft: #201D1B; --line-strong: #423C37;
  --accent: #A75F2B; --accent-2: #DE9757; --accent-3: #2FA97C;
  --accent-rgb: 167, 95, 43;
}
/* Light */
body.theme-light {
  --bg: #F5F6F8; --bg-2: #FFFFFF; --bg-3: #ECEFF3; --paper: #FFFFFF;
  /* --ink-3 was #6B7684, which reads 4.27 on this ground — under AA for body text.
     #56606B is the value the Market's light theme already uses; keeping them equal
     means the two surfaces stay in step. */
  --ink: #14181D; --ink-2: #48525E; --ink-3: #56606B; --ink-4: #929BA6;
  --line: #E3E7EC; --line-soft: #EDF0F4; --line-strong: #C7CDD5;
  --accent: #1F63D1; --accent-2: #1A55B8; --accent-3: #17805C;
  --accent-rgb: 31, 99, 209;
  --success: #17805C; --danger: #C0362E; --warn: #8A6410;
}


/* Text on panels that invert in Light (dark ink ground) but stay dark elsewhere */
body { --on-inv: var(--ink); --on-inv-accent: var(--accent-2); --on-inv-ground: var(--bg); }
body.theme-light { --on-inv: var(--paper); --on-inv-accent: #6FA6F5; --on-inv-ground: var(--ink); }
body.theme-light .eyebrow,
body.theme-light .foot-col h5,
body.theme-light .foot-bottom { color: var(--ink-2); }

/* Dark-theme surface remaps */
body:not(.theme-light) .topbar          { background: var(--bg); }
body:not(.theme-light) .cta             { background: var(--bg-2); color: var(--ink); }
body:not(.theme-light) .cta-sub         { color: var(--ink-2); }
body:not(.theme-light) footer           { background: var(--bg); }
body:not(.theme-light) .hero-h1 em      { color: var(--accent-2); }
body.theme-light .hero-bg-overlay       { background: linear-gradient(180deg, rgba(245,246,248,0.80) 0%, rgba(245,246,248,0.92) 100%); }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--paper); }

/* ─── Typography helpers ─── */
.serif { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.025em; }
.mono  { font-family: var(--font-mono); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}

/* ─── Layout shell ─── */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ─── Top bar ─── */
.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 30;
}
.topbar-inner {
  display: flex; align-items: center;
  height: 56px; gap: 32px;
}
.brand {
  display: flex; align-items: baseline; gap: 7px;
  font-family: var(--font-serif); font-weight: 700;
  font-size: 24px; letter-spacing: -0.03em;
  color: var(--ink);
}
.brand .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); display: inline-block;
  transform: translateY(-3px);
}
.topnav { display: flex; gap: 22px; }
.topnav a {
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  transition: color 0.12s;
}
.topnav a:hover { color: var(--accent); }
.top-cta {
  margin-left: auto;
  display: flex; align-items: center; gap: 14px;
}
.signin {
  font-size: 13px; color: var(--ink-2); font-weight: 500;
}
.signin:hover { color: var(--accent); }
/* Buttons — 1b Tonal. Ink primary, raised neutral secondary, 6px, 32px, no icons, darken on hover. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 32px; padding: 0 12px; border-radius: 6px;
  font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap;
  background: var(--bg-3); color: var(--ink); border: 1px solid var(--line-strong);
  cursor: pointer; text-decoration: none; transition: background 0.12s, border-color 0.12s;
}
.btn:hover { background: color-mix(in srgb, var(--bg-3) 90%, var(--ink)); color: var(--ink); text-decoration: none; }
.btn:active { background: color-mix(in srgb, var(--bg-3) 84%, var(--ink)); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-accent, .btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-accent:hover, .btn-primary:hover { background: color-mix(in srgb, var(--ink) 84%, var(--bg)); border-color: color-mix(in srgb, var(--ink) 84%, var(--bg)); color: var(--bg); }
.btn-accent:active, .btn-primary:active { background: color-mix(in srgb, var(--ink) 74%, var(--bg)); }
.btn-ghost { background: var(--bg-3); color: var(--ink); border-color: var(--line-strong); }
.btn:disabled, .btn[disabled] { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
/* Panels that invert in Light (.cta): restate the pair against the panel ground */
.cta .btn-accent { background: var(--on-inv); border-color: var(--on-inv); color: var(--on-inv-ground); }
.cta .btn-accent:hover { background: color-mix(in srgb, var(--on-inv) 84%, var(--on-inv-ground)); border-color: color-mix(in srgb, var(--on-inv) 84%, var(--on-inv-ground)); color: var(--on-inv-ground); }
.cta .btn:not(.btn-accent) { background: color-mix(in srgb, var(--on-inv) 8%, transparent); border-color: color-mix(in srgb, var(--on-inv) 24%, transparent); color: var(--on-inv); }
.cta .btn:not(.btn-accent):hover { background: color-mix(in srgb, var(--on-inv) 14%, transparent); }
.mkt-actions .btn, .hero-cta .btn { min-height: 32px; }

/* ─── Hero ─── */
.hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image: url("/hero.jpg"), url("https://images.unsplash.com/photo-1497366216548-37526070297c?w=2000&q=80");
  filter: grayscale(46%); opacity: 0.97;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.3s, filter 0.3s;
  pointer-events: none;
}
.hero-bg-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14,17,20,0.62) 0%, rgba(14,17,20,0.78) 100%);
  pointer-events: none;
  transition: background 0.3s;
}
.hero-meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 0; margin-bottom: 56px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.1em;
}
.hero-meta > div { display: flex; gap: 10px; align-items: center; }
.hero-meta .label { color: var(--ink-2); }
.hero-meta .value { color: var(--ink); }

.hero-h1 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 1.02; letter-spacing: -0.045em;
  color: var(--ink); margin: 0;
}
.hero-h1 em {
  font-style: italic; color: var(--accent);
  font-weight: 400;
}
.hero-h1 .strike { position: relative; display: inline-block; color: var(--ink-3); }
.hero-h1 .strike::after {
  content: ""; position: absolute; left: -3%; right: -3%; top: 53%;
  height: 6px; background: var(--accent);
  transform: rotate(-3deg);
}
.hero-grid {
  display: grid; grid-template-columns: 7fr 4fr;
  gap: 56px; align-items: end; margin-top: 36px;
}
.hero-sub {
  font-size: 17px; color: var(--ink-2);
  line-height: 1.55; max-width: 38ch;
}
.hero-cta { display: flex; gap: 12px; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.hero-aside {
  border-left: 1px solid var(--line-soft);
  padding-left: 24px;
  font-size: 13px; color: var(--ink-2);
}
.hero-aside h4 {
  margin: 0 0 10px; font-size: 11px; font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); font-weight: 500;
}
.hero-aside ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hero-aside li {
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px dashed var(--line-soft); padding-bottom: 8px;
}
.hero-aside li:last-child { border: none; padding-bottom: 0; }
.num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-3); width: 18px; flex-shrink: 0;
}

/* ─── Section header ─── */
.section { border-bottom: 1px solid var(--line); padding: 88px 0; position: relative; }
.section-head {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 32px; align-items: start;
  margin-bottom: 48px;
}
.section-num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-3); padding-top: 6px;
  border-top: 1px solid var(--ink); padding-top: 8px;
  width: 60px;
}
.section-title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.08; letter-spacing: -0.03em;
  margin: 0 0 18px; max-width: 16ch;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-lede {
  font-size: 17px; color: var(--ink-2);
  max-width: 52ch; margin: 0;
}

/* ─── Language toggle ─── */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 600;
  color: var(--ink); letter-spacing: 0.02em;
  transition: background 0.15s, border-color 0.15s;
}
.lang-toggle:hover { background: var(--bg-2); border-color: var(--ink); }
.lang-toggle .lang-on  { color: var(--ink); }
.lang-toggle .lang-off { color: var(--ink-3); }
/* --ink-4 is the non-text step; on the separator it fell to 3.93 in Midnight and
   2.6 in Light. It is a rendered character, so it has to clear AA like any other. */
.lang-toggle .lang-sep { color: var(--ink-3); margin: 0 1px; font-weight: 400; }
body.lang-ar .lang-toggle .lang-on  { color: var(--ink-3); }
body.lang-ar .lang-toggle .lang-off { color: var(--ink); }

/* RTL adjustments — keep latin-feeling editorial structure but mirror flow */
body.lang-ar { font-family: 'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif; }
body.lang-ar .hero-h1,
body.lang-ar .section-title,
body.lang-ar .mkt-h,
body.lang-ar .ops-h,
body.lang-ar .mkt-step h3,
body.lang-ar .mkt-vet-name,
body.lang-ar .faq-q,
body.lang-ar .cta-h,
body.lang-ar .brand {
  font-family: 'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif;
  letter-spacing: 0;
}
body.lang-ar .strike::after { transform: rotate(-2deg); }
body.lang-ar .num { font-feature-settings: "tnum"; }
body.lang-ar em { font-style: normal; color: var(--accent); }


/* ─── Retainr Market (RFPs & projects board) ─── */
.mkt-wrap { border-bottom: 1px solid var(--line); padding: 0 0 88px; background: var(--bg); }
.mkt-how { border-bottom: 1px solid var(--line); padding: 88px 0; background: var(--bg); }
.mkt-board-lead { display: flex; flex-wrap: wrap; gap: 16px; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.mkt-board-lead h2 { font-family: var(--font-serif); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; margin: 0; color: var(--ink); }
.mkt-board-lead p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.mkt-head { display: grid; grid-template-columns: 80px 1fr; gap: 32px; align-items: start; margin-bottom: 40px; }
.mkt-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-2); padding-top: 8px; border-top: 1px solid var(--ink); width: 60px; }
.mkt-h { font-family: var(--font-serif); font-weight: 700; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 18px; max-width: 20ch; }
.mkt-h em { font-style: italic; color: var(--accent); }
.mkt-lede { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 58ch; margin: 0; }

.mkt-board { border: 1px solid var(--line); border-radius: 8px; background: var(--paper); overflow: hidden; }
.mkt-board-top { display: flex; flex-wrap: wrap; gap: 16px; align-items: baseline; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.mkt-live { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.mkt-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success); flex-shrink: 0; }

.mkt-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.mkt-fgroup { display: grid; gap: 10px; align-content: start; }
.mkt-flabel { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.mkt-fopts { display: flex; flex-wrap: wrap; gap: 6px; }
.mkt-filters input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.mkt-fopt { display: inline-flex; align-items: center; min-height: 30px; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); font-family: var(--font-mono); font-size: 12px; cursor: pointer; transition: background 0.12s, color 0.12s, border-color 0.12s; }
.mkt-fopt:hover { border-color: var(--ink-3); color: var(--ink); }
.mkt-filters input:checked + .mkt-fopt { background: var(--accent); color: #fff; border-color: var(--accent); }
body.theme-light .mkt-filters input:checked + .mkt-fopt { color: #fff; }
.mkt-filters input:focus-visible + .mkt-fopt { outline: 2px solid var(--accent); outline-offset: 2px; }

.mkt-grid-head, .mkt-row { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(104px, 0.9fr) 64px 120px; gap: 16px; }
.mkt-grid-head { padding: 12px 24px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); }
.mkt-row { align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line-soft); transition: background 0.14s; }
.mkt-row:hover { background: var(--bg-2); }
.mkt-brief { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink); margin: 0 0 6px; }
.mkt-brief-meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-2); }
.mkt-figure { font-family: var(--font-mono); font-size: 14px; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.mkt-bids { font-family: var(--font-mono); font-size: 14px; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.mkt-status { display: flex; justify-content: flex-end; }
.mkt-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; border: 1px solid currentColor; white-space: nowrap; }
.mkt-chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.mkt-chip-open   { color: var(--ink-2); }
.mkt-chip-bid    { color: var(--accent); }
.mkt-chip-escrow { color: var(--success); }
body:not(.theme-light) .mkt-chip-bid { color: var(--accent-2); }

.mkt-board-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 20px 24px; }
.mkt-foot-note { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.mkt-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.mkt-lower { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 24px; align-items: start; }
/* Same surfaces as the ops sections (.module / .plan): page tokens only. */
.mkt-vet { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: grid; gap: 18px; color: var(--ink); }
.mkt-vet-top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.mkt-vet-badge { color: var(--success); border: 1px solid var(--success); border-radius: 6px; padding: 3px 8px; letter-spacing: 0.06em; }
.mkt-vet-name { font-family: var(--font-serif); font-weight: 600; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.mkt-vet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.mkt-vet-cell { background: var(--bg-2); padding: 14px 16px; }
.mkt-vet-v { font-family: var(--font-mono); font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.mkt-vet-l { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }
.mkt-vet-p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }

.mkt-flow { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.mkt-step { background: var(--bg); padding: 18px 20px; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: start; }
.mkt-step-n { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); padding-top: 3px; }
.mkt-step h3 { font-family: var(--font-serif); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 6px; color: var(--ink); }
.mkt-step p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }

/* Filtering without script: each radio hides the rows it excludes. */
.mkt-board:has(#mk-cat-brand:checked)   .mkt-row:not([data-cat="brand"])   { display: none; }
.mkt-board:has(#mk-cat-media:checked)   .mkt-row:not([data-cat="media"])   { display: none; }
.mkt-board:has(#mk-cat-video:checked)   .mkt-row:not([data-cat="video"])   { display: none; }
.mkt-board:has(#mk-cat-content:checked) .mkt-row:not([data-cat="content"]) { display: none; }
.mkt-board:has(#mk-cat-events:checked)  .mkt-row:not([data-cat="events"])  { display: none; }
.mkt-board:has(#mk-st-open:checked)     .mkt-row:not([data-status="open"])     { display: none; }
.mkt-board:has(#mk-st-bid:checked)      .mkt-row:not([data-status="bidding"])  { display: none; }
.mkt-board:has(#mk-st-escrow:checked)   .mkt-row:not([data-status="escrow"])   { display: none; }
.mkt-board:has(#mk-bd-low:checked)      .mkt-row:not([data-band="low"])   { display: none; }
.mkt-board:has(#mk-bd-mid:checked)      .mkt-row:not([data-band="mid"])   { display: none; }
.mkt-board:has(#mk-bd-high:checked)     .mkt-row:not([data-band="high"])  { display: none; }
.mkt-board:has(#mk-co-kw:checked)       .mkt-row:not([data-country="kw"]) { display: none; }
.mkt-board:has(#mk-co-ae:checked)       .mkt-row:not([data-country="ae"]) { display: none; }
.mkt-board:has(#mk-co-sa:checked)       .mkt-row:not([data-country="sa"]) { display: none; }

@media (max-width: 920px) {
  .mkt-head { grid-template-columns: 1fr; gap: 12px; }
  .mkt-grid-head { display: none; }
  .mkt-row { grid-template-columns: 1fr; gap: 8px; }
  .mkt-figure, .mkt-bids { text-align: left; }
  .mkt-status { justify-content: flex-start; }
}

/* ─── For agencies (compact strip; .ops-* class names kept) ─── */
.ops-strip { border-bottom: 1px solid var(--line); padding: 64px 0; background: var(--bg-2); }
.ops-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.ops-h { font-family: var(--font-serif); font-weight: 600; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.15; letter-spacing: -0.02em; margin: 10px 0 12px; color: var(--ink); max-width: 26ch; text-wrap: pretty; }
.ops-h em { font-style: italic; color: var(--accent-2); }
.ops-lede { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 54ch; }
.ops-link { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.ops-link:hover { border-color: var(--ink); }
.ops-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ops-list li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink); }
.ops-n { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); }
@media (max-width: 920px) { .ops-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ─── FAQ ─── */
.faq-grid { display: grid; grid-template-columns: 320px 1fr; gap: 64px; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  font-family: var(--font-serif); font-size: 20px; font-weight: 600;
  letter-spacing: -0.015em; margin: 0 0 10px;
}
.faq-a { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; margin: 0; max-width: 60ch; }

/* ─── CTA ─── */
.cta {
  background: var(--ink); color: var(--on-inv);
  padding: 100px 0;
  text-align: center;
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.cta-h {
  font-family: var(--font-serif); font-size: clamp(48px, 7vw, 96px); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1.04; margin: 0 auto 32px;
  max-width: 14ch; position: relative;
}
.cta-h em { color: var(--on-inv-accent); font-style: italic; }
.cta-sub { color: var(--ink-4); font-size: 16px; max-width: 46ch; margin: 0 auto 36px; position: relative; }
.cta-row { display: flex; gap: 12px; justify-content: center; position: relative; }

/* ─── Footer ─── */
footer { background: var(--bg); padding: 56px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.foot-brand p { font-size: 13.5px; color: var(--ink-2); max-width: 32ch; margin: 16px 0 0; }
.foot-col h5 {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-3); margin: 0 0 14px; font-weight: 500;
}
.foot-col a { display: block; font-size: 13.5px; color: var(--ink-2); padding: 4px 0; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ─── Responsive ─── */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-aside { border-left: none; padding-left: 0; border-top: 1px solid var(--line-soft); padding-top: 20px; }
  .hero-meta { grid-template-columns: 1fr; gap: 8px; padding: 12px 0; }
  .faq-grid, .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .topnav { display: none; }
}

/* Phones. The page previously stopped adapting at 920px, so at 390px the top bar
   alone measured 419px and pushed the whole document sideways. */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar-inner { gap: 10px; }
  .top-cta { gap: 8px; }
  /* Sign in is still reachable from the board CTA and the footer; the button that
     starts the job is the one worth the width. */
  .signin { display: none; }
  .btn { padding: 0 14px; font-size: 13px; }
  /* Nothing may push the document sideways. */
  body { overflow-x: hidden; }
}
/* Carried over: the CTA arrow, which LegalShell and every button rely on and the
   handoff sheet dropped. Mirrored in landing/index.html's <style>. */
.btn .arrow { transition: transform 0.18s; }
.btn:hover .arrow { transform: translateX(3px); }
body.lang-ar .arrow { display: inline-block; transform: scaleX(-1); }
