:root {
  --nestya-purple-950: #18092f;
  --nestya-purple-900: #24103f;
  --nestya-purple-800: #32165a;
  --nestya-purple-700: #52237f;
  --nestya-purple-600: #6827a8;
  --nestya-violet: #7138ad;
  --nestya-blue: #18aee6;
  --nestya-ink: #170a33;
  --nestya-text: #42526b;
  --nestya-muted: #65718b;
  --nestya-line: #e8e2f1;
  --nestya-surface: #f8f6fb;
  --nestya-white: #ffffff;
  --nestya-container: 1180px;
  --nestya-radius: 14px;
  --nestya-shadow: 0 18px 44px rgba(35, 16, 68, 0.09);
}

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

html {
  scroll-behavior: smooth;
}

body {
  color: var(--nestya-text);
  background: var(--nestya-white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--nestya-ink);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

a {
  color: var(--nestya-purple-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--nestya-purple-800);
}

img {
  max-width: 100%;
  height: auto;
}

.nestya-container,
.page-container {
  width: min(var(--nestya-container), calc(100% - 40px));
  margin-inline: auto;
}

.nestya-section {
  padding-block: clamp(52px, 7vw, 92px);
}

.nestya-kicker {
  margin: 0 0 12px;
  color: var(--nestya-purple-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nestya-button,
.wp-element-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  color: var(--nestya-white);
  background: var(--nestya-purple-600);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.nestya-button:hover,
.nestya-button:focus-visible,
.wp-element-button:hover,
.wp-element-button:focus-visible {
  color: var(--nestya-white);
  background: var(--nestya-purple-800);
  box-shadow: 0 10px 24px rgba(82, 35, 127, 0.22);
  transform: translateY(-1px);
}

.page .site-content {
  display: block;
  padding: 0;
}

.page .content-area,
.page .site-main {
  width: 100%;
  max-width: none;
  margin: 0;
}

.page .inside-article {
  padding: 0;
}

.page .entry-header:has(+ .entry-content > .nestya-page) {
  display: none;
}

.page .entry-content {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(24, 174, 230, 0.72);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .nestya-container,
  .page-container {
    width: min(var(--nestya-container), calc(100% - 28px));
  }

  .nestya-section {
    padding-block: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

