@import url("./section-spacing.css?v=20260811-1");
@import url("./page-animations.css?v=20260811-1");

@font-face {
  font-family: "Vazirmatn";
  src:
    local("Vazirmatn Regular"),
    url("../fonts/Vazirmatn-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Vazirmatn";
  src:
    local("Vazirmatn Medium"),
    url("../fonts/Vazirmatn-Medium.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Vazirmatn";
  src:
    local("Vazirmatn SemiBold"),
    url("../fonts/Vazirmatn-SemiBold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Vazirmatn";
  src:
    local("Vazirmatn Bold"),
    url("../fonts/Vazirmatn-Bold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--color-champagne) var(--color-surface-muted);
  scrollbar-width: thin;
}

@supports selector(::-webkit-scrollbar) {
  *::-webkit-scrollbar { width: 0.62rem; height: 0.62rem; }
  *::-webkit-scrollbar-track { background: var(--color-surface-muted); }
  *::-webkit-scrollbar-thumb {
    border: 2px solid var(--color-surface-muted);
    border-radius: var(--radius-pill);
    background: linear-gradient(var(--color-champagne), var(--color-brand));
  }
  *::-webkit-scrollbar-thumb:hover { background: var(--color-brand); }
  *::-webkit-scrollbar-thumb:active { background: var(--color-charcoal); }
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background: var(--color-ivory);
  color: var(--color-charcoal);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
  overscroll-behavior: none;
}

img,
picture,
svg,
canvas,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button {
  border: 0;
}

textarea {
  min-height: 7.5rem;
  resize: vertical;
}

a {
  color: var(--color-brand);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-brand-strong);
}

:where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote) {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--color-charcoal);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--leading-tight);
  text-wrap: balance;
}

h1 {
  font-size: var(--text-3xl);
}

h2 {
  font-size: var(--text-2xl);
}

h3 {
  font-size: var(--text-xl);
}

h4 {
  font-size: var(--text-lg);
}

p {
  text-wrap: pretty;
}

ul,
ol,
menu {
  padding-inline-start: 0;
  list-style: none;
}

li {
  list-style: none;
}

hr {
  border: 0;
  border-block-start: 1px solid var(--color-border);
}

table {
  border-collapse: collapse;
  width: 100%;
}

th {
  text-align: start;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
  font-weight: 700;
}

dialog {
  color: inherit;
}

[hidden] {
  display: none !important;
}

[aria-disabled="true"],
:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

:focus-visible {
  outline: 3px solid var(--color-champagne-strong);
  outline-offset: 3px;
}

::selection {
  background: var(--color-brand);
  color: #fff;
}

::placeholder {
  color: #928984;
  opacity: 1;
}

.skip-link {
  position: fixed;
  inset-block-start: var(--space-3);
  inset-inline-start: var(--space-3);
  z-index: calc(var(--z-toast) + 1);
  translate: 0 -180%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--color-charcoal);
  color: #fff;
  transition: translate var(--duration-fast) var(--ease-standard);
}

.skip-link:focus {
  translate: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

.text-brand {
  color: var(--color-brand);
}

.text-gold {
  color: var(--color-champagne-strong);
}

.numeric {
  direction: ltr;
  font-variant-numeric: tabular-nums;
  unicode-bidi: isolate;
}

.no-wrap {
  white-space: nowrap;
}

noscript {
  display: block;
  padding: var(--space-3) var(--space-4);
  background: var(--color-warning-soft);
  color: #68430d;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --color-border: #817772;
    --color-warm-gray: #514a47;
    --shadow-focus: 0 0 0 4px rgb(var(--color-brand-rgb) / 0.35);
  }
}
