/* ===== Сброс и глобальные стили ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1E293B;
    background-color: #F8FAFC;
}

/* Контейнер */
.header__container,
.footer__container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===== Хедер ===== */
.header {
    background: #FFFFFF;
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #3B82F6;
}

.header__nav ul {
    display: flex;
    gap: 1.2rem;
    list-style: none;
}

.header__link {
    text-decoration: none;
    color: #1E293B;
    transition: color 0.3s;
}

.header__link:hover {
    color: #F97316;
}

/* ===== Футер ===== */
.footer {
    background: #FFFFFF;
    padding: 2rem 0;
    border-top: 1px solid #E2E8F0;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.footer__logo {
    font-weight: 700;
    font-size: 1.4rem;
    color: #3B82F6;
}

.footer__menu,
.footer__legal,
.footer__contacts {
    list-style: none;
}

.footer__menu li,
.footer__legal li,
.footer__contacts li {
    margin-bottom: 0.5rem;
}

.footer__menu a,
.footer__legal a {
    text-decoration: none;
    color: #1E293B;
    transition: color 0.3s;
}

.footer__menu a:hover,
.footer__legal a:hover {
    color: #F97316;
}

.footer__contacts i {
    margin-right: 8px;
    vertical-align: middle;
    color: #3B82F6;
}

/* ===== Адаптивність ===== */
@media (max-width: 768px) {
    .header__nav ul {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  overflow: clip;
  background: radial-gradient(1200px 600px at 70% 20%, rgba(59,130,246,0.10), transparent 60%),
              radial-gradient(900px 500px at 20% 80%, rgba(249,115,22,0.10), transparent 60%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248,250,252,0.4) 0%, rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(2px);
  z-index: 1;
  pointer-events: none;
}

.hero__container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1200px;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__container {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
  }
}

.hero__content { max-width: 720px; }

