:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #1d2433;
  --muted: #5b6475;
  --line: #e7e1d7;
  --accent: #c2562f;
  --accent-soft: #f6e4da;
  --navy: #1f3a5f;
  --radius: 14px;
  --max: 1040px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--navy); }
a:hover { color: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(250, 247, 242, 0.92);
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand span { color: var(--accent); }
.nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 560px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 12px; padding-bottom: 12px; }
  .brand { font-size: 18px; }
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
  .site-header { position: static; }
}

/* Hero */
.hero { padding: 72px 0 56px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}
h1 { font-size: clamp(34px, 6vw, 54px); font-weight: 600; max-width: 18ch; }
h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 600; }
h3 { font-size: 20px; font-weight: 600; }
.lead { font-size: 19px; color: var(--muted); max-width: 60ch; margin: 0 0 28px; }

.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.btn:hover { background: var(--accent); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); margin-left: 8px; }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); }

/* Sections */
section { padding: 56px 0; border-top: 1px solid var(--line); }
.section-intro { color: var(--muted); max-width: 62ch; margin: 0 0 28px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.clients { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; list-style: none; }
.clients li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
}

.feature {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 820px) { .feature { grid-template-columns: 1.1fr 1fr; } }

.badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

ul.ticks { padding-left: 0; list-style: none; margin: 0 0 20px; }
ul.ticks li { padding-left: 26px; position: relative; margin-bottom: 8px; }
ul.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

/* Chat mock */
.chat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(29, 36, 51, 0.06);
}
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; margin-bottom: 10px; font-size: 15px; line-height: 1.45; }
.msg.user { background: var(--navy); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.msg.bot { background: #f2eee7; color: var(--ink); border-bottom-left-radius: 4px; }
.msg.system { background: transparent; border: 1px dashed var(--line); color: var(--muted); font-size: 13px; max-width: 100%; text-align: center; }
.chat-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

.en {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.en p { margin: 0 0 10px; }
.en p:last-child { margin-bottom: 0; }

/* Legal */
.legal { padding: 56px 0; }
.legal h2 { font-size: 22px; margin-top: 36px; }
.legal dl { display: grid; grid-template-columns: 1fr; gap: 4px 24px; margin: 0; }
@media (min-width: 640px) { .legal dl { grid-template-columns: 240px 1fr; } }
.legal dt { font-weight: 600; }
.legal dd { margin: 0 0 10px; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer a { color: var(--muted); }
