/* Static-only: the landing host used to omit the drawer from the DOM when closed. */
.topnav-mobile-drawer {
  display: none;
}
.topnav-mobile-drawer.is-open {
  display: flex;
  flex-direction: column;
}

/* No metric grid on the pre-launch vendor band. */
.fw-vendor-network {
  grid-template-columns: 1fr;
}

.fw-legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 96px;
  line-height: 1.65;
  color: var(--text-2);
}
.fw-legal-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.fw-legal h1 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}
.fw-legal .fw-legal-lead {
  margin-bottom: 28px;
  color: var(--text-3);
}
.fw-legal h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text);
  margin: 28px 0 10px;
}
.fw-legal p {
  margin: 0 0 12px;
  font-size: 0.95rem;
}
.fw-legal a {
  color: var(--primary);
  text-decoration: underline;
}

.fw-404 {
  text-align: center;
  padding: 80px 24px 120px;
}
.fw-404 h1 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
}
.fw-404 p {
  color: var(--text-2);
  margin-bottom: 24px;
}

.fw-ai-results {
  width: 100%;
  max-width: 480px;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fw-ai-results[hidden] { display: none; }
.fw-ai-fallback {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.5;
}
.fw-ai-card {
  display: block;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--sh-sm);
}
.fw-ai-card:hover { border-color: var(--primary); }
.fw-ai-card h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 4px;
}
.fw-ai-card p {
  font-size: 0.82rem;
  color: var(--text-2);
  margin: 0 0 6px;
  line-height: 1.45;
}
.fw-ai-card footer {
  font-size: 0.72rem;
  color: var(--text-3);
}

.fw-ai-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 400;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--r-pill);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: var(--sh-brand);
  border: none;
  cursor: pointer;
}
.fw-ai-fab .material-symbols-outlined { font-size: 22px; color: #fff; }
@media (max-width: 768px) {
  .fw-ai-fab-label { display: none; }
}

.fw-assistant {
  position: fixed;
  right: 20px;
  bottom: 76px;
  z-index: 401;
  width: min(360px, calc(100vw - 32px));
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.fw-assistant[hidden] { display: none; }
.fw-assistant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.fw-assistant-head h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0;
  color: var(--text);
}
.fw-assistant-head p {
  margin: 2px 0 0;
  font-size: 0.72rem;
  color: var(--text-3);
}
.fw-assistant-head button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-2);
}
.fw-assistant-log {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 140px;
}
.fw-ai-bubble {
  max-width: 90%;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.45;
}
.fw-ai-bubble-user {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
}
.fw-ai-bubble-bot {
  align-self: flex-start;
  background: var(--surface);
  color: var(--text);
}
.fw-assistant-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 8px;
}
.fw-assistant-chips button {
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  padding: 6px 10px;
  font-size: 0.75rem;
  color: var(--text-2);
  background: #fff;
}
.fw-assistant-form {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--border);
}
.fw-assistant-form input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  padding: 8px 12px;
  font-size: 0.85rem;
}
.fw-assistant-form button {
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 14px;
}