.hero__title {
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.hero__title-accent {
  display: block;
  font-weight: 600;
  color: #3B82F6;
}

.hero__subtitle {
  margin-top: 1rem;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  color: #334155;
}

.hero__ctas {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.1rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  border: 1px solid transparent;
  will-change: transform;
}

.btn--primary {
  background: #3B82F6;
  color: #fff;
  box-shadow: 0 10px 24px rgba(59,130,246,.25);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(59,130,246,.30); }

.btn--ghost {
  background: rgba(59,130,246,0.06);
  color: #1E293B;
  border-color: rgba(59,130,246,0.25);
}
.btn--ghost:hover { background: rgba(59,130,246,0.12); transform: translateY(-1px); }

/* Badges */
.hero__badges {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem .8rem;
  list-style: none;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #E2E8F0;
  font-size: .9rem;
  color: #0f172a;
  box-shadow: 0 3px 10px rgba(2,6,23,.06);
}
.hero__badge i { width: 18px; height: 18px; color: #3B82F6; }

/* Cards */
.hero__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) {
  .hero__cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hero-card {
  background: #ffffffcc;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
  transform: translateZ(0);
  transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform;
  perspective: 1000px;
}
.hero-card:hover { transform: translateY(-4px) rotateX(1.2deg) rotateY(-1.2deg); box-shadow: 0 16px 40px rgba(15,23,42,.12); }

.hero-card__img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  background: #f1f5f9;
}

.hero-card__body { padding: .9rem 1rem 1rem; }
.hero-card__title {
  display: flex; align-items: center; gap: .5rem;
  font-weight: 600; color: #0f172a; margin-bottom: .35rem;
}
.hero-card__title i { width: 18px; height: 18px; color: #F97316; }
.hero-card__text { color: #475569; font-size: .95rem; }

/* Accessibility preference */
@media (prefers-reduced-motion: reduce) {
  .btn, .hero-card { transition: none !important; }
}


/* ===== Tips (Guides & Prompts) ===== */
.tips { padding: 3rem 0 2.5rem; }
.tips__container { width: 90%; max-width: 1200px; margin: 0 auto; }

.tips__header { margin-bottom: 1rem; }
.tips__title {
  display: flex; align-items: center; gap: .6rem;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; color: #0f172a;
}
.tips__title i { width: 22px; height: 22px; color: #3B82F6; }
.tips__desc { color: #475569; margin-top: .25rem; }

.tips__filters {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 1rem 0 1.25rem;
}
.tips__filter {
  appearance: none; border: 1px solid #E2E8F0; background: #fff; color: #0f172a;
  padding: .5rem .75rem; border-radius: 999px; cursor: pointer; font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.tips__filter:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(2,6,23,.08); }
.tips__filter--active { background: rgba(59,130,246,.10); border-color: rgba(59,130,246,.35); }

.tips__grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .tips__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1120px) {
  .tips__grid { grid-template-columns: repeat(3, 1fr); }
}

.tip-card {
  background: #ffffffcc;
  border: 1px solid #E2E8F0;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(2,6,23,.06);
  display: flex; flex-direction: column; gap: .6rem;
  padding: .9rem .95rem 1rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tip-card:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(2,6,23,.12); border-color: #cbd5e1; }

.tip-card__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.tip-card__title { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: #0f172a; }
.tip-card__title i { width: 18px; height: 18px; color: #F97316; }
.tip-card__copy {
  border: 1px solid #E2E8F0; background: #fff; border-radius: 10px; padding: .45rem;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.tip-card__copy i { width: 18px; height: 18px; color: #334155; }
.tip-card__copy:hover { transform: translateY(-1px); background: #f8fafc; box-shadow: 0 8px 18px rgba(2,6,23,.08); }

.tip-card__hint { color: #475569; font-size: .95rem; }
.tip-card__code {
  background: #0b1220; color: #e2e8f0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  padding: .8rem .9rem; border-radius: 12px; overflow: auto; line-height: 1.5; font-size: .92rem;
  box-shadow: inset 0 0 0 1px rgba(148,163,184,.18);
}

.tip-card__actions { margin-top: .2rem; }
.tip-card__actions .btn.btn--ghost { padding: .6rem .8rem; font-weight: 600; }

.tips__toast {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  background: #111827; color: #fff; padding: .6rem .9rem; border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25); font-weight: 600; opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}
.tips__toast--show { opacity: 1; transform: translateX(-50%) translateY(-6px); }

/* ===== Scenarios (Daily Use) ===== */
.scenarios { padding: 3rem 0 2.5rem; }
.scenarios__container { width: 90%; max-width: 1200px; margin: 0 auto; }
.scenarios__header { margin-bottom: 1rem; }
.scenarios__title {
  display: flex; align-items: center; gap: .6rem;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; color: #0f172a;
}
.scenarios__title i { width: 22px; height: 22px; color: #3B82F6; }
.scenarios__desc { color: #475569; margin-top: .25rem; }

.scenarios__grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .scenarios__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1120px) {
  .scenarios__grid { grid-template-columns: repeat(3, 1fr); }
}

.scenario-card {
  background: #ffffffcc;
  border: 1px solid #E2E8F0;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(2,6,23,.06);
  display: grid; grid-template-rows: auto 1fr;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.scenario-card:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(2,6,23,.12); border-color: #cbd5e1; }

.scenario-card__img {
  width: 100%; height: 140px; object-fit: cover; display: block; background: #f1f5f9;
}

.scenario-card__body { padding: 1rem; display: grid; gap: .6rem; }
.scenario-card__title { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: #0f172a; }
.scenario-card__title i { width: 18px; height: 18px; color: #F97316; }
.scenario-card__lead { color: #475569; }
.scenario-card__checklist { list-style: none; display: grid; gap: .35rem; }
.scenario-card__checklist li { display: flex; align-items: start; gap: .5rem; color: #334155; }
.scenario-card__checklist i { width: 16px; height: 16px; color: #22c55e; flex: 0 0 auto; }

.scenario-card__actions { margin-top: .2rem; }
.scenario-card__actions .btn { padding: .6rem .8rem; }

/* ===== Tools ===== */
.tools { padding: 3rem 0 2.5rem; }
.tools__container { width: 90%; max-width: 1200px; margin: 0 auto; }
.tools__header { margin-bottom: 1rem; }
.tools__title {
  display: flex; align-items: center; gap: .6rem;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; color: #0f172a;
}
.tools__title i { width: 22px; height: 22px; color: #3B82F6; }
.tools__desc { color: #475569; margin-top: .25rem; }

.tools__grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .tools__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .tools__grid { grid-template-columns: repeat(3, 1fr); } }

.tool-card {
  background: #ffffffcc;
  border: 1px solid #E2E8F0;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(2,6,23,.06);
  display: grid; gap: .7rem; padding: 1rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(2,6,23,.12); border-color: #cbd5e1; }

.tool-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem; }
.tool-card__title { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: #0f172a; }
.tool-card__title i { width: 18px; height: 18px; color: #F97316; }
.tool-card__label {
  background: #f1f5f9; color: #0f172a; border: 1px solid #e2e8f0; border-radius: 999px;
  padding: .35rem .6rem; font-size: .85rem; white-space: nowrap;
}

.tool-card__desc { color: #475569; }
.tool-card__badges { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem .5rem; }
.tool-card__badge {
  padding: .35rem .55rem; border-radius: 999px; background: #fff; border: 1px solid #E2E8F0;
  font-size: .85rem; color: #0f172a;
}

.tool-card__compare {
  border-top: 1px dashed #e2e8f0; padding-top: .6rem; display: grid; gap: .4rem;
}
.tool-card__row { display: grid; grid-template-columns: 1fr 1.2fr; gap: .6rem; align-items: start; }
.tool-card__key { color: #64748b; font-weight: 600; }
.tool-card__val { color: #334155; }

.tool-card__actions .btn { padding: .6rem .8rem; }

/* ===== FAQ ===== */
.faq { padding: 3rem 0 2.5rem; }
.faq__container { width: 90%; max-width: 900px; margin: 0 auto; }
.faq__header { margin-bottom: 1rem; text-align: left; }
.faq__title {
  display: flex; align-items: center; gap: .6rem;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; color: #0f172a;
}
.faq__title i { width: 22px; height: 22px; color: #3B82F6; }
.faq__desc { color: #475569; margin-top: .25rem; }

.faq__list { display: grid; gap: .6rem; }

.faq-item {
  background: #fff; border: 1px solid #E2E8F0; border-radius: 16px;
  box-shadow: 0 8px 24px rgba(2,6,23,.06);
  overflow: clip;
}
.faq-item__heading { margin: 0; }
.faq-item__trigger {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .6rem;
  padding: .95rem 1rem; font-weight: 700; color: #0f172a;
}
.faq-item__trigger:hover { background: #f8fafc; }
.faq-item__icon i { width: 18px; height: 18px; transition: transform .25s ease; color: #334155; }

.faq-item__panel {
  padding: 0 1rem 1rem; color: #334155; line-height: 1.6;
  border-top: 1px dashed #e2e8f0;
  /* анимация высоты */
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease, padding .25s ease;
}
.faq-item__panel > * { overflow: hidden; }
.faq-item__panel[aria-hidden="false"] { grid-template-rows: 1fr; padding: .6rem 1rem 1rem; }

.faq__cta { margin-top: 1rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.faq__cta .btn { padding: .7rem 1rem; }

/* раскрытое состояние */
.faq-item--open .faq-item__icon i { transform: rotate(180deg); color: #3B82F6; }

/* ===== Contact ===== */
.contact { padding: 3rem 0 2.5rem; }
.contact__container { width: 90%; max-width: 1200px; margin: 0 auto; }
.contact__header { margin-bottom: 1rem; }
.contact__title {
  display: flex; align-items: center; gap: .6rem;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; color: #0f172a;
}
.contact__title i { width: 22px; height: 22px; color: #3B82F6; }
.contact__desc { color: #475569; margin-top: .25rem; }

.contact__grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1.1fr .9fr; } }

/* Form */
.contact-form { background: #ffffffcc; border: 1px solid #E2E8F0; border-radius: 18px; padding: 1rem; box-shadow: 0 8px 24px rgba(2,6,23,.06); }
.contact-form__row { margin-bottom: .85rem; }
.contact-form__label { display: block; font-weight: 600; color: #0f172a; margin-bottom: .35rem; }

.contact-form__field { position: relative; }
.contact-form__icon { position: absolute; left: .65rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #64748b; }
.contact-form__input {
  width: 100%; padding: .7rem .7rem .7rem 2.1rem; border: 1px solid #E2E8F0; border-radius: 12px; background: #fff;
  color: #0f172a; outline: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-form__input:focus { border-color: #3B82F6; box-shadow: 0 0 0 4px rgba(59,130,246,.15); background: #fff; }

.contact-form__row--captcha .contact-form__label { margin-bottom: .5rem; }
.contact-form__captcha { display: grid; grid-template-columns: 1fr auto auto; gap: .5rem; align-items: center; }
.contact-form__captcha-task {
  padding: .7rem .9rem; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 12px; color: #0f172a; font-weight: 600;
}
.contact-form__input--captcha { padding-left: .7rem; }
.contact-form__captcha-refresh {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .65rem .7rem;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.contact-form__captcha-refresh:hover { transform: translateY(-1px); background: #f8fafc; box-shadow: 0 8px 18px rgba(2,6,23,.08); }

.contact-form__agree { display: flex; gap: .6rem; align-items: center; margin: .4rem 0 .6rem; }
.contact-form__checkbox { width: 18px; height: 18px; accent-color: #3B82F6; }
.contact-form__agree-label a { color: #3B82F6; }

.contact-form__actions { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.contact-form__status { color: #64748b; }

/* errors */
.contact-form__error { color: #dc2626; font-size: .9rem; min-height: 1.1em; }

/* Aside */
.contact-aside { display: grid; gap: 1rem; }
.contact-aside__card {
  background: #fff; border: 1px solid #E2E8F0; border-radius: 18px; padding: 1rem; box-shadow: 0 8px 24px rgba(2,6,23,.06);
}
.contact-aside__title { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: #0f172a; margin-bottom: .5rem; }
.contact-aside__title i { width: 18px; height: 18px; color: #F97316; }
.contact-aside__list { list-style: none; display: grid; gap: .4rem; color: #334155; }
.contact-aside__list i { width: 16px; height: 16px; color: #22c55e; }
.contact-aside__list--contacts i { color: #3B82F6; }

/* toast */
.contact-toast {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  background: #111827; color: #fff; padding: .75rem 1rem; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.25);
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.contact-toast i { width: 18px; height: 18px; }
.contact-toast--show { opacity: 1; transform: translateX(-50%) translateY(-6px); pointer-events: auto; }

/* utilities */
.contact-form__honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ===== Cookie Pop-up ===== */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100;
  display: grid; place-items: center; padding: .75rem;
  transform: translateY(12px); opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.cookie--show { opacity: 1; transform: translateY(0); pointer-events: auto; }

.cookie__container {
  width: min(96%, 1100px);
  background: #0f172a; color: #fff;
  border-radius: 16px; border: 1px solid #1f2937;
  padding: .9rem; display: grid; gap: .7rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
@media (min-width: 760px) {
  .cookie__container { grid-template-columns: 1fr auto; align-items: center; }
}

.cookie__text { display: flex; align-items: center; gap: .5rem; }
.cookie__text i { width: 18px; height: 18px; color: #F97316; }
.cookie__text a { color: #93c5fd; text-decoration: underline; }
.cookie__btn { padding: .6rem .9rem; }

/* ===== Policy pages (shared styles) ===== */
/* Works for:
<main>
  <section class="pages">
    <div class="container">
      <h1>...</h1>
      <p>...</p>
      <h2>...</h2>
      <p>...</p>
      <ul> <li><strong>...</strong></li> <li>... <a href="#">...</a></li> </ul>
    </div>
  </section>
</main>
*/
.pages { padding: 2.2rem 0; }
.pages .container { width: 90%; max-width: 840px; margin: 0 auto; }
.pages h1 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  line-height: 1.2; letter-spacing: -0.01em; color: #0f172a; margin-bottom: .8rem;
}
.pages h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  margin: 1.2rem 0 .4rem; color: #0f172a;
}
.pages p {
  color: #334155; margin: .65rem 0; line-height: 1.75;
}
.pages ul { margin: .6rem 0 .8rem 1.2rem; display: grid; gap: .4rem; }
.pages li { color: #334155; }
.pages li strong { color: #0f172a; }
.pages a { color: #3B82F6; text-decoration: underline; text-underline-offset: 2px; }
.pages blockquote {
  margin: .9rem 0; padding: .7rem .9rem; border-left: 3px solid #3B82F6;
  background: #f8fafc; color: #334155; border-radius: 8px;
}
.pages code, .pages pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #0b1220; color: #e2e8f0; border-radius: 8px;
}
.pages code { padding: .15rem .35rem; }
.pages pre { padding: .75rem .9rem; overflow: auto; }
.pages table {
  width: 100%; border-collapse: collapse; margin: .8rem 0;
  border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; display: block;
}
.pages th, .pages td { padding: .6rem .7rem; border-bottom: 1px solid #e2e8f0; }
.pages thead th { background: #f1f5f9; color: #0f172a; text-align: left; }
.pages tbody tr:hover { background: #fafafa; }

@media (prefers-color-scheme: dark) {
  .pages p, .pages li { color: #e5e7eb; }
  .pages h1, .pages h2 { color: #fff; }
  .pages a { color: #93c5fd; }
  .pages blockquote { background: #0f172a; color: #e5e7eb; border-left-color: #60a5fa; }
  .pages table { border-color: #1f2937; }
  .pages th, .pages td { border-bottom-color: #1f2937; }
  .pages thead th { background: #0f172a; color: #e5e7eb; }
}
