/* Pricing shares the landing typography and the app's surface and action tokens. */
.pricing-page {
  background: #fafbf8;
  color: var(--color-text);
  font-family: var(--font-landing);
  min-height: 100dvh;
  isolation: isolate;
  position: relative;
  overflow: hidden;
}
.pricing-page::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 1100px;
  background:
    linear-gradient(180deg, #f4f3eee6, #f4f3ee70 65%, #fafbf8),
    url("/assets/knowable-bg-886597bc.webp") center top/cover no-repeat;
  pointer-events: none;
}
.pricing-page a {
  color: inherit;
  text-decoration: none;
}
.pricing-page button {
  font-family: inherit;
}
.pricing-page h1,
.pricing-page h2,
.pricing-page h3 {
  font-family: inherit;
}
.pricing-page em {
  font-family: var(--font-editorial);
  font-weight: 400;
  letter-spacing: -0.045em;
}
.pricing-page p {
  line-height: 1.65;
}
.pricing-nav {
  margin: 24px auto 0;
  width: calc(100% - 80px);
  max-width: 1320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid #ffffffc9;
  border-radius: 16px;
  padding: 12px 20px;
  background: #ffffffc9;
  backdrop-filter: blur(14px);
}
.pricing-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.8px;
}
.pricing-brand img {
  object-fit: contain;
}
.pricing-nav nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 12px;
}
.pricing-nav [aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.pricing-hero {
  max-width: 1100px;
  margin: auto;
  padding: 66px 32px 54px;
  text-align: center;
}
.pricing-hero h1 {
  font-size: clamp(34px, 4.1vw, 56px);
  line-height: 1.13;
  letter-spacing: -2.3px;
  font-weight: 500;
  text-wrap: balance;
}
.pricing-intro {
  font-size: 13px;
  color: #626864;
  margin: 22px auto 0;
}
.pricing-account-note {
  font-size: 11px;
  color: #626864;
  margin: 18px 0 -15px;
}
.pricing-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 830px;
  margin: 40px auto 0;
  text-align: left;
}
.pricing-choice article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px;
  border: 1px solid #ffffff;
  border-radius: 22px;
  background: #fffffff2;
  box-shadow: 0 8px 30px #34412c09;
}
.pricing-choice article.pricing-choice-pro {
  border-color: #b8ce83;
  background: #f7fbefff;
  box-shadow: 0 8px 30px #34412c0d;
}
.pricing-plan-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
}
.pricing-plan-heading h2 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.6px;
}
.pricing-badge {
  font-size: 10px;
  background: #e7efce;
  border: 1px solid #dce7bc;
  border-radius: 999px;
  padding: 5px 9px;
  white-space: nowrap;
}
.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 50px;
  letter-spacing: -2px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  margin: 16px 0 9px;
  line-height: 1.2 !important;
}
.pricing-amount span {
  font-size: 11px;
  color: #777;
  letter-spacing: 0;
  font-weight: 400;
}
.pricing-plan-description {
  font-size: 12px;
  max-width: 30ch;
  min-height: 40px;
  color: #70766a;
}
.pricing-inclusions {
  list-style: none;
  padding: 22px 0 0;
  margin: 22px 0 28px;
  border-top: 1px solid #e4e7df;
  display: grid;
  gap: 15px;
  font-size: 12px;
  line-height: 1.6;
}
.pricing-inclusions li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pricing-inclusions svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #6c7955;
}
.pricing-plan-actions {
  margin-top: auto;
}
.pricing-plan-actions form {
  margin: 0;
}
.pricing-plan-actions .pricing-button {
  width: 100%;
}
.pricing-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
  cursor: pointer;
  transition:
    background 0.18s,
    box-shadow 0.18s,
    transform 0.12s;
}
.pricing-button-dark {
  background: var(--color-action);
  color: #fff !important;
  box-shadow: var(--shadow-button-primary);
}
.pricing-button-lime {
  background: var(--color-lime);
  color: #252525;
  box-shadow:
    inset 0 1px 2px #fff8,
    0 2px 4px #34412c18;
}
.pricing-button-secondary {
  background: #f4f4f0;
  box-shadow: var(--shadow-button-secondary);
}
.pricing-card-footnote {
  margin: 13px 0 0;
  font-size: 10px;
  text-align: center;
  color: #73776d;
}
.pricing-annual {
  display: block;
  margin: 13px auto 0;
  padding: 4px;
  border: 0;
  background: transparent;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 32px;
}
.pricing-shared-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 10px;
  color: #626864;
  margin-top: 25px;
}
.pricing-included,
.pricing-faq {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 70px 32px;
}
.pricing-included {
  border-bottom: 1px solid #e6e9e0;
}
.pricing-kicker {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 12px;
  color: #777;
  margin-bottom: 15px;
}
.pricing-section-heading h2 {
  font-size: 37px;
  font-weight: 500;
  letter-spacing: -1.4px;
  line-height: 1.12;
}
.pricing-section-heading > p:last-child {
  font-size: 12px;
  color: #777;
  margin-top: 20px;
}
.pricing-benefits {
  display: grid;
  gap: 26px;
}
.pricing-benefits article {
  display: flex;
  gap: 18px;
}
.pricing-benefits article > svg {
  flex-shrink: 0;
  color: #687455;
  margin-top: 2px;
}
.pricing-benefits h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.pricing-benefits p {
  font-size: 12px;
  color: #777;
  max-width: 43ch;
}
.pricing-questions details {
  border-bottom: 1px solid #e2e6dc;
  padding: 18px 0;
}
.pricing-questions details:first-child {
  padding-top: 0;
}
.pricing-questions summary {
  cursor: pointer;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  min-height: 24px;
  align-items: center;
}
.pricing-questions summary::-webkit-details-marker {
  display: none;
}
.pricing-questions summary::after {
  content: "+";
  font-size: 19px;
  color: #777;
}
.pricing-questions details[open] summary::after {
  content: "−";
}
.pricing-questions details p {
  font-size: 12px;
  color: #777;
  max-width: 50ch;
  margin-top: 13px;
}
.pricing-section-heading a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pricing-footer {
  border-top: 1px solid #e6e9e0;
  max-width: 1100px;
  margin: auto;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: #777;
}
.pricing-footer .pricing-brand {
  color: #252525;
  font-size: 17px;
}
.pricing-page :is(a, button, summary):focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 4px;
}
.pricing-button:active {
  transform: translateY(1px);
}
@media (hover: hover) {
  .pricing-button:hover {
    filter: brightness(0.97);
    box-shadow: 0 3px 8px #34412c20;
  }
  .pricing-questions summary:hover,
  .pricing-annual:hover {
    color: #303d22;
  }
  .pricing-nav nav > a:not(.pricing-button):hover {
    text-decoration: underline;
    text-underline-offset: 5px;
  }
}

