/* ============================================================
   磁力狗 - 全站样式（深色版，参考 ciligo.org 的版式）
   主色 / 圆角 / 间距都在 :root，换肤色只改变量
   ============================================================ */

:root {
  --bg: #06090f;
  --bg-2: #080d18;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #eef2fb;
  --ink-2: #c8d0e0;
  --muted: #8b93a7;
  --muted-2: #6b7488;
  --brand: #6b5cff;
  --brand-2: #b06bff;
  --accent: #4f7cff;
  --grad: linear-gradient(135deg, #6b5cff 0%, #9a63ff 50%, #c06bff 100%);
  --grad-soft: linear-gradient(135deg, rgba(107, 92, 255, 0.18), rgba(192, 107, 255, 0.1));
  --radius: 14px;
  --radius-lg: 22px;
  --shell: 1200px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
        "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 50% -8%, rgba(107, 92, 255, 0.22), transparent 70%),
    radial-gradient(700px 400px at 88% 12%, rgba(79, 124, 255, 0.12), transparent 70%),
    radial-gradient(600px 420px at 8% 30%, rgba(176, 107, 255, 0.1), transparent 70%),
    var(--bg);
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.24s var(--ease), background 0.2s;
}
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 26px rgba(107, 92, 255, 0.34);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(107, 92, 255, 0.45); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
  color: var(--ink-2);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); color: var(--ink); }
.btn--white { background: #fff; color: #1a1030; }
.btn--white:hover { transform: translateY(-1px); }

/* ---------------- 页头 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6, 9, 15, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(6, 9, 15, 0.9);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 20px rgba(107, 92, 255, 0.32);
}
.brand__name { font-size: 17px; letter-spacing: 0.01em; }

.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav a {
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.18s;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--ink); }
.site-nav .nav-cta { color: #fff; }
.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.6px;
  margin: 3.2px auto;
  background: var(--ink-2);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------------- 首屏 ---------------- */
.hero {
  position: relative;
  padding: 76px 0 40px;
  text-align: center;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  left: 50%;
  top: -260px;
  width: 780px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 50%, rgba(122, 92, 255, 0.38), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-2);
  font-size: 13px;
}
.hero__badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #43e2a0;
  box-shadow: 0 0 0 4px rgba(67, 226, 160, 0.16);
}

.hero__title {
  margin: 22px 0 0;
  font-size: clamp(46px, 9vw, 84px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #ffffff 12%, #b9aeff 52%, #8f6bff 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  margin-top: 14px;
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 600;
  color: var(--ink);
}
.hero__sub {
  margin-top: 14px;
  max-width: 620px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

/* 搜索卡 */
.searchbar {
  margin-top: 30px;
  width: min(660px, 100%);
  padding: 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: rgba(12, 17, 30, 0.82);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.searchbar__field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
}
.searchbar__field:focus-within { border-color: rgba(140, 118, 255, 0.55); }
.searchbar__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 15px;
  outline: none;
}
.searchbar__field input::placeholder { color: var(--muted-2); }
.searchbar__actions { display: flex; gap: 10px; }
.searchbar__actions .btn { flex: 1; }
.searchbar--compact { margin: 22px auto 0; width: min(560px, 100%); padding: 10px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13.5px;
}
.hero__meta li { display: inline-flex; align-items: center; gap: 6px; }
.hero__meta svg { color: #43e2a0; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 76px 0; }
.section--tight { padding: 56px 0; }
.section__head { text-align: center; margin-bottom: 38px; }
.section__head h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; }
.section__head p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13.5px;
  white-space: nowrap;
  transition: color 0.18s;
}
.more-link:hover { color: var(--ink); }

/* 宫格 */
.grid { display: grid; gap: 16px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 说明卡 */
.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  color: #cfc4ff;
  background: var(--grad-soft);
  border: 1px solid rgba(140, 118, 255, 0.24);
}
.card h3 { font-size: 16px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 13.8px; line-height: 1.75; }

