/* metco.sa — portals landing page. Same colours and fonts as the supplier portal. All files are local (no CDN). */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-display: swap; src: url("fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 700; font-display: swap; src: url("fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2"); }

:root {
  --navy: #071d34; --brand: #022f63; --brand-hover: #0b3f7c;
  --teal: #078a8b; --teal-soft: #e3f3f3; --amber: #93560a; --amber-soft: #fdf3e2; --amber-line: #f1d9b0;
  --canvas: #f5f7fa; --ink: #142a40; --ink-2: #4a5d70; --ink-3: #5f6f80; --line: #dce3eb; --muted-bg: #eef2f6;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif; color: var(--ink); background: var(--canvas); }
html[lang="ar"] body { font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif; }
a { color: var(--brand); }
a:hover { color: var(--brand-hover); }
a:focus-visible, .btn:focus-visible { outline: 3px solid #8fd3d3; outline-offset: 3px; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 32px; }

.top { background: var(--navy); color: #fff; }
.top .wrap { padding-block: 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.logo { height: 56px; width: auto; display: block; }
.lang { color: #fff; text-decoration: none; font-size: 16px; font-weight: 500; padding: 10px 18px; min-height: 44px;
  display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,0.35); border-radius: 8px; }
.lang:hover { color: #fff; background: rgba(255,255,255,0.14); }
.lang-en { font-family: "IBM Plex Sans", system-ui, sans-serif; }
.lang-ar { font-family: "IBM Plex Sans Arabic", system-ui, sans-serif; }

.hero { background: var(--navy); color: #fff; border-top: 1px solid rgba(255,255,255,0.08); }
.hero .wrap { padding-top: 72px; padding-bottom: 140px; display: flex; flex-direction: column; gap: 18px; }
.eyebrow { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #8fd3d3; }
html[lang="ar"] .eyebrow { font-size: 16px; letter-spacing: 0; text-transform: none; }
.hero h1 { margin: 0; font-size: 52px; line-height: 1.1; font-weight: 700; max-width: 760px; }
html[lang="ar"] .hero h1 { line-height: 1.25; }
.lead { margin: 0; font-size: 19px; line-height: 1.6; color: #c9d6e3; max-width: 680px; }
html[lang="ar"] .lead { font-size: 20px; line-height: 1.8; }

main { flex: 1; width: 100%; max-width: 1200px; margin: -92px auto 0; padding: 0 32px 72px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 40px; display: flex; flex-direction: column; gap: 20px;
  box-shadow: 0 12px 32px rgba(7,29,52,0.08); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.icon-teal { background: var(--teal-soft); color: var(--teal); }
.icon-amber { background: var(--amber-soft); color: var(--amber); }
.badge { font-size: 14px; font-weight: 600; color: var(--amber); background: var(--amber-soft); border: 1px solid var(--amber-line); padding: 6px 12px; border-radius: 999px; }
html[lang="ar"] .badge { font-size: 15px; }
.card h2 { margin: 0 0 10px; font-size: 28px; font-weight: 700; color: var(--navy); }
.card p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
html[lang="ar"] .card p { font-size: 18px; line-height: 1.8; }
.points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
html[lang="ar"] .points { font-size: 17px; }
.points li { display: flex; gap: 10px; align-items: center; }
.tick-teal { color: var(--teal); flex: none; }
.tick-amber { color: var(--amber); flex: none; }
.card-foot { margin-top: auto; padding-top: 8px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; padding: 14px 24px; border-radius: 10px; min-height: 48px; text-decoration: none; }
html[lang="ar"] .btn { font-size: 18px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-off { background: var(--muted-bg); color: var(--ink-3); }
.address { margin: 12px 0 0 !important; font-size: 14px !important; color: var(--ink-3) !important; }
html[lang="ar"] .address { text-align: right; }

.foot { background: #fff; border-top: 1px solid var(--line); }
.foot .wrap { padding-block: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; font-size: 15px; color: var(--ink-2); }
html[lang="ar"] .foot .wrap { font-size: 16px; }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .wrap { padding-inline: 20px; }
  .logo { height: 44px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 120px; }
  .hero h1 { font-size: 38px; }
  main { padding: 0 20px 48px; }
  .card { padding: 28px 24px; }
}
