/* 3IN1.cc — база: токены, типографика, шапка, футер, компоненты.
   Тёмная тема в духе Linear: почти чёрный фон, полупрозрачные белые границы,
   один хроматический акцент — фирменный оранжевый 3IN1.cc. */

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
[hidden] { display: none !important; }

/* ----------------------------------------------------------------- tokens */
:root {
  --bg:            #08090a;
  --bg-soft:       #0c0d0f;
  --panel:         #0f1113;
  --panel-2:       #14171a;
  --raise:         #1b1f23;
  --line:          rgba(255,255,255,.07);
  --line-2:        rgba(255,255,255,.12);
  --line-3:        rgba(255,255,255,.18);

  --tx:            #f4f5f6;
  --tx-2:          #c3c9d0;
  --tx-3:          #8b939c;
  --tx-4:          #626a73;

  --acc:           #ff7a2f;
  --acc-2:         #ff9a5c;
  --acc-deep:      #d95c14;
  --acc-soft:      rgba(255,122,47,.12);
  --acc-line:      rgba(255,122,47,.35);

  --vio:           #7c5cff;
  --cyan:          #22c8e6;
  --grn:           #22c55e;
  --red:           #f4523f;
  --yel:           #eab308;

  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --pill: 999px;

  --wrap: 1220px;
  --hdr-h: 62px;

  --sh-1: 0 1px 2px rgba(0,0,0,.4);
  --sh-2: 0 8px 24px rgba(0,0,0,.45);
  --sh-3: 0 24px 60px rgba(0,0,0,.55);

  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body {
  background: var(--bg);
  color: var(--tx);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  font-feature-settings: 'cv01','ss03';
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

::selection { background: rgba(255,122,47,.3); }

/* фоновая подсветка */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(760px 420px at 78% -8%, rgba(255,122,47,.10), transparent 65%),
    radial-gradient(620px 380px at 12% 2%, rgba(124,92,255,.09), transparent 62%);
}

/* скроллбар */
* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.16) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 8px; border: 3px solid transparent; background-clip: content-box; }
*::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.24); background-clip: content-box; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--acc); color: #150800; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { left: 12px; }

:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 4px; }

/* ----------------------------------------------------------------- шапка */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(8,9,10,.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.hdr-in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 20px;
  height: var(--hdr-h); display: flex; align-items: center; gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(140deg, var(--acc), var(--acc-deep));
  color: #180800; font-weight: 800; font-size: 10px; letter-spacing: -.5px;
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(255,122,47,.28);
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt b { font-size: 15px; font-weight: 700; letter-spacing: -.3px; }
.brand-txt i { font-style: normal; font-size: 11px; color: var(--tx-4); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 7px 12px; border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 500; color: var(--tx-3);
  transition: color .14s, background .14s;
}
.nav a:hover { color: var(--tx); background: rgba(255,255,255,.04); }
.nav a.on { color: var(--tx); background: rgba(255,255,255,.06); }

.hdr-search {
  flex: 1 1 auto; max-width: 320px; margin-left: auto;
  position: relative; display: flex; align-items: center;
}
.hdr-search svg {
  position: absolute; left: 10px; width: 15px; height: 15px;
  fill: none; stroke: var(--tx-4); stroke-width: 2; stroke-linecap: round;
}
.hdr-search input {
  width: 100%; background: rgba(255,255,255,.03);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 8px 34px 8px 32px; font-size: 13px; color: var(--tx);
  transition: border-color .15s, background .15s;
}
.hdr-search input::placeholder { color: var(--tx-4); }
.hdr-search input:focus { outline: none; border-color: var(--acc-line); background: rgba(255,255,255,.05); }
.hdr-search kbd {
  position: absolute; right: 8px; font-family: var(--mono); font-size: 10px;
  color: var(--tx-4); border: 1px solid var(--line-2); border-radius: 4px;
  padding: 1px 5px; pointer-events: none;
}
.hdr-search input:focus + kbd { opacity: 0; }

.hdr-act { display: flex; align-items: center; gap: 8px; flex: none; }

.burger { display: none; width: 38px; height: 34px; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255,255,255,.03); position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.6px; background: var(--tx-2); border-radius: 2px; transition: transform .18s, opacity .18s; }
.burger span:nth-child(1) { top: 11px; }
.burger span:nth-child(2) { top: 16px; }
.burger span:nth-child(3) { top: 21px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.hdr-mob { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 10px 20px 14px; }
.hdr-mob a { display: block; padding: 10px 4px; font-size: 15px; color: var(--tx-2); border-bottom: 1px solid var(--line); }
.hdr-mob a:last-of-type { border-bottom: 0; }
.hdr-mob-act { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.hdr-mob-act .btn { flex: 1 1 140px; justify-content: center; }

/* аккаунт в шапке */
.acct { position: relative; }
.acct-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  border-radius: var(--pill); padding: 4px 12px 4px 4px; color: var(--tx-2);
  font-size: 13px; font-weight: 500; transition: border-color .15s, background .15s;
}
.acct-btn:hover { border-color: var(--line-3); background: rgba(255,255,255,.06); }
.acct-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 226px;
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--r-md);
  box-shadow: var(--sh-3); padding: 6px; z-index: 70;
}
.acct-menu a, .acct-menu button {
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 9px 10px; border: 0; background: none; text-align: left;
  border-radius: var(--r-sm); font-size: 13.5px; color: var(--tx-2);
}
.acct-menu a:hover, .acct-menu button:hover { background: rgba(255,255,255,.06); color: var(--tx); }
.acct-menu .sep { height: 1px; background: var(--line); margin: 5px 2px; }
.acct-head { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 5px; }
.acct-head b { display: block; font-size: 14px; }
.acct-head span { font-size: 11.5px; color: var(--tx-4); }

