@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url("https://fonts.googleapis.com/css?family=Zilla+Slab+Highlight:400,700|Zilla+Slab:400,500,700,600|Manrope:400,500,700,600|Inter+Tight:400"); /* @FONTWARNING[{"type": "restricted", "family": "Redaction 10-Regular", "weight": "400", "style": "normal", "allowsCrossOrigin": false}] */
* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
html,
body {
  margin: 0px;
  height: 100%;
}
/* a blue color as a generic focus style */
button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}
a {
  text-decoration: none;
}

@font-face {
  font-family: "Redaction 10-Regular";
  src: local("Redaction 10-Regular");
}

/* --------------------------------------------------------------------------
   MarkZip — общие токены, контейнер, шапка и футер (все страницы)
   -------------------------------------------------------------------------- */

:root {
  --mz-purple: #5a3fff;
  --mz-purple-hover: #4a32d9;
  --mz-ink: #2d1b69;
  --mz-ink-deep: #211050;
  --mz-label: #7096ff;
  --mz-lavender: #f5f5ff;
  --mz-card-lavender: #f6f4fe;
  --mz-light-purple: #f7f4fe;
  --light-purple: #f7f4fe;
  --mz-text: #1f2937;
  --mz-muted: #6b7280;
  --mz-border: #e5e7eb;
  --mz-font-sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mz-font-serif: "Zilla Slab", Georgia, "Times New Roman", serif;
  --mz-font-highlight: "Zilla Slab Highlight", "Zilla Slab", Georgia, serif;
  --mz-pad-section: clamp(3rem, 8vw, 7.5rem);
  --mz-pad-x: clamp(1.25rem, 5vw, 5rem);
  --mz-content-width: 85%;
  --mz-content-max: 1600px;
  --bg-purple: #221151;
}

.mz-page {
  background: #fff;
  color: var(--mz-text);
  font-family: var(--mz-font-sans);
  line-height: 1.5;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Короткие страницы: футер у нижнего края окна */
.mz-page > main {
  flex: 1 0 auto;
}

.mz-page button,
.mz-page input,
.mz-page textarea,
.mz-page select {
  font-family: inherit;
}

.mz-container {
  width: var(--mz-content-width);
  max-width: var(--mz-content-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--mz-pad-x);
  padding-right: var(--mz-pad-x);
  box-sizing: border-box;
}

.mz-container--narrow {
  width: var(--mz-content-width);
  max-width: min(var(--mz-content-max), 48rem);
  box-sizing: border-box;
}

.mz-topbar {
  border-bottom: 1px solid rgba(33, 16, 80, 0.12);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  flex-shrink: 0;
}

.mz-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.125rem;
  padding-bottom: 1.125rem;
}

.mz-logo {
  font-family: var(--mz-font-highlight);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--mz-ink-deep);
}

.mz-logo-accent {
  font-family: var(--mz-font-serif);
  font-weight: 700;
  color: #534ab7;
}

.mz-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  font-family: var(--mz-font-sans);
  font-weight: 600;
  color: #fff;
  background: var(--mz-purple);
  border: none;
  border-radius: 1px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.25s ease;
}

.mz-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 62%,
    transparent 100%
  );
  transform: translateX(-130%) skewX(-12deg);
  pointer-events: none;
}

.mz-btn:hover {
  color: #fff;
  transform: scale(1.04);
  background: linear-gradient(
    120deg,
    var(--mz-purple-hover) 0%,
    #6d52ff 35%,
    #8b7aff 65%,
    var(--mz-purple-hover) 100%
  );
  background-size: 220% 220%;
  animation: mz-btn-gradient-flow 2.8s ease infinite;
  box-shadow: 0 8px 28px rgba(90, 63, 255, 0.38);
}

.mz-btn:hover::before {
  animation: mz-btn-shine 0.7s ease;
}

@keyframes mz-btn-gradient-flow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes mz-btn-shine {
  0% {
    transform: translateX(-130%) skewX(-12deg);
  }
  100% {
    transform: translateX(130%) skewX(-12deg);
  }
}

.mz-btn:focus-visible {
  outline: 2px solid var(--mz-label);
  outline-offset: 3px;
}

.mz-btn--sm {
  padding: 0.65rem 1.35rem;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.mz-btn--xl {
  padding: 1.15rem 5.75rem;
  font-size: clamp(1.125rem, 2.5vw, 2.5rem);
  border-radius: 1px;
}

/* Footer */
.mz-footer {
  --mz-footer-bg: #534eb1;
  background: var(--mz-footer-bg);
  color: #fff;
  padding: clamp(2.75rem, 6vw, 4.25rem) 0 clamp(1.5rem, 4vw, 2rem);
  font-family: var(--mz-font-sans);
  flex-shrink: 0;
}

.mz-footer-wrap {
  display: flex;
  flex-direction: column;
}

.mz-footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.mz-footer-brand {
  flex: 1 1 auto;
  min-width: min(100%, 18rem);
  max-width: 26rem;
}

.mz-footer-logo {
  margin: 0;
  font-family: var(--mz-font-highlight);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: #1e1251;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: capitalize;
}

.mz-footer-logo span {
  font-family: var(--mz-font-serif);
  font-weight: 700;
  color: #fff;
}

.mz-footer-tagline {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  max-width: 16rem;
  line-height: 1.4;
}

.mz-footer-brand.mz-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mz-footer-brand > a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  width: fit-content;
}

.mz-footer-brand > a:hover {
  color: #fff;
}

.mz-footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(1.35rem, 3.5vw, 2rem);
  flex: 0 1 auto;
}

.mz-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 0.65rem;
}

.mz-footer-nav .mz-footer-row a {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  font-family: var(--mz-font-sans);
}

.mz-footer-nav .mz-footer-row a:hover {
  text-decoration: underline;
}

.mz-footer-sep {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
  user-select: none;
}

.mz-footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  padding-top: clamp(1.25rem, 3vw, 1.5rem);
}

.mz-copyright {
  margin: 0;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
}

@media (max-width: 767px) {
  .mz-topbar-inner {
    flex-wrap: wrap;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
  }

  .mz-topbar-inner .mz-btn--sm {
    width: 100%;
    justify-content: center;
    order: 3;
  }

  .mz-topbar-inner .mz-logo {
    order: 1;
  }

  .mz-footer-main {
    flex-direction: column;
    align-items: stretch;
  }

  .mz-footer-nav {
    align-items: stretch;
    width: 100%;
  }

  .mz-footer-row {
    justify-content: flex-start;
  }
}

@media (min-width: 768px) {
  .mz-topbar-inner .mz-btn--sm {
    order: unset;
    width: auto;
  }
}
