/* The MCP page. Builds on site.css, home.css, pages.css and features.css. The first screen is a dark window standing
   for your AI app, answering from Wafflenote. The rest is plain: two lists on hairlines and the real thing as a film. */

.mq-hero {
  padding-top: 28px;
}

.mq-hero .pg-top h1 {
  max-width: none;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.96;
}

.mq-hero .pg-lede {
  max-width: 1060px;
  margin-top: 22px;
}

/* The window. It is dark because it is not Wafflenote: it is the AI app you already use. */
.mq-chat {
  width: min(756px, 100%);
  /* tall enough for the first question and the whole of its answer */
  height: 624px;
  margin: 26px auto 0;
  padding: 0 24px 20px;
  border-color: var(--night-line);
  background: var(--night-2);
  box-shadow:
    0 40px 80px -36px rgb(28 20 0 / 0.55),
    var(--shadow-float);
  color: var(--night-body);
  text-align: left;
}

.mq-bar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  margin: 0 -24px 16px;
  padding: 13px 24px 12px;
  border-bottom: 1px solid var(--night-line);
  color: var(--night-body);
  font-size: 14px;
}

.mq-on {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--night-ink);
}

.mq-on i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6fcf63;
}

.mq-chat .chat-log {
  scrollbar-color: var(--night-line) transparent;
}

.mq-chat .chat-me {
  background: #34312b;
  color: var(--night-ink);
}

.mq-chat .chat-text {
  color: var(--night-ink);
}

.mq-chat .chat-from b {
  color: var(--night-body);
}

.mq-chat .chat-from span {
  border-color: #46423a;
  background: transparent;
  color: var(--night-ink);
}

.mq-chat .chat-from span i {
  color: var(--night-body);
}

.mq-chat .chat-next {
  flex-wrap: nowrap;
  gap: 8px;
  padding: 12px 0 14px;
  overflow: hidden;
}

.mq-chat .chat-next button {
  flex: none;
  padding: 6px 12px;
  border-color: #4d4940;
  background: transparent;
  color: var(--night-ink);
  font-size: 13.500px;
}

.mq-chat .chat-next button:hover {
  border-color: var(--amber);
  background: transparent;
  color: var(--amber-soft);
}

/* A question that has been asked leaves the row. */
.mq-chat .chat-next button[data-used="1"] {
  display: none;
}

.mq-chat .askbar {
  height: 54px;
  padding-left: 22px;
  border-color: #46423a;
  background: #26241f;
  box-shadow: none;
}

.mq-chat .askbar input {
  color: var(--night-ink);
}

.mq-chat .askbar input::placeholder {
  color: #8f8a7e;
}

.mq-fine {
  margin-top: 22px;
  color: var(--muted);
  font-size: 14.500px;
  text-align: center;
}

.mq-hero .fx-cta {
  margin-top: 22px;
}

/* ---------- What it can do: four plain rows ---------- */
.mq-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.mq-list li {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0 28px;
  align-items: baseline;
  padding: 24px 0 22px;
  border-bottom: 1px solid var(--line);
}

.mq-list h3 {
  color: var(--ink);
  font: 400 30px/1.100 var(--serif);
  letter-spacing: -0.015em;
}

.mq-list p {
  font-size: 17px;
  line-height: 1.5;
}

/* ---------- Two ways to connect: one small table on hairlines ---------- */
.mq-two {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.mq-two thead th {
  padding: 0 20px 18px 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font: 400 30px/1.100 var(--serif);
  letter-spacing: -0.015em;
  vertical-align: bottom;
}

.mq-two thead td {
  border-bottom: 1px solid var(--line-strong);
}

.mq-two thead span {
  margin-left: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--body);
  font: 600 13px var(--sans);
  letter-spacing: 0;
  vertical-align: 5px;
}

.mq-two thead span.pro {
  border-color: rgb(138 82 0 / 0.3);
  background: var(--amber-tint);
  color: #4a2c00;
}

.mq-two tbody th,
.mq-two tbody td {
  padding: 20px 20px 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  line-height: 1.45;
  vertical-align: top;
}

.mq-two tbody th {
  width: 22%;
  color: var(--ink);
  font-weight: 600;
}

.mq-two tbody td {
  width: 39%;
  color: var(--body);
}

.mq-real h2 {
  text-align: center;
}

.mq-real .fx-stage {
  margin-top: 48px;
}

@media (max-width: 900px) {
  .mq-chat {
    height: auto;
    padding: 0 16px 16px;
  }

  .mq-bar {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .mq-chat .chat-log {
    flex: none;
    min-height: 320px;
    max-height: 620px;
  }

  .mq-chat .chat-next {
    margin-inline: -16px;
    padding-inline: 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mq-list li {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px 0 18px;
  }

  .mq-list p {
    margin-top: 6px;
  }

  .mq-list h3,
  .mq-two thead th {
    font-size: 25px;
  }

  .mq-two tbody th,
  .mq-two tbody td {
    padding: 16px 12px 16px 0;
    font-size: 15.500px;
  }

  .mq-two thead span {
    display: block;
    width: max-content;
    margin: 8px 0 0;
  }

  .mq-real h2 {
    text-align: left;
  }
}