.bell { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.bell:hover { background: rgba(255,255,255,.07); }
.bell svg { width: 16px; height: 16px; fill: none; stroke: var(--tx-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bell b {
  position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px;
  background: var(--acc); color: #180800; border-radius: var(--pill);
  font-size: 10px; font-weight: 700; display: grid; place-items: center; padding: 0 4px;
  border: 2px solid var(--bg);
}

/* --------------------------------------------------------------- кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 15px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-size: 13.5px; font-weight: 600; letter-spacing: -.01em;
  transition: background .15s, border-color .15s, color .15s, transform .12s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-load { opacity: .6; pointer-events: none; }
.btn-pri { background: linear-gradient(180deg, var(--acc-2), var(--acc)); color: #1a0800; box-shadow: 0 6px 18px rgba(255,122,47,.22); }
.btn-pri:hover { filter: brightness(1.06); }
.btn-ghost { background: rgba(255,255,255,.03); border-color: var(--line-2); color: var(--tx-2); }
.btn-ghost:hover { background: rgba(255,255,255,.07); color: var(--tx); border-color: var(--line-3); }
.btn-flat { background: none; color: var(--tx-3); }
.btn-flat:hover { background: rgba(255,255,255,.05); color: var(--tx); }
.btn-danger { background: rgba(244,82,63,.12); border-color: rgba(244,82,63,.35); color: #ff9c8f; }
.btn-danger:hover { background: rgba(244,82,63,.2); }
.btn-sm { padding: 6px 11px; font-size: 12.5px; border-radius: var(--r-xs); }
.btn-lg { padding: 12px 22px; font-size: 15px; border-radius: var(--r-md); }
.btn-block { width: 100%; }
.btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------- формы */
.field { display: block; margin-bottom: 14px; }
.field > span, .lbl { display: block; font-size: 12px; font-weight: 600; color: var(--tx-3); margin-bottom: 6px; letter-spacing: .01em; }
.inp, .sel, .txt {
  width: 100%; background: rgba(255,255,255,.025); color: var(--tx);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 10px 12px; font-size: 14px;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.inp::placeholder, .txt::placeholder { color: var(--tx-4); }
.inp:focus, .sel:focus, .txt:focus {
  outline: none; border-color: var(--acc-line); background: rgba(255,255,255,.04);
  box-shadow: 0 0 0 3px rgba(255,122,47,.1);
}
.txt { resize: vertical; min-height: 120px; line-height: 1.6; font-family: inherit; }
.sel { appearance: none; padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b939c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; }

/* ------------------------------------------------- кастомный выпадающий список */
.dd { position: relative; }
.dd-btn {
  width: 100%; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.025); color: var(--tx);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 10px 12px; font-size: 14px; text-align: left;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.dd-btn:hover { background: rgba(255,255,255,.05); border-color: var(--line-3); }
.dd.open .dd-btn {
  border-color: var(--acc-line); background: rgba(255,255,255,.05);
  box-shadow: 0 0 0 3px rgba(255,122,47,.12);
}
.dd-cur { flex: 1; display: flex; align-items: center; gap: 9px; min-width: 0; }
.dd-lb { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-ic {
  flex: none; width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
  background: rgba(255,255,255,.06); color: var(--tx-2);
}
.dd-arr { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--tx-3); stroke-width: 2; transition: transform .18s; }
.dd.open .dd-arr { transform: rotate(180deg); stroke: var(--acc-2); }

.dd-pop {
  position: absolute; z-index: 90; left: 0; right: 0; top: calc(100% + 6px);
  background: var(--panel-2); border: 1px solid var(--line-2);
  border-radius: var(--r-md); box-shadow: var(--sh-3);
  padding: 6px; max-height: 320px; overflow-y: auto;
  animation: ddIn .14s ease-out;
}
@keyframes ddIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.dd-opt {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border: 0; background: none; border-radius: var(--r-sm);
  color: var(--tx-2); font-size: 13.5px; text-align: left;
}
.dd-opt:hover, .dd-opt:focus-visible { background: rgba(255,255,255,.06); color: var(--tx); outline: none; }
.dd-opt.on { background: var(--acc-soft); color: var(--tx); }
.dd-opt.on .dd-ic { background: rgba(255,122,47,.16); color: var(--acc-2); }
.dd-tx { flex: 1; min-width: 0; display: block; }
.dd-tx b { display: block; font-weight: 500; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-tx i { display: block; font-style: normal; font-size: 11.5px; color: var(--tx-4); margin-top: 1px; }
.dd-ok { flex: none; width: 15px; height: 15px; fill: none; stroke: var(--acc-2); stroke-width: 2.4; opacity: 0; }
.dd-opt.on .dd-ok { opacity: 1; }
.hint { font-size: 11.5px; color: var(--tx-4); margin-top: 6px; }
.err-txt { font-size: 12.5px; color: #ff9c8f; margin-top: 6px; }
.form-err {
  background: rgba(244,82,63,.1); border: 1px solid rgba(244,82,63,.3);
  color: #ffb4a8; border-radius: var(--r-sm); padding: 9px 12px; font-size: 13px; margin-bottom: 14px;
}
.form-ok {
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3);
  color: #93e8b4; border-radius: var(--r-sm); padding: 9px 12px; font-size: 13px; margin-bottom: 14px;
}

/* ------------------------------------------------------------- элементы */
.view { flex: 1 0 auto; position: relative; z-index: 1; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.card {
  background: rgba(255,255,255,.022); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 18px;
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-2); border-radius: var(--pill);
  padding: 3px 10px; font-size: 11.5px; font-weight: 600; color: var(--tx-3);
  background: rgba(255,255,255,.03);
}
.pill-acc { border-color: var(--acc-line); color: var(--acc-2); background: var(--acc-soft); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--grn); box-shadow: 0 0 0 3px rgba(34,197,94,.16); flex: none; }
.mono { font-family: var(--mono); }
.muted { color: var(--tx-3); }
.tiny { font-size: 12px; }
.sect-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.sect-h h2 { font-size: 26px; font-weight: 700; letter-spacing: -.6px; }
.sect-h p { color: var(--tx-3); font-size: 14px; margin-top: 4px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); margin-bottom: 8px; }

/* аватары */
.ava {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
  color: #fff; letter-spacing: -.02em;
  background: linear-gradient(150deg, hsl(var(--h,20) 78% 52%), hsl(calc(var(--h,20) + 34) 70% 38%));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  text-transform: uppercase; user-select: none;
}
.ava-xs { width: 22px; height: 22px; border-radius: 7px; font-size: 10px; }
.ava-sm { width: 30px; height: 30px; border-radius: 9px; font-size: 12px; }
.ava-lg { width: 74px; height: 74px; border-radius: 20px; font-size: 30px; }
.ava-ring { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 0 0 2px rgba(255,122,47,.5); }

/* роли */
.role { font-size: 10.5px; font-weight: 700; padding: 1.5px 6px; border-radius: 5px; letter-spacing: .03em; text-transform: uppercase; }
.role-admin { background: rgba(255,122,47,.16); color: var(--acc-2); border: 1px solid var(--acc-line); }
.role-mod { background: rgba(124,92,255,.16); color: #b7a6ff; border: 1px solid rgba(124,92,255,.35); }
.role-sub { background: rgba(34,200,230,.14); color: #8ae4f4; border: 1px solid rgba(34,200,230,.32); }
.role-user { background: rgba(255,255,255,.06); color: var(--tx-3); border: 1px solid var(--line-2); }

/* загрузка / пусто */
.boot { padding: 90px 20px; display: grid; place-items: center; gap: 16px; color: var(--tx-4); }
.boot-spin, .spin {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.12); border-top-color: var(--acc);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty { padding: 46px 20px; text-align: center; color: var(--tx-3); }
.empty b { display: block; font-size: 16px; color: var(--tx-2); margin-bottom: 6px; }
.skeleton { background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.08), rgba(255,255,255,.04)); background-size: 200% 100%; animation: sk 1.2s ease-in-out infinite; border-radius: var(--r-sm); }
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* --------------------------------------------------------------- тосты */
.toasts { position: fixed; z-index: 200; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; max-width: min(360px, calc(100vw - 32px)); }
.toast {
  background: var(--panel-2); border: 1px solid var(--line-2); border-left: 3px solid var(--acc);
  border-radius: var(--r-sm); padding: 11px 14px; font-size: 13.5px; color: var(--tx);
  box-shadow: var(--sh-3); animation: toastIn .22s ease-out;
}
.toast.ok { border-left-color: var(--grn); }
.toast.err { border-left-color: var(--red); }
.toast.out { animation: toastOut .2s ease-in forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(20px); } }

/* --------------------------------------------------------------- модалки */
.modal-root { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; }
.modal-bg { position: absolute; inset: 0; background: rgba(4,5,6,.78); backdrop-filter: blur(4px); animation: fade .16s ease-out; }
.modal {
  position: relative; width: 100%; max-width: 460px;
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--r-xl);
  box-shadow: var(--sh-3); padding: 22px; animation: pop .2s cubic-bezier(.2,.9,.3,1);
  max-height: calc(100vh - 40px); overflow: auto;
}
.modal-lg { max-width: 720px; }
.modal h3 { font-size: 19px; font-weight: 700; letter-spacing: -.3px; margin-bottom: 4px; }
.modal .sub { color: var(--tx-3); font-size: 13.5px; margin-bottom: 18px; }
.modal-x { position: absolute; right: 14px; top: 14px; width: 30px; height: 30px; border-radius: var(--r-xs); border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--tx-3); display: grid; place-items: center; font-size: 15px; }
.modal-x:hover { background: rgba(255,255,255,.08); color: var(--tx); }
.modal-act { display: flex; gap: 10px; margin-top: 18px; }
.modal-act .btn { flex: 1; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }

