:root {
  --ink: #17201d;
  --muted: #607069;
  --paper: #f4f2eb;
  --white: #fff;
  --sage: #7f967f;
  --dark: #26332f;
  --line: #d9ddd7;
  --accent: #d7a66b;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}
.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  background: rgba(244, 242, 235, 0.94);
  border-bottom: 1px solid rgba(23, 32, 29, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
}
.brand span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--dark);
  color: #fff;
  border-radius: 9px;
}
.topbar nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.topbar nav a,
.text-link,
footer a {
  color: var(--ink);
  text-decoration: none;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 22px;
  border-radius: 10px;
  background: var(--dark);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 0;
}
.button-small {
  padding: 10px 16px;
  font-size: 14px;
}
.hero {
  max-width: 1320px;
  margin: 0 auto;
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 20px;
  padding: 54px 40px 70px;
}
.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 800;
  color: #61775f;
}
.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}
.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 620px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 30px 0;
}
.text-link {
  font-weight: 700;
}
.demo-note {
  max-width: 600px;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  font-size: 13px;
  color: var(--muted);
}
.hero-image {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 24px rgba(38, 51, 47, 0.15));
}
.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 92px 24px;
}
.section-heading {
  max-width: 680px;
  margin-bottom: 38px;
}
.section h2 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 16px;
}
.section-heading > p:last-child,
.split > div > p:last-child,
.consultation-copy > p {
  color: var(--muted);
  font-size: 18px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: #e9ebe5;
}
.card h3,
.card p {
  margin-left: 22px;
  margin-right: 22px;
}
.card h3 {
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 8px;
}
.card p {
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 24px;
}
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 650;
}
.feature-list span {
  color: var(--sage);
  font-size: 12px;
}
.consultation {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
  background: var(--dark);
  color: #fff;
  max-width: 1320px;
  border-radius: 26px;
  margin-bottom: 80px;
  padding: 70px;
}
.consultation .eyebrow {
  color: #b9c9b8;
}
.consultation-copy > p {
  color: #c6ceca;
}
.privacy {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  font-size: 14px;
  color: #d6ddda;
}
.chat {
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #dfe7dd;
  color: #3d5440;
  font-family: Georgia, serif;
  font-size: 22px;
}
.chat-head div:nth-child(2) {
  display: flex;
  flex-direction: column;
}
.chat-head span {
  font-size: 12px;
  color: var(--muted);
}
.chat-head i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #69a575;
  margin-left: auto;
}
.messages {
  height: 390px;
  overflow: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fafbf9;
}
.message {
  max-width: 82%;
  padding: 12px 15px;
  border-radius: 14px;
  white-space: pre-wrap;
}
.message.assistant {
  align-self: flex-start;
  background: #e9eee7;
  border-bottom-left-radius: 4px;
}
.message.user {
  align-self: flex-end;
  background: var(--dark);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.message.pending {
  opacity: 0.55;
}
.chat-form {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
}
.chat-form textarea {
  flex: 1;
  resize: none;
  max-height: 110px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  outline: none;
}
.chat-form textarea:focus {
  border-color: var(--sage);
}
.chat-form button {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--dark);
  color: #fff;
  font-size: 23px;
  cursor: pointer;
}
.chat-status {
  min-height: 18px;
  margin: 0 18px 10px;
  color: #a3483f;
  font-size: 12px;
}
footer {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 850px) {
  .topbar {
    height: 64px;
    padding: 0 16px;
  }
  .topbar nav,
  .topbar .button {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 52px 20px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero-image {
    grid-row: 1;
  }
  .cards,
  .split,
  .consultation {
    grid-template-columns: 1fr;
  }
  .cards {
    gap: 14px;
  }
  .split,
  .consultation {
    gap: 36px;
  }
  .consultation {
    margin: 20px 12px 50px;
    padding: 32px 18px;
    border-radius: 20px;
  }
  .section {
    padding: 65px 20px;
  }
  .chat {
    min-height: 530px;
  }
  .messages {
    height: 350px;
  }
  footer {
    flex-direction: column;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
