/* Kasata — публичен сайт в clay дизайна на приложението */
:root {
  --bg: #f8f5f1;
  --surface: #ffffff;
  --border: #eae3d9;
  --divider: #f3efe8;
  --text: #2b2723;
  --text-2: #7c756c;
  --muted: #9b948a;
  --accent: #bc6b4a;
  --accent-press: #a85d3f;
  --accent-soft: #f2e0d5;
  --success-soft: #e4efe6;
  --success: #26714b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.site-shell {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

/* Хедър */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 19px;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.nav a:hover { color: var(--text); }
.nav .cta {
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 999px;
}
.nav .cta:hover { background: var(--accent-press); color: #fff; }

/* Hero */
.hero { padding: 52px 0 26px; text-align: center; }
.hero h1 {
  margin: 0 auto 14px;
  max-width: 640px;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -1px;
}
.tagline { font-size: 19px; font-weight: 700; margin: 0 0 10px; }
.tagline span { color: var(--accent); }
.lead {
  max-width: 560px;
  margin: 0 auto 26px;
  color: var(--text-2);
  font-size: 17px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 800;
  font-size: 16px;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 26px rgba(168, 93, 63, .28); }
.btn-primary:hover { background: var(--accent-press); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); }
.hero-note { color: var(--muted); font-size: 13px; margin: 0; }

/* Секции */
section { padding: 34px 0; }
.section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 6px;
}
.section-sub {
  text-align: center;
  color: var(--text-2);
  margin: 0 auto 28px;
  max-width: 520px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 20px;
}
.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 21px;
  background: var(--accent-soft);
  color: var(--accent-press);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.card p { margin: 0; color: var(--text-2); font-size: 14px; }

/* Стъпки */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 20px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 17px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.step p { margin: 0; color: var(--text-2); font-size: 14px; }

/* Финален CTA */
.bottom-cta {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 40px 24px;
  margin-bottom: 20px;
}
.bottom-cta h2 { margin: 0 0 8px; font-size: 24px; font-weight: 800; }
.bottom-cta p { margin: 0 0 20px; color: var(--text-2); }

/* Правни страници */
.content-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 26px 0 44px;
  flex: 1;
}
.content-page h1 { font-size: 30px; font-weight: 800; margin: 6px 0 20px; letter-spacing: -.5px; }
.content-page h2 { font-size: 18px; font-weight: 800; margin: 26px 0 8px; }
.content-page p, .content-page li { color: var(--text-2); font-size: 15px; }
.content-page .updated { color: var(--muted); font-size: 13px; margin: 0; }
.content-page a { color: var(--accent-press); }
.content-page ul { padding-left: 20px; }

/* Футър */
footer {
  margin-top: auto;
  border-top: 1px solid var(--divider);
  padding: 20px 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 560px) {
  .hero { padding-top: 34px; }
}
