/* ── Pricing page styles ───────────────────────────────── */
.pricing-hero {
  padding: 64px 0 18px;
}

.pricing-hero .hero-copy {
  max-width: 760px;
}

.pricing-hero h1 {
  margin: 20px 0 18px;
  font-family: "Fraunces", serif;
  font-size: clamp(44px, 7vw, 80px);
  line-height: 0.97;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.pricing-hero h1 .soft {
  display: block;
  font-weight: 400;
  font-style: italic;
  color: #6d5c4b;
}

.pricing-hero h1 .strong {
  display: block;
  color: var(--ink);
}

/* Toggle */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 5px;
  border-radius: 999px;
  background: var(--panel-bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 40px;
}

.billing-toggle button {
  all: unset;
  cursor: pointer;
  padding: 9px 20px;
  border-radius: 999px;
  color: var(--ink-muted);
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.billing-toggle button.active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(82, 59, 40, 0.1);
}

.billing-toggle .save-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: opacity 0.18s ease;
}

.billing-toggle .save-badge[hidden] {
  display: none;
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 56px;
}

.pricing-card {
  border-radius: 28px;
  border: 1px solid rgba(90, 70, 48, 0.1);
  background: var(--panel-bg);
  box-shadow: var(--shadow-soft);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pricing-card.card-pro {
  background:
    linear-gradient(145deg, rgba(181, 102, 56, 0.08), rgba(108, 135, 156, 0.06)),
    var(--panel-bg);
  border-color: rgba(179, 106, 99, 0.26);
  box-shadow:
    var(--shadow-soft),
    0 0 0 1px rgba(179, 106, 99, 0.12) inset;
}

.plan-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  width: fit-content;
}

.badge-free {
  background: var(--blue-soft);
  color: var(--blue);
}

.badge-recommended {
  background: linear-gradient(135deg, rgba(181, 102, 56, 0.16), rgba(202, 138, 127, 0.16));
  color: var(--accent);
}

.plan-name {
  font-family: "Fraunces", serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0;
}

.plan-tagline {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-amount {
  font-family: "Fraunces", serif;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.price-currency {
  font-family: "Fraunces", serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 4px;
}

.price-period {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 2px;
}

.price-annual-note {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.5;
  min-height: 18px;
}

.price-annual-note strong {
  color: var(--green);
}

.plan-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-cta .btn {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: 15px;
}

.plan-cta-note {
  font-size: 12px;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.5;
}

/* Feature list */
.plan-features {
  display: grid;
  gap: 10px;
}

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.feature-row svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-row .check-yes {
  color: var(--green);
}

.feature-row .check-no {
  color: var(--ink-muted);
}

.feature-row span {
  color: var(--ink);
}

.feature-row .muted {
  color: var(--ink-muted);
}

.feature-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: 6px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}

/* Comparison table */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: 24px;
  border: 1px solid rgba(90, 70, 48, 0.09);
  box-shadow: var(--shadow-soft);
  margin-bottom: 56px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--panel-bg);
}

.compare-table thead th {
  padding: 20px 24px;
  text-align: left;
  font-family: "Fraunces", serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.compare-table thead th:first-child {
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 13px;
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0;
}

.compare-table thead th.col-pro {
  color: var(--accent);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody td {
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.5;
}

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

.compare-table tbody td.col-pro {
  background: rgba(181, 102, 56, 0.03);
}

.compare-table .category-row td {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: 20px;
  padding-bottom: 10px;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.compare-table .check-yes { color: var(--green); }
.compare-table .check-no  { color: var(--line-strong); }

/* Trust band */
.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(90, 70, 48, 0.09);
  background: var(--panel-bg);
  box-shadow: var(--shadow-soft);
}

.trust-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
}

.trust-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.trust-item p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 768px) {
  .pricing-grid,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .pricing-hero h1 {
    font-size: 42px;
  }

  .compare-table thead th,
  .compare-table tbody td {
    padding: 12px 16px;
  }
}
