@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --ink: #10231f;
  --ink-soft: #243f38;
  --cream: #f3f7f4;
  --fog: #d7e5df;
  --mint: #1faa8b;
  --mint-deep: #0d7a63;
  --sand: #e8dcc8;
  --white: #ffffff;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(31, 170, 139, 0.18), transparent 55%),
    radial-gradient(700px 420px at -10% 20%, rgba(232, 220, 200, 0.55), transparent 50%),
    linear-gradient(180deg, #f7fbf9 0%, #eef5f1 45%, #f7fbf9 100%);
  line-height: 1.55;
}

a { color: var(--mint-deep); }
img { max-width: 100%; display: block; }

.site {
  overflow-x: hidden;
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Instrument Serif', serif;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}
.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
  opacity: 0;
  animation: rise 0.8s ease forwards 0.15s;
}
.hero-brand img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(16, 35, 31, 0.18);
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
}
.nav-links a:hover { color: var(--mint-deep); }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 72px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: end;
  min-height: calc(100vh - 90px);
}

.hero-copy { max-width: 640px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint-deep);
  margin-bottom: 18px;
  opacity: 0;
  animation: rise 0.8s ease forwards 0.1s;
}

.hero h1 {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  opacity: 0;
  animation: rise 0.9s ease forwards 0.2s;
}

.hero-lead {
  margin: 22px 0 0;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  max-width: 34ch;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.35s;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.5s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover { background: var(--ink-soft); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(16, 35, 31, 0.18);
}

.hero-visual {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(16, 35, 31, 0.92), rgba(13, 122, 99, 0.88)),
    url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08'%3E%3Cpath d='M0 40h160M0 80h160M0 120h160M40 0v160M80 0v160M120 0v160'/%3E%3C/g%3E%3C/svg%3E");
  color: var(--white);
  padding: 28px;
  overflow: hidden;
  opacity: 0;
  animation: rise 1s ease forwards 0.3s, floaty 7s ease-in-out infinite 1.2s;
  box-shadow: 0 30px 60px rgba(16, 35, 31, 0.16);
}

.hero-visual::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  right: -60px;
  bottom: -70px;
  background: rgba(232, 220, 200, 0.22);
}

.chat {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  max-width: 320px;
}

.bubble {
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.bubble.user {
  margin-left: 36px;
  background: rgba(255, 255, 255, 0.2);
}
.bubble.bot { margin-right: 24px; }
.visual-label {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 1;
  font-size: 13px;
  opacity: 0.8;
}

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

.section h2 {
  margin: 0 0 10px;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.section .sub {
  margin: 0 0 28px;
  color: var(--ink-soft);
  max-width: 54ch;
  font-size: 17px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  padding: 8px 4px 18px;
  border-top: 2px solid var(--mint);
  transition: transform 0.25s ease;
}
.feature:hover { transform: translateY(-2px); }
.feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.chip {
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

.purpose {
  margin: 48px auto 20px;
  max-width: var(--max);
  padding: 0 24px;
}
.purpose-box {
  border-radius: 24px;
  padding: 28px;
  background: linear-gradient(135deg, #10231f, #165246);
  color: #eef7f3;
}
.purpose-box h2 {
  font-family: 'Instrument Serif', serif;
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 40px);
}
.purpose-box p, .purpose-box li { color: rgba(238, 247, 243, 0.86); }
.purpose-box ul { padding-left: 18px; }

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 56px;
  color: var(--ink-soft);
  font-size: 14px;
}
.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer strong { color: var(--ink); }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 10px;
  }
  .hero-visual { min-height: 340px; }
  .features { grid-template-columns: 1fr; }
}
