:root {
  --text: #091717;
  --border: #d4d4d4;
  --surface: #ffffff;
  --surface-soft: #fff8f4;
  --bg: #f6f7f8;
  --accent: #ff3e00;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: 'Varela Round', sans-serif;
  background: var(--bg);
}

a {
  color: inherit;
}

.page {
  max-width: 1024px;
  margin: 24px auto;
  padding: 0 16px;
}

.template-header {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
}

.template-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.template-brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.template-header-nav {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.95rem;
}

.template-header-nav a {
  text-decoration: none;
}

.section-card {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.25;
  text-align: center;
}

.intro {
  margin: 14px auto 0;
  max-width: 820px;
  line-height: 1.7;
  text-align: center;
}

.chat-box {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
  padding: 20px;
}

.chat-box h2 {
  margin: 0;
  text-align: center;
  font-size: 1.5rem;
}

.chat-box p {
  margin: 8px 0 0;
  text-align: center;
}

.chat-actions {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.chat-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  color: #fff;
  background: linear-gradient(180deg, #ff3e00 0%, #f1662a 100%);
}

.seo-content h2 {
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 1.6rem;
  line-height: 1.25;
}

.seo-content p {
  margin-top: 12px;
  line-height: 1.75;
}

.seo-content ul,
.seo-content ol {
  margin-top: 12px;
  padding-left: 20px;
}

.seo-content li + li {
  margin-top: 6px;
}

.site-footer {
  margin-top: 32px;
  padding: 12px 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.disclaimer {
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  h1 {
    font-size: 1.55rem;
  }

  .section-card {
    padding: 18px;
  }

  .logo-link img {
    width: 130px;
  }

  .template-brand {
    font-size: 1.1rem;
  }
}
