/* ==================================================
   پایه‌ی مشترک: رنگ‌ها، فونت و ریست
   پالت از خود لوگوی موج آیس گرفته شده (آبی موج، نارنجی، سفید)
================================================== */

:root {
  --ink: #0d2b45;
  --ink-2: #24506f;
  --sea: #1b7fc4;
  --sea-deep: #145f94;
  --foam: #eaf4fb;
  --paper: #f6f9fc;
  --surface: #ffffff;
  --line: #dde7ef;
  --muted: #5a7185;

  --sun: #f08a1c;
  --sun-deep: #a84d00;
  --sun-soft: #fff0dd;

  --danger: #b3261e;
  --danger-soft: #fdecea;
  --ok: #1e7a4c;
  --ok-soft: #e4f4eb;

  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 20px;

  --font: Vazirmatn, Vazir, Tahoma, "Segoe UI", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

:focus-visible {
  outline: 3px solid rgba(27, 127, 196, 0.5);
  outline-offset: 2px;
}

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

.hidden {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
