/* SOFT SPA: tokens. Every colour below is the hue of the logo wordmark (#5F6D5C, hsl 109 9% 39%) in lighter and
   darker steps; nothing here comes from outside the logo. */
:root {
  --sage-950: #1d241c;
  --sage-900: #2a3329;
  --sage-800: #3a4638;
  --sage-700: #4a5948;
  --sage-600: #5f6d5c;
  --sage-500: #7a8877;
  --sage-400: #9aa697;
  --sage-300: #bcc5b9;
  --sage-200: #d6dcd3;
  --sage-100: #e8ebe5;
  --sage-50: #f5f6f2;
  --paper: #fafbf8;
  --ink: #1d241c;
  --ink-soft: #46523f;
  --line: #d6dcd3;
  --brand: #5f6d5c;
  --background: #f5f6f2;
  --font-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", "Noto Naskh Arabic", "IBM Plex Sans Arabic", serif;
  --font-family: var(--font-body);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dir: 1;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 4.5rem;
  --shadow-soft: 0 1px 2px rgb(29 36 28 / 0.06), 0 8px 24px -8px rgb(29 36 28 / 0.14);
}
[dir="rtl"] { --dir: -1; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-block-start: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
::selection { background: var(--sage-600); color: #fff; }
:focus-visible { outline: 2px solid var(--sage-700); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: var(--sage-400) var(--sage-100); }
.skip { position: absolute; inset-inline-start: 1rem; inset-block-start: -4rem; z-index: 100; padding: 0.6rem 1rem; background: var(--sage-900); color: #fff; border-radius: 0.5rem; }
.skip:focus { inset-block-start: 1rem; }
.container { width: min(100% - 2 * var(--gutter), 74rem); margin-inline: auto; }
.center { text-align: center; }
.stack > * + * { margin-block-start: 1rem; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.riyal { width: 0.9em; height: 0.9em; vertical-align: -0.1em; margin-inline-start: 0.2em; }
.num { font-variant-numeric: lining-nums tabular-nums; }

/* buttons */
.button, .button-quiet {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.55rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 500; font-size: 0.95rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.button { background: var(--sage-600); color: #fff; }
.button:active, .button-quiet:active { transform: scale(0.97); }
.button-quiet { background: transparent; color: var(--sage-800); border-color: var(--sage-400); }
.button--light { background: #fff; color: var(--sage-900); }
.button-quiet--light { color: #fff; border-color: rgb(255 255 255 / 0.55); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--sage-700); }
  .button--light:hover { background: var(--sage-100); }
  .button-quiet:hover { background: var(--sage-100); border-color: var(--sage-600); }
  .button-quiet--light:hover { background: rgb(255 255 255 / 0.12); border-color: #fff; }
}
.button svg, .button-quiet svg { width: 1.1em; height: 1.1em; flex: none; }