/* 搜索方式 */
.steps {
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}
.steps__title { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { display: flex; gap: 12px; align-items: flex-start; }
.step__no {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  color: #cfc4ff;
  background: var(--grad-soft);
  border: 1px solid rgba(140, 118, 255, 0.2);
}
.step strong { display: block; font-size: 14px; margin-bottom: 2px; }
.step small { color: var(--muted); font-size: 12.8px; line-height: 1.6; }

/* 影视推荐：海报 + 下方文字（和 ciligo.org 一致） */
.posters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.poster { list-style: none; }
.poster__link { display: flex; flex-direction: column; gap: 10px; }
.poster__art {
  position: relative;
  display: block;
  aspect-ratio: 13 / 18;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #2b2350, #101a33 70%);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.poster__link:hover .poster__art { transform: translateY(-3px); border-color: rgba(160, 140, 255, 0.42); }
.poster__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.poster__link:hover .poster__img { transform: scale(1.05); }
.poster__tag {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  color: #fff;
  background: rgba(8, 12, 22, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}
.poster__copy strong { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.poster__copy small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }

/* 类型卡 */
.tcard {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.tcard:hover { transform: translateY(-3px); border-color: var(--line-2); }
.tcard__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #bfd0ff;
  background: rgba(79, 124, 255, 0.12);
  border: 1px solid rgba(79, 124, 255, 0.22);
}
.tcard__body h3 { font-size: 15px; margin-bottom: 6px; }
.tcard__body p { color: var(--muted); font-size: 13.4px; line-height: 1.7; }
.tcard__go {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--muted);
  border: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.tcard:hover .tcard__go { color: var(--ink); border-color: var(--line-2); transform: translateX(2px); }

/* 常见问题 */
.section--faq { padding-top: 56px; }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  padding: 0 18px;
  transition: border-color 0.2s, background 0.2s;
}
.faq__item[open] { border-color: rgba(140, 118, 255, 0.34); background: rgba(107, 92, 255, 0.06); }
.faq__item summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  margin-left: auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s;
}
.faq__item[open] summary::after { content: "−"; }
.faq__body { padding: 0 0 16px; color: var(--muted); font-size: 13.6px; line-height: 1.8; }

/* 下载区块 */
.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 46px;
  border-radius: 26px;
  border: 1px solid rgba(160, 140, 255, 0.26);
  background:
    radial-gradient(560px 220px at 12% 0%, rgba(124, 92, 255, 0.34), transparent 70%),
    linear-gradient(120deg, rgba(30, 22, 66, 0.95), rgba(12, 17, 32, 0.95));
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 107, 255, 0.3), transparent 68%);
  pointer-events: none;
}
.cta__copy h2 { font-size: clamp(22px, 3vw, 28px); }
.cta__copy p { margin-top: 10px; max-width: 520px; color: var(--muted); font-size: 14px; }
.cta__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cta__note { color: var(--muted-2); font-size: 12.5px; }

/* 文章卡 */
.acard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.acard:hover { transform: translateY(-3px); border-color: var(--line-2); }
.acard__link { display: flex; flex-direction: column; gap: 10px; padding: 20px; height: 100%; }
.acard__cat {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  color: #cfc4ff;
  background: rgba(107, 92, 255, 0.14);
  border: 1px solid rgba(140, 118, 255, 0.24);
}
.acard__title { font-size: 15.5px; line-height: 1.5; }
.acard__sum { color: var(--muted); font-size: 13.4px; line-height: 1.75; }
.acard__foot {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  color: var(--muted-2);
  font-size: 12.4px;
}

/* ---------------- 内页 ---------------- */
.page { padding: 34px 0 72px; }
.page--narrow { max-width: 760px; }
.page--reader { max-width: 860px; }

.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted-2); font-size: 12.8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--muted-2); }
.breadcrumb a:hover { color: var(--ink-2); }

