/* Pricing page — plan cards come from home.css; this adds the page header
   and the feature-comparison table. */

.page-head {
  padding: 72px 0 48px;
  text-align: center;
}
.page-head h1 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.page-head p {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto;
}

/* "Compare plans in detail" link under the homepage pricing grid */
.pricing-more { text-align: center; margin-top: 24px; font-size: 14px; }
.pricing-more a { font-weight: 600; }

/* Brand link in the marketing nav (logo + name are anchors there) */
.nav .brand a { color: inherit; text-decoration: none; }
.nav .brand a:hover { text-decoration: none; }
.brand-name { font-weight: 600; }

/* --- Feature table ---------------------------------------------------------- */
.feature-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
}
.feature-table th,
.feature-table td {
  padding: 12px 18px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.feature-table th:first-child,
.feature-table td:first-child { text-align: left; }

.feature-table thead th {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 18px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.feature-table tbody tr:last-child td { border-bottom: none; }

/* Featured (Writer) column highlight */
.feature-table .col-featured {
  background: var(--primary-subtle);
  box-shadow: inset 1px 0 0 var(--border-light), inset -1px 0 0 var(--border-light);
}
.feature-table thead .col-featured { color: var(--primary); }

/* Group separators */
.feature-table .group td {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-faint);
  background: var(--bg-elevated);
  padding: 8px 18px;
}
.feature-table .group .group-note {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.feature-table .yes { color: var(--primary); }
.feature-table .yes i { font-size: 16px; }
.feature-table .no { color: var(--text-faint); }
.feature-table strong { font-weight: 600; }

@media (max-width: 860px) {
  .page-head h1 { font-size: 32px; }
  .feature-table { font-size: 13px; }
  .feature-table th, .feature-table td { padding: 10px 10px; }
}
