:root {
  --bg: #f6f4ef;
  --ink: #12171c;
  --muted: #56616b;
  --line: #e0dcd2;
  --card: #ffffff;
  --accent: #0f6b5e;
  --accent-soft: #e2f1ee;
  --radius: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 244, 239, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--ink);
}

.btn:hover { opacity: 0.9; }

.btn.ghost {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--line);
}

/* Hero */
.hero {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

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

h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 18px 0 18px;
}

.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 54ch;
  margin: 0 0 28px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.chat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 18px 40px -24px rgba(18, 23, 28, 0.35);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 14px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2bb673;
}

.bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  margin-bottom: 10px;
  max-width: 88%;
}

.bubble.user {
  background: #efece4;
  margin-left: auto;
}

.bubble.agent {
  background: var(--accent-soft);
  color: #0a4d43;
}

.chat-note {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0;
}

/* Sections */
section { padding: 64px 0; }

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

h2 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  max-width: 22ch;
}

.section-intro {
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 36px;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card .num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.card h3 { margin: 8px 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-grid p { color: var(--muted); margin: 0 0 14px; }

.facts {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 24px;
  margin: 0;
}

.facts div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }

.founder {
  margin-top: 36px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.founder h3 { margin: 0 0 4px; }
.founder .role { color: var(--muted); margin: 0 0 10px; }

/* Contact */
.contact-box {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 48px 32px;
}

.contact-box h2 { color: #fff; max-width: 24ch; }
.contact-box p { color: #c5ccd2; max-width: 56ch; margin: 0 0 24px; }

.contact-box .btn {
  background: #fff;
  color: var(--ink) !important;
  border-color: #fff;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer p { margin: 0 0 6px; }
.site-footer a { color: var(--ink); }

/* Legal pages */
.legal { padding: 56px 0 72px; max-width: 760px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); }
.legal h2 { font-size: 21px; margin: 32px 0 8px; max-width: none; }
.legal p, .legal li { color: var(--muted); }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding-top: 48px; }
  section { padding: 48px 0; }
}

@media (max-width: 480px) {
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .contact-box { padding: 36px 22px; }
}

/* Verification-first additions */
.proof-line {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.verification-strip {
  padding: 0;
  background: var(--ink);
  color: #fff;
}

.verification-grid {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 24px;
  align-items: center;
}

.verification-grid > div { display: grid; gap: 3px; }
.verify-label { color: #aeb8bf; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.verify-link { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.verify-link:hover { text-decoration: underline; }

.alt-section { background: #eeece6; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.body-copy { color: var(--muted); }
.body-copy p { margin-top: 0; margin-bottom: 14px; }
.disclosure { font-size: 13px; border-left: 3px solid var(--accent); padding-left: 12px; }
.section-actions { margin-top: 24px; }
.text-link { color: var(--accent); font-weight: 650; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.page-hero { padding: 72px 0 40px; }
.narrow { max-width: 860px; }
.page-hero h1 { max-width: 16ch; }

.steps { display: grid; gap: 14px; max-width: 860px; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.step > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.step h3 { margin: 0 0 4px; }
.step p { margin: 0; color: var(--muted); }
.facts-large div { grid-template-columns: 170px 1fr; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 18px; justify-content: flex-end; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copyright { margin-top: 18px; font-size: 13px; }

@media (max-width: 900px) {
  .verification-grid { grid-template-columns: repeat(2, 1fr); padding-top: 24px; padding-bottom: 24px; }
  .verify-link { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 640px) {
  .verification-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .page-hero { padding-top: 48px; }
}

/* Product / Claude demo */
.page-hero { padding: 72px 0 56px; }
.narrow { max-width: 900px; }
.alt-section { background: #eeece5; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.body-copy p { color: var(--muted); margin: 0 0 16px; }
.body-copy strong { color: var(--ink); }
.disclosure { font-size: 13px; padding-top: 12px; border-top: 1px solid var(--line); }
.status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); background: var(--card); border: 1px solid var(--line); padding: 6px 11px; border-radius: 999px; }

.architecture-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; margin-top: 32px; }
.architecture-node { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; }
.architecture-node.featured { border-color: #9ccbc3; box-shadow: 0 14px 34px -28px rgba(15,107,94,.7); }
.architecture-node > span { display: block; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.architecture-node h3 { font-size: 17px; margin: 9px 0 7px; }
.architecture-node p { margin: 0; color: var(--muted); font-size: 14px; }
.architecture-arrow { display: grid; place-items: center; color: var(--accent); font-size: 22px; }

.demo-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.demo-facts { display: grid; gap: 10px; }
.demo-facts p { margin: 0; padding: 13px 15px; border-left: 3px solid var(--accent); background: rgba(255,255,255,.55); color: var(--muted); font-size: 14px; }
.demo-facts strong { color: var(--ink); }
.demo-panel { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: 0 20px 42px -30px rgba(18,23,28,.45); }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 2px 13px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.demo-head > div { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.demo-conversation { height: 260px; overflow-y: auto; padding: 18px 2px 8px; scroll-behavior: smooth; }
.demo-conversation .bubble { white-space: pre-wrap; }
.bubble.pending { opacity: .65; }
.bubble.error { background: #f8e9e7; color: #7e2d25; }
.preset-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 12px; }
.preset { border: 1px solid var(--line); background: #faf9f6; color: var(--muted); border-radius: 999px; padding: 7px 11px; font: inherit; font-size: 12px; cursor: pointer; }
.preset:hover { border-color: #a9a399; color: var(--ink); }
.demo-form { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.demo-form input { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 999px; background: #faf9f6; padding: 12px 16px; font: inherit; color: var(--ink); outline: none; }
.demo-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15,107,94,.08); }
.demo-form button:disabled, .demo-form input:disabled { opacity: .6; cursor: wait; }
.demo-status { margin: 10px 4px 0; color: var(--muted); font-size: 11px; }
.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; }

.steps { display: grid; gap: 12px; margin-top: 28px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.step h3 { margin: 1px 0 5px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.update-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; padding: 30px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.update-date { color: var(--accent); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.update-card h2 { margin-top: 8px; font-size: clamp(24px, 3vw, 32px); }

@media (max-width: 980px) {
  .architecture-flow { grid-template-columns: 1fr; }
  .architecture-arrow { transform: rotate(90deg); min-height: 20px; }
}

@media (max-width: 860px) {
  .split, .demo-grid, .update-card { grid-template-columns: 1fr; }
  .demo-grid { gap: 30px; }
}

@media (max-width: 560px) {
  .demo-form { grid-template-columns: 1fr; }
  .demo-form .btn { width: 100%; text-align: center; }
  .demo-conversation { height: 300px; }
  .page-hero { padding-top: 48px; }
}
