/* Locked-module preview: title and intro stay readable, the tool is blurred underneath,
   and an unlock card sits between them. */
.view.locked{max-height:1150px;overflow:hidden;position:relative}
.view.locked::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:280px;pointer-events:none;
  background:linear-gradient(to bottom,transparent,var(--paper) 85%);
}
.view.locked > :not(.sep):not(.gate):not(section:first-of-type),
.view.locked > section:first-of-type > :not(.eyebrow):not(h2):not(.gate):not(p:first-of-type){
  filter:blur(6px);opacity:.7;pointer-events:none;user-select:none;
}
.gate{
  width:var(--col);margin:1.4rem auto 1.6rem;background:var(--surface);
  border:1px solid var(--gold);border-left-width:3px;border-radius:3px;
  padding:clamp(1.1rem,3vw,1.6rem);display:flex;flex-direction:column;gap:.9rem;
  box-shadow:0 10px 30px var(--shadow);position:relative;z-index:2;
}
.gate-top{display:flex;align-items:center;gap:.7rem}
/* lock icon: renamed from .gate-lock, which the page uses for the free-reading cards */
.gate-lockicon{width:1.35rem;height:1.35rem;flex:none;color:var(--gold)}
.gate h3{font-family:var(--f-display);font-size:1.25rem;margin:0;line-height:1.2}
.gate p{margin:0;font-size:.9rem;line-height:1.55;color:var(--ink-2)}
.gate .fine{font-size:.78rem;color:var(--ink-3)}
.gate-plans{display:grid;grid-template-columns:1fr;gap:.7rem}
@media(min-width:560px){.gate-plans{grid-template-columns:1fr 1fr}}
.gate-plan{
  border:1px solid var(--rule-strong);border-radius:3px;background:var(--paper);
  padding:.9rem 1rem;display:flex;flex-direction:column;gap:.45rem;
}
.gate-plan.best{border-color:var(--gold);background:var(--gold-wash)}
.gate-plan .pn{font-family:var(--f-mono);font-size:.64rem;letter-spacing:.13em;text-transform:uppercase;color:var(--ink-3)}
.gate-plan.best .pn{color:var(--gold)}
.gate-plan .pp{font-family:var(--f-display);font-size:1.8rem;font-weight:600;line-height:1;color:var(--ink)}
.gate-plan .pd{font-size:.8rem;line-height:1.45;color:var(--ink-2)}
.gate-btn{
  font-family:var(--f-mono);font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;font-weight:700;
  padding:.65rem .8rem;border-radius:2px;cursor:pointer;margin-top:auto;
  background:none;border:1px solid var(--gold);color:var(--gold);
}
.gate-plan.best .gate-btn{background:var(--gold);color:var(--mark-fg)}
.gate-btn:hover{filter:brightness(1.08)}
.gate-btn:disabled{opacity:.55;cursor:default}
.gate-msg{font-size:.86rem;min-height:1.2em;color:var(--verdigris)}
.gate-msg.err{color:var(--madder)}
.pill.is-locked::after,.hcard .need .tag-lock::before{
  content:"";display:inline-block;width:.62em;height:.78em;margin-left:.4em;background:currentColor;opacity:.6;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h1zm2 0h6V7a3 3 0 0 0-6 0v3z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h1zm2 0h6V7a3 3 0 0 0-6 0v3z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hcard .need .tag-lock{color:var(--gold);white-space:nowrap}
.hcard .need .tag-lock::before{margin:0 .35em 0 0;vertical-align:-.05em}
.hcard .need .tag-free{color:var(--verdigris);white-space:nowrap}
