/* Haqqi holding page (S1-D2). Brand colours from AGENTS.md section 4. */

/* Self-hosted fonts (SIL Open Font License 1.1, licences in /fonts), from Fontsource 5.3.0.
   unicode-range keeps each file to its script: Arabic letters use Noto Sans Arabic, Latin uses
   Manrope. No request leaves this site. */
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/noto-sans-arabic-arabic-400-normal.woff2') format('woff2');
  unicode-range:
    U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E,
    U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/noto-sans-arabic-arabic-700-normal.woff2') format('woff2');
  unicode-range:
    U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E,
    U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/manrope-latin-400-normal.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: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/manrope-latin-700-normal.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;
}

:root {
  --aubergine: #510449;
  --gold: #c4932d;
  --ivory: #faf7f2;
  --deep: #281228;
  --mist: #eee4e9;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--ivory);
  color: var(--deep);
  font-family: 'Noto Sans Arabic', 'Manrope', system-ui, 'Segoe UI', Tahoma, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 1rem;
  text-align: center;
}

.logo {
  width: 140px;
  height: auto;
}

h1 {
  margin: 0.5rem 0 0;
  color: var(--aubergine);
  font-size: 2.25rem;
  font-weight: 700;
}

p {
  margin: 0;
  max-width: 32rem;
}

.switch {
  margin-top: 1rem;
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--gold);
  border-radius: 999px;
  color: var(--aubergine);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.switch:hover {
  background: var(--mist);
}

/* Visible keyboard focus (WCAG 2.2 AA): aubergine ring outside the gold border. */
.switch:focus-visible,
.home:focus-visible {
  background: var(--mist);
  outline: 3px solid var(--aubergine);
  outline-offset: 3px;
}

.home {
  color: var(--aubergine);
  font-weight: 700;
}

footer {
  padding: 1.5rem 1rem;
  border-top: 1px solid var(--mist);
  font-size: 14px;
  text-align: center;
}

h1 .line {
  display: block;
}
