/* Receptionist page styles */

/* Fixed-height chat demo so content below doesn't jump */
.demo .chat-body {
  min-height: 380px;
  max-height: 380px;
}

@media (max-width: 600px) {
  .demo .chat-body {
    min-height: 340px;
    max-height: 340px;
  }
}

/* Math section */
.math {
  padding: 0 0 60px;
}

.math-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
}

.math-card h2 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.math-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.math-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.math-number {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
}

.math-label {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

.math-bottom {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--fg);
  font-weight: 500;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Comparison table */
.compare {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.compare h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  text-align: center;
}

.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.compare-table th {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--muted);
}

.compare-table th.highlight {
  color: var(--fg);
}

.compare-table td:first-child {
  font-weight: 500;
  color: var(--fg);
}

.compare-table td {
  color: var(--muted);
}

.compare-table td.highlight {
  color: var(--fg);
  font-weight: 600;
  background: rgba(34, 197, 94, 0.04);
}

.compare-table th.highlight {
  background: rgba(34, 197, 94, 0.04);
}

/* Mobile */
@media (max-width: 600px) {
  .math-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .math-card {
    padding: 28px 20px;
  }

  .math-number {
    font-size: 1.5rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px 10px;
    font-size: 0.8rem;
  }
}

/* Industries cross-links */
.industries {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.industries h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-align: center;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.industries-grid a {
  display: block;
  padding: 14px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-align: center;
}

.industries-grid a:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

@media (max-width: 600px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
