/* thesupremechallenge.app — the app's own identity (app/src/theme/index.ts): El Messiri for titles, Cairo for text,
   paper, lapis and brass; the fonts are served from this site, so no visitor's browser contacts a third party. */
@font-face { font-family: 'Messiri'; font-weight: 600; font-display: swap; src: url('/fonts/ElMessiri_600SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Messiri'; font-weight: 700; font-display: swap; src: url('/fonts/ElMessiri_700Bold.ttf') format('truetype'); }
@font-face { font-family: 'Cairo'; font-weight: 400; font-display: swap; src: url('/fonts/Cairo_400Regular.ttf') format('truetype'); }
@font-face { font-family: 'Cairo'; font-weight: 600; font-display: swap; src: url('/fonts/Cairo_600SemiBold.ttf') format('truetype'); }

:root {
  --paper: #F6F3EB; --surface: #FFFFFF; --ink: #1D1F26; --muted: #4A4D57; --faint: #7C8190;
  --lapis: #2B4674; --lapis-soft: #E4E9F2; --brass: #9C7B3C; --brass-soft: #F2EAD9; --rule: #E3DDCF;
  --display: 'Messiri', 'Cairo', Georgia, serif; --body: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #141B29; --surface: #1B2436; --ink: #EEF0F4; --muted: #B7BECB; --faint: #8A92A3;
    --lapis: #9DB4DE; --lapis-soft: #233152; --brass: #D2AE6C; --brass-soft: #3A3121; --rule: #2C3850;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.85; padding-inline: 20px; }
.page { max-width: 760px; margin: 0 auto; padding-block: 40px 64px; }
a { color: var(--lapis); }
a:focus-visible { outline: 2px solid var(--lapis); outline-offset: 3px; border-radius: 4px; }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand span { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--brass); line-height: 1; }
.bar nav { display: flex; gap: 18px; font-size: 15px; }
.bar nav a { color: var(--muted); text-decoration: none; }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--lapis); }

h1 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 7vw, 54px); line-height: 1.35; margin: 0 0 10px; text-wrap: balance; }
h2 { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.4; margin: 40px 0 8px; text-wrap: balance; }
h3 { font-size: 18px; font-weight: 600; margin: 26px 0 4px; color: var(--lapis); }
p { margin: 0 0 14px; }
.lead { font-size: 21px; color: var(--muted); max-width: 34em; }
.rule { width: 96px; height: 3px; border-radius: 2px; background: var(--brass); margin: 28px 0; }
.muted { color: var(--faint); font-size: 15px; }

.hero { padding-block: 24px 8px; }
.hero .mark { margin-bottom: 18px; }
.ideas { display: grid; gap: 18px; margin: 12px 0 8px; padding: 0; list-style: none; }
.ideas li { background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; padding: 16px 20px; }
.ideas b { display: block; font-family: var(--display); font-size: 20px; color: var(--lapis); margin-bottom: 2px; }
blockquote { margin: 28px 0; padding: 0 20px; border-inline-start: 3px solid var(--brass); font-family: var(--display); font-size: 21px; line-height: 1.7; }
blockquote cite { display: block; font-family: var(--body); font-style: normal; font-size: 14px; color: var(--faint); margin-top: 6px; }
.soon { display: inline-block; margin-top: 8px; padding: 8px 20px; border-radius: 999px; background: var(--lapis-soft); color: var(--lapis); font-weight: 600; font-size: 16px; }

.policy section { border-top: 1px solid var(--rule); padding-top: 4px; }
.short { background: var(--brass-soft); border-radius: 16px; padding: 14px 20px; margin: 18px 0 8px; }
.email { font-family: ui-monospace, Consolas, monospace; direction: ltr; unicode-bidi: isolate; background: var(--lapis-soft); padding: 2px 8px; border-radius: 6px; font-size: 16px; }
.blank { background: #F6E3C8; color: #7A4B12; padding: 0 6px; border-radius: 4px; }
.draft { background: #F6E3C8; color: #7A4B12; border-radius: 12px; padding: 10px 16px; font-size: 15px; margin-bottom: 24px; }
[lang="en"] { direction: ltr; }
.en { margin-top: 56px; padding-top: 8px; border-top: 2px solid var(--rule); }

footer { margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--faint); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
footer a { color: var(--faint); }
.levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 0 12px; }
@media (max-width: 420px) { .levels { grid-template-columns: 1fr; } }
.levels span { background: var(--paper); border-radius: 12px; padding: 6px 12px; display: flex; justify-content: space-between; gap: 10px; font-size: 16px; }
.levels i { font-style: normal; font-weight: 600; color: var(--lapis); }
