:root {
  --bg: #f3f5fb;
  --ink: #1b1e27;
  --muted: #6c7380;
  --line: #e7e9f0;
  --card: #ffffff;
  --yellow: #ffd84a;
  --yellow-deep: #f5c400;
  --yellow-soft: #fff6d8;
  --blue-soft: #e8f1ff;
  --green-soft: #e7f8ef;
  --green: #178a4a;
  --red: #d92d20;
  --orange: #f79009;
  --shadow: 0 12px 32px rgba(28, 39, 68, 0.06);
  --radius: 20px;
  --sidebar: 248px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; }

.topbar {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: #1b1e27; color: var(--yellow);
  display: grid; place-items: center;
}
.nav { display: flex; gap: 22px; color: #3c4250; font-weight: 600; font-size: 15px; }
.nav a:hover { color: #111; }
.top-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }

.btn {
  border: 0; cursor: pointer; border-radius: 12px;
  padding: 12px 18px; font-weight: 700; display: inline-flex;
  align-items: center; justify-content: center; gap: 8px;
}
.btn-yellow { background: var(--yellow); color: #1b1e27; }
.btn-yellow:hover { background: var(--yellow-deep); }
.btn-dark { background: #1b1e27; color: white; }
.btn-ghost { background: transparent; color: #1b1e27; }
.btn-line { background: #fff; border: 1px solid var(--line); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: default; }

.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; padding: 18px 0 10px; }
.pill {
  display: inline-flex; background: var(--yellow-soft); color: #8a6400;
  border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 13px; margin-bottom: 16px;
}
.hero h1 { font-size: 52px; letter-spacing: -1.2px; }
.lead { font-size: 18px; color: #4b5160; max-width: 520px; }
.fine { color: var(--muted); font-size: 13px; margin-top: 10px; }

.laptop {
  background: linear-gradient(#fff, #fff7df);
  border-radius: 28px; padding: 22px 22px 0; position: relative;
}
.screen {
  background: white; border-radius: 16px 16px 0 0; box-shadow: var(--shadow);
  padding: 16px; border: 1px solid #f0e7c8;
}
.screen-top { display: flex; justify-content: space-between; font-weight: 800; margin-bottom: 12px; }
.bars { display: grid; gap: 8px; }
.bar { height: 12px; border-radius: 8px; background: #eef1f6; }
.bar.short { width: 70%; }
.chart {
  height: 90px; margin-top: 14px; border-radius: 12px;
  background: linear-gradient(#fff, #f3f8ff);
  position: relative; overflow: hidden;
}
.chart svg { width: 100%; height: 100%; }
.float-card {
  background: white; border-radius: 14px;
  box-shadow: var(--shadow); padding: 12px 14px; font-size: 14px; margin-top: 10px;
}
.ok { color: var(--green); font-weight: 700; }

.features, .steps, .fit { padding: 54px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.icon-bubble {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  margin-bottom: 12px; font-size: 22px;
}
.bubble-blue { background: var(--blue-soft); }
.bubble-yellow { background: var(--yellow-soft); }
.bubble-green { background: var(--green-soft); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px;
}
.step-no {
  width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-soft); font-weight: 800; margin-bottom: 10px;
}
.fit-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tag { background: #f4f6fb; border-radius: 999px; padding: 8px 12px; font-weight: 700; font-size: 14px; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: #3c4250; font-weight: 700; margin-right: 14px; }

.page { padding-bottom: 50px; }
.page h1 { font-size: 40px; margin: 10px 0 18px; }
.prose { max-width: 760px; }
.prose p, .prose li { color: #3c4250; }
.table { width: 100%; border-collapse: collapse; background: white; border-radius: 16px; overflow: hidden; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.table th { color: var(--muted); font-weight: 700; }

.shell { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar) 1fr; background: var(--bg); }
.side {
  background: #fff; border-right: 1px solid var(--line); padding: 18px 14px;
  position: sticky; top: 0; height: 100vh;
}
.side nav { display: grid; gap: 4px; margin-top: 18px; }
.side a {
  display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px;
  color: #3c4250; font-weight: 650; font-weight: 600;
}
.side a.active, .side a:hover { background: var(--yellow-soft); color: #1b1e27; }
.main { padding: 18px 22px 40px; }
.cabinet-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line);
  background: white; display: grid; place-items: center; position: relative;
}
.dot {
  position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 99px; background: var(--red);
}
.hello h1 { font-size: 32px; }
.hello p { margin: 4px 0 0; color: var(--muted); }

.actions-3 { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 14px; margin: 18px 0; }
.action {
  border-radius: 18px; padding: 18px; min-height: 180px; display: flex; flex-direction: column;
}
.action.yellow { background: #fff4cc; }
.action.blue { background: #e7f0ff; }
.action.green { background: #e5f8ee; }
.action h3 { font-size: 22px; }
.action p { color: #4b5160; flex: 1; }
.plus {
  width: 36px; height: 36px; border-radius: 12px; background: white; display: grid; place-items: center; font-size: 22px; margin-bottom: 8px;
}

.panel { background: white; border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); }
.panel + .panel, .split { margin-top: 14px; }
.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 14px; }
.row-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.campaign { display: grid; grid-template-columns: 1.4fr 0.7fr 0.6fr 0.5fr 0.7fr; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); align-items: center; }
.who { display: flex; gap: 10px; align-items: center; }
.avatar { width: 36px; height: 36px; border-radius: 12px; background: #eef2f8; display: grid; place-items: center; }
.badge { border-radius: 999px; padding: 4px 8px; font-size: 12px; font-weight: 800; }
.badge.green { background: #e7f8ee; color: var(--green); }
.badge.yellow { background: var(--yellow-soft); color: #946200; }
.badge.red { background: #ffe8e6; color: var(--red); }
.badge.gray { background: #f2f4f8; color: #546070; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stats > div { color: var(--muted); font-size: 13px; }
.stats > div b { display: block; color: var(--ink); font-size: 22px; margin: 4px 0; }
.up { color: var(--green); font-size: 12px; font-weight: 800; }
.down { color: var(--red); font-size: 12px; font-weight: 800; }
.rec { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.rec i { font-style: normal; }
.learn-banner {
  margin-top: 14px; background: #eef6ff; border-radius: 18px; padding: 16px 18px;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.note {
  background: var(--yellow-soft); border-radius: 12px; padding: 10px 12px; color: #6d5310; font-size: 14px;
}

label { display: block; font-weight: 700; margin: 12px 0 6px; }
input[type="text"], input[type="url"], input[type="tel"], textarea, select {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: white;
}
textarea { min-height: 90px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; margin: 8px 0; }
.check input { margin-top: 4px; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice, button.choice {
  width: 100%;
  border: 1px solid var(--line); background: white; border-radius: 16px; padding: 14px; text-align: left; cursor: pointer;
}
.choice:hover, .choice.active { border-color: var(--yellow-deep); background: #fffdf5; }
.progress { color: var(--muted); font-weight: 800; font-size: 13px; margin-bottom: 8px; }
.ad-preview { background: white; border-radius: 16px; padding: 16px; border: 1px solid var(--line); }
.ad-preview .url { color: var(--green); font-size: 13px; }
.ad-preview .title { color: #1a46b8; font-weight: 800; font-size: 18px; margin: 4px 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.copy-box { background: #f7f8fb; border-radius: 12px; padding: 10px; white-space: pre-wrap; }
.issue { border-left: 4px solid var(--orange); }
.issue.red { border-left-color: var(--red); }
.issue.yellow { border-left-color: var(--orange); }
.issue.green { border-left-color: var(--green); }
.lock { color: var(--muted); background: #f7f8fb; border-radius: 10px; padding: 8px 10px; }
.flash { background: #e7f8ee; border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; }
.error { background: #ffe8e6; color: #8d1d16; border-radius: 12px; padding: 10px 12px; }
.glossary { width: 100%; }
.wizard { max-width: 860px; }

@media (max-width: 980px) {
  .hero, .actions-3, .split, .grid-3, .choices, .two, .stats { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .shell { grid-template-columns: 1fr; }
  .side { position: relative; height: auto; }
  .side nav { display: flex; overflow: auto; }
  .campaign { grid-template-columns: 1fr; }
  .nav { display: none; }
  .float-card { position: static; margin-top: 10px; }
}
