@font-face { font-family: Nunito; src: url(/fonts/Nunito.ttf) format("truetype"); font-weight: 200 1000; font-display: swap; }

:root {
  --violet: #6a3fb8;
  --violet-dark: #52308f;
  --ink: #2b2340;
  --text: #5b5470;
  --muted: #8a83a0;
  --line: #e6e1f0;
  --soft: #f6f1ff;
  --red: #c8372d;
  --bg: #fffdfb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Nunito, system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 900; color: var(--violet); }
h2 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; margin-top: 1.6em; }
h3 { font-size: 21px; font-weight: 800; }
h3 a { color: var(--ink); text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--muted); }
.lead { font-size: 19px; color: var(--text); }
.todo { background: #ffe9a8; color: #6b4a00; padding: 0 4px; border-radius: 4px; }

.top { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--ink); text-decoration: none; font-size: 18px; }
.brand img { border-radius: 50%; background: var(--soft); }
.top nav a { margin-left: 18px; color: var(--text); text-decoration: none; font-weight: 700; }

.pill { display: inline-block; background: var(--red); color: #fff; font-weight: 800; padding: 4px 16px; border-radius: 999px; font-size: 15px; margin: 0 0 14px; }
.hero { background: linear-gradient(180deg, var(--soft), var(--bg)); padding: 40px 0 24px; }
.hero-in { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: center; }
.hero-img { justify-self: center; max-height: 420px; width: auto; }

.btn { display: inline-block; background: var(--violet); color: #fff; font-weight: 800; text-decoration: none; padding: 10px 18px; border-radius: 12px; border: 2px solid var(--violet); }
.btn:hover { background: var(--violet-dark); border-color: var(--violet-dark); }
.btn.ghost { background: transparent; color: var(--violet); }
.btn.big { padding: 14px 26px; font-size: 18px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.card-img { background: var(--soft); padding: 16px 16px 0; }
.card-img img { border-radius: 10px 10px 0 0; box-shadow: 0 4px 18px rgba(43, 35, 64, .12); max-height: 360px; width: auto; margin: 0 auto; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body .buy-row { margin-top: auto; }
.buy-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.price { font-weight: 900; font-size: 24px; color: var(--ink); margin-right: 6px; }
.price.big { font-size: 34px; display: block; margin-bottom: 8px; }

.ticks { padding-left: 0; list-style: none; }
.ticks li { padding-left: 28px; position: relative; margin: 8px 0; color: var(--text); }
.ticks li::before { content: "✓"; position: absolute; left: 4px; color: var(--violet); font-weight: 900; }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { border: 1px solid #f0c9c5; background: #fff7f8; border-radius: 16px; padding: 16px; counter-increment: s; }
.steps li::before { content: counter(s); display: block; color: var(--red); font-weight: 900; font-size: 26px; }
.steps b { display: block; }
.steps span { color: var(--text); font-size: 15px; }
.how { padding-bottom: 32px; }

.crumbs { font-size: 14px; color: var(--muted); margin: 18px 0; }
.product-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery a:first-child { grid-column: 1 / -1; }
.gallery img { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; color: var(--text); }
.facts dt { font-weight: 800; color: var(--ink); }
.facts dd { margin: 0; }
.buy-box { border: 2px solid var(--violet); border-radius: 18px; padding: 18px; margin-top: 20px; background: #fff; position: sticky; top: 76px; }
.field { display: block; font-weight: 700; font-size: 15px; margin: 6px 0 12px; }
.field input { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-weight: 400; border: 2px solid var(--line); border-radius: 12px; }
.field input:focus { outline: none; border-color: var(--violet); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); margin-bottom: 14px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--violet); flex: none; }
button.btn { font: inherit; font-weight: 800; cursor: pointer; width: 100%; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { margin: 8px 0 0; color: var(--text); }
.product { padding-bottom: 40px; }

.doc { max-width: 820px; padding-top: 28px; padding-bottom: 48px; }
.doc h1 { font-size: clamp(26px, 4vw, 36px); }
.doc h2 { font-size: 21px; margin-top: 1.4em; }
.doc p, .doc li { color: var(--text); }

.foot { border-top: 1px solid var(--line); background: #fff; padding: 24px 0 32px; font-size: 15px; color: var(--text); margin-top: 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
.foot p { margin: 4px 0; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero-in, .product-top { grid-template-columns: 1fr; }
  .hero-img { max-height: 260px; order: -1; }
  .steps { grid-template-columns: 1fr; }
  .top nav a { margin-left: 12px; font-size: 15px; }
  .brand span { font-size: 16px; }
  .buy-box { position: static; }
  .product-info { order: -1; }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 6px; }
}
