:root {
  --bg: #f4f7fb;
  --surface: #fff;
  --primary: #1f6bff;
  --primary-dark: #0f3cc9;
  --text: #0d1b3a;
  --muted: #4c5b7a;
  --line: rgba(31, 107, 255, .15);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a { color: inherit; }

.site-header,
.site-footer,
.seo-page {
  width: min(100% - 32px, 980px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}

.brand {
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  font-size: .9rem;
}

.nav a,
.site-footer a { color: var(--muted); }

.hero {
  padding: 58px 24px 36px;
  text-align: center;
}

.hero h1 {
  max-width: 820px;
  margin: 0 auto 18px;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.12;
}

.hero p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.chat-wrapper,
.seo-content,
.seo-faq {
  margin-bottom: 28px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(13, 27, 58, .07);
}

.chat-card {
  text-align: center;
}

.chat-card p {
  margin: 0 0 22px;
  color: var(--muted);
}

.cta {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #32a3ff);
  box-shadow: 0 12px 26px rgba(31, 107, 255, .28);
  font-weight: 700;
  text-decoration: none;
}

h2, h3, h4 { line-height: 1.25; }
h2 { margin-top: 0; }
p, li { color: var(--muted); }
li + li { margin-top: 9px; }

.notice {
  margin-top: 18px;
  font-size: .9rem;
}

.faq-item + .faq-item {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.site-footer {
  padding: 20px 0 42px;
  color: var(--muted);
  text-align: center;
  font-size: .9rem;
}

@media (max-width: 720px) {
  .site-header { align-items: flex-start; }
  .nav { display: none; }
  .hero { padding-top: 34px; }
  .chat-wrapper, .seo-content, .seo-faq { border-radius: 18px; }
}
