:root {
  --purple: #67347c;
  --purple-soft: rgba(149, 63, 186, 0.2);
  --purple-box: rgba(140, 101, 174, 0.2);
  --purple-box-deep: rgba(140, 101, 174, 0.4);
  --red: #ff0000;
  --green: #009e3f;
  --green-dark: #008a37;
  --text: #111;
  --muted: #969696;
  --line: #1a1a1a;
  --max: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.banner {
  background: var(--purple);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 16px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 80px;
}

.crumbs {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 18px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

article h1,
article h2 {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

article h2 { margin-top: 36px; }

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

.mark {
  background: var(--purple-soft);
  padding: 0 2px;
}

.lede {
  font-size: 22px;
  line-height: 1.45;
  font-weight: 700;
  margin: 18px 0 14px;
}

article p {
  font-size: 20px;
  line-height: 1.7;
  margin: 0 0 16px;
}

article p.bold,
article li strong { font-weight: 700; }

.figure {
  margin: 8px 0 18px;
}

.figure img,
.figure video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #111;
}

.stars {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 18px;
  color: var(--purple);
  font-size: 16px;
  font-weight: 700;
}

.stars span.glyphs {
  letter-spacing: 2px;
  font-size: 18px;
}

.author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 8px;
}

.author img.avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
}

.author .name {
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.author .verified {
  width: 18px;
  height: 18px;
}

.author .meta {
  margin: 0;
  font-size: 16px;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.checks li {
  position: relative;
  padding-left: 28px;
  font-size: 20px;
  line-height: 1.55;
  margin: 0 0 8px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2e9b4f url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='white' d='M6.2 11.2 3.3 8.3l1.1-1.1 1.8 1.8 4.4-4.4 1.1 1.1z'/></svg>") center / 12px no-repeat;
}

.steps {
  margin: 0 0 16px;
  padding-left: 22px;
  font-size: 20px;
  line-height: 1.55;
}

.steps li { margin: 0 0 8px; }

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  margin: 18px 0;
  padding: 14px 24px;
  border-radius: 16px;
  background: var(--green);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
}

.cta:hover { background: var(--green-dark); }

.note {
  font-size: 18px;
  line-height: 1.65;
}

.offer {
  background: var(--purple-box);
  border-radius: 8px;
  padding: 22px 22px 8px;
  margin-top: 12px;
}

.offer p { font-size: 18px; }

.perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: var(--purple-box-deep);
  border-radius: 8px;
  padding: 18px 10px;
  margin: 8px -10px 16px;
  text-align: center;
}

.perks img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.perks p {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 8px 0 0;
}

.badge-xl {
  display: block;
  width: min(280px, 70%);
  margin: 8px auto 12px;
}

.pay {
  display: block;
  width: min(520px, 100%);
  margin: 8px auto 16px;
}

aside.card {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 16px;
  border: 1px solid #d8d8d8;
  border-radius: 16px;
  padding: 22px 18px 16px;
  text-align: center;
  background: #fff;
}

article {
  grid-column: 1;
  grid-row: 1;
}

aside.card h2 {
  font-size: 22px;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.product {
  width: 150px;
  height: auto;
  margin: 0 auto 14px;
  display: block;
}

aside .cta {
  font-size: 16px;
  min-height: 72px;
  padding: 12px 16px;
  margin: 0 0 14px;
}

.guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  margin: 0 0 12px;
}

.guarantee .tick {
  color: #111;
  font-size: 18px;
}

.reviews {
  width: 100%;
  height: auto;
  display: block;
}

.float-offer {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 30;
  width: 148px;
  background: #dbc4ff;
  color: #1a1a1a;
  text-decoration: none;
  text-align: center;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.15;
  padding: 16px 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  aside.card,
  article {
    grid-column: 1;
    grid-row: auto;
  }

  article { order: 1; }
  aside.card { order: 2; }

  aside.card {
    position: static;
    margin-top: 28px;
  }

  article h1,
  article h2 { font-size: 32px; }

  .lede,
  article p,
  .checks li,
  .steps { font-size: 18px; }

  .perks { grid-template-columns: repeat(2, 1fr); }

  .wrap { width: min(var(--max), calc(100% - 28px)); }
}
