/* Landing: trial redesign (navy + gold). Logo untouched: the header
   includes _brand_logo.html as-is; the gold lockup reads on navy. */

/* Served from our own server (static/fonts, SIL Open Font License beside
   them): the security policy blocks fonts.googleapis.com, and loading from
   Google would hand every visitor's IP address to a party the privacy policy
   does not name. One variable file covers every weight. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/Inter-latin-wght.woff2') format('woff2-variations'),
       url('../fonts/Inter-latin-wght.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
                 U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/Inter-latin-ext-wght.woff2') format('woff2-variations'),
       url('../fonts/Inter-latin-ext-wght.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
                 U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/IBMPlexSansArabic-Regular.ttf') format('truetype');
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url('../fonts/IBMPlexSansArabic-Bold.ttf') format('truetype');
}

.lv2 {
  --navy: #1E3242;
  --slate: #3E596C;
  --ink: #15232E;
  --body: #4A5D6B;
  --muted: #5B6F7E;
  --line: #E3E9EE;
  --soft: #F2F5F8;
  --page: #F5F7F9;
  --accent: #F2A93B;
  --on-navy: #C9D6E0;
  --on-navy-dim: #A9BCCB;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
}
.lv2 *, .lv2 *::before, .lv2 *::after { box-sizing: border-box; }
.lv2 a { color: var(--slate); }
.lv2 a:hover { color: var(--navy); }
.lv2 h1, .lv2 h2, .lv2 h3, .lv2 p { margin: 0; }

.lv2-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.lv2-kicker { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.lv2-h2 { font-size: 44px; line-height: 1.08; font-weight: 900; letter-spacing: -.03em; }
.lv2-lead { font-size: 17px; line-height: 1.6; color: var(--body); }

/* Buttons */
.lv2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 12px; font-weight: 800; font-size: 17px; text-decoration: none; }
.lv2 .lv2-btn--gold { background: var(--accent); color: var(--navy); }
.lv2 .lv2-btn--gold:hover { background: #f5b85a; color: var(--navy); }
.lv2 .lv2-btn--ghost { border: 1px solid rgba(255,255,255,.3); color: #fff; font-weight: 600; padding: 0 22px; }
.lv2 .lv2-btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.lv2 .lv2-btn--slate { background: var(--slate); color: #fff; font-weight: 700; min-height: 50px; }
.lv2 .lv2-btn--slate:hover { background: var(--navy); color: #fff; }

/* Header */
.lv2-header { background: var(--navy); color: #fff; }
.lv2-header .lv2-wrap { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.lv2-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lv2 .lv2-nav a { color: var(--on-navy); text-decoration: none; font-size: 15px; padding: 10px 12px; }
.lv2 .lv2-nav a:hover { color: #fff; }
.lv2 .lv2-nav .lv2-signin { color: #fff; font-weight: 600; }
.lv2 .lv2-nav .lv2-cta { background: var(--accent); color: var(--navy); font-weight: 700; padding: 11px 18px; border-radius: 10px; }

/* Hero */
.lv2-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.lv2-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.lv2-ring--a { right: -200px; top: -260px; width: 760px; height: 760px; border: 1px solid rgba(242,169,59,.16); }
.lv2-ring--b { right: -80px; top: -140px; width: 520px; height: 520px; border: 1px solid rgba(242,169,59,.1); }
.lv2-hero .lv2-wrap { padding-top: 72px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; position: relative; }
.lv2-hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.lv2-pill { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(242,169,59,.4); padding: 7px 12px; border-radius: 999px; }
.lv2-hero h1 { font-size: 64px; line-height: 1.02; font-weight: 900; letter-spacing: -.035em; }
.lv2-gold { color: var(--accent); }
.lv2-hero-lead { font-size: 19px; line-height: 1.6; color: var(--on-navy); max-width: 540px; }
.lv2-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.lv2-ticks { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--on-navy-dim); margin-top: 6px; }
.lv2-ticks span { display: flex; align-items: center; gap: 8px; }

/* Product mock */
.lv2-mock { flex: 1 1 440px; min-width: 0; position: relative; }
.lv2-window { background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.35); overflow: hidden; }
.lv2-window-bar { background: var(--slate); padding: 12px 16px; display: flex; align-items: center; gap: 8px; }
.lv2-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); }
.lv2-window-bar span { margin-left: 10px; font-size: 12px; color: #DCE6EE; }
.lv2-window-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.lv2-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lv2-stat { background: var(--soft); border-radius: 12px; padding: 12px; }
.lv2-stat small { display: block; font-size: 12px; color: var(--muted); }
.lv2-stat b { display: block; font-size: 13px; margin-top: 6px; }
.lv2-stat--warn { background: #FFF3DF; }
.lv2-stat--warn small, .lv2-stat--warn b { color: #8A5A0E; }
.lv2-row { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.lv2-row--cert { display: flex; align-items: center; gap: 12px; }
.lv2-row--cert b { font-size: 14px; }
.lv2-bar { height: 6px; border-radius: 999px; background: #E7EDF2; margin-top: 8px; overflow: hidden; }
.lv2-bar i { display: block; width: 80%; height: 100%; background: var(--accent); }
.lv2-row--list { display: flex; flex-direction: column; gap: 10px; }
.lv2-row--list b { font-size: 13px; }
.lv2-line { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: #3A4D5B; }
.lv2-ok { color: #1F7A4A; font-weight: 600; }
.lv2-due { color: #8A5A0E; font-weight: 600; }
.lv2-chip { position: absolute; left: -26px; bottom: -18px; background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 16px 10px 10px; box-shadow: 0 14px 30px rgba(0,0,0,.3); display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.lv2-chip i { width: 28px; height: 28px; border-radius: 50%; background: #E3F4EA; display: flex; align-items: center; justify-content: center; }
.lv2-icon-tile { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; }

/* Industries strip */
.lv2-industries { background: #fff; border-bottom: 1px solid var(--line); }
.lv2-industries .lv2-wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.lv2-industries strong { font-size: 14px; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; }
.lv2-tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #3A4D5B; }
.lv2-tags span { padding: 7px 12px; background: var(--soft); border-radius: 999px; }

/* Before / after */
.lv2-compare .lv2-wrap { padding-top: 96px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.lv2-head { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.lv2-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.lv2-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.lv2-card--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.lv2-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: #3A4D5B; }
.lv2-card--navy .lv2-list { color: #DCE6EE; }
.lv2-no { color: #9A3B2E; }

/* Modules */
.lv2-modules .lv2-wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 40px; }
.lv2-modules-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.lv2-module { padding: 26px; gap: 12px; }
.lv2-module .lv2-icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.lv2-module h3 { font-size: 20px; font-weight: 800; }
.lv2-module p { font-size: 15px; line-height: 1.6; color: var(--body); }
.lv2-module strong { color: var(--ink); }

/* Traceability */
.lv2-trace { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lv2-trace .lv2-wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.lv2-trace-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.lv2-trace-copy h2 { font-size: 40px; line-height: 1.1; font-weight: 900; letter-spacing: -.03em; }
.lv2-steps { flex: 1 1 480px; min-width: 0; }
.lv2-step { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.lv2-step:last-child { border-bottom: 0; }
.lv2-step-no { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--navy); color: var(--accent); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.lv2-step b { display: block; font-size: 18px; font-weight: 800; }
.lv2-step p { font-size: 15px; color: var(--body); margin-top: 4px; line-height: 1.5; }

/* Statement */
.lv2-statement .lv2-wrap { max-width: 1000px; padding-top: 96px; padding-bottom: 96px; text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.lv2-statement .lv2-big { font-size: 40px; line-height: 1.2; font-weight: 900; letter-spacing: -.03em; }
.lv2-statement .lv2-lead { max-width: 640px; }

/* Accounts */
.lv2-accounts { background: #EAF0F5; }
.lv2-accounts .lv2-wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 36px; }
.lv2-account { border-radius: 20px; padding: 30px; gap: 14px; border-color: #D6E0E8; }
.lv2-account h3 { font-size: 26px; font-weight: 900; }
.lv2-account p { font-size: 15px; line-height: 1.6; color: var(--body); flex: 1; }
.lv2-account.lv2-card--navy p { color: var(--on-navy); }
.lv2-account small { font-size: 13px; color: var(--muted); }
.lv2-account.lv2-card--navy small { color: var(--on-navy-dim); }
.lv2-badge { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--navy); padding: 5px 10px; border-radius: 999px; }

/* Final CTA + footer */
.lv2-final { background: var(--navy); color: #fff; }
.lv2-final .lv2-wrap.lv2-final-row { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.lv2-final h2 { font-size: 48px; line-height: 1.05; font-weight: 900; letter-spacing: -.03em; }
.lv2-final p { font-size: 18px; color: var(--on-navy); margin-top: 12px; }
.lv2-foot { border-top: 1px solid rgba(255,255,255,.1); }
.lv2-foot .lv2-wrap { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--on-navy-dim); }
.lv2-foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.lv2 .lv2-foot a { color: var(--on-navy); text-decoration: none; }
.lv2 .lv2-foot a:hover { color: #fff; }

.lv2 a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (max-width: 768px) {
  .lv2-hero .lv2-wrap { padding-top: 40px; padding-bottom: 64px; gap: 40px; }
  .lv2-hero h1 { font-size: 42px; }
  .lv2-hero-lead { font-size: 17px; }
  .lv2-h2, .lv2-final h2 { font-size: 32px; }
  .lv2-trace-copy h2, .lv2-statement .lv2-big { font-size: 28px; }
  .lv2-compare .lv2-wrap { padding-top: 64px; }
  .lv2-modules .lv2-wrap, .lv2-trace .lv2-wrap, .lv2-accounts .lv2-wrap, .lv2-final .lv2-wrap.lv2-final-row { padding-top: 56px; padding-bottom: 56px; }
  .lv2-statement .lv2-wrap { padding-top: 64px; padding-bottom: 64px; }
  .lv2-grid { grid-template-columns: 1fr; }
  .lv2-chip { left: 8px; }
  .lv2-nav { width: 100%; }
}

/* Photos (the platform's own, reused from the current landing) */
.lv2-photo { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px rgba(21,35,46,.14); background: var(--soft); }
.lv2-photo img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.lv2-head--photo { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 40px; }
.lv2-head--photo > .lv2-head { flex: 1 1 420px; }
.lv2-photo--wide { flex: 1 1 440px; min-width: 0; }
.lv2-photo--wide img { aspect-ratio: 16 / 9; }
.lv2-trace-copy .lv2-photo { margin-top: 8px; }
.lv2-trace-copy .lv2-photo img { aspect-ratio: 16 / 8; }

.lv2-statement .lv2-wrap { max-width: 1200px; text-align: start; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 56px; }
.lv2-statement .lv2-photo { flex: 1 1 460px; min-width: 0; }
.lv2-statement-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

.lv2-final-photo { position: relative; overflow: hidden; }
.lv2-final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.lv2-final-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 35%, rgba(30,50,66,.55)); }
.lv2-final-photo .lv2-final-row { position: relative; z-index: 1; }

/* Arabic, right to left (/ar) */
[dir="rtl"] .lv2 { font-family: "IBM Plex Sans Arabic", Inter, system-ui, sans-serif; }
[dir="rtl"] .lv2 h1, [dir="rtl"] .lv2 h2, [dir="rtl"] .lv2 .lv2-big,
[dir="rtl"] .lv2 .lv2-kicker, [dir="rtl"] .lv2 .lv2-pill,
[dir="rtl"] .lv2 .lv2-industries strong { letter-spacing: 0; }
[dir="rtl"] .lv2-hero h1 { line-height: 1.2; font-weight: 700; }
[dir="rtl"] .lv2-h2, [dir="rtl"] .lv2-final h2, [dir="rtl"] .lv2-trace-copy h2, [dir="rtl"] .lv2-big { line-height: 1.3; font-weight: 700; }
[dir="rtl"] .lv2-ring--a { right: auto; left: -200px; }
[dir="rtl"] .lv2-ring--b { right: auto; left: -80px; }
[dir="rtl"] .lv2-arrow { transform: scaleX(-1); }
[dir="rtl"] .lv2-chip { left: auto; right: -26px; padding: 10px 10px 10px 16px; }
[dir="rtl"] .lv2-final-photo::after { background: linear-gradient(270deg, var(--navy) 35%, rgba(30,50,66,.55)); }
@media (max-width: 768px) { [dir="rtl"] .lv2-chip { right: 8px; } }

/* Account doors: three across, never two plus an orphan */
.lv2-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 768px) { .lv2-grid--3 { grid-template-columns: 1fr; } }

/* Menu button: the nav folds behind it under 768px */
.lv2-menu-btn { display: none; background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.lv2-menu-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 768px) {
  .lv2-header .lv2-wrap { flex-wrap: wrap; }
  .lv2-menu-btn { display: inline-flex; }
  .lv2-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.1); }
  .lv2-nav.is-open { display: flex; }
  .lv2 .lv2-nav a { padding: 12px 4px; }
  .lv2 .lv2-nav .lv2-cta { text-align: center; margin-top: 6px; padding: 13px 18px; }
}
@media (min-width: 769px) and (max-width: 1080px) {
  .lv2-grid--3 { gap: 14px; }
  .lv2-account { padding: 22px; }
  .lv2-account h3 { font-size: 21px; line-height: 1.25; }
  .lv2-account .lv2-btn { font-size: 15px; padding: 0 12px; text-align: center; }
}
