@tailwind base;
@tailwind components;
@tailwind utilities;

/* Raleway — self-hosted (latin + cyrillic), без Google CDN */
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/raleway-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/raleway-400-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/fonts/raleway-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/fonts/raleway-600-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("/fonts/raleway-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("/fonts/raleway-800-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

html { scroll-behavior: smooth; }
body { font-family: "Raleway", system-ui, sans-serif; }

.card-hover { transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 14px 34px -14px rgba(22,163,74,.35); border-color: #16a34a; }

details.qa summary { list-style: none; cursor: pointer; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa[open] .chev { transform: rotate(45deg); }
