:root {
  color-scheme: dark;
  --background: #15120d;
  --surface: #262118;
  --line: #564927;
  --text: #fefcf6;
  --muted: #d8d0b6;
  --accent: #f8e29b;
  font: 16px/1.6 "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(ellipse at 50% 0%, #4c4029, transparent 65%) var(--background);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #faedc1; outline-offset: 4px; }
.shell { width: min(100% - 2rem, 50rem); margin-inline: auto; padding-block: clamp(1.25rem, 6vw, 4rem); }
header, footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem .25rem 1rem; }
header a, footer a { color: var(--muted); }
header a:hover, footer a:hover { color: var(--text); text-decoration: underline; }
.brand { font-size: 1.4rem; white-space: nowrap; }
.brand span { color: var(--accent); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 1.5rem; padding: clamp(1rem, 5vw, 2.75rem); box-shadow: 0 1.5rem 5rem #0005; }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; padding: 0; margin: 0 0 2rem; list-style: none; text-align: center; }
.progress li { color: var(--muted); border-block-start: 3px solid var(--line); padding-block-start: .4rem; font-size: .85rem; }
.progress li[aria-current] { color: var(--text); border-color: var(--accent); font-weight: bold; }
h1 { font-size: clamp(1.65rem, 5vw, 2.5rem); line-height: 1.25; margin: 0 0 .65rem; }
p { color: var(--muted); margin: 0 0 1.25rem; }
