:root {
  --bg: #f7faf9; --band: #eef4f3; --card: #ffffff; --line: #d4dfe2; --line-soft: #e8eef0;
  --text: #162b38; --muted: #5f747b; --accent: #14656b; --accent-hover: #0f5257; --on-accent: #ffffff;
  --tint: #e6f2f1; --tint-text: #14656b; --code: #f3f6f7;
  --ok: #1f7a57; --ok-bg: #e3f2eb; --warn: #8a5a00; --warn-bg: #fbf0d9; --bad: #a23a2a; --bad-bg: #fbe8e4;
  --pic: #efe9e1; --shadow: 0 12px 36px rgba(22, 43, 56, .10);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0f171b; --band: #131e23; --card: #18242a; --line: #2a3a43; --line-soft: #22313a;
  --text: #e6eef0; --muted: #8fa3ab; --accent: #3fb0a8; --accent-hover: #5cc3bb; --on-accent: #0b1418;
  --tint: #173a3a; --tint-text: #7fd3cc; --code: #111c21;
  --ok: #6fd3a5; --ok-bg: #163428; --warn: #f0c46b; --warn-bg: #3a2e14; --bad: #f29a8a; --bad-bg: #3c1d18;
  --pic: #2a2622; --shadow: 0 12px 36px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f171b; --band: #131e23; --card: #18242a; --line: #2a3a43; --line-soft: #22313a;
    --text: #e6eef0; --muted: #8fa3ab; --accent: #3fb0a8; --accent-hover: #5cc3bb; --on-accent: #0b1418;
    --tint: #173a3a; --tint-text: #7fd3cc; --code: #111c21;
    --ok: #6fd3a5; --ok-bg: #163428; --warn: #f0c46b; --warn-bg: #3a2e14; --bad: #f29a8a; --bad-bg: #3c1d18;
    --pic: #2a2622; --shadow: 0 12px 36px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 700; }
h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 700; }
h3 { font-size: 17px; font-weight: 600; }
p { margin: 12px 0 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }

