/* =========================================================
   WN.DMCA — WipeNet
   ========================================================= */

:root {
  --bg: #000000;
  --bg-alt: #000000;
  --surface: #0a0a0a;
  --line: #1a1a1a;
  --line-2: #292929;
  --line-3: #404040;

  --text: #ffffff;
  --text-2: #a0a0a0;
  --text-3: #7a7a7a;

  --accent: #ffffff;

  --font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 6px;
  --radius-sm: 4px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

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

::selection { background: #fff; color: #000; }

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- Typography ---------- */

h1, h2 {
  font-weight: 600;
  line-height: 1.06;
  text-wrap: balance;
}
h1 { letter-spacing: -0.035em; }
h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.03em;
}

/* вторая часть заголовка — тем же шрифтом, приглушённым цветом */
h1 em, h2 em {
  font-style: normal;
  color: var(--text-2);
}

h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--text-3);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: 0;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--line-3);
}

.section-head__lead {
  margin-top: 20px;
  max-width: 560px;
  color: var(--text-2);
  font-size: 1.0625rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.btn--primary { background: var(--text); color: var(--bg); }
.btn--primary:hover { background: #fff; }

.btn--ghost { border-color: var(--line-3); color: var(--text); }
.btn--ghost:hover { border-color: var(--text-2); }

.btn--sm { height: 38px; padding: 0 16px; font-size: .875rem; }
.btn--sm .icon { width: 16px; height: 16px; }
.btn--lg { height: 56px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.header.is-scrolled,
.header.is-open { border-bottom-color: var(--line); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .02em;
}
.brand img { width: 24px; height: 24px; }

.nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav a {
  color: var(--text-2);
  font-size: .875rem;
  font-weight: 500;
  transition: color .2s var(--ease);
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--text); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
}
.lang__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  padding: 0 8px;
  border-radius: 2px;
  color: var(--text-3);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.lang__btn:hover { color: var(--text); }
.lang__btn[aria-current="true"] { background: rgba(255, 255, 255, .1); color: var(--text); }

.burger {
  display: none;
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
}
.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--text);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 22px; }
.header.is-open .burger span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.header.is-open .burger span:nth-child(2) { top: 18px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 128px));
  padding-bottom: clamp(24px, 4vw, 48px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.04;
}

.hero__lead {
  margin-top: 28px;
  max-width: 560px;
  color: var(--text-2);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.hero__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 32px;
  color: var(--text-2);
  font-size: .875rem;
}
.hero__notes li { display: inline-flex; align-items: center; gap: 8px; }
.hero__notes .icon { width: 16px; height: 16px; color: var(--text-3); }

/* иллюстрация: DMCA-жалоба с закрытыми данными */
.hero__visual {
  justify-self: end;
  width: 100%;
  max-width: 440px;
}

.doc {
  padding: 28px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--surface);
}

.doc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.doc__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .03em;
}
.doc__tag {
  padding: 3px 8px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--text-2);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.doc__title {
  margin: 24px 0 20px;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.doc__rows { margin: 0; display: grid; gap: 14px; }
.doc__rows > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: start;
}
.doc__rows dt { color: var(--text-3); font-size: .75rem; line-height: 18px; }
.doc__rows dd { margin: 0; display: grid; gap: 7px; }
.doc__mono { font-family: var(--font-mono); font-size: .75rem; color: var(--text-2); line-height: 18px; }

.redact {
  display: block;
  width: var(--w, 80%);
  height: 10px;
  margin-top: 4px;
  border-radius: 1px;
  background: #262626;
}

.doc__status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-3);
  font-size: .6875rem;
  font-weight: 500;
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid currentColor;
}
.status.is-done { color: var(--text-2); }
.status.is-done::before { background: currentColor; }
.status.is-active { color: var(--accent); }
.status.is-active::before { background: currentColor; }
.status__line { flex: 1; height: 1px; min-width: 10px; background: var(--line-2); }

/* ---------- Sections ---------- */

.section { position: relative; padding-block: clamp(88px, 11vw, 144px); }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

/* ---------- Services: сетка с тонкими линиями ---------- */

.cards {
  display: grid;
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
}
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  padding: 36px 32px 40px;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  transition: background-color .3s var(--ease);
}
.card:hover { background: rgba(255, 255, 255, .03); }
.card h3 { margin: 48px 0 10px; }
.card p { color: var(--text-2); font-size: .9375rem; }

