/* The pricing page. Built on styles.css. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.pricing-intro {
  padding: 64px 0 40px;
  max-width: 760px;
}
.pricing-intro .eyebrow {
  margin: 0 0 22px;
}
.pricing-intro h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}
.pricing-intro h1 em {
  font-family: 'Gelasio', serif;
  font-weight: 400;
  color: var(--accent);
}
.pricing-lede {
  margin: 24px 0 0;
  font-size: 18px;
  color: var(--muted);
  max-width: 62ch;
}

/* Two plans side by side, the same height, their buttons on one line. */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.plan--pro {
  border-color: var(--accent);
}
.plan h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.plan-price {
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
.plan-amount {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan-per {
  color: var(--muted);
}
.plan-alt {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.plan-for {
  margin: 20px 0 10px;
  font-weight: 600;
}
.plan-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.plan-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}
.plan-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.plan-cta {
  margin-top: auto;
  border-color: var(--border);
  color: var(--fg);
}
.plan-cta.btn-primary {
  border-color: transparent;
  color: var(--accent-ink);
}

.founder {
  margin: 24px 0 0;
  padding: 20px 24px;
  border: 1px dashed var(--accent);
}
.founder .eyebrow {
  margin: 0 0 8px;
}
.founder p:last-child {
  margin: 0;
}

.compare {
  padding: 64px 0 0;
}
.compare h2,
.faq h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
/* The table scrolls inside its own box on a phone rather than widening
   the page. */
.compare-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
}
.compare table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}
.compare th,
.compare td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}
.compare thead th {
  font-size: 14px;
  background: var(--surface);
}
.compare tbody th {
  font-weight: 500;
}
.compare td {
  color: var(--muted);
  white-space: nowrap;
}
.compare-note {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.faq {
  padding: 64px 0 0;
  max-width: 760px;
}
.faq dl {
  margin: 0;
}
.faq dt {
  font-weight: 600;
  margin: 22px 0 6px;
}
.faq dd {
  margin: 0;
  color: var(--muted);
}

.pricing-close {
  padding: 72px 0 88px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.pricing-close h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}