/* переключатель вкладок (вход/регистрация и т.п.) */
.tabs { display: flex; gap: 4px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 4px; margin-bottom: 18px; }
.tabs button { flex: 1; padding: 8px; border: 0; background: none; border-radius: var(--r-xs); font-size: 13.5px; font-weight: 600; color: var(--tx-3); }
.tabs button.on { background: rgba(255,255,255,.08); color: var(--tx); }

/* --------------------------------------------------------------- футер */
.ftr { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: 60px; position: relative; z-index: 1; }
.ftr-in {
  max-width: var(--wrap); margin: 0 auto; padding: 40px 20px 26px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px;
}
.ftr-col { display: flex; flex-direction: column; gap: 9px; }
.ftr-col b { font-size: 13px; margin-bottom: 2px; }
.ftr-col a { font-size: 13.5px; color: var(--tx-3); width: fit-content; }
.ftr-col a:hover { color: var(--acc-2); }
.ftr-brand p { color: var(--tx-4); font-size: 13px; max-width: 380px; line-height: 1.65; }
.ftr-bottom {
  max-width: var(--wrap); margin: 0 auto; padding: 14px 20px 26px;
  border-top: 1px solid var(--line); display: flex; justify-content: space-between;
  gap: 12px; font-size: 12px; color: var(--tx-4); flex-wrap: wrap;
}

/* --------------------------------------------------------------- адаптив */
@media (max-width: 1080px) {
  .hdr-search { max-width: 220px; }
}
@media (max-width: 900px) {
  .nav, .hdr-search { display: none; }
  .burger { display: block; }
  .hdr-act .acct-btn span.uname { display: none; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 14px; }
  .hdr-in { padding: 0 14px; gap: 10px; }
  .sect-h h2 { font-size: 22px; }
  .ftr-in { grid-template-columns: 1fr; gap: 22px; padding: 30px 14px 20px; }
  .modal { padding: 18px; border-radius: var(--r-lg); }
  .toasts { right: 10px; left: 10px; bottom: 10px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
