:root {
  --ink: #0b1730;
  --muted: #64718a;
  --line: #dfe6f0;
  --blue: #1268e8;
  --blue-dark: #0b4fb7;
  --blue-soft: #eaf3ff;
  --surface: #ffffff;
  --page: #f7f9fc;
  --shadow: 0 24px 60px rgba(24, 49, 83, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -.02em;
  font-size: 20px;
}
.brand-mark {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 30px;
}
.brand-mark.small { transform: scale(.8); transform-origin: left center; width: 28px; }
.bubble { position: absolute; border-radius: 9px; width: 23px; height: 18px; }
.bubble::after { content: ""; position: absolute; width: 6px; height: 6px; bottom: -2px; transform: rotate(45deg); border-radius: 1px; }
.bubble-a { left: 0; top: 1px; background: var(--blue); }
.bubble-a::after { left: 5px; background: var(--blue); }
.bubble-b { right: 0; bottom: 0; background: #fff; border: 2px solid #91bfff; }
.bubble-b::after { right: 4px; background: #fff; border-right: 2px solid #91bfff; border-bottom: 2px solid #91bfff; }
.top-nav { display: flex; gap: 28px; align-items: center; font-size: 14px; font-weight: 600; }
.top-nav a { text-decoration: none; color: #41506b; }
.top-nav a:hover { color: var(--ink); }
.nav-cta { padding: 10px 15px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 650px;
  margin: 32px auto 52px;
  padding: 64px 0 44px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 70px;
}
.source-pill, .section-kicker {
  display: inline-block;
  color: var(--blue-dark);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.source-pill { padding: 8px 11px; border-radius: 999px; background: var(--blue-soft); }
.source-intro { margin: 20px 0 8px; color: var(--blue-dark); font-size: 18px; font-weight: 650; }
h1 { margin: 0; max-width: 640px; font-size: clamp(48px, 5.3vw, 76px); line-height: .98; letter-spacing: -.055em; }
.hero-lede { max-width: 610px; margin: 25px 0 0; color: var(--muted); font-size: 19px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 11px; text-decoration: none; font-weight: 720; font-size: 15px; }
.button-primary { background: var(--blue); color: white; box-shadow: 0 9px 22px rgba(18, 104, 232, .22); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { background: white; border: 1px solid var(--line); }
.button-secondary:hover { border-color: #bdc8d8; }
.microcopy { margin: 15px 0 0; color: #8691a5; font-size: 13px; }
.library-demo { perspective: 1400px; }
.demo-window { overflow: hidden; background: white; border: 1px solid #dae2ed; border-radius: 18px; box-shadow: var(--shadow); transform: rotateY(-3deg) rotateX(1.5deg); }
.window-bar { height: 45px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-bottom: 1px solid #e7ebf1; padding: 0 14px; font-size: 12px; color: #506078; }
.window-bar strong { text-align: center; }
.traffic { display: flex; gap: 6px; }
.traffic span { width: 9px; height: 9px; border-radius: 50%; background: #d8dee8; }
.demo-body { min-height: 420px; display: grid; grid-template-columns: 40% 60%; }
.demo-sidebar { padding: 16px 11px; background: #f4f6f9; border-right: 1px solid #e5e9ef; }
.sidebar-title { padding: 2px 8px 12px; color: #8792a3; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.conversation { appearance: none; width: 100%; display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: center; margin: 3px 0; padding: 9px 8px; border: 0; background: transparent; border-radius: 8px; text-align: left; color: #35445d; }
.conversation.selected { background: #dfe9f8; }
.conversation span:last-child { overflow: hidden; }
.conversation b, .conversation small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conversation b { font-size: 11px; }
.conversation small { margin-top: 2px; color: #7a8799; font-size: 9px; }
.provider-dot { width: 24px; height: 24px; display: grid; place-items: center; background: white; border: 1px solid #d9e0ea; border-radius: 7px; font-size: 10px; font-weight: 800; }
.demo-chat { padding: 18px 16px; background: #fff; }
.demo-search { height: 31px; margin-bottom: 24px; padding: 8px 11px; color: #a0a8b4; border: 1px solid #e2e6ed; border-radius: 8px; font-size: 10px; }
.message { max-width: 88%; margin: 16px 0; }
.message span { display: block; margin-bottom: 5px; color: #7a8798; font-size: 9px; font-weight: 750; }
.message p { margin: 0; padding: 10px 12px; background: #f2f5f9; border-radius: 10px; font-size: 11px; line-height: 1.45; }
.message.user { margin-left: auto; }
.message.user span { text-align: right; }
.message.user p { background: #e9f2ff; }
.provider-strip { width: min(1000px, calc(100% - 40px)); margin: 0 auto 110px; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; color: #657188; font-size: 15px; font-weight: 720; }
.why { width: min(1050px, calc(100% - 40px)); margin: 0 auto 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.why h2, .section-heading h2, .ownership h2 { margin: 10px 0 0; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.03; letter-spacing: -.045em; }
.why > p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.ecosystem { width: min(1180px, calc(100% - 40px)); margin: 0 auto 120px; }
.section-heading { max-width: 720px; margin-bottom: 38px; }
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.product-card { grid-column: span 2; min-height: 286px; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 17px; }
.product-card.featured { grid-column: span 3; background: linear-gradient(145deg, #0f68e9 0%, #084ba9 100%); color: white; border: 0; }
.product-card:nth-child(2) { grid-column: span 3; }
.product-card h3 { margin: 12px 0 10px; font-size: 22px; letter-spacing: -.025em; }
.product-card p { margin: 0; color: #69758a; font-size: 14px; line-height: 1.6; }
.product-card.featured p { color: #dceaff; }
.product-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: white; color: var(--blue); font-weight: 850; font-size: 12px; }
.product-icon.light { background: var(--blue-soft); color: var(--blue-dark); }
.product-type { margin-top: 20px; color: #8792a3; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.featured .product-type { color: #bcd6ff; }
.text-link { display: inline-block; margin-top: 21px; text-decoration: none; color: var(--blue-dark); font-size: 14px; font-weight: 760; }
.featured .text-link { color: white; }
.ownership { width: min(1180px, calc(100% - 40px)); margin: 0 auto 80px; }
.ownership-card { padding: 70px; border-radius: 24px; background: #eef4fb; text-align: center; }
.ownership-card h2 { max-width: 800px; margin-left: auto; margin-right: auto; }
.ownership-card > p:not(.section-kicker) { max-width: 700px; margin: 22px auto 30px; color: var(--muted); line-height: 1.65; font-size: 17px; }
footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 35px 0 48px; display: grid; grid-template-columns: 1fr auto auto; gap: 30px; align-items: center; color: #7a8799; font-size: 13px; }
.footer-brand { font-size: 16px; color: var(--ink); }
.footer-links { display: flex; gap: 18px; }
.footer-links a { text-decoration: none; }

@media (max-width: 900px) {
  .top-nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 32px; gap: 44px; }
  .hero-copy { max-width: 720px; }
  .library-demo { max-width: 700px; }
  .why { grid-template-columns: 1fr; gap: 24px; }
  .product-card, .product-card.featured, .product-card:nth-child(2) { grid-column: span 3; }
  .ownership-card { padding: 48px 28px; }
}
@media (max-width: 620px) {
  .site-header { width: min(100% - 26px, 1180px); }
  .nav-cta { display: none; }
  .hero, .ecosystem, .ownership, .why { width: min(100% - 28px, 1180px); }
  .hero { margin-top: 12px; }
  h1 { font-size: 47px; }
  .hero-lede { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .demo-body { grid-template-columns: 35% 65%; min-height: 350px; }
  .conversation { grid-template-columns: 1fr; }
  .conversation span:last-child { display: none; }
  .provider-strip { justify-content: center; margin-bottom: 80px; }
  .cards { display: block; }
  .product-card, .product-card.featured { margin-bottom: 14px; min-height: 0; }
  footer { grid-template-columns: 1fr; gap: 7px; }
}

/* privacy */
.legal-page {
  width: min(900px, calc(100% - 40px));
  margin: 54px auto 90px;
}
.legal-heading { margin-bottom: 28px; }
.legal-heading h1 {
  max-width: none;
  margin-top: 10px;
  font-size: clamp(42px, 6vw, 66px);
  line-height: 1;
}
.legal-updated {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.legal-card {
  padding: 48px 54px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 14px 42px rgba(24, 49, 83, .07);
}
.legal-card section + section {
  margin-top: 38px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}
.legal-card h2 {
  margin: 0 0 14px;
  font-size: 23px;
  letter-spacing: -.025em;
}
.legal-card h3 {
  margin: 22px 0 8px;
  font-size: 16px;
}
.legal-card p,
.legal-card li {
  color: #4e5d74;
  font-size: 15px;
  line-height: 1.72;
}
.legal-card p { margin: 10px 0; }
.legal-card ul { margin: 10px 0 0; padding-left: 22px; }
.legal-card li + li { margin-top: 5px; }
.legal-card a { color: var(--blue-dark); }
.legal-card code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #f1f4f8;
  color: #24344d;
  font-size: .92em;
}
@media (max-width: 620px) {
  .legal-page { width: min(100% - 28px, 900px); margin-top: 30px; }
  .legal-card { padding: 30px 22px; border-radius: 16px; }
}
