/* nuqd.org landing page. Monochrome (graphite + white), one champagne accent.
   Colours follow the wallet tokens (WALLET/app/apps/mobile/theme/tokens.ts). No web fonts, no scripts. */

:root {
  --bg: #060708;
  --bg-raised: #0b0c0f;
  --surface: #111317;
  --surface-2: #181b20;
  --border: #22262d;
  --border-strong: #2d323b;
  --text: #f5f6f8;
  --muted: #b4b9c2; /* 9.9:1 on --bg, 8.6:1 on --surface */
  --accent: #e6c68a; /* 11.6:1 on --bg */
  --accent-ink: #1b1507;
  --radius: 20px;
  --max: 68rem;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans Arabic", "Segoe UI", "SF Arabic", "Geeza Pro", "Noto Sans Arabic", Tahoma, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.8;
}

html[lang="en"] body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
}

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

a { color: var(--text); text-underline-offset: 0.2em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 1.25rem; }

.skip {
  position: absolute; inset-inline-start: 1rem; top: -4rem;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.75rem 1rem; border-radius: 10px; font-weight: 700; z-index: 10;
}
.skip:focus { top: 1rem; }

/* Status bar: first thing on the page, never hidden. */
.status {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-strong);
  font-size: 0.95rem;
}
.status p { margin: 0; padding-block: 0.7rem; display: flex; gap: 0.6rem; align-items: baseline; }
.status strong { color: var(--accent); white-space: nowrap; }

/* Header */
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; min-height: 48px; }
.brand img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 0 0 1px var(--border-strong); }
.brand span { display: inline-flex; align-items: baseline; gap: 0.5rem; font-size: 1.35rem; font-weight: 700; letter-spacing: 0.01em; }
.brand small { font-size: 0.8rem; color: var(--muted); font-weight: 500; letter-spacing: 0.12em; }
.brand small:lang(ar) { font-size: 1rem; letter-spacing: 0; }

.lang {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; min-width: 48px; padding-inline: 1rem;
  border: 1px solid var(--border-strong); border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.lang:hover { border-color: var(--muted); }

/* Hero */
.hero { padding-block: 3rem 3.5rem; }
.hero h1 {
  font-size: clamp(2.1rem, 7vw, 3.6rem);
  line-height: 1.25; margin: 0 0 1.25rem; font-weight: 700; max-width: 18ch;
}
html[lang="en"] .hero h1 { line-height: 1.12; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: clamp(1.1rem, 2.6vw, 1.3rem); color: var(--muted); max-width: 40rem; margin: 0 0 2rem; }

.cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 52px; padding: 0.75rem 1.4rem;
  background: var(--text); color: #07080a; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.cta:hover { background: #d9dce1; }
.cta-note { display: block; margin-top: 0.9rem; font-size: 0.95rem; color: var(--muted); }

/* Sections */
section { padding-block: 3rem; border-top: 1px solid var(--border); }
section h2 { font-size: clamp(1.5rem, 4.2vw, 2.1rem); line-height: 1.35; margin: 0 0 0.6rem; }
.section-intro { color: var(--muted); margin: 0 0 2rem; max-width: 42rem; }

.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.5rem;
}
.card h3 { font-size: 1.2rem; line-height: 1.45; margin: 0 0 0.5rem; }
.card p { margin: 0; color: var(--muted); }

.num {
  display: inline-grid; place-items: center;
  width: 2.25rem; height: 2.25rem; margin-bottom: 0.9rem;
  border-radius: 50%; border: 1px solid var(--border-strong);
  font-weight: 700; font-size: 0.95rem;
}

/* Services */
.service { display: flex; flex-direction: column; gap: 0.5rem; }
.service .tag {
  align-self: flex-start;
  font-size: 0.8rem; font-weight: 600; color: var(--accent);
  border: 1px solid #4a3f2b; border-radius: 999px; padding: 0.1rem 0.7rem;
}
.service .for { font-size: 0.95rem; color: var(--text); font-weight: 600; margin: 0; }
.service-wide { grid-column: 1 / -1; }

/* Honest notes */
.honest { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.honest li {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 1rem 1.2rem; border-inline-start: 3px solid var(--accent);
}
.honest strong { display: block; margin-bottom: 0.15rem; }
.honest span { color: var(--muted); }

/* Contact */
.contact-box {
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; display: grid; gap: 1rem; justify-items: start;
}
.contact-box p { margin: 0; color: var(--muted); }
.ig { direction: ltr; unicode-bidi: isolate; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding-block: 2rem 3rem; color: var(--muted); font-size: 0.92rem; }
.site-footer p { margin: 0.25rem 0; }
.site-footer a { display: inline-flex; align-items: center; min-height: 48px; }

@media (min-width: 720px) {
  .hero { padding-block: 5rem 5rem; }
  section { padding-block: 4.5rem; }
  .card { padding: 1.75rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .cta, .lang { transition: background-color 160ms ease, border-color 160ms ease; }
}

@media (forced-colors: active) {
  .card, .honest li, .contact-box, .lang, .cta { border: 1px solid CanvasText; }
}

/* 404 page */
.nf-logo { border-radius: 14px; margin-bottom: 1.5rem; }
.nf-en { margin-top: 2.5rem; }
