/* AI Mortgage Forecast — shared styles */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

.glass-header {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.prose-article {
  max-width: 80ch;
}

.prose-article h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.prose-article h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.prose-article p {
  color: #334155;
  line-height: 1.8;
  margin-bottom: 1.1rem;
  font-size: 1.03rem;
}

.prose-article ul,
.prose-article ol {
  color: #334155;
  line-height: 1.8;
  margin-bottom: 1.1rem;
  padding-left: 1.5rem;
}

.prose-article li {
  margin-bottom: 0.5rem;
}

.prose-article strong {
  color: #0f172a;
}

.disclaimer-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #d97706;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
}

/* Ensure all interactive targets are comfortably tappable */
button, a.tap-target, input, select {
  min-height: 44px;
}

input[type="checkbox"], input[type="radio"] {
  min-height: auto;
}

.tab-active {
  background: #0f172a;
  color: #fff;
}

.skip-link:focus {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  background: #0f172a;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.schedule-table th,
.schedule-table td {
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  text-align: right;
  white-space: nowrap;
}

.schedule-table th:first-child,
.schedule-table td:first-child {
  text-align: left;
}

.schedule-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

@media print {
  header, footer, .no-print { display: none !important; }
}
