/* Product guide and account links */
.home-page .home-icon {
  display:block; width:20px; height:20px; flex:none; fill:none; stroke:currentColor;
  stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round;
}
.home-product { padding:52px 0 28px; color:#293f38; }
.home-product-inner {
  display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr);
  align-items:start; gap:clamp(24px,6vw,80px);
}
.home-product-intro h2 { margin:0; font-size:clamp(23px,2.4vw,32px); line-height:1.35; letter-spacing:-.02em; }
.home-product-intro p { max-width:29em; margin:10px 0 0; color:#56655c; font-size:15px; line-height:1.65; }
.home-product-intro a,.home-footer-top {
  min-height:44px; display:inline-flex; align-items:center; gap:6px; text-decoration:none;
  color:#35675c; font-size:14px; font-weight:600;
}
.home-product-intro a .home-icon,.home-footer-top .home-icon { width:15px; height:15px; }
.product-features {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); list-style:none;
  padding:0 16px; margin:0; background:#fffefa; border:1px solid #dfe2d9; border-radius:16px;
}
.product-features li { min-width:0; margin:0; border-top:1px solid #e5e6de; }
.product-features li:nth-child(-n+2) { border-top:0; }
.product-features li:nth-child(odd) { margin-right:16px; }
.product-feature {
  display:grid; height:100%; grid-template-columns:auto minmax(0,1fr) auto; align-items:start;
  gap:11px; padding:18px 0; color:#263e36; text-decoration:none; border-radius:5px;
}
.product-feature-icon,.home-bind-icon {
  display:grid; place-items:center; width:36px; height:36px;
  border-radius:11px; background:#e8efdf; color:#4b6755;
}
.product-feature--companions .product-feature-icon { background:#f3e8dd; color:#885e48; }
.product-feature--wave .product-feature-icon { background:#e7edef; color:#496879; }
.product-feature--camera .product-feature-icon { background:#efe8ef; color:#785b74; }
.product-feature-text { display:grid; gap:4px; min-width:0; }
.product-feature-text strong { font-size:16px; line-height:1.45; }
.product-feature-text > span { color:#54645b; font-size:14px; line-height:1.55; }
.home-page .product-feature .feature-arrow { width:15px; height:15px; margin-top:4px; color:#66796e; }
.product-feature:hover strong,.home-product-intro a:hover,.home-footer a:hover { text-decoration:underline; text-underline-offset:3px; }
.home-page .home-bind {
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px 32px; align-items:center;
  margin-block:0 46px; padding:23px 26px; border:1px solid #d7e0d5; border-radius:16px;
  background:#edf2e9; color:#2c4539;
}
.home-bind-heading { display:flex; align-items:center; gap:12px; }
.home-bind-icon { width:39px; height:39px; background:#dfeadc; color:#466652; }
.home-bind h2 { font-size:21px; line-height:1.4; margin:0; }
.home-bind p { grid-column:1; margin:0 0 0 51px; font-size:14px; color:#536359; line-height:1.65; max-width:55em; }
.home-bind-action {
  grid-column:2; grid-row:1/3; display:inline-flex; justify-content:center; align-items:center; gap:10px;
  min-height:46px; padding:0 18px; text-decoration:none; font-size:15px; font-weight:650;
  color:#325849; background:#fffefa; border:1px solid #b9cdbf; border-radius:11px;
}
.home-bind-action:hover { background:#f7faf3; border-color:#7f9c86; }
.home-page .home-footer { border-top:1px solid #dee1d8; background:#f4f3ec; color:#35473e; }
.home-footer-inner { display:grid; grid-template-columns:1fr 1fr; gap:0 9%; }
.home-footer-heading {
  grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; gap:15px;
  padding:17px 0; border-bottom:1px solid #dddfd6;
}
.home-footer-brand { display:inline-flex; align-items:center; gap:9px; min-height:44px; color:#334f44; text-decoration:none; font-size:23px; font-weight:650; }
.home-footer-brand .home-icon { width:25px; height:25px; color:#ac675d; stroke-width:1.8; }
.home-footer-brand b { color:#376c60; }
.home-footer-links { display:grid; align-content:start; grid-template-columns:repeat(2,minmax(0,1fr)); padding:20px 0; }
.home-footer-links a { display:flex; width:fit-content; min-height:44px; align-items:center; font-size:14px; color:#43594c; text-decoration:none; }
.home-contact { padding:22px 0 15px; }
.home-contact h2 { margin:0 0 4px; font-size:15px; line-height:1.4; font-weight:650; color:#354f41; }
.home-page .home-contact .home-contact-item {
  display:grid; grid-template-columns:18px max-content minmax(0,1fr); align-items:center; gap:8px;
  min-height:44px; color:#506259; margin:0; text-decoration:none;
}
.home-contact .home-icon { width:17px; height:17px; color:#6a7f6e; }
.home-page .home-contact-item span { color:#58665c; font-size:13px; }
.home-page .home-contact-item strong { font-size:14px; font-weight:550; color:#374e40; overflow-wrap:anywhere; }
.home-footer-legal { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:2px 20px; margin:0; padding:15px 0 18px; border-top:1px solid #dddfd6; color:#606b62; font-size:12px; line-height:1.65; }
.home-page :is(.home-product,.home-bind,.home-footer) a:focus-visible { outline:2px solid #477864; outline-offset:2px; }

html[data-site-view="mobile"] .home-product { padding:32px 0 16px; }
html[data-site-view="mobile"] .home-product-inner { grid-template-columns:minmax(0,1fr); gap:8px; }
html[data-site-view="mobile"] .home-product-intro h2 { font-size:24px; }
html[data-site-view="mobile"] .home-product-intro p { margin:6px 0 0; font-size:14px; }
html[data-site-view="mobile"] .product-features { display:block; padding:0 13px; }
html[data-site-view="mobile"] .product-features li { margin:0; }
html[data-site-view="mobile"] .product-features li+li { border-top:1px solid #e5e6de; }
html[data-site-view="mobile"] .product-feature { gap:10px; padding:14px 0; }
html[data-site-view="mobile"] .product-feature-icon { width:34px; height:34px; }
html[data-site-view="mobile"] .home-bind { grid-template-columns:minmax(0,1fr); gap:10px; padding:16px; margin-bottom:28px; }
html[data-site-view="mobile"] .home-bind-heading { gap:10px; }
html[data-site-view="mobile"] .home-bind h2 { font-size:18px; }
html[data-site-view="mobile"] .home-bind p { margin:0; }
html[data-site-view="mobile"] .home-bind-action { grid-area:auto; width:100%; margin-top:2px; }
html[data-site-view="mobile"] .home-footer-inner { display:block; }
html[data-site-view="mobile"] .home-footer-heading { padding:8px 0; }
html[data-site-view="mobile"] .home-footer-brand { font-size:20px; }
html[data-site-view="mobile"] .home-footer-links { padding:8px 0; border-bottom:1px solid #dddfd6; }
html[data-site-view="mobile"] .home-contact { padding:16px 0 8px; }
html[data-site-view="mobile"] .home-footer-legal { display:grid; gap:1px; padding:12px 0 17px; }

@media (max-width:700px) {
  html[data-site-view="desktop"] .home-product-inner { grid-template-columns:minmax(0,1fr); gap:12px; }
  html[data-site-view="desktop"] .product-features { grid-template-columns:minmax(0,1fr); padding:0 12px; }
  html[data-site-view="desktop"] .product-features li { margin:0; }
  html[data-site-view="desktop"] .product-features li+li { border-top:1px solid #e5e6de; }
  html[data-site-view="desktop"] .product-feature { padding:12px 0; }
  html[data-site-view="desktop"] .home-bind { grid-template-columns:minmax(0,1fr); gap:9px; padding:16px; }
  html[data-site-view="desktop"] .home-bind p { margin:0; }
  html[data-site-view="desktop"] .home-bind-action { grid-area:auto; }
  html[data-site-view="desktop"] .home-footer-inner { grid-template-columns:minmax(0,1fr); }
  html[data-site-view="desktop"] .home-footer-links,.home-page .home-contact { padding:8px 0; }
  html[data-site-view="desktop"] .home-footer-legal { display:grid; }
}

/* Conversation and directory */
.home-page .workspace-heading #hero-title {
  color:var(--ui-ink); font-size:clamp(32px,3.4vw,48px); letter-spacing:-.055em; font-weight:680;
}
.home-workspace .workspace-heading .quiet-link { border:0; background:transparent; padding-inline:4px; color:var(--ui-accent); }
.home-page .home-workspace #chat-panel, .home-page .home-workspace .home-tools {
  border-color:var(--ui-line); border-radius:18px; background:var(--ui-paper); box-shadow:none;
}
.home-page .home-workspace .home-tools li + li { border-color:var(--ui-line); }
.home-page .home-workspace .home-tools a { color:var(--ui-ink); }
.home-page .home-workspace .home-tools a:hover { background:var(--ui-bg); }
#chat-panel .chat-header { background:#f3f5f2; color:var(--ui-ink); }
#chat-panel .chat-heading h2, #chat-panel .chat-welcome h3 { color:var(--ui-ink); }
#chat-panel .chat-heading p, #chat-panel .chat-footnote { color:var(--ui-muted); }
#chat-panel .chat-messages { background:white; border-color:var(--ui-line); }
#chat-panel .message-bubble { background:#f3f4f2; color:var(--ui-ink); border-color:#e3e5e2; }
#chat-panel .user .message-bubble { background:#eaf0eb; color:var(--ui-ink); border-color:#dbe4dc; }
#chat-panel #chat-voice,.home-page .chat-prompts button { color:var(--ui-accent); border-color:#d6ded7; background:#f7f9f6; }
#agent-square .catalog-count { background:transparent; border:0; padding:0; color:var(--ui-muted); font-variant-numeric:tabular-nums; }
#agent-square .section-heading h2 { color:var(--ui-ink); letter-spacing:-.04em; font-weight:660; }
#agent-square .agent-card { background:var(--ui-paper); border-color:var(--ui-line); }
#agent-square .agent-card.selected { box-shadow:none; background:#f1f5f1; border-color:#a9bbae; }
#agent-square .agent-card .avatar img, #chat-panel .chat-heading .avatar img {
  object-fit:cover; transform:scale(1.40); transform-origin:50% 36%; filter:saturate(.72);
}
#agent-square .agent-description { color:var(--ui-muted); }
#agent-square .agent-select {
  color:var(--ui-accent); background:transparent; border-color:transparent; align-self:flex-start;
  padding:0 5px; justify-content:flex-start;
}
#agent-square .agent-select:hover:not(:disabled) { background:#edf2ed; }
#agent-square .agent-card.selected .agent-select { background:transparent; border-color:transparent; color:#3d644e; }
#agent-square .catalog-end:not(:has(button:not([hidden]))):has(p:empty) { margin:0; }

html[data-site-view="mobile"] #agent-square .section-heading {
  display:flex; flex-direction:row; align-items:baseline; justify-content:space-between; gap:8px;
}
html[data-site-view="mobile"] #agent-square .agent-grid {
  display:grid; grid-template-columns:minmax(0,1fr); gap:0; background:white;
  border:1px solid var(--ui-line); border-radius:16px;
}
html[data-site-view="mobile"] #agent-square .agent-card {
  position:relative; display:grid; grid-template-columns:48px minmax(0,1fr) 20px;
  grid-template-rows:auto auto; align-items:center; column-gap:12px; row-gap:2px;
  min-height:76px; border:0; border-radius:0; background:transparent; box-shadow:none; padding:12px 14px;
}
html[data-site-view="mobile"] #agent-square .agent-card + .agent-card { border-top:1px solid #e7e9e5; }
html[data-site-view="mobile"] #agent-square .agent-card:first-child { border-radius:15px 15px 0 0; }
html[data-site-view="mobile"] #agent-square .agent-card:last-child { border-radius:0 0 15px 15px; }
html[data-site-view="mobile"] #agent-square .agent-card:only-child { border-radius:15px; }
html[data-site-view="mobile"] #agent-square .agent-card.selected { background:#f0f5f1; }
html[data-site-view="mobile"] #agent-square .card-top { display:contents; }
html[data-site-view="mobile"] #agent-square .agent-card .avatar {
  grid-area:1 / 1 / 3 / 2; height:48px; width:48px; border:0; border-radius:12px;
}
html[data-site-view="mobile"] #agent-square .card-heading { grid-area:1 / 2; align-self:end; }
html[data-site-view="mobile"] #agent-square .card-heading h3 { color:var(--ui-ink); font-size:15px; line-height:1.4; }
html[data-site-view="mobile"] #agent-square .agent-description {
  grid-area:2 / 2; align-self:start; margin:0; font-size:13px; line-height:1.5; -webkit-line-clamp:2;
}
html[data-site-view="mobile"] #agent-square .agent-select {
  position:absolute; inset:0; width:100%; height:100%; margin:0; border:0; padding:0 14px;
  justify-content:flex-end; border-radius:inherit; background:transparent; box-shadow:none;
}
html[data-site-view="mobile"] #agent-square .agent-select > span:first-child { display:none; }
html[data-site-view="mobile"] #agent-square .agent-select > span:last-child { font-size:0; }
html[data-site-view="mobile"] #agent-square .agent-select > span:last-child::after {
  content:""; display:block; width:7px; height:7px; border:solid #7f8a82; border-width:1.6px 1.6px 0 0; transform:rotate(45deg);
}
html[data-site-view="mobile"] #agent-square .selected .agent-select > span:last-child::after {
  width:6px; height:11px; border-width:0 2px 2px 0; border-color:var(--ui-accent); margin-right:2px;
}
html[data-site-view="mobile"] #agent-square .agent-select:focus-visible { outline-offset:-3px; }
html[data-site-view="mobile"] #agent-square .skeleton { height:76px; border:0; border-radius:0; }
html[data-site-view="mobile"] #agent-square .agent-search { width:100%; border-radius:12px; background:#f0f2ef; border-color:#e1e4e0; }
html[data-site-view="mobile"] #agent-square .agent-search input { font-size:16px; }
