/* 02. Reset and Base */

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 14px;
  overflow-x: clip;
  direction: rtl;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 14px;
  direction: rtl;
}

button {
  font: inherit;
  cursor: pointer;
}

input {
  font: inherit;
}

select {
  font: inherit;
}

textarea {
  font: inherit;
}

button:disabled {
  opacity: .48;
  cursor: not-allowed;
}

summary {
  cursor: pointer;
  padding: var(--space-3);
  color: var(--gold);
}

details {
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 10px 0;
}

details>div {
  padding: var(--space-3);
}

input:disabled {
  opacity: .48;
  cursor: not-allowed;
}

select:disabled {
  opacity: .48;
  cursor: not-allowed;
}

textarea:disabled {
  opacity: .48;
  cursor: not-allowed;
}


/* 03. Typography */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-stretch: normal;
}

.content p, .subtitle, .helptext, .help-text, .prose {
  font-family: var(--font-body);
  line-height: 1.8;
}

table, .exact-number {
  font-variant-numeric: tabular-nums;
}

h1 {
  font-size: 24px;
  margin: 0 0 7px;
}

.subtitle {
  line-height: 1.8;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

h2 {
  font-size: 17px;
  margin: 22px 0 var(--space-3);
}

h3 {
  font-size: 15px;
}


