/* JCA Solutions: landing page. Design tokens taken from the approved mockup. */
:root {
  --bg: #f1f1ef;
  --ink: #141414;
  --muted: #5c5c58;
  --green: #15764a;
  --green-d: #0f5537;
  --line: #dcdcd7;
  --card: #fafaf8;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-d); }
::selection { background: var(--green); color: #fff; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 42px; width: auto; display: block; }
.nav { display: flex; gap: 34px; align-items: center; }
.nav a { color: var(--ink); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--green); }
.nav .nav-cta {
  background: var(--green);
  color: #fff;
  font-weight: 700;
  padding: 10px 18px;
  display: inline-block;
}
.nav .nav-cta:hover { background: var(--green-d); color: #fff; }

/* Shared button */
.btn {
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--green-d); color: #fff; }
.btn .arrow { font-size: 18px; }
.btn-lg { font-size: 18px; padding: 18px 30px; }
.btn-lg .arrow { font-size: 20px; }

.link-underline {
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
}
.link-underline:hover { color: var(--ink); }

/* Eyebrow / mono label */
.eyebrow {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--green);
  padding: 6px 12px;
  margin-bottom: 28px;
}
.mono-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hero */
.hero {
  padding: 104px 0 88px;
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 760px; }
.hero h1 {
  font-size: 88px;
  line-height: 0.94;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 26px;
}
.hero p {
  font-size: 22px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 34px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* What we do */
.whatwedo { padding: 88px 0; border-bottom: 1px solid var(--line); }
.whatwedo-head { max-width: 720px; margin-bottom: 56px; }
.whatwedo-head p {
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
  margin: 22px 0 0;
}
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.value { border-top: 2px solid var(--ink); padding-top: 22px; }
.value-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 16px;
}
.value-title { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 12px; }
.value-body { font-size: 16px; line-height: 1.55; color: var(--muted); }

/* A real example */
.example { padding: 88px 0; border-bottom: 1px solid var(--line); }
.example-head { max-width: 760px; margin: 0 0 48px; }
.example-head .mono-label { display: block; margin-bottom: 18px; }
.example-head p {
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
  margin: 22px 0 0;
}
.flow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; }
.flow-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 24px;
}
.flow-num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.flow-text { font-size: 16px; line-height: 1.5; color: var(--muted); }
.flow-text strong { color: var(--ink); font-weight: 700; }
.example-kicker {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 36px;
  max-width: 760px;
}

/* Change it yourself */
.control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}
.control-copy .mono-label { display: block; margin-bottom: 18px; }
.control-copy p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  margin: 22px 0 0;
}
.control-copy .h-section { margin-top: 4px; }
.control-demo {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-head {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 2px;
}
.bubble {
  font-size: 15px;
  line-height: 1.45;
  padding: 14px 16px;
  max-width: 88%;
}
.bubble.you {
  align-self: flex-end;
  background: var(--green);
  color: #fff;
  border-radius: 14px 14px 4px 14px;
}
.bubble.bot {
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px 14px 14px 4px;
}

/* Section headings */
.h-section {
  font-size: 52px;
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0;
}

/* Not a chatbot */
.chatbot {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding: 96px 0;
}
.chatbot p {
  font-size: 22px;
  line-height: 1.5;
  margin: 0 0 22px;
}
.compare { display: flex; gap: 12px; margin-top: 10px; }
.compare .col {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 18px;
}
.compare .col.agent { border-color: var(--green); background: #eef4ef; }
.compare .tag {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}
.compare .col.agent .tag { color: var(--green); }
.compare .desc { font-size: 15px; color: var(--muted); }
.compare .col.agent .desc { color: var(--ink); }

/* The work / tasks */
.product { padding: 88px 0; border-bottom: 1px solid var(--line); }
.product-head { max-width: 720px; margin: 0 0 48px; }
.product-head p {
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
  margin: 22px 0 0;
}
.tasks { display: flex; flex-direction: column; gap: 2px; max-width: 820px; }
.task {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}
.task .check {
  flex: none;
  width: 26px;
  height: 26px;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  margin-top: 2px;
}
.task .text { font-size: 19px; line-height: 1.35; font-weight: 600; }
.tasks-kicker {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 36px;
}

/* How it works */
.how { padding: 40px 0 96px; border-top: 1px solid var(--line); }
.how .h-section { margin: 56px 0 48px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { border-top: 2px solid var(--ink); padding-top: 22px; }
.step .num {
  font-size: 44px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.step .title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.step .body { font-size: 16px; line-height: 1.5; color: var(--muted); }

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  padding: 72px 0 96px;
  border-top: 1px solid var(--line);
}
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq-item .q {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.faq-item .a {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 560px;
}

/* CTA */
.cta { background: var(--ink); color: #fff; padding: 96px 40px; }
.cta-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.cta h2 {
  font-size: 64px;
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 auto 32px;
  max-width: 760px;
}
.cta-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.cta .link-light {
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
}
.cta .link-light:hover { color: #fff; border-color: #fff; }
.cta .fine { font-size: 16px; color: rgba(255, 255, 255, 0.6); margin-top: 26px; }

/* Footer */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0;
  color: var(--muted);
  font-size: 15px;
}
.site-footer .brand { color: var(--ink); font-weight: 700; }
.site-footer .links { display: flex; gap: 26px; }
.site-footer .links a { color: var(--muted); }
.site-footer .links a:hover { color: var(--green); }

/* Responsive */
@media (max-width: 900px) {
  .wrap { padding: 0 22px; }
  .chatbot, .faq, .control { grid-template-columns: 1fr; gap: 40px; }
  .flow { grid-template-columns: 1fr; }
  .hero { padding: 64px 0; }
  .hero h1 { font-size: 54px; }
  .value-grid, .steps { grid-template-columns: 1fr; gap: 32px; }
  .h-section, .cta h2 { font-size: 38px; }
  .cta h2 { font-size: 42px; }
  .nav { display: none; }
  .compare { flex-direction: column; }
}
