/* The fake-door kit's paywall (a bottom sheet on phones, a dialog on wider screens), themed by the page's tokens:
   --bg --surface --surface-2 --line --text --muted --accent --accent-2 --grad --radius --font-display --font-body */
html.fd-lock { overflow: hidden; }
.fd-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.fd-modal[hidden] { display: none; }
.fd-backdrop { position: absolute; inset: 0; background: rgba(5, 3, 10, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .18s ease; }
.fd-sheet { position: relative; width: 100%; max-width: 560px; max-height: 92vh; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-bottom: 0; border-radius: 24px 24px 0 0;
  padding: 26px 18px calc(22px + env(safe-area-inset-bottom)); transform: translateY(24px); opacity: 0; transition: transform .22s cubic-bezier(.2, .8, .2, 1), opacity .18s ease;
  font-family: var(--font-body); box-shadow: 0 -20px 60px rgba(0, 0, 0, .45); }
.fd-in .fd-backdrop { opacity: 1; }
.fd-in .fd-sheet { transform: none; opacity: 1; }
@media (min-width: 720px) {
  .fd-modal { align-items: center; }
  .fd-sheet { border-radius: 24px; border-bottom: 1px solid var(--line); padding: 30px 28px 26px; max-height: 88vh; }
}
@media (prefers-reduced-motion: reduce) { .fd-sheet, .fd-backdrop { transition: none; } }
.fd-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.fd-x svg { width: 20px; height: 20px; }
.fd-x:hover { color: var(--text); }
.fd-h { font-family: var(--font-display); font-size: 24px; line-height: 1.15; letter-spacing: -.01em; margin: 2px 44px 10px 0; font-weight: 700; }
.fd-summary { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.fd-summary q { color: var(--text); font-style: italic; }
.fd-plans { display: grid; gap: 10px; }
.fd-plan { background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px; padding: 14px 14px 12px; }
.fd-plan-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fd-plan-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.fd-plan-price { font-family: var(--font-display); font-weight: 800; font-size: 22px; white-space: nowrap; }
.fd-plan-price small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.fd-plan-per { margin: 0; color: var(--accent-2); font-size: 13px; font-weight: 600; }
.fd-plan-feat { margin: 6px 0 12px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.fd-plan .fd-btn { min-height: 44px; font-size: 15px; }
.fd-btn { display: block; width: 100%; min-height: 48px; border: 0; border-radius: 14px; background: var(--grad); color: #fff; font: 700 16px/1 var(--font-body); cursor: pointer; padding: 0 16px; }
.fd-btn:disabled { opacity: .6; cursor: progress; }
.fd-btn:focus-visible, .fd-chip:focus-visible, .fd-link:focus-visible, .fd-x:focus-visible, .fd-modal input:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.fd-btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); margin-top: 18px; }
.fd-badge { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2);
  background: color-mix(in srgb, var(--accent-2) 14%, transparent); padding: 7px 10px; border-radius: 999px; margin-bottom: 12px; }
.fd-badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.fd-body { margin: 0 0 18px; line-height: 1.5; font-size: 16px; color: var(--text); }
.fd-form { display: grid; gap: 10px; }
.fd-label { font-size: 14px; font-weight: 600; color: var(--muted); margin: 0; }
.fd-modal input { width: 100%; min-height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--text); padding: 0 16px; font: 500 17px/1 var(--font-body); }
.fd-modal input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.fd-err { margin: 0; color: #ff8a8a; font-size: 14px; }
.fd-consent { display: flex; gap: 8px; align-items: flex-start; margin: 2px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.fd-consent svg { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.fd-link { display: block; margin: 16px auto 0; background: none; border: 0; color: var(--muted); font: 600 14px var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 8px; }
.fd-ok { width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.fd-ok svg { width: 30px; height: 30px; }
.fd-survey { border-top: 1px solid var(--line); padding-top: 16px; }
.fd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fd-chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: 600 14px var(--font-body); cursor: pointer; }
.fd-chip.on { background: var(--grad); border-color: transparent; color: #fff; }
.fd-chip:disabled:not(.on) { opacity: .45; }
.fd-survey-thanks { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