@media (max-width: 1000px) {
  .pricing-included,
  .pricing-faq {
    gap: 40px;
  }
  .pricing-choice article {
    padding: 25px;
  }
  .pricing-hero h1 {
    font-size: 44px;
  }
}
@media (max-width: 700px) {
  .pricing-nav {
    width: calc(100% - 28px);
    margin-top: 14px;
    padding: 10px 13px;
    gap: 12px;
  }
  .pricing-nav nav {
    gap: 14px;
    font-size: 11px;
  }
  .pricing-nav .pricing-features-link,
  .pricing-nav [aria-current="page"] {
    display: none;
  }
  .pricing-brand {
    font-size: 17px;
  }
  .pricing-brand img {
    width: 28px;
    height: 28px;
  }
  .pricing-nav .pricing-button {
    padding: 10px 14px;
    min-height: 40px;
    font-size: 11px;
  }
  .pricing-hero {
    padding: 44px 20px 38px;
  }
  .pricing-hero h1 {
    font-size: 36px;
    letter-spacing: -1.5px;
  }
  .pricing-intro {
    font-size: 12px;
    max-width: 34ch;
  }
  .pricing-intro br {
    display: none;
  }
  .pricing-choice {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
    max-width: 420px;
  }
  .pricing-choice article {
    padding: 25px;
  }
  .pricing-plan-description {
    min-height: 0;
    max-width: none;
  }
  .pricing-inclusions {
    font-size: 12px;
  }
  .pricing-shared-note {
    align-items: flex-start;
    font-size: 10px;
    max-width: 32ch;
    margin: 22px auto 0;
  }
  .pricing-shared-note svg {
    flex-shrink: 0;
    margin-top: 2px;
  }
  .pricing-included,
  .pricing-faq {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 38px 24px;
  }
  .pricing-section-heading h2 {
    font-size: 33px;
  }
  .pricing-section-heading > p:last-child {
    margin-top: 13px;
  }
  .pricing-footer {
    padding: 24px;
    flex-wrap: wrap;
  }
  .pricing-footer > span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pricing-page * {
    transition: none !important;
  }
}

/* Keep primary actions aligned when the annual checkout adds a second action. */
@media (min-width: 701px) {
  .pricing-choice:has(.pricing-annual) .pricing-plan-actions {
    min-height: 126px;
  }
}