.card__icon {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--text-2);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.step {
  padding: 24px 32px 8px 0;
  border-top: 1px solid var(--line-3);
}
.step__num {
  display: block;
  margin-bottom: 48px;
  color: var(--text-3);
  font-size: .8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: .9375rem; }

/* ---------- Privacy ---------- */

.privacy {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.privacy__intro { position: sticky; top: calc(var(--header-h) + 48px); }

.privacy__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
}
.principle {
  padding: 36px 32px 40px;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.principle__icon {
  width: 22px;
  height: 22px;
  margin-bottom: 40px;
  color: var(--text-2);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.principle h3 { margin-bottom: 10px; }
.principle p { color: var(--text-2); font-size: .9375rem; }

/* ---------- Pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.plan__name { font-size: 1.125rem; }
.plan__desc { margin-top: 10px; min-height: 3.2em; color: var(--text-2); font-size: .9375rem; line-height: 1.6; }

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 28px 0 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.plan__amount {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan__cur { color: var(--text-3); font-size: .8125rem; font-weight: 500; }

.pricing__scope {
  margin-bottom: 24px;
  color: var(--text-2);
  font-size: .9375rem;
}
.pricing__scope a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-3);
  text-underline-offset: 4px;
}
.pricing__scope a:hover { text-decoration-color: var(--text); }

.pricing__note {
  margin-top: 24px;
  color: var(--text-2);
  font-size: .9375rem;
}
.pricing__link {
  margin-left: 6px;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-3);
  text-underline-offset: 4px;
  transition: text-decoration-color .2s var(--ease);
}
.pricing__link:hover { text-decoration-color: var(--text); }

.studios {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  margin-top: 56px;
  padding: 36px 32px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
}
.studios__head { display: flex; gap: 20px; align-items: flex-start; }
.studios__head h3 { font-size: 1.125rem; margin-bottom: 8px; }
.studios__head p { max-width: 560px; color: var(--text-2); font-size: .9375rem; }

/* ---------- Reviews page ---------- */

.page-hero {
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 112px));
  padding-bottom: clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.page-hero__title { font-size: clamp(2.25rem, 4.4vw, 3.5rem); }
.page-hero__text p { max-width: 560px; color: var(--text-2); font-size: 1.0625rem; }
.page-hero__text p + p { margin-top: 16px; }
.page-hero .hero__actions { margin-top: 32px; }

.gallery__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.gallery__title { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.015em; }
.gallery__hint { margin-top: 4px; color: var(--text-3); font-size: .8125rem; }

.gallery__grid {
  columns: 3 300px;
  column-gap: 16px;
}
.gallery__item {
  break-inside: avoid;
  margin-bottom: 16px;
}
.gallery__open {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #000;
  cursor: zoom-in;
  transition: border-color .2s var(--ease);
}
.gallery__open:hover { border-color: var(--line-3); }
.gallery__open img { width: 100%; height: auto; }

.gallery__btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-3);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: border-color .2s var(--ease);
}
.gallery__btn:hover { border-color: var(--text-2); }
.gallery__btn[data-step="-1"] .icon { transform: rotate(180deg); }

/* полноэкранный просмотр */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
  color: var(--text);
}
.lightbox::backdrop { background: rgba(0, 0, 0, .7); }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox__figure {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 64px 16px 8px;
}
.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100dvh - 160px);
  border-radius: var(--radius-sm);
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-3);
  border-radius: var(--radius-sm);
  color: var(--text);
}
.lightbox__close .icon { transform: rotate(45deg); }
.lightbox__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 16px calc(20px + env(safe-area-inset-bottom));
}
.lightbox__count { min-width: 64px; color: var(--text-2); font-size: .875rem; text-align: center; font-variant-numeric: tabular-nums; }

html.is-locked { overflow: hidden; }

/* ---------- Legal pages ---------- */

