:root {
  --bg: #f5f4ef;
  --card: #ffffff;
  --border: #e7e5dd;
  --text: #171614;
  --text-muted: #6b6862;
  --accent: #b8862f;
  --accent-soft: #f2e6cf;
  --black: #16150f;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 1px 2px rgba(20, 18, 10, 0.04), 0 8px 24px rgba(20, 18, 10, 0.04);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.landing { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ---------- Nav ---------- */
.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
}
.brand { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.brand-accent { color: var(--accent); }

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-right: auto;
  margin-left: 48px;
}
.landing-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
}
.landing-nav-links a:hover { color: var(--text); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 11px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn-primary:hover { opacity: 0.85; }
.btn-primary:active { transform: scale(0.98); }
.btn-primary.lg { padding: 15px 28px; font-size: 15.5px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(184, 134, 47, 0.05); }
.btn-ghost.lg { padding: 15px 28px; font-size: 15.5px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 56px 0 90px;
  position: relative;
}

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

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 54px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.accent-underline {
  position: relative;
  color: var(--accent);
  white-space: nowrap;
}
.accent-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 10px;
  background: var(--accent-soft);
  z-index: -1;
  border-radius: 4px;
}

.hero-sub {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 32px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-trust svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

/* ---------- Hero visual (product mockup) ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; }

.mock-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--accent-soft) 0%, rgba(242, 230, 207, 0) 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.mock-window {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(20, 18, 10, 0.06), 0 24px 48px rgba(20, 18, 10, 0.1);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.mock-titlebar-label {
  margin-left: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.mock-chat { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.mock-msg { display: flex; }
.mock-msg.user { justify-content: flex-end; }
.mock-msg.assistant { justify-content: flex-start; }

.mock-bubble {
  max-width: 88%;
  padding: 12px 15px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  line-height: 1.5;
}
.mock-msg.user .mock-bubble {
  background: var(--black);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.mock-msg.assistant .mock-bubble {
  background: var(--bg);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--text);
}

.mock-sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mock-sources span {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 9px;
}

/* ---------- Value strip ---------- */
.value-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.value-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.value-item svg { width: 17px; height: 17px; color: var(--accent); }

/* ---------- Section heads ---------- */
.section-head {
  max-width: 620px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.2;
}
.section-head p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Features ---------- */
.features { padding: 90px 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 30px 26px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { color: var(--accent); width: 20px; height: 20px; }
.feature-card h3 { font-size: 16.5px; margin: 0 0 9px; letter-spacing: -0.01em; }
.feature-card p { font-size: 13.5px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* ---------- Steps ---------- */
.steps { padding: 40px 0 90px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: "";
  position: absolute;
  top: 26px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: repeating-linear-gradient(to right, var(--border) 0 8px, transparent 8px 14px);
  z-index: 0;
}
.step-card { position: relative; z-index: 1; text-align: center; padding: 0 12px; }
.step-number {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
}
.step-card h3 { font-size: 16.5px; margin: 0 0 8px; letter-spacing: -0.01em; }
.step-card p { font-size: 13.5px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  margin-bottom: 70px;
}
.cta-band h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 14px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15.5px;
  margin: 0 0 28px;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--black);
}
.cta-band .btn-primary:hover { opacity: 0.9; }

/* ---------- Footer ---------- */
.landing-footer {
  padding: 26px 0 40px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: 40px; }
  .hero-visual { order: -1; margin-bottom: 12px; }
  .mock-glow { width: 300px; height: 300px; }
  .landing-nav-links { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps-grid::before { display: none; }
  .value-strip { justify-content: flex-start; overflow-x: auto; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 24px; }
  .cta-band h2 { font-size: 26px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 14px; }
}
