/* MAKE MaxNotify — smmake.ru */
:root {
  --red: #e10600;
  --red-deep: #9e0400;
  --ink: #14110f;
  --mute: #5a534c;
  --paper: #f3efe8;
  --sand: #e7e0d4;
  --white: #fffaf5;
  --line: rgba(20, 17, 15, 0.12);
  --font-d: "Unbounded", system-ui, sans-serif;
  --font-b: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-b);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(720px, calc(100% - 40px));
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(243, 239, 232, 0.82);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand em {
  font-style: normal;
  color: var(--red);
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 0.95rem;
  color: var(--mute);
}

.nav a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--red);
  color: #fff;
}

.btn--primary:hover {
  background: var(--red-deep);
}

.btn--ghost {
  border-color: var(--line);
  background: transparent;
}

.btn--lg {
  min-height: 64px;
  padding: 0 36px;
  font-size: 1.1rem;
}

.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -10% -5% auto;
  height: 120%;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(225, 6, 0, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(225, 6, 0, 0.08), transparent 55%),
    linear-gradient(160deg, #efe8dc 0%, var(--paper) 55%, #ebe4d8 100%);
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 14px;
}

.hero__brand {
  font-family: var(--font-d);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.hero__lead {
  font-size: 1.15rem;
  color: var(--mute);
  max-width: 34ch;
  margin-bottom: 28px;
}

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

.hero__stage {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(340px, 100%);
  background: #1a1614;
  color: #f7f1ea;
  border-radius: 28px;
  padding: 18px 16px 22px;
  box-shadow: 0 30px 80px rgba(20, 17, 15, 0.28);
  animation: float 5.5s var(--ease) infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.phone__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.phone__top img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.bubble {
  background: #2a2420;
  border-radius: 16px 16px 16px 4px;
  padding: 14px 16px;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 10px;
}

.bubble strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.bubble--delay {
  animation: fadeIn 0.8s 0.6s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.section {
  padding: 88px 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(231, 224, 212, 0.55), transparent);
}

.section h2,
.cta h2 {
  font-family: var(--font-d);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section__lead {
  color: var(--mute);
  max-width: 52ch;
  margin-bottom: 36px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  padding: 26px 24px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 245, 0.55);
  transition: border-color 0.25s, transform 0.35s var(--ease);
}

.feature:hover {
  border-color: rgba(225, 6, 0, 0.35);
  transform: translateY(-3px);
}

.feature h3 {
  font-family: var(--font-d);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.feature p {
  color: var(--mute);
  font-size: 0.98rem;
}

.how {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.how h2 {
  margin-bottom: 28px;
}

.how .btn--lg {
  width: min(100%, 520px);
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.plan {
  padding: 32px 28px;
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan--pro {
  border-color: var(--red);
  box-shadow: 0 18px 50px rgba(225, 6, 0, 0.12);
  position: relative;
}

.plan__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
}

.plan h3 {
  font-family: var(--font-d);
  font-size: 1.4rem;
}

.plan__price {
  font-family: var(--font-d);
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.plan__price small {
  font-size: 0.9rem;
  color: var(--mute);
  font-family: var(--font-b);
}

.plan ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--mute);
  flex: 1;
}

.plan ul li::before {
  content: "→ ";
  color: var(--red);
}

.plan__note {
  font-size: 0.8rem;
  color: var(--mute);
}

.plans__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.plans__actions .btn--lg {
  min-width: min(100%, 260px);
}

.faq {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin-top: 10px;
  color: var(--mute);
}

.support {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.support__mail {
  margin-top: 18px;
  font-family: var(--font-d);
  font-size: 1.15rem;
  font-weight: 600;
}

.support__mail a {
  color: var(--red);
}

.support-form {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  background: var(--white);
}

.support-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.support-form label span {
  color: var(--mute);
  font-weight: 500;
}

.support-form input,
.support-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
  outline: none;
}

.support-form input:focus,
.support-form textarea:focus {
  border-color: color-mix(in srgb, var(--red) 45%, var(--line));
  background: #fff;
}

.support-form textarea {
  resize: vertical;
  min-height: 120px;
}

.support-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.support-form__status {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--sand);
}

.support-form__status.is-ok {
  color: #1f6b3a;
  border-color: color-mix(in srgb, #1f6b3a 35%, var(--line));
  background: color-mix(in srgb, #1f6b3a 8%, var(--white));
}

.support-form__status.is-err {
  color: var(--red-deep);
  border-color: color-mix(in srgb, var(--red) 35%, var(--line));
  background: color-mix(in srgb, var(--red) 8%, var(--white));
}

.support-form__status[hidden] {
  display: none !important;
}

.support-form .btn {
  justify-self: start;
}

.support-form .btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.cta {
  padding: 0 0 96px;
}

.cta__inner {
  padding: 48px 40px;
  background:
    linear-gradient(135deg, rgba(225, 6, 0, 0.92), rgba(158, 4, 0, 0.95)),
    var(--red);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta .btn--primary {
  background: #fff;
  color: var(--red);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--mute);
  font-size: 0.95rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.legal {
  padding: 48px 0 96px;
}

.legal__inner {
  max-width: 720px;
}

.legal h1 {
  font-family: var(--font-d);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 10px;
  line-height: 1.15;
}

.legal__meta {
  color: var(--mute);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.legal__meta a,
.legal a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal section {
  margin-bottom: 28px;
}

.legal h2 {
  font-family: var(--font-d);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.legal p,
.legal li {
  color: var(--ink);
  margin-bottom: 10px;
}

.legal ul {
  margin: 0 0 10px 1.2em;
}

.support-form label.support-form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--mute);
  line-height: 1.4;
}

.support-form label.support-form__consent input[type="checkbox"] {
  width: 1.05em;
  height: 1.05em;
  min-width: 1.05em;
  margin: 0.2em 0 0;
  padding: 0;
  border: none;
  background: transparent;
  flex-shrink: 0;
  accent-color: var(--red);
}

.support-form__consent a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  max-width: 640px;
  margin-inline: auto;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(20, 17, 15, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  justify-content: space-between;
}

.cookie-bar p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.92rem;
  color: var(--mute);
}

.cookie-bar a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-bar__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-bar[hidden] {
  display: none !important;
}

.nav a.is-active {
  color: var(--red);
  font-weight: 600;
}

.docs {
  padding: 48px 0 96px;
}

.docs__layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

.docs__toc {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--mute);
}

.docs__toc a:hover {
  color: var(--red);
}

.docs__toc a.is-active {
  color: var(--red);
  font-weight: 600;
}

.docs__content h1 {
  font-family: var(--font-d);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 12px;
  line-height: 1.15;
}

.docs__lead {
  color: var(--mute);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 58ch;
}

.docs__step {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.docs__step h2 {
  font-family: var(--font-d);
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.docs__step ol {
  margin: 0 0 20px 1.2em;
  color: var(--ink);
}

.docs__step li {
  margin-bottom: 8px;
}

.docs__step a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.docs__step code {
  font-size: 0.9em;
  background: var(--sand);
  padding: 1px 6px;
}

.shot {
  margin: 0 0 18px;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}

.shot img {
  width: 100%;
  height: auto;
  background: var(--sand);
}

.shot figcaption {
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--mute);
  border-top: 1px solid var(--line);
}

.shot__ph {
  min-height: 200px;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--mute);
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(20, 17, 15, 0.03) 8px,
      rgba(20, 17, 15, 0.03) 16px
    ),
    var(--sand);
  font-weight: 600;
}

.docs__back {
  margin-top: 24px;
}

.docs__back a {
  color: var(--red);
  font-weight: 600;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  vertical-align: middle;
}

.badge--free {
  background: var(--sand);
  color: var(--ink);
}

.badge--pro {
  background: var(--red);
  color: #fff;
}

.docs-compare {
  border: 1px solid var(--line);
  background: var(--white);
  margin-bottom: 16px;
}

.docs-compare__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  align-items: center;
}

.docs-compare__row:first-child {
  border-top: 0;
}

.docs-compare__row--head {
  background: var(--sand);
  font-weight: 600;
  font-size: 0.88rem;
}

.docs-compare__row em {
  font-style: normal;
  color: var(--red);
  font-weight: 600;
}

.docs-note {
  color: var(--mute);
  font-size: 0.95rem;
  margin: 0 0 12px;
}

.docs-note--skip {
  padding: 10px 14px;
  background: var(--sand);
  border-left: 3px solid var(--red);
}

.docs-callout {
  padding: 14px 16px;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.docs-callout--pro {
  border-color: color-mix(in srgb, var(--red) 35%, var(--line));
  background: color-mix(in srgb, var(--red) 6%, var(--white));
}

.docs-callout p {
  margin: 0;
}

.docs-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 8px;
}

.docs-modes article {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 14px 16px;
}

.docs-modes h3 {
  font-family: var(--font-d);
  font-size: 1rem;
  margin: 8px 0 6px;
}

.docs-modes p {
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: var(--mute);
}

.docs-modes a {
  color: var(--red);
  font-weight: 600;
  font-size: 0.9rem;
}

.docs__step ul {
  margin: 8px 0 0 1.1em;
}

.docs__step ul li {
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero__grid,
  .features,
  .plans,
  .docs__layout,
  .docs-modes,
  .support {
    grid-template-columns: 1fr;
  }

  .docs-compare__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .docs__toc {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .hero {
    padding-top: 40px;
  }
}
