/* TrustVerify UAE holding page
   Brand colours from the live site and frontend tailwind tokens:
   navy #0B3A78, green #27AE60, forest #003D2B, heading #101010, body #707070, brand-50 #f0f4fa.
   Inter is self-hosted (same family as trustverify.co.uk).
   Noto Sans Arabic is self-hosted (OFL). No third-party font requests.
*/

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Arabic";
  src: url("fonts/noto-sans-arabic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0B3A78;
  --navy-deep: #07274f;
  --green: #27AE60;
  --forest: #003D2B;
  --heading: #101010;
  --body: #5c5c5c;
  --muted: #6b6b6b;
  --line: #d6e0f0;
  --paper: #f6f8fb;
  --white: #ffffff;
  --link: #0B3A78;
  --focus: #27AE60;
}

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

html {
  height: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--body);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang="ar"] body {
  font-family: "Noto Sans Arabic", "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.85;
}

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

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy-deep);
}

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

.wrap {
  width: min(720px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap-wide {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  padding: 1.5rem 0 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  height: 36px;
  width: auto;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.lang-switch button {
  appearance: none;
  background: none;
  border: 0;
  margin: 0;
  padding: 0.35rem 0.5rem;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  border-radius: 4px;
}

.lang-switch button[aria-pressed="true"] {
  color: var(--navy);
}

.lang-switch .sep {
  color: var(--line);
  user-select: none;
}

main {
  flex: 1 0 auto;
  padding: 4.25rem 0 3.5rem;
}

.kicker {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html[lang="ar"] .kicker {
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 600;
  font-size: 0.9rem;
}

h1 {
  margin: 0 0 1.25rem;
  color: var(--heading);
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 14ch;
}

html[lang="ar"] h1 {
  letter-spacing: 0;
  font-weight: 700;
  line-height: 1.4;
  max-width: none;
}

.lede {
  margin: 0 0 2.25rem;
  max-width: 38em;
  font-size: 1.125rem;
  color: var(--body);
}

html[lang="ar"] .lede {
  font-size: 1.2rem;
}

.actions {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.actions li {
  margin: 0;
}

.actions span {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--muted);
  font-size: 0.875rem;
}

html[lang="ar"] .actions span {
  font-size: 0.95rem;
}

.actions a {
  font-weight: 550;
}

.site-footer {
  flex: 0 0 auto;
  padding: 1.35rem 0 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 480px) {
  .wrap,
  .wrap-wide {
    width: min(1080px, calc(100% - 2rem));
  }

  .wrap {
    width: min(720px, calc(100% - 2rem));
  }

  .logo img {
    height: 30px;
  }

  main {
    padding: 3rem 0 2.75rem;
  }

  .lede {
    font-size: 1.0625rem;
  }

  html[lang="ar"] h1 {
    font-size: 1.65rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  a {
    transition: color 0.15s ease;
  }
}
