/* ==========================================================================
   The pricing page
   --------------------------------------------------------------------------
   One tier, one price, one joke. The claim is the composition: the answer
   sits on the left at the size of a headline, the receipt sits on the
   right. Nothing is compared to anything, because there is nothing to
   compare it to.
   ========================================================================== */

:root {
  --wide: 1440px;
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
}

.pricing-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: none;
  margin: 0;
  padding: clamp(48px, 6vw, 88px) max(var(--gutter), calc((100% - var(--wide)) / 2))
    clamp(72px, 9vw, 132px);
}

/* The page is lit the same way the landing page is: the warm light of the
   price on the right, a cold edge along the ceiling. */
.pricing-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      96deg,
      transparent 40%,
      oklch(0.885 0.18 95 / 0.045) 72%,
      oklch(0.66 0.15 95 / 0.1) 100%
    ),
    linear-gradient(180deg, oklch(0.46 0.03 258 / 0.13) 0%, transparent 42%);
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}

.pricing-head h1 {
  font-size: clamp(2.4rem, 1.5rem + 2.6vw, 3.6rem);
  line-height: 1.04;
  font-weight: 550;
  letter-spacing: -0.042em;
  margin: 0 0 var(--s5);
}

.pricing-head .section-sub {
  margin: 0;
  max-width: 42ch;
  font-size: 1.02rem;
  line-height: 1.68;
}

.pricing-tagline {
  margin: var(--s6) 0 0;
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
  color: var(--brand);
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.15rem, 0.95rem + 0.8vw, 1.5rem);
  line-height: 1.36;
  letter-spacing: -0.01em;
}

/* The receipt. A lit surface with a real edge, not a white box. */
.pricing-card {
  max-width: none;
  padding: clamp(26px, 3vw, 44px);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, oklch(0.215 0.022 258 / 0.96), oklch(0.165 0.018 266 / 0.98));
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.055),
    0 40px 90px -56px oklch(0.08 0.05 280 / 0.95),
    0 0 120px -70px oklch(0.885 0.18 95 / 0.3);
}

.price-row {
  margin-bottom: var(--s5);
}

.price {
  font-family: var(--sans);
  font-size: clamp(2.8rem, 1.6rem + 2.8vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.price-suffix {
  font-family: var(--mono);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.pricing-card h2 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: var(--s3);
}

.pricing-blurb {
  max-width: 54ch;
  font-size: 0.98rem;
  line-height: 1.7;
}

.pricing-includes {
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
  gap: var(--s3);
}

.pricing-includes li {
  line-height: 1.55;
}

.pricing-fine-joke {
  border-left: 2px solid var(--brand-line);
  padding-left: var(--s4);
}

.pricing-card .cta {
  margin: var(--s6) 0 0;
}

@media (max-width: 980px) {
  .pricing-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s6);
  }
}
