* {
  box-sizing: border-box;
}

a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

main {
  display: block;
}

:focus {
  outline: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:after,
blockquote:before,
q:after,
q:before {
  content: "";
  content: none;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  -moz-appearance: none;
}

input[type="search"] {
  -webkit-appearance: none;
  -moz-appearance: none;
}

audio,
canvas,
video {
  display: inline-block;
  max-width: 100%;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden] {
  display: none;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

a:focus {
  outline: thin dotted;
}

a:active,
a:hover {
  outline: 0;
}

img {
  border: 0;
  -ms-interpolation-mode: bicubic;
  vertical-align: middle;
}

figure,
form {
  margin: 0;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

a {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  text-decoration: none;
}

li,
ol,
ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

button {
  background-color: transparent;
  font-family: inherit;
  font-size: inherit;
}

button,
input,
select {
  border: none;
  margin: 0;
  padding: 0;
}

input,
select {
  -webkit-appearance: none;
}

a,
a:focus,
button,
button:focus {
  outline: none;
  box-shadow: none;
}

:after {
  box-sizing: border-box;
}

body,
html {
  height: 100%;
}

body {
  font-size: 18px;
  font-family: "Inter", Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-text);
  background:
    radial-gradient(circle at top right, rgba(91, 45, 130, 0.08), transparent 30%),
    radial-gradient(circle at bottom left, rgba(211, 84, 54, 0.06), transparent 25%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-soft) 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
}

strong,
b {
  font-weight: 700;
}

:root {
  --color-primary: #5b2d82;
  --color-primary-dark: #3a1d55;
  --color-primary-deep: #2a123f;
  --color-accent: #d35436;
  --color-accent-hover: #b8452d;
  --color-bg: #faf8fc;
  --color-bg-soft: #f3eef7;
  --color-surface: #ffffff;
  --color-text: #2b2430;
  --color-text-muted: #5c5363;
  --color-border: #e7deee;
  --color-link-bg: #f7f1fb;
  --color-link-border: #ddcfe8;
  --color-footer-accent: #e8b4bc;
  --shadow-soft: 0 8px 28px rgba(58, 29, 85, 0.08);
  --shadow-strong: 0 16px 42px rgba(58, 29, 85, 0.13);
  --radius-lg: 20px;
}

[class*="__container"] {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: content-box;
}

.ad-banner {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 20px;
  text-align: center;
}

.ad-banner__text {
  display: inline-block;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  background-color: var(--color-accent);
  padding: 5px 16px;
  border-radius: 16px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.topbar {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: 0 2px 14px rgba(58, 29, 85, 0.06);
}

.topbar__container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.topbar__logo img {
  max-width: 180px;
  height: auto;
  display: block;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

.page {
  flex: 1 1 auto;
}

.hero {
  padding: 42px 0 34px;
}

.hero__kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.hero__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.18;
  color: var(--color-primary-dark);
  margin-bottom: 28px;
  letter-spacing: -0.9px;
  text-wrap: balance;
}

.hero__media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--color-border);
}

.hero__img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  transform: scale(1.01);
}

.hero__text {
  color: var(--color-text-muted);
  font-family: "Lora", Georgia, serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.65;
}

.hero__text:not(:last-child) {
  margin-bottom: 18px;
}

.compliance-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f7f4fb;
  border: 1px solid #dfd3ea;
  color: #5b4b66;
  font-size: 14px;
  line-height: 1.45;
}

.main {
  padding: 8px 0 76px;
}

.main__container {
  display: grid;
  gap: 26px;
}

.main__block {
  display: grid;
  grid-template-columns: minmax(250px, 38%) 1fr;
  align-items: stretch;
  padding: 0;
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.main__block:nth-child(even) .main__img {
  order: 2;
}

.main__block:nth-child(even) .main__items {
  order: 1;
}

.main__block:hover {
  transform: translateY(-3px);
  border-color: #d7c7e6;
  box-shadow: var(--shadow-strong);
}

.main__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.main__items {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px 26px 30px;
}

.main__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 62px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #cdb8dd;
  background: #fbf8fe;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;
  padding: 0 14px;
}

.main__content {
  flex: 1;
  min-width: 0;
}

.main__title {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.4px;
  line-height: 1.35;
  color: var(--color-primary-dark);
}

.main__text {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 14px;
  color: var(--color-text-muted);
}

.main__text:last-of-type {
  margin-bottom: 18px;
}

.main__link {
  display: inline;
  width: auto;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.55;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color 0.2s ease;
}

.main__link:hover {
  color: var(--color-accent);
}