.btn { display: inline-block; padding: 8px 16px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.btn-solid { background: var(--accent); color: var(--on-accent); }
.btn-solid:hover { background: var(--accent-hover); }
.btn-big { padding: 12px 22px; font-size: 16px; }

.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-soft); }
.top-row { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; margin-right: auto; }
.brand img { border-radius: 7px; }
.links { display: flex; gap: 22px; }
.links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.links a:hover { color: var(--text); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; text-transform: uppercase; color: var(--muted); padding: 6px 8px; border-radius: 6px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { color: var(--text); background: var(--tint); }
.lang-menu { position: absolute; right: 0; top: 38px; min-width: 170px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.lang-menu a { display: block; padding: 7px 10px; border-radius: 6px; color: var(--text); text-decoration: none; font-size: 15px; }
.lang-menu a:hover { background: var(--tint); }
.lang-menu a[aria-current] { color: var(--accent); font-weight: 600; }
.theme { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.theme:hover { color: var(--text); background: var(--tint); }
.theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.theme .moon { display: none; }
:root[data-theme="dark"] .theme .sun { display: none; }
:root[data-theme="dark"] .theme .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .sun { display: none; }
  :root:not([data-theme="light"]) .theme .moon { display: block; }
}

section { padding: 80px 0; }
.band { background: var(--band); }
.hero { padding: 72px 0 88px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.split.flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.split.flip .text { order: 2; }
.text p { font-size: 18px; color: var(--muted); max-width: 460px; }
.lead { font-size: 19px !important; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.cta .muted { font-size: 14px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.visual { display: flex; justify-content: center; }

.card, .shop, .form { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.tag { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.shot { display: flex; align-items: center; gap: 4px; }
.shop { width: 190px; padding: 14px; flex: none; }
.pic { height: 130px; border-radius: 10px; background: var(--pic); display: grid; place-items: center; }
.pic svg { width: 96px; }
.pname { margin-top: 10px; font: 700 15px/1.25 Georgia, serif; }
.pprice { margin-top: 4px; font-weight: 700; color: #b5562b; }
.sizes { display: flex; gap: 5px; margin-top: 8px; }
.sizes span { border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; font-size: 12px; }
.arrow { font-size: 30px; color: var(--accent); padding: 0 6px; }
.form { width: 330px; padding: 16px 18px; }
.ftitle { font-weight: 700; margin-bottom: 6px; }
.frow { display: grid; grid-template-columns: 78px minmax(0, 1fr) 18px; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.frow b { font-weight: 400; color: var(--muted); font-size: 12px; }
.frow span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frow i { width: 16px; height: 16px; border-radius: 50%; background: var(--ok); position: relative; }
.frow i::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid var(--card); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.thumbs { display: flex; gap: 4px; }
.thumbs em, .result em, .lrow em { display: block; width: 24px; height: 24px; border-radius: 4px; background: #b5562b; }
.thumbs em.b, .lrow em.b { background: #2f4f7a; }
.thumbs em.g, .lrow em.g { background: #5d7a3a; }
.done { margin-top: 12px; padding: 8px 10px; border-radius: 8px; background: var(--ok-bg); color: var(--ok); font-size: 13px; font-weight: 600; }
.pub { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; }
.fake-btn { background: var(--accent); color: var(--on-accent); border-radius: 6px; padding: 6px 12px; font-weight: 600; font-size: 13px; }

.tpl { width: 100%; max-width: 460px; padding: 20px; }
.code { padding: 12px 14px; border-radius: 8px; background: var(--code); font: 14px/1.7 Consolas, Menlo, monospace; }
.code i { font-style: normal; background: var(--tint); color: var(--tint-text); border-radius: 4px; padding: 1px 4px; }
.down { text-align: center; font-size: 24px; color: var(--accent); margin: 8px 0; }
.result { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 10px; }
.result em { width: 40px; height: 40px; border-radius: 8px; }
.result strong, .lrow strong { display: block; font-size: 15px; }
.result small, .lrow small { color: var(--muted); font-size: 13px; }

.markets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 480px; }
.markets div { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; font-weight: 600; }
.markets small { font-size: 11px; font-weight: 700; color: var(--tint-text); background: var(--tint); border-radius: 5px; padding: 2px 6px; white-space: nowrap; }
.markets .more { justify-content: center; font-weight: 400; color: var(--muted); border-style: dashed; background: transparent; font-size: 14px; }

.list { width: 100%; max-width: 460px; padding: 20px; }
.lrow { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.lrow em { width: 36px; height: 36px; border-radius: 8px; }
.lrow > span { font-size: 13px; font-weight: 600; border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.ok { color: var(--ok); background: var(--ok-bg); }
.warn { color: var(--warn); background: var(--warn-bg); }
.bad { color: var(--bad); background: var(--bad-bg); }
.checked { margin-top: 12px; font-size: 13px; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li { padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.steps span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tint); color: var(--tint-text); font-weight: 700; margin-bottom: 14px; }
.steps p { color: var(--muted); font-size: 15px; }
.promise { max-width: 640px; margin: 32px auto 0; text-align: center; color: var(--muted); }

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 36px 0 20px; }
.plan { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.plan .price { margin-top: 10px; font-size: 30px; font-weight: 700; }
.plan .price small { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.plan p { color: var(--muted); font-size: 14px; }

footer { border-top: 1px solid var(--line-soft); padding: 28px 0; font-size: 14px; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; gap: 24px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }

@media (max-width: 900px) {
  .split, .split.flip { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split.flip .text { order: 0; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .links { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  section { padding: 56px 0; }
  .hero { padding: 40px 0 56px; }
  .top-row { gap: 8px; }
  .brand { font-size: 16px; }
  .signin { padding: 7px 12px; font-size: 14px; }
  .shot { flex-direction: column; }
  .arrow { transform: rotate(90deg); }
  .shop, .form { width: 100%; max-width: 330px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .markets div { padding: 10px 12px; font-size: 14px; }
}
