/* Shared styles for the sale pages: pricing, legal drafts, licences.
   Built on style.css tokens. Paper, ink, mint, sky and butter only. */

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: 22px; background: var(--ink); color: var(--paper-2); font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

.top-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Remove this block (and the .draft element on each page) before Paddle's review. */
.draft { margin: 24px auto 0; padding: 14px 18px; border-radius: 16px; background: var(--butter); border: 1px solid rgba(38, 40, 45, 0.18); font-size: 15px; color: var(--ink); }
.draft b { font-weight: 700; }

.page { padding: 56px 0 72px; }
.page h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; margin-bottom: 16px; }
.page .lede { margin-bottom: 40px; }

/* Long-form legal text */
.doc { max-width: 72ch; }
.doc .meta { font-size: 14px; color: var(--ink-3); margin-bottom: 32px; }
.doc h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 44px 0 12px; }
.doc h3 { font-size: 18px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.doc p { margin-bottom: 14px; }
.doc ul, .doc ol { margin: 0 0 16px 22px; display: grid; gap: 6px; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.doc .box { padding: 18px 20px; border-radius: 16px; background: var(--paper-2); border: 1px solid var(--line); margin: 16px 0 20px; }
.doc .box p:last-child { margin-bottom: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.doc th { color: var(--ink); font-weight: 600; }
.todo { font-family: var(--mono); font-size: 0.86em; padding: 1px 6px; border-radius: 6px; background: var(--butter); color: var(--ink); }

/* Pricing */
.facts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: -16px 0 40px; }
.facts li { list-style: none; padding: 6px 12px; border-radius: 16px; background: var(--paper-2); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier { display: flex; flex-direction: column; padding: 28px 26px; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); }
.tier.sky { background: var(--sky); border-color: transparent; }
.tier.mint { background: var(--mint); border-color: transparent; }
.tier h2 { font-size: 28px; margin-bottom: 6px; }
.tier .for { font-size: 15px; color: var(--ink-2); min-height: 3em; margin-bottom: 18px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 4px; }
.price b { font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -0.02em; font-variation-settings: "wdth" 112.5; }
.price span { font-size: 18px; color: var(--ink-2); }
.price-note { font-size: 14px; color: var(--ink-2); margin-bottom: 20px; min-height: 2.6em; }
.price-note s { color: var(--ink-3); }
.tier .cta { justify-content: center; margin-bottom: 22px; }
.tier .incl { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.tier ul { display: grid; gap: 9px; }
.tier li { list-style: none; position: relative; padding-left: 22px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.tier li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 9px; height: 5px; border-left: 2px solid var(--mint-d); border-bottom: 2px solid var(--mint-d); transform: rotate(-45deg); }
.tier li em { font-style: normal; font-size: 12px; font-weight: 600; padding: 1px 7px; margin-left: 4px; border-radius: 10px; background: var(--butter); color: var(--ink); }

.qa { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 48px; margin-top: 72px; border-top: 1px solid var(--line); padding-top: 40px; }
.qa h2 { grid-column: 1 / -1; font-size: clamp(26px, 3vw, 36px); }
.qa h3 { font-size: 19px; margin-bottom: 8px; }
.qa p { font-size: 16px; color: var(--ink-2); line-height: 1.55; }
.qa a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }

/* Footer with legal links, shared by every page */
.foot { flex-wrap: wrap; }
.foot .foot-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot .foot-links .ul { margin-left: 0; }

@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; }
  .qa { grid-template-columns: 1fr; }
  .tier .for, .price-note { min-height: 0; }
}
@media (max-width: 720px) {
  .top-nav { display: none; }
  .foot .foot-links { margin-left: 0; }
}