.main__link::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 6px;
  vertical-align: -1px;
  background-color: currentColor;
  -webkit-mask: url("../images/arrow.svg") no-repeat center / contain;
  mask: url("../images/arrow.svg") no-repeat center / contain;
}

.privacy {
  padding: 32px 0 64px;
}

.privacy .hero__container {
  max-width: 860px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-soft);
}

.privacy__updated {
  font-size: 14px;
  color: #7a7a7a;
  margin-bottom: 12px;
}

.privacy a {
  color: var(--color-primary);
  text-decoration: underline;
}

.privacy a:hover {
  color: var(--color-accent);
}

.privacy h1 {
  color: var(--color-primary-dark);
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin-bottom: 24px;
}

.privacy h2 {
  color: var(--color-primary);
  font-size: 24px;
  line-height: 120%;
  letter-spacing: -0.3px;
  margin: 34px 0 12px;
}

.privacy p,
.privacy li {
  color: var(--color-text-muted);
  font-size: 18px;
  line-height: 145%;
}

.privacy p {
  margin-bottom: 14px;
}

.privacy ul {
  margin: 8px 0 18px;
  padding-left: 24px;
  list-style: disc;
}

.privacy ol {
  margin: 8px 0 18px;
  padding-left: 24px;
  list-style: decimal;
}

.privacy li {
  display: list-item;
  list-style: inherit;
  margin-bottom: 8px;
}

.privacy a,
.privacy p:has(> a) {
  overflow-wrap: anywhere;
}

.compliance {
  padding: 0 0 54px;
}

.compliance .hero__container {
  background: #f6f2fa;
  border: 1px solid #e3d8ee;
  border-radius: 14px;
  padding: 20px;
}

.compliance__title {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
}

.compliance__list {
  list-style: disc;
  padding-left: 18px;
}

.compliance__list li {
  display: list-item;
  list-style: inherit;
  margin-bottom: 8px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.footer {
  background: linear-gradient(180deg, var(--color-primary-dark) 0%, var(--color-primary-deep) 100%);
  padding: 48px 0 28px;
  color: #fff;
}

footer a:hover {
  text-decoration: underline;
}

.footer__blocks {
  display: flex;
  gap: 22px;
  margin-bottom: 25px;
}

.footer__block-1 {
  flex: 1 1 49%;
}

.light {
  font-weight: 300;
  line-height: 115%;
}

.light:not(:last-child) {
  margin-bottom: 14px;
}

.footer__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.3;
  color: var(--color-footer-accent);
}

.footer__text {
  font-size: 14px;
  line-height: 116%;
  margin-bottom: 12px;
}

.footer__block-2 {
  flex: 1 1 23%;
}

.footer__item {
  margin-bottom: 10px;
}

.footer__item a {
  font-size: 14px;
  line-height: 100%;
  opacity: 0.92;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer__item a:hover {
  opacity: 1;
  color: #fff4f7;
}

.footer__block-3 {
  flex: 1 1 24%;
}

.grey {
  color: #c9b3d8;
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 8px;
}

@media (max-width: 991px) {
  .footer__blocks {
    flex-wrap: wrap;
  }

  .footer__block-1,
  .footer__block-2,
  .footer__block-3 {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .topbar {
    padding: 12px 0;
  }

  .topbar__logo img {
    max-width: 150px;
  }

  .hero {
    padding: 24px 0 20px;
  }

  .hero__title {
    font-size: 28px;
    letter-spacing: -0.5px;
    line-height: 1.25;
  }

  .hero__img {
    height: 240px;
  }

  .hero__text {
    font-size: 17px;
  }

  .main__img {
    height: 220px;
    min-height: 220px;
  }

  .main__block {
    grid-template-columns: 1fr;
  }

  .main__block:nth-child(even) .main__img,
  .main__block:nth-child(even) .main__items {
    order: initial;
  }

  .main__items {
    gap: 14px;
    padding: 22px 18px 24px;
  }

  .main__number {
    min-width: 58px;
    height: 32px;
    font-size: 13px;
  }

  .main__title {
    font-size: 21px;
  }

  .main__text {
    font-size: 16px;
    margin-left: 0;
  }

  .main__link {
    font-size: 15px;
  }

  .compliance {
    padding-bottom: 38px;
  }

  .compliance .hero__container {
    padding: 16px;
  }

  .compliance__title {
    font-size: 19px;
  }

  .privacy {
    padding: 24px 0 40px;
  }

  .privacy .hero__container {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .privacy h1 {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .privacy h2 {
    font-size: 21px;
    margin: 28px 0 10px;
  }

  .privacy p,
  .privacy li {
    font-size: 16px;
    line-height: 1.5;
  }

  .footer__blocks {
    gap: 9px;
  }
}
