/* Landing page */
.hero-split { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 72px; padding: 62px 0 72px; }
.hero-copy { min-width: 0; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); font: 500 11px var(--mono); letter-spacing: .12em; }
.hero-copy h1 { margin: 24px 0; font-size: clamp(40px, 4.7vw, 62px); font-weight: 600; line-height: 1.1; letter-spacing: -.055em; }
.hero-copy h1 span { color: var(--accent); }
.hero-copy .lead { max-width: 47ch; margin: 0 0 30px; font-size: 16px; line-height: 1.8; color: var(--text-secondary); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn { padding: 12px 19px; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; color: var(--muted); font-size: 11px; }
.hero-demo-wrap { min-width: 0; padding: 18px; border: 1px solid var(--border); border-radius: 20px; background: var(--bg-elevated); position: relative; }
.demo-badge { color: var(--muted); font: 10px var(--mono); letter-spacing: .12em; margin: 0 0 14px 4px; }
.demo-widget { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.demo-header { display: flex; align-items: center; gap: 9px; padding: 18px; font-size: 12px; font-weight: 600; border-bottom: 1px solid var(--border); }
.demo-header-icon { width: 18px; height: 18px; color: var(--accent); }
.demo-model { margin-left: auto; color: var(--muted); font: 10px var(--mono); }
.demo-messages { display: flex; flex-direction: column; gap: 16px; min-height: 205px; max-height: 340px; overflow-y: auto; padding: 24px 18px; }
.demo-msg { display: flex; gap: 10px; align-items: flex-start; }
.demo-msg-avatar { flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 8px; color: var(--accent); font: 10px var(--mono); }
.demo-msg-content { min-width: 0; font-size: 13px; line-height: 1.8; color: var(--text-secondary); overflow-wrap: anywhere; }
.demo-msg--user { flex-direction: row-reverse; }
.demo-msg--user .demo-msg-content { padding: 8px 12px; background: var(--surface-hover); border-radius: 8px; }
.demo-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 18px; }
.demo-suggestions button { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); padding: 8px 10px; min-height: 36px; border-radius: 6px; font-size: 10px; cursor: pointer; }
.demo-suggestions button:hover { border-color: var(--accent); color: var(--accent); }
.demo-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.demo-input-row input { flex: 1; min-width: 0; width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 7px; padding: 10px 12px; font-size: 13px; }
.demo-input-row input::placeholder { color: var(--muted); }
.demo-input-row button { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 7px; border: 0; background: var(--accent); color: var(--bg); cursor: pointer; }
.demo-input-row button svg { width: 18px; height: 18px; }
.demo-input-row button:disabled { opacity: .5; cursor: wait; }
.demo-status { min-height: 30px; padding: 0 12px 10px; text-align: center; font-size: 10px; color: var(--muted); }
.demo-status.error { color: var(--danger); }
.demo-status.sending { color: var(--accent); }
.trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); padding: 28px 0; border-block: 1px solid var(--border); margin-bottom: 80px; }
.trust-item { display: flex; flex-direction: column; gap: 4px; padding-left: 28px; border-right: 1px solid var(--border); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border: 0; }
.trust-item strong { font-size: 22px; font-weight: 500; letter-spacing: -.7px; }
.trust-item span { font-size: 11px; color: var(--muted); }
.trust-divider { display: none; }
.section-header { max-width: 650px; }
.section-header h2 { margin: 14px 0; font-size: clamp(28px, 3vw, 38px); font-weight: 500; letter-spacing: -.04em; line-height: 1.2; }
.section-header p { color: var(--text-secondary); font-size: 14px; line-height: 1.8; }
.capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 32px 0; }
.cap-card { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); transition: border-color .2s, background .2s; }
.cap-card:hover { border-color: var(--border-bright); background: var(--surface-hover); }
.cap-card-icon { width: 38px; height: 38px; padding: 9px; border: 1px solid var(--border); border-radius: 9px; color: var(--accent); margin-bottom: 24px; }
.cap-card h3 { margin: 0 0 12px; font-size: 16px; font-weight: 600; letter-spacing: -.3px; }
.cap-card p { margin: 0 0 22px; font-size: 12px; line-height: 1.85; color: var(--text-secondary); }
.cap-link { margin-top: auto; font-size: 12px; font-weight: 600; padding: 8px 0; }
.cap-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 38px 1fr auto; column-gap: 20px; align-items: center; }
.cap-card:last-child .cap-card-icon { grid-row: span 2; margin: 0; }
.cap-card:last-child h3 { margin-bottom: 4px; }
.cap-card:last-child p { grid-column: 2; margin: 0; }
.cap-card:last-child a { grid-column: 3; grid-row: 1 / 3; margin: 0; }
.tech-stack { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 42px 0 72px; }
.tech-tag { display: inline-flex; gap: 7px; align-items: center; color: var(--muted); font-size: 10px; }
.tech-tag svg { width: 15px; height: 15px; }
.home-cta { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); text-align: center; padding: 56px 24px; }
.cta-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: var(--accent); }
.home-cta h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 500; letter-spacing: -.04em; margin: 16px 0; }
.home-cta p { max-width: 54ch; margin: 0 auto 26px; font-size: 14px; color: var(--text-secondary); }
.home-cta .hero-cta { justify-content: center; }
.home-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--border); }
.footer-label { font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 12px; }
.home-footer > div { display: flex; gap: 24px; font-size: 11px; }
.home-footer > div a { color: var(--text-secondary); }
#demo, #tools { scroll-margin-top: 24px; }
@media (max-width: 1000px) { .hero-split { gap: 32px; } .capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .hero-split { grid-template-columns: 1fr; padding: 24px 0 40px; gap: 36px; }
  .hero-copy h1 { font-size: clamp(38px, 8vw, 56px); }
  .hero-copy .lead { max-width: 55ch; }
  .hero-demo-wrap { width: 100%; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 48px; }
  .trust-item { padding-left: 0; }
  .trust-item:nth-of-type(3) { border-right: 0; }
  .cap-card { padding: 22px; }
  .cap-card:last-child { display: flex; }
  .cap-card:last-child .cap-card-icon { margin-bottom: 20px; }
  .cap-card:last-child p { margin-bottom: 14px; }
  .home-footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  .capabilities { grid-template-columns: 1fr; }
  .hero-demo-wrap { padding: 10px; }
  .hero-cta .btn { width: 100%; }
  .demo-model { font-size: 9px; }
  .demo-suggestions button { min-height: 44px; }
  .tech-stack { justify-content: flex-start; gap: 16px; }
  .home-cta { padding: 36px 20px; }
}