.legal {
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 112px));
  padding-bottom: clamp(88px, 11vw, 144px);
}
.legal__doc { max-width: 760px; }
.legal__title {
  font-size: clamp(2.25rem, 4.4vw, 3.25rem);
  line-height: 1.08;
}
.legal__date { margin-top: 16px; color: var(--text-3); font-size: .875rem; }
.legal__intro {
  margin-top: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-2);
  color: var(--text);
  font-size: 1.125rem;
}
.legal h2 {
  margin: 48px 0 16px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.legal p,
.legal li { color: var(--text-2); font-size: 1rem; }
.legal p + p,
.legal ul + p,
.legal p + ul { margin-top: 12px; }
.legal ul { display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 20px; }
.legal li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .8em;
  width: 8px;
  height: 1px;
  background: var(--text-3);
}
.legal a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-3);
  text-underline-offset: 4px;
}
.legal a:hover { text-decoration-color: var(--text); }
.legal__doc[hidden] { display: none; }

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.faq__head { position: sticky; top: calc(var(--header-h) + 48px); }

.faq__list { border-top: 1px solid var(--line-3); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 1.0625rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .icon {
  width: 18px;
  height: 18px;
  color: var(--text-3);
  transition: transform .3s var(--ease), color .2s var(--ease);
}
.qa summary:hover .icon { color: var(--text); }
.qa[open] summary .icon { transform: rotate(45deg); color: var(--text); }
.qa p {
  max-width: 640px;
  padding: 0 40px 28px 0;
  color: var(--text-2);
  font-size: .9375rem;
}

/* ---------- Contact ---------- */

/* блок заявки идёт сразу после секции с тем же фоном — верхний отступ не нужен */
#contact { padding-top: 0; }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: clamp(32px, 6vw, 72px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact__list-title { margin: 32px 0 14px; font-weight: 600; font-size: .9375rem; }
.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: .9375rem; }
.checklist .icon { margin-top: 3px; color: var(--text-3); }

.contact__actions { display: flex; flex-direction: column; align-items: stretch; }
.contact__handle { margin-top: 12px; color: var(--text-3); font-size: .875rem; text-align: center; }
.contact__divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
  color: var(--text-3);
  font-size: .8125rem;
}
.contact__divider::before,
.contact__divider::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.contact__mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-2);
  font-weight: 500;
  transition: color .2s var(--ease);
}
.contact__mail:hover { color: var(--text); }

/* ---------- Footer ---------- */

.footer {
  padding-top: 64px;
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__brand p { margin-top: 16px; max-width: 320px; color: var(--text-3); font-size: .875rem; }
.footer__nav,
.footer__contacts { display: grid; gap: 10px; align-content: start; }
.footer__nav a,
.footer__contacts a { color: var(--text-2); font-size: .875rem; transition: color .2s var(--ease); }
.footer__nav a:hover,
.footer__contacts a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 24px 32px;
  background: linear-gradient(var(--line), var(--line)) center top / calc(100% - var(--gutter) * 2) 1px no-repeat;
  color: var(--text-3);
  font-size: .8125rem;
}
.footer__meta { display: grid; gap: 10px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal a { color: var(--text-2); transition: color .2s var(--ease); }
.footer__legal a:hover { color: var(--text); }

/* ---------- Mobile CTA ---------- */

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: var(--bg);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .3s var(--ease);
}
.mobile-cta.is-visible { transform: none; }

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
  .plan__desc { min-height: 0; }
  .studios { grid-template-columns: 1fr; }
  .studios .btn { justify-self: start; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 1.0625rem;
  }
  .nav a:last-child { border-bottom: 0; }

  .header__actions { margin-left: auto; }
  .burger { display: block; }

  .hero__grid,
  .page-hero__grid { grid-template-columns: 1fr; }
  /* на планшете и телефоне карточку DMCA Takedown Notice не показываем */
  .hero__visual { display: none; }

  .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }

  .privacy,
  .faq,
  .contact { grid-template-columns: 1fr; }
  .privacy__intro,
  .faq__head { position: static; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .header__cta { display: none; }

  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__notes { flex-direction: column; gap: 10px; }


  .cards--3,
  .steps,
  .plans,
  .privacy__grid { grid-template-columns: 1fr; }

  .card,
  .principle { padding: 28px 24px 32px; }
  .card h3 { margin-top: 32px; }
  .principle__icon { margin-bottom: 28px; }
  .step { padding-right: 0; }
  .step__num { margin-bottom: 20px; }
  .steps { row-gap: 32px; }

  .section-head--row { align-items: stretch; }
  .studios { padding: 24px; }

  .qa p { padding-right: 0; }
  .legal__title { font-size: 1.875rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding-bottom: 76px; }

  .mobile-cta { display: block; }
}
