:root {
  color-scheme: light;
  --bg: #f4f4f2;
  --surface: #fcfcfb;
  --border: #e2e1dc;
  --text-primary: #0b0b0b;
  --text-secondary: #52514e;
  --text-muted: #77766f;
  --accent: #2a78d6;
  --accent-hover: #256abf;
  --bubble-me: #d9fdd3;
  --bubble-bot: #ffffff;
  --chat-bg: #efeae2;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #121211;
    --surface: #1a1a19;
    --border: #2f2f2c;
    --text-primary: #ffffff;
    --text-secondary: #c3c2b7;
    --text-muted: #96958c;
    --accent: #3987e5;
    --accent-hover: #5598e7;
    --bubble-me: #005c4b;
    --bubble-bot: #202c33;
    --chat-bg: #0b141a;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 10px;
  padding: 9px 18px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--surface);
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-lg { padding: 13px 24px; font-size: 17px; }
.btn-block { display: block; text-align: center; }

.top {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { font-weight: 700; text-decoration: none; font-size: 18px; }

main { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 56px;
}
.hero h1 { font-size: 46px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; }
.lead { font-size: 19px; color: var(--text-secondary); margin: 0 0 24px; }
.lead strong { color: var(--text-primary); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.note { color: var(--text-muted); font-size: 15px; margin: 12px 0 0; }

.chat {
  background: var(--chat-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
}
.bubble {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.08);
}
.bubble.me { align-self: flex-end; background: var(--bubble-me); border-top-right-radius: 2px; }
.bubble.bot { align-self: flex-start; background: var(--bubble-bot); border-top-left-radius: 2px; }

.steps { padding: 8px 0 48px; }
.steps h2, .price h2 { font-size: 28px; margin: 0 0 20px; letter-spacing: -0.01em; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.card h3 { margin: 8px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--text-secondary); font-size: 16px; }
.num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.price { max-width: 460px; margin: 0 auto 56px; text-align: center; padding: 28px; }
.price .amount { font-size: 44px; color: var(--text-primary); font-weight: 700; margin: 0 0 12px; letter-spacing: -0.02em; }
.price .amount small { font-size: 18px; font-weight: 500; color: var(--text-secondary); }
.features { list-style: none; padding: 0; margin: 0 0 8px; text-align: left; }
.features li { padding: 8px 0 8px 28px; position: relative; border-bottom: 1px solid var(--border); }
.features li:last-child { border-bottom: none; }
.features li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }
.price .note { margin: 4px 0 18px; }

.foot { text-align: center; color: var(--text-muted); font-size: 14px; padding: 24px 16px 40px; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 24px 0 40px; }
  .hero h1 { font-size: 34px; }
  .lead { font-size: 17px; }
  .cards { grid-template-columns: 1fr; }
}