.page__head { margin: 26px 0 30px; }
.eyebrow { font-size: 11.5px; letter-spacing: 0.22em; color: var(--muted-2); }
.page__head h1 { margin-top: 10px; font-size: clamp(26px, 4vw, 36px); }
.page__head p { margin-top: 12px; color: var(--muted); font-size: 14.5px; max-width: 720px; }
.page__head--search { text-align: center; }
.page__head--search p { margin-left: auto; margin-right: auto; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.chip span { color: var(--muted-2); font-size: 11.5px; }
.chip:hover, .chip.is-on { color: var(--ink); border-color: rgba(140, 118, 255, 0.4); background: rgba(107, 92, 255, 0.1); }

.result-meta { color: var(--muted); font-size: 13.5px; margin-bottom: 20px; }
.empty { color: var(--muted); font-size: 14px; padding: 30px 0; }
.empty a { color: #a99bff; }

.pager { margin-top: 34px; }
.pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pager a, .pager span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 13.5px;
}
.pager a:hover { color: var(--ink); border-color: var(--line-2); }
.pager .is-on { color: #fff; background: var(--grad); border-color: transparent; }

/* 文章详情 */
.post { margin-top: 24px; }
.post__head h1 { margin: 14px 0 0; font-size: clamp(24px, 3.6vw, 34px); line-height: 1.35; }
.post__meta { display: flex; gap: 16px; margin-top: 14px; color: var(--muted-2); font-size: 12.8px; }
.post__summary {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 2px solid rgba(140, 118, 255, 0.6);
  background: rgba(107, 92, 255, 0.07);
  border-radius: 0 10px 10px 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.8;
}
.post__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }

.prose { margin-top: 28px; color: var(--ink-2); font-size: 15.5px; line-height: 1.95; }
.prose > * + * { margin-top: 16px; }
.prose h2 {
  margin-top: 34px;
  padding-left: 12px;
  border-left: 3px solid rgba(140, 118, 255, 0.7);
  font-size: 19px;
  color: var(--ink);
}
.prose h3 { margin-top: 26px; font-size: 16.5px; color: var(--ink); }
.prose p { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 20px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose strong { color: #fff; }
.prose a { color: #a99bff; border-bottom: 1px dashed rgba(169, 155, 255, 0.4); }
.prose blockquote {
  margin: 20px 0;
  padding: 12px 18px;
  border-left: 2px solid var(--line-2);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 8px 8px 0;
}
.prose code { padding: 2px 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.07); font-size: 13.5px; }
.prose img { border-radius: 10px; }

/* 内页 CTA 条 */
.cross {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--grad-soft);
}
.cross h2 { font-size: 17px; }
.cross p { margin-top: 6px; color: var(--muted); font-size: 13.5px; }
.related, .mini-faq { margin-top: 46px; }
.related h2, .mini-faq h2 { font-size: 19px; margin-bottom: 18px; }
.mini-faq .faq__item + .faq__item { margin-top: 10px; }

/* ---------------- 页脚 ---------------- */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: rgba(4, 6, 12, 0.6); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 46px 24px 30px;
}
.footer__slogan { margin-top: 12px; color: var(--muted-2); font-size: 13px; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav h3 { font-size: 13px; color: var(--ink-2); font-weight: 600; margin-bottom: 2px; }
.footer__nav a { color: var(--muted-2); font-size: 13px; transition: color 0.18s; }
.footer__nav a:hover { color: var(--ink-2); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 24px 26px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 12.4px;
}
.footer__note { max-width: 620px; }
.filing { margin-left: 8px; }
.filing:hover { color: var(--ink-2); }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 20px);
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(18, 24, 40, 0.96);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 13.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s, transform 0.24s;
  z-index: 80;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* 滚动淡入（无 JS 时直接可见） */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .posters .poster:nth-child(4),
  .posters .poster:nth-child(5) { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 20px;
    background: rgba(8, 11, 20, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 0; font-size: 15px; }
  .nav-cta { margin: 8px 0 0; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps__list { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 30px; }
  .cta__actions { align-items: flex-start; }
  .cross { flex-direction: column; align-items: flex-start; }
  .section { padding: 56px 0; }
  .hero { padding-top: 54px; }
}

@media (max-width: 640px) {
  .shell { padding: 0 18px; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .posters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posters .poster:nth-child(3) { display: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 22px; padding: 34px 18px 24px; }
  .footer__bottom { padding: 16px 18px 24px; }
  .searchbar__actions { flex-direction: column; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .prose { font-size: 15px; }
  .toast { left: 18px; right: 18px; transform: translateY(20px); text-align: center; }
  .toast.is-show { transform: none; }
}
